• 1 Post
  • 114 Comments
Joined 1 year ago
cake
Cake day: August 24th, 2025

help-circle

  • aMockTie@piefed.worldtoLemmy Shitpost@lemmy.world•Banana for scale
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    3
    ·
    edit-2
    11 days ago

    1 1/8 inches + 5 27/32 inches + 7 3/16 inches

    1/8 = 4/32
    3/16 = 6/32
    4 + 6 + 27 = 37
    37/32 = 1 5/32
    1 + 5 + 7 + 1 = 14
    Total: 14 5/32
    

    I wouldn’t call it chaos, it’s a straightforward algorithm:

    1. Identify the largest denominator
    2. Multiply each other fraction by [largest denominator divided by current fraction’s denominator] (e.g. 32/8 = 4, so 1/8 * 4/4 = 4/32)
    3. Determine the sum of every numerator
    4. Divide and simplify the number if necessary
    5. Determine the sum of the integers, including any integers added in the previous step

    This works for every measurement because the denominator is always a power of 2.

    With that said I absolutely prefer metric.



  • aMockTie@piefed.worldtomemes@lemmy.world•Expressions
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 month ago

    Why waste time doing any matching if wantarray == false? Just do:

    if(!wantarray) { return 1; }

    Before any matching happens, or if you only want one return statement set the value of a variable in if(!wantarray)/elsif(regex) and return that variable at the end.









  • aMockTie@piefed.worldtomemes@lemmy.world•when you see it...
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    7
    ·
    edit-2
    4 months ago

    I’m not sure what the “it” is supposed to be, and I don’t understand how this has anything to do with Alan Watts, but this image has so many oddities that I think this entire post might be AI generated.

    Top to bottom:

    • White oval with two black inner ovals. Different colors from the surroundings.
    • Odd creasing and curvature of what appears to be the rear of a vehicle.
    • Head position relative to the rest of the body makes no sense. The neck is conveniently hidden by the hair to try to hide this oddity.
    • Some sort of rat tail or spiral on the (stage) left shoulder and below.
    • A cat that appears to be under the skirt (presumably intended to be a reference to AFAB genetalia).
    • Overall odd proportions, apparently different sized thighs and legs.


  • HTTP is like a conversation with someone wearing a “Hello my name is X” sticker at a public party, HTTPS is like a conversation with someone proving their identity with a government issued passport in a private room. Anyone can write anything they want on the former, and anyone happening to listen to the conversation can overhear everything. On the other hand, the latter requires basic identity verification and can’t be easily overheard.

    With that being said, anyone can also obtain a passport. That means you can be sure that you are interacting with a John Doe, but that doesn’t necessarily mean that you are interacting with the John Doe you were expecting. For example, John A Doe (e.g. Google.com) is different, but maybe difficult to notice from John E Doe (e.g. Goggle.com), especially at a glance.

    I hope that helps.







  • Awesome write up.

    Allowing arbitrary firmware updates without any signature validation, over Bluetooth, even unpaired and in sleep mode, and without any authentication is absolutely wild and should be criminal negligence.

    It took Creative nearly two months to respond to SingCERT. Unfortunately, their response was that “they do not consider this to be a vulnerability, as it does not present a cybersecurity risk”

    What a foolish response. The guy wasn’t asking for money and gave them everything they would need to make a patched firmware.