• 0 Posts
  • 41 Comments
Joined 8 months ago
cake
Cake day: March 22nd, 2024

help-circle








  • azi@mander.xyztoScience Memes@mander.xyz#notaseagull
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    15 days ago

    The buffalo thing pisses me off the most. Entire cultures are defined by that animal and it’s incredibly significant to the history of the prairies and the continent as a whole. So it seems to me pretty disrespectful to go to these people and go “um actually what you’ve been calling this animal for centuries is wrong actually because Linnaeus or whatever”




  • azi@mander.xyztoScience Memes@mander.xyzJust Terrible
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    20 days ago

    It’s worth noting that a number of languages comparable C in use case and performance (including its predecessors COBOL, Fortran and ALGOL) start indexing at 1 just fine because they have proper array types and don’t make heavy use of pointers poking and peeking wherever they like (eg by using references instead).

    Decoupling indices from memory offsets doesn’t get in the way of performance and actually often allows better optimization because the compiler knows you aren’t sharing pointers between arrays or some other shenanigans; see Fortran, the GOAT of fast array processing. This also allows improved type safety and thus memory safety; see index types in Ada/SPARK and the fact that it’s the only ‘legacy’ language that’s gotten comprehensive compile-time memory safety analysis (though the latter is moreso from the less willy-nilly pointers in general)




  • azi@mander.xyztoScience Memes@mander.xyzFruit Flies
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    23 days ago

    The fruit flies you’ve seen eating fresh fruit are probably Drosophila suzukii (spotted wing fruit fly). Most (all?) other Drosophila species (including the model organism Drosophila melanogaster) only feed on rotting fruit. Though they’ll consume the sugars too, not just the microorganisms. So standard lab diets include sugar along with yeast and often cornmeal.

    There are also some more distantly related flies that feed on fresh fruit and are commonly called fruit flies, eg Ceratitis capitata (Mediterranean fruit fly)



  • azi@mander.xyztoScience Memes@mander.xyzY tho
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    1 month ago

    There’s a bunch of species of cactus (family Cactaceae) but only Rhipsalis baccifera is found in the old world. Even weirder is that it’s not just found in the Americas and sub-Saharan Africa but also Sri Lanka for some reason.

    Map of Cactus ranges. Rhipsalis baccifera is found in Sri Lanka and sub-Saharan Africa while all other species are found in the Americas