#dev 2025-01-07

2025-01-07 UTC
[schmarty] joined the channel
#
IWDiscord
<cโ€‹ophee>
#
cophee
Does anyone know how I might be able to fix it?
#
cophee
So I've got dark mode on my website wingpang.com (by pressing on bottom left corner or system prefs), but on Edge and maybe chrome, the background gradient (grid lines) only updates with a hard refresh
#
cophee
Everything else seems to change colours correctly though
#
cophee
Ed4: Congrats!!!
[Murray] joined the channel
#
[Murray]
@cophee I've tested on Win 10 with Edge and Chrome, I don't see any issues
[Joe_Crawford] joined the channel
#
[Joe_Crawford]
cophee in Chrome on MacOS it seems to be working properly. https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark `light-dark()` is used to change background-color and background-image fine,
#
[Murray]
Well, that covers macOS too ๐Ÿ˜„
#
[Murray]
`light-dark` is a relatively new addition to CSS, so I'd maybe check if you're using the latest version; though if it works on refresh, that's a little more confusing ๐Ÿ˜…
#
carrvo[d]
Ed4++ blog about it!
#
Loqi
Ed4 has 3 karma over the last year
jeremy joined the channel
#
gRegor
It appears to work for me on Edge and Chrome
#
gRegor
Edge v131.0.2903.112
#
aaronpk
somne day i hope to publish software with version numbers as specific as chrome
#
aaronpk
chrome/edge
#
[schmarty]
I would only wish that on my enemies
#
aaronpk
version 1 4eva
#
gRegor
v0.9, 0.99, 0.999...
#
cophee
@[Murray] @[Joe_Crawford] thanks for testing it! I'll try updating Edge and see if it works
#
gRegor
never need to report a breaking change XD
#
cophee
Yupp it is behind by .012 ๐Ÿคญ๐Ÿคญ๐Ÿคญ
ming, yewscion and grufwub joined the channel
#
carrvo[d]
It is not terribly hard to have version numbers so specific. Most build systems (for compiled languages anyway) can track a build number that you can append as the fourth version number. It is a bit weird, that number will continue incrementing across major versions (not reset/rollover to 0) and I don't know why it is commonly chosen to be included as external information. Technically it means that it can function as a unique version number o
yewscion, yewscion_, Ed1, cdravcte2 and cdravcte joined the channel
#
capjamesg[d]
[Joe_Crawford] I added the poster= element to my videos.
cdravcte joined the channel
#
edmael
Question: I've implemented the webmentions using webmention.io and brid.gy. Now whenever someone on Mastodon likes a toot containing my url I get a nice "like" and a reply there. Am I missing something to be "compliant" with webmentions? For example I saw that people have also a form to send manually the webmention, is that useful? Do I need to add something else? Thanks!
#
edmael
(And yeah as soon as I finish this I planned to make a blog post about it and add a couple of details in the Ghost page of the Indie wiki)
nemonical, [qubyte], ttybitnik, trwnh, aaronpk, [KevinMarks], barnaby, shoesNsocks and gRegor joined the channel
#
gRegor
edmael++ congrats! Nope, the form like that isn't a strict requirement. Webmention itself is intentionally basic, it's just the notification that "x URL linked to y URL", but there are various nice-to-haves you can add on top of that.
#
Loqi
edmael has 1 karma over the last year
#
gRegor
E.g. if you wanted to post /reply posts on your sites, using microformats2 in them can help show richer context if the URL you're replying to accepts webmentions and shows them as comments.
#
gRegor
There's also no requirement that the received webmentions be displayed publicly at all, up to the receiver
ttybitnik joined the channel
#
capjamesg[d]
Is there an ICS -> Atom conversion service?
#
[tantek]
not AFAIK. parsing ICS is a royal pain
#
[tantek]
it's a bit of semantic mismatch as well, e.g. Atom has no property/element for "end date/time"
#
[tantek]
I think I'd prefer an ICS to h-event conversion service to maintain event semantics
sebbu2 joined the channel
#
[tantek]
capjamesg[d] is there a particular source/service you are trying to extract events from? or do you have a bunch of ICS exports laying around that you want to use to backfill?
#
capjamesg[d]
I wondered if it was worth adding ICS as a supported format to my web reader.
#
capjamesg[d]
Then you could see events from calendars to which you are subscribed.
#
capjamesg[d]
I thought that it may be so difficult -- and sensitive -- that it wasn't worth the effort, but I wanted to confirm before writing off the idea.
#
capjamesg[d]
I have worked a bit with ICS in the past and remember it being... difficult and unintuitive.
#
aaronpk
There's just so many edge cases with ICS events
#
[tantek]
capjamesg[d] oooh a combined social reader + events stream! that sounds quite cool actually
#
[tantek]
aaronpk, and implementation quirks. it's much worse than HTML+CSS of the 1990s.
#
aaronpk
โ˜๏ธ
#
capjamesg[d]
My site now defers YouTube embeds โœ…
#
[tantek]
whoa, what does it mean to defer a YouTube embed? Did you put a click-through prompt to load per embed? Or scroll into view? Or something else?
#
[tantek]
I mean it sounds cool capjamesg[d]! Just trying to learn more about it
#
Loqi
[preview] [paulirish] lite-youtube-embed: A faster youtube embed.
#
Loqi
[preview] [paulirish] lite-youtube-embed: A faster youtube embed.
#
capjamesg[d]
The web component lets you show a poster and, on click, render the iframe.
#
capjamesg[d]
There is also a progressively enhanced version in the repo README.
#
carrvo[d]
capjamesg++
#
Loqi
capjamesg has 41 karma in this channel over the last year (219 in all channels)
#
capjamesg[d]
Using AVIF just brought page loads on a full image search page on my site from 1.23 MB to 724 kB on an example query.
#
[tantek]
capjamesg[d]++ nicely done!!
#
Loqi
capjamesg[d] has 42 karma in this channel over the last year (220 in all channels)
#
edmael
My implementation of webmention in Ghosts is quite bad code-wise (had not been coding for a long time) but it seems to be working (as seen here, bottom of the page - sorry for the italian). Do you think it would be worth to edit the wiki and explain the process I've used?
#
edmael
Ghost is quite tricky as it's trying to use its own endpoint to get the webmentions but they're not quite finished yet so using the "official" way won't get you anywhere.
ttybitnik joined the channel
#
[tantek]
61.5 days until the 10 year anniversary of https://tantek.com/2015/069/t1/js-dr-javascript-required-dead โ€” see if this is true! "10 years nothing you built today that depends on JS for the content will be available, visible, or archived anywhere on the web."
#
Loqi
I added a countdown scheduled for 2025-03-10 10:16am UTC (#7177)
#
Loqi
[preview] [Tantek ร‡elik] js;dr = JavaScript required; Didnโ€™t Read. Pages that are empty without JS: dead to history (archive-org), unreliable for search results (despite any search engine claims of JS support, check it yourself), and thus ignorable. No need to waste time ...
#
aaronpk
๐Ÿ˜ฎ
#
capjamesg[d]
aaronpk passkeys speed up auth so much ๐Ÿ˜„
#
capjamesg[d]
I love being able to auth with a fingerprint.
#
aaronpk
๐Ÿ˜„
#
[tantek]
spies love that too ๐Ÿ™‚
#
capjamesg[d]
It feels so cool ๐Ÿ˜Ž
#
carrvo[d]
tantek++ for being able to admit you were wrong. That would have been written around the time I first touched code!
#
Loqi
tantek has 26 karma in this channel over the last year (142 in all channels)
#
[tantek]
carrvo[d] amazing! do you have an example I can cite?
#
_pi_r2_0[d]
third party service: broken. JS-based core: working ๐Ÿ™‚
#
[tantek]
pierre, I tried it and see the hover effects working but nothing else?
#
_pi_r2_0[d]
that's all the JS there is ๐Ÿ™‚
#
_pi_r2_0[d]
microsite ๐Ÿ™‚
#
[tantek]
hover effects could have been done with CSS, even back then ๐Ÿ™‚
#
_pi_r2_0[d]
well you can also switch layouts
#
[tantek]
like if the point was it's a touch keyboard that types text, that doesn't seem to work
#
carrvo[d]
@tantek example of the first time I touched code? Yeah https://github.com/carrvo/Comatose (delayed before posting) contains the very first code I wrote. I mean, outside of my university assignments...
#
carrvo[d]
[edit] @tantek example of the first time I touched code? Yeah https://github.com/carrvo/Comatose (delayed before posting) contains the very first code I wrote. I mean, outside of my university assignments...
#
[tantek]
github didn't depend on JS to serve content back then. not sure it does now
#
[tantek]
carrvo[d] - source code is good, however do you have a citation to an actual *built* and running version from 2015?
#
carrvo[d]
My first code was crazy because I had a threading issue and knew nothing about it, so I resolved it by adding pointer dereferences until it worked...
ttybitnik joined the channel
#
carrvo[d]
Yes, I, uh, uploaded the binary executable to the repo...
#
_pi_r2_0[d]
[tantek] it's just illustrative, not functional. I'm sure it's also doable in CSS but (1) didn't know how (2) JS proves functional to this day ๐Ÿ™‚
[qubyte]1, [tantek]1, [KevinMarks]1 and gRegorLove_ joined the channel
#
[tantek]1
carrvo[d], ah I thought you had a JS example per the post
#
carrvo[d]
I have only touched web code in the last year. I started with C++
#
Loqi
C has 2 karma in this channel over the last year (4 in all channels)
#
carrvo[d]
Sorry, no. I meant a light comment on how young I am!