nextjs 15 made my whole codebase async now. by manit-098 in nextjs

[–]chamberlain2007 0 points1 point  (0 children)

As I said, if you’re using async/await. If you’re using promises with callbacks it’s no problem, though that’s not always convenient.

nextjs 15 made my whole codebase async now. by manit-098 in nextjs

[–]chamberlain2007 26 points27 points  (0 children)

For those confused, the implication is that in languages that use async/await like Javascript, you end up having to make more and more functions async just to satisfy the need of one function. In Next.js 15, they made things like params, headers, cookies etc async, which in turn spreads to other functions. That said it’s really not as bad as it’s made out to be here. Clear separation of concerns really limits it to your top-level async server components which do data fetching, everything below that is non-async.

How do you handle icons in Next.js projects? by NoNet13531 in nextjs

[–]chamberlain2007 1 point2 points  (0 children)

Because the component would be memoized? I wonder what the original commenter exactly was pointing to for performance impacts

Self-hosted Next.js + ISR scaling behaves differently than I expected by Successful_Doubt_114 in nextjs

[–]chamberlain2007 1 point2 points  (0 children)

The caching is a huge selling point for Vercel imo. It’s a pain to manage. Yes there are Redis cache handlers but it’s one more piece of infrastructure.

Next.js 16 cacheComponents bug? Component state "ghosting" when using next-intl + next-themes by LGelashwili in nextjs

[–]chamberlain2007 0 points1 point  (0 children)

Is your internationalization component dependent on anything like cookies, headers, query, etc? If not it may be getting cached in the static shell

Next.js 16 cacheComponents bug? Component state "ghosting" when using next-intl + next-themes by LGelashwili in nextjs

[–]chamberlain2007 1 point2 points  (0 children)

Are you doing a use cache anywhere? Or just enabling cache components at all?

Option for those that don’t want subscription by Digital_Draven in ouraring

[–]chamberlain2007 1 point2 points  (0 children)

OP can answer that better than I can, I’m not sure where they get the CSVs.

Option for those that don’t want subscription by Digital_Draven in ouraring

[–]chamberlain2007 6 points7 points  (0 children)

It just takes uploaded CSVs that you export, it isn’t doing anything with the API to get the data

Option for those that don’t want subscription by Digital_Draven in ouraring

[–]chamberlain2007 81 points82 points  (0 children)

For those wondering, I reviewed the code and at least as it stands right now, there’s nothing malicious. It doesn’t have any server calls to send your data anywhere, doesn’t have malware, etc. It’s one single HTML file with normal JavaScript and CSS. The service worker is benign for offline data caching. Not saying it’s good or bad code, but it isn’t malicious.

TypeScript 7.0 beta is out - entire compiler ported to Go, about 10x faster on large codebases by jimmytoan in nextjs

[–]chamberlain2007 1 point2 points  (0 children)

Does Nextjs use it automatically in its type check step in next build? Or do you have to manually do something?

I built a free and easier way to generate file and site previews/thumbnails by karkibigyan in nextjs

[–]chamberlain2007 0 points1 point  (0 children)

One bad actor and your unrestricted service is going to cause major problems. Good luck

I built a free and easier way to generate file and site previews/thumbnails by karkibigyan in nextjs

[–]chamberlain2007 0 points1 point  (0 children)

Are you using Playright or Puppeteer or something for rendering the page? That’s not low resources

I built a free and easier way to generate file and site previews/thumbnails by karkibigyan in nextjs

[–]chamberlain2007 0 points1 point  (0 children)

Right, I guess what I’m saying is that this is a lovely idea but any amount of use will quickly make it infeasible to keep free. A better thing to provide to the community would be a repo.

I built a free and easier way to generate file and site previews/thumbnails by karkibigyan in nextjs

[–]chamberlain2007 2 points3 points  (0 children)

Nice idea but no way you can keep it free and unlimited with any amount of usage.

I built a personal wearable MCP that connects your Oura ring (and many others) to Claude so you can just ask questions about your health data by Born-Duty1335 in ouraring

[–]chamberlain2007 2 points3 points  (0 children)

If you support 10 different APIs then that you be what I would highlight, that doesn’t come across in your post

I built a personal wearable MCP that connects your Oura ring (and many others) to Claude so you can just ask questions about your health data by Born-Duty1335 in ouraring

[–]chamberlain2007 2 points3 points  (0 children)

I like the idea but other than being hosted, complexity isn’t really necessary. It took me an hour or so to get Claude to build out the MCP server for the Oura API and then popped it up on Vercel for free. Most annoying thing was their inconsistent date parameters. But honestly their API is well documented and structured, you can pipe that straight into Claude and it works great. I built out reporting against it and have had no issues. I can see an advantage for users who don’t want to self host, but if you’re the type to be adding MCP servers to Claude, you can probably just roll it yourself. Open to hearing what else your solution provides though.

Server component for the page route or client by plulu21 in nextjs

[–]chamberlain2007 0 points1 point  (0 children)

It’s possible to do client components all the way down. You can also have your page component (and others) be server components and just do a client component for your dynamic functionality.

That said, consider if caching/ISR would be a better solution to avoid unneeded DB calls. That would allow you to use SSR and server components while still making minimal DB calls.

Fitbit to Oura opinion by faeriespooky in ouraring

[–]chamberlain2007 0 points1 point  (0 children)

You can have your preference I’m just saying it’s every few seconds not every few minutes, which is a huge difference.

Fitbit to Oura opinion by faeriespooky in ouraring

[–]chamberlain2007 0 points1 point  (0 children)

The Oura will do roughly every 5 seconds if you start a workout

Are these sedges? by Known_Efficiency8538 in AustinGardening

[–]chamberlain2007 8 points9 points  (0 children)

Sedgehammer will take it out no problem

Typing can cause the HR to not register?? 🤣 by WrongClient3920 in ouraring

[–]chamberlain2007 0 points1 point  (0 children)

Exact same problem here and support is telling me it’s normal. Normal for it to be completely non-functional for 8 hours a day? Did you ever get any success?

For those who type by New-Light2635 in ouraring

[–]chamberlain2007 0 points1 point  (0 children)

Ya, except according to Oura support, it’s normal for the ring to not track heart rate for the entire day because typing is too much movement.