Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on Aug 13, 2023

=> today's howtos | Openwashing, Microsoft, and Calamity

Programming in a Well-Tested System

=> ↺ Programming in a Well-Tested System

If a system is easy to test, it’s usually easy to work with — easy to extend, easy to debug, easy to refactor. Maybe because adding tests is a form of extending, debugging, and refactoring a system.

Need to chuck a quick SVG drawing into some content?

=> ↺ Need to chuck a quick SVG drawing into some content?

Here are some options.

resvg for SVGs in Qt

=> ↺ resvg for SVGs in Qt

People keep lamenting how lackluster Qt’s SVG renderer is. It leads to poorly rendered icons and wallpapers and it mostly only implements the SVG Tiny specification. As a weekend project I put together a resvg based image handler replacement. It was super easy because resvg is amazing!

Dirk Eddelbuettel: RcppArmadillo 0.12.6.1.0 on CRAN: New Upstream

=> ↺ Dirk Eddelbuettel: RcppArmadillo 0.12.6.1.0 on CRAN: New Upstream

This release brings bugfix upstream release 12.6.1. Conrad release 12.6.0 when CRAN went on summer break. I rolled it up ran the full reverse-depenency check against the now more than 1000 packages. And usage from one those revealed a corner-case bug (of not always ‘flattening’ memory for sparse matrices to zero values) so 12.6.1 followed. This is what was uploaded today. And as I prepared it earlier in the week as CRAN reopened, Conrad released a new 12.6.2. However, its changes are only concerned with settings for Armadillo-internal use of its random number generators (RNGs). And as RcppArmadillo connects Armadillo to the RNGs provided by R, the upgrade does not affect R users at all. However it is available in the github repo, in the Rcpp drap repo and at r-universe.

=> ↺ CRAN | ↺ CRAN

=> ↺ CRAN | ↺ CSDA paper | ↺ preprint / vignette | ↺ CRAN | ↺ CRAN

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2023/08/13/Programming_Leftovers.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
140.989969 milliseconds
Gemini-to-HTML Time
2.051111 milliseconds

This content has been proxied by September (ba2dc).