today's leftovers
-
Cory Dransfeldt ☛ Aggregating content using collections in Eleventy
I have a bunch (too much?) content on this site and I use a collection containing a few child functions to aggregate all of it into a sitemap, search index and unified feed that gets syndicated to Mastodon.
-
Linux Made Simple ☛ 2024-09-29 [Older] Linux Weekly Roundup #301
-
Gentoo Family
-
Gentoo ☛ Testing the safe time64 transition path
Recently I’ve been elaborating on the perils of transition to 64-bit time_t, following the debate within Gentoo. Within these deliberations, I have also envisioned potential solutions to ensure that production systems could be migrated safely.
My initial ideas involved treating time64 as a completely new Hey Hi (AI) with a new libdir and forced incompatibility between binaries. This ambitious plan faced two disadvantages. Firstly, it required major modification to various toolchains, and secondly, it raised compatibility concerns between Gentoo (and other distributions that followed this plan) and distributions that switched before or were going to switch without making similar changes. Effectively, it would not only require a lot of effort from us, but also a lot of convincing other people, many of whom probably don’t want to spend any more time on doing extra work for 32-bit architectures. This made me consider alternative ideas.
One of them was to limit the changes to the transition period — use a libt32 temporary library directory to prevent existing programs from breaking while rebuilds were performed, and then simply remove them, and be left with plain lib like other distributions that switched already. In this post, I’d like to elaborate how I went about testing the feasibility of this solution. Please note that this is not a migration guide — it includes steps that are meant to detect problems with the approach, and are not suitable for production systems.
-
-
Open Data
-
Drew Breunig ☛ Wikidata is a Giant Crosswalk File
Wikidata is Wikipedia’s structuralist younger brother. It’s contents are seemingly exhaustive, but rather than readable articles, Wikidata expresses itself with structured data. Pick a subject and check out it’s page; it’s like reading the back of a baseball card for, well, anything.
And burried in those stats and metadata are external IDs: identifiers from other sites and systems, which we can use to grab more data and develop cross-platform applications. Wikidata has thousands of ‘em.
Today we’re going to build a cross-walk table for places (a topic near and dear to my heart) that you can do with just DuckDB, a short Ruby script, and one hard-earned bash line.
-