• 108 Posts
  • 36 Comments
Joined 3 months ago
cake
Cake day: October 7th, 2025

help-circle



  • Wait, isn’t the link self-descritive?

    After over 1,000 commits, 13 release candidates, 34 betas, and 12 alphas, we are thrilled to announce Mago 1.0.0 - the first stable release of the Mago PHP toolchain.

    Mago is a comprehensive PHP toolchain written in Rust that combines a linter, formatter, and static analyzer into a single, blazingly fast binary. Whether you’re working on a small project or a massive codebase with millions of lines, Mago delivers consistent, reliable feedback in seconds.




























  • Yep, the code you provided is compiled into this:

    command_0="$(cat file.txt | grep "READY")"
    __status=$?
    if [ "${__status}" != 0 ]; then
        echo "Failed to read the file"
    fi
    

    So, the outcome would depend on the pipefail option. (set -o pipefail)

    As you suggested, an Amberic snippet would be:

    import { file_read } from "std/fs"
    import { match_regex } from "std/text"
    
    const result = file_read("file.txt") failed {
        echo "Failed to read the file"
    }
    if match_regex(result, "READY"):
        echo "file.txt contains READY"
    

  • I will try this. I rarely open xls files and all the icons on libre Calc look… old. They feel like they’re straight out of the year 2000 (which might be true). I tried changing the theme, but none of them suited my taste.

    The bad thing is Collabora only provides a single flatpak file for Linux. I wish it would be served on flathub. I was so disappointed enough that I tried OnlyOffice yesterday, but all the UI components of OnlyOffice are too large for my screen and the available scaling factor options are 100%, 125%, and so on while what I really need 75%. There is a feature request for this by the way.