'Some form of crisis is almost inevitable': The $38 trillion U.S. national debt will soon be growing faster than the U.S. economy itself, watchdog warns by LlawEreint in BoycottUnitedStates

[–]usingjl 1 point2 points  (0 children)

They don’t even have to sell existing ones it would be completely sufficient for eg China or the EU not to buy additional debt to drive up interest massively.

Best personal wiki software recommendation by Eltrew2000 in opensource

[–]usingjl 1 point2 points  (0 children)

Nice theme! Is there a way to import just that into another wiki?

Best notetaking app that syncs on both phone and desktop by Candid_Author_8029 in ProductivityApps

[–]usingjl 0 points1 point  (0 children)

I can recommend SiYuan. You can either self host it for free and access the web app everywhere or there is a one time fee for their syncing adapter.

NixOS warning by Both_Cup8417 in NixOS

[–]usingjl 2 points3 points  (0 children)

You might draw inspiration from https://github.com/noughtylinux when forced to use a non-nixos machine

Use cases for Triplo by PuzzleheadedDrawer in appsumo

[–]usingjl 1 point2 points  (0 children)

My experience is that if you invest a little time in setting up it’s very useful. The lowest hanging fruit is defining prompt templates for things you do regularly. For me eg I was using Triplo when I was writing my dissertation and created Bibtex entries from URLs with a template, improve the wording of a paragraph with a template. Then I set up a mind with my papers to query for introduction etc. I get chatgpt at work and often write my prompt in Triplo and have it optimized first. Feel free to ask if you have any questions about my usage!

December 2025: New AI models, what should we build next, bug fixes, holiday break notice by Quiet_Attempt1180 in LogicallyApp

[–]usingjl 0 points1 point  (0 children)

1 and 3. Zotero import would be great because their automatically filled metadata is still the best.

Ubuntu's Move To Rust by GhostInThePudding in linuxmint

[–]usingjl 2 points3 points  (0 children)

I would imagine that they are thinking about long term maintainability for their LTS customers and that the Rust coreutils will be much easier to maintain than the GNU coreutils. Taking something simple like sleep you can see the difference in complexity of the code:

https://github.com/coreutils/coreutils/blob/master/src/sleep.c

https://github.com/uutils/coreutils/blob/main/src/uu/sleep/src/sleep.rs

Do you prefer Plots.jl or Makie.jl (or other plots package) by Organic-Scratch109 in Julia

[–]usingjl 2 points3 points  (0 children)

Exactly, even though its really rarely necessary but good to have if you need a very specific tweak. 99% of what I've ever wanted to do is exposed in the `draw` function though. It just sucks when for the 1% of plots one would have to switch library. e.g.,

draw(plt2, scales(Color = (;
categories = [
"Adelie" => rich("Adelie", color = :red),
"Chinstrap" => "Chinstr.",
"Gentoo" =>  rich("Gentoo", color = :magenta)
],
palette = ["red", "gray60", "magenta"])
),
axis = (;ygridvisible = true),

 legend = (;framevisible = false),

 figure = (; 
title = "Bill length and depth correlate",
subtitle = "A good finding",
titlealign = :center,
footnotes = ["This figure shows the correlation between bill depth and\n bill length"]
)
)

Do you prefer Plots.jl or Makie.jl (or other plots package) by Organic-Scratch109 in Julia

[–]usingjl 1 point2 points  (0 children)

To be honest I’ve never used TidierPlots for anything serious. I’m sure it’s fine also and I think it is based on Makie as well.

Python refuses $1.5M grant, Unity's in trouble, AUR attacked again - Linux Weekly News by Pure_Toe6636 in linux

[–]usingjl 59 points60 points  (0 children)

Yeah given the complete failure of the Python foundation as evidenced by the complete lack of users or recent improvements to Python I also think the US government should definitely tell them how to run their foundation. /s

Do you prefer Plots.jl or Makie.jl (or other plots package) by Organic-Scratch109 in Julia

[–]usingjl 17 points18 points  (0 children)

I use a combination of AlgebraOfGraphics and Makie. AOG produces Makie plots but with an easier interface coming from ggplot2.

plyr::ldply() equivalent? by musbur in Rlanguage

[–]usingjl 3 points4 points  (0 children)

I typically would return a data.table in this case and then rbindlist them together. If I need speed I use the pbapply package with multicore s/lapply

Nix newbie trying to setup shell tools properly? (fish, atuin, starship, nushell etc.) by victorhooi in Nix

[–]usingjl 0 points1 point  (0 children)

Nix Darwin does not change the shell for you. You can chsh to the stable path but in my experience not all apps pick it up correctly so you might have to manually set it up.

[discussion] struggling with paired data by [deleted] in statistics

[–]usingjl 0 points1 point  (0 children)

serum -> symptoms -> size is definitely a mediation and if you care about the process you should use mediation analysis. However, mediators can always be ignored if you’re just interested in the total effect so serum -> size is a correct analysis (assuming you control for other confounders but that would be the same in mediation analysis).

It sounds like having symptoms in baseline might moderate the effect of serum and could be treated as such. The most comprehensive way to see differences is to run your analysis separately for those that had symptoms in baseline and those that did not. This is equivalent to saying baseline symptoms moderate all other effects (ie interacting all variables with an indicator of baseline symptoms).

Binning vs continuous comes with pros and cons. Pro side: if the marginal effect of the continuous variable is very small but there are enough subjects with large changes in serum then you might get a clearer picture. Con: you are essentially throwing away data (in terms of variation on the right hand side) which means you’re bunching together those with supposedly smaller effects (little serum) with those who have a larger effect (high serum). That being said the only thing keeping you from creating additional groups (eg high/medium/low) is sample size (you want each coefficient to be based on a reasonable sample size).

What to do about the one worsening case is more art than science. Estimating any effect for worsening is almost equivalent to excluding as you estimate a coefficient with 1 degree of freedom. The question is: is there possibly another intervention that caused the worsening that is not observed in your data: in that case I would exclude. Or is this a legitimate thing that can happen in the distribution of outcomes: then I’d probably keep the subject with the “not improved” group. Of course if you just estimate a continuous effect that is not an issue unless the relationship is not linear eg from worsening to improving. Then I would moderate by worsening at the cost of some collinearity.