Dirk Eddelbuettel: RcppFastAD 0.0.1 and 0.0.2: New Package on CRAN!
James Yang and I are
thrilled to announce the new CRAN package RcppFastAD which
arrived at CRAN last Monday as
version 0.0.1, and is as of today at version 0.0.2 with a first set of
small updates.
It is based on the FastAD header-only C++
library by James which provides a C++ implementation of both forward and
reverse mode of automatic differentiation in an easy-to-use header
library (which we wrapped here) that is both lightweight and performant.
With a little of bit of Rcpp glue, it
is also easy to use from R in simple C++ applications. Included in the
package are three example: a simple quadratic expression evaluating
x' S x for given x and S return the expression value with a
gradient, a linear regression example generalising this and using the
gradient to derive to arrive at the least-squares minimizing solution,
as well as the well-known Black-Scholes options pricer and its important
partial derivatives delta, rho, theta and vega derived via automatic
differentiation.
The NEWS file for these two initial releases follows.
Courtesy of my CRANberries, there is also a diffstat report for the most recent release. More information is available at the repository or the package page. If you like this or other open-source work I do, you can now sponsor me at GitHub.Changes in version 0.0.2 (2023-03-05)
- One C++ operation is protected from operating on a
nullptr- Additional tests have been added, tests now cover all three demo / example functions
- Return values and code for the examples
linear_regressionandquadratic_expressionhave been adjustedChanges in version 0.0.1 (2023-02-24)
- Initial release version and CRAN upload
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
When I paint postcards I tend to start with a draft (usually on lightweight (250 g/m ) watercolour paper, then trace
Since I m not going to be writing on the pages, I decided to use a relatively cheap 200 g / m linoprint paper with a nice feel, and I ve settled on a B6 size (before trimming) to hold A6 postcard drafts.
For the binding I ve decided to use a technique I ve learned from a craft book ages ago that doesn t use tapes, and added a full hard cover in dark grey linen-feel
After looking on the internet for solutions, I settled on adding spacers by making a signature composed of paper - spacer - paper - spacer, with the spacers being 2 cm wide, folded in half.
And then, between finishing binding the book and making the cover I utterly forgot to add the head bands. Argh. It s not the first time I make this error.
I m happy enough with the result. There are things that are easy to improve on in the next iteration (endpapers and head bands), and something in me is not 100% happy with the fact that the spacers aren t placed between every sheet, but there are places with no spacer and places with two of them, but I can t think of (and couldn t find) a way to make them otherwise with a sewn book, unless I sew each individual sheet, which sounds way too bulky (the album I m using for the landscapes was glued, but I didn t really want to go that way).
The size is smaller than the other one I was using and doesn t leave a lot of room around the paintings, but that isn t necessarily a bad thing, because it also means less wasted space.
I believe that one of my next project will be another similar book in a landscape format, for those postcard drafts that aren t landscapes nor clothing related.
And then maybe another? or two? or








February ended up being a very short work month as I made a last minute decision to travel to Adelaide for the first 2 weeks of the month to help my brother with some house renovations he was undertaking. I thought I might be able to keep up with some work and my writing goals in the evenings while I was there, but days of hard manual labour are such an unfamiliar routine for me that I didn t have any energy left to make good on that intention.
The majority of my time and focus for the remaining one and half weeks of the month was catching up on the consulting work that I had pushed back while in Adelaide.
So while it doesn t make for a thrilling first month to look back and report on, overall I m not unhappy with what I achieved given the time available. Next month, I hope to be able to report some more exciting progress on the product development front as well.
Hello World! I haven't really had time to blog here since the start of the
semester, as I've been pretty busy at work
You should try to
In January I was assigned 24 hours by Freexian's Debian LTS
initiative and worked 8 hours. In February I was assigned another 8
hours and worked 8 hours.
I updated the linux (4.19) package to the latest stable update, but
didn't upload it. I merged the latest bullseye security update into
the linux-5.10 package and uploaded that.
On Tue 13 July 2021 there was a
I would suggest that this blog post would be slightly unpleasant and I do wish that there was a way, a standardized way just like movies where you can put General, 14+, 16+, Adult and whatnot. so people could share without getting into trouble. I would suggest to consider this blog as for somewhat mature and perhaps disturbing.
Also shocking are the number of heart attacks that young people are getting. Dunno the reason for either. Just saw
Thunderbird, srsly?
5MB (or 4.8MiB) import limit. Sure. My modest pubring (111 keys) is 18MB. The