sueden.social ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Eine Community für alle, die sich dem Süden hingezogen fühlen. Wir können alles außer Hochdeutsch.

Serverstatistik:

2 Tsd.
aktive Profile

#attribute

0 Beiträge0 Beteiligte0 Beiträge heute

"As they say: If in doubt, hide in a cloud." Haribord whispered the ancient proverb and poured some water from his flask onto his open hand. Within seconds, the water started to bubble and fog began to fall to the floor, much more than it had any right to.

The giant cavern filled with unnaturally thick fog in minutes, diffusing the red light from the ember crystals, which grew on the rough ceiling, into a hellish glow. Alarmed voices could be heard echoing on the stone walls.

"Who the fyock says that?" Stora rumbled and risked another peek over the boulder they were hiding behind. "Can we go now?"

"The scholars #attribute the proverb to the witch Haliga and although most people think it means to know when to hide and retreat, it's not actually that."

Haribord had closed his eyes. His face twitched from concentration, which gave him a demonic visage in the red gloom.

"You see, Haliga's cloud is not just a cloud. It is grown from you and thus part of you." Sweat ran down his brow. "You feel all that it touches. It will follow you and go anywhere you want." The fog started to flow and pool in different corners of the cavern. The cries of surprise and fear quickly turned into screams, then gurgles, then silence.

I just for the first time wrote a Rust #[derive()] statement without having to go look up the #attribute syntax. I am proud of myself. This is only hard because I have to remember which one is the Rust attribute syntax and which one is the C++ attribute syntax and when I need an exclamation mark. Honestly, the Go equivalent of attributes starts to seem a little appealing just because it doesn't look enough like any other language to get me confused

Just found this article stating that using the #language #attribute for individual words within a text is not a good idea when you want #ScreenReader users to have a good #UX. It's just overengineered #a11y.

I'm a bit surprised as you always read otherwise (as the article also mentions).

Are some screen reader users here that can share their experiences? I'm really curious now 🤔

netz-barrierefrei.de/en/lang-a

www.netz-barrierefrei.deHow the Language Attribute is demaging Accessibility - Accessibility Consulting - Training & SupportThe language attribute seems to make sense for accessibility, but only for sighted people.

Keeping everything public might be considered an anti-pattern. On the other hand, if we use more restrictive access modifier, we might encounter situations where something that we would like to access would not be possible. The InternalsVisibleTo attribute might come in handy in such situations.

Using this attribute, we can specify that the assembly mentioned in the attribute, will be able to access internal types specified in the one where the attribute is used. This means types that are marked with internal access modifier, internal protected, or private protected ones will be accessible. We could use this to allow access to some internal types for a test project. See the example code 👇.

Docs 📑: learn.microsoft.com/en-us/dotn

Did you know about this attribute? Did you use this one?

#dotnet #internalsvisibleto #attribute
---
If you find this useful, consider giving a like & share ♻

Fortgeführter Thread

Every #Republican #Accusation is an #admission of their own #guilt.

In #political #discourse, there's an intriguing #phenomenon where #accusations made by one #party often reflect their own #conduct or #mindset. This is notably and frequently observed in the case of #Republicans.

This is a case of #psychological #projection, where #individuals or #groups unconsciously #attribute their own #desires, #motivations, or #faults onto others.

— (1/2)