Johannes Schickling
@schickling.dev
over 1 year ago Thanks a lot for your kind words! Much appreciated! Still trying to figure out how to be a good podcast host! 🙏
💬 0
♻️ 0
❤️ 2
Thanks a lot for your kind words! Much appreciated! Still trying to figure out how to be a good podcast host! 🙏
I definitely feel tooling is likely a part of the reason why the adoption has been relatively low. Curious what you wanted to build with the build plugin? 🙂
Or are build plugins just better suited for more robust cases like Swift OpenAPI generator and for the rest, build phases are fine? Or maybe it's just a matter of time for build plugins to pick up. I don't have answers, just questions 😅
I think that's partly right. But I still would have expected more folks to replace their build phases with build plugins. However, build phases "feel" more lightweight and usually are enough to do the job at hand.
Is tooling lacking a bit? (Case in point: bsky.app/profile/gits...) I found this cool build plugin that ensures one can't import implicit dependencies – a common issue that makes builds less deterministic and is especially painful at scale: github.com/Nikoloutsos/...
And I wondered why we haven't seen more packages like this. I wonder why #SwiftPM build plugins have not gained broader usage (at least that's my impression)? Do they slow build times, are they too clunky to develop, something else? As part of our Swift Stories newsletter, we do small interviews with folks from the Swift community (and beyond). Do you have suggestions for who we should interview?
Let us know on our online forum (community.tuist.dev/t/worthy-fiv...) or in the thread below 👇 This is so wild btw
Yes, already >50% of tickets gone!
If you're using Postgres, you don't need a separate database to deal with documents.
JSONB in Postgres gives you document-store flexibility + ACID compliance + fast GIN indexes, all without adding complexity to your stack.
You don't need to split your data across DBs when PG already solves it ✌️ That's where @effect-ts.bsky.social shines. I'm using it for this particular use case extensively in various projects where the same code is used across web/node/service workers.
Even natively supports transferable objects (i.e. moving memory instead of copying).
Here is an example schema: Want to get a sense of what the Tuist team and our community find interesting in the Swift ecosystem and beyond? Click subscribe 😉 tuist.dev/newsletter Clerk’s Next.js SDK utilizes middleware to protect routes, but did you know you can build your own middleware for security, logging, and many other use cases?
Learn all about Next.js middleware and how you can use it in our latest article:
clerk.com/blog/what-i... Check out our Live Preview docs:
directus.io/docs/guides... Tired of the "publish-and-pray" method when building sites?
That's why we built Live Preview!
• Watch your changes appear instantly on your actual site
• Preview on desktop AND mobile without deploying
• Share preview links and get team feedback in seconds
No surprises – just save and see. 🧑🏻🍳💋 ugggghhhh i feel good for the readcv folks but man this is a bummer read.cv/a-new-chapter Prisma Postgres offers a lot more than realtime as well. Check out what you can get done with a Prisma Postgres database 🚀
pris.ly/ppg If you'd like to see a deeper dive on integrating the realtime features of Prisma Postgres into your Next.js application, have a look at our video tutorial ✌️
youtu.be/di_xN8D7eAU Now let's say there's some other systems operating which are responsible for making the database write for new messages.
When they do, those new messages will go to our screen immediately 🙌 The key in the `streamNewMessages` function is that we're looking for any events with a type of `create` and then emitting the data from that event (using `event.created`).
Now we can pick this up in the client and set new messages to be rendered 👀 To get realtime happening in the browser based off of new events from the database, we can use something like socket.io.
Let's run a small side server which looks for database change events and emits them with socket.io. At this point, we're able to receive events that happen when changes occur in our database 🎉
But we're not yet set to have them automatically show up in the browser when new messages come in.