I don't have the feeling that what he really means with "Inline CSS works better in a component world" is "Inline CSS is the better choice since the 90s".
985 karma · joined August 26, 2015
I don't have the feeling that what he really means with "Inline CSS works better in a component world" is "Inline CSS is the better choice since the 90s".
This definitely leads me to believe that
you don't have much experience with modern
web frameworks
Here we go again. It would have suited the discussion even better if you said "it is definitely self evident".Would you say that this very site - Hacker News - is using this type of "components"?
Every CSS rule is effectively in global scope.
We had this problem in programming forever. These days, you can put your function in a class in a namespace ... still the namespace sits in global scope. But we never came to the conclusion that we should make all code inline to solve it. Fortunately.So if you make a CSS rule to make links in your userlist red:
.gizmosUserlist .name a { color: red }
Then yes, it will apply to other .gizmosUserlist instances.Shadow DOM is a way to prevent it if you want.
Personally, I think it is a good thing, that you can make all links in all gizmosUserlists red if you like and can target a specific one with a more specific selector if you like.
In modern web applications, it's
pretty self evident that components
are the right solution
I often see this argument of "self evidence" made by developers who claim that some modern "best practice" approach is the right one.In my experience it is an indication that the proclaimed "better" approach is actually inferior. And the author had to resort to the argument of "obvious self evidence" because there are no better arguments around.
I think it is driven by what I call "tool religion". Developers who invested significant amount of time into learning a tool become religiously attached to it. Because they now want to be an "expert" of the "best way". Not just "Some guy with a preference".
If a function like this exists, it would just sleep until the given promises are resolved. I don't see how that is realted to the term "multiprocess".
I don't know much about Python, but in a typical PHP/Apache setup, Apache simply starts as many processes as needed to answer all requests.
In pseudo code I would think it would look like this:
def my_view(request):
name = async_get_name() // returns a promise
city = async_get_city() // returns a promise
waitUntilResolved(name,city)
return HttpResponse('Hello '+name+' from '+city) Historically, the PE for the entire
U.S. stock market is about 15. But
today’s market PE of roughly 23 is
about 50 percent higher than the
historic average
Every time I see statements about the PE of the market, I wonder which PE they mean?The price of the companies divided by their past revenue? If so, which past? Last month, last quarter, last year?
The price of the company divided by future revenue? Then future revenue guessed by whom and for which time frame?
Example: What do you expect to happen when the server with your DB goes down? Just send the next UPDATE/INSERT/DELETE to DBserver2? Which is replicated from the DBserver1? When DBserver1 comes back, how does it know that it now is outdated and has to sync from DBserver2? How does the load balancer know if DBserver1 is synced again and ready to take requests?
Even if you set up all moving parts of your system in a way that handles random machine outtages: Now the load balancer is your single point of failure. What do you do if it goes down?
What happens when the IP address changes?
Changes how? It's not as if the IP of a server magically changes out of the blue. Why re-invent DNS?
There is no reason to re-invent DNS. Each docker container will have to have the info where the other containers are. So you could write that into /etc/hosts of the containers for example. Also, how do you protect these services
from unauthorized access?
You need to do this no matter if you use Kubernetes or your own config scripts. If you have microservices then you need
a way for services to discover each other
Why not run them in docker containers with fixed IPs?What made you settle on a multi-machine setup instead? Was it to reach higher uptime or were you processing very heavy computations per request?
Is this the only site of this kind? If so, how can this only have 3 upvotes?
That brought me to this page:
https://mozilla.modular.im/_matrix/saml2/authn_response
Which only displayed the word
ForbiddenNo need to tie it to react.
One can have a legitimate debate about 48, 70 and 99 being big numbers. But not 30, 28 or 19.
Is a computer running voice recognicion software a conscious being in your book?
to perceive something you have to
have a representation of it in memory
Why? I cannot think of a definition of "perceive" that would lead to this conclusion.If you touch the soap and the tap, that will surely transfer germs to your hands that the person before you left there?
https://github.com/internalfx/pageflo/blob/master/system/ser...
Is there a reason for this?
So React itself brings no function to transform JSX into javascript clientside?