Recent submissions

Comment · 3 years ago
Just a heads up that for everyone who doesn't like to link their alt accounts, maybe not use this tool to see if it works.

Unless the author would run this against all HN user accounts, no need to flag the ones "of interest".

Comment · 4 years ago
jobs requiring security clearances
Comment · 4 years ago
Microsoft TODO works well for me, and is free
Comment · 4 years ago
Thanks for your insights, which prompted to actually jump into the malloc.c implementation.
Comment · 4 years ago
I don't fully understand the need or benefit of having free_sized() available tbh.

Spec says it's functionally equivalent to free(ptr) or undefined:

If ptr is a null pointer or the result obtained from a call to malloc, realloc, or calloc, where size size is equal to the requested allocation size, this function is equivalent to free(ptr). Otherwise, the behavior is undefined

Even the recommended practice does not really clarify things:

Implementations may provide extensions to query the usable size of an allocation, or to determine the usable size of the allocation that would result if a request for some other size were to succeed. Such implementations should allow passing the resulting usable size as the size parameter, and provide functionality equivalent to free in such cases

When would someone use this instead of simply free(ptr) ?

Comment · 4 years ago
The security architecture for a new aircraft.
Comment · 4 years ago
Are we already seeing the positive impact on total energy consumption levels ? What a waste this has been.
Comment · 4 years ago
Are there really that many as a fraction of total Indian population ?
Comment · 4 years ago
I did the same from the age of 7 and I turned out fine you know.
Comment · 4 years ago
Look at people working with embedded systems. Often in companies supplying equipment to manufacturing or similar industries.
Comment · 4 years ago
No, no one needs this in their life.
Comment · 4 years ago
any correlation found with the birth signs ?
Comment · 4 years ago
> https://github.com/tg12/PoC_CVEs

This is brilliant and very helpful ! Keep going !

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton