Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Touche
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
77 ms
·
781.
▲
by
Touche
10y ago
> Automatic code splitting, routing and client-side rendering are necessities to provide websites that don't require a full screen repaint and server request to change small stuff. Client-side routing is rarely used to change small
782.
▲
by
Touche
10y ago
The example in this article is Hacker News, which is simple HTML pages. The example (and other similar SPA Hacker News examples) is worse than the real Hacker News.
783.
▲
by
Touche
10y ago
I still need a good reason why I need DI built into a framework and the following is not sufficient: SomeClass.SomeDep = MockDep; In other words, inject through static properties. I do this with normal classes to test models and the
784.
▲
by
Touche
10y ago
Words do have meaning but "native" has pretty unclear meaning. Is JavaScript native? JavaScript is interpreted when it first starts, but eventually turns into machine code through JIT by most JS engines. So is JavaScript native be
785.
▲
by
Touche
10y ago
Thanks, what I was asking is when are Angular components going to be Web components?
786.
▲
by
Touche
10y ago
Is Angular ever going to support web standards such as web components?
787.
▲
by
Touche
10y ago
Yep. It was horrible to use, but it had type checking, sure. So did Objective-J, from around the same time period, fwiw.
788.
▲
by
Touche
10y ago
> there is no way the business will allow us to migrate to v2 We as engineers should not accept this. Business should not be involved in technical decisions like library upgrades. Business and engineering should negotiation development
789.
▲
by
Touche
10y ago
Thanks, so they are probably not using a contenteditable element. In that case it makes sense that they would need to use a CSS animation to blink the cursor.
790.
▲
by
Touche
10y ago
There's a lot of grass-is-greener comparisons happening. I'm a long-time Vim user and if I forget to turn off syntax highlighting before opening a large file it comes to a crawl as well.
791.
▲
by
Touche
10y ago
I don't know what you are arguing about, I didn't say Electron apps are as performant as C++ written editors. I said that users, as evidenced by their downloads, don't find this to be as big of a concern as you (and many othe
792.
▲
by
Touche
10y ago
I think I don't understand the issue well enough. This looks like a standard blinking cursor to me. Users expect a blinking cursor in an editable text field. I'm not sure why this implementation is slow or why they needed to imple
793.
▲
by
Touche
10y ago
> Wouldn't it be better to make native application Better in what way? The market has voted with their downloads, they don't agree that the problems with Electron apps are as bad as you feel that they are.
794.
▲
by
Touche
10y ago
The point of EME is to make it impossible for a browser to show a web page without having financial deals with the websites (or a 3rd party representing the websites). That is what people oppose. The fact that you do not directly address th
795.
▲
by
Touche
10y ago
It's offloading the cost of implementing proprietary software onto others.
796.
▲
by
Touche
10y ago
The free ride stops when they add stuff to a spec that other people can't freely implement.
797.
▲
by
Touche
10y ago
> And that's different from a web page that won't allow you to access it without a password, how? It works the same regardless of what browser or OS you are using.
798.
▲
by
Touche
10y ago
There are no use cases for EME other than DRM.
799.
▲
by
Touche
10y ago
Meaning anyone can implement the technology that can show a web page. You can't show Netflix's web page, unless they preapprove of your DRM.
800.
▲
by
Touche
10y ago
Phones are commodities too. We can debate at what stage of commoditization it currently is in, but clearly that's where it's headed, and the days of you being able to just grab one with minimal research the same way you can with T
801.
▲
by
Touche
10y ago
It addresses it with counter examples that indicate that a "hierarchy of quality" is not something that really exists in consumer products. The fact that so many companies chose not to make the hierarchy clear is an indication tha
802.
▲
by
Touche
10y ago
I've never heard such a confusion when it comes to TV purchases. Life is imperfect and changing products require a little research. You can't just go to the store and buy the best socks either; if you want the best you got to do r
803.
▲
by
Touche
10y ago
How would that work in practice, though? Using Babel JSX gets compiled to React.createElement('div', null, {}). You can configure babel to output something else if you use something other than React. So what would a standardized J
804.
▲
by
Touche
10y ago
What's the benefit of JVM in wasm over compiling JVM langs to js?
805.
▲
by
Touche
10y ago
Llvm ir isn't cross platform, for starters.
806.
▲
by
Touche
10y ago
When you say "Web Components", what is it that you are talking about? I assume you mean custom elements. Custom elements are DOM Nodes like any other. They are represented in JavaScript like any other object. Of course you can pas
807.
▲
by
Touche
10y ago
Depending on your use-case you can use a variety of options for data-binding including 1) No data-binding at all (small components), or 2) An HTML-inspired data-binding solution like what Polymer provides or 3) A virtual-dom library like Pr
808.
▲
by
Touche
10y ago
I wasn't judging virtual DOM has wholly good or wholly bad, just pointing out the often incorrect belief that some how React does a magical thing that you are unable to do yourself. Batching, etc. is no different. The advantage in the
809.
▲
by
Touche
10y ago
This article is trash. In retrospect it was a huge waste to coin the term "web component", by doing so the expectation is that web components eliminate all need for 3rd party JS libraries, which as the article points out, they don
810.
▲
by
Touche
10y ago
> The DOM is so damned awkward that it's faster to maintain a virtual DOM tree, diff changes to it on the next tick with those of the previous, and then only modify the real DOM tree with those changes like React does. Sorry, but it
More ›