#dev 2025-11-29

2025-11-29 UTC
gRegor joined the channel
#
[Al_Abut]
What kind of notifications, @gwg? Like desktop OS popups?
shoesNsocks, gRegor, angelo and troojg joined the channel
#
burgeonlab
[jeremycherfas]: I use Hugo and have looked into image shortcodes, Hugo pipes to process images while working on my own site. If you're talking about saving storage in the /public folder, I think it doesn't matter what size you give it, it'll crop it into the sizes you decide and only output those into /public, so the full size never appears there; only in your project directory. Are you
#
burgeonlab
using a shortcode for your gallery?
troojg, grufwub, [snarfed], Saige_Leah, kepeken and angelo joined the channel
#
GWG
[Al_Abut]: Desktop and mobile
#
someoneplayedthis
Moving the technical details from my introduction post in #indieweb here.
#
someoneplayedthis
It's in relation to my Susty Icons project, https://sustyicons.com/
#
IWDiscord
<s​omeoneplayedthis>
#
IWDiscord
<s​omeoneplayedthis>
#
someoneplayedthis
It's a free sustainable icons project.
#
someoneplayedthis
To answer one of the questions from the Berlin meetup, regarding the project and how to make the impact tangible:
#
IWDiscord
<s​omeoneplayedthis>
#
IWDiscord
<s​omeoneplayedthis>
#
someoneplayedthis
I'm considering adding a Notes section to the JSON that populates the DOM, and I'd probably add the carbon cost on a large website versus FontAwesome or similar. I made a tool to do the measurements in full now, including rendering impact, which also came up. That's one way I'd hope to make it more tangible.
#
IWDiscord
<s​omeoneplayedthis>
#
someoneplayedthis
The site also uses progressive disclosure, incidentally, triggered by human presence. The vertical height hides that from the user. Or it hopefully should do!
#
IWDiscord
<s​omeoneplayedthis>
[rose] joined the channel
#
[rose]
Today, by logging into Slack... I learned that Discord messages with line breaks get translated into a ping-a-thon of separate messages here. Oops. Sorry!
#
[morgan]
No problem - there are sometimes a few quirks with the multi bridged setup. I'm using slack at the moment but have used irc in the past some
burgeonlab and [Trevor_Morris] joined the channel
#
[Trevor_Morris]
After seeing the map on Letterbox I thought I'd try an recreate the functionality. This is what I've come up with https://www.trovster.com/movies/location
DanQ, lanodan and ttybitnik joined the channel
#
capjamesg
I'm finally doing the work to move my web reader database from Sqlite to Postgres.
DanQ, ben, ben__, pfych, lanodan and burgeonlab joined the channel
#
rosesaysthis
Curious: What's the motivation?
#
capjamesg
The service is almost a year old. In that time the number of feeds the service downloads has substantially increased, which puts strain on the amount of time that needs to be spent to save posts to the database.
#
capjamesg
Postgres will handle making multiple writes better than Sqlite.
#
[snarfed]
capjamesg++
#
Loqi
capjamesg has 54 karma in this channel over the last year (211 in all channels)
#
artlung
capjamesg[d] follow up https://jamesg.blog/validate-everything?url=https%3A%2F%2Frag.tg will work if you adjust `pattern="https://.*\.[a-zA-Z]{3,}.*"` to `pattern="https://.*\.[a-zA-Z]{2,}.*"` (an issue discovered after you went off to bed yesterday!)
proofreed joined the channel
#
rosesaysthis
Ah, good logic, thanks. I've been planning the best approach for a static-first certificate validation and on-demand display system (I hesitate to say generate for something so tiny with a print stylesheet) for a training company. SQLite is an option I was considering, but we are most likely to stick with plain JSONs accessed via secure API as there won't be simultaneous edits. Hence wondering why someone might not be sticki
#
capjamesg
Ah! That's helpful context!
#
capjamesg
Because my web reader has a background process -- downloading new posts and saving them to the database -- when a user does something, the database may not be free to record the action.
#
capjamesg
That means that the user gets an error because the background process which is already writing something has priority.
#
capjamesg
It wasn't a problem until more people started using the tool.
#
capjamesg
Postgres/MySQL is better for sites where you may need to do multiple reads/writes at once like this.
#
rosesaysthis
They've had issues with the company, pre-takeover, not getting rid of data when they should (GDPR violations). An initial chat surfaced that issue, so hopefully it can be dealt with pre-handover in January next year. My thinking is separate JSON files per client or course or tutor or month could make it a lot easier for them to maintain the data themselves, even without additional tools. And it obviously allows more efficien
#
rosesaysthis
Human readable is a big advantage here, hence the preference for JSON. Keeps them a bit more independent and I can still create a UI that manages the lot, and even pools data from separate JSONs.
#
IWDiscord
<r​osesaysthis>
#
rosesaysthis
Yeah. It makes a lot of sense in your case. I'm more trying to move things in the other direction when able! Hence being curious.
#
capjamesg
No worries! I kind of knew this would happen at some point but Sqlite was so easy as a starting point.
#
capjamesg
The trouble is this migration is going to take all day in the background 😂
#
rosesaysthis
I've used SQL a fair bit in the past, and obviously done my fair bit of WP database repairs. It's just so inefficient for a lot of tasks these things are commonly used for!
#
rosesaysthis
Yeah data migration and cleaning isn't fun. I'm just glad I had this call with the client before it is in their hands properly, and they can get the previous owner of the company to clean up a lot of the mess before I get involved. Really no need for me to migrate more data than I need to...!
#
[jeremycherfas]
@burgeonlab I do not use a shortcode. I am using the Hugo Gallery theme with so far no tinkering and all it produces is the gallery. It always includes a copy of the original image, which is a good thing for large screens, but it certainly does not need to be larger than 1512 X 2016 pixels.
Psychotic1 and BlubBlubDead joined the channel
#
[social]
Realizing today that my blog search won’t search 3-letter words as Maria / MySQL for fulltext indexing defaults to 4-letter words and higher. I don’t know that I can modify the settings in the config for Maria on my host’s DB.
#
capjamesg
[artlung] Thank you for the fix re: the validate everything site!
#
capjamesg
I will make that fix this weekend.
#
capjamesg
I'm waiting for my DB migration to finish before doing more code things 😅
troojg joined the channel
#
[social]
It seems if I switch my MariaDB engine from MyISAM to InnoDB the default fulltext character text minimum index shifts from 4 chars to 3 chars. Hmm…
Asmahan, GuestZero and barnaby joined the channel
#
capjamesg
What is url design?
#
Loqi
URL design is the practice of deliberately designing URLs, in particular, permalinks, typically for a better UX for everyone who creates, reads, and shares content https://indieweb.org/URL_design
#
capjamesg
url design << [https://alfy.blog/2025/10/16/hidden-cost-of-url-design.html The Hidden Cost of URL Design] walks through an example of a site that opted for simple URLs without considering the technical and taxonomic realities that applied to the site.
#
Loqi
ok, I added "[https://alfy.blog/2025/10/16/hidden-cost-of-url-design.html The Hidden Cost of URL Design] walks through an example of a site that opted for simple URLs without considering the technical and taxonomic realities that applied to the site." to the "See Also" section of /URL_design https://indieweb.org/wiki/index.php?diff=106192&oldid=105967
#
capjamesg
[edit] url design << [https://alfy.blog/2025/10/16/hidden-cost-of-url-design.html The Hidden Cost of URL Design] walks through an example of a site that opted for simple URLs without considering the technical and taxonomic realities that applied to the site.
#
Loqi
Sorry, I couldn't find a page named "[edit] url design" or similar
#
GWG
I am still thinking about my shift lately in projects I am thinking of trying and how to explain it
#
yesoperator
Idk capjamesg[d] that seems like a success story of optimizing only when needed, not the dangers it seems to caution against. Maybe I'm salty because I'm currently working on a system that leverages flat paths like that heh, and I want to resist any counter advice
#
capjamesg
I'm open to different interpretations; I think the "Start with Structure, Relax Later if Needed" was a significant section in my read.
#
[morgan]
Don't have enough content to worry too much about url design yet I think
#
[tantek]
Sorry that's kind of a crap article
#
[tantek]
Backends should never determine the UX. Backends should be trivially swappable without impacting the user
#
[tantek]
Optimizing your URL UX for one backend is the tail wagging the dog
#
[tantek]
Maybe blame the crappy backend for not handling simple URLs efficiently rather than blaming the simple URLs?
#
capjamesg
Feel free to remove / change the commentary on the wiki!
rrix joined the channel
#
[morgan]
https://www.w3.org/Provider/Style/URI I guess this isn't a direct one but this article I feel is a complement or alternative article that gets at the same basic nugget of thinking
#
[morgan]
I read a lot of the article by Ahmed and it has good stuff but basically at the end of it is really just saying "you make early decisions with consequences later, try and make good ones"
#
[morgan]
Anyways useful discourse but I found the examples of Ahmeds article to be a little like... Clever or over thought a little bit
DanQ and vidak joined the channel
#
carrvo
Is there by any chance a CDN link for https://github.com/microformats/microformats-parser ? I'm prototyping in the browser and it would be a hassle to install Node.js when I won't actually be using it...
#
Loqi
[preview] [microformats] microformats-parser: A JavaScript microformats parser for the browser and node.js
gRegor and CrimeWave joined the channel