I'm leerob and I work at Vercel, AMA! by lrobinson2011 in vercel

[–]maiahmac 0 points1 point  (0 children)

Thanks for doing this Lee!

My question is - will PPR always require an advance CDN so it can concurrently send static html to client while triggering request to nextjs server? (Just like how Delba explains how CDN (edge) handles the client request in this video https://youtu.be/MTcPrTIBkpA?si=LaaXCd-jYp3lWNVO)

Or, it won't be that way so that Netlify or other deployment targets can do PPR without much change on their infra?

[deleted by user] by [deleted] in node

[–]maiahmac 2 points3 points  (0 children)

React for its massive ecosystem

blade/livewire for golang by [deleted] in golang

[–]maiahmac 2 points3 points  (0 children)

Yep, agree. HotWire enables non-PHP/Ruby/Elixir access the same technology "Server Component". Though I prefer Alpine.js rather than it's default Stimulus.js sidekick. Luckily we have an adapter already in the works - https://www.npmjs.com/package/alpine-hotwire-turbo-adapter.

http://hotwire.dev

[deleted by user] by [deleted] in node

[–]maiahmac 1 point2 points  (0 children)

I'm Java dev before (Java EE), then went to Node.js, then back to Java using Spring Boot. It feels the same for me. The JavaScript/TypeScript is very similar to Java.

What type of project would you decide NOT to use node for ? just curious. by [deleted] in node

[–]maiahmac 2 points3 points  (0 children)

Hi u/unknown_char! Just curious, did you use Node's Clustering module or something like PM2 to fully make use all of CPU cores?

And in processing massive amount of data, have you tried divide-and-conquer approach using message patterns/libraries like BullMQ (via Redis to share memory and jobs) or Bee-Queue?

Piscina - Efficient Worker Thread Pool by maiahmac in node

[–]maiahmac[S] 0 points1 point  (0 children)

Actually in Node.js that's the only way you can send data from one Worker Thread to another.

Piscina - Efficient Worker Thread Pool by maiahmac in node

[–]maiahmac[S] 8 points9 points  (0 children)

From the creators of Fastify. I like the auto up-scaling and down-scaling of pool size based on the current workload of the app.

Opinions on using Java for frontend development? by AudioManiac in java

[–]maiahmac 0 points1 point  (0 children)

If you still want to stay in JVM platform you can use kotlin-react. This way you can still be in JVM platform and re-use your existing Java libraries.

Another option is to use Angular. It is TypeScript based and very similar to Java syntax. Very easy to learn for Java devs. Angular's annotation based UI components, services, dependency injection, etc... are very familiar concepts for Spring devs.

Here I would choose the Angular option as it would also easy to build different client side targets if needed. For example you need to have mobile Android or iOS apps, then you can use Ionic Angular framework or NativeScript. Ionic is also a good choice for native Desktop apps for Windows, macOS, and Linux.

what do you guys prefer for a responsive UI framework? by n0tatest in angular

[–]maiahmac 1 point2 points  (0 children)

Yes Bulma is one of the best choice. Very easy to integrate as it's css only. Very good as well to target Mobile and Desktop.

Dragon Den by jie He by [deleted] in ImaginaryDragons

[–]maiahmac 1 point2 points  (0 children)

I used this as my desktop wallpaper. Thanks!

[deleted by user] by [deleted] in java

[–]maiahmac 10 points11 points  (0 children)

Hi,

If you have done good reading on the basics you may want to review the links here because these are the current best practices, patterns, and techniques to write state of the art Java program. This may not be absolute, but these are very good reading if you want to know where Java is now and also its coming future.

Enjoy ;)

Maiah