I mean no harm.

  • 1 Post
  • 48 Comments
Joined 1 year ago
cake
Cake day: July 4th, 2023

help-circle




  • JATth@lemmy.worldtoAsklemmy@lemmy.mlFavorite horror movie?
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 month ago

    100% Nope: A episode from supernatural, where ghouls half way succeed to eat Sam. (I consider it as the most gruesome horror I have ever seen, and I don’t think I have the stomach to see it ever again. The blood draining is a … no.)

    Yellow brick road on otherhand hits the weird places spot of SCP, which I can’t get enough. (not horror really, but still)





  • Python is just a pile of dicts/hashtables under the hood. Even the basic int type is actually a dict of method names:

    x = 1
    print(dir(x))
    ['__abs__', '__add__', '__and__', '__bool__', '__ceil__', '__class__', '__delattr__', '__dir__', ... ]
    

    PS: I will never get away from the fact that user-space memory addresses are also basically keys into the page table, so it is hashtables all the way down - you cannot escape them.




  • permanently attached USB SSDs are supposed to be mounted

    Just mount them somewhere under / device, so if a disk/mount fails the mounts depended on the path can´t also fail.

    I keep my permanent mounts at /media/ and I have a udev rule, that all auto mounted media goes there, so /mnt stays empty. A funny case is that my projects BTRFS sub-volume also is mounted this way, although it is technically on the same device.


  • For example, the new .config directory in the home directory.

    I hope slowly but surely no program will ever dump its config(s) as ~/.xyz.conf (or even worse in a program specific ~/.thisapp/; The ~/.config/ scheme works as long as the programs don’t repeat the bad way of dumping files as ~/.config/thisconfig.txt. (I’m looking at you kde folks…) A unique dir in .config directory should be mandatory.

    If I ever need to shed some cruft accumulated over the years in ~/.config/ this would make it a lot easier.


  • Jokes on merge… when a rebase editing goes wrong after +15 commits and six hours, and git hits you with a leadpipe: “do it. Do it again, or reassemble your branch from the reflog.” I.e. you commited a change very early, went over bunch of commits resolving/fixing/improving them and at middle way forget if you should commit --amend or rebase --continue to move forward. Choose wrong, and two large change-sets get irreversilbly squashed together (that absolutely shouldn’t), with no way to undo. Cheers. 👍





  • I tried Luks and BTRFS more than 6 times leading to a script error each and every time.

    This was actually my experience also, so I went back to a manual install to just get it done. I think the archinstall script won’t get any configuration of device-mapper/LVM right (including disk encryption with cryptsetup). The disk encrypt setup had even more hoops to go through than just LVM.


  • Splitting water and keeping the H2 converts the energy into chemical energy. The oxygen is just dumped into the atmosphere, which is a loss of efficiency I think? What I know, H2 is the highest form of chemical energy there is.

    Some processes require burning, or cannot be electrified otherwise. It’s these where the hydrogen is needed directly. I think hydrogen is a source material that should be mostly be converted into other chemicals. Etc. methanol and ammonia are more easily storable, unlike diatomic hydrogen which can slowly diffuse through a metal wall, enbrittleling it. Clean ammonia production could replace a giant mass of fossil fuels.

    Here is an another rabbit hole: most of your body’s nitrogen is from ammonia and the fertilizers made from it.