1,581 karma · joined Oct 22, 2022 (4y ago) · 796 submissions
comment 3y ago · link · parent
You made no point. Just because you don't want to follow a topic that does not mean it's ok to censor it and stop everyone from liking things you don't like. That would be a stupid thing to defend, specially considering your content is already served by recommendation systems.
comment 3y ago · link · parent
You're just missing the whole point of why you need n>1 instances. You're focusing on what might be the least compelling reason for the majority of applications, which is scalability.
Reliability and fault tolerance is a major selling point, and you can't simply expect to have adequate performance in more than one region if you're providing your services out of a single box in a single data center. The laws of physics ensure your quality of service will suck.
Operations also compell you to have multiple instances, ranging from blue/green deployments to one-box deployment strategies. And are you going to allow your business to be down for significant amounts of time whenever you need to update your OS? How would you explain all that downtime to your boss/shareholders? Are the tens of dollars you save on infrastructure a good tradeoff?
Also, security is also a concern. You're better off isolating your backend from frontend services, and software-defined networks aren't a silver bullet.
And in the end, are the tradeoffs of not designing your web services the right way really worth it?
comment 3y ago · link · parent
While Musk's Twitter explicitly censors references to Russia's genocide of Ukraine, Musk himself feigns ignorance and false indignation accusing the "western press" of insisting "on pushing such a lopsided view of the conflict".
https://twitter.com/VsimPohuy/status/1645699649003569152?t=v...
comment 3y ago · link · parent
Sorry, that's a bullshit excuse. Russia's invasion of Ukraine was hardcoded to be downranked like DMCA violations and high toxicity content.
This has zero do to with "editorial voice" or other bullshit excuse. This was a blatant attempt to smuther any reference on what Russia is doing to Ukraine.
comment 3y ago · link · parent
I never heard anyone complain that they had to explicitly create primary keys when creating tables in RDBMS.
> or query types for what one can search for.
I never heard anyone complain that they had to put together SQL queries to get data out of a RDBMS.
It seems your only complain boils down to pointing out nosql databases aren't SQL databases, and you didn't bothered to onboard onto the tool you knew nothing about. That's hardly insightful.
comment 3y ago · link · parent
That's very refreshing to hear. In a previous role I was in a similar situation than yours, but I pushed for RabbitMQ instead of postgres due to scaling concerns, with hypothetical seilings smaller than the ones you faced. My team had to make a call without having hard numbers to support any decision and no time to put together a proof of concept. The design pressures were the simplicity of postgres vs paying for the assurance of getting a working message broker with complexity. In the end I pushed for the most conservative approach and we went with RabbitMQ, because I didn't wanted to be the one having to explain why we had problems getting a RDBMS to act as a message broker when we get a real message broker for free with a docker pull.
I was always left wondering if that was the right call, and apparently it wasn't, because RabbitMQ also put up a fight.
If there were articles out there showcasing case studies of real world applications of implementing message brokers over RDBMS then people like me would have an easier time pushing for saner choices.
comment 3y ago · link · parent
SQLite also supports in-memory databases with shared cache.
https://www.sqlite.org/inmemorydb.html
If a message queue does not require any form of persistence, writes don't sound like an issue.
comment 3y ago · link · parent
What "things like that"? Do you mean the basics of querying data with DynamoDB?
https://docs.aws.amazon.com/amazondynamodb/latest/developerg...
This is literally the second topic in any intro to DynamoDB course, that comes right after creating your first DynamoDB table. Even that covers explicitly the basic requirements of running queries.
comment 3y ago · link · parent
Will desktop and laptops become niche, or are smartphones/tablets finding a far broader and popular market?
You can grab your smartphone and even tablet while you're riding the subway/train/bus/whatever, but you would never use a desktop I'm that scenario. Same goes for the line in your supermarket, a quick trip to the restroom, during lunch, etc.
The smartphone didn't replaced the desktop. It replaced the newspaper/magazine/mobile phone
The truth of the matter is that the smartphone form factor is far more suited for a broader range of usages than your desktop/laptop, and the combination of those use patterns with technology limitations do warrant specialized app life cycles and UX patterns. Desktop/laptops are suited for entirely different use patterns.
comment 3y ago · link · parent
If Apple provided a way to use Mac minis to serve as distributed compile caching and distributed build tool, I'd have a reason to buy some.
Also, mac minis are expensive when compared with other miniPCs in the market. There are some ryzen5/core i5 systems with 16 and 32GB of RAM shipping with Windows 11 being sold right now on Amazon for 300-500€. If all you want to do is run stuff in a browser and do work then you'd be hard pressed to find a reason to buy a Mac mini, let alone a Mac studio.
comment 3y ago · link · parent
That's their problem.
I fail to see how anyone could think that an intelligent answer to that issue would be "let's prevent everyone from serving static content from S3, specially those serving their sites exactly like it's advertised in the S3 how to guides", specially considering that solutions like AWS Config were simply ignored.
> These problems continue to happen
I want to continue to serve my sites from S3.
How is that my problem? Why should anyone else's oversight or even outright incompetence should stop me from using things right?
> In the grand scheme of things, I imagine that those data exfiltrations from corporate and government customers is a larger net negative for S3 (...)
Not my problem, and not S3's problem. Why are you pretending it is?
AWS is very clear in their shared responsibilities model. You, as the customer, need to have your shit together. If you do not, that's your problem. Not AWS's, and specially not mine.
Read the manual. Learn from your mistakes. Don't drag everyone else down just because you failed to read the freaking intro tutorials. And own up to your mistakes.
comment 3y ago · link · parent
You can also expect users to audit what they do with S3, which is something they should already be doing, and that does not force anyone to suddenly refactor their whole deployment workflow.
It makes absolutely no sense at all to argue that public access to S3 should be shut off and those who use it should start paying for CloudFront just because you feel that its too hard to check if your bucket is set to grant public access.
Also, there's already AWS Config for those who feel they need guardrails to enforce a specific configuration. AWS Config even let's you put together a Lambda to switch off public access to a bucket if some sloppy fingers indavertentlh set it on.
https://aws.amazon.com/config/
It boggles the mind how anyone could suggest with a straight face that your personal usecases should be automated away even though it screws over everyone else using it.
comment 3y ago · link · parent
All the more reason why entrepreneurs should not take lightly the prospect of filing for bankruptcy, and should focus their energy on ventures where they can minimize the chance of burning through cash right into bankruptcy. Otherwise it starts to sound like these serial entrepreneurs are just flinging crap at a wall to see which one will stick with little to no effort. This is a massive disservice to investors and employees alike, if not outright fraud.
comment 3y ago · link · parent
Bankruptcy is not a mild consequence. People can and often are ruined by a bankruptcy, not to mention the harsh impact that it has on employees who are suddenly forced out of a job. Declaring bankruptcy should not be considered as something mundane or yet another run-of-the-mill managerial decision.
Also, not being able to found a company is not what I would call "harsh". Even in a purely capitalist view of society, a entrepreneur needs to focus on ventures to ensure they are successful, and "failing fast" does not mean it's ok to file for bankruptcies.
comment 3y ago · link · parent
If Lichtenstein applied the exact same approach to the Nike logo and plastered it on tshirts, he would be sued to bankruptcy and beyond.
To me it's obvious it's blatant, shameless stealing.
comment 3y ago · link · parent
comment 3y ago · link · parent
There are plenty of problems to go around this approach and overall system design, but the weakest link is undoubtedly how JSON was used.
comment 3y ago · link · parent
I wouldn't say that. My take is that producing small metalic pieces is such a trivial task nowadays that it makes far more sense to subcontract this instead of maintaining a full blown factory.
I know people in aerospace that can order custom pieces with tight tolerances in whatever alloy they choose, choose the production method and treatments, and get those pieces delivered to their doorstep in a matter of days.
A Meccano set doesn't even come near regarding demand and tolerances, and I'm sure that it can be as expensive to assemble as plain old nails, and requiring far less specialized equipment.
comment 3y ago · link · parent
The non-diehard fans can simply buy Lego knockoffs.
I'd like to support Lego but I don't get to do that by buying used sets or knockoffs, but Lego's pricing also prices me out of the market.
comment 3y ago · link · parent
Yes it was. They stored state in a huge JSON dump which ended up working like a zip bomb by the way they had to escape a string. This alone resulted in an exponential increase in memory that quickly became a problem.
Think about it for a second: would they experience this issue if they stored an in-memory stack per user? They wouldn't.
Heck, it seems that they could live with their JSON choice if they replaced '/' with any other inescapable character and converted it back to '/' when reading.