448 karma · joined Mar 17, 2017 (9y ago) · 70 submissions
comment 3mo ago · link · parent
* AI will drive additional features as development accelerates
* There will be a window where fast adopting AI companies can deliver features faster than peers
* Those fast adopting AI companies will be able to garner additional revenue
* Gap closes as AI benefits slow in their impact to feature development and slower adopting companies catch up
* Companies that were faster adopters can no longer charge more for additional revenue without giving up market share to now caught-up competitors
* New normal is that companies are in a bind - they have to pay for tokens/AI aided development else they lose speed and therefore market share - but the paying is now without additional revenue and exists as a tax
Assumptions:
* No AGI
* LLMs have bounded impact on features
* Timeframe is long enough that companies that trail in AI won't be starved out
comment 1y ago · link · parent
I’d love to see how this compares when either the problem space is different or the language/ecosystem is different.
It was a great read regardless!
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
Curious if anyone else thinks this. Maybe it’s just optimism but I’ve yet to be convinced that a company would want to maintain its productivity through trading engineers for AI if it had the same opportunity to grow its productivity through AI and maintaining headcount.
comment 1y ago · link · parent
Center: 1200 Getty Center Drive, Los Angeles, CA 90049
Villa: 17985 Pacific Coast Highway, Pacific Palisades, CA 90272
comment 2y ago · link · parent
I think AI is massively negative on the environment via increased energy consumption to train large LLMs, on creative endeavors via the auto-generated art, etc. on labor via automation of jobs through AI agents, or the degradation of the job market, on public communication via the proliferation of fake videos/news, on personal relationships via AI significant others, on child development through easier cheating, etc, etc.
I get that there's a certain inevitability about technology. I also feel - and this could be a terrible analogy - that might have been what it was like to develop nuclear weapons. Better to develop and harness the technology for yourself if your competition is doing so too. That's the world and the market that we've constructed and it's rational to take advantage where you can.
I certainly don't pretend to stand on any moral high ground about what I would do if given the opportunity to cash out from AI skills if I had them.
But it all makes me very sad. I think I'll go read a book.
comment 2y ago · link · parent
If you want more customization - again not necessary - you can build via Packer. The thing is, you have to do that anyways with Docker or whatever your container runtime happens to be. Docker images need patches as well if you install dependencies like openssl, libpql, etc.
ArgoCD - ArgoCD is great but it's something that has to be separate managed and comes with a database, UI layer, etc. and it's own set of permissions. The whole point of ArgoCD is to have deployments specifically around GitOps for container-based applications. Unnecessary if you don't have K8s.
Load balancers are simpler with ALBs and route directly to the auto-scaling groups. Traeffik is something that you need to manage. Also, K8s typically requires the use of external load balancers to work in the cloud as it is which means there's a layer of complexity that was introduced. Typically, K8s through the External Load Balancer Controller will provision the LB and attach targets. So it adds complexity. Traeffik isn't free, you are paying for the compute in your cluster which has the overhead of the control plane.
Let's Encrypt is another layer of complexity that has to be managed. AWS has ACM which can dynamically create and renew your certifications without you having to do anything.
K8s as a cluster needs to be managed and introduces significant breaking API changes across minor versions (1.23-1.24, etc.). Postgres managed as a stateful application also breaks some of the benefits of K8s in that it needs to be managed as a StatefulSet rather than as a ReplicaSet which means you likely need different deployment mechanisms to avoid destroying it accidentally.
Ironically, this architecture doesn't need any customizations at all. You can provision it with a few modules in Terraform or you can click ops the entire thing. K8s on the other hand, requires pretty constant attention. You've now introduced the management of the cluster, the building of the image, management of ArgoCD, Traeffik as well as external load balancers.
Basically: - Route53 for domain management
- ACM for cert management
- EC2s for LBs
- ASGs to manage EC2s
- Small shell script within userdata to configure the host vm
- RDS if you need a database
Avoiding the operational and actual costs of K8s.
I think that there are compelling reasons to use K8s:
- Lots of smaller services that need to interface with each other
- Product is deployed to multiple clouds or in a hybrid setting
- Infrastructure team has deep expertise in K8s
comment 2y ago · link · parent
Deployments are no downtime. It’s pretty nice and if you want to run with docker on the host instances you can but you can also just install the application using systemd.
comment 2y ago · link · parent
- Serve traffic behind a load balancer that has a WAF
- Network segregation for database (separate subnets)
- Make sure you serve https and have a cert that’s valid. Redirect to https if http
- Restrict ports on LB
At some point later:
- Endpoint monitoring and threat detection
- VPC flow logging
- Execute backend as non root
- Dependency / artifact scanning
- Cloud SIEM to monitor common actions taken
- Make sure no hard coded creds. Ie, use role-base auth with cloud providers
- Reproducible infrastructure builds with infra as code
- Email domain protection
- Grab misspellings of domain names to prevent squatting
comment 2y ago · link · parent
- Piano music, specifically listening to and playing the greats like Rachmaninoff, Chopin, Beethoven, etc.
- The feeling you get when learning something totally new and you push beyond some barrier you were struggling with
- A great meal with great company
- Walking through a light drizzle with overcast skies in a new place
- Laughing at something so much that it hurts
comment 3y ago · link · parent
First, because Americans believe someday that they will be wealthy and they do not want to eliminate their chance to join the club[a]. In my opinion, this is the most satisfying explanation. Workers do not want to remove that ladder to the upper class because in doing so, they place a hard cap on their expected outcomes.
Second, American political culture is derivative of a property-rights focused political philosophy. One of the biggest influences on the Bill of Rights and it's explicit protection of property rights was John Locke's Two Treatises of Government. John Locke argues that a defining purpose of government is in the protection of property (life, liberty and property). Americans therefore, view wealth as at least in some part meritocratic and rich, having earned their extra property, are wary of retracting that property. The importance of protecting what's "theirs" is politically, socially and legally baked-in to society.
If Americans' belief in their own prosperity suffer and/or the relative importance of property diminishes in light of other rights (health care, equality, etc.), I think then we might begin to see changes for high-wealth compensation. But, I would argue as long as each of these remain strong, we aren't likely to see any changes.
a. https://www.magnifymoney.com/news/wealthy-survey/, https://www.cnbc.com/2022/08/31/44percent-of-americans-think...
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
1. Application / service to service secrets should be handled either by Vault or AWS Param Store. Both are good. AWS Param Store is easier but less feature rich. Ideally, your Vault instance would have the database engine which allows for automatic rotation and password management of databases like Postgres.
2. Developers should only have access to AWS through SSO using something like Okta. Okta has MFA through it's own authenticator app (not through SMS).
3. Password sharing should be handled with something like sops or if you need a more lightweight solution - Password Pusher. Sops works really well for hiding credentials within code that needs to be deployed. A team managed 1Password instance works well too.
4. Terraform should inherit a role that gives permissions to run against infrastructure. That role should be short lived and limited to running in a CI/CD environment (preferably on your own runner if that's possible).
5. You should have a separate AWS environment for running test projects. You can do this virtually (localstack) or physically through having a separate AWS account. I prefer the later since it's the real thing and implements all the APIs. Localstack can be decent though. If I had to setup an organization now, I would have a minimum of 3 AWS accounts. One for production infrastructure, one for staging environments and one for test environments. I would also add in AWS Budget Alerts and Cost Anomaly detection to prevent huge spend on it.