Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)S
Posts
2
Comments
23
Joined
3 yr. ago

  • I think if anything they would be biased towards having fewer allergies than normal people. Which suggests that 0.21% (1 in 500) is a reasonable bound for how rare a moon dust allergy could be.

  • Assuming a representative sample, the best point estimate is 1/12 (8.33%), and the 95% confidence interval is 0.21% to 39%.

    Longer explanation here: https://lemmy.zip/comment/19753854

  • You can store the Merkle trees inside of a SQLite database as extra columns attached to the data.

    That way you get the benefits of a high-level query language and a robust storage layer as well as the cryptographic verification.

    In fact, there is a version control system called Fossil which does exactly that:

    https://fossil-scm.org/home/doc/trunk/www/fossil-v-git.wiki

    The baseline data structures for Fossil and Git are the same, modulo formatting details. Both systems manage adirected acyclic graph (DAG) of Merkle tree structured check-in objects. Check-ins are identified by a cryptographic hash of the check-in contents, and each check-in refers to its parent via the parent's hash.

    The difference is that Git stores its objects as individual files in the .git folder or compressed into bespoke key/value pack-files, whereas Fossil stores its objects in a SQLite database file which provides ACID transactions and a high-level query language. This difference is more than an implementation detail. It has important practical consequences.

    […]

    The SQL query capabilities of Fossil make it easier to track the changes for one particular file within a project. For example, you can easily find the complete edit history of this one document, or even the same history color-coded by committer, Both questions are simple SQL query in Fossil, with procedural code only being used to format the result for display. The same result could be obtained from Git, but because the data is in a key/value store, much more procedural code has to be written to walk the data and compute the result. And since that is a lot more work, the question is seldom asked.

  • Deleted

    Permanently Deleted

    Jump
  • The right balance on this is to set it up to only trim whitespace on lines that you have edited, and only on-save.

    Emacs has ws-butler for that behavior: https://github.com/lewang/ws-butler

  • C++

    Jump
  • If undefined behavior is triggered anywhere in the program, then it is allowed by the standard for the process to ask the anthropomorphized compiler to punch you.

    100% based and standards-compliant comic

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

  • Interesting Shares @lemmy.zip

    Spoken Without Words: Poetry with ASL SLAM

  • Ken Paxton, the Texas Attorney General who is primarily responsible for the present situation, used to be my local state senator.

    I specifically kept my voter registration in Texas during my college years so that I could continue to cast my vote against him. There is nothing good to say about that evil man.

    I like Texas, and I hope that at some point we figure out how to govern it in a sane way, because I unfortunately cannot recommend living there right now.

  • Twitter’s a bit of a bad example. Musk may be using it that way now in order to make the best of a bad situation, but it’s pretty clear that he didn’t actually intend to buy it in the first place.

    Even someone like Musk doesn’t ever intend to go out and lose tens of billions of dollars on a single purchase.

  • My poodle knows how to tap the homepad with his nose to play music. He gets up to it, taps it, and then curls down beneath it to listen. It’s very cute and definitely intentional on his part.

  • I associate the word “straphanger” with tabloid media. They have some words that they really like. It doesn’t really even make sense for NYC Because the subway doesn’t have straps.

  • I’ve always thought it was weird how there are two media properties involving genderless gem people.

    (the other is Land of the Lustrous)

  • Great article, thank you for sharing.

  • But he lives in NYC (Staten Island). It’s his own local government.

  • Sometimes I wish that I didn’t have a corporeal body. It would be better to just be a mind.

  • I haven’t tried this, but if you just need the parent to call waitpid on the child’s pid then you should be able to do that by attaching to the process via gdb, breaking, and then manually invoking waitpid and continuing.

  • Bicycling @lemmy.world

    How Tall Bikes Will Save the World