• 11 Posts
  • 73 Comments
Joined 2 years ago
cake
Cake day: June 29th, 2023

help-circle




  • senkora@lemmy.ziptoCurated Tumblr@sh.itjust.worksmoon's an allergen
    link
    fedilink
    English
    arrow-up
    17
    ·
    edit-2
    2 months ago

    The number of allergic people in a population of size N can be modeled as a Binomial(N, p) distribution, where p is the probability that any individual person is allergic.

    The maximum likelihood estimate for p when we observe 1 allergic person out of 12 is just 1/12, or 8.33%. This is our best guess if we had to name an exact number.

    We can get a 95% confidence interval on the value of p using the Clopper-Pearson method with the following R code:

    > binom.test(x=1, n=12, p=1/12)
    …
    95 percent confidence interval:
     0.002107593 0.384796165

    So we know with 95% confidence that the probability that any individual person is allergic to moon dust is with the range 0.21% and 39%.

    Yeah, okay, that’s pretty useless. I agree with them…








  • Small correction to an otherwise great explanation: SSNs are not recycled after death.

    **Q20:  *Are Social Security numbers reused after a person dies?*****A:  No. We do not reassign a Social Security number (SSN) after the number holder’s death. Even though we have issued over 453 million SSNs so far, and we assign about 5 and one-half million new numbers a year, the current numbering system will provide us with enough new numbers for several generations into the future with no changes in the numbering system.

    https://www.ssa.gov/history/hfaq.html




  • For the first part, I was like, yeah, that’s pretty much how all C++ GUIs work: a markup file describes the structure, a source file controls the behavior, and a special compiler generates more C++ code based on the markup file to act as glue.

    That’s all pretty standard, and it’s annoying, but I didn’t really get why they were making such a big deal out of it.

    Missing documentation is also annoying but not uncommon for internal widgets.

    What really elevates this from simply annoying to transcendentally bad, is the lack of error messages, the undocumented requirements that resource IDs be sequential, and the mandatory IDE plugin. That’s all unforgivable.



  • I assume that they mean that OpenCL, which is a traditional GPGPU language, is a very restrictive subset of either C or C++ (both are options) plus some annotations.

    In fact, OpenCL toolchains already use the Clang frontend and the LLVM backend, so the experience of using and compiling them is very close to C++.

    The talk mentions all of this; it says that a benefit of using full C++ on the GPU over using OpenCL is that you don’t have to deal with all the annoying restrictions and annotations.


  • I received an actual email requesting a donation from the “Harris Victory Fund” two hours ago.

    Here’s the fine print from the email on where the money would go:

    The first $41,300/$15,000 from a person/multicandidate committee (“PAC”) will be allocated to the DNC. The next $3,300/$5,000 from a person/PAC will be allocated to Harris for President’s Recount Account. The next $510,000/$255,000 from a person/PAC will be split equally among the Democratic state parties from these states: AK, AL, AR, AZ, CA, CO, CT, DC, DE, FL, GA, HI, IA, ID, IL, IN, KS, KY, LA, MA, MD, ME, MI, MN, MO, MS, MT, NC, ND, NE, NH, NJ, NM, NV, NY, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VA, VT, WA, WI, WV, and WY. Any additional funds will be allocated to the DNC, subject to applicable contribution limits.