[–] 16 points 1 year ago (1 child)

I’m going to whoosh the joke for a moment.

Avoid allocating memory in sig segv handlers. I worked at a company once that had written their own handlers that tried to print a stack trace. I was fortunate enough to find a machine in a test environment that segfaulted while allocating memory. The handler then caused a deadlock in a call to malloc (through new). I ended up rewriting the handler to fix two sources of memory allocation. First I preallocate enough space to do string manipulations in the handler. Second I made eager calls to a few libc functions used in the handler to avoid memory allocation from lazy binding from ld.so.

  • source
  • [–] 38 points 1 year ago

    They contained the impact. Root causing or “understanding” should come after impact mitigation. If needed find a safe way to reproduce the bug without customer impact.

    We reverted the refactoring, deployed, un-banned the CEO, and set about analysis.

  • source
  • parent
  • context
  • [–] 13 points 1 year ago*

    I’m not disagreeing. The report isn’t clear. This is written by people asking Congress for a budget cut.

    NSF programs indirectly impact millions of people, reaching PreK-12 students and teachers, the general public, and researchers

    The actual impact to the pipeline may be far larger.

  • source
  • parent
  • context
  • [+] -14 points 1 year ago (3 children)

    Graduate students provide enormous value for their cost in funding. I’d like to better understand how k-12 students contribute here. Those students make up 88.7k of the reduction. How much do these students contribute and at what cost?

    I’m in no way against inspiring the next generation. My question is aimed at correctly interpreting this table. The NSF is a worthwhile expense, but let’s understand the data we have.

  • source
  • parent
  • context
  • [–] 8 points 1 year ago

    She’s complaining about the phrase “giving time back”. It’s a phrase used in corporate settings that is often used for small amounts of time. The meaning isn’t really important, but I find it’s used by individuals as a way of “virtue signaling” that everyone in the meeting are busy with other priorities.

    Hopefully it’s a phrase that will pass quickly like many other corporate phrases.

  • source
  • parent
  • context