Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leerob
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
leerob
2y ago
(I work at Vercel) Yes, it will continue to be an MIT-licensed open-source library to simplify building AI apps.
62.
▲
by
leerob
2y ago
If you do a static export, you don’t have a server to optimize images. It’s just a bunch of static files. The only way to optimize the image is to point to a service through the loader. Also, the image optimization on the default Next.js se
63.
▲
by
leerob
2y ago
All Next.js features work when self-hosting, including APIs and image optimization: https://nextjs.org/docs/app/building-your-application/deploy...
64.
▲
by
leerob
2y ago
This is not accurate: https://nextjs.org/docs/app/building-your-application/deploy...
65.
▲
by
leerob
2y ago
There still needs to be more user-friendly interfaces built on top of the raw AI materials. For many of my non-tech friends, the open text input for ChatGPT is intimidating. Yes, it can do everything, but they don't know the right ques
66.
▲
by
leerob
2y ago
That's awesome. Yeah, I agree with your point about people without any computer skills. We're probably still years away from that reality.
67.
▲
Personal Software
(leerob.com)
56 points
by
leerob
2y ago
|
56 comments
68.
▲
by
leerob
2y ago
(I work at Vercel) We got rid of this and made it the same price as using Neon directly. We also added a bunch more database options (e.g. Supabase) https://vercel.com/marketplace
69.
▲
by
leerob
2y ago
Thanks for writing this up. I'm on the Next.js team, so wanted to help provide more context: > Next.js middleware run in an environment that's neither Node.js nor browser a browser environment. Some of Node’s API is supported,
70.
▲
by
leerob
2y ago
There was some incorrect information in that post, which was later followed up on by myself (I work on Next.js) – Kent linked back in his post ( https://archive.leerob.io/blog/using-nextjs )
71.
▲
by
leerob
2y ago
Re: why can't I access request: https://nextjs.org/docs/app#how-can-i-access-the-request-obj... If filesystem routing isn't something you enjoy, Next.js probably isn't the right tool for you.
72.
▲
Understanding AI
(leerob.com)
2 points
by
leerob
2y ago
|
0 comments
73.
▲
by
leerob
2y ago
I work on these docs – thank you!
74.
▲
Understanding AI
(leerob.com)
1 points
by
leerob
2y ago
|
0 comments
75.
▲
by
leerob
2y ago
Vercel is $150: https://getdeploying.com/reference/data-egress
76.
▲
by
leerob
2y ago
The “deployment paused” screen is shown publicly when hard spend limits are reached for a project. These limits are configured by the user. Spend controls aren’t necessarily about affordability, it’s often for peace of mind (similar to a fi
77.
▲
by
leerob
2y ago
No, I am referencing the “deployment paused” page.
78.
▲
by
leerob
2y ago
(I work at Vercel) It seems like you possibly have a spend cap on, which would automatically pause your site when a certain amount of spend is hit. Vercel is working correctly in this case. If you are hosting a lot of video files, I would r
79.
▲
by
leerob
2y ago
(I'm on the Next team) Here's how you can self-host Next on a $4 VPS: https://x.com/leeerob/status/1843796169173995544
80.
▲
by
leerob
2y ago
The way I would recommend handling this is using the `loaderFile`: https://nextjs.org/docs/app/api-reference/components/image#l...
81.
▲
by
leerob
2y ago
(I work on Next.js) The OpenNext project serves two purposes. First, it was to document some of the quirks when self-hosting Next.js. As of Next.js 15, the majority of these have been fixed, thanks to their feedback. The second is to provid
82.
▲
by
leerob
2y ago
(I work at Vercel) We spend $0 on YouTube, just FYI as I sometimes see this sentiment.
83.
▲
by
leerob
2y ago
(I work on Next) The issue count includes core issues, examples, and docs. We might consider breaking that out in the future. Next has ~1.2M active devs, so we expect a certain level of issues being opened weekly that will take time to inve
84.
▲
by
leerob
2y ago
This is covered in the linked blog post for Next 15, including a demo repo, videos, and new templates here: https://github.com/nextjs
85.
▲
Next.js 15 and Turbopack Dev (Stable)
(nextjs.org)
46 points
by
leerob
2y ago
|
17 comments
86.
▲
by
leerob
2y ago
If you want to steel man _for_ writing in Rust or Zig or Go, previous discussion here: https://news.ycombinator.com/item?id=35043720
87.
▲
by
leerob
2y ago
If you're looking for an auth example: https://github.com/leerob/next-saas-starter
88.
▲
by
leerob
2y ago
- Layouts answer: https://github.com/vercel/next.js/issues/43704#issuecomment-... - Pass data to layout answer: https://github.com/vercel/next.js/discussions/44506#discussi...
89.
▲
by
leerob
2y ago
Unfortunately, that's an anti-pattern here if you are making a request. If you're just checking cookies, then yes that makes sense. The documentation on auth for Next.js tries to make this clear, but my feeling is that "middl
90.
▲
by
leerob
2y ago
It's worth noting this post is a year old. I can't remember exactly if this was mentioned in the docs at that time, but it is now: https://nextjs.org/docs/app#how-can-i-set-cookies . It's possible this po
More ›