bot-wat

Dev tools

javascript repl bot

SHOW HN2016

171points
33comments
#180of 2,264 in 2016
Top 8%of 2016 by points

How HN took it

CuriousMostly questions and neutral comments

2 positive, 8 neutral or asking, 0 mixed, 4 critical, out of 14 comments about the project. Thread score -0.08.

Privacy: 1 for, 2 againstIdea: 1 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Safe-eval use seen as a positive

    From 1 comment
    • Happy to see that it uses the safe-eval library, which appears to fix code injection issues. Haven't checked that well though.
      tomsmeding on HN

Objections

  • Running untrusted code in node vm is unsafe

    From 2 comments
    • It's important to note that running code in vm.runInNewContext is not advised for 'untrusted code' according to the documentation. So probably not good to let random people use…
      dsp1234 on HN
    • https://github.com/hacksparrow/safe-eval/blob/master/index.js Maybe it's not a nice idea to use Math.random for secure and unique keys.
      realusername on HN
  • Facebook bot approval unlikely for this app

    From 1 comment
    • Messenger Platform docs happen to showcase very specific acceptable examples of what bots are expected to do[0]. An app like this doesn’t look likely to be approved to be…
      goblin89 on HN
  • Bot is not publicly accessible; the Messenger link is broken

    From 1 comment
    • Hey, yes, sorry, I had misunderstood the Facebook Messenger bot review process. Thought that it was enough to publish the Facebook page in order to be able to receive and send…
      peralmq on HN

Requests

  • Let the bot be publicly accessible

    From 1 comment
    • Do you have a link to the bot running in Messenger? The https://www.facebook.com/gdY7MU/messages/ link in the repo appears to be broken.
      lacker on HN

Questions

  • What does safe eval mean?

    From 1 comment
  • Is there a JavaScript REPL on iPhone Safari?

    From 1 comment
  • Does Messenger have an API for unofficial clients?

    From 2 comments
    • Is sending and receiving messages through facebook messenger still limited to the official app or did they add back an API to replace the old XMPP interface?
      MaddoScientisto on HN
    • I think that is different from what he is asking. I believe MaddoScientisto was talking about and API that could be used to create unofficial clients. The API you provided…
      kevincox on HN

Alternatives named

  • Browser developer console

    From 1 comment
  • pypie Python interpreter Slack bot

    From 1 comment
    • That's similar to the Python interpreter bot "pypie" that we made a couple of weeks ago for our Slack group "#devchat". https://github.com/devolio-devchat/pypie Bots are awesome!
      abdelhai on HN
  • Safari javascript: bookmarklet

    From 1 comment
    • You can create a bookmark, save it, and edit it to a "javascript:" link which mobile Safari will execute. If you normally try to type JavaScript in the address bar, Safari will…
      xigency on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/11542123)