Hacker News new | ask | show | jobs
Show HN: Denigma – AI that clearly explains code in plain English (denigma.app)
1 points by codeenlightener 1772 days ago
2 comments

The live example on the home page doesn't seem to work. I assumed JS was supported and typed this:

const addOne = function(someNumber) { return someNumber + 1 }

The "explain" box shows nothing.

This site makes bold claims which, so far, I don't see backed up by anything. Even the "join waitlist" dialog is broken!

Next...

> The live example on the home page doesn't seem to work. I assumed JS was supported and typed this:

It currently works for me. Can you try again?

Absolutely nothing. Firefox or Chrome.
If it's not too hard, could you please press F12, pick "console" and send a screenshot? I wonder if you have some add-on blocking my JS...
You have CORS issue:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://service.denigma.app/explain/demo/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

You are right, I forgot to add "www.denigma.app" to the CORS list.
From the first example:

> return -tf.reduce_mean((T("input") - 0.5)*2)

Don't you want to use the average instead of "0.5"?

From the explanation:

> The code is a function that takes in an input tensor and returns the mean squared error of the input.

It's hard to believe that the system can detect that it's the "mean squared error". Is this an explanation a real example from the implementation, or it's just a handmade example?