2016-08-13T00:10:15Z seg joined #lisp 2016-08-13T00:10:32Z papachan quit (Ping timeout: 240 seconds) 2016-08-13T00:12:39Z stardiviner quit (Ping timeout: 265 seconds) 2016-08-13T00:13:56Z stardiviner joined #lisp 2016-08-13T00:14:08Z zygentoma joined #lisp 2016-08-13T00:16:15Z seg quit (Ping timeout: 276 seconds) 2016-08-13T00:16:40Z zygentoma^evoke quit (Ping timeout: 258 seconds) 2016-08-13T00:19:31Z eSVG joined #lisp 2016-08-13T00:19:49Z drmeister: Is there a system independent way to re-REQUIRE a module? 2016-08-13T00:20:14Z seg joined #lisp 2016-08-13T00:20:20Z drmeister: There isn't right? It's one irrevocable thing in Common Lisp. 2016-08-13T00:20:24Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-13T00:21:10Z cyberlard quit (Quit: WeeChat 1.5) 2016-08-13T00:22:09Z cyberlard joined #lisp 2016-08-13T00:23:40Z jasom: drmeister: remove it from *modules* if you follow the spec exactly should force a reload 2016-08-13T00:24:46Z drmeister: Thanks! 2016-08-13T00:26:47Z stardiviner quit (Ping timeout: 244 seconds) 2016-08-13T00:27:53Z drmeister: How many people can say this? "I'm writing code in a 50 year old language to read a file format that I invented 25 years ago that is still used today"? 2016-08-13T00:28:24Z drmeister: Darn few people. 2016-08-13T00:30:15Z jasom: drmeister: some chemistry format? 2016-08-13T00:30:30Z drmeister: Yep. Chemistry is timeless. 2016-08-13T00:30:47Z drmeister: I wish I'd known about S-expressions back then. 2016-08-13T00:30:59Z jasom: drmeister: likely some scientists are using FORTRAN to read a format they invented ~25+ years ago 2016-08-13T00:31:42Z oleo_ joined #lisp 2016-08-13T00:31:45Z Bike: haha "likely" 2016-08-13T00:31:46Z drmeister: I designed this format to be readable by FORTRAN code - self describing tables. 2016-08-13T00:31:50Z jasom: My impression is that fortran use in sciences seems to have declined quite a bit over the last decade though (IANA scientist) 2016-08-13T00:31:51Z mtd quit (Ping timeout: 276 seconds) 2016-08-13T00:32:10Z drmeister: It was to replace fortran format files. 2016-08-13T00:32:34Z Bike: let me tell you about installing borland delphi 5 in 2015 2016-08-13T00:33:00Z jasom: drmeister: replacing one language with one that is 4 years newer; you're chasing the bleeding-edge man :) 2016-08-13T00:33:38Z drmeister: I'm going to drag chemistry kicking and screaming into the mid 1960's 2016-08-13T00:33:47Z Bike: at least we started out with recursive procedures. 2016-08-13T00:35:01Z drmeister: https://www.irccloud.com/pastebin/gbht4Fzj/ 2016-08-13T00:35:24Z oleo quit (Ping timeout: 258 seconds) 2016-08-13T00:35:57Z drmeister: https://www.irccloud.com/pastebin/0wH3YStJ/ 2016-08-13T00:36:20Z drmeister: It took a while - but this is going to kick ass. 2016-08-13T00:36:52Z prole: cloud 2016-08-13T00:37:28Z grimsley quit (Ping timeout: 250 seconds) 2016-08-13T00:45:25Z nate_c quit (Ping timeout: 258 seconds) 2016-08-13T00:46:29Z jleija quit (Ping timeout: 265 seconds) 2016-08-13T00:47:29Z jasom: drmeister: good luck; chemistry was just above biology at the bottom of my "skill at hard sciences" heirarchy 2016-08-13T00:47:53Z jasom: it's roughly inversely proportional to the number of names one needs to memorize before one can take an upper-division class and not be totally lost. 2016-08-13T00:49:03Z mtd joined #lisp 2016-08-13T00:49:34Z aries_liuxueyang quit (Ping timeout: 240 seconds) 2016-08-13T00:49:57Z aries_liuxueyang joined #lisp 2016-08-13T00:57:44Z eSVG quit (Ping timeout: 250 seconds) 2016-08-13T00:59:15Z zygentoma quit (Ping timeout: 264 seconds) 2016-08-13T01:06:51Z m00natic quit (Remote host closed the connection) 2016-08-13T01:10:48Z zygentoma joined #lisp 2016-08-13T01:12:30Z ringer1 quit (Ping timeout: 265 seconds) 2016-08-13T01:13:12Z mathrick quit (Remote host closed the connection) 2016-08-13T01:15:39Z stardiviner joined #lisp 2016-08-13T01:17:42Z ringer1 joined #lisp 2016-08-13T01:19:22Z al-damiri joined #lisp 2016-08-13T01:29:00Z TeMPOraL joined #lisp 2016-08-13T01:32:24Z EvW quit (Ping timeout: 250 seconds) 2016-08-13T01:34:37Z froggey quit (Ping timeout: 244 seconds) 2016-08-13T01:36:33Z froggey joined #lisp 2016-08-13T01:39:22Z asc232 quit (Remote host closed the connection) 2016-08-13T01:40:52Z NeverDie joined #lisp 2016-08-13T01:41:23Z BlueRavenGT quit (Ping timeout: 258 seconds) 2016-08-13T01:43:14Z fourier joined #lisp 2016-08-13T01:44:15Z Karl_Dscc quit (Remote host closed the connection) 2016-08-13T01:47:24Z pmc joined #lisp 2016-08-13T01:47:52Z fourier quit (Ping timeout: 265 seconds) 2016-08-13T01:48:45Z pmc quit (Client Quit) 2016-08-13T01:51:25Z VitoVan joined #lisp 2016-08-13T01:51:45Z yrdz``` joined #lisp 2016-08-13T01:53:45Z yrdz`` quit (Ping timeout: 276 seconds) 2016-08-13T01:54:15Z VitoVan: Is there any easy way to simulate keypress event in Common Lisp? 2016-08-13T01:54:40Z VitoVan: Instead of using xlib on Linux or win32 api on Win* 2016-08-13T01:57:57Z VitoVan: I found a general solution in Clojure: https://rosettacode.org/wiki/Simulate_input/Keyboard#Clojure 2016-08-13T01:58:19Z VitoVan: Well, since it's based on Java, so... 2016-08-13T02:05:12Z starship joined #lisp 2016-08-13T02:06:17Z starship left #lisp 2016-08-13T02:06:42Z asc232 joined #lisp 2016-08-13T02:06:58Z prole quit (Remote host closed the connection) 2016-08-13T02:12:21Z pierpa quit (Ping timeout: 244 seconds) 2016-08-13T02:17:18Z asc232 quit (Remote host closed the connection) 2016-08-13T02:25:05Z Blukunfando joined #lisp 2016-08-13T02:26:11Z beach: Good morning everyone! 2016-08-13T02:28:29Z yrdz```` joined #lisp 2016-08-13T02:29:37Z fiddlerwoaroof: morning beach 2016-08-13T02:29:54Z yrdz``` quit (Ping timeout: 260 seconds) 2016-08-13T02:31:38Z beach: McCLIM crowdfunding has 1029 USD in just 12 hours or so. Amazing! 2016-08-13T02:36:28Z klltkr joined #lisp 2016-08-13T02:43:26Z wildlander quit (Quit: Saliendo) 2016-08-13T03:06:31Z asc232 joined #lisp 2016-08-13T03:06:59Z asc232 quit (Remote host closed the connection) 2016-08-13T03:07:58Z fluter quit (Ping timeout: 258 seconds) 2016-08-13T03:12:32Z safe joined #lisp 2016-08-13T03:19:19Z Arathnim joined #lisp 2016-08-13T03:25:13Z lexicall joined #lisp 2016-08-13T03:26:44Z smokeink joined #lisp 2016-08-13T03:27:18Z marusich joined #lisp 2016-08-13T03:30:07Z snits quit (Remote host closed the connection) 2016-08-13T03:31:02Z zygentoma quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-13T03:33:17Z jleija joined #lisp 2016-08-13T03:34:22Z fluter joined #lisp 2016-08-13T03:36:55Z milanj quit (Quit: This computer has gone to sleep) 2016-08-13T03:38:09Z kobain quit (Ping timeout: 260 seconds) 2016-08-13T03:41:41Z wccoder joined #lisp 2016-08-13T03:42:53Z jasom: VitoVan: what exactly are you trying to do? 2016-08-13T03:44:00Z fourier joined #lisp 2016-08-13T03:45:51Z FreeBirdLjj joined #lisp 2016-08-13T03:46:18Z wccoder quit (Ping timeout: 250 seconds) 2016-08-13T03:47:30Z Polyphony quit (Quit: WeeChat 1.5) 2016-08-13T03:48:08Z fourier quit (Ping timeout: 250 seconds) 2016-08-13T03:52:53Z jasom: hmmm https://github.com/asweigart/pyautogui is only ~1300 lines of code; should be fairly easy to port to lisp 2016-08-13T03:54:16Z jasom: though I don't think clx has the xtest extension specified 2016-08-13T04:03:05Z MrWoohoo joined #lisp 2016-08-13T04:03:30Z arescorpio quit (Quit: Leaving.) 2016-08-13T04:03:49Z PuercoPop: VitoVan: checkout the xtest extension of clx (its on extensions/xtest.lisp), there is a fake-key-event 2016-08-13T04:05:51Z jleija quit (Ping timeout: 244 seconds) 2016-08-13T04:05:53Z karswell` joined #lisp 2016-08-13T04:10:43Z jasom: PuercoPop: oh clx has xtest? That will make porting pyautogui a snap; it was the only external dep I wasn't sure if lisp had 2016-08-13T04:12:46Z gravicappa joined #lisp 2016-08-13T04:12:49Z phax joined #lisp 2016-08-13T04:13:01Z jleija joined #lisp 2016-08-13T04:14:59Z test1600 quit (Remote host closed the connection) 2016-08-13T04:15:26Z test1600 joined #lisp 2016-08-13T04:15:56Z Beetny joined #lisp 2016-08-13T04:16:56Z jleija quit (Client Quit) 2016-08-13T04:21:46Z SamSkulls joined #lisp 2016-08-13T04:22:30Z jleija joined #lisp 2016-08-13T04:30:54Z al-damiri quit (Quit: Connection closed for inactivity) 2016-08-13T04:31:44Z vlatkoB joined #lisp 2016-08-13T04:32:37Z FreeBirdLjj quit (Remote host closed the connection) 2016-08-13T04:36:54Z smokeink quit (Ping timeout: 276 seconds) 2016-08-13T04:37:01Z phax quit (Quit: phax) 2016-08-13T04:44:10Z VitoVan: thank you jasom, I will check that. 2016-08-13T04:44:43Z fourier joined #lisp 2016-08-13T04:45:06Z VitoVan: thank you PuercoPop, I am checking on xtest.lisp now. 2016-08-13T04:45:53Z VitoVan: PuercoPop: Found the fake-key-event: https://github.com/sharplispers/clx/blob/master/extensions/xtest.lisp#L130 2016-08-13T04:47:10Z VitoVan 2016-08-13T04:48:17Z tmtwd joined #lisp 2016-08-13T04:49:14Z fourier quit (Ping timeout: 250 seconds) 2016-08-13T04:50:21Z FreeBirdLjj joined #lisp 2016-08-13T04:56:31Z Merdam joined #lisp 2016-08-13T04:58:11Z puchka quit (Ping timeout: 244 seconds) 2016-08-13T05:01:49Z puchka joined #lisp 2016-08-13T05:02:28Z VitoVan: jasom: I am trying to make a bot to play game with keyboard and mouse. 2016-08-13T05:02:43Z Merdam: Who here wants to solve Europe's Islam problem? 2016-08-13T05:02:45Z Merdam: I do! 2016-08-13T05:03:07Z Merdam: We must start organizing in order to eliminate every single Muslim from Europe: man, woman, child, and infant. 2016-08-13T05:03:20Z Merdam: They must be rounded up at bayonette point and force-marched to the sea 2016-08-13T05:03:26Z jasom: VitoVan: how will you read from the screen? That might be harder than pushing input events 2016-08-13T05:03:31Z Merdam: anybody who stops, falls, or slows down gets shot 2016-08-13T05:03:53Z jasom: VitoVan: if you are inside the code of the game, then you can push events directly to its event loop 2016-08-13T05:03:53Z Merdam: We promise them there is a boat waiting at the beach to take them back to the middle east 2016-08-13T05:03:59Z Merdam: but when they get there 2016-08-13T05:04:04Z Merdam: they are told that the boat is to allah 2016-08-13T05:04:17Z Merdam: and they are all forced to swim out into shark-chummed waters 2016-08-13T05:04:24Z Merdam: It is urgent... 2016-08-13T05:04:30Z Merdam: there is no moderation when it comes to Islam 2016-08-13T05:04:35Z Merdam: no reducing migration 2016-08-13T05:04:41Z Merdam: it must be stopped and reversed now 2016-08-13T05:07:37Z VitoVan: jasom: I found this: Take, save, and display a screenshot in Common Lisp (using CLX and ZPNG). 2016-08-13T05:07:37Z VitoVan: https://gist.github.com/orivej/5522461 2016-08-13T05:07:56Z VitoVan: jasom: haven't tried yet, but seems logical. 2016-08-13T05:08:20Z puchka quit (Ping timeout: 258 seconds) 2016-08-13T05:08:29Z PuercoPop: jasom: yeah, it has quite a few of extensions, although not all are fully implemented (like xscreen-server for instance). A couple more are implemented in different repos as well. 2016-08-13T05:08:57Z jasom: PuercoPop: a lot was missing from glx on it, and it uses the package nickname "gl" which makes it hard to use a different gl library 2016-08-13T05:09:22Z jasom: VitoVan: looks reasonable; test it with direct-rendering though (important if it's a game) 2016-08-13T05:10:03Z gravicappa quit (Ping timeout: 276 seconds) 2016-08-13T05:10:05Z VitoVan: jasom: and I want to make it as independent as possible, so directly manipulate the event loop of specific game is not the option. 2016-08-13T05:10:19Z jasom: VitoVan: and much luck to you; bots that play games are fairly hard to write, unless there is a simple strategy that can be milked en-masse (e.g. tight-aggressive in hold-em, farming in MMOs). 2016-08-13T05:10:55Z PuercoPop: jasom: yeah, that nickname collision is unfortunate. It may be a good idea to send a PR removing the nickname 2016-08-13T05:12:17Z jasom: PuercoPop: I wish package nickname collisions provided a restart; as long as the system itself doesn't depend on it, then it might be possible to continue. 2016-08-13T05:12:34Z VitoVan: jasom: yeah, Tetris has the *HARD* label in the game list. 2016-08-13T05:13:30Z VitoVan: jasom: I am thinking implement some neural network stuff in Common Lisp, and making a game bot is kind of practice. 2016-08-13T05:13:31Z jasom: VitoVan: depending on the tetris, that's not too bad; if you're going for longest game a mini-max is pretty good 2016-08-13T05:13:54Z jasom: VitoVan: and the next block is always in the same place and orientation on the screen 2016-08-13T05:14:21Z VitoVan: jasom: :-) 2016-08-13T05:14:26Z jasom: someone made a version of tetris that used the mini-max algorithm to always give you the worst possible next block 2016-08-13T05:14:42Z VitoVan: HAHA~ 2016-08-13T05:15:01Z Bike: i mean, probably still harder than arkanoid. 2016-08-13T05:15:20Z VitoVan: jasom: nice talking with you jasom, I have to go get lunch, see you later, and everybody~ 2016-08-13T05:15:32Z scymtym joined #lisp 2016-08-13T05:15:32Z jasom: VitoVan: enjoy, I'm off to bed soon 2016-08-13T05:15:40Z Merdam quit (Remote host closed the connection) 2016-08-13T05:16:02Z jasom: https://qntm.org/hatetris there it is 2016-08-13T05:17:09Z jasom: zero randomness, zero speed tetris 2016-08-13T05:21:42Z fourier joined #lisp 2016-08-13T05:26:14Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-08-13T05:32:53Z Jesin quit (Quit: Leaving) 2016-08-13T05:35:14Z jleija quit (Quit: leaving) 2016-08-13T05:38:20Z Jesin joined #lisp 2016-08-13T05:39:04Z tmtwd quit (Ping timeout: 250 seconds) 2016-08-13T05:45:03Z Beetny quit (Ping timeout: 240 seconds) 2016-08-13T05:50:44Z mathi_aihtam joined #lisp 2016-08-13T05:58:34Z shka_ joined #lisp 2016-08-13T06:02:42Z davsebamse quit (Ping timeout: 276 seconds) 2016-08-13T06:03:52Z davsebamse joined #lisp 2016-08-13T06:04:38Z disingenuous: how do I loop through all the &key arguments in a function? 2016-08-13T06:04:56Z Baggers joined #lisp 2016-08-13T06:09:04Z Bike: have a &rest argument and look through that 2016-08-13T06:11:31Z safe quit (Quit: Leaving) 2016-08-13T06:15:14Z bjdaro joined #lisp 2016-08-13T06:17:12Z fourier quit (Ping timeout: 240 seconds) 2016-08-13T06:22:10Z scymtym quit (Ping timeout: 252 seconds) 2016-08-13T06:28:29Z lexicall quit (Ping timeout: 260 seconds) 2016-08-13T06:28:42Z bjdaro quit (Ping timeout: 276 seconds) 2016-08-13T06:28:56Z lexicall joined #lisp 2016-08-13T06:31:13Z bocaneri joined #lisp 2016-08-13T06:31:52Z SamSkulls quit (Remote host closed the connection) 2016-08-13T06:32:24Z s3mi0 joined #lisp 2016-08-13T06:35:44Z euphoria- quit (Read error: Connection reset by peer) 2016-08-13T06:37:56Z eSVG joined #lisp 2016-08-13T06:38:56Z gingerale joined #lisp 2016-08-13T06:39:58Z Baggers quit (Read error: Connection reset by peer) 2016-08-13T06:45:07Z Baggers joined #lisp 2016-08-13T06:46:02Z lexicall quit (Quit: Ah, my macbook is gonna sleep!) 2016-08-13T06:55:21Z euphoria- joined #lisp 2016-08-13T06:57:34Z adolf_stalin quit (Remote host closed the connection) 2016-08-13T07:00:17Z s3mi0 quit (Remote host closed the connection) 2016-08-13T07:00:49Z adolf_stalin joined #lisp 2016-08-13T07:01:12Z disingenuous: hmmm alright 2016-08-13T07:01:29Z disingenuous: thought maybe there was something built into CL to do that 2016-08-13T07:01:33Z disingenuous: thanks Bike 2016-08-13T07:01:56Z beach: There is. It is &rest. 2016-08-13T07:02:09Z adolf_stalin quit (Client Quit) 2016-08-13T07:02:51Z Bike: it's, like, what it does. having a &rest means all the key arguments are collected into a list for you, that you can loop t hrough for whatever reason. 2016-08-13T07:03:22Z disingenuous: &rest is just a list that includes the :keywords themselves, correct? 2016-08-13T07:03:35Z H4ns: disingenuous: it is what we call a plist. 2016-08-13T07:03:42Z beach: disingenuous: It would not be reasonable to always make that list available. Consider a call such as (F ... :FOO 1 :BAR 2 :FOO 3) 2016-08-13T07:03:48Z H4ns: disingenuous: (if what you provide in your call is a plist) 2016-08-13T07:04:03Z Bike: ((lambda (&rest keys &key a b) keys) :b 4 :a 5) => (:B 4 :A 5) 2016-08-13T07:04:08Z Bike: perfect for loopin 2016-08-13T07:04:09Z beach: disingenuous: Normally the :FOO 3 would be discarded by the call protocol. 2016-08-13T07:04:54Z disingenuous: ah nice 2016-08-13T07:05:07Z disingenuous: I see now 2016-08-13T07:05:18Z disingenuous: that's much nicer than I thought 2016-08-13T07:15:01Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-13T07:29:13Z peey joined #lisp 2016-08-13T07:30:04Z mathi_aihtam joined #lisp 2016-08-13T07:32:51Z VitoVan quit (Ping timeout: 264 seconds) 2016-08-13T07:41:06Z happy-dude quit (Quit: Connection closed for inactivity) 2016-08-13T07:43:11Z wccoder joined #lisp 2016-08-13T07:44:00Z smokeink joined #lisp 2016-08-13T07:47:51Z wccoder quit (Ping timeout: 258 seconds) 2016-08-13T07:49:08Z angavrilov joined #lisp 2016-08-13T07:49:08Z Baggers quit (Read error: Connection reset by peer) 2016-08-13T07:49:52Z cmatei quit (Ping timeout: 240 seconds) 2016-08-13T07:51:31Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-13T07:54:01Z Baggers joined #lisp 2016-08-13T07:57:30Z Primordus joined #lisp 2016-08-13T08:00:31Z fourier joined #lisp 2016-08-13T08:12:33Z lisp885 joined #lisp 2016-08-13T08:16:20Z lisp885: hello i have a problem with slimv: i installed it under gentoo (emerge -av vim-app/slimv) when i open a .lisp file i get the error that excuting "/usr/share/vim/vimfiles/ftplugin/lisp/slimv-lisp.vim": on line 66 fails. 2016-08-13T08:16:29Z lisp885: E128: Function name must start with a capital or "s:": b:SlimvAutodetect( preferred ) 2016-08-13T08:18:28Z fourier quit (Ping timeout: 258 seconds) 2016-08-13T08:22:10Z fourier joined #lisp 2016-08-13T08:24:54Z DavidGu joined #lisp 2016-08-13T08:25:07Z eivarv joined #lisp 2016-08-13T08:26:46Z fourier quit (Ping timeout: 244 seconds) 2016-08-13T08:32:11Z MoALTz joined #lisp 2016-08-13T08:32:16Z eSVG quit (Ping timeout: 258 seconds) 2016-08-13T08:33:47Z lisp885: on #gentoo they could lead me to https://bugs.gentoo.org/564292 so i gonna try to apply the patch 2016-08-13T08:34:52Z fourier joined #lisp 2016-08-13T08:41:56Z knicklux joined #lisp 2016-08-13T08:45:36Z bumblehead joined #lisp 2016-08-13T08:46:04Z shka_ quit (Ping timeout: 258 seconds) 2016-08-13T08:46:19Z DavidGu quit (Quit: DavidGu) 2016-08-13T08:46:48Z bumblehead: Hi I usually visit this channel for advice on algorithms and general programming problem solving advice 2016-08-13T08:46:53Z DavidGu joined #lisp 2016-08-13T08:47:24Z bumblehead: respectfully I would like to ask what the intelligent people in this channel think of bitcoin 2016-08-13T08:47:33Z bumblehead: or digital currencies in general 2016-08-13T08:47:48Z H4ns: bitcoin is off topic for #lisp 2016-08-13T08:48:01Z bumblehead: ok my apology 2016-08-13T08:49:38Z DeadTrickster joined #lisp 2016-08-13T08:50:28Z bumblehead left #lisp 2016-08-13T08:50:33Z iskander quit (Quit: Quit) 2016-08-13T08:52:06Z iskander joined #lisp 2016-08-13T08:55:51Z eivarv quit (Quit: Sleep) 2016-08-13T08:57:13Z eivarv joined #lisp 2016-08-13T09:03:36Z angavrilov_ joined #lisp 2016-08-13T09:03:42Z angavrilov quit (Ping timeout: 258 seconds) 2016-08-13T09:04:11Z Baggers quit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org) 2016-08-13T09:11:34Z fourier quit (Ping timeout: 252 seconds) 2016-08-13T09:12:29Z fourier joined #lisp 2016-08-13T09:17:19Z Bike quit (Quit: leaving) 2016-08-13T09:23:50Z jdtest2 joined #lisp 2016-08-13T09:24:51Z jdtest quit (Ping timeout: 276 seconds) 2016-08-13T09:30:01Z DavidGu quit (Ping timeout: 250 seconds) 2016-08-13T09:31:22Z smokeink quit (Ping timeout: 252 seconds) 2016-08-13T09:39:42Z queitsch joined #lisp 2016-08-13T09:42:58Z knicklux quit (Quit: Leaving) 2016-08-13T09:42:59Z jdtest2 quit (Read error: Connection reset by peer) 2016-08-13T09:43:51Z jdtest joined #lisp 2016-08-13T09:44:42Z stardiviner quit (Quit: Code, Sex, Just fucking world.) 2016-08-13T09:47:31Z eivarv quit (Quit: Sleep) 2016-08-13T09:51:30Z NeverDie quit (Quit: http://radiux.io/) 2016-08-13T09:56:00Z marusich quit (Quit: Leaving) 2016-08-13T09:59:58Z Josh2 joined #lisp 2016-08-13T10:00:09Z lexicall joined #lisp 2016-08-13T10:01:52Z pmden joined #lisp 2016-08-13T10:04:38Z lisp885 quit (Ping timeout: 264 seconds) 2016-08-13T10:06:01Z queitsch quit (Ping timeout: 252 seconds) 2016-08-13T10:09:37Z smokeink joined #lisp 2016-08-13T10:12:47Z eivarv joined #lisp 2016-08-13T10:16:49Z d4ryus quit (Ping timeout: 265 seconds) 2016-08-13T10:19:23Z d4ryus joined #lisp 2016-08-13T10:28:47Z elimik31 joined #lisp 2016-08-13T10:32:52Z zygentoma joined #lisp 2016-08-13T10:34:31Z strelox joined #lisp 2016-08-13T10:34:32Z Josh2 quit (Remote host closed the connection) 2016-08-13T10:36:21Z elimik31 quit (Ping timeout: 276 seconds) 2016-08-13T10:40:18Z shka_ joined #lisp 2016-08-13T10:44:13Z pjb joined #lisp 2016-08-13T10:46:12Z jdtest2 joined #lisp 2016-08-13T10:49:52Z jdtest quit (Ping timeout: 240 seconds) 2016-08-13T10:51:07Z Carisius joined #lisp 2016-08-13T10:53:12Z eivarv quit (Quit: Sleep) 2016-08-13T10:55:38Z eivarv joined #lisp 2016-08-13T10:57:47Z Amaan joined #lisp 2016-08-13T11:09:04Z knicklux joined #lisp 2016-08-13T11:10:58Z oleo_ quit (Quit: Leaving) 2016-08-13T11:15:38Z zygentoma is now known as zygentoma^evoke 2016-08-13T11:16:25Z ggole joined #lisp 2016-08-13T11:20:27Z pierpa joined #lisp 2016-08-13T11:20:27Z zonit quit (Read error: Connection reset by peer) 2016-08-13T11:22:59Z cmatei joined #lisp 2016-08-13T11:24:21Z Karl_Dscc joined #lisp 2016-08-13T11:24:34Z vimal2012 joined #lisp 2016-08-13T11:25:06Z vimal2012 left #lisp 2016-08-13T11:32:14Z peey quit (Ping timeout: 264 seconds) 2016-08-13T11:43:47Z milanj joined #lisp 2016-08-13T11:44:51Z wccoder joined #lisp 2016-08-13T11:47:36Z vhost- quit (Ping timeout: 265 seconds) 2016-08-13T11:49:21Z wccoder quit (Ping timeout: 258 seconds) 2016-08-13T11:55:11Z angavrilov_ is now known as angavrilov 2016-08-13T11:56:01Z rumbler31 joined #lisp 2016-08-13T12:04:01Z quazimodo joined #lisp 2016-08-13T12:07:40Z kokonaisluku joined #lisp 2016-08-13T12:09:02Z quazimod1 joined #lisp 2016-08-13T12:20:28Z lexicall quit (Quit: Ah, my macbook is gonna sleep!) 2016-08-13T12:24:14Z DeadTrickster quit (Ping timeout: 258 seconds) 2016-08-13T12:29:49Z klltkr joined #lisp 2016-08-13T12:30:39Z oleo joined #lisp 2016-08-13T12:30:39Z oleo quit (Changing host) 2016-08-13T12:30:39Z oleo joined #lisp 2016-08-13T12:37:34Z fluter quit (Ping timeout: 250 seconds) 2016-08-13T12:44:58Z attila_lendvai joined #lisp 2016-08-13T12:48:27Z carleos quit (Ping timeout: 264 seconds) 2016-08-13T12:51:07Z attila_lendvai quit (Quit: Leaving.) 2016-08-13T12:51:16Z attila_lendvai joined #lisp 2016-08-13T12:55:44Z PlasmaStar quit (Remote host closed the connection) 2016-08-13T12:58:42Z quazimodo quit (Ping timeout: 244 seconds) 2016-08-13T12:58:44Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-13T12:59:21Z quazimod1 quit (Ping timeout: 276 seconds) 2016-08-13T12:59:33Z attila_lendvai joined #lisp 2016-08-13T12:59:33Z attila_lendvai quit (Changing host) 2016-08-13T12:59:33Z attila_lendvai joined #lisp 2016-08-13T13:07:06Z vydd quit (Remote host closed the connection) 2016-08-13T13:16:15Z kokonaisluku quit (Ping timeout: 276 seconds) 2016-08-13T13:16:31Z DavidGu joined #lisp 2016-08-13T13:18:12Z oleo quit (Ping timeout: 276 seconds) 2016-08-13T13:18:31Z Amaan quit (Quit: Connection closed for inactivity) 2016-08-13T13:18:32Z eivarv quit (Quit: Sleep) 2016-08-13T13:20:15Z sellout- quit (Quit: Leaving.) 2016-08-13T13:20:55Z DavidGu quit (Ping timeout: 244 seconds) 2016-08-13T13:28:50Z eSVG joined #lisp 2016-08-13T13:34:10Z sweater joined #lisp 2016-08-13T13:34:38Z zygentoma^evoke is now known as zygentoma^zwokz 2016-08-13T13:34:46Z eSVG quit (Ping timeout: 258 seconds) 2016-08-13T13:36:54Z lexicall joined #lisp 2016-08-13T13:40:09Z mathi_aihtam joined #lisp 2016-08-13T13:40:17Z grimsley joined #lisp 2016-08-13T13:45:08Z papachan joined #lisp 2016-08-13T13:47:31Z milanj quit (Quit: This computer has gone to sleep) 2016-08-13T13:48:22Z prole joined #lisp 2016-08-13T13:50:36Z test1600_ joined #lisp 2016-08-13T13:50:39Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-13T13:53:50Z test1600 quit (Ping timeout: 265 seconds) 2016-08-13T13:54:45Z rme joined #lisp 2016-08-13T13:57:08Z TRUMP-PENCE quit (Remote host closed the connection) 2016-08-13T13:58:15Z eivarv joined #lisp 2016-08-13T13:58:53Z harish_ joined #lisp 2016-08-13T13:59:24Z TRUMP-PENCE joined #lisp 2016-08-13T13:59:27Z TRUMP-PENCE quit (Max SendQ exceeded) 2016-08-13T14:00:01Z lisp349 joined #lisp 2016-08-13T14:01:43Z TRUMP-PENCE joined #lisp 2016-08-13T14:01:43Z TRUMP-PENCE quit (Max SendQ exceeded) 2016-08-13T14:06:24Z TRUMP-PENCE joined #lisp 2016-08-13T14:06:25Z TRUMP-PENCE quit (Max SendQ exceeded) 2016-08-13T14:08:20Z TRUMP-PENCE joined #lisp 2016-08-13T14:08:21Z TRUMP-PENCE quit (Max SendQ exceeded) 2016-08-13T14:09:45Z asc232 joined #lisp 2016-08-13T14:10:56Z TRUMP-PENCE joined #lisp 2016-08-13T14:10:56Z TRUMP-PENCE quit (Max SendQ exceeded) 2016-08-13T14:14:00Z TRUMP-PENCE joined #lisp 2016-08-13T14:17:53Z lisp349: hello its me again. I still have trouble to get slimv working. Is there a good alternative to slimv that brings repl to vim? or is here some used to slimv? when i hit ",r" vim turns into a diffrent pane everything is black, expect a cursor blinking at the bottom. if i hit "ctrl c" to return. the text in vim is as black as the backgound. 2016-08-13T14:18:21Z m00natic joined #lisp 2016-08-13T14:18:53Z dim: lisp349: I would try Slime in Spacemacs... http://spacemacs.org 2016-08-13T14:19:13Z dim: https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/common-lisp 2016-08-13T14:20:06Z lisp349: spacemacs looks like a trap from the emacs front to convert vim users :p 2016-08-13T14:20:29Z dim: yes and no, it really is what it says it is: a vim editor using the emacs framework 2016-08-13T14:21:06Z lisp349: so vim plugin do not work in it? 2016-08-13T14:22:00Z lisp349: i will have a look at it. 2016-08-13T14:22:19Z phoe quit (Ping timeout: 252 seconds) 2016-08-13T14:23:25Z yang_ joined #lisp 2016-08-13T14:27:34Z fiddlerwoaroof: lisp349 I use slimv all the time 2016-08-13T14:27:56Z fiddlerwoaroof: if you run :Lisp in a lisp file, do you get a repl? 2016-08-13T14:31:09Z wtetzner joined #lisp 2016-08-13T14:31:50Z lisp349: fiddlerwoaroof: I get something similar pretty similar to what i get when i hit ",r" the shell is shown for about half a second and i get that dark screen. 2016-08-13T14:32:15Z kokonaisluku joined #lisp 2016-08-13T14:32:20Z Amaan joined #lisp 2016-08-13T14:32:28Z fiddlerwoaroof: You might have to wait a little bit. Does a lisp repl open up somewhere? 2016-08-13T14:33:28Z fiddlerwoaroof: When I do this in tmux, it opens a background tmux window titled something like "swank". On OSX, it'll pop open a new terminal 2016-08-13T14:33:41Z Amaan left #lisp 2016-08-13T14:34:27Z |2dman| quit (Remote host closed the connection) 2016-08-13T14:34:44Z |2dman| joined #lisp 2016-08-13T14:34:59Z jdtest2 quit (Ping timeout: 260 seconds) 2016-08-13T14:35:00Z fiddlerwoaroof: p 2016-08-13T14:35:30Z lisp349: oh i was to impatient. after some time i see a red background on the bottom line "SWANK server is not running. Press ENTER to continue. " 2016-08-13T14:35:30Z lexicall quit (Quit: Ah, my macbook is gonna sleep!) 2016-08-13T14:36:31Z fiddlerwoaroof: Do you use NeoBundle or something similar? 2016-08-13T14:37:28Z fiddlerwoaroof: Try running sbcl --load $HOME/.vim/bundle/slimv/slime/start-swank.lisp and then doing :Lisp in vim 2016-08-13T14:37:31Z sweater quit (Read error: Connection reset by peer) 2016-08-13T14:37:49Z fiddlerwoaroof: (run the first command in a separate terminal from vim) 2016-08-13T14:39:16Z |2dman| quit (Ping timeout: 265 seconds) 2016-08-13T14:39:30Z lisp349: i installed neovim parallel to vim. but use slimv with vim.i use vundle instead of bundle 2016-08-13T14:42:01Z lisp349: Couldn't load #P"/root/.vim/bundle/slimv/slime/start-swank.lisp": file does not exist. 2016-08-13T14:42:30Z lisp349: i guess i should adjust some configs so that slimv uses vundle instead of bundle or install bundle in paralell for slimv 2016-08-13T14:42:55Z fiddlerwoaroof: do this: cd ~/.vim && find -name start-swank.lisp 2016-08-13T14:43:47Z fiddlerwoaroof: Neovim has issues with slimv, so I generally don't use it. 2016-08-13T14:44:21Z lisp349: there is no output 2016-08-13T14:44:25Z lisp349: i use vim right now 2016-08-13T14:45:13Z lisp349: i just installed neovim to have a look at it but if even the installation makes problems, i will uninstall it 2016-08-13T14:45:37Z quazimodo joined #lisp 2016-08-13T14:45:38Z quazimod1 joined #lisp 2016-08-13T14:47:37Z fiddlerwoaroof: Where is slimv installed? 2016-08-13T14:49:58Z knicklux quit (Remote host closed the connection) 2016-08-13T14:50:36Z fiddlerwoaroof: If you have the line Plugin 'kovisoft/slimv' in you .vimrc, there should be a directory $HOMD/.vim/bundle/slimv 2016-08-13T14:50:49Z fiddlerwoaroof: that is $HOME/.vim/bundle/slimv 2016-08-13T14:53:13Z lisp349: in ~/.vim/bundle is no slimv/ but a vim-slime/ vim-slime-syntax 2016-08-13T14:53:18Z phoe joined #lisp 2016-08-13T14:53:56Z fluter joined #lisp 2016-08-13T14:54:41Z lisp349: i have no Plugin kovisoft/slimv in my .vimrc. I did think installing slimv via the packagemanager should be enough. Do i have to install it via vims plugin manager in addition? 2016-08-13T14:55:20Z fiddlerwoaroof: Yeah, uninstall the system version and install it with vim's plugin manager 2016-08-13T14:55:30Z fiddlerwoaroof: (at least, that's what I would do) 2016-08-13T14:56:21Z lisp349: ok thanks ( is that a general suggestion or vim plugins or just if they make trouble?) 2016-08-13T14:56:25Z lisp349: *for 2016-08-13T14:56:45Z cagomez joined #lisp 2016-08-13T14:57:25Z fiddlerwoaroof: As a general rule, I prefer to install my vim plugins vim's plugin manager. 2016-08-13T14:57:39Z fiddlerwoaroof: It makes it easier to move your vim setup to a different 3m6achine63 2016-08-13T14:58:18Z visortelle joined #lisp 2016-08-13T15:01:27Z giraffe joined #lisp 2016-08-13T15:02:23Z fiddlerwoaroof: s/[36]//g 2016-08-13T15:05:50Z lisp349 quit (Ping timeout: 264 seconds) 2016-08-13T15:08:40Z wildlander joined #lisp 2016-08-13T15:10:21Z EvW joined #lisp 2016-08-13T15:11:07Z Meow_J joined #lisp 2016-08-13T15:11:33Z quazimod1 quit (Ping timeout: 240 seconds) 2016-08-13T15:11:34Z quazimodo quit (Ping timeout: 240 seconds) 2016-08-13T15:11:53Z milanj joined #lisp 2016-08-13T15:13:43Z lisp248 joined #lisp 2016-08-13T15:17:48Z smokeink quit (Ping timeout: 276 seconds) 2016-08-13T15:19:48Z lexicall joined #lisp 2016-08-13T15:20:10Z lexicall quit (Client Quit) 2016-08-13T15:20:55Z lisp248: im the same person with the slimv problem. i installd slimv now via vundle 2016-08-13T15:21:48Z fiddlerwoaroof: I have to go pretty soon 2016-08-13T15:21:54Z lisp248: swank is still not running. when i close vim i see this message: error connecting to /tmp/tmux-0/default (Permission denied) 2016-08-13T15:22:17Z phoe quit (Ping timeout: 265 seconds) 2016-08-13T15:23:15Z lisp248: fiddlerwoaroof: thanks for your help anyway now i can try to solve the permission problem and hope that slimv runs :) 2016-08-13T15:24:34Z lisp248: fiddlerwoaroof: porbably the problem is that it would nest tmux ( im logged in to my machine via ssh and tmux and if i slimv wants to start another tmux that could be bad) 2016-08-13T15:25:36Z pierpa quit (Ping timeout: 276 seconds) 2016-08-13T15:27:53Z visortelle quit (Quit: leaving) 2016-08-13T15:32:12Z EvW quit (Ping timeout: 250 seconds) 2016-08-13T15:36:26Z rumbler31 quit (Remote host closed the connection) 2016-08-13T15:40:54Z fourier quit (Ping timeout: 260 seconds) 2016-08-13T15:40:58Z jerme joined #lisp 2016-08-13T15:42:14Z Primordus quit (Quit: WeeChat 1.5) 2016-08-13T15:42:55Z wtetzner quit (Remote host closed the connection) 2016-08-13T15:46:23Z vhost- joined #lisp 2016-08-13T15:46:34Z wccoder joined #lisp 2016-08-13T15:47:54Z phoe joined #lisp 2016-08-13T15:48:05Z fourier joined #lisp 2016-08-13T15:50:51Z wccoder quit (Ping timeout: 258 seconds) 2016-08-13T15:51:27Z kokonaisluku quit (Ping timeout: 264 seconds) 2016-08-13T15:52:51Z jerme quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-08-13T15:54:59Z papachan` joined #lisp 2016-08-13T15:57:46Z gravicappa joined #lisp 2016-08-13T15:58:22Z cagomez quit (Remote host closed the connection) 2016-08-13T16:00:12Z cagomez joined #lisp 2016-08-13T16:01:09Z fourier quit (Ping timeout: 258 seconds) 2016-08-13T16:15:56Z pjb quit (Remote host closed the connection) 2016-08-13T16:16:29Z sjl: is there a way to macroexpand-1 an iterate clause without fully macroexpanding an entire iterate form? 2016-08-13T16:17:18Z sjl: e.g. (macroexpand-1 '(iter (for foo :my-driver bar))) expands EVERYTHING so you see the iterate TAGBODY and such, which I don't care about 2016-08-13T16:17:47Z sjl: I just want to see the progn my (for .. :my-driver ...) is returning 2016-08-13T16:18:13Z sjl: but since it doesn't define a normal macro I can't just macroexpand that (for ...) 2016-08-13T16:19:20Z jackdaniel: sjl: (for …) may be parsed by iter macro, so it may not be a standalone macro on it's own rights 2016-08-13T16:19:29Z sjl: yeah that's the problem 2016-08-13T16:19:38Z jackdaniel: that said slime has some functionality to macroexpand parts of the sexpression 2016-08-13T16:19:44Z sjl: I was hoping iterate would have a custom function that would macroexpand it for me or something 2016-08-13T16:19:51Z jackdaniel: but as already said it may not work 2016-08-13T16:20:06Z jackdaniel: ah, I think it's unlikely 2016-08-13T16:20:38Z sjl: hmmm 2016-08-13T16:20:39Z sjl: (macroexpand-1 '(defmacro-driver (FOR v FOO x))) 2016-08-13T16:20:46Z sjl: (DEFMACRO CLAUSE-FOR-FOO-1 (&KEY ((:FOR V)) ((:FOO X)) GENERATE)) 2016-08-13T16:20:53Z asc232 quit (Remote host closed the connection) 2016-08-13T16:21:00Z sjl: it does seem to define an actual macro, just with a mangled name 2016-08-13T16:21:05Z sjl: so maybe I can just macroexpand that 2016-08-13T16:21:51Z jackdaniel: yeah, that will probably work 2016-08-13T16:22:05Z sjl: wait that 1 isn't the arity 2016-08-13T16:22:11Z sjl: it's some kind of global counter 2016-08-13T16:22:27Z sjl: if I run that macroexpand again it's clause-for-foo-2 2016-08-13T16:22:29Z sjl: lmao 2016-08-13T16:22:44Z jackdaniel: heh 2016-08-13T16:23:06Z sjl: well that's horrifying 2016-08-13T16:24:02Z jackdaniel: I wonder what does it need for the previous definitions of FOO 2016-08-13T16:24:09Z jackdaniel: FOR° 2016-08-13T16:24:56Z sjl: so every time I re-eval a (defmacro-driver ...) another macro gets created and hangs around forever in memory 2016-08-13T16:24:58Z sjl: cool 2016-08-13T16:26:42Z sjl looks for the iterate source code 2016-08-13T16:26:52Z sjl: oh it's in a darcs repo 2016-08-13T16:27:09Z sjl turns on benny hill theme and turns volume to 11 2016-08-13T16:27:19Z jackdaniel: to be honest if I need some specific construct for iteration I wrap a macro around DO, but usually DO + COLLECT are sufficient 2016-08-13T16:27:29Z jackdaniel: ^_^ 2016-08-13T16:28:22Z sjl: I'm trying to write something that'll let me iterate over a multidimensional array without having to use nested (iterate ...)'s 2016-08-13T16:28:44Z sjl: like I want to be able to say (iterate (for (val x y) :in-array heightmap) ...) 2016-08-13T16:30:44Z sjl: well I have a workaround... put an unused var in the driver so CCL spews a compiler warning with the name of the macro, then edit my sample form to fix the number and macroexpand it 2016-08-13T16:30:46Z sjl: good lord 2016-08-13T16:31:02Z deank quit 2016-08-13T16:32:03Z Grue``: you can iterate by major-row-aref 2016-08-13T16:32:16Z sjl: Grue``: yeah I have a driver for that, I want the x and y coords though 2016-08-13T16:32:21Z sjl: (sometimes) 2016-08-13T16:32:24Z jdtest joined #lisp 2016-08-13T16:32:53Z Grue``: that can be calculated from the index 2016-08-13T16:34:09Z sjl: yes, which I want to wrap up into an iterate driver so I don't ahve to do it by hand 2016-08-13T16:34:25Z sjl: and I'd like to be able to see what my driver looks like as I try to write it 2016-08-13T16:34:35Z sjl: hence trying to macroexpand an iterate driver 2016-08-13T16:35:48Z jackdaniel: I think I've seen somewhere map-array, but it's not in the alexandria 2016-08-13T16:38:18Z sjl: I want an iterate driver so I can combine it with all the other nice iterate stuff 2016-08-13T16:39:35Z jackdaniel: yes, I understand, just saying that you could use it in your iterate driver 2016-08-13T16:39:43Z jackdaniel: but I can't remember where I saw it :( 2016-08-13T16:40:11Z eivarv quit (Quit: Sleep) 2016-08-13T16:40:37Z sjl: yeah doesn't seem to be in alexandria or quickutils :( 2016-08-13T16:41:39Z fourier joined #lisp 2016-08-13T16:42:12Z zygentoma^zwokz quit (Ping timeout: 240 seconds) 2016-08-13T16:42:13Z jackdaniel: fwiw there is http://stackoverflow.com/questions/4116069/lisp-multidimensional-array-elementwise-operations 2016-08-13T16:42:23Z eivarv joined #lisp 2016-08-13T16:43:00Z jackdaniel: fwiw – does it mean "for what it's worth" or "for what I've witnessed"? it just occured to me that both expansions are possible (I meant the former) 2016-08-13T16:43:36Z zygentoma^zwokz joined #lisp 2016-08-13T16:43:45Z sjl: the first 2016-08-13T16:43:55Z jackdaniel: thanks 2016-08-13T16:44:40Z sjl: yeah all three of those ways just map over the values, without binding the indices 2016-08-13T16:44:53Z sjl: my use case is I have an array of tiles that I want to draw on the screen 2016-08-13T16:45:20Z sjl: so I want something like (iterate (for (contents x y) :in-array tiles) (draw-tile contents x y))) 2016-08-13T16:45:48Z papachan` quit (Quit: Leaving) 2016-08-13T16:49:44Z fourier: sjl: (loop for i from 0 below (length tiles) do (draw-title (nth i tiles) x (* i 50)) ? 2016-08-13T16:50:23Z sjl: fourier: I don't want to hard-code the row length in there... 2016-08-13T16:50:27Z jackdaniel: maybe something like this? http://paste.lisp.org/display/323049 2016-08-13T16:50:35Z jackdaniel: (it's just a sketch, probably doesn't work) 2016-08-13T16:50:40Z EvW joined #lisp 2016-08-13T16:50:45Z fourier: sjl: it is just an example, you have to calculate it :) 2016-08-13T16:51:06Z SamSkulls joined #lisp 2016-08-13T16:51:43Z fourier: or dotimes like jd mentioned 2016-08-13T16:51:51Z sjl: jackdaniel: that'll kinda work, but ideally I want it to work with any number of dimensions, and also support the (generate ...) iterate stuff 2016-08-13T16:52:14Z sjl: so the lisp iteration with (dotimes) won't work because it won't let you use iterate's generate 2016-08-13T16:52:50Z sjl: I can write the actual driver, I was just hoping there was a way to make the process fo writing drivers in general less painful by being able to macroexpand themn 2016-08-13T16:53:01Z jackdaniel: right 2016-08-13T16:53:07Z fourier: aah 2016-08-13T16:54:07Z quazimodo joined #lisp 2016-08-13T16:54:11Z quazimod1 joined #lisp 2016-08-13T16:59:05Z jleija joined #lisp 2016-08-13T17:01:00Z quazimod1 quit (Ping timeout: 244 seconds) 2016-08-13T17:01:33Z quazimodo quit (Ping timeout: 240 seconds) 2016-08-13T17:01:57Z asc232 joined #lisp 2016-08-13T17:02:15Z kobain joined #lisp 2016-08-13T17:02:54Z quazimodo joined #lisp 2016-08-13T17:03:34Z quazimod1 joined #lisp 2016-08-13T17:05:21Z wheelsucker joined #lisp 2016-08-13T17:07:59Z FreeBirdLjj quit (Remote host closed the connection) 2016-08-13T17:16:04Z asc232 quit (Remote host closed the connection) 2016-08-13T17:18:06Z jdtest2 joined #lisp 2016-08-13T17:18:56Z DeadTrickster joined #lisp 2016-08-13T17:19:28Z Meow_J quit (Quit: Connection closed for inactivity) 2016-08-13T17:20:07Z jdtest quit (Ping timeout: 244 seconds) 2016-08-13T17:21:20Z eivarv quit (Quit: Sleep) 2016-08-13T17:24:39Z sjl: my god, it's beautiful http://paste.lisp.org/display/323053 2016-08-13T17:25:32Z quazimod1 quit (Ping timeout: 265 seconds) 2016-08-13T17:25:52Z quazimodo quit (Ping timeout: 258 seconds) 2016-08-13T17:26:04Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-08-13T17:26:43Z klltkr joined #lisp 2016-08-13T17:27:02Z EvW quit (Ping timeout: 250 seconds) 2016-08-13T17:27:22Z quazimodo joined #lisp 2016-08-13T17:27:40Z quazimod1 joined #lisp 2016-08-13T17:27:55Z bdr3552 joined #lisp 2016-08-13T17:27:59Z EvW joined #lisp 2016-08-13T17:28:06Z sjl: jackdaniel: fourier: abandon all hope, ye who enter here http://paste.lisp.org/display/323053#1 2016-08-13T17:28:18Z unbalancedparen joined #lisp 2016-08-13T17:28:49Z sjl removes useless progn from macro 2016-08-13T17:28:53Z jdtest2 quit (Read error: Connection reset by peer) 2016-08-13T17:29:26Z jdtest joined #lisp 2016-08-13T17:30:48Z jackdaniel: :-) 2016-08-13T17:30:48Z EvW1 joined #lisp 2016-08-13T17:31:29Z klltkr quit (Ping timeout: 244 seconds) 2016-08-13T17:32:14Z EvW quit (Ping timeout: 250 seconds) 2016-08-13T17:32:15Z EvW1 is now known as EvW 2016-08-13T17:33:02Z cagomez quit (Remote host closed the connection) 2016-08-13T17:33:26Z Karl_Dscc quit (Remote host closed the connection) 2016-08-13T17:34:03Z sjl: even works with zero-dimensional arrays, though it does produce some unused var warnings 2016-08-13T17:34:27Z tmtwd joined #lisp 2016-08-13T17:34:33Z sjl: actually I should fix those 2016-08-13T17:34:52Z sjl: then you could just say (for (val) :in-array foo) if you don't care about the indexes 2016-08-13T17:34:59Z eivarv joined #lisp 2016-08-13T17:40:48Z fourier quit (Ping timeout: 276 seconds) 2016-08-13T17:43:17Z jackdaniel: sounds very nice 2016-08-13T17:43:25Z jackdaniel: does iterate have some iterate-extras repository? 2016-08-13T17:43:46Z jackdaniel: well done 2016-08-13T17:43:55Z knobo: I forkeed cl-cron. 2016-08-13T17:44:01Z knobo: Maybe I should change it's name 2016-08-13T17:44:10Z Bike joined #lisp 2016-08-13T17:44:35Z merge joined #lisp 2016-08-13T17:44:38Z sjl: jackdaniel: I've gota bunch of iterate stuff in my little utils library 2016-08-13T17:44:59Z sjl: https://github.com/sjl/cl-losh/blob/master/losh.lisp#L389 2016-08-13T17:44:59Z eivarv quit (Quit: Sleep) 2016-08-13T17:45:00Z jackdaniel: maybe it would be nice to clean them up in one lib 2016-08-13T17:45:08Z jackdaniel: iterate/extras for instance 2016-08-13T17:45:13Z sjl is particularly fond of the averaging and timing iterate clauses 2016-08-13T17:45:41Z sjl: (iterate (timing real-time since-start-into total per-iteration-into current) ...) 2016-08-13T17:45:55Z knobo: Is 2016-08-13T17:45:57Z Arathnim: sjl: That sounds amazing. 2016-08-13T17:46:02Z knobo: is Mackram Raydan evher here? 2016-08-13T17:46:16Z Arathnim: Where can I get the source for those? 2016-08-13T17:46:19Z ghsk joined #lisp 2016-08-13T17:46:24Z sjl: Arathnim: the link I just pasted :) 2016-08-13T17:46:57Z Arathnim: Whoops, missed it entirely. Thanks :P 2016-08-13T17:47:14Z merge quit (Client Quit) 2016-08-13T17:47:15Z wccoder joined #lisp 2016-08-13T17:47:30Z sjl: (iterate (timing run-time :per-iteration-into time) (averaging time :into average-time) ...do some heavy stuff... (finally (format t "Average loop time ~a" average-time))) 2016-08-13T17:48:18Z sjl: I need to add docstrings for these drivers 2016-08-13T17:51:09Z eivarv joined #lisp 2016-08-13T17:51:36Z wccoder quit (Ping timeout: 258 seconds) 2016-08-13T17:51:59Z DeadTrickster quit (Read error: Connection reset by peer) 2016-08-13T17:52:02Z wtetzner joined #lisp 2016-08-13T17:52:30Z DeadTrickster joined #lisp 2016-08-13T17:53:32Z EvW quit (Ping timeout: 240 seconds) 2016-08-13T17:57:03Z wtetzner quit (Ping timeout: 240 seconds) 2016-08-13T18:04:32Z quazimodo quit (Ping timeout: 240 seconds) 2016-08-13T18:05:15Z quazimod1 quit (Ping timeout: 264 seconds) 2016-08-13T18:05:28Z DavidGu joined #lisp 2016-08-13T18:06:31Z carleos joined #lisp 2016-08-13T18:06:56Z test1600_ quit (Read error: Connection reset by peer) 2016-08-13T18:07:23Z test1600_ joined #lisp 2016-08-13T18:07:55Z EvW joined #lisp 2016-08-13T18:08:01Z Petit_Dejeuner quit (Ping timeout: 244 seconds) 2016-08-13T18:11:21Z peey joined #lisp 2016-08-13T18:13:45Z wallyduchamp joined #lisp 2016-08-13T18:21:06Z sellout- joined #lisp 2016-08-13T18:21:54Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-13T18:27:49Z DavidGu quit (Ping timeout: 244 seconds) 2016-08-13T18:28:51Z eivarv quit (Quit: Sleep) 2016-08-13T18:29:12Z gravicappa quit (Ping timeout: 240 seconds) 2016-08-13T18:29:39Z sellout- quit (Quit: Leaving.) 2016-08-13T18:31:25Z carleos quit (Ping timeout: 244 seconds) 2016-08-13T18:34:46Z eivarv joined #lisp 2016-08-13T18:37:07Z nisstyre joined #lisp 2016-08-13T18:37:11Z nisstyre quit (Changing host) 2016-08-13T18:37:11Z nisstyre joined #lisp 2016-08-13T18:37:26Z jleija quit (Quit: leaving) 2016-08-13T18:38:25Z NeverDie joined #lisp 2016-08-13T18:40:59Z eSVG joined #lisp 2016-08-13T18:42:29Z fourier joined #lisp 2016-08-13T18:42:47Z wallyduchamp quit (Remote host closed the connection) 2016-08-13T18:44:28Z oleo joined #lisp 2016-08-13T18:48:06Z grimsley quit (Read error: Connection reset by peer) 2016-08-13T18:49:08Z grimsley joined #lisp 2016-08-13T18:49:19Z sjl: I added docstrings for the drivers... 2016-08-13T18:49:26Z sjl emerges from rabbit hole 2016-08-13T19:00:06Z peey quit (Quit: Page closed) 2016-08-13T19:02:15Z fourier quit (Ping timeout: 264 seconds) 2016-08-13T19:02:27Z tristero quit (Ping timeout: 250 seconds) 2016-08-13T19:03:19Z tmtwd quit (Ping timeout: 260 seconds) 2016-08-13T19:11:41Z BlueRavenGT joined #lisp 2016-08-13T19:12:24Z attila_lendvai joined #lisp 2016-08-13T19:17:06Z drmeister: How do people work with adjustable arrays? 2016-08-13T19:18:05Z drmeister: Let's say I want to load a table with an unknown number of rows - I'd like to use a two-dimensional array where the columns are the fields and the rows are the rows of the table on successive lines of the file I'm loading the table from. 2016-08-13T19:18:45Z drmeister: I have to explicitly keep adjusting the size of the array to create space for the incoming rows but I don't want to do it for every line - that would be slow. 2016-08-13T19:19:46Z drmeister: Should I start with a reasonable sized array (256 rows) and keep doubling the number of rows (using adjust-array) when I run out and then at the end do an adjust-array to set the array to the final size? 2016-08-13T19:20:48Z Grue``: I think a sufficiently smart implementation might do the doubling by itself 2016-08-13T19:21:16Z Xizor joined #lisp 2016-08-13T19:21:18Z Grue``: or else using vector-push-extend would be very inefficient 2016-08-13T19:27:14Z Josh2 joined #lisp 2016-08-13T19:28:59Z Bike: vector-push-extend takes an extension argument, so you could just have it be the length 2016-08-13T19:29:17Z Bike: though it might be the default 2016-08-13T19:30:52Z phoe quit (Ping timeout: 252 seconds) 2016-08-13T19:33:31Z drmeister: Does vector-push-extend work with 2d arrays? 2016-08-13T19:43:18Z Grue``: vectors can be only 1d arrays 2016-08-13T19:47:27Z EvW quit (Ping timeout: 250 seconds) 2016-08-13T19:48:32Z Bike: wait, what is "the final size" 2016-08-13T19:48:41Z Bike: if not just whatever fits 2016-08-13T19:49:02Z lisp248 quit (Ping timeout: 264 seconds) 2016-08-13T19:49:34Z shka_ quit (Ping timeout: 252 seconds) 2016-08-13T19:51:49Z cagomez joined #lisp 2016-08-13T19:53:20Z unbalancedparen quit (Quit: WeeChat 1.5) 2016-08-13T19:58:35Z DeadTrickster quit (Read error: Connection reset by peer) 2016-08-13T20:01:07Z EvW joined #lisp 2016-08-13T20:02:26Z mathi_aihtam joined #lisp 2016-08-13T20:07:49Z bdr3552 left #lisp 2016-08-13T20:10:48Z DeadTrickster joined #lisp 2016-08-13T20:10:50Z eSVG quit (Ping timeout: 250 seconds) 2016-08-13T20:19:22Z m00natic quit (Remote host closed the connection) 2016-08-13T20:20:22Z lemoinem quit (Ping timeout: 252 seconds) 2016-08-13T20:20:39Z knicklux joined #lisp 2016-08-13T20:21:22Z shymega quit (Quit: (let ((quit #f)) (when quit (display "Quitting..\n")))) 2016-08-13T20:21:48Z shymega joined #lisp 2016-08-13T20:26:06Z al-damiri joined #lisp 2016-08-13T20:27:54Z wooden_ quit (Ping timeout: 260 seconds) 2016-08-13T20:29:13Z Carisius quit (Remote host closed the connection) 2016-08-13T20:32:06Z wooden_ joined #lisp 2016-08-13T20:34:02Z wheelsucker quit (Read error: No route to host) 2016-08-13T20:34:54Z scymtym joined #lisp 2016-08-13T20:36:13Z wtetzner joined #lisp 2016-08-13T20:36:42Z lemoinem joined #lisp 2016-08-13T20:38:48Z josemanuel joined #lisp 2016-08-13T20:39:08Z knicklux quit (Quit: Leaving) 2016-08-13T20:43:26Z pierpa joined #lisp 2016-08-13T20:46:48Z ghsk quit (Quit: leaving) 2016-08-13T20:47:17Z ggole_ joined #lisp 2016-08-13T20:47:18Z wooden_ quit (Ping timeout: 244 seconds) 2016-08-13T20:48:14Z cagomez quit (Remote host closed the connection) 2016-08-13T20:49:12Z drmeister: The final size is the number of rows that I read from the file. 2016-08-13T20:49:37Z drmeister: The data looks like this: 2016-08-13T20:49:44Z drmeister: https://www.irccloud.com/pastebin/l7B6iotn/ 2016-08-13T20:50:23Z ggole quit (Ping timeout: 265 seconds) 2016-08-13T20:50:30Z drmeister: I read the file line by line. When I hit an !entry.xxx I use the "table str name ..." info to construct a 2d array to store the table. 2016-08-13T20:51:00Z drmeister: I don't know at the start how many lines like: "HH31" "HC" 0 1 131072 1 1 0.076010 I will see before I hit the next !entry... line. 2016-08-13T20:51:39Z drmeister: Currently I use a vector of vectors and vector-push-extend for each line of data. 2016-08-13T20:52:07Z drmeister: But a 2D array would be more efficient. Some of these are large solvent boxes and a vector of vectors would be better represented using a 2D array. 2016-08-13T20:52:23Z drmeister: Perhaps it's a premature optimization. 2016-08-13T20:54:22Z drmeister: But I thought if I (make-array '(<#fields> 256) :adjustable t) and then use (adjust-array...) to make it larger in big steps every time I fill it up then I could use a 2D array. 2016-08-13T20:56:18Z wtetzner quit (Remote host closed the connection) 2016-08-13T20:58:38Z dim: drmeister: load into statically sized arrays, grow a collection of them, and concatenate them at the end 2016-08-13T20:59:05Z dim: drmeister: https://github.com/qitab/qmynd/blob/master/src/wire-protocol/wire-packet.lisp#L209 2016-08-13T20:59:47Z drmeister: Oh yes - that's a good idea - I've never seen that before. 2016-08-13T21:00:04Z vlatkoB quit (Remote host closed the connection) 2016-08-13T21:00:10Z dim: stassats has good ideas like that ;-) 2016-08-13T21:02:30Z drmeister: Maybe I don't even need to concatenate them at the end. I only have to iterate over their contents. I could write an iterator that would leap from one subarray to the next. 2016-08-13T21:06:15Z dim: that's about what we do in the qmynd MySQL driver, reading over the socket as needed, except for the case of runaway data that we need to fetch now and that is using the concatenate vector idea 2016-08-13T21:06:42Z dim: as a driver tho there 2016-08-13T21:06:44Z dim: oops 2016-08-13T21:07:05Z dim: as a driver tho there's something appealing in only keeping a low number of bytes at a time needed in memory 2016-08-13T21:07:26Z cagomez joined #lisp 2016-08-13T21:10:18Z modula joined #lisp 2016-08-13T21:11:10Z defaultxr quit (Ping timeout: 265 seconds) 2016-08-13T21:11:10Z modula is now known as defaultxr 2016-08-13T21:11:14Z josemanuel quit (Quit: Me voy) 2016-08-13T21:15:28Z gingerale quit (Remote host closed the connection) 2016-08-13T21:16:02Z wtetzner joined #lisp 2016-08-13T21:19:19Z Xizor quit (Read error: Connection reset by peer) 2016-08-13T21:20:07Z pmden quit (Remote host closed the connection) 2016-08-13T21:25:53Z [1]ringer1 joined #lisp 2016-08-13T21:27:07Z ringer1 quit (Ping timeout: 265 seconds) 2016-08-13T21:27:07Z [1]ringer1 is now known as ringer1 2016-08-13T21:27:52Z wooden_ joined #lisp 2016-08-13T21:29:48Z DeadTrickster_ joined #lisp 2016-08-13T21:32:21Z DeadTrickster quit (Read error: Connection reset by peer) 2016-08-13T21:32:45Z DeadTrickster joined #lisp 2016-08-13T21:34:33Z DeadTrickster_ quit (Ping timeout: 240 seconds) 2016-08-13T21:39:01Z scymtym quit (Ping timeout: 252 seconds) 2016-08-13T21:41:22Z grimsley quit (Quit: Leaving) 2016-08-13T21:41:29Z fourier joined #lisp 2016-08-13T21:48:39Z wccoder joined #lisp 2016-08-13T21:50:16Z l22 joined #lisp 2016-08-13T21:52:36Z Dvorak joined #lisp 2016-08-13T21:53:19Z wccoder quit (Ping timeout: 252 seconds) 2016-08-13T21:58:37Z carleos joined #lisp 2016-08-13T22:01:09Z andrei-n quit (Ping timeout: 258 seconds) 2016-08-13T22:07:43Z fourier quit (Ping timeout: 265 seconds) 2016-08-13T22:13:26Z ggole_ quit 2016-08-13T22:15:45Z andrei-n joined #lisp 2016-08-13T22:17:53Z tanuzzo quit (Quit: PanicBNC - http://PanicBNC.net) 2016-08-13T22:19:19Z kobain quit (Ping timeout: 260 seconds) 2016-08-13T22:19:35Z eSVG joined #lisp 2016-08-13T22:23:14Z l22 quit (Ping timeout: 264 seconds) 2016-08-13T22:25:18Z angavrilov quit (Remote host closed the connection) 2016-08-13T22:30:21Z klltkr joined #lisp 2016-08-13T22:30:59Z phax joined #lisp 2016-08-13T22:40:59Z p_l quit (Ping timeout: 244 seconds) 2016-08-13T22:41:38Z tanuzzo joined #lisp 2016-08-13T22:42:01Z wtetzner quit (Remote host closed the connection) 2016-08-13T22:43:21Z wtetzner joined #lisp 2016-08-13T22:43:52Z p_l joined #lisp 2016-08-13T22:44:59Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-13T22:46:51Z cagomez quit (Remote host closed the connection) 2016-08-13T22:47:34Z phax quit (Quit: phax) 2016-08-13T22:47:43Z Karl_Dscc joined #lisp 2016-08-13T22:55:21Z John[Lisbeth] quit (Remote host closed the connection) 2016-08-13T22:59:56Z kobain joined #lisp 2016-08-13T23:00:04Z kobain quit (Excess Flood) 2016-08-13T23:00:30Z kobain joined #lisp 2016-08-13T23:01:11Z Dvorak quit 2016-08-13T23:11:39Z strelox quit (Ping timeout: 276 seconds) 2016-08-13T23:23:24Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-13T23:34:58Z jleija joined #lisp 2016-08-13T23:44:35Z Josh2 quit (Remote host closed the connection) 2016-08-13T23:48:03Z aries_liuxueyang quit (Ping timeout: 240 seconds) 2016-08-13T23:52:06Z Trystam joined #lisp 2016-08-13T23:53:12Z aries_liuxueyang joined #lisp 2016-08-13T23:54:52Z tristam__ quit (Ping timeout: 244 seconds) 2016-08-13T23:56:31Z carleos quit (Ping timeout: 252 seconds)