Justin Friebel retweeted
If you're building APIs with @honojs - here are 5 things you should do in every app.
This is all covered in my recent video over on @syntaxfm
🍿 Watch: youtube.com/watch?v=sNh9PoM9…
View the code: github.com/w3cj/hono-open-ap…
Justin Friebel retweeted
If you haven't met, I'd like to introduce you to Townie
You can generate apps in seconds – with a backend & sqlite database – and it's already deployed
Justin Friebel retweeted
It seems that we got @DrizzleORM Studio working on @nuxt_hub 🚀
What you see is my D1 database.
I see where @Cloudflare is going with all this. Imagine Hono + D1 + Durable Objects websockets working closely together. The full stack real time relational dream is not far away.
So you can use database constraints with @supabase but the type gen doesn't include these? It seems odd that these are so close but then you have to manually add the constraints.
62
Justin Friebel retweeted
We have some huge news! Thanks to the incredible work by @RReverser, Sharp has just been ported to WebAssembly! 🎉
In-browser image processing in @GatsbyJS, @Astrodotbuild, @Nextjs, and others is now possible 😍 (and works in WebContainers!🥹)
What a journey!
Read Ingvar's post for LOTS of juicy details:
blog.stackblitz.com/posts/br…
Justin Friebel retweeted
Worked on some fun improvements to request monitoring in @highlightio's dev tools. It's already been helpful to use internally, and I'm stoked to announce this + so many other new features as part of our 2nd launch week! Stay tuned for more.
highlight.io/blog/tag/launch…
Replying to @highlightio
Sometimes it’s the backend’s fault. It really is. We promise.
And to prove it, Highlight now supports a Request view that consolidates all of the errors and logs associated with a request.
@ccschmitz wrote all about it: highlight.io/blog/network-re…
Justin Friebel retweeted
Did you know you can load in environmental variables with 1Password with the `op` package?
It even conceals them from logs!
Justin Friebel retweeted
Excited to have @tannerlinsley
join me on stream tomorrow to talk shop and look at the latest developments in frontend.
youtube.com/live/nY7k3ql5mss…
Justin Friebel retweeted
here’s a force-directed knowledge graph interface for @OpenAI’s gpt-4. given a topic, it prompts new questions to ask based on its own generated responses, allowing curiosity-led exploration of a concept.
Justin Friebel retweeted
Lost about 100 active sponsors recently (~35%)
While on the other hand, the maintenance work I have to do daily gets heavier than ever.
If you are relying on my work, I would be appreciated it if you could convince your company to sponsor 💖
Thank you!
antfu.me/sponsor
Justin Friebel retweeted
Today, we are announcing GitHub Copilot X: the AI-powered software development experience. We are not only adopting GPT-4, but introducing chat and voice for Copilot, Copilot in pull requests & much more. Read the details & watch the demos 👇
github.blog/2023-03-22-githu…
Justin Friebel retweeted
Wow. GitHub CEO @ashtom just announced GitHub Copilot X:
- Copilot Chat - "ChatGPT-like experience in your editor" powered by GPT-4
- Copilot for Pull Requests - AI-generated descriptions for pull requests on GitHub
- GitHub Copilot for Docs - chat for *any* company's repos and docs, starting with React/Azure/MDN
- GitHub Copilot CLI - compose commands and loops, and throw around obscure find flags to satisfy your query.
as @benedictevans might say, the incumbents are embracing and integrating AI into existing form factors faster than startups can build them. To win, startups have to create -new- form factors from first principles.
Justin Friebel retweeted
🎉 The MySQL for Developers course is live! 🎉
It's over 7 hours long, split into 64 videos, across 4 different sections:
• Schema
• Indexes
• Queries
• Examples
It's everything a developer needs to know about MySQL.
It's also completely free!
planetscale.com/courses/mysq…
Justin Friebel retweeted
Problem: You’re testing in Playwright, and using Mock Service Worker (msw) with to mock endpoints. You want to customize the msw responses for each test.
Solution: playwright-msw
This library lets you override the mock response from msw for each test.🔥
npmjs.com/package/playwright…

ALT import { rest } from 'msw'; import { expect, test } from '../test'; test.describe.parallel("A demo of playwright-msw's functionality", () => { // NOTE: playwright-msw injects msw's worker as an argument 😃 test.only('should allow mocks to be overridden on a per test basis', async ({ page, worker, }) => { await worker.use( rest.get('/api/users', (_, response, context) => response(context.delay(250), context.status(403)) ) ); await page.goto('/'); await expect(page.locator('text="Failed to load users"')).toBeVisible(); }); });





















