Show more
FSMaxB boosted

@FSMaxB exactly. But I see that quote being used as justification for basically not caring about performance at all, or even doing things that are clearly terrible for performance.

FSMaxB boosted
FSMaxB boosted

New scientific paper using Pepper&Carrot sources 👍 "Deep Normal Estimation for Automatic Shading of Hand-Drawn Characters by Trinity College Dublin" peppercarrot.com/en/article456

FSMaxB boosted

I just found out that is back with a new season. I have some catching up to do.

FSMaxB boosted

At the Moomin Cafe in Tokyo, if you go by yourself, they sit a moomin with you, so you won't be lonely.

FSMaxB boosted

Minor improvements in my STL unfolding code resulted in something that appears to be a Stanford Bunny.

I just noticed that this metric also discourages trailing spaces in empty lines. 👍

Interesting metric for measuring code complexity: youtube.com/watch?v=P2lxGnbDkD
The idea is to measure the area of indentation. This is like LOC but including how nested a program is.

FSMaxB boosted

I'm shocked that the following code compiles.

And doesn't even warn about the string passed to an int parameter, not even with -Wextra and -Wall ( does warn about it by default).

FSMaxB boosted

mastodon.cloud/media/9SZHsyVJ7
Why can't we have nice things? I guess this is what I get for writing C89 compatible code.

Because C99 completely fixes the problem as you can see in the standard:
mastodon.cloud/media/Dvs8ny4Ub

FSMaxB boosted
Show more
mastodon.cloud

Generalistic and moderated instance.