594 private links
This solves a major shortcoming when authoring documents in Quarto or R Markdown that generate both PDF and HTML output. MathJax lets the author use LaTeX commands in the source that translate into proper output in the HTML, but before this work there was no support for siunitx
v3. This work can be said to take over where burnpanck/MathJax-siunitx left off.
To use it, I copied siunitx.js from its repo to my Quarto project and then made Quarto add it to the published site by setting resources: [ "path/to/siunitx.js" ]
in the project
dict. I also added the following to the top-level YAML:
format:
html:
html-math-method:
method: mathjax
url: "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"
include-in-header:
text: |
<script>
window.MathJax = {
loader: {
load: ['[custom]/siunitx.js', '[tex]/html'],
paths: { custom: './path/to/' }
},
tex: {
packages: { '[+]': ['siunitx', 'html'] },
siunitx: {
'per-mode': 'power'
}
}
};
</script>
And that should give you siunitx
v3 commands in Quarto :-)
Of course unless you put the siunitx
macros inside dollar signs they will simply be ignored by pandoc
in the HTML output, but that's a small price to pay for maintaining a single source that produces both PDF and HTML while still letting you use almost all siunitx
macros.
- https://github.com/limefrogyank/siunitx-pcc
- https://github.com/quarto-dev/quarto-cli/discussions/6168#discussioncomment-11545200
- https://github.com/mathjax/MathJax-third-party-extensions/issues/47
- https://github.com/burnpanck/MathJax-siunitx/issues/14
- https://github.com/burnpanck/MathJax-siunitx/issues/13
- https://old.reddit.com/r/LaTeX/comments/1bj8p7c/whats_your_experience_transitioning_to_quarto/m1p0m4p
git commit -a
(or git commit --all
) automatically stages files that have been modified.
Some of my repos now include git hooks that would be completely negated if my git commit command message auto-stages everything.
Authored by Damien Irving, Kate Hertweck, Luke Johnston, Joel Ostblom, Charlotte Wickham, and Greg Wilson.
I learned a lot, and you should come back to it for more, especially the chapter on building CLI tools with Python.
All their advice is sound, except I do not agree that the MIT license should be recommended (which the authors argue based on the observation that "The last thirty years have shown that this restriction [of the GPL] isn’t necessary" which I cannot understand).
The book is a thorough walk-through that is sure to get most anyone up and running creating research software with Python and is beneficial to any researcher or research student curious about the Python programming language and the shell.
- Green Solvent Selection Tool by the OPEG group at the Department of Physics at Umeå University. Written in Python. With publication and source code.
[I will add more dashboards here as I (re)-discover them].
Our world is built up of roads and cars to get us to our destination! But what about cycling and even walking? Have we been brainwashed to think that the car is always king?
Via Krister Isaksson's blog, also see masto thread (both in Swedish).
Is there some tool(s) that can identify which Unicode character I am looking at? (Because it is not always possible to copy-paste...)
- https://shapecatcher.com (which reminds me of Detexify)
Bassam is a free Arab social network that allows you to join the Fediverse and escape from the dictatorial and oppressive social platform.
It runs on Rebased which is a a Fediverse backend written in Elixir, compatible with the Mastodon API.
I installed the Beeper Android app on my phone and gave it a try. You have to provide an email, fill in the confirmation code sent to it, and then you can choose a username (which will form your Matrix identity @username:beeper.com
, although the app never tells you this).
Already at this point I'm starting to get disappointed - I can sort of understand hiding the complexity of Matrix instances from beginners, but no where in the app's preferences/settings could I find the full name of the Matrix account it created for me. Also, you never to get to set a password for the account you just created, meaning you can't use it from other Matrix clients.
The major problem for me is that the app does not let you connect any other Matrix accounts. I already have another Matrix account - the whole point of Beeper is to centralize your chats, so why can't I add it?
Maybe the self-hosted Beeper will let you add more than one Matrix account?
Links and notes
- https://www.beeper.com
- https://old.reddit.com/r/beeper/comments/16kwrrp/how_do_i_use_beeper_in_other_matrix_clients a post in this thread suggests you can request your password from support or something (sounds sketchy to me).
- https://blog.rayberger.org/migrating-matrix-accounts
Nick Buraglio and Brian E. Carpenter have released their comprehensive, continuously revised and edited resource on IPv6: A free and open source IPv6 textbook.
https://blog.apnic.net/2024/10/24/a-free-and-open-source-ipv6-textbook
This is what the web is for.
Skip a few news cycles and read yourself.
Bra läsning för att påminna sig om solens, månens och planeternas rörelse på himlavalvet så som de upplevs från jorden.
Detta utbildningsprogram presenterar himlafenomenen som de ter sig för oss vanliga seende människor. Med ett i huvudsak geocentriskt perspektiv knyter det hela tiden an till vad läsarna direkt kan erfara.
With Python, you can just open a shell and quickly try out some code in a so-called REPL console. Guess what, you can do the same with Ansible. Browse your inventory, and even remote file systems in an interactive shell with
ansible-console
.
If you have installed Ansible via pip you already have this nifty tool installed.
I have invested some effort into Keycloak, but still not learnt enough about it to manage more than a single-user scenario.
The Authentik licenses look a bit complicated, though?
Via https://old.reddit.com/r/selfhosted/comments/1eohsds/best_self_hosted_authentication_solution
Excellent page listing their feeds, and not only their published articles but also separate feeds for submissions and announcements.
Code shared on https://git.scipost.org, although many repos are sparse or have not been updated in years.
They also have their own Mastodon instance, with an account for each field.
All in all, very impressive work by what appears to be primarily Dutch academics.
First heard about it from 4 gravitons.
Thanks to git log -1
it is trivial to view the latest commit in a repo, and combined with find ... -exec ...
we can easily do that for multiple repos at once (for example see my commits
bash function).
Turns out doing the same for the earliest commit in each repo is not at all trivial. Here is my approach (it should be said up-front that it's not pretty). But I wanted to get a handle on when I started working on some repos, and this pulled out the data I needed without having to do it manually for each individual repo.
taha@asks2:/media/bay/taha/projects/ansible/pub/roles
$ find . -maxdepth 2 -name ".git" -exec sh -c "git -C {} --no-pager log --all --pretty=format:\"%cs %h%d %s [%cn]\" | tail -n1" \; -exec printf " %s\n" {} \; | sort -n
2021-03-14 02506d4 Initial commit [taha] ./texlive/.git
2021-03-14 14ddd9a Initial commit [taha] ./desktop-tools/.git
2021-03-14 2bfe5bc Initial commit [taha] ./R/.git
2021-03-15 0c2deda Initial commit [taha] ./calibre-web/.git
2021-04-02 7a2bdb2 Initial commit [taha] ./iriun-webcam/.git
2021-04-13 167ef2d First commit [taha@asks2] ./shaarli/.git
2021-05-28 ca70e06 Initial commit [taha] ./wallabag/.git
2021-06-09 3d4891e Initial commit [taha] ./lxd-server/.git
The directory roles
contains a bunch of git repos (and possibly also a few folders that are not repos, which we exclude from find with -name ".git"
. Then for each repo, we list all commits (across all branches) using a custom format but then, importantly, only showing the last one which is the earliest commit.
To be able to tail this git command (and not the entire find command) we need to put it inside sh -c ...
.
Then we use a second exec statement to append the current directory name (so we can orient ourselves in the output) and then sort the entirety on the output (which thanks to our custom git format lists the commit date in the first column). Note that piping strips the colour from the git output, so no need to set colours in our pretty-format
.
- https://stackoverflow.com/questions/51376361/getting-commit-history-from-multiple-repositories-for-some-period
- https://stackoverflow.com/questions/5188914/how-to-show-the-first-commit-by-git-log (this approach with
git rev-list --max-parents
did not work in my case, not sure why) - https://andrewrea.co.uk/posts/git-log-over-multiple-repos
- https://stackoverflow.com/questions/50882822/view-logs-of-multiple-git-repositories
- https://stackoverflow.com/questions/6712423/how-do-i-count-the-number-of-commits-made-in-to-all-repos-hosted-by-gitosis-on-m
- https://stackoverflow.com/questions/49388069/what-does-git-log-1-do
- https://stackoverflow.com/questions/307015/how-do-i-include-a-pipe-in-my-linux-find-exec-command
- https://stackoverflow.com/questions/1371261/get-current-directory-or-folder-name-without-the-full-path
The collection spans from digitized copies of eighteenth century journals through the latest Open Access conference proceedings and preprints crawled from the World Wide Web.
Month-by-month moonsighting reports from around the world.
- Signal app and protocol (end-to-end encrypted by default, but centralized server, no federation)
- Matrix protocol (end-to-end encrypted, decentralized, federated, user gets to choose app to use)
- Delta Chat (I am not sure about this one, I know too little at the moment)
- Simplex Chat
Medfarm Play är en videoportal som skapats i samarbete mellan pedagoger och MedfarmDoIT.
Här kan du hitta tusetals undervisningsfilmer, många av dem indelade i ämnesspecifika kanaler.
Video recordings on many subjects from Uppsala University, such as Nobel lectures, doctoral conferment ceremonies, etc. Use the search function or browse the channels.