@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
davad , (edited ) to Selfhosted in Docker security

In an enterprise setting, you shouldn't trust the server firewall. You lock that down with your network equipment.

Edit: sorry, I failed to read the whole post 🤦‍♂️. I don't have a good answer for you. When I used docker in my homelab, I exposed services using labels and a traefik container similar to this: https://docs.docker.com/guides/traefik/#using-traefik-with-docker

That doesn't protect you from accidentally exposing ports, but it helps make it more obvious when it happens.

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
JargonWagon , (edited ) to Dull Men's Club in Decision deadline- Costco

Your calculations must have been off. Not sure if it'll apply for you, so make adjustments as needed for next time, but here's my calculation:

You need to calculate avg number of sheets per poop, piss, and misc sessions, per person in household; calculate number of each session per person per day; use a bell curve to accomodate for the event of possibly having a run of messy runs (since that should be the largest use factor of TP unless you use TP as tissues for colds as well), and then voila - take the results for the average individual day use, multiply by 365.25, and you should be able to successfully calculate your TP needs for the entire year.

Expressed in python for no reason other than I'm trying to learn Python and decided to use this as practice:
Person1 = str(input("Name of Person 1: "))
Person1PoopAvgPerSession = float(input(f"{Person1}'s average number of TP sheets used per poop session: ")
Person1PeeAvgPerSession = float(input(f"{Person1}'s average number of TP sheets used per pee session: ")
Person1MiscAvgPerSession = float(input(f"{Person1}'s average number of TP sheets used per misc session: ") case there's another use case not addressed previously variables for each person in household - There's probably a good method for using input() to capture the number of people in the household, asking for their names, and then use a while loop to create a dictionary for each person, but I haven't done that yet and I'll need to test that out, so for now - manual creation of variables. Make variables for guests, if expected to have any for the year - I don't so didn't include this - Can probably ask if expecting guests this year, and then use if else statement based on the boolean that returns.
Person1PoopsPerDay = float(input("How many times do you poop per day on average? "))
Person1PeesPerDay = float(input("How many times do you pee per day on average? "))
Person1MiscPerDay = float(input("How many times per day do you use toilet paper for misc. uses? "))

Person1PerDayUsage = ((Person1PoopAvgPerSession * Person1PoopsPerDay * 1.2) + (Person1PeeAvgPerSession * Person1PeesPerDay) + (Person1MiscAvgPerSession * Person1MiscPerDay)) 1.2 to accomodate for bell curve, not really sure how else to do this.
Person1PerYearUsage = int(Person1PerDayUsage * 365)
print(f"{Person1}'s Annual TP usage: ", Person1PerYearUsage)

Back to packing for my trip.

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random

Using Common Lisp from Inside the Browser