#dev 2026-06-22
2026-06-22 UTC
dabeglavins5, CRISPR, cotsuka, [tantek] and grufwub joined the channel
#
chr0m4 This might be interesting for prefetching resources that are in the viewport while the user scrolls, subsequent pages can load faster: https://www.npmjs.com/package/quicklink
#
chr0m4 worth a look if your site has a lot of images
ggarcia243 and cotsuka joined the channel
#
WinnerWind I love python so much. I'm using a makedirs() in my program with the exist_ok=True flag which doesn't crash the program if the directory already exists
#
WinnerWind today the program crashed and the error message? "The directory already exists"
#
WinnerWind it even went through the trouble of telling me where the error was
#
WinnerWind not mad. i found it funny https://x0.at/9KIf.png
ZodiacalComet, citizenAlex, cotsuka, [Jo] and deathcomestotime joined the channel
#
[rose] @chr0m4 - hope the talk with the tutor went okay! I meant to ask - how is it, running your own mastodon instance? I was considering it... I own http://sustyweb.dev and the longer-term objective is to make it a sort of community project, but led by myself and two friends (Nick Lewis and Siddhesh Wagle). But it would be cool to create a mastodon instance where we could also find each other...
ZodiacalComet and CRISPR joined the channel
#
[rose] @WinnerWind nice! I sort of ended up getting more into node cos of it being more efficient and a bit better for scraping. That sounds worse than it is - I use it for various transformation of my own existing content, analysis, stuff like that. 🙂 It's also why I don't tend to share anything I made like that, though, since I don't want to make things any easier for plagiarists!
cotsuka joined the channel
#
chr0m4 [rose]: well, apparently the kiddo is being called some racial slur at the school, and obviously she is answering back and getting physical sometimes so xD I was literally telling to the tutor: "What do you expect my kid to do under that circumstance?"
#
[capjamesg] Heads up that the #indieweb-dev channel is publicly logged at http://chat.indieweb.org. I recommend taking this discussion to #indieweb-random if you’d like to continue.
#
[capjamesg] (#indieweb-random is not publicly logged)
#
chr0m4 on hosting Mastodon, girlonthemoon: was right, use gotosocial, I cannot use it anymore, because Mastodon and GoToSocial (as hosting) are not compatible because of some sort of cryptographic stuff that Mastodon executes when you fire your instance for the first time. What I'm gonna do is to buy a object-storage bucket from Hertzner (6$ for 1TB) and download a backup from Masto.host and plug it into my VPS
#
chr0m4 I go from 22$ to 15$, which is neat
#
chr0m4 never use masto.host, they're making themselves rich at our expense, literally
#
[pcarrier] they seem affordably priced
#
[pcarrier] what's wrong with their business?
#
chr0m4
#
chr0m4 who did you guys set your avatar here? xD
#
[pcarrier] what is chat names
#
Loqi The chat names page is for IndieWeb community members to to add their commonly used nicknames on discussion channels, optionally with icons, sorted by nickname with their website and usual timezone(s) https://indieweb.org/chat-names
#
chr0m4 :pcarrier the cheap plan is worth nothing, you have to scale in less than 1 week, there are only 3 users in my instance and storage was depleted in a couple of days because they manage the instance poorly
#
[rose] I'm confused - so Mastodon isn't compatible with whatever you were using...? For object storage, http://intercolo.de is also sustainable and even cheaper. S3 compatible.
#
chr0m4 Because Mastodon “account migration” only works reliably between servers that fully implement Mastodon’s Move/Redirect protocols, and GoToSocial’s support is partial/different.
#
chr0m4 So some data (followers, posts history, relationships) can’t be transferred cleanly, which forces a “restart” rather than a true migration.
#
chr0m4 From a post I read, basically you lose everything
#
chr0m4 This is like your starter pokemon, the choice matters
#
chr0m4 don't be foolish like me xD, I started to host mastodon without researching enough
#
chr0m4 [rose]: intercolo looks promising, 1 eur less, worth it, that compounds month to month
#
chr0m4 [pccarrier]: thanks for the chat-names explanation, I added myself!
cotsuka joined the channel
#
chr0m4 I created a small firefox extensions that checks the korean dictionary to popup with the meaning of the word, super helpful given that I still have lots to learn: https://streamable.com/evv26c
#
chr0m4 sure, I want the user to be able to input an url to their favorite dictionary page and provide the url interpolation format! right now Im just opening an iframe from naver dictionary but I guess it can work with anything that has an online dictionary
#
chr0m4 yeah [rose]: gotosocial is written in Go, Mastodon in ruby, I love ruby but it's not very efficient tbh
#
chr0m4 yup, I need to whitelist those sources
#
chr0m4 오늘날 우리가 모두 헤매는 거대한 인터넷의 - nowadays us all wander huge internet
#
chr0m4 [rose]: see what I told you
#
chr0m4 it's crazy language
#
[rose] German's different grammar can also cause some weird things when people speak English with German grammar... or even vice versa. It's part of why I speak English to my husband and he speaks German back, all the time, to ensure I am not influenced by weird English, and don't switch my thinking language permanently over to German.
#
Loqi Content-Security-Policy (abbreviated CSP) is an HTTP directive that a site can use to restrict what external resources are retrieved by a browser, to mitigate some XSS and injection attacks https://indieweb.org/Content-Security-Policy
#
chr0m4 ah yes, the old trick of styling an iframe and misguide the users to trick them into thinking they´re visiting a website that is not the one they wanted to visit
#
chr0m4 certainly, it depends on if they have CSP or not
#
chr0m4 turkish seem very alient too 😶
barnaby joined the channel
#
chr0m4 samne, I appreaciate the conciseness of korean
CRISPR and [jeremycherfas] joined the channel
#
chr0m4 I got to finish the post: https://chroma.cafe/the-simplest-way-to-translate-your-indie-website/, sort of, there are some caveats I want to cover but I think the neocities folk would find it interesting
#
[jeremycherfas] When your client is yourself, you shortchange them.
ax562 joined the channel
#
[jeremycherfas] The funny thing is, I was also just thinking that I haven’t heard from my Uptime-Kuma in a long while, much longer than usual, and now I reckon it has been missing in action for weeks. Busy investigating.
[snarfed], blacklight, barnaby, [Murray], [schmarty] and Pixi` joined the channel
#
[jeremycherfas] 🤣 Maybe I need actually to understand what I am doing with Docker instead of blithely following orders. Or give up on Docker. Except that when it works, it is magic.
#
[jeremycherfas] I do container maintenance so infrequently it is always a hassle to remember what to do and in what order. Next time I’ll try and write down the step by step, and more importantly the reasons for each step.
barnaby and cotsuka joined the channel
cotsuka joined the channel
cotsuka and ZodiacalComet joined the channel
#
[jeremycherfas] [Rose] ++ for a sensible stretch goal.
btrem joined the channel
#
[artlung] btrem discussion of specifically how luxon and Temporal might interact: https://github.com/moment/luxon/discussions/970
#
btrem [artlung]: the thing, I don't need to parse dates (11ty does that for me with content dates), and I don't do much date arithmetic. I only need to output a date object as a string, e.g., `<time datetime="
{{ page.date | njkDate('YYYY-MM-DD') }}">{{ page.date | njkDate('MMMM D, YYYY') }}</time>`.#
[rose] Just come back here after putting together an extensive JSON structure for this project I'm working on. Curious - are there good, user-friendly, independent JSON editor tools I could guide the client to if appropriate? I'm using VS Code with a JS Editor extension and they can use the browser to take a look, but if anyone has any tips - please share!
cotsuka joined the channel
cotsuka and ax562 joined the channel
