AR guitar with just a laptop and scissors

(arguitar.com)

11 points | by castlew 1 hour ago

4 comments

  • jvogt 30 minutes ago
    Shady... new HN user. No contact / author info on the site. Alleged references to ethereum in the source code.

    Any recent browser exploits involving WASM and webcam apis?

    • Bengalilol 21 minutes ago
      I may have missed something obvious, but I can't find the references to ethereum in the source code. Can you point me to the js file?

      I have found this though: https://github.com/vercel/next.js/discussions/44899

      It may be unrelated to the app which is using Vercel next.js and it seems to catch the error when in dev mode (yes .. I don't know much about it). Brave uses a wallet (Brave Wallet) and it looks like it is adding this every time you visit a site. Newer versions of Brave shouldn't display this error (or when browsing in private mode). I am confused, because I am discovering this right now. Sorry.

      https://github.com/localtunnel/localtunnel/issues/514

      Anyways, if app author is reading, there may be a simple solution by adding this code:

        window.addEventListener('error', e => {
          if (e.message?.includes('ethereum')) e.stopImmediatePropagation();
        });
  • vorticalbox 1 hour ago
    Getting errors on my iPhone

    Error: TypeError: undefined is not an object (evaluating 'window.ethereum.selectedAddress = undefined') (https://www.arguitar.com/:1)

    • Bengalilol 36 minutes ago
      OP is one hour old here, what could go wrong?

      but let's be optimistic (since it's a known Brave bug): does it happen to you when using private mode or another browser?

  • millspore 1 hour ago
    ethereum wallet check in an AR guitar app, thats a choice
  • dude250711 1 hour ago
    The real ones are not that expensive.
    • nomel 41 minutes ago
      I would rather you have typed this on a typewriter. They're not that expensive.