Today we're releasing a Postgres Language Server (+ other tools)
You can use this in your IDE (like VSCode, Cursor, Neovim) for intellisense and autocomplete
This has been a labor of love for @psteinroe and @juleswritescode. It's a gamechanger for the Postgres ecosystem
"Let's agree to disagree" is such a powerful phrase.
It gives others an option to end the discussion while keeping face.
I had such a discussion today. The other dev offered an "agree to disagree". I immediately felt on their side.
Learning a couple of GitHub's search keywords has made it so much easier to navigate code bases.
• `org:<company>` only includes company's repos
• `path:*workflows/*.yml` will show only files that match the path/extension
• `repo:<repo>` will search a single repo
Revert a PR to a previous commit, YOLO version:
1. Find the commit's hash
2. git reset --hard origin/<hash>
3. git push -f
Done.
Only do this when you're certain you don't need the reverted changes.
It can't be reverted.
We changed our test runner from jest to vitest last week.
1) It's freaking easy to do
2) Integration tests are down from 3m to 1.5m
and, most importantly:
3) I didn't know I wanted it, but you can use a dot reporter lol:
Ship fast if you need a single PR to revert your changes.
But sleep on it if it means a full day of migrating databases and answering customer support emails.
When a user signs up at Parqet, we want to do a couple of things:
• send an email
• create a portfolio
• create the user in our DB
• add them to a community
We use Supabase for auth. A nice spot to do the above is after the user is inserted/confirmed in Postgres.
Simply send a request to your API in a Postgres Trigger.
I wrote an article about how:
https://t.co/x5iNgnet47
Don’t count hours. Count progress instead.
I often make that mistake – 2 hours for my day job, 1 hour of writing, 1.5 hours of gym, blablabla.
As a result, I'm racing the clock, and I'm more stressed than I need to be.
Every junior dev should spend time learning design patterns.
These 2 links helped me do just that:
• https://t.co/Jq9JPQdDgt -> language-agnostic, focused on backend
• https://t.co/ZZF7E4eKFx -> focused on web-dev, explains Vue & React patterns as well
Hope they're useful 🙌
Rational thought can only ever weaken a feeling but never eliminate it.
People will understand that you're cutting them off to save time, but they'll still feel bad about it.
People will understand that you're working on a large project behind closed curtains, but if you don't report on it, they'll still doubt your productivity.
Make sure to maintain a good vibe, even when the arguments are in your favor.