News for hackers. Stuff that matters.

fjasdfwa

Re:What Would a Kubernetes 2.0 Look Like on Thursday June 19, 2025 @03:31PM (#44321771)
kube-apiserver uses a JSON REST API. You can use whatever serializes to JSON. YAML is the most common and already works directly with kubectl.

I personally use TypeScript since it has unions and structural typing with native JSON support but really anything can work.

Re:What We Lost with PHP and jQuery on Sunday June 01, 2025 @12:25PM (#44151995)
There was an industry shift from stateful monolithic services to slim event-driven microservices in ephemeral environments.

We didn't lose PHP, it's just no longer in the spotlight.

In fact I applied to a Laravel role very recently but they didn't like that most of my recent experience were with Go and Rust and not PHP.

If you want a PHP comeback, hire that Rust engineer that wants to use Laravel!

> Virtual Threads Ate My Memory

From what I see, It's a developer trade off.

If you want to save on memory then you need to drop down to callbacks, promise chains, or async-await sugar that is a compiler transform to a state machine.

But if you do that, then you will write a blog complaining about the boilerplate!

I think Zig had an ability to kind of give you the best of both worlds. A zig expert would need to correct me on this.

Re:Making C and Python Talk to Each Other on Thursday May 29, 2025 @05:44PM (#44130686)
pip, pipx, pipenv, conda, setuptools, poetry, uv, pdm, easy_install, venv, virtualenv

I really hope we are at the end game with poetry or uv. I can't take it anymore.

Curious if any others are priced out of traveling? I haven't seen family in 3 years.