Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
esailija
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
211.
▲
by
esailija
11y ago
Do you have any reference for that? You can already technically use whatever you want and wasm will not remove the need for high level languages also having to supply a (multi megabyte) runtime as there is no direct mapping to wasm instruct
212.
▲
by
esailija
11y ago
> Runtime for a few selected implementations should be very well be packaged or installed along with the browser itself. Failing that, it should be cached. Web Assembly isn't related to this. You can standardize on a new language VM
213.
▲
by
esailija
11y ago
Frameworks are all or nothing, that is how they are different. Or does it make sense to have a codebase that has a mix of angular, react, backbone and ember for instance? Of course not. They are nothing like libraries in this regard.
214.
▲
by
esailija
11y ago
jQuery is not a framework, it's a collection of helper functions for the DOM.
215.
▲
by
esailija
11y ago
They use frameworks that they themselves invented specifically for their use cases, they didn't take someone else's framework because they know it doesn't make sense just as the author claims.
216.
▲
by
esailija
11y ago
Duplication is preferable to using the wrong abstraction.
217.
▲
by
esailija
11y ago
I don't see how it can be feasible to use it for implementations of other languages that don't directly map to webassembly like C. You would have to ship a runtime for the other language along with your application code. The runti
218.
▲
by
esailija
11y ago
This is a common confusion somehow. The programming language has nothing to do with the APIs provided by an environment. JavaScript can do all those things now, as long as you run it in an environment that provides APIs to do those things
219.
▲
by
esailija
11y ago
The permission to read a file's contents in a web app is given by either dragging the file from your desktop to the web app or choosing it with file picker. To save a file, a web app will have to ask the user to do a save as dialog. Th
220.
▲
by
esailija
11y ago
If you consider custom elements, how is it different from any other way of building ui?
221.
▲
by
esailija
11y ago
You can run web apps fully offline since like 2011. The only difference is that the initial "install" is 100kb instead of 100mb.
222.
▲
by
esailija
11y ago
Upvote is already backed by the arguments the upvoted post contains. Downvote is not backed by those arguments. They are not symmetrical at all and there is no bias.
223.
▲
by
esailija
11y ago
They are very different. The explanation for +1 is in the post you are upvoting. Thats why nobody ever has to ask "why the upvotes?'.
224.
▲
by
esailija
11y ago
Even without extensions, those things are possible or will soon be possible[1] on the web out of the box (except tray icon but persistent notification with actions can be done to achieve something similar). 1. https://github.com&
225.
▲
by
esailija
11y ago
FWIW there is a standard in the works (Media Session [1]) that will enable various use cases[2] for web app users to control with media keys, headphone buttons, from lock screen, notification area, ducking for phone calls etc 1. https:
226.
▲
by
esailija
11y ago
These seem to be mostly about undecorated generators. 3. Is a legit difference but it is actually a syntax error to do yield 1 + yield 2. So that is fixable in a backward compatible way.
227.
▲
by
esailija
11y ago
http://bluebirdjs.com/docs/api/promise.coroutine.html
228.
▲
by
esailija
11y ago
Yes but with this you lose the powerful features I just mentioned: automatic resource cleanup[1], cancellation, yield handlers.. don't you? 1. https://github.com/petkaantonov/bluebird/issues/1014
229.
▲
by
esailija
11y ago
coroutines with generators are more powerful (cancellation, automatic resource cleanup when the generator terminates etc) and have worked for a long time out of the box. The only difference is that you write `yield` instead of `await` and `
230.
▲
by
esailija
11y ago
This alone doesn't prove anything since Apple doesn't give 3rd party apps same capabilities as its own apps.
231.
▲
by
esailija
11y ago
There are probably hundreds of new APIs that have come after 2012 or whatever the year was when the ball was dropped. Those were just "from the top of my head" not something to be nit picked. I didn't also literally mean that
232.
▲
by
esailija
11y ago
> In fact Safari has often been the best mobile browser There are no other browsers on iOS. When you are using Chrome it is using UIWebView (in other words, it is forced to be a crippled Safari due to anti-competitive policy). Although
233.
▲
by
esailija
11y ago
No, those are web standards implemented by other browsers like Chrome, Firefox and Edge.
234.
▲
by
esailija
11y ago
But that "app" doesn't have any real capabilities so what's the point other than bookmarking websites? There's no background sync, proper offline, no notifications, no (usable) indexeddb, no rtc, no file system, no
235.
▲
by
esailija
11y ago
> Chrome just doesn't feel and look elegant and smooth I bet this feeling comes from the "smooth scrolling". Development Chrome currently has it, I really cannot imagine why didn't they do it earlier it's so tri
236.
▲
by
esailija
11y ago
I would be surprised to see any web standard that makes iOS Safari better for "appy web apps" (web apps that are more like native apps rather than documents and forms) implemented, as that eventually just makes Safari an alternati
237.
▲
by
esailija
11y ago
Which means you can actually use it in 20-30 years
238.
▲
by
esailija
11y ago
They want developers to go against their best interests and only develop apps for a very small portion of users. They don't want to compete fairly with developers, making some capabilities inaccessible to developers while keeping them
239.
▲
by
esailija
11y ago
Apple hates developers so many developers hate apple, that enough reasoning for you?
240.
▲
by
esailija
11y ago
SNI sends the server name in plain text
More ›