Revelry
Insights

#RevTWIL: XDebug, Vercel, and More

By Revelry Team · November 25, 2024
#RevTWIL: XDebug, Vercel, and More

At Revelry, we believe in sharing and learning from one another (beliefs that are rooted in our Core Values). Among the many things we do to encourage internal knowledge exchange is to have a different team member present at each week’s Engineering Meeting. These presentations don’t have to be lengthy, formal, or complicated; in fact, many are brief, but also powerful in that they teach our Revelers something new, inspire conversation, and encourage collaboration.

In the spirit of sharing, we share our This Week I Learned presentations (aka RevTWILs”) here. We hope you find them helpful.

THIS WEEK: We offer an assortment of shared learnings from our engineering team.

  • Installing the step debugger module, XDebug, for PHP will incur a huge execution overhead even if it's not enabled. tests, linter, and static analysis are all running 2-3x faster without it.

  • If you are using Oban and Broadway SQS in your application, do not trigger a deploy if you have jobs actively running. Once the deploy completes and the old nodes are shut down, SQS won't know to stream to the new nodes.

  • Vercel's UI generator is legit.

  • AbortController in JS is a built-in thing that lets you abort HTTP requests smoothly. It's supported by fetch and axios and it has a super simple API that's easy to wire up too, e.g. a button in React. More here: https://developer.mozilla.org/en-US/docs/Web/API/AbortController

  • The index in git is a shopping cart for code changes and, as usual, somebody else has already had that thought: https://fenzland.com/en/coding/git/git-index

  • It looks like Oban Web is going to be open sourced... https://www.youtube.com/shorts/mKp30PNM_Q4.

  • Github Copilot does a pretty great job of writing Pull Request details, complete with links to changes in the PR and thorough descriptions of said changes.

  • totp-cli is a neat command line tool to generate mfa codes. For example: totp-cli generate revelry aws | pbcopy. Then you can paste it wherever you want.

Want to learn more about Revelry and our collaborative approach to building custom software? Connect with our team.