• 0 Posts
  • 10 Comments
Joined 3 years ago
cake
Cake day: September 10th, 2023

help-circle
  • 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.







  • BlazeDaley@lemmy.worldtoScience Memes@mander.xyz•*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    20
    ·
    1 year ago

    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.


  • BlazeDaley@lemmy.worldtoMemes@sopuli.xyz•It's the dream
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    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.