• 0 Posts
  • 177 Comments
Joined 1 year ago
cake
Cake day: June 19th, 2023

help-circle




  • friend_of_satan@lemmy.worldtoScience Memes@mander.xyzProud globohomo
    link
    fedilink
    English
    arrow-up
    29
    ·
    edit-2
    11 days ago

    This is so Carl Sagan.

    And so we got to talking. But not, as it turned out, about science. He wanted to talk about frozen extraterrestrials languishing in an Air Force base near San Antonio, “channeling” (a way to hear what’s on the minds of dead people—not much, it turns out), crystals, the prophecies of Nostradamus, astrology, the shroud of Turin … He introduced each portentous subject with buoyant enthusiasm. Each time I had to disappoint him: “The evidence is crummy,” I kept saying. “There’s a much simpler explanation.”

    And yet there’s so much in real science that’s equally exciting, more mysterious, a greater intellectual challenge—as well as being a lot closer to the truth. Did he know about the molecular building blocks of life sitting out there in the cold, tenuous gas between the stars? Had he heard of the footprints of our ancestors found in 4-million-year-old volcanic ash? What about the raising of the Himalayas when India went crashing into Asia? Or how viruses, built like hypodermic syringes, slip their DNA past the host organism’s defenses and subvert the reproductive machinery of cells; or the radio search for extraterrestrial intelligence; or the newly discovered ancient civilization of Ebla that advertised the virtues of Ebla beer? No, he hadn’t heard. Nor did he know, even vaguely, about quantum indeterminacy, and he recognized DNA only as three frequently linked capital letters.








  • If I understand the problem correctly it has a pretty simple solution that I have done before. Make a new partition on the destination and dd if=/dev/diskAsB of=/dev/diskXsY where A is the source disk and B is the source partition and X is the destination disk and Y is the destination partition. You may have to run fsck on the destination afterwards and maybe a gpt repair tool.

    Honestly though, since it’s an ext filesystem, if it were me I’d just mount the source and dest and rsync.




  • I had the same experience on my one gui Ubuntu machine. I also have several headless machines, and due to some shared libraries I always ended up with snapd installed even though none of the packages I was running were installed through snap. I always found it through the mount point pollution that snapd does.




  • It’s not a typo. The first section of the regex is a matching section, where a dot means “match any character”, and an escaped dot is a literal dot character. The second section is the replacement section, and you don’t have to escape the dot there because that section isn’t matching anything. You can escape it though if it makes the code easier to read.

    rename is written in Perl so all Perl regular expression syntaxes are valid.

    However, your comment did make me realize that I hadn’t escaped a dot in the third example! So I fixed that.