Skip Navigation

Posts
2
Comments
665
Joined
2 yr. 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[@]}")
     
      
  • 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

  • I genuinely don't get the point you're trying to make? What exactly is the problem with supplying fuel to ships that are docked in Norway?

  • A lot of famous scientists make their breakthroughs at fairly young age, before their mind gets locked into a certain paradigm. Look up Thomas Kuhn's The Structure of Scientific Revolutions, which forwards some interesting ideas on how science is conducted.

  • Writing Lua code that also interacts with C code that uses 0 indexing is an awful experience. Annoys me to this day even though haven't used it for 2 years

  • How about 8 hours troubleshooting while trying to find the right documentation.

  • At programming.dev "vote manipulation" is against out Code of Conduct and we would send the user a warning to stop. I'm sure your instance has something similar written down.

  • According to russian over at r/hardware GPUs have become cheaper in Russia since the ban as they are now being smuggled instead of imported via Europe with all extra cost that implies.

  • Plenty of projects have exe files available on the release page though, it's just hard to find unless you're familiar with github.

  • Can't say I recommend

  • The market don't care what either of us think, investors will do what investors do, speculate.

  • It's difficult to take your comment serious when it's clear that all you're saying seems to based on ideological reasons rather than real ones.

    Besides that, a lot of the value is derived from the market trying to figure out if/what company will develop AGI. Whatever company manages to achieve it will easily become the most valuable company in the world, so people fomo into any AI company that seems promising.

  • I wrote a slur detection script for lemmy, copilot refused to run unless I removed the "common slurs" list from the file. There are definitely keywords or context that will shut down the service. Could even be regionally dependant.

  • 2000 series launched 6 years ago and even the xbox series s supports ray tracing, at some point software must move on to utilise modern technology.

  • Windows/Microsoft's biggest selling point is the backwards compatibility though. It has been the corner stone of their software development.