News for hackers. Stuff that matters.
Re:Show HN: Lodash (js lib) playground by nkg on Thursday September 28, 2017 @02:11PM (#15359476)
I don't want to be that guy, but the same feature is in lodash.com documentation section (see that "Try in REPL" link ?) and it's already interactiv-ish.
Re:Show HN: Lodash (js lib) playground by chrixian on Thursday September 28, 2017 @05:08PM (#15360725)
Ya.. "Wouldn’t it be great if every javascript developer could experiment Lodash in the browser without needing to install anything or to create a JsFiddle?" ... Wouldn't it be great if you could do that with any NPM package? Oh ya, you can... https://npm.runkit.com/lodash ;D
Re:Show HN: Lodash (js lib) playground by viebel on Monday October 02, 2017 @01:20AM (#15381856)
runkit is server side. Therefore the evaluation is not instantaneous. Also, you cannot manipulate the DOM.
Re:Show HN: Lodash (js lib) playground by viebel on Thursday September 28, 2017 @10:44AM (#15357441)
Lodash is a modern JavaScript utility library delivering modularity, performance & extras.

You have probably used Lodash in one of your projects.

Wouldn’t it be great if every javascript developer could experiment Lodash in herB browser without needing to install anything or to create a JsFiddle?

Today, this dream comes true. In this blog post, you can play with Lodash functions. Experiment the edge cases of the API. Compose a short gist and check if it works as expected….

Re:Show HN: Lodash (js lib) playground by CaiGengYang on Thursday September 28, 2017 @10:55AM (#15357522)
Isn't ShowHN supposed to be something innovative you have made ? Did you build Lodash yourself ?
Re:Show HN: Lodash (js lib) playground by viebel on Thursday September 28, 2017 @11:34AM (#15357867)
The innovation is related to the interactive code snippets.
Re:Show HN: Lodash (js lib) playground by CaiGengYang on Friday September 29, 2017 @01:42AM (#15362994)
I've been trying to get an answer about this, but no reply so far. What will make a great post on Hackernews that will give a lot of points? Lets say if I design an innovative new search engine , quantum computer or Go AI and put it here on Hackernews, will I gain lots of points ? I saw some posts where the user gained like 200 - 300 points at once.
Re:Show HN: Lodash (js lib) playground by lozzo on Thursday September 28, 2017 @11:41AM (#15357948)
sure and it's cute that you can interact with them. but wouldn't a codepen or jsfiddle or sequentialjs snippet good enough.
Re:Show HN: Lodash (js lib) playground by viebel on Sunday October 01, 2017 @03:24AM (#15376795)
CodePen and JsFiddle don't allow you to display several code snippets at once. If you embedd a JsFiddle inside a blog post using iframes, you cannot share data and code between the snippets.