53 karma · joined Jan 28, 2021 (5y ago) · 22 submissions
comment 5y ago · link · parent
The way you usually solve this is by having sane defaults, and giving users different mechanisms for configuration based on how complex their configuration needs are. This can take a tiered approach.
As an example, simpler and straight forward things (such as disable egress traffic from S3 if the bill exceeds X) can be in the UI itself. Then, for customers who need more control, an option to configure via json or yaml similar to cloud formation. For anyone who needs even more giving an option to call a customer defined lambda function would give them the ability to at any metrics and take appropriate action.
comment 5y ago · link · parent
comment 5y ago · link · parent
Having said that, this sounds like "Hey guess what? We are gonna snoop on you, and profile the hell out of you and leak all of your sensitive data all over the place (filenames can be) all because you are a paying customer"
That's about the worst way to disrespect a paying customer. Is there a way to easily identify companies that does this, I can avoid them?
comment 5y ago · link · parent
comment 5y ago · link · parent
I am not convinced that you can learn the skills and knowledge necessary to be an effective software engineer in six months. However I think it will be an awesome avenue to improve your skills if you already have some background.
comment 5y ago · link · parent
def update_something_slow(thing_id, new_thing):
my_cache.set_by_str(thing_id, new_thing)
set_thing_in_a_database_layer(new_thing)comment 5y ago · link · parent
Can we learn from other professions such as doctors on how to handle these better? I believe it's very rare for a hospital administrator to over rule a doctors decision when it comes to patients health.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
How do you know for sure that you didn't? One of the main takeaways from the original article is that these errors are invisible from server side (your own stack) because it's the traffic is being throttled before it gets to your own servers. Unless you have very good and consistent client side availability metrics you probably wouldn't notice the 2%-3% drop.
comment 5y ago · link · parent
Can someone please explain how the original 100 shares turned into 220? Does this mean that after borrowing a share and shorting it, the original owner and the one who shorted can both sell it?
comment 5y ago · link · parent
Depends on the country. For example India is the largest generic drug manufacturer and has a population of over 1 billion, and they already export their drugs to many countries.