eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

217
active users

#quarto

3 posts3 participants1 post today

#quarto #rstats friends who use github action to publish articles:

it's currently taking github actions ~30 mins to publish my little #mgcv help site (calgary.converged.yt/). This seems to be because it's installing a lot of R packages from source.

What's the current state-of-the-art to get these things to render quickly? (And using minimal power.)

(I'd like to not use github but I would also like to encourage PRs etc from folks without a huge overhead from them, so let's stick to github-based solutions for now.)

calgary.converged.ytYes! You can do that in mgcv – Yes! You can do that in mgcv!

A quick hack to show how to insert a #IIIf-Viewer in a #quarto html-doc:
```{html}
<script src="cdnjs.cloudflare.com/ajax/libs"></script>
<div id="openseadragon-viewer" style="width: 100%; height: 500px;"></div>
<script>
var viewer = OpenSeadragon({
id: "openseadragon-viewer",
prefixUrl: "cdnjs.cloudflare.com/ajax/libs",
tileSources: "heidicon.ub.uni-heidelberg.de/",
showNavigator: true,
});
</script>
```

Replied in thread

@Lluis_Revilla @noamross @gaborcsardi @ramikrispin

Quarto is not an R package @Lluis_Revilla :)

Anyhow, getting #quarto to run on Alpine was harder than anticipated 🤨

Also, 1.7 still uses deno v1. (The exact dependency versions are hard to infer in general)
Besides, deno itself is a mess on Alpine.
They have a dedicated image which is statically linked against a custom C lib which they put first in the LD_LIB path. This works for deno but breaks all other native Alpine binaries 😶

hub.docker.com/repository/dock

Source: codefloe.com/devxy/container-i

The image is not optimized and besides getting 'configure' to work, there's still work to do to bundle the resulting assets. The quarto dev instructions don't instruct on that and one needs to figure it out through the CI builds. But once that is done, it should be possible to get down in size.

I enjoyed writing my first blog post last weekend, so I thought I'd write another one. This one is about a #bash script that became a #Python script and is now a package. All because I was too lazy to label plates and tubes in the lab by hand. The post is mostly about the history and motivation behind the package, i.e. the stuff that does't really fit into the README

gl-eb.me/blog/posts/2025-05-25

Gleb EbertGenerating Printable Labels – Gleb Ebert
More from Gleb Ebert
#quarto#foss#Pypi