PHP 8 has an actual HTML5 parser now. Who’d have thought? This kind of thing (I guess) is better late than never. There are so many things that I can go back to now and simplify the hell out of.

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
I heard of another static site generator. “Static sites” are not really my jam, but are economically fun. I might try templating that one.
Its motivation
adds to my hunch that golang
templating is generally
disliked. I’m occasionally asked about go
(online), but I know very little
actually.

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
I unfortunately recommended a Firefox addon somewhere. Maybe it (Disable JavaScript) or some versions of it got hacked/backdoored because the repository just up and poofed itself. Luckily, Firefox isn’t that popular.
Addon files are usually zips and CRX Viewer is good for corner peeking. I look around corners thrice, occasionally, sometimes, maybe?

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
I’ve just learned something the hard way. There’s stuff out there that spins
console.clear()
and debugger
in infinite loops. I don’t know why that’s a thing but I like to call it: clear
console log debugger abuse.
In Chrome/Chromium limit debuggers and logs. In Firefox, enable log persistence/timestamps and control breakpoints manually.

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
My brain was picked apart the other day. Virtual scrolling is, in a handwavy sense, pagination with (semi) automatic navigation. Touché.

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
Infinite scrolling is unusual. Most implementations are “almost infinite” to avoid excessive length (memory).
-
Infinite scrolling: Limits content to an arbitrarily large amount to avoid exhausting memory.
-
Virtual scrolling: Unload everything except the visible viewport + a top and bottom offset. Pad the rest.
Virtual scrolling is infinite, but breaks auxiliary actions ( CTRL + F ) because what’s on the screen is the content.
document.addEventListener("scroll", function() {
console.log(document.querySelectorAll('*').length)
});
The most popular library appears to be https://infinite-scroll.com.

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
It’s amazing how trends in modern mainstream web development have seemingly inverted. One such example (an old bookmark) while following tech more closely in school;
Therefore by purposefully giving the user a blank page, we are giving him information that the app is still loading. The user knows that the app will be functional when he sees boxes and buttons.
The truth was it didn’t matter, at least, not so much as “position independent code”, kind of. Tech appears to do a ten year amnesiac/discovery routine. Web components arrived around that time too.

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
The best CSS Framework? I don’t know. Complexity moves in mysterious ways. The many interpretations model must be satisfied.
- in CSS (canonical)
- CSS in (write once and time driven)
- CSS in JavaScript (framework driven)
- CSS in Shadow (company/department driven)
- CSS in Scoped Formats ( driven)
- CSS in Preprocessors (design system driven)
I’d say, choices reflect environmental factors (social or otherwise) at play. If you’re lucky enough to choose, then suitability favors what draws the finish line closer?
I’ve no advice since I’d rarely have the time/luxury to choose anyway. I’m usually thinking about the possibility of more types, sub–types ( in #1: , classless, etc), and the transposition strategy and speed between each class/type.

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
Text fragments
are a Chromium feature from a couple years ago. They (#:~:text=) emulate
CTRL + F or
window.find()
from a . I experimented in times past
with a snippet–like approach using
<mark>
with
URL encoded terms on
id +
:target
logic, such that
clicking this link
highlights the paragraph below.
https://web.dev/text-fragments/#:~:text=Text%20Fragments%20let%20you

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
After perusing the web dev blog feeds (finally).. it seems that there’s a “mainstream” coordination away from the client side;
- https://intercoolerjs.org/
- https://unpoly.com/
- https://htmx.org/
- https://turbo.hotwired.dev/handbook/introduction
Time until a transition to ‘ over the wire’? These are very handy libraries — I tried htmx previously.