News for hackers. Stuff that matters.
Re:Show HN: Flems.io – A Single File, Embeddable Web Sandbox by pakx on Thursday June 22, 2017 @01:40PM (#14613919)
How about this for incestuous: a Flems of a HN reader, written in Mithril: http://yep.it/ckcpfi
Re:Show HN: Flems.io – A Single File, Embeddable Web Sandbox by TeddyBones on Thursday June 22, 2017 @05:32PM (#14615511)
This is great! I can see myself using this a lot. :)
Re:Show HN: Flems.io – A Single File, Embeddable Web Sandbox by dennisb on Thursday June 22, 2017 @03:29PM (#14614663)
Latest chrome on Android:

ReferenceError: ohnoAnError is not defined

at setTimeout (.js:14:8)

Re:Show HN: Flems.io – A Single File, Embeddable Web Sandbox by pygy_ on Thursday June 22, 2017 @03:34PM (#14614703)
I don't have an android phone at hand, but the error is supposed to be part of the demo. If it appears in the UI (below the code) it is normal. You can click the "at (.js:14:8)" link, you'll get the cursor on the problem line.
Re:Show HN: Flems.io – A Single File, Embeddable Web Sandbox by st0le on Friday June 23, 2017 @02:31PM (#14621507)
I think that's deliberate.
Re:Show HN: Flems.io – A Single File, Embeddable Web Sandbox by lozzo on Friday June 23, 2017 @11:12AM (#14619714)
This looks very interesting. Is the code on github ? and if not what's the reason ?
Re:Show HN: Flems.io – A Single File, Embeddable Web Sandbox by porsager on Friday June 23, 2017 @07:33PM (#14623532)
Thanks for checking it out. Yeah, I'll put the code on github for the Flems module during the weekend. I think the intro might have been a bit confusing as there's actually 2 parts to this.

Flems the module: A "js webapp / module" named Flems, which is a Web sandbox/playground that can easily be customized through options & embedded on any site (think programatically setting up playgrounds for example code in documentation etc.).

Flems.io the website: Then there's Flems.io which was launched here, that is a website using the Flems module, and on top of that puts all the state inside the URL. This allows for easy sharing, forking & editing of code examples.

Hope that clears it up a bit

Don't know if it might make sense to do another Show HN for the module once it's up on github?

Re:Show HN: Flems.io – A Single File, Embeddable Web Sandbox by TeddyBones on Monday June 26, 2017 @04:35PM (#14640138)
Yeah, I think it's worth a repost. It's a different use case than it just being another jsfiddle/codepen/jsbin alternative.