use the following search parameters to narrow your results:
e.g. subreddit:pics site:imgur.com dog
subreddit:pics site:imgur.com dog
advanced search: by author, sub...
~0 users here now
Links:
A day in the life of a reactionary programmer
submitted 1 year ago * by fschmidt from self.programming
view the rest of the comments →
[–][deleted] 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 1 fun3 insightful - 2 fun - 1 year ago (4 children)
https://linux.die.net/man/8/logrotate
[–]fschmidt[S] 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 1 fun3 insightful - 2 fun - 1 year ago (3 children)
I need to write a post on why configuration files should be banned. Maybe next shabbat.
[–][deleted] 1 year ago (2 children)
[deleted]
[–]fschmidt[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 year ago (1 child)
Then log rotate handles all the business logic seperate from my code, and I get to "code" the log storage behavior in a "language" designed for that task.
Pointless separation is one big source of complexity. There is no reason for an end-user to ever configure logging. The app code should do that. And so it might as well do it purely through code, so no need for logrotate.
[–]trident765 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 1 year ago (0 children)
Pointless separation is one big source of complexity
I was just thinking about this the other day. It's the thing people say to sound smart. People say to keep X and Y separate because it makes them look like they had the foresight to prevent some bad thing from happening if you mix X and Y. So people are stuck maintaining this pointless separation because if they were to question it they would look like stupid people who didn't have the foresight to understand why you have to keep X and Y separate.
view the rest of the comments →
[–][deleted] 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 1 fun3 insightful - 2 fun - (4 children)
[–]fschmidt[S] 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 1 fun3 insightful - 2 fun - (3 children)
[–][deleted] (2 children)
[deleted]
[–]fschmidt[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (1 child)
[–]trident765 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (0 children)