HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Bhurn00985

no profile record

Submissions

Down the malloc hole in search of free_sized()

int3.substack.com
1 points·by Bhurn00985·4 anni fa·0 comments

Salesforce cut hundreds of employees Monday

cnbc.com
55 points·by Bhurn00985·4 anni fa·46 comments

Ask HN: What are good forums for electronic music production?

2 points·by Bhurn00985·4 anni fa·1 comments

Ask HN: How to syndicate your content to multiple sites?

2 points·by Bhurn00985·4 anni fa·1 comments

Ask HN: How to contribute to saving the climate as an old school hacker?

1 points·by Bhurn00985·4 anni fa·3 comments

comments

Bhurn00985
·4 anni fa·discuss
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".
Bhurn00985
·4 anni fa·discuss
jobs requiring security clearances
Bhurn00985
·4 anni fa·discuss
Microsoft TODO works well for me, and is free
Bhurn00985
·4 anni fa·discuss
Thanks for your insights, which prompted to actually jump into the malloc.c implementation.
Bhurn00985
·4 anni fa·discuss
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) ?
Bhurn00985
·4 anni fa·discuss
The security architecture for a new aircraft.
Bhurn00985
·4 anni fa·discuss
Are we already seeing the positive impact on total energy consumption levels ? What a waste this has been.
Bhurn00985
·4 anni fa·discuss
Are there really that many as a fraction of total Indian population ?
Bhurn00985
·4 anni fa·discuss
I did the same from the age of 7 and I turned out fine you know.
Bhurn00985
·4 anni fa·discuss
Look at people working with embedded systems. Often in companies supplying equipment to manufacturing or similar industries.
Bhurn00985
·4 anni fa·discuss
No, no one needs this in their life.
Bhurn00985
·4 anni fa·discuss
any correlation found with the birth signs ?
Bhurn00985
·4 anni fa·discuss
> https://github.com/tg12/PoC_CVEs

This is brilliant and very helpful ! Keep going !
Bhurn00985
·4 anni fa·discuss
Start by not contributing to the mess, so do no harm principles are important in one's personal life. Yes that includes being careful with natural resources.

After that, consider that very large charities might have considerable overheard and their practical aid on the ground very limited, or very politicized.

Local community organizations might have higher needs, have and allow you to make more more impact, though they will not have the marketing and outreach capabilities of a large organization. But...finding those might take a little more work on your side. As you want to do good in the short term, and I assume you wouldn't mind a local focus and getting the feeling you're contributing something, you could get in touch with e.g. a city social services department, they probably know which organizations exist close to you which could use some help.
Bhurn00985
·4 anni fa·discuss
This is such an important topic and one that I am personally very interested in.

Basically it comes down to finding an expert or mentor who has either written one or is willing to help you. I know this is not necessarily the answer you're looking for, but the challenge as a beginner is that you do not know what you do not know, and you do not have the knowledge required to judge what is important and what is superficial at that time. Hence, you need some form of guidance by someone.

I agree with you that there is too much introductory content, and the moment you have some level of understanding on a topic, it becomes more difficult to find good sources at your level. In my opinion, this is simply a reflection of how much most people know. These days, many just scratch the surface, make some "content" out of it, and that's it.

For my personal practice, I tend to recognize 2 common options. Either I find some form of learning path, no matter how introductory. Certain topics have more than others. Alternatively I just start with the very basics, and then start practicing. As I learn more, I come across more topics which I keep track of and learn as they become necessary, or based on how often I come across them.

That said, it is a deep wish of mine that more people would write "How to become X" or "How to learn Y" articles from a position of expertise.

Some examples I like:

- How to become a GOOD theoretical physicist: https://www.goodtheorist.science/

- Intro to binary exploitation around CTF challenges: https://guyinatuxedo.github.io/

- A Complete 4-Year Course Plan for an Artificial Intelligence Undergraduate Degree: https://www.mihaileric.com/posts/complete-artificial-intelli...

- Demystifying Security Research: https://alexplaskett.github.io/demystifying-security-researc...

University reading lists, syllabi, tables of content from books, references from papers, etc. are often also good sources.

Good luck on your learning path !
Bhurn00985
·4 anni fa·discuss
> “The best minds of my generation are thinking about how to make people click ads.”

Now that the era of free money seems to be over, at least for now, the ad networks are firing many of their employees. One can only hope that many of them will have the opportunity to reorient towards more beneficial work.

That said, tech is large. Very large, and some tech is also benefiting doctors, nurses and patients. Though I agree, typically not at the salary levels one was able to get building ad networks.
Bhurn00985
·4 anni fa·discuss
Anything by Fabrice Bellard - https://bellard.org/
Bhurn00985
·4 anni fa·discuss
> Has the virus mutated to a less deadly strain? (It is my understanding this is a common trait of "pandemical" virial diseases.)

It has not (necessarily), and it is not. There is no evolutionary pressure on a virus becoming milder over time, it can go both ways. What you see in action is the vaccines working, they were conceived to reduce the risk of death, and they did so successfully, hence you see lower deaths. Unfortunately, death is neither the only, nor maybe the most serious outcome of COVID.

We do seem to be in a situation where the acute phase of the disease is somewhat less hefty for many people, but even with the last BA.5 waves we have seen quite many hospitalizations, so the risk is definitely not low for everyone. While this is for the acute phase, the long term effects of the disease, so called LongCovid, can be absolutely devastating and we have not yet seen the real long term effects (e.g. a HIV infection also only becomes serious after ~7 years). But so far we know the disease can seriously affect cardiovascular and pulmonary health, and seems to be inducing autoimmune reactions.

Sudden cardiac deaths, just like ischemic strokes, in young healthy adults are a symptom of how much damage COVID can do. A more serious source like https://www.medrxiv.org might be a better source of information than social media videos. A good search term for what you're looking for is "post-acute sequelae SARS-Cov-2". Some papers have images which leave nothing to the imagination, even for people not trained in medicine.

Unfortunately this has become an extremely contentious subject and most people have moved far beyond the simple concept of not getting sick with an extremely serious disease.

With your health situation, I'd take the fourth shot, and remain careful when it comes to the risk of getting infected. Not getting sick is the best course of action.
Bhurn00985
·4 anni fa·discuss
I love the book project, it makes me think of Ann Morgan who has done something similar (https://ayearofreadingtheworld.com/thelist/).

It is also something I'd like to do, but I haven't yet started with it.

I'm curious how you select which books to read ?
Bhurn00985
·4 anni fa·discuss
As a deeply technical person, I am trying to figure out business development.

I have come to a stage in my career where I am more valuable in finding projects for my team, than in delivering projects myself.

So as somewhat of a prerequisite, I need to learn about personal / team branding, relationship building, marketing, and consulting sales.

While this is definitely out of my comfort zone, and I'm still figuring out how to actually be competent at this, I believe it will be a valuable skill to one day start my own company.

PS: If anyone has good resources, do share !