says the person not posting at least one link en.wikipedia.org/wiki/Link_(s...
Posts by Stephane "Rainlife" Vanraes ๐ฆ
Today I was fondly remembering playing Planetarion (and similar) 20+ years ago and how impressed I was it would update the game for 10s of thousands of players every hour.
When it suddenly dawned on me it doesn't actually do all those calculations within a few microseconds when the hour changes
The worst part is, it doesn't have to be that complicated in React either!!
For now there is still "CodePen Classic" but I am worried it will be removed once this "2.0" comes out. And definitely unsure I will keep using the site if that happens.
Quick question, doesn't this basically mean "If this element has a sibling, and this element is hovered, fade in the sibling" ? In that case why even have the "has", just ":hover &" would also only apply if the sibling exists. ๐ค
I might be reading the selector wrong of course ๐
but but `select * from users where user.dob 01-01-2000` is a a lot harder to understand then
`prompt("Find all users born after the first of january 2000", { users })`
(no joke, I have seen some code that more or less amounted to this)
The has:(:nth-child()) works fine but is quickly cumbersome. On the other hand I cannot really think of any REAL use case that would not be covered by :empty :has(:only-child()) and a couple of :nth-child()ren.
Would love to hear more ideas
Perhaps if you want to layout children in a grid that is as close as possible to "square" ? In that case you would want to be able to do something like:
--columns: round(sqrt(childcount());
grid-template-columns: repeat(var(--columns, 1fr);
1...5 -> 2 cols
6...11 -> 3 cols
(math likely wrong)
After some struggling managed to get Svelte reactivity working in combination with SharedArrays and Atomics. Not optimal, but who knows, a first article for my blog if I ever get around writing again ๐
now all we need is to define a standard form for export/import to improve portability and avoid vendor lock-in ๐
Been working on one myself as well, a lot more minimalist though ๐ In your app you can re-run a session from the 'progress' page but there does not seem to be an easy option to do so from 'start session' ?
(my app is fully structured around the idea of "programs")
github stars (or equivalent marks of liking packages and repos) should expire after a year.
Demos like this are amazing, but are also absolute overkill. It is more an exploration of what "is possible" and not a guide that you "should" do it like this.
I semi regularly make over the top demos at work, and months later I will see a designer try something new because now they now they can.
sibling-index is super cool, especially with sibling-count and some hard-to-read calculations ๐
meoooow ๐โโฌ
I used LinkedIN to circle back to past collaborators. Here are 5 lessons I learned on how the platform impacted our synergy potential:
1) It
2) Does
3) Not
4) Fucking
5) Work
My GF is binging "Younger" on Netflix and I have to explain to her so many of the references that she now suspects I am cheating on her with my younger coworkers ๐คฆโโ๏ธ
a selfmade small bags with a blue starry exterior and orange on the inside
Sewing machine workshop tonight, made a small bag for toiletries. Not bad for a first time, will definetely practice more โค๏ธ
Looks very nice! Any reason for the vastly different behaviour of the cards in the different sections ? Hovering over them on the front page, course page and articles all have a different effect. The inconsistency feels a bit jarring tbh :)
So far this seems to involve a lot of waiting...
today on my "learn stuff while not assigned to a customer project" agenda is "Vibe Coding". Exciting to see if I will be utterly frustrated at the end of a day, or have a decently working app to track my fitness exercises ?
I suppose the verb would be the same, but while "accessibility" usually means to convey how we use the site; the issue with being able to reach it in the first place would better be covered by "availability" I guess.
And if you want something maybe a bit different, depending on your background: "Into the Labyrinth" by Dead Can Dance, an older album that is a bit harder to classify. (if you are familiar with the Gladiator theme song you might recognize the voice)
"The Human Equation" by Ayreon (or any of the other albums) is worth listening too. Classified as 'rock-opera' this one tells the story of a man lying in a coma with guest singers playing different voices/emotions in his head.
december means advent of code ๐
this year, like every year, I will be using a language unknown to me beforehand because suffering is important (I guess)
this year that falls on "Julia" โค๏ธ excited to see how it goes ๐
I know it happened to some other people: but did you also have people recommend Motherlover to you ? "Lindsay you should read this, I think you would like it!" ๐
Having fun exploring workers, svelte (obviously) and some python sprinkled through my browser.
Whenever I ask an LLM to help me come up with ideas to demo some new CSS or JS feature at work it somehow spews out Svelte code to showcase it.