- redditor98654 parentus-west-2 is indeed very large, but will still not be able to take a full failover from us-east-1
- Hi there, I was looking to get a NAS that I can just install and not have to worry about maintenance too much and senility was at the top of the list. If not synology what would you suggest?
- May be a “fast follow”? Right after launch of the “MVP”?
- Do you use or have used MySQL in the past?
- One benefit is that it makes these operations lazy. There are no intermediate lists created when you call a map on a stream. If map were a method in a list, it would need to return a new list. And if you have multiple such maps etc, it would create more such lists for each map invocation.
- From what I recall, Reddit uses AWS extensively. Could they not have replaced RabbitMQ with SQS? You get the near unlimited horizontal scalability, extremely good uptime, guaranteed at least once message delivery and for the case of a worker crash, the messages will become visible again after the visibility timeout (since they wouldn’t have been deleted by the worker).
- The way you have expressed this, I am borrowing it for myself. Many times i run into these kind of situations and I fail to explain why doing something like this is frustrating and actually useless. Thank you.
- Interesting. I have used free marker. Pretty happy with it in general. But inability to mutate collections is an annoyance.
I will checkout blueprint. A zero dependency library is always a bonus. I don’t see any mention of thread safety in the docs for the engine though.
- A while ago, I had attempted to do it the Rust style with a Result type in Java (where it is called Data oriented programming) and the result is not great. I was fighting a losing battle in a naive attempt to replace checked exceptions but still retain compile time type safety.
- They thought Alexa will enable users to buy more from Amazon just by voice. But most users turned out like me. I would not spend a single dollar on Amazon without actually seeing the item on my mobile or desktop. I wouldn’t even add to cart via Alexa. That’s not an ideal user for device and service that requires hundreds of millions to run.
- Hmmm, thinking aloud, Oracle?
- Whoa! Mind sharing the company?
- I use the dedicated app but IntelliJ ultimate bundles datagrip into the ide too.
- If you have the license for it, it is hard to beat Datagrip from Jetbrains. Support for just about any database and also integrated support for AI/Copilot making it much easier to write exploratory queries.
- Do you already have some common templates ready to be used somewhere?
- I know this does not answer the question for non-Amazon folks but the internal Amazon metrics portal UI is so functional and dense that it was a joy to use. If someone from AWS Cloudwatch is seeing this, this is a plea to make cloudwatch equally functional and feature rich.
- Interesting that you choose to do it manually. Do you do this as a transaction so that the indexes are always updated. If not, how do you handle partial failures?
- Not really. I have done multiple AWS pricing and costing exercises while launching services and there was never a direction from the VP to sell it lower than what it costs to build and operate. Cost to build and operate includes everything from salaries, infrastructure and many other line items. And usually things are projected 3-5 years into the future and P&L analysis must show that eventually the service will make a profit. It does make some assumptions about minimum customer adoption for the profit margins to materialize which eventually becomes part of the product and sales teams goals.
The costing model does allow losses to be incurred in the initial years because building the thing is more expensive at first but then it should settle down and revenue should outpace expenses.
What can happen with these open source products being launched as a service is that that initial cost can be cut down by as much as 50-75% but rarely more than that because you still need to build all the surrounding infrastructure, documentation, UI. It still gives AWS an advantage by relying on an existing body of work they can start with where many problems have been thought through and solved. Also you will likely get a good product roadmap skeleton ready to be prioritized which otherwise can be a huge time sink.
In a nutshell, no. AWS won’t sell a service at a loss (there are exceptions of course) but there is room to incur a loss at the beginning but it is priced to eventually turn a profit. Whether that happens for every service in reality is a different story.
- Correct, you lose that ordering but then the only other option is to retry indefinitely. You have to think through what your error handling looks like as is the case with any application.
- I agree on the head of the line blocking problem and that not everyone needs the per partition ordering. For that I have started to use SQS FIFO with the message grouping key being the logical key for the event/resource. This gives me ordering within the key and not extra ordering across keys. So I don’t have the head of line blocking problem.
If I need multiple independent consumers, I just instead publish to SNS FIFO and let my consumers create their own SQS fifo queues that are subscribed to the topic. The ordering is maintained across SNS and SQS. I also get native DLQ support for poison pills and an SQS consumer is dead simple to operate vs a Kafka consumer.
It does not solve all of the mentioned problems like being able to see what the keys are in the queue or lookup by a given key but as a messaging solution that offers ordering for a key, this is hard to beat.
- What do you mean? My green card application has been pending for 9 years. Based on current projections I won’t get it in less than 100 years or so. Indian. This is a well known fact.
- How did you run explain queries on DynamoDB? Or may be you mean something different and I misunderstood you?
- At this point I have tried them all and don’t like any of them. What I really want to know is more granular data on where I am spending my money on. These apps will tell me I spent $6000 last year at Costco but it cannot tell me if some that was on spur of the moment items like a new pair of bedsheets that I probably didn’t need or actual groceries.
What I want is an app that can do OCR recognition of the bill or invoice and categorize the individual items and not just the whole invoice into a broad category. Sadly this tech does not exists.
- I don’t agree. What do you mean by all the additional nonsense if a class.
This sees to give an unreasonable leeway to copy pasted code to imperative functional languages. What if the copied function also has side effects, mutates a global variable etc. All these problems still exists.
- Why is this a OOP problem and not a problem in large code-bases in general? I can easily see it happening in functional or imperative languages where one creates an almost identical copy of a function instead of reusing and modifying an existing one.
- Was this in Amazon? If so, it might have been me. Sorry about that. I have learnt my lesson now.
I don’t recall doing it for domain objects though.
- Yeah, but should that math equivalence hold for programming though? Programming is different. x=x+1 is perfectly legal in programming but does not make sense in algebra math and could confuse mathematicians.
- Do you have a solution for cross device syncing? Say you need to access a password for an app.
- You are correct; that certainly is possible - this setup was my engineer's instincts for maximum modularity and separation.
My ideal password manager and TOTP account feature would have been something that allows a random username as the account key and does not require any email. That would have cut down the emails to only 2.
But all these password managers and 2FA accounts require email - I would have guessed random username would be harder to crack and would be better anonymized.
- 4 points