• 0 Posts
  • 7 Comments
Joined 1 month ago
cake
Cake day: August 15th, 2024

help-circle
  • The other day I learned that you can just grep an unmounted filesystem device. It will read the entire disk sequentially like it’s one huuuuge file. And it will reveal everything on that disk… whether a file inode points to it or not.

    Used it to recover data from a file I accidentally clobbered with an errant mv command. It’s not reliable, but when you delete a file, it’s usually not truly gone yet… With a little luck, as long as you know a unique snippet that was in it, you can find it again before the space gets something else written there. Don’t even need special recovery tools to do it, just use dd in a for loop to read the disc in chunks that fit in RAM, and grep -a for your data.


  • pixelscript@lemm.eeto196@lemmy.blahaj.zoneAutism rule
    link
    fedilink
    English
    arrow-up
    1
    ·
    14 days ago

    Yes. On average.

    If you specifically take 100 kilos of core material from the Sun, then it would be a no contest victory for the Sun. But the Sun is very, very big, and when it comes to producing energy, most of it is doing absolutely nothing. So it brings the average energy production per kilo way, way down.



  • pixelscript@lemm.eeto196@lemmy.blahaj.zoneAutism rule
    link
    fedilink
    English
    arrow-up
    3
    ·
    18 days ago

    On the other hand, if you average the Sun’s energy generation across its entire volume and adjust for that volume’s mass, an equivalent mass of human body tissue generates more heat energy.

    So your eyes may not have the raw lumen output of an entire star; but, pound for pound, your eyes would outshine a similarly massive piece of one.


  • Emojis to me are like a strongly flavored seasoning. It’s only appropriate in specific contexts, and even in those contexts, just a pinch goes a long way. Too much and it can detract from the experience.

    Emojipasta is grossly overseasoned food. But that’s the point, obviously. It’s the emoji version of those white women on Tiktok who throw three pounds of ground beef wrapped around an entire block of cheese in a baking sheet full of milk and bake it in the oven for rage clicks.

    Me, personally, I usually don’t need emoji seasoning. I’m fine with it plain. Besides, most emojis to me have all the class of drowning your entire meal in ranch dressing. There are a very small handful of exceptions. But that’s just my lame opinion.

    And of the ones I do find theoretically useful, I’m always hesitant to use them, because emoji rendering is platform specific. They’re not quite like text, where the glyphs are entirely utilitarian and typeface it’s written in conveys little to no information. But with emojis, the subleties pile up. A thinking emoji rendered on a Windows PC isn’t quite the same as a thinking emoji on an iPhone, or various kinds of Android phones. Unless I’m on a platform like Twitter or Discord that forces all clients to use a single emoji set, I can never confidently send a precise emotion with an emoji.

    Platforms like Discord that let you create your own emojis instead of using the comparatively sterile, corporate-approved, general purpose set provided in standard Unicode is another story. I like those and use them extensively. If Lemmy natively supported a Discord-esque system where instances or communities could define custom emojis that didn’t rely on custom clients, plugins, or instance-specific rendering hacks, I’d use them all the time. Though this would, I presume, be to the extreme chagrin of many.



  • pixelscript@lemm.eetoMemes@lemmy.mlZen Z
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 month ago

    An analog clock is just three sets of loading bars with their ends glued together. You can tell geometrically what proportion of each division of time (day, hour, and minute) are spent and what proportion remains. You don’t even need the numbers.

    If you need stopwatch-level precision, sure, a digital display is superior. But how often do you need that? Most of what I need clocks for is, “Oh, it’s about a quarter to noon, I have a lunch appointment to get to”.

    It is my personal preference to visually intuit that the clock hands are roughly separating the hour into 3/4 spent and 1/4 remaining and use that to know how much time I have left to the hour, rather than read the symbols “42” on the display and manually do the mental gymnastics of “well that’s basically 45, which is three quarters of the way to 60 minutes”.

    I’ll admit this benefit is marginal.