17 Followers
6 Following
218 Posts

Science, technology, education, 3-D printing, robots, computer programming, games

I have Opinions which may differ from yours. If so, please tell me about your point of view!

Portfoliohttps://zelfmaker.nl
you can just hate somebody on here because you want to not because you have to, and i think that's beautiful

@mahryekuh I don't do much with the web; I hadn't looked accessibility before. But of course I want that and it seems that aria-selected can indeed not be generated without JS.

And you are also correct that once that is generated, it is trivial to get style on the tab based on it. ๐Ÿ˜ƒ

So thanks, this makes it much better!

@mahryekuh Ok, I have just answered my own question by reading your post; it works using has().

I still seem to need this for the tab style though (to show which tab is currently active, so to which tab the currently visible page belongs). What I would want for that, is a CSS rule that can "follow" the htmlFor member of the Label (which is not a descendant in the DOM tree). I suppose I could use has() there as well, but then I'd need to say "has id equal to this element's for". Is that a thing?

@mahryekuh Yes, very cool. I have been making tabbed interfaces without JS for a while, using radiobuttons. But the part I don't like is that (I think) I need to use CSS rules for every tab (input#thistab:not(:checked) ~ div#thispage { display: none; })

Do you know of a way this can be achieved in a way that does not need new CSS rules when new tabs are added? Is that even possible?

@lisyarus That is perfectly valid, of course.

@lisyarus Yes, I dislike it in C and C++ as well. ๐Ÿ˜… That's why when I see a new language, I think 'here's an opportunity to do better'.

I don't understand why it would be hard, though. Obviously, they are the same in machine language, but that's because it doesn't have types at all. If the compiler knows what arrays are, and it knows 'pointer to X' as a type, it surprises me that 'array of N values of Y' is not a valid value for X.

But I trust you that it's harder than it seems to me. ๐Ÿ˜Š

@lisyarus I know nothing about the language except what I see here, but it looks nice.

There is one thing about the code that I dislike though: using *ptr to access ptr[0]. It makes it unclear that ptr points to an array. I would like it to have operator* only work on pointers to values, not on pointers to arrays.

Anyway, I'm just someone on the internet, so feel free to disagree. ๐Ÿ˜‡

โ€œResearchers measured autistic people against neurotypical expectations and called every difference a deficit. They tested empathy by measuring in-group preference and missed commitment to universal fairness. They measured creativity by counting the number of ideas and missed originality. They saw moral consistency and called it rigidity. They saw deep engagement and called it rigidity. They saw sensory richness and called it disorder.โ€
https://www.psychologytoday.com/us/blog/positively-different/202601/what-the-world-got-wrong-about-autistic-people
What the World Got Wrong About Autistic People

For decades, autism research compared autistic people to animals, denied them moral sensitivity, and assumed autistic traits made them miserable. All wrong.

Psychology Today

I just signed the โ€œNo free view? No review!" pledge to refuse reviewing papers for closed-access venues, and I encourage all researchers to do the same.

https://nofreeviewnoreview.org

No free view? No review!

Sign the pledge not to review for closed-access publications!

@mahryekuh To me, slides are never required, they are a tool to clarify the story. Whether they should be used depends on what you are telling.
Some personal stories can really benefit from some visuals, for others they don't add anything.
So I'd think of what I would put on the slides. If I can't come up with something, I wouldn't use slides.