Fork me on GitHub
#clojure-uk
<
2020-06-15
>
dominicm06:06:17

Yeah. Maybe an event per trigger of something happening? Rather than per entity.

folcon11:06:00

Doesn’t that make an assumption that in general entities don’t do stuff? IE, have 1000 entities who don’t do anything each timestep, so should optimise on events as there are fewer of them vs say have 1000 entities that act each timestep better to call each entity directly? Although the event based approach means you can do stuff like have entities that only act every X timesteps and then ensure that they have some method of being fairly apportioned time, so that’s a win… The only problem is whether you could get gains from cache locality by reordering the evaluation. IE Entities that use the same chunk of data are computed at the same time to reduce how often that data needs to be loaded into the cache (no idea how this sort of thing works with clojure as I’m usually thinking at a different level of abstraction to this)

dominicm11:06:38

Maybe, but in that case you want to go really low level where you're buffering events, reading as much as possible for Xms and then making your own decisions.

folcon13:06:06

That’s a fair point, something for later then =)…

dharrigan07:06:15

Good Morning!

folcon10:06:11

Morn’ 😃

flefik11:06:49

Anyone reaping benefits from the newfound allowance to go shopping for non-essentials yet?

mccraigmccraig11:06:10

i've been sneakily buying chocolate and booze all the way through - although maybe those are essentials ?

flefik11:06:49

i believe they were both classified as essentials

flefik11:06:55

someone told me that booze was classified as essential because if those suffering from alcoholism cannot purchase their drink, it may lead to medical emergencies and additional load on the NHS

flefik12:06:05

dunno how true it is though

Ben Hammond13:06:36

yeah alcohol withdrawal can be extremely serious

dominicm12:06:37

don't forget the chocaholics.

alexlynham13:06:46

oh right, I've just been going shopping whenever I needed something since they changed the rules to 'boys will be boys' or whatever a few weeks back

6
alexlynham13:06:09

though admittedly that's still probably only twice a week haha

dominicm13:06:47

😂 omg, best characterization of the rules

alexlynham13:06:27

not mine I'm afraid, coined by one of my old uni housemates (a medic) in our big whatsapp chat

alexlynham13:06:38

but accurate I think haha

folcon19:06:20

Krell+microsoft’s new react native stuff looks really neat, but that setup does not look straightfoward… Anyone given it a kick?