Junichi Uekawa: Tokyo has been raining for many days but finally there's some sunny days.
Tokyo has been raining for many days but finally there's some sunny days.
Tokyo has been raining for many days but finally there's some sunny days.
A week ago, release
0.0.5 of the RcppFastAD package
went to CRAN, and we
noted that it provided a stop-gap measure against a gnarly segfault
with g++-16 under heavier optimization / inlining. We are
happy to now announce that a new and fixed version 0.0.6 of RcppFastAD is now
on CRAN, and has been built for
r2u as well as at r-universe.
RcppFastAD
wraps the FastAD
header-only C++ library by James which provides a C++
implementation of both forward and reverse mode of automatic
differentiation. It offers an easy-to-use header library 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.
This release takes advantage of some large-language model inference
access I now get via Debian. The Deepseek v4 flash-0731 model, driven in
a container via the pi.dev harness, took just about no time finding a
small workaround for the issue described
last week where we could see segfaults under heavier optimization
and inlining. The fix was to prohibit inlining the local
bind() reimplementation. We have also sent this upstream as
a patch. It is nice to have an option of querying something a little
more powerful than the local models I experimented with before. We
suppress more compiler warnings in local builds via another option, and
did some standard maintenance.
The NEWS file for this release 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.Changes in version 0.0.6 (2026-10-01)
- The expression-template view rebinding is protected against
g++ -O3(which led to wrongEigen::Mapdimensions, anEigen::Mapresize assertion, and a segfault.- The
bind()helpers are marked non-inline and are also protected from operating on anullptr.- Both items co-written with DeepSeek V4 Flash, and have been sent upstream in a PR.
- Suppress another compiler warning when local build detected.
- Add r-universe badge to README.md.
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 now sponsor me at GitHub.
A new release of RcppFastFloat
just arrived on CRAN, and has
been built for r2u.
The package wraps fast_float, another
nice library by Daniel Lemire. For
details, see the arXiv
preprint or published
paper showing that one can convert character representations of
numbers into floating point at rates at or exceeding one gigabyte per
second.
This release updates the underlying fast_float library
version to the current version 8.3.0, and also updates a number of the
standard packaging details.
Courtesy of my CRANberries, there is also a diffstat report for this release. For questions, suggestions, or issues please use the issue tracker at the GitHub repo.Changes in version 0.0.6 (2026-09-29)
- Update to upstream release 8.3.0 (Daniel Lemire in #6)
- Standard package maintenace adding README badge, updating URL, updating continuous integration, and adding an aspell dictionary
- Completed help page for
as_doubleexample with @return tag
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 now sponsor me at GitHub.
Thrilled to share that our new package myman reached CRAN a few days ago. The package
offers sixteen hundred ninety four My man posts by Kevin Kruse
made on bsky during the summer of 2026.
Each wave picked at one particular public persona. This package wrapse
these up in the style of packages like fortunes or gaussfacts.
A sample usage illustration shows how to extract by pattern:
> library(myman)
> myman("maitre")
My man looks like he's inquiring with the maitre'd about the house curly fries.
-- about Howard Lutnick on 2026-08-28
My man looks like a maitre'd who deeply doubts you have a reservation.
-- about Scott Bessent on 2026-08-31
My man looks like he's asked the maitre'd to remove a party of four he finds visually
unpleasant.
-- about Scott Bessent on 2026-08-31
My man looks like the maitre'd at a very exclusive restaurant called The Berghof.
-- about JD Vance on 2026-09-13
> Changes in version 0.1.0 (2026-09-27)
- Initial CRAN version (minus the 0.0.8 changes which were made while CRAN reviewed the package)
- Add an aspell dictionary to aid DESCRIPTION text
Changes in version 0.0.8 (2026-09-18)
- Data set now comprises 1694 posts aiming at eight different 'men'
- The number of 'sample()' object returned can not be set with 'posts'
Changes in version 0.0.7 (2026-09-14)
- Data set now comprises 1494 posts aiming at seven different 'men'
Changes in version 0.0.6 (2026-09-07)
- Data set now comprises 1394 posts aiming at six different 'men'
Changes in version 0.0.5 (2026-09-01)
- Data set now comprises 1194 posts aiming at five different 'men'
- The
myman()function can now now subset by target permitting more focussed randlom samplingChanges in version 0.0.4 (2026-08-28)
- Data set now comprises 1040 posts aiming at four different 'men'
Changes in version 0.0.3 (2026-08-19)
- Data set now comprises 916 posts aiming at three different 'men'
- Csv file, processing and display extended to three columns also showing post creating date (in UTC) and 'man'
Changes in version 0.0.2 (2026-07-30)
- Updated with full week of posts leading to a corpus of 698 posts
- Added support for simple regular-expression lookup ability
Changes in version 0.0.1 (2026-07-19)
- Initial release
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.
I will compare this version of macOS with the previous one, Tahoe, which
I presented in macOS Tahoe and smart cards status.
$ grep -A 1 CFBundleShortVersionString /usr/libexec/SmartCardServices/drivers/ifd-ccid.bundle/Contents/Info.plist <key>CFBundleShortVersionString</key> <string>1.5.1</string>
SCardControl()
(macOS Sonoma bug: SCardControl() (part 2)) is still present. Its
behaviour is slightly different now though, so I assume Apple has
changed some of the code. If you have a pinpad reader and want to use
the Secure PIN Entry feature, you should switch to using my CCID driver.
This post is a review for Computing Reviews for The Origins of GPU Computing , a article published in Communications of the ACMThis article appears in a Communications of the ACM series devoted to showcasing relevant examples where federal funding of academic research resulted in widely impacting, clearly identifiable technological advances that have visibly improved or at least changed life far beyond the technological arena. The road is far from trivial from the first parallel computing technologies built completely for research, to a phase that was preeminently directed at gaming, to the current graphics processing units (GPUs) that are basically massively parallel supercomputers used for large language model (LLM) training and inference and other artificial intelligence (AI) tasks and the authors do a good job outlining it in just a few pages. The article is written in a clearly divulgatory way, staying as clear of technical language as possible. The authors present three main enabling technologies for current GPU technologies: parallel computing, parallel graphics systems, and stream processing. Coming from a technical formation myself, although clearly better grounded in the software side of computer engineering than the electronics side, the most interesting nugget of information I took is that parallel computing was born due to the fact that transistor switching consumes very little energy, whereas communication along wires consumes much more. Thus, the more simultaneous operations can be carried out on-chip at once, the less power will be dissipated as heat (and the less time that will be lost due to data stores and loads). Graphics systems are a natural match for parallel systems, as rendering realistic images basically requires repeating the same blocks of instructions to a large array of items. Early GPU implementations were built on fixed-function graphics pipelines. However, by the turn of the century, when nVidia spun off the research labs at Stanford and started marketing their product, introducing along the way the GPU term, they enabled it to implement the full OpenGL graphics pipeline on a single chip. Stream processing is the arrangement of in-chip electronics so that they can better exploit producer-consumer locality between stages in order to achieve greater arithmetic intensity (this is, a greater computation-to-bandwidth ratio), reducing the total number of memory accesses. The authors explain in broad terms the described technologies and how they fit together, as well as how the technology was transferred from the universities to the companies behind today s top trending technologies. The article is engaging and easy to read. As a technologist, I did miss more details dates when specific advances were made, how some of the advances led to future inventions, and so on but I also understand the series is written for outsiders. And, as such, this work very well explains how trillion-dollar technologies are often the result of decades of funding research ideas.
aezign.com.au into raw IP addresses, but have never actually understood how it works, outside of making sure my network config uses 1.1.1.1 or 8.8.8.8 instead of the crappy one the ISP provides. In this article, I set out to understand what nameservers do, and how they help anything that uses the internet find the right records.dig on the command line to perform a DNS lookup and see what this looks like:$ dig example.com ; <<>> DiG 9.20.29-1-Debian <<>> example.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42782 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;example.com. IN A ;; ANSWER SECTION: example.com. 221 IN A 104.20.23.154 example.com. 221 IN A 172.66.147.243 ;; Query time: 20 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Sun Sep 27 21:07:50 AWST 2026 ;; MSG SIZE rcvd: 72Here, you can see the DNS server being used is
1.1.1.1 (Cloudflare's DNS server), and that it found the IPs 104.20.23.154 and 172.66.147.243 associated with the domain name example.com. Your browser will then contact these IP addresses directly to load the website you are trying to open.1.1.1.1 and 1.0.0.1) and Google's (8.8.8.8 and 8.8.4.4). Having more than one DNS server means that if the first one in the list doesn't work or doesn't find the matching IPs for a domain name, it will move to the next one in the list, a backup DNS server.DNS servers must be configured as IP addresses. If your computer tried to use a DNS server at a domain name, then where would your computer find the IP address for that domain name? It wouldn't be able to, as this is the exact gap that DNS servers fulfill.example.com) or a subdomain (e.g. bar.example.com, foo.bar.example.com) Here are some of the most common and important types:104.20.23.154).This is the fundamental function of DNS: to map from a domain name to a server's IP address. Multiple A records leads to load balancing, where browsers will randomly select one of the returned IP addresses such that traffic is evenly split between them.2606:4700:10::6814:179a).This serves the same purpose as A records but for IPv6. Multiple AAAA records results in the same load balancing behaviour. All modern websites should have both an A record for legacy compatibility, and an AAAA record to future-proof for the gradual shift towards IPv6 addresses.example.com).DNS servers will recursively lookup records for the aliased domain name until they reach an IP address (in an A or AAAA record).mail.example.com).This record tells email SMTP servers where to direct emails to. For instance, the MX record for aezign.com.au is mail.aezign.au; this directs SMTP servers like Gmail and Outlook to send emails to the mailserver running at mail.aezign.au. This also allows specifying a priority field, so that you can define multiple MX records (such as a main and a backup) and consumers will try to connect to the listed mailservers from lowest priority to highest.zeus.ns.cloudflare.com).These authoritative nameservers are responsible for providing all the other record types when needed.dig lets you query each of these. For instance, to list the MX records against aezign.com.au:$ dig MX aezign.com.au ; <<>> DiG 9.20.29-1-Debian <<>> MX aezign.com.au ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28213 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;aezign.com.au. IN MX ;; ANSWER SECTION: aezign.com.au. 300 IN MX 10 mail.aezign.au. ;; Query time: 104 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Sun Sep 27 22:04:58 AWST 2026 ;; MSG SIZE rcvd: 70Here you can see there is only one mailserver configured for
aezign.com.au, which is mail.aezign.au, and it has a priority of 10.If you compare this against something like gmail.com:$ dig MX gmail.com ; <<>> DiG 9.20.29-1-Debian <<>> MX gmail.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16538 ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;gmail.com. IN MX ;; ANSWER SECTION: gmail.com. 2497 IN MX 40 alt4.gmail-smtp-in.l.google.com. gmail.com. 2497 IN MX 20 alt2.gmail-smtp-in.l.google.com. gmail.com. 2497 IN MX 5 gmail-smtp-in.l.google.com. gmail.com. 2497 IN MX 10 alt1.gmail-smtp-in.l.google.com. gmail.com. 2497 IN MX 30 alt3.gmail-smtp-in.l.google.com. ;; Query time: 120 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Sun Sep 27 22:06:04 AWST 2026 ;; MSG SIZE rcvd: 161You can see that
gmail.com has several mailservers configured as redundancies due to the Gmail's sheer scale. gmail-smtp-in.l.google.com has the highest priority of 5, so SMTP servers will attempt to contact that mailserver first, followed by alt1.gmail-smtp-in.l.google.com and so on.example.com are hera.ns.cloudflare.com and elliott.ns.cloudflare.com, which means Cloudflare's nameservers are the source of truth when looking up DNS records for example.com. You can check this with dig:$ dig NS example.com ; <<>> DiG 9.20.29-1-Debian <<>> NS example.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37717 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;example.com. IN NS ;; ANSWER SECTION: example.com. 81837 IN NS hera.ns.cloudflare.com. example.com. 81837 IN NS elliott.ns.cloudflare.com. ;; Query time: 140 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Sun Sep 27 23:27:19 AWST 2026 ;; MSG SIZE rcvd: 95Nameservers are configured with your domain name's registrar. The nameserver you set dictates where your remaining DNS records will live. For
example.com, this means you would configure all your records on Cloudflare's dashboard, since they are responsible for the domain's DNS records..) nameservers. The resolver uses a fixed list of root nameservers called root hints issued by IANA (named.root), to locate and contact the root nameservers. Resolvers will have this provided to them initially, and can dynamically update it themselves by querying one of the root nameservers for the root NS records to obtain a fresh list. For instance, we can query 198.41.0.4 (a.root-servers.net) to obtain a new list of root nameservers:$ dig @198.41.0.4 NS . ; <<>> DiG 9.20.29-1-Debian <<>> @198.41.0.4 NS . ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43677 ;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 27 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;. IN NS ;; ANSWER SECTION: . 518400 IN NS l.root-servers.net. . 518400 IN NS j.root-servers.net. . 518400 IN NS f.root-servers.net. . 518400 IN NS h.root-servers.net. . 518400 IN NS d.root-servers.net. . 518400 IN NS b.root-servers.net. . 518400 IN NS k.root-servers.net. . 518400 IN NS i.root-servers.net. . 518400 IN NS m.root-servers.net. . 518400 IN NS e.root-servers.net. . 518400 IN NS g.root-servers.net. . 518400 IN NS c.root-servers.net. . 518400 IN NS a.root-servers.net. ;; ADDITIONAL SECTION: l.root-servers.net. 518400 IN A 199.7.83.42 l.root-servers.net. 518400 IN AAAA 2001:500:9f::42 j.root-servers.net. 518400 IN A 192.58.128.30 j.root-servers.net. 518400 IN AAAA 2001:503:c27::2:30 f.root-servers.net. 518400 IN A 192.5.5.241 f.root-servers.net. 518400 IN AAAA 2001:500:2f::f h.root-servers.net. 518400 IN A 198.97.190.53 h.root-servers.net. 518400 IN AAAA 2001:500:1::53 d.root-servers.net. 518400 IN A 199.7.91.13 d.root-servers.net. 518400 IN AAAA 2001:500:2d::d b.root-servers.net. 518400 IN A 170.247.170.2 b.root-servers.net. 518400 IN AAAA 2801:1b8:10::b k.root-servers.net. 518400 IN A 193.0.14.129 k.root-servers.net. 518400 IN AAAA 2001:7fd::1 i.root-servers.net. 518400 IN A 192.36.148.17 i.root-servers.net. 518400 IN AAAA 2001:7fe::53 m.root-servers.net. 518400 IN A 202.12.27.33 m.root-servers.net. 518400 IN AAAA 2001:dc3::35 e.root-servers.net. 518400 IN A 192.203.230.10 e.root-servers.net. 518400 IN AAAA 2001:500:a8::e g.root-servers.net. 518400 IN A 192.112.36.4 g.root-servers.net. 518400 IN AAAA 2001:500:12::d0d c.root-servers.net. 518400 IN A 192.33.4.12 c.root-servers.net. 518400 IN AAAA 2001:500:2::c a.root-servers.net. 518400 IN A 198.41.0.4 a.root-servers.net. 518400 IN AAAA 2001:503:ba3e::2:30 ;; Query time: 476 msec ;; SERVER: 198.41.0.4#53(198.41.0.4) (UDP) ;; WHEN: Mon Sep 28 00:01:08 AWST 2026 ;; MSG SIZE rcvd: 811
example.com, the first step is to query the root (.) nameservers to find the nameservers for the .com top-level domain (TLD). Using a.root-servers.net again:$ dig @198.41.0.4 NS com ; <<>> DiG 9.20.29-1-Debian <<>> @198.41.0.4 NS com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22528 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 27 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;com. IN NS ;; AUTHORITY SECTION: com. 172800 IN NS l.gtld-servers.net. com. 172800 IN NS j.gtld-servers.net. com. 172800 IN NS h.gtld-servers.net. com. 172800 IN NS d.gtld-servers.net. com. 172800 IN NS b.gtld-servers.net. com. 172800 IN NS f.gtld-servers.net. com. 172800 IN NS k.gtld-servers.net. com. 172800 IN NS m.gtld-servers.net. com. 172800 IN NS i.gtld-servers.net. com. 172800 IN NS g.gtld-servers.net. com. 172800 IN NS a.gtld-servers.net. com. 172800 IN NS c.gtld-servers.net. com. 172800 IN NS e.gtld-servers.net. ;; ADDITIONAL SECTION: l.gtld-servers.net. 172800 IN A 192.41.162.30 l.gtld-servers.net. 172800 IN AAAA 2001:500:d937::30 j.gtld-servers.net. 172800 IN A 192.48.79.30 j.gtld-servers.net. 172800 IN AAAA 2001:502:7094::30 h.gtld-servers.net. 172800 IN A 192.54.112.30 h.gtld-servers.net. 172800 IN AAAA 2001:502:8cc::30 d.gtld-servers.net. 172800 IN A 192.31.80.30 d.gtld-servers.net. 172800 IN AAAA 2001:500:856e::30 b.gtld-servers.net. 172800 IN A 192.33.14.30 b.gtld-servers.net. 172800 IN AAAA 2001:503:231d::2:30 f.gtld-servers.net. 172800 IN A 192.35.51.30 f.gtld-servers.net. 172800 IN AAAA 2001:503:d414::30 k.gtld-servers.net. 172800 IN A 192.52.178.30 k.gtld-servers.net. 172800 IN AAAA 2001:503:d2d::30 m.gtld-servers.net. 172800 IN A 192.55.83.30 m.gtld-servers.net. 172800 IN AAAA 2001:501:b1f9::30 i.gtld-servers.net. 172800 IN A 192.43.172.30 i.gtld-servers.net. 172800 IN AAAA 2001:503:39c1::30 g.gtld-servers.net. 172800 IN A 192.42.93.30 g.gtld-servers.net. 172800 IN AAAA 2001:503:eea3::30 a.gtld-servers.net. 172800 IN A 192.5.6.30 a.gtld-servers.net. 172800 IN AAAA 2001:503:a83e::2:30 c.gtld-servers.net. 172800 IN A 192.26.92.30 c.gtld-servers.net. 172800 IN AAAA 2001:503:83eb::30 e.gtld-servers.net. 172800 IN A 192.12.94.30 e.gtld-servers.net. 172800 IN AAAA 2001:502:1ca1::30 ;; Query time: 772 msec ;; SERVER: 198.41.0.4#53(198.41.0.4) (UDP) ;; WHEN: Mon Sep 28 00:09:25 AWST 2026 ;; MSG SIZE rcvd: 828
.com nameservers and their IPs. We can use one of these, such as 192.5.6.30 (a.gtld-servers.net) to find the nameservers for example.com:$ dig @192.5.6.30 NS example.com ; <<>> DiG 9.20.29-1-Debian <<>> @192.5.6.30 NS example.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37419 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 13 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;example.com. IN NS ;; AUTHORITY SECTION: example.com. 172800 IN NS hera.ns.cloudflare.com. example.com. 172800 IN NS elliott.ns.cloudflare.com. ;; ADDITIONAL SECTION: hera.ns.cloudflare.com. 172800 IN A 108.162.192.162 hera.ns.cloudflare.com. 172800 IN A 172.64.32.162 hera.ns.cloudflare.com. 172800 IN A 173.245.58.162 hera.ns.cloudflare.com. 172800 IN AAAA 2606:4700:50::adf5:3aa2 hera.ns.cloudflare.com. 172800 IN AAAA 2803:f800:50::6ca2:c0a2 hera.ns.cloudflare.com. 172800 IN AAAA 2a06:98c1:50::ac40:20a2 elliott.ns.cloudflare.com. 172800 IN A 108.162.195.228 elliott.ns.cloudflare.com. 172800 IN A 162.159.44.228 elliott.ns.cloudflare.com. 172800 IN A 172.64.35.228 elliott.ns.cloudflare.com. 172800 IN AAAA 2606:4700:58::a29f:2ce4 elliott.ns.cloudflare.com. 172800 IN AAAA 2803:f800:50::6ca2:c3e4 elliott.ns.cloudflare.com. 172800 IN AAAA 2a06:98c1:50::ac40:23e4 ;; Query time: 80 msec ;; SERVER: 192.5.6.30#53(192.5.6.30) (UDP) ;; WHEN: Mon Sep 28 00:12:19 AWST 2026 ;; MSG SIZE rcvd: 359
example.com are hera.ns.cloudflare.com and elliott.ns.cloudflare.com. Now since these Cloudflare nameservers are also .com domains and Cloudflare is so commonly used, the .com nameserver provides optional sibling glue records as defined in RFC 9471 to prevent further roundtrips and optimize the process.If we ignore the sibling glue records provided, the resolver would have to ask the .com nameservers for the nameservers for cloudflare.com:$ dig @192.5.6.30 NS cloudflare.com ; <<>> DiG 9.20.29-1-Debian <<>> @192.5.6.30 NS cloudflare.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40307 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 5, ADDITIONAL: 21 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;cloudflare.com. IN NS ;; AUTHORITY SECTION: cloudflare.com. 172800 IN NS ns3.cloudflare.com. cloudflare.com. 172800 IN NS ns5.cloudflare.com. cloudflare.com. 172800 IN NS ns4.cloudflare.com. cloudflare.com. 172800 IN NS ns6.cloudflare.com. cloudflare.com. 172800 IN NS ns7.cloudflare.com. ;; ADDITIONAL SECTION: ns3.cloudflare.com. 172800 IN A 162.159.0.33 ns3.cloudflare.com. 172800 IN A 162.159.7.226 ns3.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:21 ns3.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:7e2 ns5.cloudflare.com. 172800 IN A 162.159.2.9 ns5.cloudflare.com. 172800 IN A 162.159.9.55 ns5.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:209 ns5.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:937 ns4.cloudflare.com. 172800 IN A 162.159.1.33 ns4.cloudflare.com. 172800 IN A 162.159.8.55 ns4.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:121 ns4.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:837 ns6.cloudflare.com. 172800 IN A 162.159.3.11 ns6.cloudflare.com. 172800 IN A 162.159.5.6 ns6.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:30b ns6.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:506 ns7.cloudflare.com. 172800 IN A 162.159.4.8 ns7.cloudflare.com. 172800 IN A 162.159.6.6 ns7.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:408 ns7.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:606 ;; Query time: 163 msec ;; SERVER: 192.5.6.30#53(192.5.6.30) (UDP) ;; WHEN: Mon Sep 28 00:26:53 AWST 2026 ;; MSG SIZE rcvd: 573Here, the
.com nameserver provides in-domain glue records for cloudflare.com's nameservers. Without these, there would be a circular dependency, since the nameserver named is a subdomain of the domain being queried for. This is because nameservers are always defined by name, which means that in order to actually contact the nameserver, your computer needs to obtain its IP address with another DNS lookup.Next, we'd use one of these nameservers, say ns3.cloudflare.com, to obtain the IP for hera.ns.cloudflare.com:$ dig @162.159.0.33 hera.ns.cloudflare.com ; <<>> DiG 9.20.29-1-Debian <<>> @162.159.0.33 hera.ns.cloudflare.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16801 ;; flags: qr aa rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;hera.ns.cloudflare.com. IN A ;; ANSWER SECTION: hera.ns.cloudflare.com. 86353 IN A 108.162.192.162 hera.ns.cloudflare.com. 86353 IN A 173.245.58.162 hera.ns.cloudflare.com. 86353 IN A 172.64.32.162 ;; Query time: 123 msec ;; SERVER: 162.159.0.33#53(162.159.0.33) (UDP) ;; WHEN: Mon Sep 28 01:11:37 AWST 2026 ;; MSG SIZE rcvd: 99
example.com! The last thing to do is to fetch the A record for example.com to obtain its server's IP address:$ dig @108.162.192.162 example.com ; <<>> DiG 9.20.29-1-Debian <<>> @108.162.192.162 example.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43082 ;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;example.com. IN A ;; ANSWER SECTION: example.com. 300 IN A 104.20.23.154 example.com. 300 IN A 172.66.147.243 ;; Query time: 123 msec ;; SERVER: 108.162.192.162#53(108.162.192.162) (UDP) ;; WHEN: Mon Sep 28 01:13:47 AWST 2026 ;; MSG SIZE rcvd: 72At last, we've determined that the IP addresses of the servers behind
example.com are 104.20.23.154 and 172.66.147.243. This matches our earlier lookup directly against your computer's configured DNS server.The DNS servers your computer uses encapsulate this recursive resolution process behind the scenes, so that your computer only needs to make one round trip, and the servers can use their much faster data center connections and caching to optimize the process and make the query as fast as possible.aezign.com.au is supposed to use Cloudflare, since that is where all the DNS records have been set up. We can verify this using dig, (or alternatively with online tools like dnschecker.org):$ dig NS aezign.com.au ; <<>> DiG 9.20.29-1-Debian <<>> NS aezign.com.au ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44172 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;aezign.com.au. IN NS ;; ANSWER SECTION: aezign.com.au. 86400 IN NS rosalie.ns.cloudflare.com. aezign.com.au. 86400 IN NS zeus.ns.cloudflare.com. ;; Query time: 92 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Mon Sep 28 01:39:22 AWST 2026 ;; MSG SIZE rcvd: 100If this is not set correctly, the DNS records you configure will not work, as resolvers will be fetching records from somewhere else. In most cases, you can update this in your domain registrar's settings. This is especially common for new domain names, which default to the registrar's nameservers; unless you plan to use their built-in DNS management, you'll need to point them to your chosen provider.Now we can check that the DNS records configured match those your DNS server returns. For
aezign.com.au, these are the MX and TXT records configured on Cloudflare.
The MX record and some TXT records configured for aezign.com.au on Cloudflare's dashboard.dig, and using the +short option to show only the content of the records.$ dig MX aezign.com.au +short 10 mail.aezign.au. $ dig TXT aezign.com.au +short "google-site-verification=KFqTU5xH8fFf6OtszEL4oudfxple29Tm-TvxVtCWkAM" "v=spf1 mx a:mail.aezign.au -all" $ dig TXT _dmarc.aezign.com.au +short "v=DMARC1;p=quarantine;sp=quarantine;adkim=r;aspf=r" $ dig TXT aezign.com.au-2026._domainkey.aezign.com.au +short "v=DKIM1; h=sha256; k=rsa; s=email; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzL04yXZgB72YkoxS+tLK//aWx65TS4UA3F0qJ7el68SEuD4ehmg+61Ta9iS31H6U074dnjyoPDeaiGBa7ToTNCtiIts4/ghD/8nrENROE6hQAwRmTK18ODDHrRDW73hWe6Dg4cK5vmXi82/wWRZU9SDKbme28IE9uCVir3lCkKYLs1" "j16gR1Sjqr6a2+3o+EeVXnLJ4wXmJMm7KCIdn7zv0t9Z1eYcw672PdpYPAMpGb8uUsgaDBsNSpTcupPkz4SWj6TrOB80CPHjWseVY8EOJeRsNKQ/8LFoQEBl4Rxtb3HAmu4UIxSZ4QMVOLnXz67e85mA5XjcNIsVMzaWaowwIDAQAB"As we can see, this matches, which means that the nameservers for
aezign.com.au are correct and the DNS records are what we intend them to be.Note that if you've recently changed the nameserver or DNS records for your domain, it can take anywhere between 10 seconds and 24 hours for the changes to take effect and propagate across the different DNS servers globally. Tools like dnschecker.org can check your records on different DNS servers worldwide to see if they're reflecting your changes. The reason for this is caching: DNS servers like 1.1.1.1 will cache results so it doesn't have to do the full resolution process every time, and uses the Time-To-Live (TTL) you configure in your DNS records as a guideline for caching duration.aezign.com.au instead of raw IP addresses in your browser's address bar and when sending emails. This article explains what it is, how it works, and how you can inspect your own website's DNS and ensure it is set up correctly.dig on the command line to perform a DNS lookup and see what this looks like:$ dig example.com ; <<>> DiG 9.20.29-1-Debian <<>> example.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42782 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;example.com. IN A ;; ANSWER SECTION: example.com. 221 IN A 104.20.23.154 example.com. 221 IN A 172.66.147.243 ;; Query time: 20 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Sun Sep 27 21:07:50 AWST 2026 ;; MSG SIZE rcvd: 72Here, you can see the DNS server being used is
1.1.1.1 (Cloudflare's DNS server), and that it found the IPs 104.20.23.154 and 172.66.147.243 associated with the domain name example.com. Your browser will then contact these IP addresses directly to load the website you are trying to open.1.1.1.1 and 1.0.0.1) and Google's (8.8.8.8 and 8.8.4.4). Having more than one DNS server means that if the first one in the list doesn't work or doesn't find the matching IPs for a domain name, it will move to the next one in the list, a backup DNS server.DNS servers must be configured as IP addresses. If your computer tried to use a DNS server at a domain name, then where would your computer find the IP address for that domain name? It wouldn't be able to, as this is the exact gap that DNS servers fulfill.example.com) or a subdomain (e.g. bar.example.com, foo.bar.example.com) Here are some of the most common and important types:104.20.23.154).This is the fundamental function of DNS: to map from a domain name to a server's IP address. Multiple A records leads to load balancing, where browsers will randomly select one of the returned IP addresses such that traffic is evenly split between them.2606:4700:10::6814:179a).This serves the same purpose as A records but for IPv6. Multiple AAAA records results in the same load balancing behaviour. All modern websites should have both an A record for legacy compatibility, and an AAAA record to future-proof for the gradual shift towards IPv6 addresses.example.com).DNS servers will recursively lookup records for the aliased domain name until they reach an IP address (in an A or AAAA record).mail.example.com).This record tells email SMTP servers where to direct emails to. For instance, the MX record for aezign.com.au is mail.aezign.au; this directs SMTP servers like Gmail and Outlook to send emails to the mailserver running at mail.aezign.au. This also allows specifying a priority field, so that you can define multiple MX records (such as a main and a backup) and consumers will try to connect to the listed mailservers from lowest priority to highest.zeus.ns.cloudflare.com).These authoritative nameservers are responsible for providing all the other record types when needed.dig lets you query each of these. For instance, to list the MX records against aezign.com.au:$ dig MX aezign.com.au ; <<>> DiG 9.20.29-1-Debian <<>> MX aezign.com.au ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28213 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;aezign.com.au. IN MX ;; ANSWER SECTION: aezign.com.au. 300 IN MX 10 mail.aezign.au. ;; Query time: 104 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Sun Sep 27 22:04:58 AWST 2026 ;; MSG SIZE rcvd: 70Here you can see there is only one mailserver configured for
aezign.com.au, which is mail.aezign.au, and it has a priority of 10.If you compare this against something like gmail.com:$ dig MX gmail.com ; <<>> DiG 9.20.29-1-Debian <<>> MX gmail.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16538 ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;gmail.com. IN MX ;; ANSWER SECTION: gmail.com. 2497 IN MX 40 alt4.gmail-smtp-in.l.google.com. gmail.com. 2497 IN MX 20 alt2.gmail-smtp-in.l.google.com. gmail.com. 2497 IN MX 5 gmail-smtp-in.l.google.com. gmail.com. 2497 IN MX 10 alt1.gmail-smtp-in.l.google.com. gmail.com. 2497 IN MX 30 alt3.gmail-smtp-in.l.google.com. ;; Query time: 120 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Sun Sep 27 22:06:04 AWST 2026 ;; MSG SIZE rcvd: 161You can see that
gmail.com has several mailservers configured as redundancies due to the Gmail's sheer scale. gmail-smtp-in.l.google.com has the highest priority of 5, so SMTP servers will attempt to contact that mailserver first, followed by alt1.gmail-smtp-in.l.google.com and so on.example.com are hera.ns.cloudflare.com and elliott.ns.cloudflare.com, which means Cloudflare's nameservers are the source of truth when looking up DNS records for example.com. You can check this with dig:$ dig NS example.com ; <<>> DiG 9.20.29-1-Debian <<>> NS example.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37717 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;example.com. IN NS ;; ANSWER SECTION: example.com. 81837 IN NS hera.ns.cloudflare.com. example.com. 81837 IN NS elliott.ns.cloudflare.com. ;; Query time: 140 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Sun Sep 27 23:27:19 AWST 2026 ;; MSG SIZE rcvd: 95Nameservers are configured with your domain name's registrar. The nameserver you set dictates where your remaining DNS records will live. For
example.com, this means you would configure all your records on Cloudflare's dashboard, since they are responsible for the domain's DNS records..) nameservers. The resolver uses a fixed list of root nameservers called root hints issued by IANA (named.root), to locate and contact the root nameservers. Resolvers will have this provided to them initially, and can dynamically update it themselves by querying one of the root nameservers for the root NS records to obtain a fresh list. For instance, we can query 198.41.0.4 (a.root-servers.net) to obtain a new list of root nameservers:$ dig @198.41.0.4 NS . ; <<>> DiG 9.20.29-1-Debian <<>> @198.41.0.4 NS . ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43677 ;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 27 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;. IN NS ;; ANSWER SECTION: . 518400 IN NS l.root-servers.net. . 518400 IN NS j.root-servers.net. . 518400 IN NS f.root-servers.net. . 518400 IN NS h.root-servers.net. . 518400 IN NS d.root-servers.net. . 518400 IN NS b.root-servers.net. . 518400 IN NS k.root-servers.net. . 518400 IN NS i.root-servers.net. . 518400 IN NS m.root-servers.net. . 518400 IN NS e.root-servers.net. . 518400 IN NS g.root-servers.net. . 518400 IN NS c.root-servers.net. . 518400 IN NS a.root-servers.net. ;; ADDITIONAL SECTION: l.root-servers.net. 518400 IN A 199.7.83.42 l.root-servers.net. 518400 IN AAAA 2001:500:9f::42 j.root-servers.net. 518400 IN A 192.58.128.30 j.root-servers.net. 518400 IN AAAA 2001:503:c27::2:30 f.root-servers.net. 518400 IN A 192.5.5.241 f.root-servers.net. 518400 IN AAAA 2001:500:2f::f h.root-servers.net. 518400 IN A 198.97.190.53 h.root-servers.net. 518400 IN AAAA 2001:500:1::53 d.root-servers.net. 518400 IN A 199.7.91.13 d.root-servers.net. 518400 IN AAAA 2001:500:2d::d b.root-servers.net. 518400 IN A 170.247.170.2 b.root-servers.net. 518400 IN AAAA 2801:1b8:10::b k.root-servers.net. 518400 IN A 193.0.14.129 k.root-servers.net. 518400 IN AAAA 2001:7fd::1 i.root-servers.net. 518400 IN A 192.36.148.17 i.root-servers.net. 518400 IN AAAA 2001:7fe::53 m.root-servers.net. 518400 IN A 202.12.27.33 m.root-servers.net. 518400 IN AAAA 2001:dc3::35 e.root-servers.net. 518400 IN A 192.203.230.10 e.root-servers.net. 518400 IN AAAA 2001:500:a8::e g.root-servers.net. 518400 IN A 192.112.36.4 g.root-servers.net. 518400 IN AAAA 2001:500:12::d0d c.root-servers.net. 518400 IN A 192.33.4.12 c.root-servers.net. 518400 IN AAAA 2001:500:2::c a.root-servers.net. 518400 IN A 198.41.0.4 a.root-servers.net. 518400 IN AAAA 2001:503:ba3e::2:30 ;; Query time: 476 msec ;; SERVER: 198.41.0.4#53(198.41.0.4) (UDP) ;; WHEN: Mon Sep 28 00:01:08 AWST 2026 ;; MSG SIZE rcvd: 811
example.com, the first step is to query the root (.) nameservers to find the nameservers for the .com top-level domain (TLD). Using a.root-servers.net again:$ dig @198.41.0.4 NS com ; <<>> DiG 9.20.29-1-Debian <<>> @198.41.0.4 NS com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22528 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 27 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;com. IN NS ;; AUTHORITY SECTION: com. 172800 IN NS l.gtld-servers.net. com. 172800 IN NS j.gtld-servers.net. com. 172800 IN NS h.gtld-servers.net. com. 172800 IN NS d.gtld-servers.net. com. 172800 IN NS b.gtld-servers.net. com. 172800 IN NS f.gtld-servers.net. com. 172800 IN NS k.gtld-servers.net. com. 172800 IN NS m.gtld-servers.net. com. 172800 IN NS i.gtld-servers.net. com. 172800 IN NS g.gtld-servers.net. com. 172800 IN NS a.gtld-servers.net. com. 172800 IN NS c.gtld-servers.net. com. 172800 IN NS e.gtld-servers.net. ;; ADDITIONAL SECTION: l.gtld-servers.net. 172800 IN A 192.41.162.30 l.gtld-servers.net. 172800 IN AAAA 2001:500:d937::30 j.gtld-servers.net. 172800 IN A 192.48.79.30 j.gtld-servers.net. 172800 IN AAAA 2001:502:7094::30 h.gtld-servers.net. 172800 IN A 192.54.112.30 h.gtld-servers.net. 172800 IN AAAA 2001:502:8cc::30 d.gtld-servers.net. 172800 IN A 192.31.80.30 d.gtld-servers.net. 172800 IN AAAA 2001:500:856e::30 b.gtld-servers.net. 172800 IN A 192.33.14.30 b.gtld-servers.net. 172800 IN AAAA 2001:503:231d::2:30 f.gtld-servers.net. 172800 IN A 192.35.51.30 f.gtld-servers.net. 172800 IN AAAA 2001:503:d414::30 k.gtld-servers.net. 172800 IN A 192.52.178.30 k.gtld-servers.net. 172800 IN AAAA 2001:503:d2d::30 m.gtld-servers.net. 172800 IN A 192.55.83.30 m.gtld-servers.net. 172800 IN AAAA 2001:501:b1f9::30 i.gtld-servers.net. 172800 IN A 192.43.172.30 i.gtld-servers.net. 172800 IN AAAA 2001:503:39c1::30 g.gtld-servers.net. 172800 IN A 192.42.93.30 g.gtld-servers.net. 172800 IN AAAA 2001:503:eea3::30 a.gtld-servers.net. 172800 IN A 192.5.6.30 a.gtld-servers.net. 172800 IN AAAA 2001:503:a83e::2:30 c.gtld-servers.net. 172800 IN A 192.26.92.30 c.gtld-servers.net. 172800 IN AAAA 2001:503:83eb::30 e.gtld-servers.net. 172800 IN A 192.12.94.30 e.gtld-servers.net. 172800 IN AAAA 2001:502:1ca1::30 ;; Query time: 772 msec ;; SERVER: 198.41.0.4#53(198.41.0.4) (UDP) ;; WHEN: Mon Sep 28 00:09:25 AWST 2026 ;; MSG SIZE rcvd: 828
.com nameservers and their IPs. We can use one of these, such as 192.5.6.30 (a.gtld-servers.net) to find the nameservers for example.com:$ dig @192.5.6.30 NS example.com ; <<>> DiG 9.20.29-1-Debian <<>> @192.5.6.30 NS example.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37419 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 13 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;example.com. IN NS ;; AUTHORITY SECTION: example.com. 172800 IN NS hera.ns.cloudflare.com. example.com. 172800 IN NS elliott.ns.cloudflare.com. ;; ADDITIONAL SECTION: hera.ns.cloudflare.com. 172800 IN A 108.162.192.162 hera.ns.cloudflare.com. 172800 IN A 172.64.32.162 hera.ns.cloudflare.com. 172800 IN A 173.245.58.162 hera.ns.cloudflare.com. 172800 IN AAAA 2606:4700:50::adf5:3aa2 hera.ns.cloudflare.com. 172800 IN AAAA 2803:f800:50::6ca2:c0a2 hera.ns.cloudflare.com. 172800 IN AAAA 2a06:98c1:50::ac40:20a2 elliott.ns.cloudflare.com. 172800 IN A 108.162.195.228 elliott.ns.cloudflare.com. 172800 IN A 162.159.44.228 elliott.ns.cloudflare.com. 172800 IN A 172.64.35.228 elliott.ns.cloudflare.com. 172800 IN AAAA 2606:4700:58::a29f:2ce4 elliott.ns.cloudflare.com. 172800 IN AAAA 2803:f800:50::6ca2:c3e4 elliott.ns.cloudflare.com. 172800 IN AAAA 2a06:98c1:50::ac40:23e4 ;; Query time: 80 msec ;; SERVER: 192.5.6.30#53(192.5.6.30) (UDP) ;; WHEN: Mon Sep 28 00:12:19 AWST 2026 ;; MSG SIZE rcvd: 359
example.com are hera.ns.cloudflare.com and elliott.ns.cloudflare.com. Now since these Cloudflare nameservers are also .com domains and Cloudflare is so commonly used, the .com nameserver provides optional sibling glue records as defined in RFC 9471 to prevent further roundtrips and optimize the process.If we ignore the sibling glue records provided, the resolver would have to ask the .com nameservers for the nameservers for cloudflare.com:$ dig @192.5.6.30 NS cloudflare.com ; <<>> DiG 9.20.29-1-Debian <<>> @192.5.6.30 NS cloudflare.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40307 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 5, ADDITIONAL: 21 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;cloudflare.com. IN NS ;; AUTHORITY SECTION: cloudflare.com. 172800 IN NS ns3.cloudflare.com. cloudflare.com. 172800 IN NS ns5.cloudflare.com. cloudflare.com. 172800 IN NS ns4.cloudflare.com. cloudflare.com. 172800 IN NS ns6.cloudflare.com. cloudflare.com. 172800 IN NS ns7.cloudflare.com. ;; ADDITIONAL SECTION: ns3.cloudflare.com. 172800 IN A 162.159.0.33 ns3.cloudflare.com. 172800 IN A 162.159.7.226 ns3.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:21 ns3.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:7e2 ns5.cloudflare.com. 172800 IN A 162.159.2.9 ns5.cloudflare.com. 172800 IN A 162.159.9.55 ns5.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:209 ns5.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:937 ns4.cloudflare.com. 172800 IN A 162.159.1.33 ns4.cloudflare.com. 172800 IN A 162.159.8.55 ns4.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:121 ns4.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:837 ns6.cloudflare.com. 172800 IN A 162.159.3.11 ns6.cloudflare.com. 172800 IN A 162.159.5.6 ns6.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:30b ns6.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:506 ns7.cloudflare.com. 172800 IN A 162.159.4.8 ns7.cloudflare.com. 172800 IN A 162.159.6.6 ns7.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:408 ns7.cloudflare.com. 172800 IN AAAA 2400:cb00:2049:1::a29f:606 ;; Query time: 163 msec ;; SERVER: 192.5.6.30#53(192.5.6.30) (UDP) ;; WHEN: Mon Sep 28 00:26:53 AWST 2026 ;; MSG SIZE rcvd: 573Here, the
.com nameserver provides in-domain glue records for cloudflare.com's nameservers. Without these, there would be a circular dependency, since the nameserver named is a subdomain of the domain being queried for. This is because nameservers are always defined by name, which means that in order to actually contact the nameserver, your computer needs to obtain its IP address with another DNS lookup.Next, we'd use one of these nameservers, say ns3.cloudflare.com, to obtain the IP for hera.ns.cloudflare.com:$ dig @162.159.0.33 hera.ns.cloudflare.com ; <<>> DiG 9.20.29-1-Debian <<>> @162.159.0.33 hera.ns.cloudflare.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16801 ;; flags: qr aa rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;hera.ns.cloudflare.com. IN A ;; ANSWER SECTION: hera.ns.cloudflare.com. 86353 IN A 108.162.192.162 hera.ns.cloudflare.com. 86353 IN A 173.245.58.162 hera.ns.cloudflare.com. 86353 IN A 172.64.32.162 ;; Query time: 123 msec ;; SERVER: 162.159.0.33#53(162.159.0.33) (UDP) ;; WHEN: Mon Sep 28 01:11:37 AWST 2026 ;; MSG SIZE rcvd: 99
example.com! The last thing to do is to fetch the A record for example.com to obtain its server's IP address:$ dig @108.162.192.162 example.com ; <<>> DiG 9.20.29-1-Debian <<>> @108.162.192.162 example.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43082 ;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;example.com. IN A ;; ANSWER SECTION: example.com. 300 IN A 104.20.23.154 example.com. 300 IN A 172.66.147.243 ;; Query time: 123 msec ;; SERVER: 108.162.192.162#53(108.162.192.162) (UDP) ;; WHEN: Mon Sep 28 01:13:47 AWST 2026 ;; MSG SIZE rcvd: 72At last, we've determined that the IP addresses of the servers behind
example.com are 104.20.23.154 and 172.66.147.243. This matches our earlier lookup directly against your computer's configured DNS server.The DNS servers your computer uses employ this recursive resolution technique behind the scenes, so that your computer only needs to make one round trip, and the servers can use their much faster data center connections and caching to optimize the process and make the query as fast as possible.aezign.com.au is supposed to use Cloudflare, since that is where all the DNS records have been set up. We can verify this using dig, (or alternatively with online tools like dnschecker.org):$ dig NS aezign.com.au ; <<>> DiG 9.20.29-1-Debian <<>> NS aezign.com.au ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44172 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;aezign.com.au. IN NS ;; ANSWER SECTION: aezign.com.au. 86400 IN NS rosalie.ns.cloudflare.com. aezign.com.au. 86400 IN NS zeus.ns.cloudflare.com. ;; Query time: 92 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Mon Sep 28 01:39:22 AWST 2026 ;; MSG SIZE rcvd: 100If this is not set correctly, the DNS records you configure will not work, as resolvers will be fetching records from somewhere else. In most cases, you can update this in your domain registrar's settings. This is especially common for new domain names, which default to the registrar's nameservers; unless you plan to use their built-in DNS management, you'll need to point them to your chosen provider.Now we can check that the DNS records you've configured match those your DNS server returns. For
aezign.com.au, these are the MX and TXT records configured on Cloudflare.
The MX record and some TXT records configured for aezign.com.au on Cloudflare's dashboard.dig, and using the +short option to show only the content of the records.$ dig MX aezign.com.au +short 10 mail.aezign.au. $ dig TXT aezign.com.au +short "google-site-verification=KFqTU5xH8fFf6OtszEL4oudfxple29Tm-TvxVtCWkAM" "v=spf1 mx a:mail.aezign.au -all" $ dig TXT _dmarc.aezign.com.au +short "v=DMARC1;p=quarantine;sp=quarantine;adkim=r;aspf=r" $ dig TXT aezign.com.au-2026._domainkey.aezign.com.au +short "v=DKIM1; h=sha256; k=rsa; s=email; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzL04yXZgB72YkoxS+tLK//aWx65TS4UA3F0qJ7el68SEuD4ehmg+61Ta9iS31H6U074dnjyoPDeaiGBa7ToTNCtiIts4/ghD/8nrENROE6hQAwRmTK18ODDHrRDW73hWe6Dg4cK5vmXi82/wWRZU9SDKbme28IE9uCVir3lCkKYLs1" "j16gR1Sjqr6a2+3o+EeVXnLJ4wXmJMm7KCIdn7zv0t9Z1eYcw672PdpYPAMpGb8uUsgaDBsNSpTcupPkz4SWj6TrOB80CPHjWseVY8EOJeRsNKQ/8LFoQEBl4Rxtb3HAmu4UIxSZ4QMVOLnXz67e85mA5XjcNIsVMzaWaowwIDAQAB"As we can see, this matches, which means that the nameservers for
aezign.com.au are correct and the DNS records are what we intend them to be.Note that if you've recently changed the nameserver or DNS records for your domain, it can take anywhere between 10 seconds and 24 hours for the changes to take effect and propagate across the different DNS servers worldwide. Tools like dnschecker.org can check your records on different DNS servers worldwide to see if they're reflecting your changes. The reason for this is caching: DNS servers like 1.1.1.1 will cache results so it doesn't have to do the full resolution process every time, and uses the Time-To-Live (TTL) you configure in your DNS records as a guideline for caching duration.
One of the primary design principles for Linus Torvalds when creating Git is that it should be a distributed system, capable of working with multiple remotes. However, most people seem to use Git with just one remote, typically having GitHub or GitLab as the only origin.
Version control systems before Git relied on a centralized model. For example in Subversion or CVS you could only sync with one single remote server, which was considered the primary host of the source code. Git however is not just a VCS, but a DVCS, for distributed version control system. If you currently use Git with just one single remote as if it was a centralized version control system, now is the time to change that and learn how to add multiple remotes, and configure more flexible git pull and git push rules.
The first concept to grasp is that Git can have multiple remotes. For example, after running a basic clone command such as git clone https://github.com/ottok/debcraft.git you would end up with a single remote origin pointing to GitHub:
$ git remote --verbose
origin https://github.com/ottok/debcraft.git (fetch)
origin https://github.com/ottok/debcraft.git (push)git remote:
$ git remote rename origin github
$ git remote add gitlab https://gitlab.com/ottok/debcraft.git
$ git remote --verbose
github https://github.com/ottok/debcraft.git (fetch)
github https://github.com/ottok/debcraft.git (push)
gitlab https://gitlab.com/ottok/debcraft.git (fetch)
gitlab https://gitlab.com/ottok/debcraft.git (push)$ git pull --all
Fetching github
Fetching gitlab
Already up to date.gitlab/main and github/main which tell which commit the branch main points to on various remotes. In this case they are all in sync and point to the same 5d1815c:
$ git log --oneline
5d1815c (HEAD -> main, gitlab/main, github/main) Bump Debhelper version from 13 to 14
ca518a7 Temporarily disable automatic copyright year bumping due to frequent bugs
d6e201e Exclude .pm from codespell to decrease false positives (Closes: #1140488)
708ee35 Exclude debian/copyright from codespell due to frequent false positivesdev and I only want to push it to GitLab to trigger a CI run there, I can run git push gitlab dev. You can also configure a default remote by running once git push --set-upstream gitlab dev and thereafter simply run git push and it will automatically push the branch dev only to that remote.
A related setting is remote.pushDefault, which tells git which remote to push to when a branch does not define one of its own, and it applies to every branch that lacks a [branch] section in .git/config. Setting it once is what lets a repository have a per-branch pull remote, like the debcraft example below, and still have a single, predictable git push target. To see which remote git will use for each of your branches, run git branch -vv, and to refresh the remote-tracking branches of all remotes at once, run git fetch --all --prune.
If you want to have multiple remotes, but automatically push and pull to all of them at once, you configure one single remote to have multiple URLs with git remote set-url --add. Since git prints one line per push URL, git remote -v then shows the same remote several times, once for each URL it pushes to.
As an illustration, in my actual local Debcraft development project I have all these configured:
$ git remote -v
github-pull-requests git@github.com:ottok/debcraft.git (fetch)
github-pull-requests git@github.com:ottok/debcraft.git (push)
gitlab-merge-requests git@gitlab.com:ottok/debcraft.git (fetch)
gitlab-merge-requests git@gitlab.com:ottok/debcraft.git (push)
origin git@salsa.debian.org:debian/debcraft.git (fetch)
origin git@salsa.debian.org:debian/debcraft.git (push)
origin git@gitlab.com:ottok/debcraft.git (push)
origin git@github.com:ottok/debcraft.git (push)
otto git@salsa.debian.org:otto/debcraft.git (fetch)
otto git@salsa.debian.org:otto/debcraft.git (push)
otto git@gitlab.com:ottok/debcraft.git (push)
otto git@github.com:ottok/debcraft.git (push)
otto git@git.sr.ht:~ottok/debcraft (push)
otto ssh://git@codeberg.org/ottok/Debcraft.git (push)
salsa-merge-requests git@salsa.debian.org:debian/debcraft.git (fetch)
salsa-merge-requests git@salsa.debian.org:debian/debcraft.git (push)$ cat .git/config
...
[remote "origin"]
url = git@salsa.debian.org:debian/debcraft.git
fetch = +refs/heads/*:refs/remotes/origin/*
pushurl = git@salsa.debian.org:debian/debcraft.git
pushurl = git@gitlab.com:ottok/debcraft.git
pushurl = git@github.com:ottok/debcraft.git
[remote "otto"]
url = git@salsa.debian.org:otto/debcraft.git
fetch = +refs/heads/*:refs/remotes/otto/*
pushurl = git@salsa.debian.org:otto/debcraft.git
pushurl = git@gitlab.com:ottok/debcraft.git
pushurl = git@github.com:ottok/debcraft.git
pushurl = git@git.sr.ht:~ottok/debcraft
pushurl = ssh://git@codeberg.org/ottok/Debcraft.git
...
[branch "main"]
remote = origin
merge = refs/heads/main
[branch "dev"]
remote = otto
merge = refs/heads/dev
...main:
git pull will fetch from salsa.debian.org/debian/debcraft (the primary git hosting for this project)git push will push to Salsa, GitLab and GitHub, one after the other, making sure they all have the latest maindev:
git pull will fetch from salsa.debian.org/otto/debcraft (the personal fork)git push will push to Salsa, GitLab, GitHub, Sourcehut and Codeberg all one after the other$ git push
Everything up-to-date
Everything up-to-date
Everything up-to-date#!/bin/bash
# Add GitLab and GitHub push URLs to an existing git remote, so that a plain
# "git push" writes the same commits to all three code forges.
#
# Usage: ./git-multipush-salsa.sh
#
# Environment:
# SALSA_REMOTE remote to turn into a mirror, default origin
# SALSA_USER your Salsa user, only used to detect that the source
# remote is somebody else's project
# GITLAB_USER your GitLab user, default ottok
# GITHUB_USER your GitHub user, default ottok
# PROTOCOL ssh (default) or https, for the push URLs
set -euo pipefail
SCRIPT=$(basename "$0")
SALSA_REMOTE=$ SALSA_REMOTE:-origin
SALSA_USER=$ SALSA_USER:-otto
GITLAB_USER=$ GITLAB_USER:-ottok
GITHUB_USER=$ GITHUB_USER:-ottok
PROTOCOL=$ PROTOCOL:-ssh
die() echo "$SCRIPT: $*" >&2; exit 1;
# A failing command leaves the push URLs half configured behind, so say how
# to get back to where we started
fail()
echo "$SCRIPT: '$*' failed, the push URLs may already have been added" >&2
echo " git config --unset-all remote.$ SALSA_REMOTE .pushurl" >&2
echo " git remote set-url --add --push $ SALSA_REMOTE $ SALSA_URL " >&2
exit 1
git rev-parse --git-dir > /dev/null 2>&1 die "not inside a git repository"
git remote grep -qx "$SALSA_REMOTE" die "no remote named '$SALSA_REMOTE'"
# Example: git@salsa.debian.org:otto/salsa-ci-pipeline.git
SALSA_URL=$(git remote get-url "$SALSA_REMOTE")
# The source remote may use any of the URL forms salsa.debian.org accepts,
# for example git@salsa.debian.org:otto/salsa-ci-pipeline.git or
# https://salsa.debian.org/otto/salsa-ci-pipeline.git
case "$SALSA_URL" in
git@salsa.debian.org:*) SALSA_PATH=$ SALSA_URL#git@salsa.debian.org: ;;
ssh://git@salsa.debian.org/*) SALSA_PATH=$ SALSA_URL#ssh://git@salsa.debian.org/ ;;
https://salsa.debian.org/*) SALSA_PATH=$ SALSA_URL#https://salsa.debian.org/ ;;
http://salsa.debian.org/*) SALSA_PATH=$ SALSA_URL#http://salsa.debian.org/ ;;
*) die "unexpected source URL '$SALSA_URL', expected a salsa.debian.org URL" ;;
esac
SALSA_PATH=$ SALSA_PATH%/
SALSA_PATH=$ SALSA_PATH%.git
SOURCE_USER=$ SALSA_PATH%%/*
PROJECT=$ SALSA_PATH##*/
# Write the push URLs in one and the same protocol, no matter how the
# repository happens to have been cloned
if [ "$PROTOCOL" = "https" ]
then
SALSA_URL="https://salsa.debian.org/$ SALSA_PATH .git"
GITLAB_URL="https://gitlab.com/$ GITLAB_USER /$ PROJECT .git"
GITHUB_URL="https://github.com/$ GITHUB_USER /$ PROJECT .git"
else
SALSA_URL="git@salsa.debian.org:$ SALSA_PATH .git"
GITLAB_URL="git@gitlab.com:$ GITLAB_USER /$ PROJECT .git"
GITHUB_URL="git@github.com:$ GITHUB_USER /$ PROJECT .git"
fi
# Mirroring somebody else's project is fine, but it is usually not what you
# want: you most likely want to mirror your own fork instead
if [ "$SOURCE_USER" != "$SALSA_USER" ]
then
echo "Note: $SALSA_REMOTE points to $SOURCE_USER's project, not your own."
echo "To mirror your own fork, run this with SALSA_REMOTE set to its name."
echo
fi
# Bail out instead of adding the same push URLs twice
EXISTING=$(git remote get-url --push --all "$SALSA_REMOTE")
if [ "$(printf '%s\n' "$EXISTING" wc -l)" -gt 1 ]
then
die "remote '$SALSA_REMOTE' already has multiple push URLs:
$EXISTING"
fi
echo "Mirroring $SALSA_URL to $GITLAB_URL and $GITHUB_URL"
git remote set-url --add --push "$SALSA_REMOTE" "$SALSA_URL"
git remote set-url --add --push "$SALSA_REMOTE" "$GITLAB_URL"
git remote set-url --add --push "$SALSA_REMOTE" "$GITHUB_URL"
# Push the branch you have checked out first, and never with --force: the
# first branch a GitLab or GitHub project receives becomes its default branch,
# the one you then protect
DEFAULT_BRANCH=$(git symbolic-ref --short HEAD) die "not on a branch, check out a branch first"
git push -u "$SALSA_REMOTE" "$DEFAULT_BRANCH"
git push "$SALSA_REMOTE" --all
git push "$SALSA_REMOTE" --tags
# The push above creates the GitLab and GitHub projects, but GitLab projects
# are private by default, so make the new mirror public with glab if installed.
if command -v glab > /dev/null
then
echo "Make the GitLab project public and describe it as a mirror:"
glab api -X PUT "projects/$ GITLAB_USER %2F$ PROJECT " \
-f visibility=public \
-f description="Mirror of $ SALSA_URL " \
-f notification_email=disabled
else
echo "Install glab to do the same automatically, or visit"
echo "https://gitlab.com/$ GITLAB_USER /$ PROJECT /edit to make the project public"
fi
echo "To undo, drop all push URLs and add back only the original one:"
echo " git config --unset-all remote.$ SALSA_REMOTE .pushurl"
echo " git remote set-url --add --push $ SALSA_REMOTE $ SALSA_URL "glab, the last part simply reduces to visiting the GitLab project settings once and ticking the project public, and it is also worth setting a description like Mirror of https://salsa.debian.org/debian/debcraft and disabling notification email there, as nobody wants a mirror sending out a flood of emails every time you push.
There are a few caveats worth knowing about before mirroring everything everywhere. Every push to a remote with multiple push URLs writes to all of them, so a project with continuous integration configured on three forges will run its CI three times and cost you roughly three times as much. If one of the push URLs fails, say because the host is momentarily unreachable, git prints the error and stops there, leaving the remotes listed after the failing one without the new commits. Simply re-run the push once the host is reachable again; the remotes that did get the commits will just respond with Everything up-to-date. And you should never force-push to only one of the remotes, as that leaves the mirrors permanently out of sync with your local repository.
git clone will track all branches from the remote and pull everything, which in a typical open source project will bring in a lot of temporary development branches in vain.
Thus it is better to run git clone with the --single-branch and --branch parameters to fetch only the branch that matters, which in most cases is the main branch. That can be accomplished with:
git clone --single-branch --branch main https://github.com/ottok/debcraft.gitgit config remote.upstream.fetch "+refs/heads/main:refs/remotes/upstream/main"
git fetch upstream
git config --get-all remote.upstream.fetch
+refs/heads/main:refs/remotes/upstream/maingit config --add remote.upstream.fetch "+refs/heads/3.2.y:refs/remotes/upstream/3.2.y"
git fetch upstream
git checkout 3.2.y
Welcome to post 60 in the R4 series.
bubblewrap is
a great tool and very suitable for using with an agent harness. It is a
very compelling and lightweight alternative to using a full-blown docker container as it offers
low-level unprivileged sandboxing on Linux hosts.
In a nutshell, bubblewrap can turn
everything off (see unshare-all below) and allow access
only to selected services and directories (as shown below). This makes
it a very useful tool be used on a main workstation as it can provide a
lower-risk deployment quite easily while taking advantage of the already
installed software stack. I continue to get a lot of value out of docker, especially as r2u makes installing R
package dependencies so trivial. Its slogan easy, fast, reliable: pick
all three clearly holds for r2u. But sometimes bubblewrap is
compelling, for example to launch opencode (documented for example at the
debian-inference
site).
When using R we need add more
directories to the example to provide /etc/alternatives
which is governing inter alia the LAPACK / BLAS resolution on
Debian / Ubuntu systems; this is now on debian-inference
site but wasn t when I first tried it a few days ago ;-) as well as
/etc/R for config files and possibly
~/.R/Makevars for compiler settings. With that my current
wrapper is
#!/bin/bash
#
# cf https://inference.debian.net/doc
# and 'curl' command to set bearer code
bwrap \
--ro-bind /usr /usr \
--symlink usr/bin /bin \
--symlink usr/lib /lib \
--symlink usr/lib64 /lib64 \
--ro-bind /etc/ssl /etc/ssl \
--ro-bind /etc/resolv.conf /etc/resolv.conf \
--ro-bind $HOME/.gitconfig $HOME/.gitconfig \
--bind $HOME/.config/opencode $HOME/.config/opencode \
--bind $HOME/.cache/opencode $HOME/.cache/opencode \
--bind $HOME/.opencode $HOME/.opencode \
--bind $HOME/.local/share/opencode $HOME/.local/share/opencode \
--bind $HOME/.local/state/opencode $HOME/.local/state/opencode \
--ro-bind $HOME/.R/Makevars $HOME/.R/Makevars \
--ro-bind /etc/R/ /etc/R \
--ro-bind /etc/alternatives/ /etc/alternatives \
--proc /proc \
--dev /dev \
--tmpfs /tmp \
--bind $(pwd) $(pwd) \
--chdir $(pwd) \
--unshare-all \
--share-net \
--die-with-parent \
/usr/local/bin/opencode "$@"apt service for ollama) as it does with the various
cloud-based offerings. So harness away with R!
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 now sponsor me at GitHub.
A new release 0.0.5 of the RcppFastAD package
is now on CRAN, has been built
for r2u, and updated
at r-universe.
This comes (to the day) two years after the preceding 0.0.4 release.
RcppFastAD
wraps the FastAD
header-only C++ library by James which provides a C++
implementation of both forward and reverse mode of automatic
differentiation. It offers an easy-to-use header library 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. This release updates the continuous
integration setup as one does, adds a local configuration helper to
quieten compilation (described also in this
blog post). It also adds a defensive setting for g++:
Under recent g++ versions and optimisation at least the -O3
level, segfaults are seen as something is not quite right with
(temporary) views of Eigen objects in code generated by this versions.
Others are fine, as is clang++. We have not gotten to the
bottom of it, but setting -g0 seems to ensure that builds
generally work.
The NEWS file for this release 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.Changes in version 0.0.5 (2026-09-24)
- Several routine updates to continuous integration have been made
- Local builds (where a
.git/directory is seen) now append silencing compiler option that CRAN would object to- Given recent issues with
g++under optimization, debugging is turned off by default.
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 now sponsor me at GitHub.
Who?
Fre(i)e Software GmbH is looking for a senior Golang + fullstack developer who can handwrite code and act as meticulous code review partner for another senior developer in the company.
What?
Most of your work would result in Open Source contributions to the Voxit project [1], an online civic tech tool for digital participation.
How and Where?
The work can either be delivered on project agreement base via freelancing or via employment (option only available to developers resident in Germany, Austria or Poland).
What next?
If you are interested, please get in touch and provide your hourly rate to us and your average hours of availability per week.
[1] https://gitlab.com/voxit/

const count = ( event, title = ) =>
const params = new URLSearchParams(
p: event location.pathname,
t: title document.title,
r: document.referrer,
q: location.search,
s: document.documentElement.clientWidth,
e: !!event,
rnd: Math.random().toString(36).slice(2, 7),
);
fetch( /count?$ params , keepalive: true ).catch(() => );
;
let sendHit = () => (sendHit = () => , count());
["touchmove", "mousemove", "keydown", "pointerdown"].forEach((eventName) =>
document.addEventListener(eventName, sendHit,
once: true,
passive: true,
),
);
:hover pseudo-class loads it only after an interaction, another
trick stolen from Bear Blog. About 2% of my visitors fit into this
bucket.3
<!DOCTYPE html>
<html lang="en" class="nojs">
<head>
<script>
// The JavaScript code for this blog requires ES6
if ("noModule" in HTMLScriptElement.prototype)
document.documentElement.classList.remove("nojs");
</script>
</head>
<body>
<!-- ... -->
<style>
.nojs body:hover
border-width: 0;
border-image: url('/count?p=/en/blog/2026-kpi-goodhart&t=Building...&r=NoJS&e=false');
</style>
</body>
</html>
/count endpoint. On each server, it stores
the hits in memory with a buffer large enough to survive several days of
downtime. It sends them in batches to the upstream backend using the
/api/v0/count authenticated endpoint.
location = /count
access_log off;
proxy_pass http://127.0.0.3:8087/count;
proxy_pass_request_headers off;
proxy_set_header Accept-Language $http_accept_language;
proxy_set_header User-Agent $http_user_agent;
proxy_set_header X-Real-Ip $remote_addr;
containers options to
avoid repeating the same options for each application.6 The containers
share their network namespace with the host: the additional isolation is not
worth the increased complexity. For a smaller footprint, I also disable a few
non-essential services.
config, lib, ... :
let
cfg = config.luffy.containers;
in
# User-configurable settings for our custom module
options.luffy.containers = lib.mkOption
default = ;
description = "Ephemeral containers sharing the host network.";
type = lib.types.attrsOf (lib.types.submodule
options =
config = lib.mkOption
type = lib.types.deferredModule;
default = ;
description = "NixOS configuration of the container.";
;
;
);
;
# Translate our options to NixOS containers
config =
containers = lib.mapAttrs
(name: container:
ephemeral = true;
autoStart = true;
privateNetwork = false;
extraFlags = [ "--resolv-conf=replace-host" ];
config =
imports = [ container.config ];
networking.firewall.enable = false;
system.stateVersion = config.system.stateVersion;
systemd.services =
console-getty.enable = false;
systemd-logind.enable = false;
systemd-oomd.enable = false;
;
;
)
cfg;
;
127.0.0.4:8088, we import the module7 and declare the container in the
config.luffy.containers attribute set:
pkgs, config, ... :
imports = [ ./modules/container.nix ];
config.luffy.containers.goatcounter =
config =
services.goatcounter =
enable = true;
address = "127.0.0.4";
port = 8088;
proxy = true;
;
;
;
mounts option and ask NixOS s containers to expose the
configured directories through the bindMounts option.
config, lib, ... :
let
cfg = config.luffy.containers;
in
options.luffy.containers = lib.mkOption
type = lib.types.attrsOf (lib.types.submodule
options =
mounts = lib.mkOption
type = lib.types.listOf lib.types.str;
default = [ ];
description = "Host directories mounted read-write at the same place.";
;
;
);
;
config =
containers = lib.mapAttrs
(name: container:
bindMounts =
lib.genAttrs container.mounts (path: hostPath = path; isReadOnly = false; );
)
cfg;
;
/var/db/goatcounter
directory on the host, we add the directory to the mounts option and alter the
service definition to tell GoatCounter where the database is.
config, ... :
let
databaseDirectory = "/var/db/goatcounter";
in
config.luffy.containers.goatcounter =
mounts = [ databaseDirectory ];
config =
services.goatcounter =
extraArgs = [ "-db=sqlite+$ databaseDirectory /db.sqlite" ];
;
;
;
keys option to our containers. It
takes an attribute set mapping secret names to the commands to populate them.
Then, the module declares the required secrets to Colmena in the
deployment.keys option, makes the container depend on the presence of the
secrets, and exposes them to the container.
config, lib, ... :
let
cfg = config.luffy.containers;
in
options.luffy.containers = lib.mkOption
type = lib.types.attrsOf (lib.types.submodule
options =
keys = lib.mkOption
type = lib.types.attrsOf (lib.types.listOf lib.types.str);
default = ;
description = "Secrets, as a command to run locally. They are mounted in /etc.";
;
;
);
;
config =
# Colmena uploads each secret in /var/keys and make them available
# to the group "keys".
deployment.keys = lib.concatMapAttrs
(_: container: lib.mapAttrs
(_: keyCommand:
inherit keyCommand;
group = "keys";
permissions = "0640";
destDir = "/var/keys";
)
container.keys)
cfg;
# The container can only start if the required secrets are available.
systemd.services = lib.mapAttrs'
(name: container:
let
units = map (key: "$ key -key.service") (lib.attrNames container.keys);
in
lib.nameValuePair "container@$ name "
requires = units;
after = units;
)
cfg;
# Mount each secret inside the container.
containers = lib.mapAttrs
(name: container:
bindMounts = lib.mapAttrs'
(key: _: lib.nameValuePair "/etc/$ key "
hostPath = "/var/keys/$ key ";
isReadOnly = true;
)
container.keys;
)
cfg;
;
/etc/goatcounter.env environment file.
pkgs, config, ... :
let
keyCommand = variable: [
"$ pkgs.runtimeShell "
"-c"
"pass show personal/nixops/secrets grep '^$ variable ='"
];
in
config.luffy.containers.goatcounter =
keys."goatcounter.env" = keyCommand "GOATCOUNTER_GEODB";
config =
systemd.services.goatcounter.serviceConfig =
EnvironmentFile = "/etc/goatcounter.env";
SupplementaryGroups = [ "keys" ];
;
;
;
src and vendorHash
attributes, I reuse its definition for my custom version with the proxy:
goatcounter, fetchFromGitHub :
goatcounter.overrideAttrs (_:
src = fetchFromGitHub
owner = "vincentbernat";
repo = "goatcounter";
rev = "feature/proxy";
hash = "sha256-dJRlQlFu3tjcEgabT1LEbyFrasJlhmYu4L/T7EkoNcY=";
;
vendorHash = "sha256-c9Q5OrbZR+q6pD3SgPPWe8JUzcZco1AVUKGaV61k5DE=";
)
package, serve.enable, serve.listenAddress,
serve.port, and serve.databaseFile. I already detailed the container
configuration in the previous section. In the end, I chose not to reuse the
GoatCounter module from NixOS: it s small, so it s better to insulate my module
from unexpected future changes.
config, pkgs, lib, ... :
let
cfg = config.luffy.goatcounter;
databaseDirectory = builtins.dirOf cfg.serve.databaseFile;
chown = "$ pkgs.coreutils /bin/chown -R";
in
config.luffy.containers.goatcounter =
config.systemd.services.goatcounter =
description = "GoatCounter Web Analytics";
wantedBy = [ "multi-user.target" ];
serviceConfig =
EnvironmentFile = "/etc/goatcounter.env";
SupplementaryGroups = [ "keys" ];
DynamicUser = true;
Restart = "always";
ExecStart = lib.escapeShellArgs [
(lib.getExe cfg.package)
"serve"
"-listen=$ cfg.serve.listenAddress :$ toString cfg.serve.port "
"-tls=none"
"-db=sqlite+$ cfg.serve.databaseFile "
"-automigrate"
];
# Transfer database ownership to dynamically assigned user "goatcounter".
ExecStartPre = "+$ chown goatcounter:goatcounter $ databaseDirectory ";
ReadWritePaths = databaseDirectory;
;
;
;
127.0.0.4:8088:
luffy.goatcounter =
serve =
enable = true;
listenAddress = "127.0.0.4";
port = 8088;
;
;
/count endpoint as the local proxy handles it.
config, ... :
let
cfg = config.luffy.goatcounter.serve;
in
services.nginx.virtualHosts."goatcounter.luffy.cx" =
forceSSL = true;
locations =
"/" =
proxyPass = "http://$ cfg.listenAddress :$ toString cfg.port ";
;
"= /count".extraConfig = ''
return 404;
'';
;
;
proxy.enable, proxy.listenAddress, proxy.port, and
proxy.site the site receiving the batches of page views. The local proxy has
no persistent data, but it needs the API key to authenticate to the main
GoatCounter instance: its container uses the keys option but not the mounts
option.
config, pkgs, lib, ... :
let
cfg = config.luffy.goatcounter;
keyCommand = _: [ " " ];
in
config.luffy.containers.goatcounter-proxy =
keys."goatcounter-proxy.env" = keyCommand "GOATCOUNTER_API_KEY";
config.systemd.services.goatcounter =
description = "GoatCounter Proxy.";
wantedBy = [ "multi-user.target" ];
serviceConfig =
EnvironmentFile = "/etc/goatcounter-proxy.env";
SupplementaryGroups = [ "keys" ];
DynamicUser = true;
Restart = "always";
ExecStart = lib.escapeShellArgs [
(lib.getExe cfg.package)
"proxy"
"-site=$ cfg.proxy.site "
"-listen=$ cfg.proxy.listenAddress :$ toString cfg.proxy.port "
"-ratelimit=10/1" # 10 requests per second per IP
];
;
;
;
/count endpoint under the same
domain as my blog.
luffy.goatcounter =
proxy =
enable = true;
site = "goatcounter.luffy.cx";
listenAddress = "127.0.0.3";
port = 8087;
;
;
databases
mapping a name to the path of the database to back up.
Litestream also runs in a container. I mount the databases to replicate, as well
as the secrets to push the backups to a Hetzner storage box using SFTP:
config, pkgs, lib, ... :
let
cfg = config.luffy.litestream;
databaseDirs = lib.unique (map builtins.dirOf (builtins.attrValues cfg.databases));
in
config = lib.mkIf (cfg.databases != )
luffy.containers.litestream =
mounts = databaseDirs;
keys."litestream.env" = [
"$ pkgs.runtimeShell "
"-c"
"pass show personal/nixops/secrets grep '^SQLITE_BACKUP_'"
];
;
;
services.litestream options:
/etc/litestream.env and exposed through variable expansion. config, pkgs, lib, ... :
let
cfg = config.luffy.litestream;
in
config.luffy.containers.litestream =
config =
# The databases belong to dynamically allocated users, whose UID is
# not known here, so Litestream runs as root.
systemd.services.litestream.serviceConfig =
User = lib.mkForce "root";
Group = lib.mkForce "root";
;
# Use NixOS service.
services.litestream =
enable = true;
environmentFile = "/etc/litestream.env";
settings =
auto-recover = true;
snapshot =
interval = "24h";
retention = "360h";
;
levels = [
interval = "5m";
interval = "30m";
interval = "3h";
];
dbs = lib.mapAttrsToList
(name: path:
inherit path;
replica =
type = "sftp";
host = "\$ SQLITE_BACKUP_HOST ";
user = "\$ SQLITE_BACKUP_USER ";
password = "\$ SQLITE_BACKUP_PASSWORD ";
host-key = "\$ SQLITE_BACKUP_HOSTKEY ";
path = "$ config.networking.hostName /$ name ";
;
)
cfg.databases;
;
;
;
;
goatcounter attribute in
luffy.litestream.databases, set to the database path:
config, ... :
let
cfg = config.luffy.goatcounter.serve;
in
luffy.litestream.databases.goatcounter = cfg.databaseFile;
ls web02/goatcounter/ltx
web02/goatcounter/ltx/0
web02/goatcounter/ltx/1
web02/goatcounter/ltx/2
web02/goatcounter/ltx/3
web02/goatcounter/ltx/9
ls -lh web02/goatcounter/ltx/1
29.1K Sep 5 01:25 0000000000003f2a-0000000000003f2b.ltx
72.4K Sep 5 02:03 0000000000003f2c-0000000000003f2d.ltx
63.3K Sep 5 02:24 0000000000003f2e-0000000000003f2f.ltx
[ ]
ls -lh web02/goatcounter/ltx/9
8.5M Sep 5 02:00 0000000000000001-0000000000003f2b.ltx
8.5M Sep 6 02:03 0000000000000001-0000000000004008.ltx
8.6M Sep 7 02:03 0000000000000001-00000000000043a8.ltx
[ ]
litestream
restore from the right environment, and restart the containers.9
# systemctl stop container@goatcounter container@litestream
# mv /var/db/goatcounter/db.sqlite ,.old
# ( . /etc/nixos-containers/litestream.conf ;
> set -a ; . /var/keys/litestream.env ; set +a ;
> $SYSTEM_PATH/sw/bin/litestream \
> restore -config $SYSTEM_PATH/etc/litestream.yml /var/db/goatcounter/db.sqlite)
# ls -lh /var/db/goatcounter/db.sqlite
-rw-r--r-- 1 root root 20M Sep 20 07:33 /var/db/goatcounter/db.sqlite
# systemctl start container@goatcounter container@litestream
ipscrub
nginx module.
config and returning three attributes:
imports adds other modules to import,options declares user-configurable settings, each with a type and a default value, andconfig sets values for options declared by any module, like containers from NixOS.config attribute
set directly. When a module does not require any argument, you can define it as an attribute
set instead.
auto-recover option as
it can cause data loss. But I don t properly monitor my servers and I prefer
uninterrupted backups to a slight chance of losing the last few records.
-o option, but you still need
to stop the Litestream container.
I have just released version 1.8.4 of
libccid the Free Software CCID class smart
card reader driver.
The Debian LTS Team, funded by Freexian s Debian LTS offering,
is pleased to report its activities for August.
I have just released a new version of pcsc-lite 2.5.2.
pcsc-lite is a Free Software
implementation of the PC/SC
(also known as WinSCard) API for Unix systems. It provides an API for
using smart cards and
smart card readers.
HPReCheckSerialReaders()
dh-bazel experiment.
See why dh-bazel is needed, and prototype about dh-bazel.
kenhys.hatenablog.jp
As a Bazel beginner, want to know what should pass to Bazel, what should not pass to Bazel.
dh-bazel, it supports only basic features
to build with Bazel as a thin wrapper.
%:
dh $@ --buildsystem=bazel
override_dh_auto_build:
dh_auto_build -- //:hello
Now, with recent changes, it supports the following environment variables to resolve required system libraries in dynamically.
salsa.debian.org
DH_BAZEL_OVERRIDE_MODULEdh-bazel.
It accept ',' separated paramesters. (e.g. DH_BAZEL_OVERRIDE_MODULE=zlib,zstd)
dh-bazel bundles abseil-cpp, apple_support, buildozer, lz4, openssl, protobuf, rules_android_ndk, rules_apple, rules_swift, zlib and zstd as
dummy modules to linking system libraries.
Now you can use it in debian/rules like this:
#!/usr/bin/make -f
# -*- makefile -*-
#
export DH_BAZEL_OVERRIDE_MODULE=zlib
export DH_VERBOSE=1
%:
dh $@ --buildsystem=bazel --without=single-binary
override_dh_auto_build:
dh_auto_build -- //:hello
It is impossible to cover all of system libraries in Debian, so in that case, please consider to use the following DH_BAZEL_PKGCONF_MODULE.
DH_BAZEL_PKGCONF_MODULEBuild-Depends: field
in debian/control. Note that if it is not deterministic (e.g. -dev package provides multiple .pc files)
dh-bazel gives up fallback with pkgconf.
Now you can use it in debian/rules like this:
#!/usr/bin/make -f
# -*- makefile -*-
#
export DH_BAZEL_PKGCONF_MODULE=gtk4-x11,gtk4-unix-print
export DH_VERBOSE=1
%:
dh $@ --buildsystem=bazel --without=single-binary
override_dh_auto_build:
dh_auto_build -- //:hello
As a graduate of a liberal arts university, I wound up, unsurprisingly, taking a
lot of classes in every possible academic discipline. Thinking back to the
person that I was going into university, I don t think I would have chosen to
take them after all, my degree was in the sciences; I d have been stoked to
do nothing more than wall-to-wall computer science until I ran out of
coursework and filled the rest of my hours with research and independent
studies with my professors (which, I guess I did actually do, just not as
much as I would have otherwise).
Even this blog s CSS theme (now 18 years old and starting to look it) was
something I wrote after receiving and repeatedly re-reading a tattered
third-hand copy of The Laws of Thought by George Boole. It was gifted to me
by a college friend majoring in philosophy while I was crashing at his rental
on the beach. He gave it to me because he knew I liked that shit and, while
it was definitely computer science in nature, I would not have read it
otherwise. I have vivid memories of sleeping on his la-z-boy surrounded by
towers of books he was working through. He went on to do incredible work,
getting his PhD, doing research, brilliant writing his death in 2023 has
robbed humanity of more time with him. The Laws of Thought sits behind me in
my office, and is one of my most valued possessions.
My friends mean more to me than I could ever express, and I definitely don t
show it enough. Each of my classes made me a more thoughtful person. My
professors made me a better, more well-rounded person and a person who
attempts to live up to the oft repeated credo of being men and women for
others . I did the best I could, even though I was never a particularly good
student. Without liberal arts, I don t think I would, dispositionally, have
been capable of pushing myself to this day to continue to learn on nights
and weekends, for no reason other than wanting to learn. I refuse to stop
expanding my perspective, and do my best to approach new problems with as much
humility and curiosity as I can muster.
Every few days for the last year or so, I have been thinking back to a reading
assignment from my junior year that, at the time, I thought was a borderline
throwaway filler assignment for the class. The reading is an essay from 1947 by
the french existentialist philosopher and libertarian marxist, Jean-Paul Sartre
(as some of the more erudite may have now already worked out given the blog s
title), Why Write? . I re-read it this week. It is not filler. I remember this
essay better than some of the classwork I considered more important at the
time.
git-man-page-generator, but you can never read it
it is not possible to read it. It was funny unsettling. Each grasp at a
real-looking image in front of me misses, my hand coming back empty. I
couldn t get enough of it. I must have tried to read a dozen generations in a
row. I had never had something quite that broken pass that far into my
consciousness before. Although I kept trying, it never did feel quite the same
as that first time; I think fundamentally, I couldn t forget that it was
random.
While never having anyone read your writing drives them to put down your
pen or despair , Sartre never had to contend with the opposite problem being
asked to read that which was not written. Reading that which was not
written does not merely leave someone unrecognized when a reader makes a
choice; instead, it is an inherent violation of the contract between reader
and writer. Not only is no humanity being recognized through attempting to
read words which were not written, but the reader, not the writer,
is the one who bears the burden of unexpected apophenia. The reader,
while engaging in co-creation, must now contort themselves to uphold their end
of the Sartrean agreement, scrutinizing text to ascribe consciousness,
thought and intent only to come back up with pareidolia-fueled echos of
one s own self and disfigured half-thoughts of others. The reality is, the
modern reader must now mechanically read most written work they come
across, scrutinizing text for any signs of thought before truly attempting
to read the work. Failing to do this correctly changes our person
each time it happens, a small part of us is irrevocably altered. Choosing to
engage in this ballet because you wish to do so is one thing this is
your right and freedom as a reader but passing words which were not
written as your own in an attempt to wrestle a reader s freedom of
co-creation from them is another entirely.
If you didn t write it, I don t want to read it (dw;dr). Send me your prompt instead.
This is a new series1 I'm starting on the tools I have been crafting and
buying to play pedagogical games in my Economics classes.
These games, aside from being just plain fun for the students, often aim to
teach them a lesson via interactive play. Unsurprisingly, it is much easier for
them to grok a particular concept this way. Moreover, many students told me
these activities were the best part of the classes I teach.
The World Trade Game
I found out about The World Trade Game in The Handbook of Pluralist Economics
Education2, which also contains many other fun pedagogical games. It
was first developed by Action Aid, but has since been refined by John
Sloman and then by Irene van Staveren, who wrote about her use of the game in
the aforementioned book.
The goal of this blog entry is not to describe the game and teach you how to
play it. If that interests you, either buy the book I mentioned or read about
Sloman's version here.
No, our focus point here is the tools to play this game: fake cash! Fake cash
can be used in many economics pedagogical games and in my opinion, is a
worthwhile "investment" of your time and energy. You could indeed play with
regular printed sheets of paper listing a value (I sure did!), but using Play
Money (a more appropriate term, since we're not trying to defraud anyone) will
up your game and create a more immersive atmosphere in your classes.
At first, I tried to buy play money. Surely, some commercial offering aiming to
create realistic props for movies and TV productions existed? At least in
Canada, it turns out the answer was no. The only thing I could find were shady
websites and weird expensive listings on AliExpress. Not being tenured yet, I
did not try to convince my employer to take a 50-50 chance on supporting
criminal endeavours.
As such, the next best thing I found was printable play money designed by the
Bank of Canada Museum. Their designs were quite nice and met my needs,
but their PDF layout made it overly complicated to print large quantities of
bills. As such, I played around with GIMP a little and came out with these
files. A commercial printer shouldn't have issues printing them on glossy
cardstock paper and cutting them up for you:
Once printed and cut, you'll unfortunately have to fold each bill by hand. To
secure both halves, I ended up using a strip of transparent tape on each long
edge.
Here is the result, with a real Canadian 20$ bill as a comparison:
%:
dh $@ --buildsystem=bazel
override_dh_auto_build:
dh_auto_build -- //:hello
If you want to build source under src, you could write d/rule like this:
%:
dh $@
override_dh_auto_build:
dh_auto_build --buildsystem=bazel --sourcedirectory=src -- //:hello
--override_module=, and so on)dh_auto_build stage, so you must manually install artifacts
with .install or something correctly.
I hope that it will help package maintainer using Bazel in the future.
(dh-bazel is not uploaded into debian/unstable yet, so stay tuned!)
Next.