#dev 2026-01-27

2026-01-27 UTC
#
[KevinMarks]
If you only care about a limited area you can trim down the gazetteer a lot. The challenge is always what people think of as local. The best option is to give them a choice
#
[KevinMarks]
Human boundaries are not based on geo distance but on their sense of belonging
#
[KevinMarks]
Also, if you want a client geo display, leaflet.js is really good
sebbu, redshuffle, cotsuka and grufwub joined the channel
#
ulhar4409
random thought: is it possible to switch the "flow direction" of blocks? for example you have blocks A and B, A wants to be on the right of B but still be "before" B
#
ulhar4409
i have a hunch it might be, considering different writing directions exist but not sure where i'd look
#
[snarfed]
what's a block here? an HTML tag?
#
[snarfed]
you can do that with CSS float: right
#
ulhar4409
hmm, let's say a div
#
[aciccarello]
You can switch the direction of how it is visually displayed. But that wouldn't apply to parsers or accessibility tooling.
#
ulhar4409
direction: rtl might be what i want for this? (for the container that holds A and B together)
#
ulhar4409
then make sure to unset it on A and B
#
ulhar4409
i'll try tinkering on that later
#
[aciccarello]
If it is a flex container you can use that.
#
ulhar4409
i'll try that, thanks [aciccarello]++
#
Loqi
[aciccarello] has 10 karma in this channel over the last year (41 in all channels)
#
osteophage
I was about to say, if I'm understanding you right that sounds like flexbox.
#
ulhar4409
works how i was thinking, yeah
cotsuka, bterry1, Nickho7re and DanQ joined the channel
#
[KevinMarks]
With CSS grid you can do more complex block positioning - you define grid areas and say which blocks go into each one. https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/grid-template-areas
cotsuka and lanodan joined the channel
#
[Murray]
For a small personal tool, both techniques are fine, but also be aware that changing flow order from DOM order has a lot of accessibility concerns attached to it; in other words, if you start using Flex or Grid to rearrange items on the page, that only works for sighted people, everyone else still reads them in the original order
#
[Murray]
If it's critical that the order updates, JavaScript is therefore a better option to CSS, as you would be literally destroying/recreating the elements in a new order on the page, and that would be passed along to everyone, regardless of how they are accessing the site
#
[Murray]
(we're hopefully getting some CSS rules to fix this issue and make both grid positioning and flex-direction more useable, but right now I'd personally avoid both)
Jrz and cotsuka joined the channel
#
[KevinMarks]
Flow order should make sense and is the fallback, and a single column flow is often the right answer for mobile, but hoisting secondary content into sidebars is a reasonable approach too.
cotsuka, DanQ1, DanQ, gRegorLove_, blacklight, ax562 and rMdes joined the channel
#
[Mike_Mai]
if you code everything with logical properties and units, everything will convert automatically to rtl or other writing directions.
#
[Mike_Mai]
i would say don't use `dir=rtl` if you are not designing for specific languages. what others have said about grid and flex is good.
thegreekgeek joined the channel
#
Loqi
[preview] [rMdes] its been a while I have not spent time here, but lately I worked to retrieve past incarnation of my blogs over the years and migrated everything to Indiekit, I migrated away both from Micro.blog, but also recovered copies of my data from the Internet...
#
rMdes
I'm not sure if @ is around but I submited a PR to his indiekit repo, for the microsub endpoint, its more than 6K lines of codes and i basically including everything, the entire microsub spec https://rmendes.net/content/articles/2026-01-24-deploy-your-own-indieweb-site/
#
[tantek]1
presumably @ you mean [Paul_Robert_Ll]?
#
rMdes
yes I was trying to find him
#
rMdes
I still have to improve how the /microsub/reader feels like when on desktop, but its working great using Monocle or Indiepass
#
rMdes
its a question I had by the way, does anyone "expose" publicly what they subscribe to on the /microsub endpoint or is it like RSS feeds, a personal collection on the feed reader, designed for personal consumption
mahboubine joined the channel
#
[tantek]1
I think there's a mix. Some folks have a public "subscribed feeds list" or OPML file or blogroll
#
[tantek]1
I think that's how blogrolls started: here's a list of everyone's blogs I'm following (in a reader or browser)
#
rMdes
yes I have seen that around, i'm thinking it could be a nice addition for indiekit, a proper interface in the backend to handle the blogroll widget on the front, with an easy way to import from OPML or simply add individual blogs to the blogroll collection.
#
rMdes
i'm such a big fan of RSS, so this page on my blog is mostly a public rss feed reader https://rmendes.net/news/
#
Loqi
[preview] Ricardo Mendes
#
rMdes
but for the microsub endpoint I specifically added only indieweb compatible blogs, so that I can interact with it from indiepass or monocole without having to think if yes or not the blog owner would see my reactions
#
[tantek]1
interesting. that's a good distinction. like you have a "reader blog roll" and a "social blog roll"
#
[tantek]1
the latter being the sites you know you "interact with ... from indiepass or monocole without having to think if yes or not the blog owner would see my reactions"
#
rMdes
this page https://rmendes.net/interactions/ was also fun to make, separating the webmentions I create to other's content, from the ones my content is getting from people outside, either from bluesky/mastodon or their own blog (which is rare around me)
cotsuka joined the channel
#
rMdes
I still have to display these interactions below individual posts, but I'm getting there :)
#
[Al_Abut]
Kottke has something similar I think, but it’s a widget on the home page instead of a dedicated page as far as I can tell.
cotsuka, DanQ and [artlung] joined the channel
cotsuka, [schmarty] and btrem joined the channel
#
btrem
I successfully ran `npm create indiekit` on my local dev pc, after which I got a notice that a new version of npm is available. I'm using 10.9.4, 11.8.0 is apparently the latest. When I try to upgrade, I get an error that I need to upgrade node to >=22.9.0.
#
btrem
Thing is, I went through this yesterday. And upgraded node to 25.5.0. Yet when I type `node -v` it reports 22.1.0.
#
btrem
So if I upgrade again with `nvm install node -g` it reports that `v25.5.0 is already installed. Now using node v25.5.0 (npm v11.8.0)`. So I'm confused.
#
btrem
Any ideas what I should do next?
#
btrem
I'm using Ubuntu with oh-my-zsh shell interpreter. I'm thinking maybe an old path setting, but I haven't found anything in `.zshrc` that looks promising. :(
#
[aciccarello]
btrem, I think you need the `nvm use 25` command
#
[aciccarello]
IIRC, nvm installing a version is different than making it the current version
#
btrem
That only does what attempts to install (again) the latest version. For that terminal session, it switches to v25. But when I open a new terminal and check the version, it's 22.1.0.
#
[aciccarello]
Actually, I could be wrong about that. It says "now using node v25"...
#
[aciccarello]
Oh, I see. You want to change the default?
#
btrem
Well, I want to avoid seeing "your node version is old" notices/warnings.
#
btrem
...without having to remember to type `nvm use 25`. ;-)
#
btrem
I sort of don't understand why the system doesn't automatically start using the new version after I install it TBH.
#
[aciccarello]
You probably want to run `nvm alias default 25`
#
[aciccarello]
There is also a bash integration to look for `.nvmrc` files which can be helpful when managing versions between different projects. https://github.com/nvm-sh/nvm?tab=readme-ov-file#calling-nvm-use-automatically-in-a-directory-with-a-nvmrc-file
#
Loqi
[preview] [nvm-sh] nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
#
btrem
Ok, I'll try that. But WTF? Shouldn't the default behavior be to use the new version after installing it? I'd think that needing more than one version of node (I appear to have 5!) would be a specialized case.
#
[aciccarello]
I agree it is unexpected but I think the creators of nvm viewed managing more than one version of node as the primary use case rather than a special case.
#
btrem
Well, in that case node--
#
Loqi
node has -1 karma over the last year
#
[aciccarello]
Totally fair πŸ˜…
#
btrem
also nvm--
#
Loqi
nvm has -1 karma over the last year
#
btrem
and while I'm at it, npm--
#
Loqi
npm has -1 karma over the last year
#
btrem
To hell with all 'em!
#
[aciccarello]
If you have a project that needs an old version of node and another project which needs a newer node version, you can use nvm to seamlessly run them both.
#
[aciccarello]
At some point the nodejs website started recommending using nvm. But I don't think the tool's documentation is friendly enough to be the default.
#
[aciccarello]
Brew is another option for installing if you use that
#
btrem
re: needing to use older versions, yeah, I guessed as much. But it's not exactly obvious that you need to run that step. If they want to default to keeping old version of node, they ought to at least change the default to the latest after installing.
#
btrem
I don't use brew. That's macOS-only, isn't it?
#
[aciccarello]
I think it's available on linux but I know it is more of a macOS thing
#
btrem
Nah. I already have too many package managers. apt-get, snap, flat-pak....
#
[tantek]1
I have forgotten too many package managers. I like "scp" as my package manager
#
btrem
And where are you `scp`ing from?
#
[tantek]1
wherever I need to
#
btrem
shrugs
#
[tantek]1
that's the beauty of it, I can setup partial subsets of whatever I need to work on wherever and incrementally update things as needed
#
btrem
Well that's fine if the software you need is compiled and can be copied from a public resource and has no dependencies I guess.
#
[tantek]1
scp is built-in. no need to "install" yet another package manager in every location I want to change things from
#
btrem
I'm not sure how I'd use `scp` to upgrade my browsers, or text editors, or....
#
btrem
I know scp is built in. I use it every day. But not to keep software up to date.
#
[tantek]1
those are good ways to develop open source yes. "compiled" or usable as is (single text files), copied from a public resource (GitHub), and forward/backward compatible dependencies with predictable behaviors
#
btrem
shrugs again
#
btrem
Firefox is not a single text file.
#
[tantek]1
browsers update themselves, they don't use package managers, so not sure we're talking about the same thing. shrug
#
btrem
My browsers do not update themselves.
#
btrem
At least, Firefox does not.
#
[tantek]1
users typically no need to install a package manager to update their browser so your example doesn't make sense. yes Firefox should be updating itself
#
[tantek]1
same for Chrome, Safari, Edge etc.
#
[tantek]1
anyway in the indieweb context (which is why we're in this channel) you can totally do open source (or even your own closed source) that works one file at a time with scp
#
btrem
So I should use scp to install node? and npm? And 11ty? and Firefox? And operating system updates? Yeah, I'll get right on that.
#
[tantek]1
and frankly, it's more "indie" not having to depend on a giant fragile dependency mess
#
btrem
I guess I'm not "indie" enough.
#
[tantek]1
more robuts, less admintax, more longevity (antifragile) etc
#
[tantek]1
node-- frankly and also npm--
#
Loqi
node has -2 karma over the last year
#
Loqi
npm has -2 karma over the last year
#
[tantek]1
unless you like that as a hobby
#
btrem
You're late to the party. I already docked both of them a short while ago. :-D
#
[tantek]1
Firefox updates itself. Menu > Firefox > About Firefox > ( Update to .... )
#
[tantek]1
similarly, operating systems update themselves through their own UI, not a random package manager UI
#
[tantek]1
no interest in getting on the npm update / fix breakages treadmill. no thanks
#
btrem
I don't use a package manager UI. I use the command line.
#
[tantek]1
that is a typical random package manager UI - command line
#
btrem
And I update Ubuntu through one of the package managers I listed earlier, apt-get.
#
[tantek]1
that sounds like an Ubuntu decision, not an indieweb decision 🀷
#
btrem
It's a shame that my operating system is not "indie" enough for you. Nor, apparently, my web publishing software (11ty), which requires npm and node. I'll have to look into a new operating system where I can download software updates using scp. I'm sure that'll work out well for me.
#
[tantek]1
no that was not at all the point
#
[tantek]1
they are orthogonal, that is the point
#
[tantek]1
choose whatever OS you want! doesn't matter, they all work with the web
barnaby joined the channel
#
btrem
I'm not sure what you point is, except to @#!@ all over whatever decisions I make.
#
[tantek]1
point being, plumbing details of your OS (and maintenance thereof) have no need to have any bearing on indieweb choices.
#
[tantek]1
i'm not hear to argue hardware, or OS, or browser decisions, those are all to each person as they see fit
#
[tantek]1
me saying they are orthogonal does not mean they are "indie enough" or not β€” orthogonal is saying those other choices are irrelevant to your indieweb choices
#
[tantek]1
there's also a huge difference between someone saying "X is not for me" (which is what I'm saying), and saying "X is not for anyone" (which is somehow what you are hearing)
#
btrem
sighs
#
[tantek]1
I don't like marzipan, I'm not saying no one should eat marzipan. Interpreting the former as the latter is misreading at best
#
btrem
I really hate Indieweb today. I'm going outside to do yardwork. I was hoping to make progress on Indiekit, but that's not going to happen with these distractions.
rMdes joined the channel
#
[aciccarello]
Sorry to hear that btrem, I hope the chat can be more helpful for you in the future. Definitely focus on building the life/web you want.
ax562 joined the channel; onla_ left the channel
#
[artlung]
Randomly minusing npm and node may not be a productive use of this channel. For me, I rely on npm and node to run youtube-dl which enables me to capture metadata on videos I upload, daily. So for me node++
#
Loqi
node has -1 karma over the last year
#
Loqi
npm has -1 karma over the last year
rrix joined the channel
#
[aciccarello]
I'm personally very glad to have the node ecosystem. But it does have a lot of rough edges...
troojg and DanQ joined the channel