11 ms·
> Web code written in any language without a well-integrated string data type. strcpy() is a target painted on my back if I did that. Writing a URI parser in C
by msla 7y ago
> Web code written in any language without a well-integrated string data type. strcpy() is a target painted on my back if I did that.
Writing a URI parser in C which extracts hostname, port, and path is about the upper limit of what I want to do there.
I've done it, it works, I learned about strstr(3) in the process, and I don't want to do it again.
http://man7.org/linux/man-pages/man3/strstr.3.html http://man7.org/linux/man-pages/man3/strstr.3.html
> Anybody who claims they've got amazing new data- or media= compression technology and wants funding for it.
Encryption is probably worse for snakeoil, but I like reading about crypto snake oil. Schneier has a good series on it called The Doghouse. Example entry:
https://www.schneier.com/blog/archives/2019/09/the_doghouse_cr_1.html https://www.schneier.com/blog/archives/2019/09/the_doghouse_...
Phil Zimmermann (PGP) has an essay on recognizing it:
https://philzimmermann.com/EN/essays/SnakeOil.html https://philzimmermann.com/EN/essays/SnakeOil.html
djb even has a competition:
https://snakeoil.cr.yp.to/ https://snakeoil.cr.yp.to/