Recent submissions

Comment · 2 months ago
Comment · 3 months ago
Americans will measure with anything but the metric system.
Comment · 9 months ago
Luckily DX is much better now with Turbopack as a bundler. First they improved the dev server, now with Turbo builds the production builds are faster as well. Still not fully stable in my opinion, but they will get there.

It's also wise to use monorepo orchestration with build caching like Turborepo.

They did well on the turbo stuff, no doubt about it.

The main bottleneck with big projects in my experience is Typescript. Looking forward to the Go rewrite. :)

Comment · 11 months ago
I am still waiting for the Smell Blaster.
Comment · 1 year ago
That's part of the vibe in vibe coding.
Comment · 1 year ago
He also casually dropped that he talked to people at firms with "high amount of coding", who told him that by the end of this or next year "most code will not be written by humans".

Yeah, okay. I work each day with Copilot etc and the practical value is there, but there are so many steps missing for this statement to be true, that I highly doubt it.

My case is, wouldn't we already see the tools that are at least getting close to this goal? I can't believe that (or AGI in fact) to be a big bang release. It looks more like baby steps for now.

Comment · 1 year ago
How do you get the server-side data to client-side Javascript? For example an array of strings or an object.
Comment · 1 year ago
With Full-Stack React you will use JSX to directly render HTML. Logic is done with Javascript, so you don't need to learn an additional language. There is also no mapping to Javascript and you can use the standard toolchain (for debugging).
Comment · 1 year ago
Using server-side templating is another layer of complexity on top of your stack, that just glues together your output. These template languages are not easy to learn. Custom code for loops, escaping, template inheritance etc. Sometimes these are also hard to debug. The documentation of Jinja is huge.

Things get worse when you bring Javascript into the mix. You need to create Javascript code with your template engine without any Javascript toolchain.

Hard no to the string concat approach for me.

Comment · 1 year ago
Comment · 2 years ago
They seem to recently position themselves as a Wordpress alternative. There is a blog post about migration from Wordpress to Payload including code: https://payloadcms.com/blog/how-to-migrate-from-wordpress-to...

No, it's a Headless CMS, so no frontend themes and templates. They have an official demo page including a frontend, that you can base your work on: https://github.com/payloadcms/public-demo

If you are looking for a Wordpress-clickety click solution with templates, Payload is not a candidate.

Comment · 2 years ago
A common misconception. React is a library.

These are examples for React frameworks: https://react.dev/learn/start-a-new-react-project#production...

Next.js is a React framework.

If Payload is a framework or not is debatable. I think it's more like a data layer around a database for a any js app and an Admin Panel (that uses Next.js now). It might be called a framework for your own Headless CMS, because it is code first. So you basically code the panel and the data structure yourself.

Comment · 2 years ago
Comment · 2 years ago
Things is a great example for PWAs, because it does not exist on Android, Linux or Windows. It could be though, if it would be a PWA.

It is not and it seems like the developer focused its resources on native software for Apple products.

Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton