fubarx

joined 2 years ago
[–] [email protected] 3 points 10 months ago

Dangit, copy-pasta from an unrelated comment. Fixed.

[–] [email protected] 4 points 10 months ago (3 children)

Lot of people saying they don't give internet access to their TVs.

Fine, but that doesn't work for cord-cutters who opted out of cable to go with streaming. And if you keep your TV away from internet but have a cable box, it will be doing all the tracking in this paper (and worse) then sending it to the cable provider.

So short of sticking with DVD/Bluray (unconnected) or over-the-air broadcast TV, there's no way to stop from getting tracked.

The paper also lists domains where the data is being sent. You could always try blocking the destination addresses at the router level.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

Surprised SF Giants/Oracle Park isn't 0.0. Missed business opportunity.

[–] [email protected] 1 points 10 months ago

"There's always money in the banana stand."

https://m.youtube.com/watch?v=UuHILqDIvis

[–] [email protected] 4 points 10 months ago

They should put that across the top banner on Audible.

[–] [email protected] 19 points 10 months ago (4 children)

Our home came with a gas stove. Was ready to get rid of it once it died. But a few years ago, there was a multi-day electrical outage. The stove could still be lit with a match, so we could at least have warm water to wash and cook.

Local utility has also been jacking up electricity prices (30% last time). Suspect people want to keep their gas stoves for the sake of reliability and cost, despite pollution concerns.

[–] [email protected] 10 points 10 months ago

If you use github pages, you can create, deploy, and host static websites for free. Only cost, if you want your own URL, is for a custom DNS name.

You can use their default Jekyll static rendering engine, and create the content using Markdown. And with github actions, all you need to update the content is create markdown, then push the change to the same repo. After a few minutes, the new content shows up.

https://pages.github.com/

Hugo can also be used, but it takes a few extra steps: https://gohugo.io/hosting-and-deployment/hosting-on-github/

You can also find 'themes' to customize the look and feel of the site, specific to the site generation tool.

If you want a lot of extra features, Docusaurus is pretty much as good as it gets, and you can set it up to push out to GH pages: https://docusaurus.io/docs/deployment

[–] [email protected] 21 points 10 months ago

I wouldn't put any load on it until it was stained. At least two coats and a sealer.

[–] [email protected] 1 points 10 months ago (1 children)

OK, you wanted a conversation… :-)

I did read the post, but I assumed it was the starting point of a system or mechanism, not the end-point. Wanting to just run "docker compose up" is fine, but there is more to developing and deploying to production (and continuing post-launch).

That's why I mentioned the CLI. It lets you go from a simple local app (Django on sqlite) to a Docker one (postgres, celery, redis, etc.), to all the way out to the cloud (ECS/EKS/serverless lambda/RDS), without having to remember what commands do what or managing lots of separate docker-compose files.

I can see we are VERY far apart on how docker should be used in moving toward a production-ready system.

For one thing, recommending putting secrets inside docker-compose is an instantly disqualifying piece of advice. There's a whole 'secrets' section of docker compose that is there to prevent people from inadvertently including those in cleartext and baking them into images: https://docs.docker.com/compose/how-tos/use-secrets/.

Github itself has a secret scanning mechanism to prevent leakage: https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning. For gitlab, there's also Blackbox or HashiCorp vault. Putting AWS key/secret inside a repo can be VERY expensive and open one to legal liability if the account is misused. Repeated infractions could lead to AWS banning one's account.

I really recommend you take down that part of your post, instead of proliferating bad practices.

As for the rest, to each their own.

[–] [email protected] 7 points 10 months ago

Making way for a new race of hardened, pissed off acid-fish.

[–] [email protected] 4 points 10 months ago (3 children)

Good stuff.

A few things I'd change:

  • A CLI to simplify local vs docker vs cloud operations. Reduces chance of operator error. Have had good luck with python click library.
  • Moving config settings into separate JSON and .env files to avoid loading too many config and secrets in the docker-compose file.
  • For AWS, I'd go with CDK. That way, cloud deployment is all in python (or typescript).
  • For cloud, you can also package Django into a single lambda, with dependencies inside a lambda layer. Not sure I'd use it in heavy production, but for small apps, really handy.
  • Inside Django settings, you can switch DB and services whether running local (sqlite, Redis), docker (postgres, RabbitMQ), or cloud (RDS, SQS).
view more: ‹ prev next ›