334 karma · joined November 11, 2014
With type 2 diabetes the body is in general less sensitive to insulin, more insulin producing cells won't fix the underlying insensitivity issue, right?
This should be possible with something like bsb-native (https://github.com/bsansouci/bsb-native)
I haven't tried this because I don't have a pure Reason project
Congrats on shipping!
I can't imaging that native phone apps will still be popular in 10 years. I think that they will be replaced by the web in a similar fashion as web-apps have replaced desktop apps.
Does anyone know any best practices if you want to adopt this is in an existing application using a relation database (i.e. PostgreSQL). I don't know how to implement this without causing N+1 queries. (or Worse).
For example:
{ Post {
title,
content,
Author {
name,
avatar,
},
Comments(first:10) {
..
}
}
}A naive implementation would cause a lot of query, for each "edge" a query.
Optimized in the sense that it uses less memory and cpu. But the code isn't optimized for humans to reason about (not to mention changing it.)
React was never about performance, it's about maintainability, readability and reasonability.
For me readable and maintainable code is (almost always) more important than fast code.
LOVE-LETTER-FOR-YOU.TXT.json
How many 'best practices' do you need? What about 'higher order components'? Use proptypes in development? 'Avoid local state'?
>constantly breaking changes
I call bullshit, what was the last breaking change? Every large release still supports the old deprecated syntax, but with warnings.
>Every tutorial before the last month is already outdated
That is a big exaggeration; I wouldn't advice anyone to use 'pre es6' tutorials, but the concepts still apply.
>everybody has a different way of setting up webpack / isomorphism / templating.
No they don't, maybe a small differences and what do you mean with 'templating'? It's not Angular.
Edit: The reason I like React more is the fact that Facebook uses it in a high traffic production setting.
Edit 2: I think the whole Javascript (or framework) fatigue is just a 'transition problem'. Old tools are getting replaced by new tools, causing confusion..
I get the feeling that "full Configuration/Deployment" tools like Ansible (Puppet, Chef and Salt) are getting eclipsed by tools like Docker.
For me Ansible was just a "half-way" station. 1. Manual software installs 2. Script assisted software installs 3. (some) server Configuration/Deployment with Ansible 4. Docker (Rkt, appc) 5. ??
Is this a fair assume that tools like Ansible are on the way back out? Or should you keep it to configure the Docker hosts?
You shouldn't replace:
if(x == null)
{
y = x.doSomething();
}
with if(optionalX.isPresent())
{
y = x.doSomething();
}
You should replace it with: y = Optional.ofNullable(x)
.map(ClassX::doSomething)
.orElse(null);You should choose React because it makes building reusable (web)components for applications much easier.
You're betting that Microsoft (or any other company) will continue to support all it's api's indefinitely. And when it doesn't, you not caring about a "wider landscape", will bite you.
Silverlight is great example of this, one year it's "the best" (enterprise) technology the next year it's dead. I wonder if it's even officially supported on Windows 10.
"Do you actually think that HTML, CSS and Javascript are good technologies to build applications on top" Are you serious? I am not saying "the web" is perfect, but this just nonsense.