"Connection" is just an illusion. Because under the hood, nothing persists. You do not actually hold a dedicated connection in the transport even with TCP which has been claimed as "connection-based". What you hold in TCP peers are contexts.
And you can do that within UDP too.
Anthropic 是懂营销的。一会号称自主发现了数十个 Linux 内核漏洞,一会儿又号称自主发现了数十个致命的网络攻击漏洞。那么,请你公布漏洞啊,这又不是什么新鲜事,本来科技行业就是一直在修漏洞,CVE 这么多年来也是公开的。与其神神秘秘的说“我的模型能威胁全世界的安全”,不如按照行业规矩,把漏洞、发现过程和修复建议都公布出来,也好让大家看看成色如何。
Metadata can be expensive. This is not magical, it created 2 source of truth: the medatata and the actual body - the string array.
This is not a silver bullet, and there are tradeoffs.
Redis does not use C strings
antirez wrote a custom string library called SDS: Simple Dynamic Strings
it later became a standalone library
C strings had three problems Redis could not accept
- strlen is O(n) because it scans until the null terminator
- strcat needs manual capacity management and often scans the string again internally
- and C strings cannot safely store arbitrary binary data because null bytes end the string
SDS fixes all of this by storing metadata in a header placed right before the string buffer
Anthropic 是懂营销的。一会号称自主发现了数十个 Linux 内核漏洞,一会儿又号称自主发现了数十个致命的网络攻击漏洞。那么,请你公布漏洞啊,这又不是什么新鲜事,本来科技行业就是一直在修漏洞,CVE 这么多年来也是公开的。与其神神秘秘的说“我的模型能威胁全世界的安全”,不如按照行业规矩,把漏洞、发现过程和修复建议都公布出来,也好让大家看看成色如何。
Open source is dead. AI is able to generate thousands lines of codes and flood into any project. How come the classic open source project governance handles this?
@brankopetric00@SaadInCyber Whenever I hear anyone who claims "I have stored the credentials in the K8s secrets", I always get pissed off. How come one is not aware of the difference between encryption and encoding?
This is not even an apple-to-apple comparison.
Before posting shit, you really need to understand the very basic difference between stack and heap, between static and dynamic.