Hacker Newsnew | past | comments | ask | show | jobs | submit | procaryote's commentslogin

Specifying the buffer size is a cleaner API boundary. Functions that take a buffer and a size are fairly common in C, even when the buffer size could be computed.

Calculating the buffer size wrong is always an error. You just have to pick if you prefer an API that detects this or one that silently buffer overflows.


Java has a pretty good approach of promoting the more popular library for a thing to standard library status, with relatively minor changes. It's an easy way to get a really good standard library over time, as it's already proven in practice

It will still collect this data.

Source: have never had Apple Intelligence enabled, have these files anyway


But it does this even when siri is disabled


Also the coincidence of 3 weeks later adding "oh, no passwords above 256 chars" making it easy to trigger


Musl, which is vulnerable, is much younger and less battle tested than glibc, which is not vulnerable though


What if you want a single language that's pretty fast while simple and maintainable?


Recently I stumbled upon https://crystal-lang.org/ and I love it!

It's really great fun to build stuff in Crystal, I don't have anything prod-grade yet to say how it scores there but the community seems to be happy about that too.


Crystal is slow to compile. There is a variant of Crystal that compiles a lot faster. But I forgot its name. Need to dig it up when I get back home.


I agree, the compiler is slow but I don't mind much, or better, the fact that I find building maintainable programs much easier outweights that downside massively in my case.


Then you pick C# which is both faster and simpler than Go.


Simpler it definitely is not. Better, yes I would accept that. C# is complex though.


I like C# but simpler? I don’t believe so.


C# may be easier but it is not simpler than Go


didn't that language have like 150 keywords 10 years ago, it probably has 500 keywords now


Thing is, you can run ipv4 only, dual stack or ipv6 only. Ipv6 only won't work. Dual stack has a larger attack surface and is complex. Ipv4 works but costs a relatively tiny bit of money so far.

Why would you not use ipv4?


At some point, you wont even own the IP, companies will haggle for which IPv4 port you "own" instead.


Not for me. I'm a holder of a legacy IPv4 block.


Second system effect. It's way more complicated

Replicating even a simple ipv4 lan with mostly stable local addresses and some isp uplink is pretty complex, even assuming all the devices involved support ipv6, which they wont

It's much easier to run a dual stack with v4 for ease of use on the lan and v6 as an additional address that can change whenever and is only used to reach the wan

But the main reason you'd care would be if you can't get a public ipv4 address to NAT to. And if you can't get that, some of the internet breaks anyway.


Then imagine the security implications of trusting windows to serve just some selected files over FTP and never have any security hole that exposed other files or allowed RCE


Yep. That's something we would have had to deal with. I would love to see what solution we would have come up with.

Sadly, we'll never know.


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

Search: