Search
Sunday, 3rd of November 2019, 20:24:59 UTC
20:33:01
_death
there's also :initial-contents, but has the same issue with length
20:34:01
Shinmera
last I looked at it for whatever reason make-array/replace was faster than initial-contents
20:34:19
Shinmera
might have changed/be different on non-sbcl
20:39:55
_death
but confirmed here.. for a 1m elements simple-vector it takes about 3.802 ms for initial-contents vs. 3.236 ms for replace
20:42:00
Shinmera
my guess is that supplying initial-contents hits a slow path on transforms.
20:43:23
_death
takes around the same time with speed 3 though
20:43:38
pjb
Why not (defun make-array (…) … (when initial-contents (replace array initial-contents))) which should be as fast? (modulo recursion into the dimensions).
20:53:58
aeth
It depends on what the initial-contents are, of course. If they're a literal list, I think you hit the fast path, at least on SBCL
21:25:42
random-nickname
** NICK random-nick
23:27:52
v0|d
is there a way to use an old version of nvidia driver?
23:28:17
v0|d
I've overriden nvidia_x11 package in an overlay, it didn't work.
23:29:24
LdBeth
v0|d: #gentoo is three blocks away
23:37:39
LdBeth
v0|d: anyway. Try unmerge drive -> mask new version -> emerge again
23:38:24
v0|d
LdBeth: defintely I'm on the wrong channel :p
0:12:46
blondiee354
how to solve this error
0:12:50
blondiee354
here is the paste link
0:12:50
blondiee354
https://bitlylink.com/wj3kY
0:13:34
no-defun-allowed
blondiee354: This isn't a Lisp program.
0:14:00
no-defun-allowed
But you did spell Central wrong.
5:00:07
beach
Good morning everyone!
5:19:12
ArthurStrong
(map good-morning everyone)
5:19:55
no-defun-allowed
#scheme is that way →
5:20:08
no-defun-allowed
(map 'nil #'good-morning everyone)
5:21:41
ArthurStrong
ACTION schemer indeed
5:26:23
pjb
(map nil (function good-morning) everyone)
5:26:54
pjb
or 'list if you expect a list of answers…
7:47:03
jackdaniel
if you do not care about the result, it shall be (mapc #'good-morning everyone)
7:47:46
no-defun-allowed
What if everyone isn't a list?
7:48:27
jackdaniel
What if everyone isn't a sequence?
7:48:37
jackdaniel
What if everyone isn't a bound symbol?
7:51:08
ck_
I prefer to be neither symbol nor bound.
7:51:24
no-defun-allowed
(do-all-people (person) (good-morning person))
7:55:34
beach
If people here are bored, and are looking for things to do, I think I can come up with some tasks for them. :)
7:57:21
Duuqnd
Well, I'm trying to get text rendering to work in my game engine, so I've got plenty to do.
7:58:36
ck_
idle chat is the well from which we refill our motivation, beach. Don't take it away please
7:58:39
no-defun-allowed
I'm not bored, just taking a break from deciding how to hide disk serialisation stuff with macros.
8:00:14
jackdaniel
Duuqnd: take a look at cl-vectors for ttf font handling
8:00:32
Duuqnd
Thanks, I'll take a look.
8:00:56
Duuqnd
I've been using cl-sdl2-ttf so far, but it's not being cooperative at the moment.
8:02:31
no-defun-allowed
beach: Have you come up with any new projects?
8:07:20
ArthurStrong
Has anyone seen good examples of MuD written in lisp or interactive fiction (like adventure)?
8:07:25
ArthurStrong
I'm sure someone did it
8:07:42
jackdaniel
ArthurStrong: I'd ask on #lispgame channel
8:08:02
jackdaniel
they have regular game jams, I'm sure someone ended up with a mud
8:08:03
ArthurStrong
jackdaniel: if it would exist...
8:08:18
jackdaniel
#lispgames , sorry
8:08:33
Duuqnd
Zork was written a Lisp dialect.
8:08:37
ArthurStrong
jackdaniel: OIC, thanks
8:08:46
jackdaniel
it is a vibrant community with their own wikis etc
8:09:51
aeth
#lispgame doesn't exist because there's more than one game!
8:13:47
ck_
beach: it sounded like a half joke (you do curate a list of sicl-related tasks), so I made one in return :)
8:14:13
beach
no-defun-allowed: You mean in addition to the ones on my list of suggested projects? metamodular.com/Common-Lisp/suggested-projects.html ?
8:14:22
beach
no-defun-allowed: Not really no.
8:23:54
Duuqnd
beach: That list has some interesting stuff on it. I might try doing one of those projects some day.
8:24:34
beach
Great! When you do, please don't hesitate to ask me about them.
Monday, 4th of November 2019, 8:24:59 UTC