629 karma · joined February 26, 2016
With event sourcing there's also the concept of snapshotting, btw.
The idea is to store not the current state of your app, but the transitions (events) that derive into the current state.
Think about how git stores your source code as a series of commits.
In theory it is a beautiful idea; in the real world, it is hard to implement.
Stopping European and American companies from making business with Chinese companies puts us closer to a war.
A bloated web framework makes your code simpler because there are many things that you don't need to reimplement by yourself.
The problem is when developers use a framework without understanding it well and:
1) Reimplement in the code features that are already present in the framework. 2) Fight against the framework because their business needs conflict with the conventions choosen by the framework. 3) Fight against the framework because they don't agree in the way the framework solved a particular problem and want to solve it their way.
In both cases, the origin of the issues is not the framework itself.
> The most trivial way to implement a website for high traffic is simple static content generator
Agree. But in any case, those kinds of sites are not hard to catch neither.
How many patiens are uninsured? 10%? 20%?
This still does not explain how the hospital can bill $5k for one hour of a nurse that may be making herself $50 per hour at most.
This works in Denmark because of Denmark, but it's still a system that has obvious weakness.
[1]: https://en.wikipedia.org/wiki/Corruption_Perceptions_Index
On the other hand, this is something that happens mostly on countries with a huge prevalence of obesity, such as US.
How many people die from those diseases before 40?
Those diseases have a primary cause: obesity.
And a secondary cause: extension of the life expectancy; people who die at 40 from an infection or an accident, cannot die from cancer or a heart attack at 55.
The importance of saturated fats as a factor in the extension or reduction of life expectancy is orders of magnitude lower than the former two.
That means that you can not use 10.0.0.0/7 (which would include 11.0.0.0) but you can use 10.0.0.32/30, that includes from 10.0.0.32 until 10.0.0.35.
Being all the other factors equal, isn't 10.1.1.1 easier to type and more "aesthetically pleasant"?
Now tell them that they will not be able to code anymore and, intead, that they will have to deal with other developers' problems.
You need to offer a good raise for that.
(is there any emoji for facepalm?)
Really, the vast majority of web apps built today will see hundreds of requests per minute.
Still, Github and Shopify have proven that Rails can scale to hundreds of thousands of requests per second. Which is a great number.
Said that, if my goal was to build an app with a simple set of features that don't change often, and that will serve 100 million users, where none of them is paying user, I would probably not choose Rails.
It can be a government or a corporation.
Al least, in our democracies, you can decide the government with your vote.
If you take into account that most of the people sitting on the floor of the square bought their beers in the convenience store and probably paid less than one Euro for each of them, I don't think that the state will loose a massive amount of income via taxes.
On the other hand, I know that measuring everything by the economical peformance is a really common thing to do in the other side of the Atlantic, but the neigbours have the right to be able to sleep, even with the windows open. Those squares are not zoned as industrial area, so they are meant to be silent at night. By law.
What would probably happen is that the people being noisy will appologize, try to be more quiet, forget about the incident after about 5 minutes, and go back to the previous amount of noise until some other neighbour complains.
In any case, this is not special at all. Every European city has regulations about pollution, including noise pollution.
That's what Macron wants for the country he manages?
The fact that families tend to sleep in futon instead of beds make it even more convenient, because you can just lay out a bunch of futon on the floor at night for all the kids.
I regret the day I thought that it would be a good idea...