Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbergens
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
331.
▲
by
jbergens
10y ago
The main problem for me today is that some updates makes everything go haywire and cause my battery to go from full to empty in 2-4 hours. Normally it can last for about 48 hours. I have seen this in at least two different Android phones.
332.
▲
by
jbergens
10y ago
Since angular 2 is very new (not even released) it's hard to have any experience from real projects. I have used both angular 1 and react for over a year each and I don't really see any projects where I would choose angular 1 over
333.
▲
by
jbergens
10y ago
I think there is another problem. With framework the size of of angular is hard to maintain. It will be hard for others to take over if needed. With react's smaller parts every part (redux, react-router, etc) can be maintained by a sma
334.
▲
by
jbergens
10y ago
That's nice but then you don't have the "angular is the standard and I don't have to choose anything" advantage anymore.
335.
▲
by
jbergens
11y ago
Wouldn't it be easier to commit node_modules to the source control server? Then you don't have to do npm install on build servers.
336.
▲
by
jbergens
11y ago
It is for some companies. Or just do very crude estimates like "this might take 3-5 weeks" even for things that might take 1 week but could take 6 weeks. Sometimes it is better to start developing and then tell stakeholders that i
337.
▲
by
jbergens
11y ago
Another problem is all Windows applications that don't handle forward slashes well. To make minimal inpact on the users all those applications would have to be updated. That will probably never happen.
338.
▲
by
jbergens
11y ago
A lot of users open Explorer and looks at the path or copies the path. Nowdays the path is shown with arrows instead of slashes but when you klick on it to edit or copy it will use backslashes. This means a lot of users might have seen them
339.
▲
by
jbergens
11y ago
It's not simply an algorithm. It as learning computer. It remembers and learns from previous matches. He can probably play more matches against AlphaGo if he wants to but the computer will keep getting better and probably faster than h
340.
▲
by
jbergens
11y ago
Both React and Angular has existed for more than a year. Angular is a couple of years old and still works although they have new version.
341.
▲
by
jbergens
11y ago
And Riot. I think CycleJs also looks small and simple but maybe not in the same way.
342.
▲
by
jbergens
11y ago
Yes and the question is how many application really needs more performance than we have today? I expect Office and web browsers to work fine right now. Some special things like video editing or programming might have use for much performanc
343.
▲
by
jbergens
11y ago
But it's sad that not more framework authors tried StampIt or similar instead of reimplementing inheritance (more or less badly) https://github.com/stampit-org/stampit
344.
▲
by
jbergens
11y ago
Until they rewrite everything, like angular 1 to angular 2.
345.
▲
by
jbergens
11y ago
The jsx part is a bit of saying "X is better than Y because I like X!" but I see the rest of the article as more about why he thinks React+Redux are harder to use. A lot of it has to do with the number of things to learn and funct
346.
▲
by
jbergens
11y ago
This is what React does if you don't use Flux/Redux/something similar and it don't scale very well to medium sized or larger codebases. Web Components hasn't been supported by all browsers (and probably still isn&#x
347.
▲
by
jbergens
11y ago
But he could have used an existing template language. Seems like he only needs some templates with sub-templates and there are many solutions for that. Angular 1 with ui-router is for example great for mapping data into templates. Ember doe
348.
▲
by
jbergens
11y ago
For very small projects you can write react code in one or a few files without babel, webpack/browserify and similar tools. That closes the gap but I agree that angular is easier to just prototype something simple if you're not a
349.
▲
by
jbergens
11y ago
Yes, but whey you get to influence what to use you should know what you want and why. For the time being I don't recommend starting with angular unless you already know angular 1 or know that your first release won't be until the
350.
▲
by
jbergens
11y ago
I think Azure is the one closest to have a simple service for web sites. I tried a free site with Node and it was really easy to get working. Azure also has a lot of the more advanced things that AWS and Google has which is very important f
351.
▲
by
jbergens
11y ago
I think these are different use cases. If you create a CMS and allows your users to write templates you probably want to limit them a lot. If you use a template language as a part of building a web site or an application you probably want a
352.
▲
by
jbergens
11y ago
But if we are talking about server code it could run js on the server and solve most of these points.
353.
▲
by
jbergens
11y ago
sounds like very different views of engineers and engineering. I thought engineers was people with a specific education. Engineering could be almost anything technical. You could limit it to things engineers do if you want to. It sound str
354.
▲
by
jbergens
11y ago
It is very common to have async http requests that "push button" to to say when they resolve.
355.
▲
by
jbergens
11y ago
Flux is like an event model, every change goes through a single dispatcher and in the store(s) the code is single threaded. If you use multiple stores and have multiple components subscribing to them (to paint the gui) you aren't reall
356.
▲
by
jbergens
11y ago
And at least some countries adds taxes to the salary that the companies has to pay.
357.
▲
by
jbergens
11y ago
But selling software to others is usually to allow them to save money, they are lowering their ceiling and might approach the bottom some day. And then there is competition. When you have a lot of it it won't be possible to charge any
358.
▲
by
jbergens
11y ago
I have a feeling even protobug is a lot slower than a monolith that can just pass data in memory. You're still opening network connections, probably to other servers, and allocating memory on the receiving end etc.
359.
▲
by
jbergens
11y ago
Yes, they may count more on the most popular site but it doesn't have to matter. When enough people see it on Hacker news or Reddit it will be known anyway and it might get start on the site it is on. You can just judge it from a diffe
360.
▲
by
jbergens
11y ago
If you're using React you could look into different flux frameworks or even Relay+GraphQL to avoid jQuery ajax (or at least hide it). That last thing is the bleeding edge right now but looks promising. Flux is probably here to stay and
More ›