freenode/#lisp - IRC Chatlog
Search
1:09:10
aeth
pjb: okay, I fixed the accessor name and simplified the destructuring. https://gitlab.com/zombie-raptor/zombie-raptor/blob/a6b92a4ed50ad49cf709604bd15def274a3b97f5/entity/entity.lisp#L166-224
1:18:04
aeth
I think the big loop is more readable if I can replace the append, with the possible exception of the boolean-set part, which I could just spin off into a function and put at the top of the loop in another :with
1:18:39
pjb
But it may (reload it I missed the bindings function) be easier to read, since the naming of the important data is clearer in the let* form, and we can abstract away parts such as the bindings function (we could do the same for array-bindings and boolean-set); those functions could be reusable, etc.
1:19:31
aeth
pjb: Well, in one intermediate step I had the loop return multiple values into a multiple-value-bind. It seemed kind of pointless, *but* if I moved the loop into a separate function, it could be cleaner
1:19:45
pjb
The thing is that by writing separate loops, you can extract the computing of each list in a separate function.
1:25:44
pjb
Actually, I've got a backup of lisppaste with almost all of them. And scanning the irc logs, I could recover almost all the other urls…
1:26:20
aeth
pjb: How about this for now? https://gitlab.com/zombie-raptor/zombie-raptor/blob/69615bd70dae5627096702ee0a7e2a3564fd07de/entity/entity.lisp#L164-228
1:28:03
aeth
array-bindings is the non-trivial part I have to figure out how to deal with (whether in its own loop or not).
1:48:43
aeth
With the reduce in its own function. https://gitlab.com/zombie-raptor/zombie-raptor/blob/4d0f226962d3c699ebc3fe3f208b5fd7b5e09bfa/entity/entity.lisp#L166-235
4:15:12
drmeister
Say I have a vector of some number type and I want to convert it to a vector of single-floats - I have to convert the elements one by one - right?
5:32:43
beach
SaganMan: I am fine, thank you. I have been making excellent progress on bootstrapping the past few days. What about you?
5:34:38
SaganMan
beach: I'm in my family business. It's real estate and construction. We take land for development and construct apartments.
5:37:38
SaganMan
beach: We don't usually do projects on that grand scale. That is the biggest investment in mine and my father's life. It looks impressive but it's great risk and stress.
6:20:48
no-defun-allowed
well my ffmpeg interface is still shitslow at 4fps but the videos aren't broken now
11:26:09
makomo
pjb: i managed to find one occurence of the (4) (3) ordering, https://www.hexstreamsoft.com/libraries/place-utils/#funcallf-applyf
11:26:38
makomo
granted, funcallf is just _f in disguise, but the evaluation order has been explictily documented (and therefore thought through)
12:14:41
adlai
"risk and stress" ... yep, that sounds like components of the construction Hamiltonian. story checks out!
12:48:12
phoe
I'm running code that's fifteen years old and the only thing that was really required is fixing it to use ASDF.
12:52:05
_death
phoe: check copyright date range @ https://bitbucket.org/dfmorrison/roan/src/e43b5ae8af0aba6930f0183a4afbc7e3e004da1e/roan.lisp?at=master&fileviewer=file-view-default