#dev 2025-05-20

2025-05-20 UTC
barnaby, luca, grufwub, chimo, thegreekgeek and thegreekgeek_ joined the channel
#
[tantek]
[artlung] have you already covered CSS-only clocks in FrESH? (you know, just to put on one's website, as decoration, and perhaps a flex when the clock runs even without JS. This is my absolute favorite so far and the concept and execution is brilliant. https://www.quaxio.com/pure_css_digital_clock.html
#
[tantek]
The limitations (and DST hole) could be fixed via always showing UTC, or Swatch Beats, instead, and having the server send down the most recent "beat" when the page is loaded.
#
[artlung]
Has not been covered! But could be fun yes :)
#
[tantek]
also it doesn't respect text zoom. looking at the source makes me think there has to be a way to make it smaller
#
carrvo
tantek++ I am all for using a bit of psychology in coding practices!
#
Loqi
tantek has 36 karma in this channel over the last year (162 in all channels)
#
carrvo
Unfortunately psychology continues to be misunderstood. The article references another article that references a study; whose original group later identified a cultural bias in the original study: https://www.nngroup.com/articles/f-shaped-pattern-reading-web-content/
#
carrvo
[edit] Unfortunately psychology continues to be misunderstood. The article references another article that references a study; whose original group later identified a cultural bias in the original study: https://www.nngroup.com/articles/f-shaped-pattern-reading-web-content/
#
carrvo
To be more specific, the origin acknowledged the bias up front, but the derivative articles took the bias as fact, rather than the relative it was.
#
carrvo
Interesting reads all the same.
#
[tantek]
fascinating. good to know! I suppose I'm convinced enough by the readability articles on length of prose lines to apply it to lines of fixed-width code as well. for me it's the ease of eye-scanning to the next/previous line more accurately for lines <70 chars
#
[tantek]
for that CSS-only clock, one of the more obvious optimizations (I think) is to only animate border-color (which accepts four values for the four sides) and specify border-style and border-width on each element independently of the animation, since they don't change during animation.
#
carrvo
Personally I think I have a better reason for shorter lines that doesn't need a study: when I program I often want multiple files open side-by-side. Depending on horizontal/vertical preference (or combo) it would call for corresponding limits for a block of code.
#
[tantek]
yes, side-by-side windows of coding files is also an excellent reason / use-case
#
carrvo
Indeed.
#
[artlung]
that clock has some intriguing code. I love the use of clip-path to get that bevel LCD attitude. and the units are based on the viewport, no way to zoom it.
#
[artlung]
Also I think it could be set to the correct time by setting a negative value to animation-delay.
#
[artlung]
I might see if I can rework my https://lab.artlung.com/clock-concept/ to be pure CSS
#
carrvo
It is also nice to note that tabs in programming languages are reminiscent of secretarial science, though I am sure their techniques are lost on most.
gRegor, ben_, doesnm, barnaby, NaomiAmethyst9, PsyLok, GuestZero and [jeremycherfas] joined the channel
#
[jeremycherfas]
Secretarial science?
#
[jeremycherfas]
I can see one can get a qualification in the subject, but I wonder what the science itself entails?
barnaby, ttybitnik, duanin2, lanodan, Guest6 and PsyLok joined the channel
#
[snarfed]
TIL @media (scripting: none/enabled)
[schmarty], sivoais_, parnikkapore_x, Kolev and barnaby joined the channel
#
[artlung]
I've not used that one yet! Lots more `supports` @media queries out there now
balintm, gRegor, [social] and gRegorLove_ joined the channel
#
perryflynn
uuuh awesome!
#
capjamesg
Wait what?
#
capjamesg
That's cool!
[aciccarello] joined the channel
#
perryflynn
$people say for years now that css is at some point turing complete and/or will replace java script. :-D https://stackoverflow.com/a/5239256
#
capjamesg
[artlung] Inspired by FrESH:
#
[artlung]
Looking good!
#
capjamesg
Submitted as an add-on to Firefox!
ttybitnik, rhiaro and NaomiAmethyst joined the channel
#
[tantek]
capjamesg++ amazing! read/write/bookmark!
#
Loqi
capjamesg has 47 karma in this channel over the last year (207 in all channels)
barnaby and claudinec joined the channel