2016-08-05T00:02:00Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T00:05:58Z IPmonger joined #lisp 2016-08-05T00:06:14Z wccoder quit (Remote host closed the connection) 2016-08-05T00:08:51Z rudolfochrist quit (Ping timeout: 264 seconds) 2016-08-05T00:11:06Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T00:13:03Z wccoder joined #lisp 2016-08-05T00:15:11Z IPmonger joined #lisp 2016-08-05T00:19:40Z rudolfochrist joined #lisp 2016-08-05T00:21:53Z eSVG joined #lisp 2016-08-05T00:22:45Z smokeink joined #lisp 2016-08-05T00:23:58Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T00:28:57Z IPmonger joined #lisp 2016-08-05T00:33:03Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T00:36:09Z smithzv joined #lisp 2016-08-05T00:36:56Z grimsley quit (Quit: Leaving) 2016-08-05T00:38:12Z IPmonger joined #lisp 2016-08-05T00:41:19Z ^5 is now known as Bitch 2016-08-05T00:41:32Z sjl: interesting thing that caught me by surprise: the phrase "top level progn" is serious -- a prog1 at the top level isn't special like a progn 2016-08-05T00:41:36Z Bitch is now known as bitch 2016-08-05T00:42:31Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-05T00:43:17Z IPmonger joined #lisp 2016-08-05T00:44:51Z sjl: I was making a little macro to define a class and a method on it at the same time, like (defmacro foo (name) `(prog1 (defclass ,name ()()) (defmethod initialize-instance :after ((obj ,name) &key) ...))) 2016-08-05T00:45:10Z sjl: used prog1 because I wanted the macro to return the standard-class object like defclass does 2016-08-05T00:45:29Z sjl: but then sbcl complained about the method not having a valid type specifier 2016-08-05T00:45:57Z sjl: `(progn (defclass ...) (defmethod ...) (find-class ,name)) works though 2016-08-05T00:47:27Z karswell` joined #lisp 2016-08-05T00:51:48Z lnostdal quit (Read error: Connection reset by peer) 2016-08-05T00:54:26Z Oladon quit (Ping timeout: 250 seconds) 2016-08-05T00:55:19Z Oladon joined #lisp 2016-08-05T00:55:45Z smokeink quit (Ping timeout: 244 seconds) 2016-08-05T00:56:19Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-05T00:57:45Z harish_ quit (Ping timeout: 258 seconds) 2016-08-05T01:00:00Z mejja quit (Quit: \ No newline at end of file) 2016-08-05T01:00:28Z vibs29 joined #lisp 2016-08-05T01:00:31Z Oladon quit (Read error: Connection reset by peer) 2016-08-05T01:01:08Z IPmonger joined #lisp 2016-08-05T01:01:24Z vibs29 left #lisp 2016-08-05T01:01:38Z vibs29 joined #lisp 2016-08-05T01:01:39Z Oladon joined #lisp 2016-08-05T01:02:05Z vibs29 quit (Client Quit) 2016-08-05T01:02:28Z vibs29 joined #lisp 2016-08-05T01:03:34Z Karl_Dscc joined #lisp 2016-08-05T01:04:45Z wccoder quit (Remote host closed the connection) 2016-08-05T01:05:34Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T01:05:37Z MrWoohoo quit (Ping timeout: 252 seconds) 2016-08-05T01:10:21Z IPmonger joined #lisp 2016-08-05T01:13:07Z vibs29 left #lisp 2016-08-05T01:14:48Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T01:15:25Z IPmonger joined #lisp 2016-08-05T01:16:02Z fluter joined #lisp 2016-08-05T01:16:48Z Bike: sjl: top level forms are specially processed by the file compiler, which is slightly stupid. (prog1 foo bar...) probably macroexpands into (let ((value foo)) bar... value), and the file processor will just see that let and decide not to bother looking further. 2016-08-05T01:17:16Z sjl: yeah that's what I figured 2016-08-05T01:17:31Z sjl: (the macroexpansion into (let ...)) 2016-08-05T01:18:29Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-05T01:20:15Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-05T01:21:08Z nzambe quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-08-05T01:21:39Z Bike: and if you need to know if an operator is 'special' like that you can just scan the clhs page for 'top level' 2016-08-05T01:22:12Z prole quit (Remote host closed the connection) 2016-08-05T01:22:52Z mr_yogurt_ is now known as mr_yogurt 2016-08-05T01:23:44Z fluter quit (Ping timeout: 260 seconds) 2016-08-05T01:23:59Z vibs29 joined #lisp 2016-08-05T01:24:12Z IPmonger joined #lisp 2016-08-05T01:27:04Z m00natic quit (Remote host closed the connection) 2016-08-05T01:28:32Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T01:29:04Z Karl_Dscc quit (Remote host closed the connection) 2016-08-05T01:29:15Z IPmonger joined #lisp 2016-08-05T01:33:29Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T01:34:34Z vibs29 left #lisp 2016-08-05T01:34:47Z fluter joined #lisp 2016-08-05T01:36:01Z wtetzner joined #lisp 2016-08-05T01:37:44Z wtetzner quit (Remote host closed the connection) 2016-08-05T01:38:01Z IPmonger joined #lisp 2016-08-05T01:39:30Z scymtym quit (Ping timeout: 276 seconds) 2016-08-05T01:42:15Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T01:43:25Z shdeng joined #lisp 2016-08-05T01:44:39Z DGASAU quit (Read error: Connection reset by peer) 2016-08-05T01:45:08Z DGASAU joined #lisp 2016-08-05T01:47:12Z IPmonger joined #lisp 2016-08-05T01:50:46Z cibs quit (Ping timeout: 240 seconds) 2016-08-05T01:51:34Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T01:52:20Z IPmonger joined #lisp 2016-08-05T01:52:59Z cibs joined #lisp 2016-08-05T01:56:21Z shdeng quit (Ping timeout: 258 seconds) 2016-08-05T01:56:47Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T02:01:02Z IPmonger joined #lisp 2016-08-05T02:02:55Z edgar-rft joined #lisp 2016-08-05T02:03:22Z rumbler31 joined #lisp 2016-08-05T02:04:45Z shdeng joined #lisp 2016-08-05T02:05:19Z wccoder joined #lisp 2016-08-05T02:05:19Z sellout- joined #lisp 2016-08-05T02:05:31Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T02:07:37Z vibs29 joined #lisp 2016-08-05T02:08:21Z jason_m: Just connected a repl to a running application to debug/inspect it for the first time and i'm feeling pretty satisfied :) 2016-08-05T02:09:46Z wccoder quit (Ping timeout: 258 seconds) 2016-08-05T02:10:16Z IPmonger joined #lisp 2016-08-05T02:13:15Z fiddlerwoaroof quit (Ping timeout: 244 seconds) 2016-08-05T02:14:45Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T02:15:18Z IPmonger joined #lisp 2016-08-05T02:15:33Z mathrick quit (Ping timeout: 240 seconds) 2016-08-05T02:16:00Z gendl: Hi, can anyone see what is going on with this file: 2016-08-05T02:16:05Z gendl: https://www.dropbox.com/s/ekroo90gbp1w85e/spin.html?dl=0 2016-08-05T02:16:18Z gendl: it seems to be a normal HTML text document, but if I try to do 2016-08-05T02:16:36Z mathrick joined #lisp 2016-08-05T02:16:39Z gendl: (with-open-file (in "/path/to/spin.html") (read-line in)) 2016-08-05T02:16:47Z gendl: it seems to come in as binary data. 2016-08-05T02:17:19Z gendl: of course I'm actually trying to parse it with html-parse:parse-html, but that gives me the same gobbledygook. 2016-08-05T02:18:34Z Bike: :UTF-8 stream decoding error on [spin.html]: the octet sequence #(255 254 60 0) cannot be decoded 2016-08-05T02:19:16Z Bike: of course, file says it's utf-16, so maybe an external format fixes it 2016-08-05T02:19:49Z gendl: Where can you see that it's utf-16? 2016-08-05T02:19:57Z Bike: file. as in, the unix utility 2016-08-05T02:20:16Z moore33 joined #lisp 2016-08-05T02:20:32Z Bike: yep. with :external-format :utf-16le it works fine 2016-08-05T02:20:50Z Bike: that's on sbcl, dunno how you refer to that on other implementations 2016-08-05T02:21:58Z gendl: apparently :utf16 on CCL and :unicode on Allegro. 2016-08-05T02:22:16Z harish_ joined #lisp 2016-08-05T02:22:19Z gendl: I thought everybody is using utf-8 these days. 2016-08-05T02:22:57Z Bike: java is pretty closely utf16, if i'm not mistaken 2016-08-05T02:23:32Z gendl: anyway yep it seems that tweaking the :external-format will make it work, thanks! 2016-08-05T02:23:44Z gendl: my job is not to question why... this is the data I'm given... 2016-08-05T02:24:35Z gendl: on the Mac: 2016-08-05T02:25:05Z gendl: connie:prasad dcooper8$ file spin.html 2016-08-05T02:25:05Z gendl: spin.html: HTML document text 2016-08-05T02:25:21Z gendl: it's not telling me anything about utf-16, it just says "HTML document text" 2016-08-05T02:25:29Z gendl: and I don't see anything obvious by opening it in emacs 2016-08-05T02:25:31Z Bike: you have a different version of file from me, i guess 2016-08-05T02:25:34Z unbalancedparen joined #lisp 2016-08-05T02:25:44Z gendl: ok i'll do it on a real linux... 2016-08-05T02:26:11Z Bike: there's probably some more systematic way to do it 2016-08-05T02:26:30Z Bike: google suggests enca http://linux.die.net/man/1/enca 2016-08-05T02:26:49Z Bike: of course, it's a heuristic 2016-08-05T02:27:38Z asc232 joined #lisp 2016-08-05T02:27:43Z gendl: anyway I don't really need to solve the general case of determining file types. Right now I'm only trying to read these Paprika export files. 2016-08-05T02:28:33Z gendl: they export in two formats: their own proprietary binary format, and this fairly convoluted HTML format, whcih is apparently encoded in utf-16. 2016-08-05T02:28:55Z gendl: I have a feeling they are not going out of their way to make it easy for folks to parse their exported data 2016-08-05T02:29:10Z ahungry joined #lisp 2016-08-05T02:29:50Z gendl: MealMaster seems like the defacto standard recipe format and they don't support exporting to it. 2016-08-05T02:30:04Z Bike: such is life. 2016-08-05T02:30:26Z gendl: but they have the best data entry for recipes which i've found, I don't really want to re-invent that part 2016-08-05T02:30:55Z asc232 quit (Client Quit) 2016-08-05T02:32:28Z vibs29 left #lisp 2016-08-05T02:32:43Z gendl: anyway thanks again for the help! 2016-08-05T02:32:52Z Bike: no prob 2016-08-05T02:33:20Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-05T02:33:34Z IPmonger joined #lisp 2016-08-05T02:35:04Z eSVG quit (Ping timeout: 250 seconds) 2016-08-05T02:37:59Z |3b|: pretty sure 255 254 (or 254 255 depending on endianness) is utf16 BOM which will often be at the beginning of utf16 encoded files, if that helps distinguish things 2016-08-05T02:38:11Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T02:38:12Z unbalancedparen quit (Quit: WeeChat 1.5) 2016-08-05T02:38:52Z Bike: yeah i thought that might be the case 2016-08-05T02:42:27Z IPmonger joined #lisp 2016-08-05T02:45:38Z antonv joined #lisp 2016-08-05T02:46:57Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T02:51:34Z IPmonger joined #lisp 2016-08-05T02:56:10Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-05T02:56:57Z eSVG joined #lisp 2016-08-05T03:00:50Z IPmonger joined #lisp 2016-08-05T03:05:26Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T03:10:03Z IPmonger joined #lisp 2016-08-05T03:11:49Z wtetzner joined #lisp 2016-08-05T03:11:55Z antonv quit (Ping timeout: 258 seconds) 2016-08-05T03:14:08Z tmtwd joined #lisp 2016-08-05T03:15:59Z rumbler31 quit 2016-08-05T03:17:03Z BlueRavenGT quit (Ping timeout: 240 seconds) 2016-08-05T03:18:49Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T03:19:25Z arescorpio joined #lisp 2016-08-05T03:21:00Z vibs29 joined #lisp 2016-08-05T03:21:09Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-05T03:23:50Z IPmonger joined #lisp 2016-08-05T03:27:41Z wtetzner quit (Remote host closed the connection) 2016-08-05T03:28:38Z rumbler31 joined #lisp 2016-08-05T03:28:42Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T03:33:05Z IPmonger joined #lisp 2016-08-05T03:35:40Z ahungry quit (Remote host closed the connection) 2016-08-05T03:37:36Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T03:38:09Z IPmonger joined #lisp 2016-08-05T03:38:20Z vibs29 left #lisp 2016-08-05T03:43:03Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-05T03:46:49Z IPmonger joined #lisp 2016-08-05T03:50:26Z reepca quit (Read error: Connection reset by peer) 2016-08-05T03:50:33Z oleo quit (Read error: Connection reset by peer) 2016-08-05T03:50:39Z oleo joined #lisp 2016-08-05T03:51:19Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-05T03:51:55Z reepca joined #lisp 2016-08-05T03:56:04Z IPmonger joined #lisp 2016-08-05T04:00:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T04:01:07Z IPmonger joined #lisp 2016-08-05T04:03:48Z PuercoPop: Is using make-instance to create a structure portable? 2016-08-05T04:06:17Z Denommus joined #lisp 2016-08-05T04:06:47Z wccoder joined #lisp 2016-08-05T04:09:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T04:10:22Z IPmonger joined #lisp 2016-08-05T04:11:17Z wccoder quit (Ping timeout: 258 seconds) 2016-08-05T04:22:28Z shka_ joined #lisp 2016-08-05T04:23:59Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-05T04:26:51Z loke: PuercoPop: No, 2016-08-05T04:28:15Z IPmonger joined #lisp 2016-08-05T04:28:48Z beach joined #lisp 2016-08-05T04:28:58Z beach: Good morning everyone! 2016-08-05T04:29:15Z brucem: good morning, beach. 2016-08-05T04:29:25Z rumbler31 quit (Remote host closed the connection) 2016-08-05T04:29:35Z logicmoo joined #lisp 2016-08-05T04:29:47Z loke: Hello beach! 2016-08-05T04:31:12Z dmiles quit (Ping timeout: 260 seconds) 2016-08-05T04:32:50Z PuercoPop: loke: thanks 2016-08-05T04:33:03Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T04:33:14Z MrWoohoo joined #lisp 2016-08-05T04:33:22Z IPmonger joined #lisp 2016-08-05T04:37:56Z Fare quit (Ping timeout: 244 seconds) 2016-08-05T04:38:54Z tmtwd quit (Ping timeout: 276 seconds) 2016-08-05T04:41:37Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T04:45:30Z karswell` quit (Remote host closed the connection) 2016-08-05T04:46:40Z IPmonger joined #lisp 2016-08-05T04:49:26Z oleo quit (Quit: Leaving) 2016-08-05T04:51:01Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T04:51:17Z smokeink joined #lisp 2016-08-05T04:51:53Z dmiles joined #lisp 2016-08-05T04:54:25Z logicmoo quit (Ping timeout: 252 seconds) 2016-08-05T04:54:58Z pierpa quit (Ping timeout: 252 seconds) 2016-08-05T04:55:51Z IPmonger joined #lisp 2016-08-05T04:59:46Z dmiles quit (Read error: Connection reset by peer) 2016-08-05T05:00:27Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-05T05:05:05Z IPmonger joined #lisp 2016-08-05T05:09:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T05:14:15Z IPmonger joined #lisp 2016-08-05T05:14:30Z M-Illandan quit (Read error: Connection reset by peer) 2016-08-05T05:14:30Z M-moredhel quit (Read error: Connection reset by peer) 2016-08-05T05:18:31Z rudolfochrist quit (Remote host closed the connection) 2016-08-05T05:18:45Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T05:19:02Z mvilleneuve joined #lisp 2016-08-05T05:19:20Z IPmonger joined #lisp 2016-08-05T05:20:02Z gravicappa joined #lisp 2016-08-05T05:21:34Z gingerale joined #lisp 2016-08-05T05:22:51Z dmiles joined #lisp 2016-08-05T05:23:02Z mr_yogurt quit (Read error: Connection reset by peer) 2016-08-05T05:23:37Z mathi_aihtam joined #lisp 2016-08-05T05:25:47Z mr_yogurt joined #lisp 2016-08-05T05:27:32Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T05:28:26Z Amaan quit (Quit: Connection closed for inactivity) 2016-08-05T05:28:31Z IPmonger joined #lisp 2016-08-05T05:32:41Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T05:37:17Z IPmonger joined #lisp 2016-08-05T05:38:13Z Sucks joined #lisp 2016-08-05T05:38:43Z Sucks quit (Max SendQ exceeded) 2016-08-05T05:39:03Z mathrick quit (Ping timeout: 265 seconds) 2016-08-05T05:41:29Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T05:41:32Z bocaneri joined #lisp 2016-08-05T05:41:56Z Sucks joined #lisp 2016-08-05T05:41:58Z Sucks quit (Max SendQ exceeded) 2016-08-05T05:42:19Z IPmonger joined #lisp 2016-08-05T05:42:22Z Sucks joined #lisp 2016-08-05T05:46:29Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T05:47:09Z stepnem quit (Ping timeout: 276 seconds) 2016-08-05T05:47:32Z PuercoPop: what is the URL of Geany Plugin for CL? 2016-08-05T05:48:23Z dmiles quit (Read error: Connection reset by peer) 2016-08-05T05:49:17Z M-moredhel joined #lisp 2016-08-05T05:50:31Z smokeink quit (Ping timeout: 252 seconds) 2016-08-05T05:51:04Z IPmonger joined #lisp 2016-08-05T05:51:25Z shka_ quit (Quit: Konversation terminated!) 2016-08-05T05:53:01Z PuercoPop: nvm found it 2016-08-05T05:53:22Z stepnem joined #lisp 2016-08-05T05:54:19Z shka joined #lisp 2016-08-05T05:55:39Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-05T05:58:55Z arescorpio quit (Quit: Leaving.) 2016-08-05T06:00:16Z IPmonger joined #lisp 2016-08-05T06:01:51Z beach left #lisp 2016-08-05T06:03:40Z safe joined #lisp 2016-08-05T06:04:11Z Sucks quit (Remote host closed the connection) 2016-08-05T06:04:32Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T06:05:20Z IPmonger joined #lisp 2016-08-05T06:07:18Z Velveeta_Chef quit (Ping timeout: 276 seconds) 2016-08-05T06:09:13Z tax quit (Quit: Leaving) 2016-08-05T06:09:14Z vlatkoB joined #lisp 2016-08-05T06:09:17Z safe quit (Read error: Connection reset by peer) 2016-08-05T06:09:45Z tax joined #lisp 2016-08-05T06:09:47Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T06:10:02Z Habens joined #lisp 2016-08-05T06:10:21Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-05T06:12:02Z shka quit (Ping timeout: 258 seconds) 2016-08-05T06:12:25Z dmiles joined #lisp 2016-08-05T06:13:26Z tax quit (Excess Flood) 2016-08-05T06:13:39Z mvilleneuve quit (Ping timeout: 260 seconds) 2016-08-05T06:14:04Z IPmonger joined #lisp 2016-08-05T06:15:46Z tax joined #lisp 2016-08-05T06:18:40Z AngelAgain joined #lisp 2016-08-05T06:19:00Z Denommus quit (Ping timeout: 276 seconds) 2016-08-05T06:19:47Z Velveeta_Chef joined #lisp 2016-08-05T06:22:28Z AngelAgain left #lisp 2016-08-05T06:25:56Z harish_ quit (Ping timeout: 265 seconds) 2016-08-05T06:26:32Z Anselmo quit (Quit: WeeChat 1.5) 2016-08-05T06:26:47Z smokeink joined #lisp 2016-08-05T06:26:51Z mathi_aihtam joined #lisp 2016-08-05T06:26:57Z Anselmo joined #lisp 2016-08-05T06:27:30Z Harag joined #lisp 2016-08-05T06:30:31Z mvilleneuve joined #lisp 2016-08-05T06:31:34Z M-Illandan joined #lisp 2016-08-05T06:32:39Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T06:34:14Z grouzen joined #lisp 2016-08-05T06:34:16Z fluter quit (Ping timeout: 250 seconds) 2016-08-05T06:37:04Z IPmonger joined #lisp 2016-08-05T06:37:24Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-05T06:38:09Z _sjs quit (Ping timeout: 260 seconds) 2016-08-05T06:38:30Z smithzv quit (Ping timeout: 265 seconds) 2016-08-05T06:41:24Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T06:41:36Z smokeink quit (Ping timeout: 258 seconds) 2016-08-05T06:41:54Z harish_ joined #lisp 2016-08-05T06:46:14Z IPmonger joined #lisp 2016-08-05T06:50:09Z fluter joined #lisp 2016-08-05T06:50:32Z impulse quit (Ping timeout: 240 seconds) 2016-08-05T06:50:43Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T06:51:18Z IPmonger joined #lisp 2016-08-05T06:54:58Z mastokley quit (Ping timeout: 258 seconds) 2016-08-05T06:55:47Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T06:56:45Z vydd quit 2016-08-05T07:00:05Z IPmonger joined #lisp 2016-08-05T07:02:47Z impulse joined #lisp 2016-08-05T07:03:28Z mishoo joined #lisp 2016-08-05T07:04:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T07:05:07Z IPmonger joined #lisp 2016-08-05T07:08:09Z wccoder joined #lisp 2016-08-05T07:10:47Z smokeink joined #lisp 2016-08-05T07:12:36Z wccoder quit (Ping timeout: 258 seconds) 2016-08-05T07:19:03Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-05T07:20:39Z mishoo quit (Ping timeout: 258 seconds) 2016-08-05T07:22:01Z shka joined #lisp 2016-08-05T07:22:24Z mishoo joined #lisp 2016-08-05T07:23:02Z IPmonger joined #lisp 2016-08-05T07:24:36Z flamebeard joined #lisp 2016-08-05T07:27:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T07:27:33Z scymtym joined #lisp 2016-08-05T07:28:07Z IPmonger joined #lisp 2016-08-05T07:28:17Z yeticry quit (Ping timeout: 265 seconds) 2016-08-05T07:28:43Z ovenpasta joined #lisp 2016-08-05T07:29:09Z yeticry joined #lisp 2016-08-05T07:30:26Z lnostdal joined #lisp 2016-08-05T07:32:49Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-05T07:36:12Z angavrilov joined #lisp 2016-08-05T07:36:49Z IPmonger joined #lisp 2016-08-05T07:40:36Z DavidGu joined #lisp 2016-08-05T07:41:04Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-05T07:41:21Z harish_ quit (Ping timeout: 258 seconds) 2016-08-05T07:41:44Z HeyFlash joined #lisp 2016-08-05T07:46:04Z IPmonger joined #lisp 2016-08-05T07:49:42Z varjag joined #lisp 2016-08-05T07:50:38Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T07:51:06Z IPmonger joined #lisp 2016-08-05T07:55:18Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T07:55:31Z krasnal quit (Read error: Connection reset by peer) 2016-08-05T07:58:30Z Beetny joined #lisp 2016-08-05T07:59:54Z IPmonger joined #lisp 2016-08-05T08:00:42Z harish_ joined #lisp 2016-08-05T08:02:30Z przl joined #lisp 2016-08-05T08:04:29Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-05T08:08:40Z scottj left #lisp 2016-08-05T08:09:01Z IPmonger joined #lisp 2016-08-05T08:09:36Z Harag quit (Ping timeout: 244 seconds) 2016-08-05T08:13:13Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T08:14:55Z harish_ quit (Ping timeout: 244 seconds) 2016-08-05T08:18:17Z IPmonger joined #lisp 2016-08-05T08:19:33Z hhdave joined #lisp 2016-08-05T08:21:46Z defaultxr quit (Ping timeout: 252 seconds) 2016-08-05T08:27:22Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-05T08:27:37Z IPmonger joined #lisp 2016-08-05T08:31:59Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T08:37:42Z DavidGu quit (Ping timeout: 258 seconds) 2016-08-05T08:38:53Z gargaml joined #lisp 2016-08-05T08:39:06Z Karl_Dscc joined #lisp 2016-08-05T08:40:25Z gargaml quit (Client Quit) 2016-08-05T08:46:06Z przl_ joined #lisp 2016-08-05T08:48:31Z przl quit (Ping timeout: 244 seconds) 2016-08-05T08:50:49Z johs joined #lisp 2016-08-05T08:52:57Z DeadTrickster joined #lisp 2016-08-05T08:53:35Z varjag quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2016-08-05T08:53:43Z erjag quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2016-08-05T08:54:15Z varjag joined #lisp 2016-08-05T08:55:35Z Mon_Ouie quit (Ping timeout: 244 seconds) 2016-08-05T09:02:49Z przl_ quit (Ping timeout: 244 seconds) 2016-08-05T09:04:38Z Bike: =/away 2016-08-05T09:09:31Z Habens quit 2016-08-05T09:12:15Z Mon_Ouie joined #lisp 2016-08-05T09:13:17Z SumoSudo joined #lisp 2016-08-05T09:15:17Z przl joined #lisp 2016-08-05T09:17:52Z mvilleneuve quit (Ping timeout: 252 seconds) 2016-08-05T09:19:47Z mvilleneuve joined #lisp 2016-08-05T09:24:52Z pierpa joined #lisp 2016-08-05T09:27:33Z yrdz quit (Ping timeout: 240 seconds) 2016-08-05T09:27:58Z przl quit (Ping timeout: 258 seconds) 2016-08-05T09:28:18Z przl joined #lisp 2016-08-05T09:28:21Z quazimod1 quit (Ping timeout: 258 seconds) 2016-08-05T09:28:44Z quazimodo quit (Ping timeout: 258 seconds) 2016-08-05T09:33:12Z zacharias joined #lisp 2016-08-05T09:33:31Z vibs29 joined #lisp 2016-08-05T09:37:12Z vibs29 left #lisp 2016-08-05T09:37:54Z mvilleneuve quit (Ping timeout: 276 seconds) 2016-08-05T09:37:56Z m00natic joined #lisp 2016-08-05T09:41:59Z Karl_Dscc quit (Remote host closed the connection) 2016-08-05T09:42:10Z ggole joined #lisp 2016-08-05T09:42:31Z josteink quit (Quit: brb) 2016-08-05T09:42:54Z josteink joined #lisp 2016-08-05T09:43:00Z mvilleneuve joined #lisp 2016-08-05T09:53:02Z thomas quit (Quit: leaving) 2016-08-05T09:59:46Z Bike quit (Quit: disinterrogate) 2016-08-05T10:03:37Z shdeng quit (Quit: Leaving) 2016-08-05T10:06:59Z jack_rip_vim joined #lisp 2016-08-05T10:09:01Z strelox joined #lisp 2016-08-05T10:12:27Z nisstyre quit (Ping timeout: 260 seconds) 2016-08-05T10:15:49Z d4ryus quit (Ping timeout: 244 seconds) 2016-08-05T10:18:04Z tfm joined #lisp 2016-08-05T10:18:40Z d4ryus joined #lisp 2016-08-05T10:19:29Z narendraj9 joined #lisp 2016-08-05T10:20:48Z jack_rip_vim: how to execute cd command at linux 2016-08-05T10:22:11Z jack_rip_vim: (execute "/bin/cd" "/path") didnt work 2016-08-05T10:22:32Z dim: of course not, cd is an internal command of the shell 2016-08-05T10:22:40Z dim: try `man cd` and `help cd` 2016-08-05T10:22:49Z tfm: It's both. 2016-08-05T10:23:09Z tfm: There is a /bin/cd since it's a coreutil, but many shells implement it for speed. 2016-08-05T10:23:35Z jack_rip_vim: so, on lisp, cd cant be execute? 2016-08-05T10:23:36Z dim: well it needs to change the internal notion of CWD in the shell... 2016-08-05T10:23:53Z dim: I wonder how that works to exec another program that does that 2016-08-05T10:24:21Z dim: jack_rip_vim: see uiop::chdir 2016-08-05T10:24:29Z pierpa: jack_rip_vim: why do you want to do cd from inside lisp? That's not the correct way to operate on files 2016-08-05T10:25:05Z tfm: Huh, consider me wrong on /bin/cd existing. 2016-08-05T10:25:16Z jack_rip_vim: just try to execute command at linux 2016-08-05T10:25:29Z tfm: I thought it would since other things get implemented as shell builtins (like echo iirc). 2016-08-05T10:25:52Z jack_rip_vim: excepet cd command, other command is executable 2016-08-05T10:26:45Z dim: cd is an *internal* command of the shell, not an executable 2016-08-05T10:27:02Z jack_rip_vim: ok 2016-08-05T10:27:30Z jack_rip_vim: I will try uiop:chdir 2016-08-05T10:27:45Z Fade quit (Read error: Connection reset by peer) 2016-08-05T10:28:24Z IPmonger joined #lisp 2016-08-05T10:28:49Z jack_rip_vim: I use chsh command change my shell to clisp shell 2016-08-05T10:29:30Z jack_rip_vim: so I try to do that. 2016-08-05T10:33:05Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T10:33:20Z IPmonger joined #lisp 2016-08-05T10:38:14Z IPmonger quit (Ping timeout: 265 seconds) 2016-08-05T10:41:42Z Fare joined #lisp 2016-08-05T10:42:05Z IPmonger joined #lisp 2016-08-05T10:46:30Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T10:47:14Z IPmonger joined #lisp 2016-08-05T10:51:50Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T10:55:56Z IPmonger joined #lisp 2016-08-05T10:57:00Z jack_rip_vim: ipmonger... 2016-08-05T10:58:32Z Harag joined #lisp 2016-08-05T10:59:09Z Fare quit (Ping timeout: 276 seconds) 2016-08-05T11:00:35Z jsgrant joined #lisp 2016-08-05T11:00:39Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-05T11:05:04Z IPmonger joined #lisp 2016-08-05T11:09:20Z groovy2shoes quit (Quit: Leaving) 2016-08-05T11:09:33Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T11:09:38Z wccoder joined #lisp 2016-08-05T11:10:11Z IPmonger joined #lisp 2016-08-05T11:11:30Z jack_rip_vim left #lisp 2016-08-05T11:14:06Z wccoder quit (Ping timeout: 258 seconds) 2016-08-05T11:14:44Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T11:15:27Z ramky joined #lisp 2016-08-05T11:18:25Z przl quit (Ping timeout: 250 seconds) 2016-08-05T11:18:57Z IPmonger joined #lisp 2016-08-05T11:23:18Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T11:26:02Z mbuf joined #lisp 2016-08-05T11:26:45Z strg joined #lisp 2016-08-05T11:26:54Z strg left #lisp 2016-08-05T11:28:05Z IPmonger joined #lisp 2016-08-05T11:32:37Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-05T11:32:38Z vibs29 joined #lisp 2016-08-05T11:33:09Z IPmonger joined #lisp 2016-08-05T11:34:49Z ramky quit (Ping timeout: 252 seconds) 2016-08-05T11:36:40Z jack_rip_vim joined #lisp 2016-08-05T11:36:47Z vibs29 left #lisp 2016-08-05T11:41:49Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T11:44:30Z DavidGu1 joined #lisp 2016-08-05T11:46:29Z IPmonger joined #lisp 2016-08-05T11:46:36Z Fare joined #lisp 2016-08-05T11:48:25Z attila_lendvai joined #lisp 2016-08-05T11:51:02Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T11:51:27Z ramky joined #lisp 2016-08-05T11:55:44Z IPmonger joined #lisp 2016-08-05T11:57:21Z zacharias quit (Quit: WeeChat 1.5) 2016-08-05T12:00:07Z ovenpasta quit (Ping timeout: 252 seconds) 2016-08-05T12:00:12Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T12:00:47Z IPmonger joined #lisp 2016-08-05T12:05:28Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T12:09:33Z IPmonger joined #lisp 2016-08-05T12:10:33Z sjl quit (Read error: Connection reset by peer) 2016-08-05T12:14:00Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T12:14:01Z przl joined #lisp 2016-08-05T12:14:41Z kobain joined #lisp 2016-08-05T12:18:41Z IPmonger joined #lisp 2016-08-05T12:19:39Z przl_ joined #lisp 2016-08-05T12:19:48Z vibs29 joined #lisp 2016-08-05T12:20:06Z vibs29 left #lisp 2016-08-05T12:20:20Z przl quit (Ping timeout: 244 seconds) 2016-08-05T12:22:31Z mbuf quit (Quit: Ex-Chat) 2016-08-05T12:22:40Z lemoinem quit (Ping timeout: 252 seconds) 2016-08-05T12:23:39Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T12:26:06Z lemoinem joined #lisp 2016-08-05T12:30:53Z oleo joined #lisp 2016-08-05T12:33:16Z smokeink quit (Read error: Connection reset by peer) 2016-08-05T12:37:14Z moore33 quit (Ping timeout: 244 seconds) 2016-08-05T12:37:37Z mishoo quit (Ping timeout: 265 seconds) 2016-08-05T12:38:56Z smokeink joined #lisp 2016-08-05T12:38:57Z sellout- quit (Quit: Leaving.) 2016-08-05T12:40:44Z smithzv joined #lisp 2016-08-05T12:45:48Z jack_rip_vim left #lisp 2016-08-05T12:48:10Z Carisius joined #lisp 2016-08-05T12:48:15Z narendraj9 quit (Ping timeout: 244 seconds) 2016-08-05T12:55:30Z DavidGu1 quit (Ping timeout: 276 seconds) 2016-08-05T12:56:30Z Beetny quit (Ping timeout: 244 seconds) 2016-08-05T12:59:14Z moore33 joined #lisp 2016-08-05T13:06:05Z asc232 joined #lisp 2016-08-05T13:08:30Z Fare quit (Ping timeout: 276 seconds) 2016-08-05T13:10:45Z Fare joined #lisp 2016-08-05T13:17:07Z Fare quit (Ping timeout: 252 seconds) 2016-08-05T13:18:16Z Fare joined #lisp 2016-08-05T13:19:11Z Carisius quit (Read error: Connection reset by peer) 2016-08-05T13:28:13Z lexicall joined #lisp 2016-08-05T13:29:44Z mishoo joined #lisp 2016-08-05T13:30:01Z Karl_Dscc joined #lisp 2016-08-05T13:30:36Z pierpa quit (Ping timeout: 244 seconds) 2016-08-05T13:31:04Z marsjaninzmarsa quit (Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in) 2016-08-05T13:31:30Z LiamH joined #lisp 2016-08-05T13:34:25Z cromachina quit (Read error: Connection reset by peer) 2016-08-05T13:35:08Z marsjaninzmarsa joined #lisp 2016-08-05T13:36:07Z marsjaninzmarsa quit (Excess Flood) 2016-08-05T13:39:46Z moore33 quit (Ping timeout: 258 seconds) 2016-08-05T13:39:52Z jerme joined #lisp 2016-08-05T13:41:59Z karswell` joined #lisp 2016-08-05T13:44:31Z al-damiri joined #lisp 2016-08-05T13:47:12Z zacharias joined #lisp 2016-08-05T13:48:53Z IPmonger joined #lisp 2016-08-05T13:48:55Z karswell` is now known as karswell 2016-08-05T13:50:11Z marsjaninzmarsa joined #lisp 2016-08-05T13:50:48Z strelox quit (Remote host closed the connection) 2016-08-05T13:51:09Z marsjaninzmarsa quit (Excess Flood) 2016-08-05T13:51:19Z Fare quit (Ping timeout: 258 seconds) 2016-08-05T13:52:04Z Fare joined #lisp 2016-08-05T13:55:15Z marsjaninzmarsa joined #lisp 2016-08-05T13:55:43Z marsjaninzmarsa quit (Excess Flood) 2016-08-05T13:56:35Z Karl_Dscc quit (Remote host closed the connection) 2016-08-05T13:57:25Z sjl joined #lisp 2016-08-05T13:57:53Z mishoo quit (Ping timeout: 250 seconds) 2016-08-05T13:59:54Z mishoo joined #lisp 2016-08-05T14:04:30Z gargaml joined #lisp 2016-08-05T14:04:39Z phoe quit (Ping timeout: 264 seconds) 2016-08-05T14:05:04Z mishoo quit (Ping timeout: 258 seconds) 2016-08-05T14:05:24Z gargaml: Hi 2016-08-05T14:05:54Z gargaml: is there a way to do (setf a (* a 1)) or similar with a shorter expression ? 2016-08-05T14:06:03Z gargaml: a bit like *= of the C language 2016-08-05T14:06:35Z adlai: clhs defmacro 2016-08-05T14:06:36Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_defmac.htm 2016-08-05T14:06:50Z isoraqathedh: It would be called "mulf" if it were a thing. 2016-08-05T14:06:52Z gargaml: that's what I did 2016-08-05T14:07:04Z adlai: or maybe better, http://www.gigamonkeys.com/book/macros-defining-your-own.html 2016-08-05T14:07:19Z isoraqathedh: It's not in common-lisp in any case. Only incf and decf have those things. 2016-08-05T14:07:23Z gargaml: but I wanted to know if someone else has already done it and made it available through the standard library 2016-08-05T14:07:39Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T14:07:43Z Xach: gargaml: no. 2016-08-05T14:07:54Z gargaml: all right :-) 2016-08-05T14:07:58Z adlai: the standard library doesn't change. there may be a utility for this in one of the utility libraries 2016-08-05T14:08:05Z gargaml: thank you guys 2016-08-05T14:08:59Z isoraqathedh: How does a #'find-if make a comparison? 2016-08-05T14:09:48Z isoraqathedh: Or rather. 2016-08-05T14:10:26Z isoraqathedh: If I call (find "this" in-list :key #'predicate), where predicate is a function with two arguments P and Q, is "this" going to be P or Q? 2016-08-05T14:10:34Z isoraqathedh: s/:key/:test/ 2016-08-05T14:11:08Z dwchandler: how hard would that be to find out yourself? 2016-08-05T14:11:27Z dwchandler: I'm not asking to be a jerk. I'm saying that's a useful question 2016-08-05T14:11:30Z isoraqathedh: Aaaah, hang on. I was on mobile earlier. 2016-08-05T14:11:42Z isoraqathedh: I'll see if I can make my way to a computer with a running Lisp. 2016-08-05T14:11:42Z vibs29 joined #lisp 2016-08-05T14:12:01Z IPmonger joined #lisp 2016-08-05T14:12:13Z isoraqathedh: (I'm sorry, sometimes I forget that I have switched devices.) 2016-08-05T14:12:50Z Xach: isoraqathedh: http://l1sp.org/cl/17.2.1 goes into some detail 2016-08-05T14:13:27Z Xach: How you could find that for yourself, I don't know. I know it because I saw it referenced over the years. 2016-08-05T14:14:48Z Fare quit (Ping timeout: 276 seconds) 2016-08-05T14:14:58Z dwchandler: you could also write a predicate that prints its input 2016-08-05T14:14:59Z isoraqathedh: I actually found that page. However, I don't see any particular statement saying which of the two gets which position. 2016-08-05T14:15:12Z isoraqathedh: And if it isn't there, it is possible that different implementations do different things. 2016-08-05T14:15:38Z karswell quit (Read error: Connection reset by peer) 2016-08-05T14:15:51Z isoraqathedh: Hm. 2016-08-05T14:16:18Z isoraqathedh: A little bit of experiementation says that SBCL would put the thing to be found as the first argument and the list elements as the second one. 2016-08-05T14:16:35Z isoraqathedh: I haven't got any of the other implementaitons handy so I don't know if that is the case for the others. 2016-08-05T14:16:39Z karswell joined #lisp 2016-08-05T14:16:45Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T14:17:24Z vibs29 left #lisp 2016-08-05T14:17:35Z mathi_aihtam joined #lisp 2016-08-05T14:18:56Z zacharias quit (Quit: WeeChat 1.5) 2016-08-05T14:19:07Z vibs29 joined #lisp 2016-08-05T14:19:51Z vibs29 left #lisp 2016-08-05T14:20:22Z zygentoma joined #lisp 2016-08-05T14:21:09Z IPmonger joined #lisp 2016-08-05T14:21:50Z adolf_stalin joined #lisp 2016-08-05T14:21:54Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-05T14:22:31Z vibs29 joined #lisp 2016-08-05T14:22:49Z vibs29 left #lisp 2016-08-05T14:23:31Z vibs29 joined #lisp 2016-08-05T14:23:32Z phoe joined #lisp 2016-08-05T14:24:09Z vibs29 left #lisp 2016-08-05T14:25:37Z vibs29 joined #lisp 2016-08-05T14:25:44Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T14:25:45Z warweasle is now known as warweasle_meetin 2016-08-05T14:26:13Z IPmonger joined #lisp 2016-08-05T14:27:59Z zacharias joined #lisp 2016-08-05T14:29:12Z jdz: Xach: when I find myself looking at a function in CLHS that does not quite do what i want, i'd click the "up" arrow button to go to the "dictionary" chapter where that function belongs and look for interesting names that might do what i need. And sometimes I'd go another level up to read the "concepts" chapter. In case of sequence functions there's another chapter besides "concepts" and "dictionary", it's called "Rules about Test 2016-08-05T14:29:13Z jdz: functions". At least that's how I found that chapter the other day when somebody asked about where the defaulting to #'EQL for the test functions is described. 2016-08-05T14:30:33Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T14:31:27Z vibs29 left #lisp 2016-08-05T14:32:07Z vibs29 joined #lisp 2016-08-05T14:32:20Z Karl_Dscc joined #lisp 2016-08-05T14:32:50Z vibs29 quit (Quit: bye) 2016-08-05T14:33:22Z vibs29 joined #lisp 2016-08-05T14:33:57Z vibs29 left #lisp 2016-08-05T14:34:51Z Xach: jdz: the ability to parse and navigate the clhs is very valuable to a CL hacker! 2016-08-05T14:34:56Z IPmonger joined #lisp 2016-08-05T14:35:04Z vibs29 joined #lisp 2016-08-05T14:36:17Z vibs29 left #lisp 2016-08-05T14:36:34Z vibs29 joined #lisp 2016-08-05T14:36:57Z narendraj9 joined #lisp 2016-08-05T14:38:37Z jdz: indeed 2016-08-05T14:38:40Z vibs29 left #lisp 2016-08-05T14:38:53Z akkad: clhs.org makes it much easier imho 2016-08-05T14:38:59Z akkad: the file, not the website 2016-08-05T14:39:22Z vibs29 joined #lisp 2016-08-05T14:40:09Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T14:42:33Z jdz: i almost wanted to complain about the webpage being blank in Safari 2016-08-05T14:44:10Z IPmonger joined #lisp 2016-08-05T14:44:33Z smokeink quit (Ping timeout: 240 seconds) 2016-08-05T14:44:51Z smokeink joined #lisp 2016-08-05T14:46:51Z zygentoma quit (Read error: Connection reset by peer) 2016-08-05T14:48:09Z zygentoma joined #lisp 2016-08-05T14:48:49Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T14:52:12Z smokeink quit (Ping timeout: 240 seconds) 2016-08-05T14:53:20Z IPmonger joined #lisp 2016-08-05T14:54:20Z smokeink joined #lisp 2016-08-05T14:55:11Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-05T14:57:48Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T14:58:30Z IPmonger joined #lisp 2016-08-05T15:02:06Z asc232 quit (Remote host closed the connection) 2016-08-05T15:03:34Z moore33 joined #lisp 2016-08-05T15:04:17Z varjag quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2016-08-05T15:06:00Z HeyFlash quit (Remote host closed the connection) 2016-08-05T15:06:00Z przl_ quit (Ping timeout: 265 seconds) 2016-08-05T15:07:13Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T15:09:07Z Karl_Dscc quit (Remote host closed the connection) 2016-08-05T15:10:25Z whiteline quit (Read error: Connection reset by peer) 2016-08-05T15:11:09Z wccoder joined #lisp 2016-08-05T15:11:14Z whiteline joined #lisp 2016-08-05T15:11:49Z IPmonger joined #lisp 2016-08-05T15:15:01Z narendraj9 quit (Ping timeout: 250 seconds) 2016-08-05T15:15:54Z wccoder quit (Ping timeout: 276 seconds) 2016-08-05T15:16:00Z eudoxia joined #lisp 2016-08-05T15:16:17Z jokleinn joined #lisp 2016-08-05T15:16:52Z mishoo joined #lisp 2016-08-05T15:21:24Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-05T15:25:33Z IPmonger joined #lisp 2016-08-05T15:25:52Z strelox joined #lisp 2016-08-05T15:26:33Z b3atr joined #lisp 2016-08-05T15:27:32Z harish_ joined #lisp 2016-08-05T15:28:27Z b3atr: what is the command/arguments must pass to sbcl to run a lisp file? 2016-08-05T15:28:36Z b3atr: (for example; python3 foo.py) 2016-08-05T15:29:17Z akkad: cat lisp.file|sbcl 2016-08-05T15:29:23Z eudoxia: sbcl --load file.lisp 2016-08-05T15:30:12Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T15:32:04Z b3atr: how about standalone? 2016-08-05T15:32:25Z b3atr: I read the document about save-and-die but I didn't understand. 2016-08-05T15:32:26Z akkad: binary? 2016-08-05T15:32:31Z akkad: sure I can show you 2016-08-05T15:33:07Z akkad: (load "yourfile.lisp)(sb-ext:save-lisp-and-die "binary-name" :compression 5 :executable t :toplevel 'your-main-function :save-runtime-options t) 2016-08-05T15:33:08Z akkad: 2016-08-05T15:33:55Z b3atr: in sbcl REPL? 2016-08-05T15:34:24Z b3atr: akkad: & 2016-08-05T15:34:27Z Mon_Ouie quit (Ping timeout: 244 seconds) 2016-08-05T15:34:46Z IPmonger joined #lisp 2016-08-05T15:36:54Z fe[nl]ix: b3atr: that should be (progn (for example) (python3 foo.py)) 2016-08-05T15:38:04Z b3atr: what's the standard print function? 2016-08-05T15:38:26Z phoe: b3atr: PRINT! 2016-08-05T15:38:35Z phoe: Syntax: (print object) 2016-08-05T15:38:38Z jdz: let me guess the next question: "why is the generated hello world binary so big?" 2016-08-05T15:38:56Z b3atr: jdz: no "hello world" :D 2016-08-05T15:39:04Z phoe: let me guess the next answer: "because you have the whole Lisp language available in it" 2016-08-05T15:39:16Z phoe: b3atr: (format t "Hello, world!") 2016-08-05T15:39:23Z phoe: b3atr: (format t "Hello, world!~%") actually 2016-08-05T15:39:26Z phoe: So you have the newline. 2016-08-05T15:39:29Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-05T15:39:50Z IPmonger joined #lisp 2016-08-05T15:41:33Z b3atr: http://paste.lisp.org/+6WNU 2016-08-05T15:42:22Z b3atr: call fg and print the output 2016-08-05T15:42:44Z smokeink quit (Ping timeout: 265 seconds) 2016-08-05T15:42:56Z jdz: fg is not being called 2016-08-05T15:43:23Z flamebeard quit (Quit: Leaving) 2016-08-05T15:43:29Z akkad: b3atr: (compile-file "hello.lisp") should generate a hello.fasl that you can run directly on linux 2016-08-05T15:43:29Z phoe: You must have meant (print (fg ...)) 2016-08-05T15:43:37Z wccoder joined #lisp 2016-08-05T15:43:44Z phoe: akkad: you can run FASLs directly on linux!?! 2016-08-05T15:43:48Z eudoxia_ joined #lisp 2016-08-05T15:44:29Z eudoxia quit (Read error: Connection reset by peer) 2016-08-05T15:44:51Z eudoxia_ quit (Client Quit) 2016-08-05T15:44:59Z Karl_Dscc joined #lisp 2016-08-05T15:45:51Z akkad: jaimef|akkadian|:/tmp> ./test.fasl 2016-08-05T15:45:51Z akkad: hi 2016-08-05T15:45:51Z akkad: 2016-08-05T15:45:52Z b3atr: akkad: I've compiled it 2016-08-05T15:46:06Z akkad: b3atr: chmod a+rx test.fasl 2016-08-05T15:46:25Z jdz: akkad: or just chmod +x test.fasl 2016-08-05T15:46:36Z b3atr: akkad: aha, I thought something like a.out so it does need permission.:D 2016-08-05T15:47:14Z Lord_of_Life quit (Changing host) 2016-08-05T15:47:14Z Lord_of_Life joined #lisp 2016-08-05T15:47:14Z Lord_of_Life quit (Changing host) 2016-08-05T15:47:14Z Lord_of_Life joined #lisp 2016-08-05T15:47:52Z akkad: -rwxrwxr-x 1 jaimef jaimef 342 Aug 5 08:45 test.fasl; pretty small 2016-08-05T15:48:19Z b3atr: yeah 2016-08-05T15:48:32Z IPmonger quit (Ping timeout: 265 seconds) 2016-08-05T15:48:39Z b3atr: is there a standard documentation for the language? 2016-08-05T15:48:57Z phoe: b3atr: ayup 2016-08-05T15:49:04Z phoe: clhs print 2016-08-05T15:49:04Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_wr_pr.htm 2016-08-05T15:49:17Z phoe: http://www.lispworks.com/reference/HyperSpec/ it is 2016-08-05T15:49:26Z phoe: and that's how you ask specbot for a particular article 2016-08-05T15:49:44Z marsjaninzmarsa joined #lisp 2016-08-05T15:50:54Z b3atr: phoe: thanks 2016-08-05T15:51:39Z zacharias quit (Ping timeout: 276 seconds) 2016-08-05T15:53:11Z IPmonger joined #lisp 2016-08-05T15:53:17Z |3b|: note that .fasl files probably depend on the exact version of sbcl used to run them, so you might need to rebuild them if you upgrade sbcl 2016-08-05T15:53:57Z b3atr: |3b|: good one 2016-08-05T15:54:20Z b3atr: what book do you recommend/suggest to read to learn the fundamentals? 2016-08-05T15:54:39Z alexherbo2 quit (Quit: WeeChat 1.4) 2016-08-05T15:56:25Z akkad: CLR is really good 2016-08-05T15:56:35Z akkad: PCL is another, but getting dated 2016-08-05T15:57:46Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T15:58:15Z IPmonger joined #lisp 2016-08-05T15:58:29Z zygentoma quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-05T15:58:31Z jdz: minion: tell me about CLR 2016-08-05T15:58:32Z minion: Sorry, I couldn't find anything in the database for ``CLR''. 2016-08-05T15:58:55Z akkad: Common Lisp Recipes. Just released last December 2016-08-05T15:59:25Z jdz: yes, i know. but i don't expect a newbie coming to this channel to know what the acronym stands for, so i was checking if minion knows about it. 2016-08-05T15:59:36Z jdz: also, i bought the ebook the other day. 2016-08-05T15:59:42Z Amaan joined #lisp 2016-08-05T15:59:45Z akkad: how do you like it? 2016-08-05T15:59:57Z jdz: it's sitting next to all my other unread books for now. 2016-08-05T16:00:01Z fade joined #lisp 2016-08-05T16:00:11Z jdz: i bought it because i could. 2016-08-05T16:00:19Z akkad: taking up a lot of space. really good reference 2016-08-05T16:00:27Z akkad: "how do I do X in CL?" 2016-08-05T16:00:28Z b3atr: run-shell-command doesn't exist in sbcl 2016-08-05T16:00:42Z akkad: b3atr do you have quicklisp installed? 2016-08-05T16:00:44Z warweasle_meetin is now known as warweasle 2016-08-05T16:00:53Z b3atr: akkad: I've clisp 2016-08-05T16:01:44Z akkad: b3atr: ok. clisp works. sbcl sort rules the roost. 2016-08-05T16:02:26Z akkad: b3atr: quicklisp, similar to pip can get you portable packages to do these sorts of things in a fashion you can take with you. 2016-08-05T16:02:38Z akkad: d 2016-08-05T16:02:48Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T16:04:17Z mastokley joined #lisp 2016-08-05T16:05:17Z zacharias joined #lisp 2016-08-05T16:05:57Z strelox quit (Ping timeout: 276 seconds) 2016-08-05T16:07:01Z IPmonger joined #lisp 2016-08-05T16:08:05Z BlueRavenGT joined #lisp 2016-08-05T16:11:37Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T16:12:03Z lexicall quit (Ping timeout: 240 seconds) 2016-08-05T16:12:04Z IPmonger joined #lisp 2016-08-05T16:12:32Z lexicall joined #lisp 2016-08-05T16:12:49Z b3atr: akkad: thank you very much. 2016-08-05T16:12:55Z fiddlerwoaroof joined #lisp 2016-08-05T16:15:09Z lexicall quit (Remote host closed the connection) 2016-08-05T16:15:33Z akkad: b3atr: we are here to help 2016-08-05T16:17:09Z lexicall joined #lisp 2016-08-05T16:17:46Z b3atr: akkad: when I do clisp -c foo.lisp it generates one file foo.fas 2016-08-05T16:18:00Z b3atr: akkad: how to generate .fasl too? 2016-08-05T16:19:19Z jdz: that _is_ clisp's FASL file 2016-08-05T16:20:27Z b3atr: jdz: when I give the permission I get err. 2016-08-05T16:20:54Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T16:20:56Z jdz: apparently clisp's FASL files are not magic 2016-08-05T16:21:19Z IPmonger joined #lisp 2016-08-05T16:22:30Z jdz: b3atr: hint: look at the contents of SBCL's FASL file 2016-08-05T16:24:12Z Petit_Dejeuner quit (Ping timeout: 240 seconds) 2016-08-05T16:24:16Z b3atr: http://vpaste.net/BC0hh 2016-08-05T16:24:36Z b3atr: I've found this post: http://mx.gw.com/pipermail/file/2008/000223.html 2016-08-05T16:24:49Z jdz: i said SBCL's 2016-08-05T16:24:55Z akkad: b3atr: I recommend using sbcl. 2016-08-05T16:25:16Z phoe: ^ 2016-08-05T16:25:45Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T16:28:20Z lisp644 joined #lisp 2016-08-05T16:30:02Z IPmonger joined #lisp 2016-08-05T16:31:09Z lexicall quit (Quit: Ah, my macbook is gonna sleep!) 2016-08-05T16:31:19Z varjag joined #lisp 2016-08-05T16:32:46Z mordocai: b3atr: Specifically I would recommend against clisp since it isn't currently maintained (unless a maintainer stepped up since last time I looked) 2016-08-05T16:33:17Z mordocai: (and needs maintanence) 2016-08-05T16:33:51Z phoe: mordocai: there is a maintainer 2016-08-05T16:34:00Z phoe: although they're not very active yet because of RL, AFAIK 2016-08-05T16:34:06Z mordocai: phoe: Ah, nice! 2016-08-05T16:34:13Z phoe: mordocai: :D 2016-08-05T16:36:34Z b3atr: is there any active project that uses Common Lisp? 2016-08-05T16:37:22Z phoe: b3atr: welp, fairly many of them 2016-08-05T16:37:23Z Xach: b3atr: so many 2016-08-05T16:37:35Z jdz: i just saw this tweet: https://twitter.com/pburkholder/status/761586768290410498 2016-08-05T16:37:44Z Xach: my pixel speech bubble generator is pure lisp. so pure. and so lucrative!! 2016-08-05T16:38:00Z Xach: pgloader is a fantastic project 2016-08-05T16:38:37Z mordocai: b3atr: Basically yes but a good portion of the projects in my experience have been proprietary so you don't hear much about them. 2016-08-05T16:40:13Z b3atr: mordocai: is there any companion/fork of common lisp that is in use better? 2016-08-05T16:40:29Z b3atr: mordocai: except clojure, it's too slow for scripting. 2016-08-05T16:42:08Z phoe: Clojure ain't a fork of Common Lisp. 2016-08-05T16:42:19Z b3atr: phoe: yeah, my bad. 2016-08-05T16:42:21Z phoe: It's a completely different dialect. 2016-08-05T16:42:29Z eivarv joined #lisp 2016-08-05T16:43:36Z programisto joined #lisp 2016-08-05T16:43:42Z phoe: Sidenote - mmos just hacked up an USOCKET extension that implements Unix sockets on SBCL! 2016-08-05T16:44:07Z IPmonger quit (Ping timeout: 265 seconds) 2016-08-05T16:44:14Z hhdave quit (Ping timeout: 260 seconds) 2016-08-05T16:44:49Z programisto: have a situation where 'a != (first '(a b c'), no mattwer if I try eq eql, etc 2016-08-05T16:44:50Z zacharias quit (Ping timeout: 250 seconds) 2016-08-05T16:44:56Z programisto: anything should look out for? 2016-08-05T16:45:23Z programisto: sorry, that was 'a != (first '(a b c)) 2016-08-05T16:45:29Z programisto: thought symbols where largely equal 2016-08-05T16:45:34Z jackdaniel: (not (eql 'a (first '(a b c)))) 2016-08-05T16:46:17Z phoe: jackdaniel: eq would work here since we're dealing with symbols 2016-08-05T16:46:26Z phoe: but that's a philosophical/cosmetic discussion 2016-08-05T16:46:28Z programisto: (format t "~a ~a" 'a (first ('a b c)) prints them as the same value 2016-08-05T16:46:29Z jackdaniel: eql will work too 2016-08-05T16:46:32Z tfm: That's an odd one. The car of '(a b c) should be 'a, which is eq 'a. I don't know why it wouldn't work. 2016-08-05T16:46:33Z programisto: but they are not wq or wql 2016-08-05T16:46:34Z mordocai: b3atr: Slightly off topic since this is a common lisp channel, but pixie is clojure inspired and much much faster startup. 2016-08-05T16:46:52Z mordocai: b3atr: Really though, even Clojure is niche compared to most other languages so yeah 2016-08-05T16:47:19Z phoe: programisto: but 'a and (first '(a b c)) *are* eql 2016-08-05T16:47:29Z programisto: yeah... 2016-08-05T16:47:35Z phoe: so what's the deal? 2016-08-05T16:47:36Z phoe: I don't get it. 2016-08-05T16:47:44Z phoe: (eql 'a (first '(a b c))) ;=> T 2016-08-05T16:47:52Z programisto: not sure. it works in slime but doesn't work when running as a script using cl launch 2016-08-05T16:48:07Z programisto: so, it might be related to that, still debugging 2016-08-05T16:48:08Z phoe: programisto: give us an example. 2016-08-05T16:48:27Z IPmonger joined #lisp 2016-08-05T16:51:15Z programisto: phoe: http://pastebin.com/s9iM35t3 2016-08-05T16:51:18Z pipping joined #lisp 2016-08-05T16:51:18Z programisto: it always falls through 2016-08-05T16:51:59Z rumbler31 joined #lisp 2016-08-05T16:52:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T16:52:50Z jdz: programisto: i bet none of your nodes has type '(quote cons) 2016-08-05T16:53:03Z jackdaniel: that 2016-08-05T16:53:10Z phoe: line 4 2016-08-05T16:53:13Z marcoecc joined #lisp 2016-08-05T16:53:16Z jackdaniel: first element for subsequent clauses isn't evaluated 2016-08-05T16:53:27Z programisto: huh 2016-08-05T16:53:49Z programisto: sosry, early lisping 2016-08-05T16:53:54Z programisto: that should be obvious 2016-08-05T16:54:00Z marcoecc quit (Remote host closed the connection) 2016-08-05T16:54:20Z programisto: thanks 2016-08-05T16:54:21Z phoe: programisto: don't worry 2016-08-05T16:54:27Z phoe: we've all been there 2016-08-05T16:54:32Z marcoecc joined #lisp 2016-08-05T16:54:34Z phoe: if you have any more questions, fire them at us. 2016-08-05T16:54:45Z programisto: thank you 2016-08-05T16:54:49Z phoe: Preferably at low velocity and wrapped in parentheses. 2016-08-05T16:54:57Z programisto: heh 2016-08-05T16:54:58Z marcoecc quit (Remote host closed the connection) 2016-08-05T16:56:09Z strelox joined #lisp 2016-08-05T16:59:14Z eivarv quit (Quit: Sleep) 2016-08-05T17:00:19Z b3atr: is there a clear command in sbcl? 2016-08-05T17:00:21Z Karl_Dscc quit (Remote host closed the connection) 2016-08-05T17:00:42Z b3atr: or history? 2016-08-05T17:00:44Z angavrilov quit (Ping timeout: 244 seconds) 2016-08-05T17:00:57Z m00natic quit (Remote host closed the connection) 2016-08-05T17:01:08Z phoe: b3atr: do you run it from commandline? 2016-08-05T17:01:20Z vydd joined #lisp 2016-08-05T17:01:20Z vydd quit (Changing host) 2016-08-05T17:01:20Z vydd joined #lisp 2016-08-05T17:01:34Z b3atr: yeah 2016-08-05T17:01:37Z phoe: Both are supported in SLIME for emacs, which gives a much better experience than using SBCL from console. 2016-08-05T17:01:37Z Petit_Dejeuner joined #lisp 2016-08-05T17:01:40Z wildlander joined #lisp 2016-08-05T17:01:43Z phoe: And much much more. 2016-08-05T17:02:06Z Petit_Dejeuner quit (Remote host closed the connection) 2016-08-05T17:02:08Z b3atr: I don't use Emacs. 2016-08-05T17:02:48Z phoe: b3atr: welp. SLIME is a really good reason for learning its basics. 2016-08-05T17:02:48Z dwchandler: rlwrap is nice, then 2016-08-05T17:03:15Z phoe: dwchandler: oh! I didn't know that. 2016-08-05T17:03:42Z dwchandler: for straight REPL it helps :) 2016-08-05T17:05:00Z eivarv joined #lisp 2016-08-05T17:05:23Z dwchandler: I'm using linedit, though. that's even better, imo 2016-08-05T17:05:25Z b3atr: clisp supports auto-completion and clear window :? 2016-08-05T17:05:32Z araujo joined #lisp 2016-08-05T17:05:33Z araujo quit (Changing host) 2016-08-05T17:05:33Z araujo joined #lisp 2016-08-05T17:06:03Z phoe: b3atr: CLISP uses readline for its REPL. 2016-08-05T17:06:06Z araujo quit (Max SendQ exceeded) 2016-08-05T17:06:28Z devon joined #lisp 2016-08-05T17:06:37Z angavrilov joined #lisp 2016-08-05T17:06:55Z araujo joined #lisp 2016-08-05T17:08:03Z Harag quit (Quit: Harag) 2016-08-05T17:08:50Z dwchandler: which is a part of CLISP's history, actually 2016-08-05T17:09:02Z dwchandler: resulted in a conversation with rms and a license change 2016-08-05T17:10:31Z devon: Is there a portable way to call the posix `read' function? 2016-08-05T17:11:38Z jackdaniel: devon: no, CL standard doesn't mention posix whatsoever 2016-08-05T17:12:18Z phoe: devon: a "fairly" portable way could be using CFFI methinks. 2016-08-05T17:12:32Z phoe: Definitely non-standard but portable enough I guess. 2016-08-05T17:13:12Z warweasle: dwchandler: cl-async might do what you need https://github.com/orthecreedence/cl-async 2016-08-05T17:13:50Z prole joined #lisp 2016-08-05T17:13:53Z warweasle: dwchandler: Nevermind the link, it's in quicklisp. 2016-08-05T17:14:39Z dwchandler: warweasle: hmm? 2016-08-05T17:15:12Z mishoo quit (Ping timeout: 258 seconds) 2016-08-05T17:18:49Z warweasle: dwchandler: I can't seem to get it to build. 2016-08-05T17:19:21Z PuercoPop: devon: you may want to look at iolib 2016-08-05T17:19:23Z Bike joined #lisp 2016-08-05T17:19:49Z dwchandler: warweasle: are you sure you're talking to who you mean to be talking to? this seems out of the blue to me 2016-08-05T17:20:25Z warweasle: devon: Sorry, I've been talking to dwchandler instead. 2016-08-05T17:20:30Z mordocai: b3atr: linedit package on quicklisp adds some basic stuff to the SBCL repl. Make sure it is installed then add https://www.refheap.com/121932 to your .sbclrc 2016-08-05T17:20:52Z mordocai: It still isn't great though. There are definitely people out there that use emacs + SLIME for repl and edit in a different editor 2016-08-05T17:22:48Z Grue``: sounds painful 2016-08-05T17:23:18Z mvilleneuve quit (Ping timeout: 276 seconds) 2016-08-05T17:23:25Z gargaml quit (Quit: WeeChat 1.5) 2016-08-05T17:23:41Z mordocai: Grue``: Sure is! But less painful than using sbcl's default repl if you are a really against emacs 2016-08-05T17:25:24Z warweasle: mordocai: Eventually I want a gui for clinch which has a repl interface... 2016-08-05T17:25:34Z phoe: warweasle: +1 2016-08-05T17:25:37Z phoe: pretty please 2016-08-05T17:26:29Z warweasle: phoe: And it would just be a texture...so project it on a cube. Or cow or something. I really want a shader which will make text look chiseled into stone. Or like frosted glass. 2016-08-05T17:27:20Z warweasle: Hmmm. That shouldn't be too hard... 2016-08-05T17:27:54Z PuercoPop: warweasle: one way to do it would be to render a terminal to a texture 2016-08-05T17:28:05Z phoe: Programming in chiseled stone. 2016-08-05T17:28:09Z phoe: By chiseling stone. 2016-08-05T17:28:10Z Grue``: I have to use sbcl default repl sometimes, like when setting it up on remote server 2016-08-05T17:28:24Z PuercoPop: and then just run emacs inside ^_^ 2016-08-05T17:28:38Z phoe: https://atom.io/packages/activate-power-mode 2016-08-05T17:28:44Z phoe: this comes to mind 2016-08-05T17:28:55Z Grue``: so if there are ways to make sbcl repl nicer, I'd probably use them 2016-08-05T17:29:13Z mordocai: Grue``: yeah, pretty much only thing I know of is that linedit I told b3atr about 2016-08-05T17:31:10Z vsync joined #lisp 2016-08-05T17:31:17Z vsync quit (Remote host closed the connection) 2016-08-05T17:31:21Z HammyJammy quit (Read error: Connection reset by peer) 2016-08-05T17:32:02Z PuercoPop: linedit: +1 Atlhough there are some bugs waiting to be merged 2016-08-05T17:32:22Z sellout- joined #lisp 2016-08-05T17:32:27Z phoe: it's the first time I hear of merging bugs with existing software 2016-08-05T17:33:26Z warweasle: PuercoPop: It's easier to spawn a thread and call evertyhing directly from my instance of lisp. Clinch is set up for native multithreading. 2016-08-05T17:34:01Z phoe: warweasle: write an Emacs backend that renders to clinch instead of GTK or lucid! 2016-08-05T17:34:11Z phoe: Then you can write a FPS cooperative coding game. 2016-08-05T17:34:32Z phoe: First Person SLIME. 2016-08-05T17:34:32Z mvilleneuve joined #lisp 2016-08-05T17:35:11Z SamSkulls joined #lisp 2016-08-05T17:35:50Z warweasle: phoe: Actually, clinch has a better API for creating rich text, graphics and stuff. The idea is emacs is difficult to find the function/variable you need to do something. This is just modifying a string. 2016-08-05T17:35:57Z mastokley quit (Ping timeout: 258 seconds) 2016-08-05T17:36:23Z PuercoPop: Plus the display code is a mess 2016-08-05T17:36:36Z warweasle: phoe: Well, 3Dmacs is the general version. It is a productivity tool. YOu could code in it. Or make a spreadsheet. Or put a spreadsheet in a game object... 2016-08-05T17:36:50Z phoe: warweasle: :o 2016-08-05T17:36:59Z phoe: Now I want to try running the demos again. 2016-08-05T17:37:03Z phoe joins #lispgames 2016-08-05T17:37:26Z warweasle: PuercoPop: Right. This would just be a series of text buffers. Say one for raw text. One for the markup info (rich text). Another could hole a layer of vector graphics. Another could hold the code to display it. 2016-08-05T17:37:51Z warweasle: phoe: Not all have been ported to the latest clinch. Also, please use the version from github. 2016-08-05T17:38:54Z PuercoPop: warweasle: Different buffers for different context types or mixing them like Deuce? 2016-08-05T17:40:03Z PuercoPop: s/context/content 2016-08-05T17:40:54Z warweasle: PuercoPop: All the data is held as lisp s-exps. You can apply the markup buffer to the text to render it as rich text. Or you can just render the text. 2016-08-05T17:41:30Z warweasle: PuercoPop: So when you modify the text buffer, for instance, you just use lisp string commands. 2016-08-05T17:41:45Z warweasle: PuercoPop: The same thing for the markup buffer. 2016-08-05T17:42:33Z warweasle: PuercoPop: Or any type of data. That's the idea. So one simple interface to manipulate all data. Including the code, like javascript in a browser. 2016-08-05T17:43:35Z warweasle: PuercoPop: Right now I can create a markup buffer to augment a text buffer. 2016-08-05T17:45:02Z warweasle: PuercoPop: So the Text could be ("Hello world") and the markup would be (((font-size 45 0 5) (color :red 0 5) (Color :blue 5))) 2016-08-05T17:46:04Z warweasle: PuercoPop: Explaination of markup bufer: There is a list of lists to match the list of strings (paragraphs). Then each attribute has arguements and an option start and end value. 2016-08-05T17:46:36Z warweasle: PuercoPop: Modify the s-exp and the update, then your text would change colors or font, etc. 2016-08-05T17:46:37Z warweasle: and then update 2016-08-05T17:52:13Z eivarv quit (Quit: Sleep) 2016-08-05T17:53:15Z PuercoPop: warweasle: I imagine then that a image would be (:image "/path/to/png/") 2016-08-05T17:56:21Z warweasle: PuercoPop: Raw data buffer right now. 2016-08-05T17:57:14Z warweasle: PuercoPop: You can pullg and pushg image data right now. 2016-08-05T17:58:00Z warweasle: PuercoPop: And you can load/save it to files. The basic idea is still that you can edit it like a normal lisp object. 2016-08-05T17:58:05Z k-stz joined #lisp 2016-08-05T17:59:19Z k-stz left #lisp 2016-08-05T18:02:16Z wccoder quit (Remote host closed the connection) 2016-08-05T18:02:34Z narendraj9 joined #lisp 2016-08-05T18:04:41Z wccoder joined #lisp 2016-08-05T18:07:59Z defaultxr joined #lisp 2016-08-05T18:10:18Z saturniid_ joined #lisp 2016-08-05T18:12:53Z Grue`` quit (Remote host closed the connection) 2016-08-05T18:13:19Z SamSkulls quit (Remote host closed the connection) 2016-08-05T18:13:34Z SamSkulls joined #lisp 2016-08-05T18:14:30Z ramky quit (Ping timeout: 265 seconds) 2016-08-05T18:16:03Z gravicappa quit (Ping timeout: 240 seconds) 2016-08-05T18:18:44Z lnostdal quit (Quit: lnostdal) 2016-08-05T18:29:05Z ramky joined #lisp 2016-08-05T18:32:09Z despoil joined #lisp 2016-08-05T18:34:12Z programisto quit (Ping timeout: 240 seconds) 2016-08-05T18:35:52Z phoe quit (Ping timeout: 240 seconds) 2016-08-05T18:44:54Z eivarv joined #lisp 2016-08-05T18:44:55Z programisto joined #lisp 2016-08-05T18:48:48Z ASau joined #lisp 2016-08-05T18:49:19Z IPmonger joined #lisp 2016-08-05T18:52:08Z mastokley joined #lisp 2016-08-05T18:52:54Z warweasle quit (Quit: bye) 2016-08-05T18:53:32Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T18:58:26Z IPmonger joined #lisp 2016-08-05T19:02:16Z phoe joined #lisp 2016-08-05T19:02:55Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T19:03:34Z IPmonger joined #lisp 2016-08-05T19:07:50Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T19:09:45Z algae joined #lisp 2016-08-05T19:12:12Z IPmonger joined #lisp 2016-08-05T19:13:49Z pmc joined #lisp 2016-08-05T19:13:56Z wccoder quit (Remote host closed the connection) 2016-08-05T19:17:03Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T19:17:18Z IPmonger joined #lisp 2016-08-05T19:17:31Z holycow joined #lisp 2016-08-05T19:21:26Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T19:22:46Z mvilleneuve quit (Quit: This computer has gone to sleep) 2016-08-05T19:24:33Z jfrancis quit (Ping timeout: 240 seconds) 2016-08-05T19:25:38Z vlatkoB quit (Remote host closed the connection) 2016-08-05T19:25:54Z mishoo joined #lisp 2016-08-05T19:26:01Z IPmonger joined #lisp 2016-08-05T19:30:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T19:31:10Z IPmonger joined #lisp 2016-08-05T19:34:48Z mvilleneuve joined #lisp 2016-08-05T19:35:22Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T19:37:44Z prxq joined #lisp 2016-08-05T19:39:47Z IPmonger joined #lisp 2016-08-05T19:40:28Z lemoinem quit (Ping timeout: 252 seconds) 2016-08-05T19:44:06Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T19:46:03Z lemoinem joined #lisp 2016-08-05T19:49:01Z IPmonger joined #lisp 2016-08-05T19:52:27Z xrash joined #lisp 2016-08-05T19:53:31Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T19:54:10Z IPmonger joined #lisp 2016-08-05T19:58:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T20:02:47Z freehck quit (Ping timeout: 260 seconds) 2016-08-05T20:02:48Z IPmonger joined #lisp 2016-08-05T20:04:18Z wccoder joined #lisp 2016-08-05T20:07:04Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T20:10:05Z pmc quit (Quit: Leaving) 2016-08-05T20:10:47Z wildlander quit (Quit: Saliendo) 2016-08-05T20:11:57Z wildlander joined #lisp 2016-08-05T20:11:59Z IPmonger joined #lisp 2016-08-05T20:14:28Z gingerale quit (Remote host closed the connection) 2016-08-05T20:14:34Z mishoo quit (Ping timeout: 252 seconds) 2016-08-05T20:16:11Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T20:17:08Z IPmonger joined #lisp 2016-08-05T20:19:52Z sellout- quit (Ping timeout: 240 seconds) 2016-08-05T20:21:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T20:22:01Z holycow quit (Quit: Lost terminal) 2016-08-05T20:22:33Z rumbler31 quit (Remote host closed the connection) 2016-08-05T20:25:51Z IPmonger joined #lisp 2016-08-05T20:27:32Z narendraj9 quit (Ping timeout: 240 seconds) 2016-08-05T20:30:22Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T20:34:39Z ctindall joined #lisp 2016-08-05T20:35:01Z IPmonger joined #lisp 2016-08-05T20:35:29Z ctindall quit (Client Quit) 2016-08-05T20:38:03Z ramky quit (Ping timeout: 240 seconds) 2016-08-05T20:38:52Z lisp644 quit (Quit: Page closed) 2016-08-05T20:39:03Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T20:40:30Z hetman` joined #lisp 2016-08-05T20:42:01Z wtetzner joined #lisp 2016-08-05T20:44:11Z IPmonger joined #lisp 2016-08-05T20:45:52Z m00natic joined #lisp 2016-08-05T20:48:45Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T20:49:19Z IPmonger joined #lisp 2016-08-05T20:50:07Z jerme quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-08-05T20:50:50Z jsmith_ joined #lisp 2016-08-05T20:54:33Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T20:56:25Z b3atr quit (Ping timeout: 265 seconds) 2016-08-05T20:57:55Z wccoder quit (Remote host closed the connection) 2016-08-05T20:58:00Z IPmonger joined #lisp 2016-08-05T21:02:06Z saturniid quit (Quit: Ex-Chat) 2016-08-05T21:02:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T21:02:18Z saturniid_ quit (Quit: Ex-Chat) 2016-08-05T21:02:33Z saturniid joined #lisp 2016-08-05T21:03:05Z IPmonger joined #lisp 2016-08-05T21:06:05Z DougNYC joined #lisp 2016-08-05T21:07:03Z b3atr joined #lisp 2016-08-05T21:07:11Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T21:11:51Z IPmonger joined #lisp 2016-08-05T21:15:37Z devon quit (Ping timeout: 252 seconds) 2016-08-05T21:16:36Z mathi_aihtam joined #lisp 2016-08-05T21:16:39Z b3atr: how to parse something like this? http://vpaste.net/UEjG7 2016-08-05T21:16:59Z eSVG quit (Ping timeout: 250 seconds) 2016-08-05T21:17:01Z b3atr: I mean the robust way. 2016-08-05T21:17:23Z Bike: for that you would need a defined format, and not just a sample. what is that output from? 2016-08-05T21:17:38Z b3atr: df -h -x tmpfs -x devtmpfs --output=target,avail 2016-08-05T21:18:21Z b3atr: I want a hashmap if it's possible in lisp or a list of tuples. 2016-08-05T21:18:40Z Karl_Dscc joined #lisp 2016-08-05T21:18:47Z b3atr: ('/', '35G'), ('/boot', '282M') 2016-08-05T21:18:53Z b3atr: for example; ^ 2016-08-05T21:19:01Z Bike: assuming it's tab separated like it looks like you could just use a regex. 2016-08-05T21:19:19Z Bike: or split-sequence, i guess. 2016-08-05T21:20:02Z b3atr: Bike: would give me a funciton name, or a reference? 2016-08-05T21:20:15Z b3atr: s/funcition/function/ 2016-08-05T21:20:24Z jfrancis joined #lisp 2016-08-05T21:20:40Z Bike: http://www.cliki.net/split-sequence you can (ql:quickload :split-sequence) 2016-08-05T21:20:50Z Bike: i suppose you could also do it yourself using FIND and SUBSEQ 2016-08-05T21:20:51Z Karl_Dscc quit (Remote host closed the connection) 2016-08-05T21:23:18Z ggole quit 2016-08-05T21:25:01Z Bike: they're actually spaces, so: (defun split (line) (values (subseq string 0 (position #\Space string)) (subseq string (1+ (position #\Space string :from-end t)))))) 2016-08-05T21:25:15Z Bike: (split "/boot 282M") => "/boot", "282M" 2016-08-05T21:25:20Z Grue`: I think it's perfect usecase for regex 2016-08-05T21:25:44Z jasom: (split-sequence #\Space input :remove-empty-subseqs t) 2016-08-05T21:25:45Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T21:26:00Z Grue`: (however I use regexes for everything) 2016-08-05T21:26:30Z scottj joined #lisp 2016-08-05T21:27:19Z bocaneri quit (Remote host closed the connection) 2016-08-05T21:28:52Z jasom: http://paste.lisp.org/display/322290 2016-08-05T21:29:33Z jasom: (format nil "~{~A~^ ~}" X) is such a common pattern that I have a utility function for it though 2016-08-05T21:30:11Z IPmonger joined #lisp 2016-08-05T21:31:58Z jasom: It would be more efficient to either just use subseq to get all but the top line or to loop over the list of lines returned by the first split-sequence 2016-08-05T21:32:14Z jasom: but those would be slightly longer code 2016-08-05T21:32:32Z Grue`: btw your solution will break if any of the paths have spaces in their name 2016-08-05T21:32:35Z mvilleneuve quit (Quit: This computer has gone to sleep) 2016-08-05T21:33:15Z jasom: Grue`: true 2016-08-05T21:33:22Z jasom: the inport format is ill defined though 2016-08-05T21:33:34Z jasom: s/inport/input 2016-08-05T21:33:52Z Bike: "The format of the default output from df is unspecified" oh, cool (posix) 2016-08-05T21:33:55Z Karl_Dscc joined #lisp 2016-08-05T21:34:16Z jasom: Bike: du -P 2016-08-05T21:34:18Z Bike: i don't think this actually mentions spaces or tabs or nuthin 2016-08-05T21:34:31Z jasom: s/du/df 2016-08-05T21:34:33Z b3atr: Bike: what on earth :O 2016-08-05T21:34:44Z strelox quit (Ping timeout: 250 seconds) 2016-08-05T21:34:46Z Grue`: "default output", however the command is used with "--output=target,avail" which sounds pretty specified 2016-08-05T21:34:47Z Bike: b3atr: that quote isn't actually relevent, since your --output sets the format 2016-08-05T21:34:52Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-05T21:35:10Z b3atr: Bike: what do you mean? 2016-08-05T21:35:18Z jasom: oh, I missed that this is from a specific df invocation 2016-08-05T21:35:21Z IPmonger joined #lisp 2016-08-05T21:35:31Z jasom: don't use -h if you're going to machine parse it, btw. just making it harder on yourself 2016-08-05T21:35:32Z Bike: the quote says the default output format is unspecified, but you are specifying an output format. 2016-08-05T21:36:00Z Bike: this is closer than i thought. it actually gives a printf format string for the output lines 2016-08-05T21:36:10Z Bike: "The name of the file system, in an implementation-defined format." though 2016-08-05T21:36:21Z b3atr: yeah 2016-08-05T21:36:30Z jasom: what if you have a file system named "foo " 2016-08-05T21:36:37Z jasom: no way to parse that unambiguously 2016-08-05T21:37:30Z b3atr: recently I read a article/blog-post about command-line programs output is like a API. 2016-08-05T21:37:44Z Bike: in theory, mabe 2016-08-05T21:37:50Z b3atr: write a program that other people can rely on it. 2016-08-05T21:38:38Z jasom: /mnt/foo 0 <-- actual infocation of command with "/mnt/foo " as the mountpoint 2016-08-05T21:38:59Z jasom: with gnu df 2016-08-05T21:39:20Z eSVG joined #lisp 2016-08-05T21:39:46Z Bike: unix is based on the idea of text being a universal format, which works okay, sometimes, if you're using ascii and try not to acknowledge xargs exists 2016-08-05T21:39:59Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-05T21:40:01Z jasom: -P is actually better since absolute paths *can't* begin with a space, and a newline is printed immediately after the mountpoint soo "/mnt/foo" would end in "/mnt/foo\n" but "/mnt/foo " would be "/mnt/foo \n" 2016-08-05T21:40:24Z jasom: Bike: forbidding newlines in pathnames would be sufficient to solve 90% of the problems with filenames 2016-08-05T21:40:24Z b3atr: df -P | column -t 2016-08-05T21:40:41Z b3atr: jasom: exactly. 2016-08-05T21:40:54Z jasom: for df you would need to forbid spaces as well 2016-08-05T21:41:02Z jasom: (and other tabular output formats that use spaces) 2016-08-05T21:41:35Z jasom: b3atr: that breaks "/mnt/foo bar" as a mount point 2016-08-05T21:41:41Z jasom: /dev/loop1 626346 626346 0 100% /mnt/foo bar 2016-08-05T21:42:43Z b3atr: df | awk 'NF == 1 {printf($1); next}; {print}' 2016-08-05T21:42:59Z jasom: if you don't have both filesystem and target in you output format it is unambiguous as those are the only two that might contain spaces I think. 2016-08-05T21:43:08Z wowwow joined #lisp 2016-08-05T21:44:01Z IPmonger joined #lisp 2016-08-05T21:44:14Z jasom: df --output=target,avail|awk '{print $NF}' 2016-08-05T21:44:20Z jasom: that wil print just the avail field 2016-08-05T21:44:54Z jasom: df --output=target,avail|awk '{print $NF; $NF=""; print $0}' # will print the avail then the target on subsequent lines 2016-08-05T21:45:22Z b3atr: which is better to be parsed? 2016-08-05T21:45:53Z jasom: b3atr: more just an example that the format is unambiguos 2016-08-05T21:45:59Z wowwow: why the development in Lisp is faster than in other language? (I often listen such assertments.) 2016-08-05T21:46:09Z jasom: wowwow: mainly just better devtools 2016-08-05T21:46:25Z b3atr: wowwow: great programmers :D 2016-08-05T21:46:59Z hetman`: anybody familiar enough with mito able to explain how to use to select-dao macro for something other than pulling all rows in the db? Looking at the examples, I can't figure out what I'm doing wrong: http://paste.debian.net/787136 2016-08-05T21:47:08Z wowwow: jasom: I'm curious, what can be better than Visual Studio or Intellij Idea?! 2016-08-05T21:47:19Z jasom: wowwow: Lisp had other advantages historically, but other than the really good devtools and first class metaprogramming, modern languages have adopted most of them 2016-08-05T21:47:21Z b3atr: wowwow: who can figure out what/how to do something. 2016-08-05T21:47:32Z sjl: is someone going down the "parsing filenames" rabbit hole? if so http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html might help 2016-08-05T21:47:49Z jasom: wowwow: I can recompile a function without halting the program and then inspect the disassembly (annotated with instruction level profiling information should I desire) 2016-08-05T21:48:36Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T21:49:07Z IPmonger joined #lisp 2016-08-05T21:49:20Z jasom: wowwow: Java, and especially C++ suffer from a much longer build/compile/run cycle, so it's really unfair to try to compare them with a dynamic language. For some reason, other than smalltalk and lisp, most dynamic languages have not adopted native compilation nor really first class IDEs. 2016-08-05T21:49:45Z wowwow: jasom: it is cool that you can disassemble. But I'm really curious about the development speed. Is the development cycle in Lisp faster that in Python? And if yes, could you tell me please, why? 2016-08-05T21:49:57Z b3atr: jasom: who cares about these things? dummies think IDEs are the solution to fast development. 2016-08-05T21:50:20Z jasom: b3atr: anything that lest you develop, test and iterate faster is a huge advantage 2016-08-05T21:50:25Z wowwow: b3atr: you opinion about fast development, please 2016-08-05T21:50:44Z jasom: The shorter your OODA loop the faster you respond to problems. Good dev tools shorten your OODA loop 2016-08-05T21:50:59Z vsync joined #lisp 2016-08-05T21:51:14Z prxq: b3atr: a good IDE certainly helps 2016-08-05T21:51:20Z b3atr: jasom: fast development is having unix-like tools that can be composed and run as fast as you work. 2016-08-05T21:51:40Z jasom: debugging helps you with the OO part, development experience helps with the D part, and a short compile/run loop helps with the A part 2016-08-05T21:52:16Z jasom: if you integrate the debugger and the builder, then that reduces the time going from OO to A, which makes getting the D right the first time less important, which sortens the loop 2016-08-05T21:52:40Z b3atr: prxq: I've worked in a big company with a great project in python and I only used (Pyhton, Vim) and the mother of nature a Unix-like OS. 2016-08-05T21:52:43Z jasom: b3atr: composable *nix like tools make the A part fast 2016-08-05T21:53:15Z b3atr: b3atr: development was fast as hell :D 2016-08-05T21:53:26Z prxq: b3atr: well, take netbeans for a good ride one of these days. it gives some perspective, I'd say. 2016-08-05T21:53:28Z jasom: Python has the A part very short; OO can be shortened with good tests and good debuggers. Python tends towards using the former and avoiding the latter like the plague 2016-08-05T21:54:06Z LiamH quit (Quit: Leaving.) 2016-08-05T21:54:13Z wowwow: so, the only reason to use Lisp instead of Python is a runtime speed? 2016-08-05T21:54:47Z jasom: wowwow: the metaprogramming is the other thing. That helps make the code clear, which is more of a long time investment which is harder to quantify. 2016-08-05T21:54:55Z b3atr: prxq: I'd rather have a 00.2s editor which I can customize the capability instead of a huge tool that starts needs a lot of memory and does many things that I don't use. 2016-08-05T21:55:22Z jasom: b3atr: don't use vim; it takes way more than 200ms to start up if you have even syntax highlighting enabled 2016-08-05T21:55:48Z prxq: b3atr: idk, it sure is nice to have fix-my-stupid-code bound to M-Enter :-) 2016-08-05T21:55:59Z wowwow: hm 2016-08-05T21:56:32Z jasom: wowwow: e.g. in python 2.4 if you didn't have "with" you couldn't do anything about it. In lisp you just write it. 2016-08-05T21:56:34Z b3atr: b3atr: yeah, it lacks in loading color-schemes (stupid vimscript) :D 2016-08-05T21:56:53Z prxq: and hitting C-R, and renaming a variable across a bunch of files is a feature I'm planning to pester the slime guys about :-) 2016-08-05T21:56:54Z wowwow: jasom: but liberal use of macros can lead to hard debugging? 2016-08-05T21:57:00Z jasom: wowwow: yes and no 2016-08-05T21:57:22Z b3atr: prxq: we have the same thing :D 2016-08-05T21:57:48Z IPmonger quit (Ping timeout: 265 seconds) 2016-08-05T21:57:48Z jasom: wowwow: macros are harder to debug than functions. Therefore writing complicated macros should be done with care. There are times that it is worth it though. 2016-08-05T21:57:49Z b3atr: prxq: s/foo/bar/g through buffers 2016-08-05T21:58:17Z IPmonger joined #lisp 2016-08-05T21:58:24Z b3atr: prxq: or a loop through all files in the directory and do s/foo/bar/g, map to a key 90s :D 2016-08-05T21:58:47Z jasom: wowwow: and again tools help. There are a lot of tools for inspecting code using macros that make it easier to reason about, and when your macro is functioning correctly, it makes the intent of the code more clear, which improves readability, which makes the code easier to reason about. 2016-08-05T21:58:50Z Grue`: hetman`: are you sure := actually does anything in mito? the example in the docs is (select-dao 'tweet (where (:like :status "%Japan%"))) so at least the syntax is correct 2016-08-05T21:59:37Z b3atr: prxq: I tried Visual Studio, Netbeans, Intelli J (if spell correctly), etc. slow work-flow. 2016-08-05T22:00:27Z dyelar quit (Quit: Leaving.) 2016-08-05T22:00:29Z b3atr: prxq: btw, using tools is a personal thing IMO. 2016-08-05T22:00:34Z jasom: b3atr: the problem there is that you are using C++ or Java. A really good IDE can make it better, but you are limited by compile/run speed regardless. 2016-08-05T22:00:49Z pierpa joined #lisp 2016-08-05T22:01:02Z jasom: And bad tools make things worse. I think that Eclipse might actually be better than punch cards now. 2016-08-05T22:01:46Z b3atr: prxq: yeah, C++ and Java (but still possible, Makefile and etc) 2016-08-05T22:01:54Z jasom: Speaking of which, I hope we can all agree that entering your program on punch cards, handing them over to the computer operator and getting the results of the run the next day is inferior to any modern development environment? 2016-08-05T22:01:55Z Grue`: I find debugging macros easier than debugging functions. because to debug macro, you just need to check if it's expanded correctly for each time it appears in your code (finite number of times). but a function can be called in unlimited number of ways 2016-08-05T22:02:00Z wowwow: who is the Clisp maintainer now? 2016-08-05T22:02:15Z dwchandler: For C and stuff I still use vim. Slowly emacs is gaining ground for me, though 2016-08-05T22:02:32Z jasom: Grue`: that's true, but when you have a bug and you don't know it's from a macroexpansion, that's what I'm talking about 2016-08-05T22:02:37Z vsync: the ASCII menorah! 2016-08-05T22:02:45Z jean377 quit (Read error: Connection reset by peer) 2016-08-05T22:02:54Z b3atr: it depends on you if you work with speedy tools you can't make it with IDEs IMO. 2016-08-05T22:02:55Z jasom: I use vim for everything except lisp as well 2016-08-05T22:02:56Z prxq: jasom: depends on what you do between handing the cards and getting the results... 2016-08-05T22:02:57Z hetman`: Grue`: other projects on github are using := (https://github.com/search?p=2&q=select-dao&type=Code&utf8=%E2%9C%93), but also :like isn't working either: http://paste.debian.net/787137 2016-08-05T22:03:31Z jasom: wowwow: I think it's currently unmaintained (I know it was 6 months ago). 2016-08-05T22:04:00Z wowwow: is it possible to fork it for private maintaining? 2016-08-05T22:04:07Z b3atr: jasom: btw, what do you suggest about df output? is there any module/library (I don't know what you guy say in Lisp community.) to get the disk usage on file system? 2016-08-05T22:04:12Z dwchandler: for all that people gripe about elisp, elisp is so much better than VimL/VimScript 2016-08-05T22:04:13Z jasom: wowwow: It's open source; you can always do that. 2016-08-05T22:04:18Z dwchandler hates VimL 2016-08-05T22:04:28Z jasom: b3atr: let me check 2016-08-05T22:04:41Z Bike: "library" 2016-08-05T22:04:49Z Grue`: hetman`: well it says it's alpha quality ;) I only used postmodern and fukamachi's datafly 2016-08-05T22:04:52Z b3atr: dwchandler: hell yeah :D 2016-08-05T22:04:53Z jasom: dwchandler: my complaints about emacs was always how much I didn't like the editing experience 2016-08-05T22:04:59Z jasom: dwchandler: evil-mode has fixed that. 2016-08-05T22:05:29Z jasom: b3atr: sb-posix might have fsstat 2016-08-05T22:06:07Z b3atr: recently I liked lighttable and probably I'm going to write a good terminal emulator for it and a vim plugin. 2016-08-05T22:06:08Z Aethiles quit (Quit: No Ping reply in 180 seconds.) 2016-08-05T22:06:15Z pierpa: wowwow: why fork? if you have the expertise and the time, apply to be the maintainer of the main repo 2016-08-05T22:06:27Z Aethiles joined #lisp 2016-08-05T22:07:18Z jasom: sorry statvfs is what I was thinking of, and it doesn't appear that sb-posix has it 2016-08-05T22:07:57Z wowwow: pierpa: I have not expertise 2016-08-05T22:08:08Z Grue`: hetman`: also other projects on github are probably using postmodern's select-dao which has different syntax 2016-08-05T22:08:10Z pierpa: that would be a problem :/ 2016-08-05T22:08:32Z jasom: b3atr: you could do worse than parsing --output=avail,target 2016-08-05T22:08:43Z jasom: b3atr: that is unambiguous and easy to parse left-to-right 2016-08-05T22:09:27Z wowwow: heh, Emacs Lisp is faster than Clisp :) 2016-08-05T22:09:34Z b3atr: jasom: https://stackoverflow.com/a/28357017 2016-08-05T22:09:48Z adolf_stalin quit (Quit: Leaving...) 2016-08-05T22:09:49Z mejja joined #lisp 2016-08-05T22:10:09Z jasom: b3atr: oh, nice 2016-08-05T22:10:21Z jasom: not in quicklisp though 2016-08-05T22:10:22Z b3atr: jasom: what a great :D 2016-08-05T22:10:38Z jasom: b3atr: sbcl only I think 2016-08-05T22:10:41Z dwchandler: jasom: I used evil at first but turned it off because I kept getting into corners where it didn't work and then I was lost because I didn't know emacs keys 2016-08-05T22:10:41Z dwchandler: but I'm well past that now, so I should turn it back on 2016-08-05T22:10:41Z prxq: I wish there was a reasonable lisp plugin for netbeans or eclipse. 2016-08-05T22:10:41Z prxq has been using emacs for over a decade 2016-08-05T22:10:41Z SumoSudo quit (Ping timeout: 244 seconds) 2016-08-05T22:11:10Z jasom: dwchandler: I learned C-g I just hammer on that if I get stuck 2016-08-05T22:11:32Z jasom: prxq: maybe I should have started with that instead of geany 2016-08-05T22:11:43Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-05T22:11:58Z hetman`: Grue`: any recommandations for a more ORM-y database library? datafly and postmodern are kind of just thin layers on top of SQL. 2016-08-05T22:12:14Z prxq: jasom: for lisp, you mean? 2016-08-05T22:12:35Z jasom: prxq: yeah 2016-08-05T22:12:44Z jasom: prxq: I showed you my geany plugin, right? 2016-08-05T22:13:05Z jasom: hetman`: Crane and Integral are the ones I've heard positive things about; I don't really like ORM-y stuff 2016-08-05T22:13:45Z Grue`: hetman`: postmodern's DAO is pretty much similar to mito 2016-08-05T22:13:46Z prxq: jasom: i don't remember that. I have a jittery connection, so i might have lost some lines 2016-08-05T22:14:05Z jasom: prxq: it was a few weeks ago; I was travelling for a month so haven't had time to improve it 2016-08-05T22:14:16Z prxq: jasom: I see 2016-08-05T22:14:36Z aries_liuxueyang quit (Quit: No Ping reply in 180 seconds.) 2016-08-05T22:15:04Z jasom: http://i.imgur.com/yI8OjdV.png <-- one screenshot of context-sensitive completion 2016-08-05T22:15:08Z eSVG quit (Read error: Connection reset by peer) 2016-08-05T22:15:09Z yeticry quit (Ping timeout: 276 seconds) 2016-08-05T22:15:40Z jasom: http://i.imgur.com/VKOHGJm.png <-- M-. like support 2016-08-05T22:15:50Z yeticry joined #lisp 2016-08-05T22:15:55Z aries_liuxueyang joined #lisp 2016-08-05T22:16:09Z jasom: http://i.imgur.com/o5LMFUt.png <-- compilation with warning/error highlighting 2016-08-05T22:16:11Z IPmonger joined #lisp 2016-08-05T22:16:24Z prxq: jasom: now I understand what you said - that maybe you should have started with netbeans or eclipse for that kind of effort. 2016-08-05T22:16:32Z hetman`: oh awesome, I didn't know that postmodern had a dao-y interface as well 2016-08-05T22:16:37Z jasom: prxq: right 2016-08-05T22:17:19Z tfm quit (Ping timeout: 260 seconds) 2016-08-05T22:17:34Z jasom: prxq: most of the code is independent of geany itself (I pipe to a lisp process to do most of the heavy lifting) 2016-08-05T22:18:53Z tfm joined #lisp 2016-08-05T22:19:15Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-05T22:19:22Z prxq: jasom: that's pretty cool. 2016-08-05T22:19:45Z jean377 joined #lisp 2016-08-05T22:19:50Z prxq: the biggest java envy I have at the moment is the damn debugger. boy is it good. 2016-08-05T22:20:23Z jasom: 834 lines of ANSI C 2016-08-05T22:20:51Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-05T22:20:53Z jasom: my intent was never to replace SLIME, but rather to have a more familiar interfiace with the ~ top 10 features of SLIME to ease people who don't want to learn lisp and emacs at the same time 2016-08-05T22:21:36Z jasom: I first wanted to just do indenting; as far as code oriented editors in my distros' repository only emacs and vim have an acceptible lisp indentation mode 2016-08-05T22:23:10Z prxq: jasom: indeed, and that is pretty crucial 2016-08-05T22:23:12Z algae quit (Ping timeout: 240 seconds) 2016-08-05T22:23:48Z hetman`: lisp without paredit is very painful 2016-08-05T22:24:11Z prxq: hetman`: I've never used paredit :-) 2016-08-05T22:24:44Z jasom: I compromised between paredit and not paredit with ... I forget the name, let me check 2016-08-05T22:25:24Z IPmonger joined #lisp 2016-08-05T22:25:55Z jasom: adjust parens 2016-08-05T22:26:00Z safe joined #lisp 2016-08-05T22:26:34Z prxq quit (Quit: good night) 2016-08-05T22:26:40Z hetman`: prxq: masochist 2016-08-05T22:26:49Z jasom: several of the vim structural normal-mode commands overlap in scope with paredit, and that's where my muscle memory is; 2016-08-05T22:27:22Z jasom: I have << and >> bound to simple wrapers of lisp-dedent-adjust-parens and lisp-indent-adjust-parens 2016-08-05T22:27:40Z jasom: and that gives me line-level slurp and barf (or whatever paredit calls it) 2016-08-05T22:29:37Z prole: Hie! I want to change the salt of the random function, how do I do that? I don't know what *random-state* is for... 2016-08-05T22:30:03Z jasom: prole: do you want to seed it with a specific value, or just have it be something different from the default? 2016-08-05T22:30:06Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T22:30:07Z Fare joined #lisp 2016-08-05T22:30:35Z prole: jasom: I just wants to put the time in it, nothing fancy 2016-08-05T22:30:52Z jasom: prole: (make-random-state t) 2016-08-05T22:31:03Z prole: All right, thanks a lot. 2016-08-05T22:31:04Z jasom: (setf *random-state* (make-random-state t)) 2016-08-05T22:31:25Z prole: jasom: thanks 2016-08-05T22:31:30Z jasom: prole: it doesn't have to use the time, it just has to be "randomly initialized by some means" some implementations use /dev/urandom others use the time 2016-08-05T22:31:50Z jasom: prole: but in general it's good enough for any uses where you don't want to roll your own PRNG 2016-08-05T22:32:12Z prole: all right, thanks for the explanation :) 2016-08-05T22:33:00Z jasom: prole: no problem :) 2016-08-05T22:33:25Z jdz quit (Ping timeout: 258 seconds) 2016-08-05T22:34:04Z wowwow: thanks all 2016-08-05T22:34:08Z wowwow left #lisp 2016-08-05T22:34:38Z IPmonger joined #lisp 2016-08-05T22:39:16Z jdz joined #lisp 2016-08-05T22:40:00Z b3atr: jasom: I wrote this: http://vpaste.net/AwkM7 2016-08-05T22:40:21Z b3atr: jasom: and I compiled like this 2016-08-05T22:40:23Z b3atr: jasom: sbcl --eval "(ql:quickload 'cl-diskspace)" --eval '(progn (compile-file "topbar.lisp")(quit))' 2016-08-05T22:41:30Z b3atr: jasom: I get this error messages: http://vpaste.net/679Dz 2016-08-05T22:41:32Z jasom: b3atr: if you're going to be doing things from the command line, I recommend putting them in ASDF; it makes loading, compiling, and running a lot easier 2016-08-05T22:42:18Z Bike: that exact code? because it says you used the cl-diskspace package, but that's not what your code says 2016-08-05T22:42:56Z b3atr: Bike: sbcl --eval "(ql:quickload 'cl-diskspace)" 2016-08-05T22:43:05Z Bike: that's not a package, it's a system 2016-08-05T22:43:05Z jasom: cl-diskspace isn't in quicklisp I think 2016-08-05T22:43:30Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-05T22:43:35Z pipping quit (Quit: good night.) 2016-08-05T22:43:42Z b3atr: jasom: I've cloned the repository 2016-08-05T22:43:47Z jasom: b3atr: ah 2016-08-05T22:43:51Z b3atr: jasom: in ~/quicklisp/local-projects/ 2016-08-05T22:44:06Z Bike: well, the diskspace package definition is that it's named cl-diskspace but nicknamed diskspace 2016-08-05T22:44:16Z IPmonger joined #lisp 2016-08-05T22:44:27Z b3atr: Bike: yeah 2016-08-05T22:44:52Z Bike: so that error is kind of incoherent, since it's acting like it knows that there's a nickname but not that there's a package, which is impossible i'm pretty sure 2016-08-05T22:45:13Z b3atr: SBCL 1.2.15-1.fc23 2016-08-05T22:46:20Z jasom: b3atr: I get no error running it 2016-08-05T22:46:41Z jasom: sbcl 1.3.6 2016-08-05T22:47:40Z jasom: ; compilation finished in 0:00:00.004 2016-08-05T22:48:10Z b3atr: jasom: I'm downloading latest sbcl and rm quicklisp 2016-08-05T22:48:19Z Bike: yeah, works here too. 2016-08-05T22:48:28Z jasom: b3atr: no need to rm quicklisp 2016-08-05T22:48:32Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T22:49:10Z jasom: quicklisp uses asdf and will store the output of compiled modules under a directory specific to the implementation and version, so you'll get a fresh compile of anything in quicklisp that you are using 2016-08-05T22:49:54Z jasom: I used to not use ASDF for litle scripts like this, but once I learned the basics I use it for pretty much everything now 2016-08-05T22:52:54Z b3atr: jasom: how did you compile it? 2016-08-05T22:53:03Z IPmonger joined #lisp 2016-08-05T22:53:13Z Bike: i did the same sbcl line 2016-08-05T22:53:17Z jc1 joined #lisp 2016-08-05T22:53:25Z b3atr: sbcl --eval "(ql:quickload 'cl-diskspace)" --eval '(progn (compile-file... 2016-08-05T22:53:29Z Bike: yeah 2016-08-05T22:53:30Z b3atr: ^ :? 2016-08-05T22:53:32Z Bike: on 1.3.3 2016-08-05T22:53:47Z Bike: though i have no idea why version would matter 2016-08-05T22:57:14Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T22:58:55Z rumbler31 joined #lisp 2016-08-05T22:59:48Z jasom: curl http://vpaste.net/AwkM7 >topbar.lisp; sbcl --eval "(ql:quickload 'cl-diskspace)" --eval '(progn (compile-file "topbar.lisp")(quit))' 2016-08-05T23:00:20Z eivarv quit (Quit: Sleep) 2016-08-05T23:01:23Z cromachina joined #lisp 2016-08-05T23:01:24Z atgreen quit (Quit: Leaving) 2016-08-05T23:02:13Z IPmonger joined #lisp 2016-08-05T23:06:32Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-05T23:07:15Z b3atr: jasom: how about ./topbar.lisp? 2016-08-05T23:07:19Z IPmonger joined #lisp 2016-08-05T23:07:24Z b3atr: jasom: sorry, topbar.fasl 2016-08-05T23:08:07Z araujo_ joined #lisp 2016-08-05T23:08:13Z jasom: b3atr: ?? FASLs aren't executable, are they? 2016-08-05T23:08:46Z jasom: sbcl --eval "(ql:quickload 'cl-diskspace)" --load topbar.fasl # works just fine 2016-08-05T23:08:47Z b3atr: jasom: yeah 2016-08-05T23:09:09Z Bike: jasom: they have shebangs 2016-08-05T23:09:23Z jasom: oh, well that's not going to work unless you load the cl-diskspace system first 2016-08-05T23:09:38Z jasom: b3atr: a .fasl is most like a C .o file 2016-08-05T23:09:48Z jasom: (I say "most like" because the compilation models are verry different 2016-08-05T23:10:37Z jasom: b3atr: so just loading the fasl is expected to not work 2016-08-05T23:11:19Z araujo quit (Ping timeout: 258 seconds) 2016-08-05T23:11:19Z jasom: b3atr: I think sbcl supports concatenating .fasls so you could do that 2016-08-05T23:14:33Z angavrilov quit (Remote host closed the connection) 2016-08-05T23:15:08Z b3atr: how to get a list element by keyword symbol? 2016-08-05T23:15:24Z jasom: b3atr: what do you mean? 2016-08-05T23:15:31Z b3atr: jasom: http://vpaste.net/dIEjD 2016-08-05T23:15:50Z b3atr: get first element FREE 2016-08-05T23:16:04Z jasom: clhs getf 2016-08-05T23:16:04Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_getf.htm 2016-08-05T23:16:06Z jasom: b3atr: ^^^ 2016-08-05T23:20:49Z al-damiri quit (Quit: Connection closed for inactivity) 2016-08-05T23:21:25Z b3atr: jasom: (getf (diskspace:list-all-disk-info t) :free) :? 2016-08-05T23:22:52Z Fare quit (Ping timeout: 258 seconds) 2016-08-05T23:24:03Z b3atr: (diskspace:list-all-disk-info t) :free) returns a list 2016-08-05T23:24:14Z b3atr: but I get malformed property list 2016-08-05T23:26:56Z b3atr: (type-of (diskspace:list-all-disk-info)) returns CONS 2016-08-05T23:28:29Z jasom: hahahah 2016-08-05T23:28:38Z jasom: error while parsing arguments to DESTRUCTURING-BIND: 2016-08-05T23:28:40Z jasom: too many elements in 2016-08-05T23:28:42Z jasom: ("/dev/loop1" "626346" "626346" "0" "100%" "/mnt/foo" "bar") 2016-08-05T23:28:52Z jasom: I'll file a bug :) 2016-08-05T23:29:18Z b3atr: jasom: you were playing with the library, you devil :D 2016-08-05T23:29:24Z Bike: this library does "df | grep ^/dev" and then splits it by whitespace 2016-08-05T23:29:30Z Bike: so. there's that 2016-08-05T23:29:33Z b3atr: Bike: yeah, I just read the code. 2016-08-05T23:29:35Z jasom: b3atr: I had left it mounted when I was mentioning issues with the df 2016-08-05T23:29:54Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T23:30:06Z b3atr: jasom: why this doesn't work? (getf (diskspace:list-all-disk-info t) :free) 2016-08-05T23:30:15Z jasom: if they assume that either the file-system or the mount-point does not have spaces it is unambiguous. You can be very close to unambiguous by looking for numbers and % signs though 2016-08-05T23:30:17Z IPmonger joined #lisp 2016-08-05T23:31:14Z jasom: b3atr: ah each item in the list returned is a plist 2016-08-05T23:31:31Z b3atr: b3atr: how about that? 2016-08-05T23:31:47Z jasom: (getf (first (diskspace:list-all-disk-info)) :free) 2016-08-05T23:31:54Z jasom: or 2016-08-05T23:32:03Z DeadTrickster quit (Ping timeout: 265 seconds) 2016-08-05T23:32:23Z jasom: (loop for item in (diskspace:list-all-disk-info) collect (getf item :free)) 2016-08-05T23:33:05Z Lord_of_Life quit (Excess Flood) 2016-08-05T23:33:54Z b3atr: jasom: how about two keyword? :disk and :free? 2016-08-05T23:34:12Z Bike: two getfs 2016-08-05T23:34:48Z jasom: b3atr: what would you want it to return with two keywords? 2016-08-05T23:35:06Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-05T23:35:10Z jasom: (loop for item in (diskspace:list-all-disk-info t) collect 2016-08-05T23:35:12Z jasom: (list (getf item :free) (getf item :disk))) 2016-08-05T23:35:15Z b3atr: to be able to print the disk before its usage. 2016-08-05T23:36:08Z Lord_of_Life joined #lisp 2016-08-05T23:38:59Z IPmonger joined #lisp 2016-08-05T23:39:09Z b3atr: jasom: indent should be four? 2016-08-05T23:39:11Z pierpa: (second (member :free ...)) 2016-08-05T23:39:47Z jc1 quit (Ping timeout: 265 seconds) 2016-08-05T23:40:13Z b3atr: pierpa: (second (memeber :free (diskspace:list-all-disk-info t))) ? 2016-08-05T23:40:25Z pierpa: yes 2016-08-05T23:40:41Z b3atr: undefined function: MEMEBER 2016-08-05T23:40:49Z pierpa: try MEMBER 2016-08-05T23:41:25Z Bike: why would you do that 2016-08-05T23:41:45Z Bike: list-all-disk-info returns a list of plists, as already established 2016-08-05T23:42:24Z akkad: is this clean? https://gist.github.com/af355a10e29267d04ff941c590becd7c 2016-08-05T23:43:01Z pierpa: ah, yes, I missed the original 2016-08-05T23:43:34Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-05T23:44:03Z IPmonger joined #lisp 2016-08-05T23:44:07Z pierpa: b3atr: please ignore the MEMBER suggestion 2016-08-05T23:44:53Z jsmith_ quit (Remote host closed the connection) 2016-08-05T23:46:47Z hetman`: Grue`: thanks for the tip. postmodern is niiiice. 2016-08-05T23:47:03Z jsmith_ joined #lisp 2016-08-05T23:51:29Z jsmith_ quit (Ping timeout: 244 seconds) 2016-08-05T23:52:34Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-05T23:53:17Z b3atr: a loop can't be inside a function? 2016-08-05T23:53:31Z jasom: b3atr: yes it can 2016-08-05T23:53:56Z b3atr: jasom: why this is wrong? (defun df (loop for item in (diskspace:list-all-disk-info t) collect (getf item :free))) 2016-08-05T23:54:09Z jasom: b3atr: (defun df () ...) 2016-08-05T23:54:13Z jasom: b3atr: you need an arglist 2016-08-05T23:54:15Z IPmonger joined #lisp 2016-08-05T23:54:44Z b3atr: b3atr: even if no need? 2016-08-05T23:55:14Z Bike: if there's no arglist, you need to say there's no arglist 2016-08-05T23:55:38Z Bike: or rather, if there's no parameters you need to say there's no parameters, by putting in an empty parameter list 2016-08-05T23:56:15Z SlashLife: b3atr: Mhh ... I'm only here out of interest, without ever having written any Lisp code ... but looking at your code and jasoms suggestion, allowing to omit the (empty) parameter list would make for ambiguous code. 2016-08-05T23:56:48Z jasom: b3atr: If the arglist were optional how would lisp know if this is a function that takes two parameters, or a function, the first expression of which is to call the function bar with the argument baz? (defun foo (bar baz)) 2016-08-05T23:56:54Z Karl_Dscc quit (Remote host closed the connection) 2016-08-05T23:56:58Z SlashLife: If you could omit the () - what would make sure that "(loop for item..." isn't the parameter list? 2016-08-05T23:57:09Z b3atr: interesting :D 2016-08-05T23:57:41Z b3atr: is the style guide correct? http://vpaste.net/o4XgS 2016-08-05T23:58:10Z b3atr: two space indent 2016-08-05T23:58:12Z SlashLife: Style guides by definition never are "correct". 2016-08-05T23:58:35Z b3atr: SlashLife: btw, common :D 2016-08-05T23:58:36Z Bike: usually you align loop keywords, so the 'collect' with the 'for' 2016-08-05T23:58:41Z SlashLife: In the best case they can be "not wrong". In the worst case someone seriously messed up. 2016-08-05T23:58:54Z Bike: 'lisp' is fine to mean 'common lisp', hence the channel name 2016-08-05T23:59:01Z strat0cat joined #lisp 2016-08-05T23:59:04Z SlashLife: But style, in the end, is up to the individual. 2016-08-05T23:59:51Z Fare joined #lisp