Random / Interesting / Quotes

My favourite quote by Kerouac has a fuller version I forgot exists:

“I don’t know, I don’t care, and it doesn’t make any difference.” ― Jack Kerouac

From the 1-to-1: “You always meet twice in life”

Tensorflow / ML

Binary crossentropy is a special case of categorical crossentropy, for when you have one output.

Zsh / Bash history

I can use syntax like !10600 inside commands in the CLI! They get replaced when needed.

Compressing PDF

pdf2ps input.pdf tmp.ps ps2pdf -dPDFSETTINGS=/screen -dDownsampleColorImages=true -dColorImageResolution=200 -dColorImageDownsampleType=/Bicubic tmp.ps output.pdf , and you can tune dColorImageResolution. Out of all answers in that thread 1, it’s the only one that decreased my 2.3M pdf to 1.3MB. (Needed less than 2MB)