[–] 2 points 2 months ago*

Very interesting post! It's a good technical deep dive into the guts of the compiler, yet doesn't require background knowledge of it to be able to understand.

  • source
  • [–] 1 point 4 months ago

    I’ve never used Symfony Mailer however:

    1. PGP is a program that encrypts things. Under the hood it can use asymmetric keys just like the example code shows.
    2. Typically you’d use the public key of the person you are sending the email to so that they can use their private key to decrypt it. I’d guess you’d need to look at the docs for the SMTP tool you’re using and see if it can be given the private key
  • source
  • [–] 2 points 6 months ago*

    I'm baffled at how the author just glosses over how the emoji for 5 doesn't work "because functions can't start with a number".

    This seems to imply there is some kind of textual substitution going on, which further implies I could call an emoji named function by some other plaintext name.

  • source
  • [–] [S] 1 point 10 months ago

    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.

  • source
  • parent
  • context
  • [–] [S] 1 point 10 months ago* (last edited 10 months ago)

    Mago is a PHP toolchain. I guess it is something similar to ruff/ty/pyrefly in Python, oxc in JavaScript, or Lux in Lua because it emphasis its speed and it is written in Rust. The author is also a maintainer of psl[1] and listed in JetBrains' 2025-2026 sponsorship program.[2]

  • source
  • [–] 0 points 10 months ago (3 children)

    @lens0021 sorry, that was just a bit snarky. But hey, don’t assume all us plebs know what you’re doing: if you posted “blahlib makes your code better and we’ve released x.y.z” I’d know I could ignore it (if I didn’t want my code to if be better 😜). And link to the project homepage, not the release note. Or maybe both. That’s easy, right? Hope I’m being constructive.

  • source
  • parent
  • context
  • [–] 1 point 11 months ago

    I use Intelephense together with Psalm (via LSP) in my editor. It's not a very pleasant experience, as Psalm is rather slow. Especially on large projects and large files. If a built in LSP server has as good diagnostics as Psalm, I would LOVE that! Hope this gets a reality. Would probably use Psalm as a CLI only tool, though. It's fantastic, just painfully slow

  • source
  • [–] 2 points 1 year ago

    This will be very welcome. I probably have to wait for the major frameworks and many libraries to use it, so it’s it’s a few months away for me. But something to look forward to.

  • source