Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)M
Posts
8
Comments
1094
Joined
3 yr. ago

  • And Warren Ellis

  • But just imagine what it can do for personalized ads. Why won't anyone think of the advertisers?

  • Turns out it is pronounced "jandalf".

  • Dumbest war in history so far.

  • The world would probably become a better place if they reshot the entire last season.

  • I'd love to try Watchmen.

  • Well, for a robot.

  • "Are they yelling Boo?"

    "No sir, they are cheering for the bruise".

  • 4 if you count Ryan.

  • Eventually LLMs will also evade those captchas, if not already.

  • Several error messages incorrectly using the term “argument” have been corrected.

    Quarrelling over exactly what an argument is. Very pythonic.

  • Deleted

    Permanently Deleted

    Jump
  • "We're going to get real racist on people like you, so don't leave".

  • When you use the pipe you're passing stdout from the left command to stdin on the right command.

    file takes a filename as an argument, it does not read stdin (by default).

    The first command works because head does read from stdin and then echoes the first line, but as an argument to file using command substitution - the $( ... ) bit. Command substitution is neat but this is not really the best use-case for it.

    A better way is to use find with -print0 which makes it use a zero-byte instead of a newline character (otherwise the command will fail in case a filename contains a newline - newlines and spaces in filenames break a lot of scripts if you aren't careful) and -quit, which makes find exit after the first match. And then pass it to xargs which is a utility that transfers stdin to command arguments - In this case the file binary - and handles zero-bytes as seperators when using the -0 arg.

    $ find /usr/lib -maxdepth 1 -type l -print0 -quit | xargs -0 file

    Removing -quit from the find command also works as expected (ie. on each found link).

  • Definitely give Shadow of War a shot if you liked Mordor.

  • That doctor is an imbecile. That was funny.

  • She seems nice.

  • Say the line, Bart!