2023-09-27 SEP
Journal Club
WebLexis 1st hack
the neighborhood
http://cran.nexr.com/web/packages/LexisPlotR/vignettes/LexisPlotR.html
The webgen collaborative example: https://github.com/web4bio/webgen
Hackathon
In-browser Transformers (Aaron)
Aaron's grand finale :-)
Quarto and Posit feedback (anyone who got an account from George Zaki)
https://rstudio-connect-dev.cancer.gov/connect
...
Try examples and discuss I/O dev into a blind alley ?
WASM enabled multi-language scripting
Using pyscript as an example, and an excuse to visit scripting envs (snippets, content scripting etc) in devtools.
Note how this ovelaps with Quarto multi-language support
Connect report processing
It there isn't time we move it to Friday FAIR
https://rstudio-connect-dev.cancer.gov/connect
Notes
pyscript
check examples in https://pyscript.net and note
<py-script> ...</py-script>.
implementation
oI have a question - when I start using it, say ...
ps = (await import("https://esm.sh/pyscript@1.0.6")).Pyscript
I'm immediatly tempted to use ps as ... a JS library :-D , i.e.
ps.max([1,2,3,4,5,6,7,6,5,4,3])
This is more convenient than, say,
[1,2,3,4,5,6,7,6,5,4,3].reduce((a,b)=>Math.max(a,b))
so my question is if regular users won't slide to loading language interpreters for the convenience of calling specific methods, which they might otherwiese have called from a js object where, say
js={max:x=>x.reduce((a,b)=>Math.max(a,b))}
which would cause
js.max([1,2,3,4,5,6,7,6,5,4,3])
to produce just the same "7" result, and potentially more efficiently (no need to load interpreter, potential advantages of functional patterns triggering parelelization, etc