• 0 Posts
  • 23 Comments
Joined 4 months ago
cake
Cake day: March 13th, 2025

help-circle
  • VeraCrypt Volume Format Specification:

    Each VeraCrypt volume contains an embedded backup header, located at the end of the volume (see above). The header backup is not a copy of the volume header because it is encrypted with a different header key derived using a different salt (see the section Header Key Derivation, Salt, and Iteration Count).

    It may be possible to recover the encryption key. You might try asking on VeraCrypt forums/mailing lists or contacting a commercial data recovery service which understands VeraCrypt. Though I’m not familiar with VeraCrypt so I may be misunderstanding the cited documentation.


  • mina86@lemmy.wtftoTechnology@lemmy.mlPNG is back!
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    7 days ago

    This doesn’t mean it’s a bad format or that it shouldn’t be used. In fact, it should still be the default unless you need something it doesn’t support or really need to reduce file size.

    I rather disagree. I’ve switched to lossless WebP for all my needs. There are practically no drawbacks and I get a smaller file.


  • For doing stuff in a directory, I use a replacement for cd command.

    For aliases:

    alias +='git add'
    alias +p='git add -p'
    alias +u='git add -u'
    alias -- -='cd -'
    alias @='for i in'
    alias c='cargo'
    alias date='LANG=C date'
    alias diff='cdiff'
    alias gg='git grep -n'
    alias grep='grep --color=auto'
    alias ll='ls -o'
    alias ls='ls -vFT0 --si --color=auto --time-style=long-iso'
    alias rmd='rmdir'
    

    I also have various small scripts and functions:

    • a for package management (think apt but has simplified arguments which makes it faster to use in usual cases),
    • e for opening file in Emacs,
    • g for git,
    • s for sudo.

    And here’s ,:

    $ cat ~/.local/bin/,
    #!/bin/sh
    
    if [ $# -eq 0 ]; then
    	paste -sd,
    else
    	printf '%s\n' "$@" | paste -sd,
    fi
    





  • Unless you go in with a byte editor, you can’t change Mercurial’s commit history. I didn’t say “fabricate”, I said “change”.

    In git you also cannot change history of a commit. You can only create a new commit with a new history. You’re arguing about semantics which don’t change the end result.

    The point is, with Mercurial it would be hard and the result would be utterly incompatible with any other clone of the repo: there would be no way to propagate your changes to other clones. With git, this is a standard workflow.

    As the example under discussion demonstrates, it’s also impossible to propagate the changes to git clones. Since history changed, merging the pull requests shows all the differences. That’s how Linus noticed the issue.













  • mina86@lemmy.wtftoLinux@lemmy.mlWhy Pewdiepie wants you to run Linux...
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    8
    ·
    edit-2
    2 months ago

    He made an edgy/abhorrent¹ joke years ago for which he apologised and Lemmy is even worse than Reddit so people still lach onto that.

    ¹ Whether it was just edgy or much worse than that I leave to the reader to decide. The joke was that he paid some guys in Africa to make a sign saying ‘Hitler did nothing wrong’ or something to that effect. This one of the things that likely contributed to adpocalypse on YouTube.