#scoping — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #scoping, aggregated by home.social.
-
Odd/specific SCSS/SASS question
Working on a client website, I often use similar scaffolding for my projects, especially with SASS.
I had a variable defined as
$redwith a hex value.When I passed this to a component file, it was iterating up the parent directories and then down into a specific directory where the same variable name was in use.
Not sure I understand the scoping here.
I have since updated all my variable names in the local repo to be a bit more BEM-ish.
Anyone know how/why this happens?
My client repo is several subfolders deep from the one being called in the file, but its not a direct child/grand child.
I hope this makes sense, assuming it is to do with name spacing.
First image shows the iteration up the tree to the incorrect folder, second one shows the updated filename which is referencing the local variable correctly.
#FrontEnd #FrontEndDevelopment #SCSS #CSS #SASS #Scoping #Variables
-
The Gut-Sleep Connection: A Scoping Review of Microbiome Alterations Across Sleep and Circadian Disorders
https://1ban.news/gut-sleep-microbiome-scoping-review-fregolente/
#1ban #gut #sleep #microbiome #scoping #neuroscience -
A Scoping Review of Orexin Antagonists in Post-Traumatic Stress Disorder: Modulating Sleep, Stress, and Fear Circuits
https://1ban.news/orexin-antagonists-ptsd-scoping-review/
#1ban #orexin #antagonists #ptsd #scoping #sleep -
#Development #Techniques
CSS name-only containers · The scoping we needed and the one we have https://ilo.im/16bzll_____
#ModernCSS #Scoping #Components #Browsers #WebDev #Frontend #CSS -
Change the scope a little, and you might miss the attack that matters most! Just five minutes of screen sharing made me find an unauthenticated XSS in #Weblication's admin panel.
Many pentesters would have missed this vulnerability. And it's not for lack of skill, but because of how projects are scoped. 🧵
#Hacking #BugBounty #Scoping #InfoSec #CyberSecurity #Pentesting #AppSec #CVE_2025_52161
-
#Development #Techniques
Solved by CSS: donuts scopes · How to prevent parent-to-child style leakage https://ilo.im/1610t7_____
#ModernCss #Styling #Scoping #WebComponents #Browser #Frontend #CSS -
#Development #Cheatsheets
What you need to know about modern CSS · The incredible new additions to CSS at a glance https://ilo.im/15ydut_____
#Layout #Typography #Color #Transition #Animation #Nesting #Scoping #WebDev #Frontend #CSS -
We wrote a long section about CSS Scoping in our article about Safari 17.4. We wanted to make sure you all have an easy way to understand both of the major ways to use it + the massive change it makes to how ties in specificity resolve.
Don't miss it.
https://webkit.org/blog/15063/webkit-features-in-safari-17-4/#css-scoping
Oh, and check out the simple demos that are linked in the text. You can edit the CSS to see what happens.
https://codepen.io/jensimmons/pen/jORNYxx?editors=1100
https://codepen.io/jensimmons/pen/mdoQmQx?editors=1000 -
looking forward to this change to "for loop" var scoping in upcoming Golang versions:
https://go.dev/blog/loopvar-preview
Golang is my tool of choice for writing code that should prioritize correctness, predictability, programmer clarity and long-term maintainability. and that change further fits within that same "grain of the wood"
-
Happy to share our #chi2023 paper on how to communicate robot motion intent.
Thanks to my co-authors @gruenefeld, Stefan Schneegass, and Jens Gerken
Preprint: https://hci.w-hs.de/pub_how_to_communicate_robot-motion_intent_-a-scoping-review/#scoping #review #survey #robot #cobot #drone #motion #intent 🧵
-
Style #Scoping versus #ShadowDOM : which is fastest ?
« My new benchmark largely confirmed my previous research, and shadow DOM comes out as the most consistently performant option. Class-based style scoping slightly beats shadow DOM in some scenarios, but in others it’s much less performant. #Firefox, thanks to its multi-threaded style engine, is much faster than Chrome or Safari. » by @nolan
› https://nolanlawson.com/2022/06/22/style-scoping-versus-shadow-dom-which-is-fastest/