It’s for social validation. As in “these companies trust us, so you should too”. Yet there’s never any proof the companies are using the product or to what extent.
> Yet there’s never any proof the companies are using the product or to what extent.
Yeah, as soon as you get a single signup from someone using their work email, you add the logo. Got a @google.com signup? Google logo right on the homepage ;).
I've seen a few places write "used by engineers at" rather than "used by", which is at least accurate and doesn't imply any business relationship with the company (even if most people don't notice the difference).
Just to clarify, no "hate" towards the OP, I hate the game, not the player.
Many of you guys probably don't even need API for web development. Same as we didn't. We rewrote codebase, removed React and Graphql part and now Django serves html. Win win for everyone.
We don't have mobile app and don't even plan, but if we do, we always can implement some rest api.
I don't have information on how team investigated the whole problem. What table looks like? What indexes exactly? Was there any explain analyzing? 28 millions are not as many as it seems. We have similar sized table but when indexed properly, query is always quick
I think that is a good question. It could be the queries were not very amenable to using indexes. In the article they also mentioned the query was taking 'minutes' which seems to indicate it is not an issue due to DB load or because the database is under resourced. I can understand that even if you have everything properly indexed if the DB isn't big enough or you are receiving too many queries then PG can still struggle with queries hitting 28 million rows. We have at least an order of magnitude more rows in one of our biggest tables and are doing paging queries against it and never receive timeouts. We use RDS which I guess is not super great for PG performance and are not even close to using the biggest instance.
If it's hitting an index properly it should perform binary search on it, and just be able to locate the row, correct?
They also say "We had a very large table (28 million) rows that we were getting timeouts querying on anything other than the primary key."
Which implies that indexing did work if that was primary key. How could other indexes fail? They should work with similar performance. Doesn't that imply they must've done something wrong or there was some sort of bug somewhere? Or were the column in some fashion I can't think of?
Also what I think. And it feels like partitioning would imply much more work and potential future implications rather than figuring out what was the issue with some queries or indexes. Postgres should be able to handle billions of rows.
And if the issue was with the queries per second, it would feel to me like it would still be less disruptive to just have some sort of replication going on for reads.
And partitioning really makes sense to me only if you are going to have it on multiple boxes, because otherwise I don't think there really should be many performance gains compared to just indexing?
I'm not seeing if/how they put it on multiple boxes?
A little over 10 years ago we were saying this about jQuery. React definitely solves problems that jQuery just couldn't solve well. I know that there are issues in react we still need to address, so I know it will be a matter of time before some new way is developed that will supplant react and we will talk of react then as we talk of jQuery today.
Embedded? I would have used the term "infectious".
Its complexity and ecosystem will be its Achilles Heel. There are no small number of examples of folks rewriting their React apps in weeks or even a weekend in something like Svelte. SolidJS is "close enough" in code patterns that folks will be very tempted to jump ship. Vue now has a JSX option.
But here's the kicker: frameworks like Svelte don't need wrappers around vanilla JS libraries like React has. It can use them, but it doesn't need them like React does due React's VDOM and execution model.
In 2012, jQuery and jQuery plug-ins were everywhere and necessary. YUI was dead/dying. Mootools and PrototypeJS were already quite dead. That inertia couldn't stop React despite the rewrites.
Because let's face it. We love rewriting front ends, and every rewrite erases the past. No one's gonna choose a rewrite in React if they have any notion of the alternatives.
On the frontend, Java was dropped fairly early on. Long before the iPhone effectively killed plugins. The backend has always been less prone to singular dominant monocultures, had far more stickiness, and greater diversity of implementation than frontend.
There are 1980s mainframes still running COBOL, especially in older, more conservative industries like banking. Those same banks have cycled their public web front ends literally dozens of times since the mid 1990s.
PHP still does A LOT of heavy lifting even if the front ends have bounced between scriptless HTML forms, PrototypeJS, Mootools, YUI, jQuery, Angular, React, etc.
It's not about programming language on the front end (unless that language is JavaScript, but that's a whole other conversation). It's the implementation of layers on top of JavaScript and the browser APIs, and those will remain rapidly shifting sand for quite some time.
Remember, jQuery had about a decade of prominence in the web dev community before the component-based frameworks were released and fairly abruptly drowned it out. That said, jQuery is still far and away the most popular JS library deployed today.
React isn't going away, but something else will always eventually take center stage and suck all the oxygen out of the room during new web dev planning.
Java is still widely used for Android, not to mention its usage in enterprise backends. I agree with you though, React will stick around for quite a while, just like jQuery.
Communism has never been tried? Could you explain a little bit more? I don't know if you are joking or lacking knowledge. Or maybe I lack some knowledge you know about
I don't agree with the poster--I think communism has been tried, sometimes even successfully (i.e. kibbutzim).
However, the examples of communism which capitalists like to point at as failures, such as Stalinism or Maoism, didn't ever actually distribute wealth, instead merely changing the concentration of wealth. This points to a failure to actually achieve communism, rather than a failure of communism to work.
Unfortunately I don't think there are very good explanations of this out there. The best I can find is this[1] but that's pretty dense, assumes a lot of prior economic knowledge, and is (ironically) behind a paywall.
I will read up on what you posted. But to answer GP, I basically agree with what you posted.
From a philosophical pov, the well known regimes (Stalinist USSR, Maoist China, Varsovia pact regimes, DPRK) were dictatorships and they were failed attempts at communism.
From a historical point of view it is fine to call them communist.
I did not argue that communist regimes didn't fail. I even think that was inevitable. And I even think that it was inevitable that the communist ideal would be immediately abandoned by every single regime once they gain power.
That doesn't change that none of the well known historical regimes under the communist brand ever came close to the communist ideals. The betrayal of their original ideals was decried by communists themselves very early on.
My argument is actually that there are good reasons that humanity as it was 100 years ago and as it is now is incapable of achieving the communist ideal and therefore we need better philosophical theory on how to get closer to that ideal. I think the idea that revolution can bring about the communist ideal was naive.
There are comments here about smaller scale communist social systems claimed to have worked I did not know about and about which I will read.
The important bit is that every communist country tried to implement communism and every single time it led to one-party authoritarian nightmares where actual thoughtcrime was illegal and brutally enforced. That indicates a fundamental problem with the ideology to me, and one that isn’t ever worth trying again.
I do not think it indicates an unfixable problem with the ideal. It does indicate fatal flaws with the plans to get there. That is why I believe we need better theory on how the communist ideal can be achieved in a democratic way. I do not know if this better theory can be developed. And I do not know if humanity will ever align with this ideal. The communist ideal of a classless society is in many ways unnatural and presupposes that we will overcome some of our vices. Note that this does not solve all of our problems and therefore I think it is outdated. The 17 UN SDGs are a far more up to date set of directions we need to work on.
Just to make it clear, I think the 10 planks/10 point action plan of communism from the actual manifesto is simply WRONG and would never have achieved the communist ideal (and nowadays it is also outdated). An authoritarian nightmare is the direct result of that plan, points 1, 3, 4, 8 and 9 ensure that. Even more damning and depressing is that many communist regimes did not actually implement point 10 by actually having mandatory child labour even if education was free.
But also note that most capitalist countries actually implement to some degree point 5 (having a national central bank) and many to various degrees implement point 10 (free education, no child labour) and several implement 6 (state controlled transportation and communication). And this was for the better.
No system has managed to reach the point where it could be called "pure communism", because it was "interrupted" in the middle (e.g. by becoming authoritarian).
Saying "communism fundamentally cannot work because I know examples that did not work" is similar to saying "democracy fundamentally cannot work, look: Hitler was democratically elected".
I think it is inevitable. Why would anyone willingly give up their rights to tools of production? Correct me if this is a gross misunderstanding, but how can you get people to invent things in their garage when statesmen are trotting around looking for "unearned surplus"? And if the wealth will somehow end up being distributed to you anyway, and more work doesn't have any meaning, why try anything at all?
Well, productivity today is actually the biggest problem humanity is facing, if you think about it: productivity is directly linked to fossil fuels, which are not unlimited (that will soon be a problem) and also are the cause of climate change (that will soon be a problem too).
So I could ask it differently: why would you want anyone to spend a lot of effort keeping us in the direction that will globally make our society collapse?
The only two choices aren't "status-quo vs mediocrity", that's just a false dichotomy. Why can't people invent clean bio-energy, low-powered computation, space travel, cure for all kinds of cancer, or free desalination? Does every invention need to burn society down?
Apparently, yes. That's called "rebound effect". I don't know of an invention that did not suffer from it.
5G is more efficient than 4G for the same usage, but it allows us to use more, so we will use more. Reusable rockets are more efficient, but they will allow us to launch a lot more rockets, so we will.
We don't know how to constraint ourselves. That's probably also why we won't be able to voluntarily degrow, and therefore we will just continue until it all collapses.
You mean the "why can't people invent <place here some cool technology we don't have>" part?
Not sure what to say to that, to be honest... would be cool to live in peace in a sustainable way, that's for sure. But I don't see that as an argument.
I think this fallacy you displayed is in fact core to the discussion in this thread. The whole thread started from the need for equity and then user tomp basically went (paraphrasing) "why would you ever want equity? communism bad".
Some people want to dismiss the entirety of the thought behind communism and behind equity and use the historical regimes as justification even if those regimes did not in fact achieve or uphold communist ideals.
People will invent and will create regardless of whether that results in wealth or not. In fact the current capitalist regime is te perfect demonstration of this. People continue to invent things and continue to create art of all kinds despite the fact that most of the times the royalties are captured by corporations. And before IP was created, people did invent and create because that is simply what they do.
Also people will continue to work even without the threat of starving. An example of this is Japan where plenty of retired people engage in community work even if they have no personal need to do so, they do it for the community. This level of care for the surroundings and for the community makes Japan spectacular. Even the most anti-work will eventually get bored and start doing stuff.
This fallacy is used to dismiss all kinds of anti-capitalist ideas not just communism.
A society without intellectual property is against capitalism. A society with UBI is against capitalism. A communist society where workers can control the means of production and where things are redistributed according to needs is against capitalism. All three ideas are against a small group of people maximizing the captured (by themselves) value of the work of everyone else.
This view that humanity is some sort of herd of kettle that will not do anything unless threatened with starvation by a group of wealthy capitalists controlling the herd is bleak and disgusting. To bring it full circle, of course capitalists are against equity.
if you are logged in, it has to check if you upvoted some of those listed items (submission and comments). If you're logged out, it doesn't need to check anything - so it's faster
In fact, if I remember right, when logged out it can serve cached, pre-rendered pages. Sometimes when HN is down or underperforming, clearing your cookies or opening in incognito will still allow you to view the site because the cache is still present.
> to one very specific type of client is frankly stupid
However, I see this specific type of clients that need just basic web functionalities, e.g CRUD operations and build something basic more prevalent than those that need very instant in-app reactivity and animations and so on (React, and SPA ecosystem).
Nowadays that's exactly the opposite, every web developer assumes SPA as default option, even on these simple CRUD examples.