For this #ThankYouTuesday, I want to express my gratitude to the wonderful Nature, which consistently offers us breathtaking spectacles, whether in the form of lights, colors, scents, or sounds.
After a while trying to understand if either ksh or zsh provided a way to prevent taking strings and undefined variables as 0 when doing arithmetic evaluation, there seems to be no feature specifically for it, sadly.
Closest is using set -o nounset (ksh) and setopt no_unset (zsh) to prevent undefined variables from evaluating to zero. If a "string" contains only numbers, a dot and whitespace, it will be treated as a number. Also, if it only contains the name of any other variable and whitespace, it evaluates to that.
Not that I expected shell languages to provide accurate arithmetic.
As a bonus though, it was cool learning about ksh's compound variables, force_float option and especially discipline functions.
After a while trying to understand if either ksh or zsh provided a way to prevent taking strings and undefined variables as 0 when doing arithmetic evaluation, there seems to be no feature specifically for it, sadly.
Closest is using set -o nounset (ksh) and setopt no_unset (zsh) to prevent undefined variables from evaluating to zero. If a "string" contains only numbers, a dot and whitespace, it will be treated as a number. Also, if it only contains the name of any other variable and whitespace,...
NomadBSD is a great mobile OS that has it's own identity and purpose - and it has had a somewhat big change from OpenBox to XFCE. Does that improve or spoil this great OS? In this video we'll find out...
On this #SilentSunday, let the hush take us back in time, to reflect on the echoes of an era that must never be forgotten. Within the folds of silence, we find space to honor those days of struggle and liberation, with a promise to keep the memory alive. This photo is from today, but it depicts a day 79 years ago.
On this #SilentSunday, let the hush take us back in time, to reflect on the echoes of an era that must never be forgotten. Within the folds of silence, we find space to honor those days of struggle and liberation, with a promise to keep the memory alive. This photo is from today, but it depicts a day 79 years ago.
I was telling my wife, imagine life from cookie’s perspective: strangers tell her she’s cute and they love her every five minutes, internet fans root for her, the streets of the world are filled with delicious edible food, even when it’s trash.
like the very high Californian woman once told me when I was walking her: ‘this dog like, totally looks like she has NO TRAUMAAAAAA’
Hello, #Fediverse friends! Just got some wonderful news and wanted to share it with someone, and who better than you all. A dear friend who has been ill for a while has overcome their illness. We'll reunite tomorrow to celebrate together, but I'm bursting with joy already. Life has a way of bringing good news just when we need it most. #GoodNews#Celebration#Grateful
...and at night, when everything seems so dark that you start to feel crazy and hopeless, just remember: a new morning will come and a new sun will shine for you.
I echo that welcome. We are always welcome to more sunshine!
Follow @FediTips for starter tips. Follow @FediFollows for curated lists of whom you should follow. Follow @lisamelton who boosts interesting and varied posts. Do lots of searches for #hashtags.
@stefano
Nature is simply divine!
@stefano If this photo is made by You, this is the best take i've seen here.