Jon Clayden

52 Followers
107 Following
135 Posts
Developmental neuroscientist at UCL Inst of Child Health. European. Liberal Democrat. Neuroimaging, R, data science, language, EDI, education, politics. He/him
Home pagehttps://www.clayden.org

docopt (http://docopt.org) is neat, but this heuristic (highlighted) seems very odd to me.

Since most options are optional(!), isn’t it easy enough to distinguish “[-i] ARG” or “[-i] [ARG]” from “[-i ARG]”?

Is there really no way to cajole docopt (for R) into handling argument-free options without forgoing self-documentation? Even “[ARG] [-i]” appears not to work… 🤔

docopt—language for description of command-line interfaces

Fellow #rstats package devs, please save me from myself. Why are the tests for this package, which doesn’t use OpenMP, using 250%+ CPU unless OMP_NUM_THREADS is set? This is rocker/r-devel (Debian/GCC based) on Docker, and no test parallelism is requested. Only dependency is Rcpp

If you use #rstats from the terminal regularly, and you have bat installed (https://github.com/sharkdp/bat), you can get syntax highlighting, line numbering and paging for function source with a simple one-liner in .Rprofile:

print.function <- function (x, ...) cat(deparse(x), file=pipe("bat -l r -n"), sep="\n")

GitHub - sharkdp/bat: A cat(1) clone with wings.

A cat(1) clone with wings. Contribute to sharkdp/bat development by creating an account on GitHub.

GitHub
@caseyliss I know this is pedantic, but actors’ role dates are given for the start of TV series they’re in, not their appearances. Rachel House is only in S2 of Foundation (2023), but it is listed for her under 2021. Is this an upstream limitation?

Delighted to bring a brain image to the cover of a haematology journal 😊

In this new paper we show how characteristics of brain structure mediate the link between peripheral oxygen saturation and processing speed in patients with sickle cell disease

https://doi.org/10.1182/bloodadvances.2021006751

Structural connectivity mediates the relationship between blood oxygenation and cognitive function in sickle cell anemia

Key Points. Patients with sickle cell disease have weakened brain white matter connectivity compared with control subjects.Weakened connectivity mediates the re

American Society of Hematology
Such an effective cover, and an important topic. We must work to make access to #research and its benefits more equitable. Conclusions drawn from convenience samples are unlikely to generalise well, and could be actively misleading https://www.nature.com/articles/s41593-022-01218-y
Confronting racially exclusionary practices in the acquisition and analyses of neuroimaging data - Nature Neuroscience

The use of field-standard approaches in neuroscience and psychology can exclude participants from research, biasing our understanding of brain–behavior relations. Here the authors discuss how we might address inequity in our scientific methodology.

Nature