MummifiedClient5000

joined 2 years ago
[–] MummifiedClient5000@feddit.dk 25 points 17 hours ago (2 children)

That's a bad idea; Using a buttplug as a gag could leave you with a bad taste in the mouth.

[–] MummifiedClient5000@feddit.dk 23 points 3 days ago (1 children)

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

[–] MummifiedClient5000@feddit.dk 50 points 4 days ago (2 children)

Dumbest war in history so far.

"Are they yelling Boo?"

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

[–] MummifiedClient5000@feddit.dk 12 points 3 weeks ago (2 children)

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

[–] MummifiedClient5000@feddit.dk 24 points 3 weeks ago

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

[–] MummifiedClient5000@feddit.dk 16 points 3 weeks ago (1 children)

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.

Say the line, Bart!

[–] MummifiedClient5000@feddit.dk 157 points 4 weeks ago (5 children)

This would be considered petty even for a toddler.

I think it is the other way around. Some women flirt by acting like young girls (baby-voice, playing dumb/ditsy, etc) and we have been conditioned to perceive those behaviours as flirting.

 

Any suggestions for a selfhosted comic book collection manager? I.e. a database of the physical comics that I own.

view more: next ›