Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
inglor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
88 ms
·
931.
▲
by
inglor
11y ago
This sounds like a fun experiment but it looks very far from something I can actually use in development to test against: https://github.com/neumino/reqlite/blob/master/lib/range.js#... https:/
932.
▲
by
inglor
11y ago
This might be an "obvious" question but where is the list of talks or call for authors?
933.
▲
by
inglor
11y ago
It's fine if you're offended by it - this means you're exactly the sort of developers conferences want to filter. Raising a good community is extremely challenging, lots of people feel excluded and making an inclusive confer
934.
▲
by
inglor
11y ago
What happens when they have to perform two things that are unrelated and suddenly their performance is down the drain because they `await`ed them all?
935.
▲
by
inglor
11y ago
I gave this talk, if anyone has any questions feel free to ask. I'd also like to point out this was given at ng-conf Isreal http://ng-conf.co.il/ and that none of the spec and hard work involved in getting this into An
936.
▲
Observables and Data Flows in Angular 2.0
(ngconf.azurewebsites.net)
3 points
by
inglor
11y ago
|
1 comments
937.
▲
by
inglor
11y ago
Bluebird has a `Promise.each` which does this. Also, you can use `thenable chaining` - make an initial promise and then chain it on each iteration - it becomes very similar to a for loop. I can add an example if you'd like.
938.
▲
by
inglor
11y ago
Bluebird is much faster and easier to debug than native promises. It is very feature rich and it runs _everywhere_. It also converts callback APIs to promises at one go. That said, on a client-side app there are cases where I'd use nat
939.
▲
by
inglor
11y ago
If you have a suggestion for warnings please open an issue https://github.com/petkaantonov/bluebird/issues If you want to contribute we'd love docs contributions as you clearly have good technical writing. He
940.
▲
by
inglor
11y ago
Yes, adding `catch` is mostly an anti-pattern today, most promise libraries as well as native promises on most platforms will detect unhandled rejections for you if you know the hooks. Bluebird is particularly good at this, but Q, When, RSV
941.
▲
by
inglor
11y ago
Didn't you mean to `Promise.resolve(foo)`? It's also generally safer to cache promises and not values to avoid race conditions (multiple requests).
942.
▲
by
inglor
11y ago
Well, `async/await` introduces its own set of problems - I've answered questions on SO before where the OP didn't understand why they got degraded performance when they were doing `await` in a for loop instead of doing things
943.
▲
by
inglor
11y ago
Yup, this is another example of people not really understanding promises in JS too well. Having to do `Promise.resolve(r + 5)` doesn't really solve that much in terms of typing, namely the fact you can return a rejected promise or thro
944.
▲
by
inglor
11y ago
Here is a summary of the meeting https://docs.google.com/document/d/15Y_kJlYm-8cIf-alniaqUWMM...
945.
▲
by
inglor
11y ago
And, since you're reading this (in the other comments) I just want to point out that the presentations you're giving got a lot better (the deck). This one is a lot more witty than the old ones. Props on getting better at presentin
946.
▲
by
inglor
11y ago
Can always trust Vyacheslav Egorov to pump out super high quality stuff about v8. His blog http://mrale.ph/ is full of hidden goodies like Object.create vs function constructor [1] and hidden classes vs jsperf [2]. Lots of
947.
▲
Anti-Pattern (Wikipedia)
(en.wikipedia.org)
1 points
by
inglor
11y ago
|
0 comments
948.
▲
by
inglor
11y ago
Yeah, Wix has been transitioning all their Angular code to React. You're blaming superfish for using a website builder for a trivial page rather than actually care about hosting + coding + etc?
949.
▲
by
inglor
11y ago
Here is the release proposal https://github.com/iojs/io.js/pull/1532
950.
▲
io.js 2.0 released
(iojs.org)
7 points
by
inglor
11y ago
|
2 comments
951.
▲
by
inglor
11y ago
I think the Java community has done something really amazing here. As a C# fanboy it's hard for me to admit, but while reactive extensions have been in the C# ecosystems for much longer - it seems like a wide variety of vendors lined u
952.
▲
by
inglor
11y ago
A lot of time equity is seen as motivation to take a risk (joining a startup and not an established and stable company). There is (in my short experience) a feeling of "building stuff" at start ups that a lot (but not all) big com
953.
▲
by
inglor
12y ago
To add to that, it's not really even that impressive - no ES6, lots of technologies that are not in the current "hype" and so on. That said - having frameworks emerge from the community rather than dictated is a good thing, i
954.
▲
by
inglor
12y ago
A lot of things are supposed to work certain ways but in fact I never really used `Read` for anything more than reading simple user config in scripts. Usually my data is serialized/deserialized from more common formats such as JSON.
955.
▲
by
inglor
12y ago
The reason they built Chrome isn't just that - google pays/paid other browser vendors __hundreds of millions of dollars__ to be the default search providers ($300M to Mozilla per year for a while). Owning the web browser gives the
956.
▲
by
inglor
12y ago
Not the downvoter - but I can totally understand the downvote. The fact your anecdotal evidence is that you did not lose any data doesn't mean the internet is not full of people who have lost data with Mongo. I have no idea what your
957.
▲
by
inglor
12y ago
> What do they lead aside from search, ads, and mobile OS? Browser, email, self-driving cars. Lots of other stuff too...
958.
▲
by
inglor
12y ago
The tests generate a _random_ number of items. How it is a "good example" of TDDing react components? It will fail or pass based on something random so you might thing you're good to go but in fact your test fails. It also do
959.
▲
by
inglor
12y ago
The problem is you never know who's the mediocre startup wannabe and who's the connection who's gonna help you score seed funding, a round investment, a big client or your much-needed-but-you-dont-know-it-yet pivot. Sure, 99%
960.
▲
by
inglor
12y ago
That's why an important criteria in research is falsification and not just induction. Look at Popper http://en.wikipedia.org/wiki/Problem_of_induction#Karl_Poppe... > ccording to Popper, the problem of inductio
More ›