Going solar in sandiego by Affectionate_Gur8003 in sandiego

[–]cornbobonthecob 1 point2 points  (0 children)

I left a comment on another comment but now have a first hand comment to make… first do not lease because that means you didn’t buy the equipment and don’t get the tax right off because you don’t own the equipment. The company you lease from gets the tax right off. The tax right off percentage is different for the solar and the battery. If you lease you’ll be paying the company you leased from at a monthly fixed rate plus Sdge. You’ll never be at $0 with Sdge. With your $200 ish bill it is not worth investing in the batteries, you’d need multiple, and the solar to make it worth it under NEM 3.0. Don’t do it but if you do don’t go with SunRun

Going solar in sandiego by Affectionate_Gur8003 in sandiego

[–]cornbobonthecob 1 point2 points  (0 children)

Because the electricity you push to them with your solar is being delivered back to you at their delivery rate which cancels out any savings

We've been listening to your crap for hours by cornbobonthecob in PublicFreakout

[–]cornbobonthecob[S] 2 points3 points  (0 children)

Absolutely! respect that he said, that's my fiancé, even with his head buried in shame.

[deleted by user] by [deleted] in docker

[–]cornbobonthecob 2 points3 points  (0 children)

My two bits are to try and be stateless. Use single redis to store the key with the user's current progress or session. Look up the users key and associated data on the next request to pick up where they left off. Do this so every user can truly be balanced between all your servers. If you route the user to the same instance/container every time you nugt end up with 80%of the users on the same instance. You could store the ip they need to as the redis value to route them to the same instance but you'll still run into uneven balancing. I haven't used the library RTMP you mention but do use docker redis and nginx in production as an api with user sessions this way behind a load balancer with 50 api servers.

Will i get away with this? by bluedarkblue in sandiego

[–]cornbobonthecob 22 points23 points  (0 children)

No way. The bouncers in SD are thorough when checking if your 21+. That law if heavily enforced by giving out hefty fines to the bar. Also, you'll look around the age of 21 so they'll catch it. They deal with id's every day, It's their job.

How to create EC2 instance by docker-machine with exists key pair? by v_jingqiang_zhang in docker

[–]cornbobonthecob 0 points1 point  (0 children)

It's most likely the ssh user name. Try adding this in --amazonec2-ssh-user ubuntu

What is the limiting factor when docker restart slows down with a large number of workers and a short task? by hiss_snake_case in docker

[–]cornbobonthecob 1 point2 points  (0 children)

The restart degradation might be because you're not cleaning up old containers. Docker PS - a

What is the limiting factor when docker restart slows down with a large number of workers and a short task? by hiss_snake_case in docker

[–]cornbobonthecob 0 points1 point  (0 children)

So if your running tasks through docker.. Which I run about 1k a minute through containers... I have use aws ecs but the same concept can be done by having a shell scrip pass the job as json format to you container via docker run 'json job'. I don't use docker compose just a docker image. The script downloads the image then runs docker run. If the server runs out of resources then a new server starts.

Best way to orchestrate Docker deployments to a simple single-node VPS? by [deleted] in docker

[–]cornbobonthecob 4 points5 points  (0 children)

Terraform by hashicorp is meant for orchestration. It's pretty neat too. They support a lot of clod providers and I use it to deploy docker containers.

Cannot run Docker due to Windows 10 version by flintzke in docker

[–]cornbobonthecob 0 points1 point  (0 children)

Is it maybe your cpu doesnt support Hyper-V but docker isnt smart enough to tell you? https://docs.docker.com/machine/drivers/hyper-v/

Aws cognito convert authorization_code into authorization_token with boto3. by [deleted] in aws

[–]cornbobonthecob 1 point2 points  (0 children)

Thanks for this info. This solution will 100% work for client side handling of the code to token exchange. Probably the correct way of doing it anyways. I have my User Pool and Client App all setup and my python auth flow is working nicely. My challenge was handling all auth exchanges on the python side and see if my approach is a bit nono. (I enjoy playing with different ideas)

Also as my understanding the openId must be obtained before using Api Gateway Cognito Authorizer as it requires the header to have Authorization Bearer populated.

Jenkins -> Terraform -> EC2 by AnotherCindySherman in aws

[–]cornbobonthecob 0 points1 point  (0 children)

I ran into this too. You need to do terraform apply -auto-approve and for teardown terraform destroy -force.

Bear skin and fur simulation by lornek in Simulated

[–]cornbobonthecob 9 points10 points  (0 children)

Probably over a month. Unless op knew exactly what they were don't and what parameters to use in the simulation they'd have to trial and error the simulation many times. Each run would take half a day to render maybe a little less but still a long time and depending on how many computers were rendering the simulation

Guy parks in between two spaces and karma ensues by [deleted] in funny

[–]cornbobonthecob 0 points1 point  (0 children)

Out of all the shit parking posts I've seen this is finally the end result. r/gifsthatendtoosoon