Simon Josefsson: On Binary Distribution Rebuilds


| Series: | Finder Chronicles #4 |
| Publisher: | DAW |
| Copyright: | May 2024 |
| ISBN: | 0-7564-1888-7 |
| Format: | Kindle |
| Pages: | 378 |
Version 0.0.21 of RcppSpdlog arrived
on CRAN today and has been
uploaded to Debian. RcppSpdlog
bundles spdlog, a
wonderful header-only C++ logging library with all the bells and
whistles you would want that was written by Gabi Melman, and also includes fmt by Victor Zverovich. You can learn
more at the nice package
documention site.
This release updates the code to the version 1.15.2 of spdlog which was released
this weekend as well.
The NEWS entry for this release follows.
Courtesy of my CRANberries, there is also a diffstat report. More detailed information is on the RcppSpdlog page, or the package documention site.Changes in RcppSpdlog version 0.0.21 (2025-03-30)
- Upgraded to upstream release spdlog 1.15.2 (including fmt 11.1.4)
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
A new release 0.1.8 of RcppZiggurat
is now on the CRAN network for
R, following up on the 0.1.7
release last week which was the first release in four and a half
years.
The RcppZiggurat
package updates the code for the Ziggurat
generator by Marsaglia and
others which provides very fast draws from a Normal (or Exponential)
distribution. The package provides a simple C++ wrapper class for the
generator improving on the very basic macros, and permits comparison
among several existing Ziggurat implementations. This can be seen in the
figure where Ziggurat from this package dominates accessing the
implementations from the GSL, QuantLib and Gretl all of which are still
way faster than the default Normal generator in R (which is of course of
higher code complexity).
This release switches the vignette to the standard trick of premaking
it as a pdf and including it in a short Sweave document that imports it
via pdfpages; this minimizes build-time dependencies on
other TeXLive components. It also incorporates a change contributed by
Tomas to rely on the system build of the GSL on Windows as well if
Rtools 42 or later is found. No other changes.
The NEWS file entry below lists all changes.
Courtesy of my CRANberries, there is a diffstat report relative to previous release. More detailed information is on the Rcppziggurat page or the GitHub repository.Changes in version 0.1.8 (2025-03-30)
- The vignette is now premade and rendered as Rnw via pdfpage to minimize the need for TeXLive package at build / install time (Dirk)
- Windows builds now use the GNU GSL when Rtools is 42 or later (Tomas Kalibera in #25)
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
:wq for today.
| Series: | Ambit's Run #1 |
| Publisher: | Tor |
| Copyright: | 2024 |
| ISBN: | 1-250-87126-3 |
| Format: | Kindle |
| Pages: | 407 |
A second maintenance release of our still young-ish package tinythemes arrived
on CRAN today. tinythemes
provides the theme_ipsum_rc() function from hrbrthemes by Bob Rudis in a zero (added) dependency way. A
simple example is (also available as a demo inside the package)
contrasts the default style (on the left) with the one added by this
package (on the right):
This version responds solely to things CRAN now nags about. As these are
all package quality improvement we generally oblige happily (and
generally fix in the respective package repo when we notice). I am
currently on a quest to get most/all of my nags down so new releases are
sometimes the way to go even when not under a deadline gun (as with
other releases this week).
The full set of changes since the last release (a little over a year
ago) follows.
Courtesy of my CRANberries, there is a diffstat report relative to previous release. More detailed information is on the repo where comments and suggestions are welcome.Changes in tinythemes version 0.0.3 (2025-03-29)
- Updated a badge URL in README.md
- Updated manual pages with proper anchor links
- Rewrote one example without pipe to not require minimum R version
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
libtheora 1.2.0 (2025 March 29)As usual, if you use Bitcoin and want to show your support of my activities, please send Bitcoin donations to my address 15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b.
- Bumped minor SONAME versions as oc_comment_unpack() implementation changed.
- Added example wrapper script encoder_example_ffmpeg (#1601 #2336).
- Improve comment handling on platforms where malloc(0) return NULL (#2304).
- Added pragma in example code to quiet clang op precedenca warnings.
- Adjusted encoder_example help text.
- Adjusted README, CHANGES, pkg-config and spec files to better reflect current release (#2331 #2328).
- Corrected english typos in source and build system.
- Switched http links to https in doc and comments where relevant. Did not touch RFC drafts.
A language empowering everyone to build reliable and efficient software.Surprisingly, this motto is not mere marketing puff. For Rustaceans, it is a key goal which strongly influences day-to-day decisions (big and small). Empowering everyone is a key aspect of this, which aligns with my own personal values. In the Rust community, we care about empowerment. We are trying to help liberate our users. And we want to empower everyone because everyone is entitled to technological autonomy. (For a programming language, empowering individuals means empowering their communities, of course.) This is all very airy-fairy, but it has concrete consequences: Attitude to the programmer s mistakes In Rust we consider it a key part of our job to help the programmer avoid mistakes; to limit the consequences of mistakes; and to guide programmers in useful directions. If you write a bug in your Rust program, Rust doesn t blame you. Rust asks how could the compiler have spotted that bug . This is in sharp contrast to C (and C++). C nowadays is an insanely hostile programming environment. A C compiler relentlessly scours your program for any place where you may have violated C s almost incomprehensible rules, so that it can compile your apparently-correct program into a buggy executable. And then the bug is considered your fault. These aren t just attitudes implicitly embodied in the software. They are concrete opinions expressed by compiler authors, and also by language proponents. In other words: Rust sees programmers writing bugs as a systemic problem, which must be addressed by improvements to the environment and the system. The toxic parts of the C and C++ community see bugs as moral failings by individual programmers. Sound familiar? The ideology of the hardcore programmer Programming has long suffered from the myth of the rockstar . Silicon Valley techbro culture loves this notion. In reality, though, modern information systems are far too complicated for a single person. Developing systems is a team sport. Nontechnical, and technical-adjacent, skills are vital: clear but friendly communication; obtaining and incorporating the insights of every member of your team; willingness to be challenged. Community building. Collaboration. Governance. The hardcore C community embraces the rockstar myth: they imagine that a few super-programmers (or super-reviewers) are able to spot bugs, just by being so brilliant. Of course this doesn t actually work at all, as we can see from the atrocious bugfest that is the Linux kernel. These rockstars want us to believe that there is a steep hierarchy in programmming; that they are at the top of this hierarchy; and that being nice isn t important. Sound familiar? Memory safety as a power struggle Much of the modern crisis of software reliability arises from memory-unsafe programming languages, mostly C and C++. Addressing this is a big job, requiring many changes. This threatens powerful interests; notably, corporations who want to keep shipping junk. (See also, conniptions over the EU Product Liability Directive.) The harms of this serious problem mostly fall on society at large, but the convenience of carrying on as before benefits existing powerful interests. Sound familiar? Memory safety via Rust as a power struggle Addressing this problem via Rust is a direct threat to the power of established C programmers such as gatekeepers in the Linux kernel. Supplanting C means they will have to learn new things, and jostle for status against better Rustaceans, or be replaced. More broadly, Rust shows that it is practical to write fast, reliable, software, and that this does not need (mythical) rockstars . So established C programmer experts are existing vested interests, whose power is undermined by (this approach to) tackling this serious problem. Sound familiar? Notes This is not a RIIR manifesto I m not saying we should rewrite all the world s C in Rust. We should not try to do that. Rust is often a good choice for new code, or when a rewrite or substantial overhaul is needed anyway. But we re going to need other techniques to deal with all of our existing C. CHERI is a very promising approach. Sandboxing, emulation and automatic translation are other possibilities. The problem is a big one and we need a toolkit, not a magic bullet. But as for Linux: it is a scandal that substantial new drivers and subsystems are still being written in C. We could have been using Rust for new code throughout Linux years ago, and avoided very many bugs. Those bugs are doing real harm. This is not OK. Disclosure I first learned C from K&R I in 1989. I spent the first three decades of my life as a working programmer writing lots and lots of C. I ve written C++ too. I used to consider myself an expert C programmer, but nowadays my C is a bit rusty and out of date. Why is my C rusty? Because I found Rust, and immediately liked and adopted it (despite its many faults). I like Rust because I care that the software I write actually works: I care that my code doesn t do harm in the world. On the meaning of woke The original meaning of woke is something much more specific, to do with racism. For the avoidance of doubt, I don t think Rust is particularly antiracist. I m using woke (like Rust s opponents are) in the much broader, and now much more prevalent, culture wars sense. Pithy conclusion If you re a senior developer who knows only C/C++, doesn t want their authority challenged, and doesn t want to have to learn how to write better software, you should hate Rust. Also you should be fired.
Armadillo is a powerful
and expressive C++ template library for linear algebra and scientific
computing. It aims towards a good balance between speed and ease of use,
has a syntax deliberately close to Matlab, and is useful for algorithm
development directly in C++, or quick conversion of research code into
production environments. RcppArmadillo
integrates this library with the R environment and language and is
widely used by (currently) 1236 other packages on CRAN, downloaded 39 million times
(per the partial logs from the cloud mirrors of CRAN), and the CSDA paper (preprint
/ vignette) by Conrad and myself has been cited 620 times according
to Google Scholar.
This release brings a small upstream bug fix to the two
FFTW3-interfacing functions, something not likely to hit many CRAN packages.
The changes since the last and fairly recent CRAN release are summarised
below.
Courtesy of my CRANberries, there is a diffstat report relative to previous release. More detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the Rcpp R-Forge page.Changes in RcppArmadillo version 14.4.1-1 (2025-03-27)
- Upgraded to Armadillo release 14.4.1 (Filtered Espresso)
- Fix for
fft()andifft()when using FFTW3 in multi-threaded contexts (such as OpenMP)
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
A new version 0.1.5 of the tint package
arrived at CRAN today.
tint provides a style not unlike Tufte for use in html
and pdf documents created from markdown. The github repo shows
several examples in its README, more as usual in the package
documentation.
This is the first release in one and a half years and contains only
routine maintenance. As CRAN
now bags about missing anchors in the common \code \link
use, I added these today. Otherwise the usual mix of updates to
continuous integration, to badges and URLs and other small packaging
details but nothing user-facing.
Courtesy of my CRANberries, there is a diffstat report relative to previous release. More information is on the tint page. For questions or comments use the issue tracker off the GitHub repo.Changes in tint version 0.1.5 (2025-03-27)
- Standard package maintenance for continuous integration, URL updates, and packaging conventions
- Correct two minor nags in the Rd file
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
Like each month, have a look at the work funded by Freexian s Debian LTS offering.
We are pleased to announce that Viridien
has committed to sponsor DebConf25 as a
Platinum Sponsor.
Viridien is an advanced technology, digital
and Earth data company that pushes the boundaries of science for a more
prosperous and sustainable future.
Viridien has been using Debian-based systems to power most of its HPC
infrastructure and its cloud platform since 2009 and currently employs two
active Debian Project Members.
As a Platinum Sponsor, Viridien is contributing to the Debian annual
Developers' conference, directly supporting the progress of Debian and Free
Software. Viridien contributes to strengthen the community that collaborates
on the Debian project from all around the world throughout all of the year.
Thank you very much, Viridien, for your support of DebConf25!
Become a sponsor too!
DebConf25 will take place from 14 to 20
July 2025 in Brest, France, and will be preceded by DebCamp, from 7 to 13
July 2025.
DebConf25 is accepting sponsors! Interested companies and organizations may
contact the DebConf team through
sponsors@debconf.org, and visit the DebConf25
website at
https://debconf25.debconf.org/sponsors /become-a-sponsor/.
A new minor release 0.2.5 of our RcppRedis
package arrived on CRAN today.
RcppRedis
is one of several packages connecting R to the fabulous Redis in-memory datastructure store (and
much more). RcppRedis
does not pretend to be feature complete, but it may do some things
faster than the other interfaces, and also offers an optional coupling
with MessagePack binary
(de)serialization via RcppMsgPack. The
package has been deployed in production as a risk / monitoring tool on
a trading floor for several years. It also supports pub/sub
dissemination of streaming market data as per this
earlier example.
Given the changes around Redis, it is
worth stressing that the package works just as well with valkey and uses only hiredis which remains proper
open source.
This update is again somewhat mechanical as a few maintenance things
bubbled up in since the last release in the summer of 2023. As with
other packages, continuous integration was updated a few times as were
URLs and badges, and we update the use of our RApiSerialize.
And, just as we did today and yesterday with littler,
RQuantLib
and RDieHarder,
this addresses a nag from CRAN
about implicit bash dependency in configure.ac
(which we fixed in January as for the other packages but are under
deadline now). Last but not least the newly-added extension of
forbidden symbols in static libraries revealed that yes indeed I had
forgotten to set -DNDEBUG when building the embedded hiredis in fallback mode and
I now also converted its four uses of sprintf to
snprintf so we are clean there too.
The detailed changes list follows.
Courtesy of my CRANberries, there is also a diffstat report for this this release. More information is on the RcppRedis page and at the repository and its issue tracker.Changes in version 0.2.5 (2025-03-26)
- The continuous integration setup was updated several times
- Badges and URLs in README.md have been updated
- An updated interface from RApiSerialize is now used, and a versioned dependency on version 0.1.4 or later has been added
- The DESCRIPTION file now uses Authors@R
- Two possible bashisms have been converted in
configure.ac- The (fallback if needed) build of
libhiredis.anow sets-DNDEBUG, four uses ofsprintfconverted tosnprintf
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
An new version 0.2.7 of the random-number generator tester RDieHarder
(based on the DieHarder
suite developed / maintained by Robert Brown with contributions by David
Bauer and myself along with other contributors) is now on CRAN.
This release contains only internal maintenance changes: continuous
integration was updated as was a badge URL, and a bashism issue in
configure.ac was addressed (months ago) but as CRAN now sends NOTEs it triggered
this update (just like littler
and RQuantLib
yesterday).
Thanks to CRANberries, you
can also look at the most recent diff
to the previous release.
If you like this or other open-source work I do, you can now sponsor me at
GitHub.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A third release of the crc32c package
is now on CRAN. The package
bring the Google library
crc32c to R and offers
cyclical checksums with parity in hardware-accelerated form on (recent
enough) intel cpus as well as on arm64.
This release is one hundred percent maintenance. Brian Ripley reached
out as he already tests the (still very much unreleased)
cmake 4.0.0 release, currently at rc5. And that version is
now picky about minimum cmake version statements
in CMakeLists.txt. As we copied the upstream one here, with its setting
of the jurassic 3.1 version, our build conked out. A simple switch to
3.5..4.0, declaring a from .. to scheme with a minimally
supported version (here 3.5, released in 2016) up to a tested version
works. No other changes, really, besides an earlier helping hand from Jeroen concerning cross-compilation
support he needed or encountered (and that happened right after the
0.0.2 release).
The NEWS entry for this (as well the initial release) follows.
My CRANberries service provides a comparison to the previous release. The code is available via the GitHub repo, and of course also from its CRAN page and viaChanges in version 0.0.3 (2025-03-25)
- Support cross-compilation by setting CC and CXX in Makevars.in (Jeroen Ooms in #1)
- Support pre-release 4.0.0 of
cmakeby moving the minimum stated version from 3.1 to 3.5 per CRAN request, also sent PR upstream
install.packages("crc32c"). Comments
and suggestions are welcome at the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
The twentysecond release of littler as a
CRAN package
landed on CRAN just now, following in the now nineteen year history (!!)
as a (initially non-CRAN) package started by Jeff in 2006, and joined
by me a few weeks later.
littler
is the first command-line interface for R as it predates
Rscript. It allows for piping as well for shebang
scripting via #!, uses command-line arguments more
consistently and still starts
faster. It also always loaded the methods package which
Rscript only began to do in recent years.
littler
lives on Linux and Unix, has its difficulties on macOS due to
some-braindeadedness there (who ever thought case-insensitive
filesystems as a default were a good idea?) and simply does not exist on
Windows (yet the build system could be extended see RInside for
an existence proof, and volunteers are welcome!). See the FAQ
vignette on how to add it to your PATH. A few examples
are highlighted at the Github repo:, as well
as in the examples
vignette.
This release, the first is almost exactly one year, brings
enhancements to six scripts as well as three new ones. The new ones
crup.r offers CRan UPloads from the command-line,
deadliners.r lists CRAN package by CRAN deadline, and
wb.r uploads to win-builder (replacing an older shell
script of mine). Among the updated ones, kitten.r now
creates more complete DESCRIPTION files in the packages it makes, and
several scripts support additional options. A number of changes were
made to packaging as well, some of which were contributed by Jon and Michael which is of course
always greatly appreciated. The trigger for the release was, just like
for RQuantLib
earlier today, a CRAN nag
on bashisms half of which actually false here it was in a comment
only. Oh well.
The full change description follows.
My CRANberries service provides a comparison to the previous release. Full details for the littler release are provided as usual at the ChangeLog page, and also on the package docs website. The code is available via the GitHub repo, from tarballs and now of course also from its CRAN page and viaChanges in littler version 0.3.21 (2025-03-24)
- Changes in examples scripts
- Usage text for
ciw.ris improved, new options were added (Dirk)- The noble release is supported by
r2u.r(Dirk)- The
installRub.rscript has additional options (Dirk)- The
ttlt.rscript has a newload_packageargument (Dirk)- A new script
deadliners.rshowing CRAN packages 'under deadline' has been added, and then refined (Dirk)- The
kitten.rscript can now use whoami and argumentgithubuseron the different*kittenhelpers it calls (Dirk)- A new script
wb.rcan upload to win-builder (Dirk)- A new script
crup.rcan upload a CRAN submission (Dirk)- In
rcc.r, the return from rcmdcheck is now explicitly printed (Dirk)- In
r2u.rthedry-runoption is passed to the build command (Dirk)- Changes in package
- Regular updates to badges, continuous integration, DESCRIPTION and
configure.ac(Dirk)- Errant
osVersionreturn value are handled more robustly (Michael Chirico in #121)- The current run-time path is available via variable
LITTLER_SCRIPT_PATH(Jon Clayden in #122)- The cleanup script remove macOS debug symbols (Jon Clayden in #123)
install.packages("littler"). Binary packages are
available directly in Debian as
well as (in a day or two) Ubuntu binaries at
CRAN thanks to the tireless Michael Rutter. Comments and suggestions
are welcome at the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
A new minor release 0.4.25 of RQuantLib
arrived on CRAN this morning,
and has just now been uploaded to Debian too.
QuantLib is a rather
comprehensice free/open-source library for quantitative
finance. RQuantLib
connects (some parts of) it to the R environment and language, and has
been part of CRAN for nearly
twenty-two years (!!) as it was one of the first packages I uploaded to
CRAN.
This release of RQuantLib
is tickled by a request to remove bashisms in shell scripts, or, as in
my case here, configure.ac where I used the non-portable
form of string comparison. That has of course been there for umpteen
years and not bitten anyone as the default shell for most is in fact
bash but the change has the right idea. And is of course
now mandatory affecting quite a few packages is I
tooted yesterday. It also contains an improvement to the macOS 14
build kindly contributed by Jeroen.
One more note, though: This may however be the last release I make with Windows support. CRAN now also checks for forbidden symbols (such asChanges in RQuantLib version 0.4.25 (2025-03-24)
- Support macOS 14 with a new compiler flag (Jeroen in #190)
- Correct two bashisms in
configure.ac
assert or
(s)printf or ) in static libraries, and this release
tickled one such warning from the Windows side (which only uses static
libraries). I have no desire to get involved in also maintaing QuantLib
(no R here) for Windows and may simply turn the package back to
OS_type: unix to avoid the hassle. To avoid that, it would
be fabulous if someone relying on RQuantLib on Windows could step up and
lend a hand looking after that library build.
Courtesy of my CRANberries, there
is also a diffstat
report for the this release. As always, more detailed information is
on the RQuantLib
page. Questions, comments etc should go to the rquantlib-devel mailing list.
Issue tickets can be filed at the GitHub repo.
If you like this or other open-source work I do, you can now sponsor me at
GitHub.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
I am told, by friends who have spent time at Google, about the reason Google Reader finally disappeared. Apparently it had become a 20% Project for those who still cared about it internally, and there was some major change happening to one of it upstream dependencies that was either going to cause a significant amount of work rearchitecting Reader to cope, or create additional ongoing maintenance burden. It was no longer viable to support it as a side project, so it had to go. This was a consequence of an internal culture at Google where service owners are able to make changes that can break downstream users, and the downstream users are the ones who have to adapt.
My experience at Meta goes the other way. If you own a service or other dependency and you want to make a change that will break things for the users, it s on you to do the migration, or at the very least provide significant assistance to those who own the code. You don t just get to drop your new release and expect others to clean up; doing that tends to lead to changes being reverted. The culture flows the other way; if you break it, you fix it (nothing is someone else s problem).
There are pluses and minuses to both approaches. Users having to drive the changes to things they own stops them from blocking progress. Service/code owners having to drive the changes avoids the situation where a wildly used component drops a new release that causes a lot of high priority work for folk in order to adapt.
I started thinking about this in the context of Debian a while back, and a few incidents since have resulted in my feeling that we re closer to the Google model than the Meta model. Anyone can upload a new version of their package to unstable, and that might end up breaking all the users of it. It s not quite as extreme as rolling out a new service, because it s unstable that gets affected (the clue is in the name, I really wish more people would realise that), but it can still result in release critical bugs for lots other Debian contributors.
A good example of this are toolchain changes. Major updates to GCC and friends regularly result in FTBFS issues in lots of packages. Now in this instance the maintainer is usually diligent about a heads up before the default changes, but it s still a whole bunch of work for other maintainers to adapt (see the list of FTBFS bugs for GCC 15 for instance - these are important, but not serious yet). Worse is when a dependency changes and hasn t managed to catch everyone who might be affected, so by the time it s discovered it s release critical, because at least one package no longer builds in unstable.
Commercial organisations try to avoid this with a decent CI/CD setup that either vendors all dependencies, or tracks changes to them and tries rebuilds before allowing things to land. This is one of the instances where a monorepo can really shine; if everything you need is in there, it s easier to track the interconnections between different components. Debian doesn t have a CI/CD system that runs for every upload, allowing us to track exact causes of regressions. Instead we have Lucas, who does a tremendous job of running archive wide rebuilds to make sure we can still build everything. Unfortunately that means I am often unfairly grumpy at him; my heart sinks when I see a bug come in with his name attached, because it often means one of my packages has a new RC bug where I m going to have to figure out what changed elsewhere to cause it. However he s just (very usefully) surfacing an issue someone else created, rather than actually being the cause of the problem.
I don t know if I have a point to this post. I think it s probably that I wish folk in Free Software would try and be mindful of the incompatible changes they might introducing, and the toil they create for other volunteer developers, often not directly visible to the person making the change. The approach done by the Debian toolchain maintainers strikes me as a good balance; they do a bunch of work up front to try and flag all the places that might need to make changes, far enough in advance of the breaking change actually landing. However they don t then allow a tardy developer to block progress.
Next.