I’m not UlrikHD


Assume you’re saving X amount of money each month for your retirement.
Your options for storing that money is either:
Assuming you go for option 3, would you choose to invest in a company with zero growth meaning your retirement fund won’t grow, or would you choose a company that is constantly growing?
Nobody would choose to invest in a company with zero growth or which doesn’t return money back in the form of dividends.
You’re objectively better off investing in companies that grow since those are the companies that will grow your investment.
How can it be profitable? Surely the energy cost would surpass that value of a single search?


What big advantages does pathlib provide? os.path works just fine


Neither options will solve the problem though
That’s for images though, not text content.
Huh, I missed that when skimming through the post and source code
I am considering implementing my own ActivityPub server to remove the dependency on a Lemmy server to get votes,
I saw that part and misunderstood it as if he didn’t run an instance.
Thanks for pointing it out!
Honestly surprised you’re able to get lemmy votes without an admin account, I thought that data was restricted to instance admins.
I think they limit it to upvotes for normal users
I think it’s a thing mainly for hobby programmers and young students that don’t have a solid foundation/grasp of programming yet, which also likely makes up a big portion of programming meme communities.
Functional programming would have quite the problem if it wasn’t a thing.


No, they are talking about weights that spits out a body fat percentage alongside the weight.


Yes, I’m sure reopening coal plants and displacing villages to mine coal is a better environmental policy.
And are you suggesting that the West wouldn’t be able to build cheaper and faster nuclear power plants even if we had actually invested in the technology for all these years? Is nuclear technology some unicorn that can’t be improved with experience and research?


Building times are to be measured in decades.
Should probably have invested more into developing their knowledge and experience then. Just have a look at China.
Littering vast spaces of land for wind and sun power generation is hardly a better long term solution.


Considering Russia’s interest in the islands, that might not be all that great of a choice.


The hen can’t be alone with the fox or the grain, so it’s still the same.


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.


For example, how could it know whether
cat $fooshould becat "$foo", or whether the script actually relies on word splitting? It’s possible that$foointentionally 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[@]}")
I got a bot on lemmy that scrapes espn for sports/football updates using regex to retrieve the JSON that is embedded in the html file, it works perfectly so far 🤷♂️