Advertisement · 728 × 90

Posts by Carlo Debernardi

Yes, JS is pain but cytospace is nice. The one time I needed it I ended up writing a python function to generate the data structure to feed into it rather than working directly in JS

6 days ago 2 0 0 0

Yeah, it's crazy, I didn't anticipate it either!

1 week ago 1 0 0 0

She sure runs more than me, 200km in less than a month!

1 week ago 2 0 1 0

I installed a counter on my hamster's wheel and I record distance and activity time every morning

1 week ago 1 0 1 0
Occupational injuries and Poisson thinning - Carlo Debernardi Just another academic personal webpage

I had some fun familiarizing with count models in Stan. Thinning a Poisson distribution is pretty nice!

carlodebernardi.github.io/writings/occ...

4 weeks ago 0 1 0 0

Fully agree. Still, my grandparents experienced this dramatic improvements during their lifetime. I was born in the '90s and, except for some areas, my experience is at best one of stagnation. Might be that the delta, on top of the absolute value, plays a role in shaping our views...

4 months ago 2 0 0 0

So true though. I taught programming stuff a bunch of times and students are mostly ok, usual typos etc. Enter absolute and relative paths to external files and they just crash

7 months ago 2 0 0 0

Also, yeah, the usage doesn't make a ton of sense in the case you are describing

7 months ago 1 0 1 0
Advertisement

Definitely not straightforward if you don't know about it and it's not explained. But allows you to iterate over unique values (keys) and it's even better since default dicts are order-preserving (used to not be the case). Choosing the name of the iterating variable to be descriptive might help btw

7 months ago 1 0 1 0

Super practical once you wrap your head around it though!

7 months ago 0 0 1 0
Carlo Debernardi Just another academic personal webpage

Dropped some random thoughts about crowdsourced peer-review after reading a recent great paper by @lastpositivist.bsky.social

carlodebernardi.github.io/writings/pee...

9 months ago 0 0 0 0