Johan Larsson's Avatar

Johan Larsson

@jolars.co

Postdoc in statistics at the Department of Mathematical Sciences, UCPH. Follow me at https://jolars.co.

54
Followers
83
Following
25
Posts
05.02.2025
Joined
Posts Following

Latest posts by Johan Larsson @jolars.co

Preview
GitHub - jolars/panache: A formatter for Pandoc, Quarto, and RMarkdown A formatter for Pandoc, Quarto, and RMarkdown. Contribute to jolars/panache development by creating an account on GitHub.

I've made an autoformatter, linter, and LSP for Quarto, Pandoc, and RMarkdown documents! It's still very much a work-in-progress; only the formatter is reaching something resembling a mature state. Check it out at https://github.com/jolars/panache

#pandoc #markdown #quarto #rmarkdown

12.02.2026 14:28 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Release SLOPE 2.0.0 Β· jolars/SLOPE Breaking Changes coef.SLOPE() with simplify = FALSE and intercept = TRUE now includes the intercepts as part of the returned list of coefficient matrices. New Features The plot.SLOPE() method no...

Just released the the SLOPE (the R package) version 2.0.0 πŸš€

Changes include modified behavior of `coef()`, new `refit()` method of cross-validation results, and a `summary()` method for SLOPE objects.

https://github.com/jolars/SLOPE/releases/tag/v2.0.0

28.01.2026 08:04 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
qualpal Automatically generate qualitative color palettes with distinct colors

Now also available as a python package!

pypi.org/project/qual...

15.01.2026 07:31 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

#pomodoro #linux #rust #productivity #waybar

12.01.2026 07:46 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Introducing Tomat: A Pomodoro Timer for Status Bars I’ve decided that the world needs yet another pomodoro timer. yapm was unfortunately already taken, so I named it after the Swedish tomato.

I’ve decided that the world needs yet another Pomodoro timer. yapm was unfortunately already taken, so I named it after the Swedish πŸ‡ΈπŸ‡ͺ tomato πŸ…: Tomat.

Tomat is designed specifically for status bars like waybar and polybar and only for linux.

https://jolars.co/blog/2026-01-12-tomat

12.01.2026 07:46 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
One of the new title pages of moloch, which uses a split layout.

One of the new title pages of moloch, which uses a split layout.

I just released moloch 2.1.0, with support for configuring the style of the title page!

At the moment, I've added two styles beyond the default: one mimicking the standard beamer style and one that uses a split style (see below).

12.01.2026 07:42 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Causal Graph Interface Create, query, and modify causal graphs. 'caugi' (Causal Graph Interface) is a causality-first, high performance graph package that provides a simple interface to build, structure, and examine causal relationships.

If you're working with causal graphs in R, then take a look at caugi, which is an R package by Frederik Fabricius Bjerre that I supervised the making of. It's blazing fast (built in Rust) and intuitive to work with.

https://caugi.org/

#causality #r #graphs

12.01.2026 07:41 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
What’s New in Moloch 2.0.0 I’m happy to announce the release of Moloch 2.0.0, with a redesigned color system, new themes, improved documentation, redesigned itemize lists, and various other refinements.

I have just released a major update of my Latex Beamer theme Moloch, featuring a revamped color system along with various other changes. I describe them in this blog post: https://jolars.co/blog/2025-12-05-moloch-v2/

#texlatex #beamer #presentations

12.01.2026 07:41 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Moloch - A Minimalist, Feature-Rich Beamer Theme Moloch is a minimalist, feature-rich Beamer theme for LaTeX presentations with a clean design and extensive customization options.

I've spent a bit of time updating the documentation for my LaTeX Beamer theme Moloch. In particular, it now contains documentation in the browser at https://moloch.ink ! Hopefully this makes it easier to discover and understand the available options for configuring the theme!

#texlatex #beamer

12.01.2026 07:41 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Qualpal My pet project Qualpal is now a stand-alone C++ library as well as web app and was just published in the Journal of Open Source Software!

My side project Qualpal was recently published in JOSS! πŸš€ In this blog post I talk about some of the recent changes the project, which is now not just an R package, but also a C++ library, a web app, and a CLI tool, has undergone.

https://jolars.co/blog/2025-10-22-qualpal/

#dataviz #r #cpp

12.01.2026 07:40 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preparing JOSS for a generative AI future: From code to human creativity and design | Journal of Open Source Software Blog Blog for the Journal of Open Source Software β€’ <a href='https://joss.theoj.org'>https://joss.theoj.org</a>

We've shipped a major update to the JOSS submission scope requirements, affecting what is eligible for submission and what information we require from authors.

You can read more about the changes and our motivations here: blog.joss.theoj.org/2026/01/prep... #joss #opensource #openscience

05.01.2026 12:31 πŸ‘ 18 πŸ” 14 πŸ’¬ 1 πŸ“Œ 3
An image of the new 'split' title page style, which uses two columns.

An image of the new 'split' title page style, which uses two columns.

I just released moloch 2.1.0, with support for configuring the style of the title page!

I've added two styles beyond the default: a standard beamer style and one that uses a split style (see below).

Full release notes are available at github.com/jolars/moloc...

#texlatex #beamer #presentations

19.12.2025 13:53 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Rubio orders return to Times New Roman font over 'wasteful' Calibri - BBC News The US State Department will be required to use Times New Roman instead of Calibri for official documents, starting 10 December.

Legibility is... woke?

www.bbc.com/news/article...

#calibri #trump #fonts

11.12.2025 08:12 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
What’s New in Moloch 2.0.0 I’m happy to announce the release of Moloch 2.0.0, with a redesigned color system, new themes, improved documentation, redesigned itemize lists, and various other refinements.

I have just released a major update of my Latex Beamer theme Moloch, featuring a revamped color system along with various other changes. I describe them in this blog post: jolars.co/blog/2025-12...

#texlatex #beamer #presentations

05.12.2025 17:09 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Yes, the documentation is not great, and I think using NaN was a bad idea from the start, but it has history going back a long time. Maybe `Undef` would have been a better idea.
I guess the difference between NaN and NA is actually well-defined, and the problem is more nomenclature + documentation?

03.12.2025 09:32 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Moloch Moloch is a functional and minimalist Beamer theme for LaTeX presentations. It tries to keep things simple while still providing a flexible and modern design.

I've spent a bit of time updating the documentation for my LaTeX Beamer theme Moloch. In particular, it now contains documentation in the browser at moloch.ink! Hopefully this makes it easier to discover and understand the available options for configuring the theme!

#texlatex #beamer

03.12.2025 08:34 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

The {colorize} πŸ“¦ now on CRAN
github.com/friendly/col...

28.11.2025 02:09 πŸ‘ 7 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0

Does anyone know why JSS's webpage is down? www.jstatsoft.org

10.11.2025 12:01 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Qualpal My pet project Qualpal is now a stand-alone C++ library as well as web app and was just published in the Journal of Open Source Software!

My side project Qualpal was recently published in JOSS! πŸš€ In this blog post I talk about some of the recent changes the project, which is now not just an R package, but also C++ library, web app, and CLI tool, has undergone.

jolars.co/blog/2025-10...

#dataviz #r #cpp

24.10.2025 18:15 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Just had my project Qualpal published in JOSS! πŸš€

17.10.2025 06:31 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
[ANN] MuxDisplay: Using multiplexer panes (tmux, Wezterm) to show graphics I would like to announce MuxDisplay, which I just submitted for registration. It is a package that I wrote a while ago to fulfill my own needs for displaying graphics (plots, mostly) when working in t...

Published a new #JuliaLang package MuxDisplay for using a pane of a multiplexer like #Tmux or #WezTerm as a plotting window when working in a (remote) terminal. Announcement in discourse.julialang.org/t/ann-muxdis...

12.10.2025 03:27 πŸ‘ 13 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image

#rstats #meme
Sometimes, all I want is a histogram....

26.09.2025 02:21 πŸ‘ 26 πŸ” 2 πŸ’¬ 4 πŸ“Œ 0
Preview
Qualpal Automatic generation of qualitative color palettes

I have turned qualpal, which generates qualitative color palettes for categorical data, into a web app! It has support for multiple inputs, supports extending existing palettes, and provides analysis of the results.

Please try it out at qualpal.cc!

#qualpal #color-palettes #cpp #r #cli

15.08.2025 08:34 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

New paper on the generalization of Flow Matching www.arxiv.org/abs/2506.03719

🀯 Why does flow matching generalize? Did you know that the flow matching target you're trying to learn *can only generate training points*?

w @quentinbertrand.bsky.social @annegnx.bsky.social @remiemonet.bsky.social πŸ‘‡πŸ‘‡πŸ‘‡

18.06.2025 08:08 πŸ‘ 55 πŸ” 17 πŸ’¬ 2 πŸ“Œ 3

We want to thank Posit for their support! With Posit’s help, we were able to grow our team by one full time engineer, committed to make the Typst compiler even better ❀️

03.06.2025 14:24 πŸ‘ 93 πŸ” 12 πŸ’¬ 0 πŸ“Œ 0
Post image Post image

I had a blast giving a summer school on generative models at AI Hub Senegal, in particular flow matching, with @quentinbertrand.bsky.social and @remiemonet.bsky.social

Our material is publicly available !!! github.com/QB3/SenHubIA...

ensdelyon.bsky.social

14.04.2025 07:50 πŸ‘ 17 πŸ” 3 πŸ’¬ 1 πŸ“Œ 1
Post image

Tariffs xkcd.com/3073

08.04.2025 00:03 πŸ‘ 31368 πŸ” 8763 πŸ’¬ 258 πŸ“Œ 466
Just figured out where these fake tariff rates come from. They didn't actually calculate tariff rates + non-tariff barriers, as they say they did. Instead, for every country, they just took our trade deficit with that country and divided it by the country's exports to us.

So we have a $17.9 billion trade deficit with Indonesia. Its exports to us are $28 billion. $17.9/$28 = 64%, which Trump claims is the tariff rate Indonesia charges us. What extraordinary nonsense this is.

Just figured out where these fake tariff rates come from. They didn't actually calculate tariff rates + non-tariff barriers, as they say they did. Instead, for every country, they just took our trade deficit with that country and divided it by the country's exports to us. So we have a $17.9 billion trade deficit with Indonesia. Its exports to us are $28 billion. $17.9/$28 = 64%, which Trump claims is the tariff rate Indonesia charges us. What extraordinary nonsense this is.

james surowiecki has discovered where the completely fabricated trump tariff rate has come from for each country

"...for every country, they just took our trade deficit with that country and divided it by the country's exports to us."

02.04.2025 22:32 πŸ‘ 12475 πŸ” 5333 πŸ’¬ 448 πŸ“Œ 1277
LUSEM’s best thesis award 2024 goes to Johan Larsson Lund University. Selected by the College of Doctoral Studies, this recognition highlights the exceptional quality and impact of Johan Larsson's research. The award, which includes a monetary prize of ...

www.lusem.lu.se/article/luse... πŸ₯³

28.03.2025 13:29 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0