UndercoverUlrikHD

joined 2 years ago
MODERATOR OF
[–] [email protected] 1 points 1 month ago (1 children)

-football Barcelona - Benfica

[–] [email protected] 2 points 1 month ago (1 children)

I've made it so that you can just reply to the LiveThreadBot that is automatically called in this post so that we keep all match thread requests organised in a single thread.

[–] [email protected] 2 points 1 month ago

Nice, they had some good looking kits back in the day. Just missing the Carlsberg sponsorship.

[–] [email protected] 8 points 1 month ago

They complied with my request without any fuss. I didn't even have access to my account due to losing my 2fa device.

[–] [email protected] 4 points 1 month ago (1 children)

It will be interesting to see where Manchester United is next year

[–] [email protected] 1 points 1 month ago (1 children)

I'm not anti bash or fish, I've written in both just this week, but if we're talking about readability/syntax as this post is about, and you want an alternative to bash, I'd say python is a more natural alternative. Fish syntax is still fairly ugly compared to most programming languages in my opinion.

Different strokes for different folks I suppose.

[–] [email protected] 4 points 1 month ago

For example, how could it know whether cat $foo should be cat "$foo", or whether the script actually relies on word splitting? It's possible that $foo intentionally contains multiple paths.

Last time I used ShellCheck (yesterday funnily enough) I had written ports+=($(get_elixir_ports)) to split the input since get_elixir_ports returns a string of space separated ports. It worked exactly as intended, but ShellCheck still recommended to make the splitting explicit rather than implicit.

The ShellCheck docs recommended

IFS=" " read -r -a elixir_ports <<< "(get_elixir_ports)"
ports+=("${elixir_ports[@]}")
[–] [email protected] 7 points 1 month ago

Liverpool with CL Real Madrid level of robbery this game lol

[–] [email protected] 10 points 1 month ago (3 children)

If you're going to write scripts that requires installing software, might as well use something like python though? Most Linux distros ship also ship with python installed

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

Wow. Out of the blue

view more: ‹ prev next ›