I mean no harm.

  • 1 Post
  • 51 Comments
Joined 2 years ago
cake
Cake day: July 4th, 2023

help-circle

  • Btw, ld.so is a symlink to ld-linux-x86-64.so.2 at least on my system. It is an statically linked executable. The ld.so is, in simpler words, an interpreter for the ELF format and you can run it:

    ld.so --help
    

    Entry point address: 0x1d780

    Which seems to be contained in the only executable section segment of ld.so

    LOAD 0x0000000000001000 0x0000000000001000 0x0000000000001000
         0x0000000000028bb5 0x0000000000028bb5  R E    0x1000
    

    Edit: My understanding of this quite shallow; the above is a segment that in this case contains the entirety of the .text section.












  • JATth@lemmy.worldtolinuxmemes@lemmy.worldWe are not the same
    link
    fedilink
    arrow-up
    10
    arrow-down
    8
    ·
    5 months ago

    Arch maintenance: 0. Install it once. (The proper way)

    1. Every 2 weeks minimum pacman -Syu
    2. Every 3 months merge/update configs in /etc.

    I don’t get what is with this so hard? Yes, configs can be undecipherable but 90% time the merge involves just deleting the .pacnew versions.








  • 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.


  • 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. 👍