Programming Leftovers
-
Bringing back run GTK apps in the initrd
This is the latest post about gui_engine, the ongoing saga to run GUI apps in the initrd...
-
How to Measure Execution Time in R - finnstats
How to Measure Execution Time in R, To compare the execution times of different expressions, use R’s microbenchmark package.
-
Fitting robust non-Gaussian models in Stan and R-INLA | YoungStatS
Traditionally the excitation noise of spatial and temporal models is Gaussian. Take, for instance, an AR1 (autoregressive of order 1) process, where the increments \(x_{i+1}-\rho x_i, \ \ |\rho|<1\) are assumed to follow a Gaussian distribution. However, it is easy to find datasets that contain inherently non-Gaussian features, such as sudden jumps or spikes, that adversely affect the inferences and predictions made from Gaussian models. In this post, we introduce a specific class of non-Gaussian models, their advantages over Gaussian models, and their Bayesian implementation in Stan and R-INLA, two well-established platforms for statistical modeling.
-
Alone R package: Datasets from the survival TV series - Dan Oehm | Gradient Descending
I have been watching the survival TV series ‘Alone,’ where 10 survivalists are dropped in an extremely remote area and must fend for themselves. I am super impressed by their skills, endurance, and mental fortitude. To last 100 days in the Arctic winter living off the land is truly impressive.
True to form, I’ve collected the data and I am sharing it here in the {alone} R package.
-
End-to-end testing with shinytest2
This is the final part of a series of three blog posts about using the {shinytest2} package to develop automated tests for shiny applications.
-
Seeing double? Building the same app in Shiny for R and Shiny for Python | Nicola Rennie
Back in July 2022 at rstudio::conf(2022), Posit (formerly RStudio) announced the release of Shiny for Python. I wanted to see how the two compared - so I built the same Shiny app twice! This blog post highlights a few of the differences, and things that were a little tricky switching to Shiny for Python.
-
Announcing a stable release of sigstore-python [Ed: Microsoft/NSA dependency (GitHub) here invalidates the trust; this is about outsourcing, not security. Python isn't written in Python. Free software should not be build using proprietary software of NSA/Microsoft (GitHub Actions).]