1,874 karma · joined Jun 12, 2019 (7y ago) · 701 submissions
[ my public key: https://keybase.io/thinkharder; my proof: https://keybase.io/thinkharder/sigs/Ibpz0COsvz2qYl2K8YfzrhucHf2rcZIxityh5WvYC_k ]
comment 5y ago · link · parent
I worked at a company that spent ~$10m per month on AWS. We had a whole "cloud governance" team who built tools to identify both over and underutilized resources. But they STILL never cut any thing off automatically. The risk/reward ratio just wasn't there. You make the right call and shave $10k off a $10m bill every month, but the one time you take down a mission critical service, you give all of that back and then some.
comment 5y ago · link · parent
In my new job we also use AWS for everything BUT I haven't used the AWS cli once. I don't even have credentials. Basically, their is a platform team which is responsible for running a k8s cluster (or clusters really) and some other common infrastructure which is all running on bare EC2 (no RDS, no EKS, we do use S3 for blob storage but that's about it). And I have to say it is pretty amazing. No more dealing with arcane IAM rules, or trying to figure out how to string together a chain of lambdas to do some sort of complex orchestration task).
I've really come to appreciate the model of using k8s as your "cloud platform." Having a dedicated team that manages the k8s clusters and makes sure they are elastically scalable and reliable. Everyone else is just deploying stuff to kubernetes. They could decide to move everything to a colo tomorrow and I would have to change exactly nothing about how I do my job.
comment 5y ago · link · parent
BUT, I think the parent's point is that such a feature would actually be quite complicated. It's not just a matter of saying "I only want to spend $X in this account per month/total" but defining exactly what you want to do in the case where you hit that limit. Shut everything down? My guess is almost nobody would want to do that. So it ends up being some complicated configuration where you have to deeply understand all of the services and their billing models in order to configure it in the first place. What are the odds that the student who accidentally spins up 100 EC2s for a school project is going to configure this tool correctly?
But I do think the sandbox would be great. Either you are a professional in which case it is your responsibility to manage your system and put in appropriate controls to prevent huge unexpected bills or you are a student (in the general sense of someone learning AWS, not necessarily just someone in school) in which case they provide a safe environment for you to experiment.
comment 5y ago · link · parent
comment 5y ago · link · parent
So basically it is just a parametric type such as List<T> which has a type constructor so you can get a concrete type (eg List<String>), a map function which takes a function f: A => B and and turns it into a function List<A> => List<B>, and a "flatten" function with will turn a List<List<A>> into a List<A>.
The last part is what allows "flatMap" which takes a function f: A => List<B> and turns it into a function List<A> => List<B> and is really just a shorthand for doing map and then flatten.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
I certainly don't begrudge Docker for trying to create a sustainable business, but as an "open core" model it's really hard to understand what their proprietary extensions are that people will want to pay for. They took a stab at the container orchestration space with Docker Swarm (which you could definitely imagine having an "enterprise version") but that lost out pretty definitively to Kubernetes. So they're left with Docker Hub? That just doesn't seem like it will really be much of a revenue generator. You're either using whatever cloud container registry is available (ECR, GCR etc) or you're using a more general artifact repository like Artifactory, GitHub which can be a container registry as well as a Maven/NPM/etc artifact repository.
comment 5y ago · link · parent
comment 5y ago · link · parent
The parent is being downvoted for a "what about X?" response but I think it is actually a legitimate question to ask. Almost every elite sport carries with it serious health and safety risks.
But to counter their concern I would argue that elite sports almost always carry health risks, may amateur sports do not and are broadly beneficial. Contact sports such as American Football, Rugby, etc however are in a different class where the amateur athletes are also putting themselves at significant risk.
comment 5y ago · link · parent
comment 5y ago · link · parent
But what I think the author meant is that the incomprehensible abstraction soup is at least in part a result of the "enterprise development" method. If you are solving a particular problem for a particular application you tend to solve the problem in a straightforward way as possible (if you're any good at least). But if you an "enterprise architect" you are trying to create architectures that both solve no problem in particular and all problems at once. So you tend to get complex abstractions that are both complicated to work with and don't cleanly deal with any particular implementation.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
1. Do they understand the basic machinery of a web application (assuming the job is about building web applications)?
2. Can they take a vague problem ("the page is loading slow") they might get from an actual non-technical user and drill down to identify what precisely the issue is? Is it DNS? Is it a proxy server/load balancer? Is their latency at the DB layer? How would you tell the difference between all of these?
comment 5y ago · link · parent
I don't doubt for a second that building a lot more housing is not possible for the foreseeable future but like in most places that is a political problem and not some fundamental constraint. And rent controls don't "solve" the basic imbalance between people wanting to live in a place and there not being enough housing for all of them in any meaningful sense. You are still rationing one way or another. When there are fixed supply constraints then maybe that is a more just way to do it, but when the supply constraints are artificial then it just entrenches a bad equilibrium.
418.
Advances in the ZIO 2.0 Scheduler(ziverge.com ↗)
3 points · by thinkharderdev · 5y ago · discuss
comment 5y ago · link · parent
And I don't believe that is impossible to build more housing in Stockholm. It has a population density of 400 people/km^2. To put that in perspective, Chicago (in the US) has a population density of 4000 people/km^2. And Chicago (outside of a central business district which is very dense) is not some dystopian megalopolis. It is mostly neighborhoods of single-family homes and small apartment buildings. Seoul, SK has a population density four times higher than that at ~16000 people/km^2. Paris is even denser at 20000 people/km^2.