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

I don't even hit 256 on my desktop with a shitton of things open and 75 firefox sandbox processes, much less on a remote server. What in heaven's name are you doing to cross 256?

(Also this isn't a default limit.)


> C code which might be compiled by a C++ compiler.

I really hope you're talking mostly about header files; for actual code this is such a horrible idea (and in a lot of cases just won't work without massive efforts.) Even for header files, arguably one ought to really know what they're doing.


For sure, a union which is used as API surface to a C library which a C++ codebase uses is the most obvious and dangerous footgun here.

The article never even discusses how C++ actually implements unions to begin with, so it's just incomplete. (Only the "active" member is meaningful, the others are considered as meaningless and shouldn't be touched.)


The example included below "Why C and C++ Differ" is UB in both C and C++ (and says nothing about "why" C & C++ differ). The article isn't overall wrong but that bit is just...

(Feels a bit like LLM junk, but honestly not sure.)


> A pointer cast worked fine at -O0 and silently broke at -O2.

Feels like LLM to me. I looked at some of the rest of the article and... pretty much certain now.


> (Feels a bit like LLM junk, but honestly not sure.)

Why leave such disparaging comments?


Because if the comment is correct, it's useful signal for other potential readers to know that they can skip it.

I try to be as charitable as possible when reading and commenting online, but we don't have infinite attention and thanks to AI, it's easier than ever to end up wasting it on things that aren't worth reading.

(I'm not claiming that the article here is or is not an example of that.)


Even if it's not from an LLM, it's still wrong! You've focused on the last important of that comment, really.

Why does this article not have its author(s) listed?

Amazing. But it won't work for long, they'll patch the BT beacons with some "privacy" mode :(

And even if not - could always make another device with the same company ID and flood everyone with false positives.

Ah, yes, software keeping your money, perfect target for vibecoding. What could possibly go wrong?

/s


no no get rid of the /s


> can't really get around that copyright issue.

Eh. Just wait until Oracle goes bankrupt due to their AI misinvestments & see where ZFS rights end up.


> until it becomes a signed binary

It's already a signed binary, with rollback protection. (According to Reddit comments; I stopped using Raspis a long time ago)


Fun story, but libraries occasionally get rid of things without removing all their labels. It's very possible it was discarded by the library rather than lent & overdue.

The tables look mostly correct, and that's what I'll be bookmarking this for… I don't think I've seen any elsewhere that are this extensive (in both axis, total allocators covered & details per allocator).

Thank you.

I got tired of reading AI prose so I compiled and wrote it from my collections of others' whitepapers.

As a "For Reference Only", at the very least, for me.

As usual, anyone is welcome to improve upon it under CC BY-NC-SA.


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

Search: