#variables — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #variables, aggregated by home.social.
-
[Beginner] Call all functions from main() or jump to functions from within functions?
-
@da_667 venv is somewhat confusing but it does work, solves dep issues but i hope they can improve #variables
-
@da_667 venv is somewhat confusing but it does work, solves dep issues but i hope they can improve #variables
-
How TypeScript Infers Type Variables, by (not on Mastodon or Bluesky):
https://norswap.com/typescript-type-variable-inference/?ref=frontenddogma.com
-
How TypeScript Infers Type Variables, by (not on Mastodon or Bluesky):
https://norswap.com/typescript-type-variable-inference/?ref=frontenddogma.com
-
Dear bash experts,
I came across a script today that stubbornly did this for like 30 variables:
declare -rx FOO="${FOO:-}"
declare -rx BAR="${BAR:-}"
...(So the variable left of the equation sign is the same as the one inside the curly braces. There is only a ":-" after it which assigns it an (empty?) default value, in case it is unset)
Can anyone explain what the reason for that could be? Exporting variables that might (or not) be unset/undefined? Making sure they have an empty value?
Thanks in advance!
-
Dear bash experts,
I came across a script today that stubbornly did this for like 30 variables:
declare -rx FOO="${FOO:-}"
declare -rx BAR="${BAR:-}"
...(So the variable left of the equation sign is the same as the one inside the curly braces. There is only a ":-" after it which assigns it an (empty?) default value, in case it is unset)
Can anyone explain what the reason for that could be? Exporting variables that might (or not) be unset/undefined? Making sure they have an empty value?
Thanks in advance!
-
bourne_again_shell 1978
Bash 1978
This is a short book which you may read if you work on Open Source systems with bash installed as the default sh
Some Quotes
Variable names begin with a letter and consist of letters, digits, and underscores. Shell variables may be given values when a shell procedure is invoked. An argument to a shell procedure of the form name = value causes value to be assigned to name before execution of the procedure begins. The value of name in the invoking shell is not affected. Such names are sometimes called keyword parameters. Keyword parameters may also be exported from a procedure by saying, for example, export user box Modification of such variables within the called procedure does not affect the values in the calling procedure. (It is generally true of a UNIX process that it may not modify the environment of its caller without explicit request on the part of that caller. Files and shared file descriptors are the exceptions to this rule.) A name whose value is intended to remain constant throughout a procedure may be declared readonly.
Page 13
Because this is a light book I will hunt for more in depth books on shells
sources
https://en.wikipedia.org/wiki/Bash_(Unix_shell)
https://archive.org/details/bstj57-6-1971
#bash #bourne #again #shell #Open #Source #shell #programming #variables
-
bourne_again_shell 1978
Bash 1978
This is a short book which you may read if you work on Open Source systems with bash installed as the default sh
Some Quotes
Variable names begin with a letter and consist of letters, digits, and underscores. Shell variables may be given values when a shell procedure is invoked. An argument to a shell procedure of the form name = value causes value to be assigned to name before execution of the procedure begins. The value of name in the invoking shell is not affected. Such names are sometimes called keyword parameters. Keyword parameters may also be exported from a procedure by saying, for example, export user box Modification of such variables within the called procedure does not affect the values in the calling procedure. (It is generally true of a UNIX process that it may not modify the environment of its caller without explicit request on the part of that caller. Files and shared file descriptors are the exceptions to this rule.) A name whose value is intended to remain constant throughout a procedure may be declared readonly.
Page 13
Because this is a light book I will hunt for more in depth books on shells
sources
https://en.wikipedia.org/wiki/Bash_(Unix_shell)
https://archive.org/details/bstj57-6-1971
#bash #bourne #again #shell #Open #Source #shell #programming #variables
-
Продуктовая колористика: сборка тоновых растяжек в примитивах дизайн-систем
Проблема Как тоновые растяжки решают проблему Тоновые растяжки в Primitives (три уровня переменных) Некорректные методы сборки Корректные методы сборки Лайфхаки Выводы Дальше — больше
https://habr.com/ru/articles/1030018/
#колористика #дизайн #дизайнсистема #дизайн_интерфейсов #дизайн_сайтов #растяжки #тоновые_растяжки #подбор_цветов #variables #primitives
-
Testing Font Scaling for Accessibility With Figma Variables, by @smashingmag:
https://www.smashingmagazine.com/2026/03/testing-font-scaling-accessibility-figma-variables/
-
Testing Font Scaling for Accessibility With Figma Variables, by @smashingmag:
https://www.smashingmagazine.com/2026/03/testing-font-scaling-accessibility-figma-variables/
-
Дизайн-токены: полный гайд по архитектуре и неймингу c примерами и задачками
Дизайн-токены — это язык, понятный как дизайнерам, так и разработчикам. Без него продукт получается разрозненным и неповоротливым. Токены и правильный нейминг помогают создавать новые разделы быстрее, а дизайнерам больше думать о сценариях и создавать визуал в рамках продукта, а не заниматься рутиной. Если в вашем коде и макетах до сих пор живут значения типа #0055FF — вы копите технический долг, ведь если понадобится изменить этот цвет на другой, придется менять и все компоненты, где используется это значение. А про разные темы вообще можете забыть... В конце статьи будут ссылки на доп. материалы из реальных дизайн-систем, откуда я брал информацию. Изучить тему
https://habr.com/ru/articles/1012980/
#дизайнсистема #дизайн #figma #tokens #токены #дизайнтокены #variables #design_system
-
¿Cómo se titula una investigación? Entre criterios, mitos y frustraciones.
Como estudiante universitario, y como profesor, he estado involucrado en reiteradas ocasiones en conversaciones con compañeros tocantes a la planificación, ejecución y divulgación de trabajos de investigación. Pero, aunque usted no lo crea, uno de los aspectos que más debate conlleva es la formulación de los títulos de informes finales de dichos trabajos. Para serle franco, ese aspecto, que podría parecer una nimiedad, es un dolor de cabeza para los estudiantes de cualquier nivel […] -
Variables / Ground Zero / Pagan Baby
Bands VARIABLES GROUND ZERO PAGAN BABY Venue - Venue name: JOE'S - Address: 109 N MAIN ST. ANN ARBOR - Date: SUNDAY AUG. 26 - Time: 2 PM - Admission price: ALL AGES $3 -
Easy Nonogram 15x15 - How Fast Can You Solve? #100
🧩 Nonogram Puzzle Medium 15x15 Grid | Easy Difficulty
Watch as we solve this challenging #nonogram puzzle step by step! This 15x15 grid puzzle is perfect for easy Puzzle solvers.
📊 Puzzle Details:
• Grid Size: 15x15
• Difficulty: Easy
• Category: Medium Nonogram#nonogram #picross #griddler #puzzle #brainteaser #logicpuzzle #variable #variables #variablenonogram #nonogramvariable
-
Tras explicar qúe son las variables en Go y los tipos de datos que ofrece el lenguaje, llega el momento de unir ambos conceptos. En este artículo veremos cómo Go vincula variables y tipos de datos.
https://www.lateclaescape.com/post/2026/golang-typed-variables/
-
Este articulo explica las variables en Go, sin rodeos y sin adelantar tipos, para construir una base sólida desde el principio.
-
It Is OK to Say “CSS Variables” Instead of (or Alongside) “Custom Properties”, by @kizu:
-
It Is OK to Say “CSS Variables” Instead of (or Alongside) “Custom Properties”, by @kizu:
-
Model-D with DI
“What cha doing, Grandpa?” Todd asked.
“What’s it look like? I’m #cranking the engine. You want to try?”
“Naw. I got a new car, a Chevy Roadster. This here Ford Model-A starts hard.” Todd kicked a car tire.
“This baby is one of those newfangled Model-Ds, Professor Muskrat been touting. This car don’t need gas, the engine is silent, no flat tires, and only smells a little of sulfur. Come with DI and even drives itself while you sleep.”
“Sounds complicated, Gramps. High-tech stuff has lots of #variables. What’s DI anyway?”
“Demon Intelligence. But the d*mn demon won’t wake up.”
#Drabble #Spooktober #Halloween #MicroFiction #TootFic #NMV366
-
The rogue peered through the trees at the encampment below. "Guards, crossbows, dogs and alarms..."
"How shall we split them?" asked the barbarian.
"Too many #variables to work with." He opened his belt pouch. "But I have an idea."
"Smoke bomb? Poison?"
"Nah." Grinning, the rogue tipped out some dice. "Roll you for it."
His companion snorted. "No way, they're loaded."
-
The rogue peered through the trees at the encampment below. "Guards, crossbows, dogs and alarms..."
"How shall we split them?" asked the barbarian.
"Too many #variables to work with." He opened his belt pouch. "But I have an idea."
"Smoke bomb? Poison?"
"Nah." Grinning, the rogue tipped out some dice. "Roll you for it."
His companion snorted. "No way, they're loaded."
-
Ansible is nothing without data. Variables come from every direction. Ghost Operators filter and merge the structures.
https://deadswitch.tomsitcafe.com/2025/09/the-life-of-ansible-data.html
-
Ansible is nothing without data. Variables come from every direction. Ghost Operators filter and merge the structures.
https://deadswitch.tomsitcafe.com/2025/09/the-life-of-ansible-data.html
-
Out now: Schneider & Urban: A myriad of options: Validity and #comparability of alternative international #education #variables.
This study, expanding on previous research, evaluates the validity and comparability of 16 alternative education coding specifications using nearly 400 dependent variables to identify an optimal solution that could serve as a standard.
-
Out now: Schneider & Urban: A myriad of options: Validity and #comparability of alternative international #education #variables.
This study, expanding on previous research, evaluates the validity and comparability of 16 alternative education coding specifications using nearly 400 dependent variables to identify an optimal solution that could serve as a standard.
-
Science!
Change one variable at a time.
https://en.wikipedia.org/wiki/Dependent_and_independent_variables
Tested: Where Does The Tone Come From In An Electric Guitar?
https://www.youtube.com/watch?v=n02tImce3AE
Set aside your assumptions and preconceived ideas.
-
Science!
Change one variable at a time.
https://en.wikipedia.org/wiki/Dependent_and_independent_variables
Tested: Where Does The Tone Come From In An Electric Guitar?
https://www.youtube.com/watch?v=n02tImce3AE
Set aside your assumptions and preconceived ideas.
-
Starting with Ansible is easy. Fast. Then the data grows. Variables haunt. Data structures creep in. Ghost Operators don't repeate. They re-architect.
https://deadswitch.tomsitcafe.com/2025/09/ansible-data-structures.html
-
Starting with Ansible is easy. Fast. Then the data grows. Variables haunt. Data structures creep in. Ghost Operators don't repeate. They re-architect.
https://deadswitch.tomsitcafe.com/2025/09/ansible-data-structures.html
-
Learning Web Development: Numbers, Variables, Functions in JavaScript, by @rauschma:
https://2ality.com/2025/08/javascript-numbers-variables-functions.html
-
Learning Web Development: Numbers, Variables, Functions in JavaScript, by @rauschma:
https://2ality.com/2025/08/javascript-numbers-variables-functions.html
-
Ghosts don't bake data in the code. They abstract in variables. #Variables #Ansible #IaC #DevOps #Automation
http://tomsitcafe.com/2025/09/01/04-objective-fluid-intelligence-variables/
-
Ghosts don't bake data in the code. They abstract in variables. #Variables #Ansible #IaC #DevOps #Automation
http://tomsitcafe.com/2025/09/01/04-objective-fluid-intelligence-variables/
-
Figma Variables and Design Tokens—Variable Architecture, by @lurkmoophy (@zeroheight):
https://zeroheight.com/blog/figma-variables-and-design-tokens-part-one-variable-architecture/
-
Figma Variables and Design Tokens—Variable Architecture, by @lurkmoophy (@zeroheight):
https://zeroheight.com/blog/figma-variables-and-design-tokens-part-one-variable-architecture/
-
🚀 Oh joy! Yet another #Makefile tutorial—the culinary masterpiece we've all been waiting for. 🍽️ Because nothing screams excitement like "Variables" and "Make clean" served with a side of bland syntax. 🙄 Proof that some people will go to any lengths to avoid #learning something relevant in 2023.
https://makefiletutorial.com/ #Tutorial #Variables #Programming #Humor #HackerNews #ngated -
🚀 Oh joy! Yet another #Makefile tutorial—the culinary masterpiece we've all been waiting for. 🍽️ Because nothing screams excitement like "Variables" and "Make clean" served with a side of bland syntax. 🙄 Proof that some people will go to any lengths to avoid #learning something relevant in 2023.
https://makefiletutorial.com/ #Tutorial #Variables #Programming #Humor #HackerNews #ngated -
Land Surface Heterogeneity And Tornado Occurrence - An Analysis Of Tornado Alley And Dixie Alley
--
https://doi.org/10.1080/19475705.2019.1583292 <-- shared paper
--
#GIS #spatial #mapping #NLCD #climatechange #severeweather #extremeweather #environment #slope #remotesensing #landcover #extremeweather #landcover #landuse #tornado #risk #hazard #damage #cost #economics #publicsafety #infrastructure #loss #USA #TornadoAlley #DixieAlley #landsurface #topography #vegetation #spatialanalysis #model #modeling #heterogeneity #variables #parameters #factors #geostatistics #statistics #EROS #fedscience -
Land Surface Heterogeneity And Tornado Occurrence - An Analysis Of Tornado Alley And Dixie Alley
--
https://doi.org/10.1080/19475705.2019.1583292 <-- shared paper
--
#GIS #spatial #mapping #NLCD #climatechange #severeweather #extremeweather #environment #slope #remotesensing #landcover #extremeweather #landcover #landuse #tornado #risk #hazard #damage #cost #economics #publicsafety #infrastructure #loss #USA #TornadoAlley #DixieAlley #landsurface #topography #vegetation #spatialanalysis #model #modeling #heterogeneity #variables #parameters #factors #geostatistics #statistics #EROS #fedscience -
#Development #Pitfalls
The mostly true naming rule · “Do not give multiple names to the same thing.” https://ilo.im/163est_____
#Programming #Coding #Naming #Conventions #Variables #WebDev #Frontend #HTML #Backend #SQL -
#Development #Pitfalls
The mostly true naming rule · “Do not give multiple names to the same thing.” https://ilo.im/163est_____
#Programming #Coding #Naming #Conventions #Variables #WebDev #Frontend #HTML #Backend #SQL -
Some Features That Every JavaScript Developer Should Know in 2025, by (not found on Mastodon or Bluesky):
https://waspdev.com/articles/2025-04-06/features-that-every-js-developer-must-know-in-2025
-
Some Features That Every JavaScript Developer Should Know in 2025, by (not found on Mastodon or Bluesky):
https://waspdev.com/articles/2025-04-06/features-that-every-js-developer-must-know-in-2025
-
10 Uses for Variables Beyond Light and Dark Mode, by @alicepackard.bsky.social:
https://www.alicepackarddesign.com/blog/uses-for-variables-beyond-light-and-dark-mode
-
How ECMAScript Engines Optimize Your Variables, by @boa_engine:
-
🐍🔍 Oh joy, yet another #Python tool to save us from the terrifying menace of #global variables! It's like using a bazooka to swat a fly in your #Jupyter #notebook. But hey, at least with #localscope, you'll have a new way to break your code after a kernel restart, now with style! 🎉🚀
https://localscope.readthedocs.io/en/latest/ #Tools #Variables #Coding #Fun #HackerNews #ngated