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

Whole website for an ad btw

Please write a "how to setup SSL" article

It seems to be intentional & if somebody wants to make a statement about TLS with their personal website that's their choice to make and execute.

On the bright side, lots of people will be saved from reading bad prose like "Malloc (libc) is the worst memory allocation API to use" and "Programs should avoid, if possible, allocating/deallocating memory too often". (By definition, "too often" means it can possibly be avoided, and usually that it can practically be avoided.)

Beats the hell out of most of the LLM-generated "honest assesments" of things on this site.

I might be stupid, but what's wrong with those sentences?

The first one was offered with no explanation and no claimed better alternative. malloc() is probably the simplest interface for generic runtime allocation, and simplicity has a lot in its favor. malloc() does not provide type safety, is susceptible to external fragmentation, and makes it harder to meet the performance goals outlined in the rest of the blog post. So malloc() reflects trade-offs, but saying that the standard API "is the worst memory allocation API to use" should be supported, even if briefly, instead of simply asserted: meeting the goals I listed inflicts other drawbacks, like needing to create and manage separate heaps.

I thought my explanation for the second one was already clear: "Programs should avoid, if possible, [doing X] too often" is a truism because "too often" implies that some reduction is possible. One should leave out the ", if possible," -- although deciding what is "too often" can be challenging and sometimes a matter of taste. (Is reducing allocation frequency by 5% worth doubling the CPU usage or memory usage or code complexity? Maybe in some cases, but often not.)




Hear me out. Here is the name

PWA : Probably Web Again


Downloading a whole binary to do an easy edit in ID editor

Crazy stuff, definitely not for beginners


"What if the speed of light was 5 km/h?"

Website loads in few ms

Nahh it's not


Where?

They only suggested a basic guard, chich can be useless if this case never happens


Tcc be like


All of this to not use Google images


All of this to try and learn something new




What the difference with just two PR with the second PR targeting the first one??


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

Search: