Hacker News new | past | comments | ask | show | jobs | submit | nasretdinov's comments login

From that document I read that it in fact does, but it doesn't release memory if app started consuming less. It does memory balooning though, so the VM only consumes as much RAM as the maximum amount requested by the app

IMO there are plenty of cases where you don't need to sqeeze every little drop of performance by going all in with epoll/io_uring directly, but you still want to handle 10k+ concurrent connections more effectively than with threads

epoll combined with a thread pool

On a serious note, you never actually _know_ that e.g. you'll never be rich. E.g. KFC founder was ~62 years old when they founded the company. The median age of (successful) founders is also roughly 40, if not more.

see my comment above. i know that i'll never be rich, nor do i want to, because trying to get rich it would interfere with how i want to live my life...

This vibe matches perfectly with your nick name :)

I've personally found LLMs to be particularly helpful to get started with something I have trouble with: surely, they'll most certainly get it wrong (unless it's something trivial), but it gives you enough momentum to keep going even if you end up discarding its original output completely

Yeah macOS has a very low default limit, and apparently it affects more than just cargo test, e.g. ClickHouse, and there's even a quite good article about how to increase it permanently: https://clickhouse.com/docs/development/build-osx

I actually tried another method for doing this not too long ago (adding `kern.maxfiles` and `kern.maxfilesperproc` to `/etc/sysctl.conf` with higher limits than the default) and it made my system extremely unstable after rebooting. I'm not entirely sure why, though.

Yeah, people complain about `if err != nil`, but the real issues are tricky rules around variable shadowing, lack of nil safety and immutability, cgo, defer semantics, etc

It does, it says which one of the two integers was incorrect

Why can't Atoi report that?

I think Atoi actually does say that, but it's just a toy example. Most often functions outside the standard library don't contain the arguments in their error values

TBH I'm still surprised how quickly Go programs start up given how much stuff is there in init() functions even in the standard library (e.g. unicode tables, etc)

ClickHouse also has great compression and it's easy to install and to try since it's open-source. Also it's typically much faster than even other OLAP, often by a _lot_

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: