Echo JS 0.11.0

<~>

tracker1 comments

tracker1 2353 days ago. link 1 point
The XMLHttpRequest API was based on the Microsoft.XMLHTTP COM library that could be used in older IE browsers starting with IE5 in 1998.  Netscape (later Mozilla) added XMLHttpRequest as a native option to Gecko in 2002 and it became the norm, standardized in 2006, until fetch API became available a decade later in 2015.

Most articles that I've seen referencing the past with fetch to XMLHttpRequest tend to get muddled a bit.

https://en.wikipedia.org/wiki/XMLHttpRequest
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
tracker1 2353 days ago. link 1 point
Very nice... reminds me a lot of the windows screensaver... would be cool to use something like this as a base for a data visualizer for music playback, one of the things I really miss from the old WinAmp days when playing music.
tracker1 2355 days ago. link 1 point
Interesting... should add some notes on the API README.md file about needing a Yelp API key, etc.
tracker1 2355 days ago. link 1 point
Not sure about the exe that's in the template projects... didn't dig in myself and for what it's worth, not the one that downvoted.
tracker1 2356 days ago. link 1 point
Interesting... not sure why you would actually need a C++ (native node module) for this though... seems like just an in-process http+websocket server listening on a high port would fit the bill.  Could be simpler still if coordinating with a host to arrange webrtc.
tracker1 2357 days ago. link 2 points
This is a really cool idea conceptually... totally off topic though.
tracker1 2357 days ago. link 1 point
While somewhat informative, I think some things are a little bit muddied...  Jest actually uses Jasmine2, and Enzyme can be integrated into several of the test tools in question.  While wiring up Puppeteer can be a bit of a pain, the learning curve really isn't bad in practice.

On other problem is you have different options for different concerns. Unit testing react is not the same as integration or render testing. I happen to really like using Jest for most tests, and while I like chai/mocha more than Jasmine, Jest gives you more than just the test harness, it gives you parallel support as well as code coverage in the box.

Using Jest with puppeteer for integration/browser testing does take some work, but it's very nice in practice.
tracker1 2358 days ago. link 1 point
Interesting, but GPL3 license will be a non-starter for most use cases.
tracker1 2358 days ago. link 1 point
My only commend is it seems like socket.io is a bit overburdened and a faster/lighter socket server implementation might help... pretty cool all the same.
tracker1 2360 days ago. link 1 point
Interresting, though the article doesn't actually link to Cypress[1]. The first reference, or two, should absolutely link out to the project's home page.

I've been using Puppeteer with Jest myself, which isn't so much fun to setup, but has really been productive for me.

[1] https://www.cypress.io/
[more]