Email or username:

Password:

Forgot your password?
4 posts total
Juno

interest check for a neurodivergent-focused FOSS tech collective aiming at strengthening neurodiverse folks, offering communication spaces and resources to make use of

boosts appreciated

#neurodivergent #neurodiversity #diversity #autism #ADHD #AuDHD #foss #tech

Juno

Here's a page in the BSD Café Wiki where you can now request and vote for possible new services to be added: wiki.bsd.cafe/docs:service-req

Currently, Wallabag is listed as the first entry and I'd appreciate some votes from those interested to get things going and make it clearer for others how it works.

Happy voting!

Juno

Recently got a cheap 128 GB SSD to see how BSD would run on my main machine, and this weekend threw FreeBSD on it. I'm sending this toot from the working system, and aside from the general configuration joy of being an Unix nerd, finding almost everything I need to know in the FreeBSD Handbook is a great perk on the second joy: reading docs and being able to flow acting on them.

#bsd #freebsd #unix

Juno

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.

#ksh #zsh #shell #programming

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,...

Go Up