witheve / Eve

Better tools for thought
http://witheve.com
Apache License 2.0
7.16k stars 257 forks source link

Eve QuickStart not working in Chrome 63 #887

Open stevendesu opened 6 years ago

stevendesu commented 6 years ago

I wanted to play around with Eve a bit for fun since the language sounded interesting and if nothing else it's one of the most impressive esoteric programming languages I've seen so far.

Although when I pulled up the quickstart guide, I quickly ran into problems.

First, when I clicked the checkbox in the top-right of the second code block, the entire display on the right disappeared. The "Hello, World" text was gone. Hitting the run button at the top of the page didn't fix it, although hitting the reset button brought back the "Hello, World" text.

Upon clicking the checkbox in the top-right of the third code block, the "Hello, World" disappeared once more. Once more the run button did nothing. However clicking the reset button only displayed the text "Hello, world" -- not the "Ciao, world" that I now expected since a record exists with the name attribute.

I tried to use the inspector to figure out what was going on, but the quick start didn't make it obvious at all how to use this tool. I can click in the large gray expanse and my only option is "not drawing?" -- which does nothing but highlight the two lines of code which should be adding divs to the page. I can also click on the "Hello, world" text and I get four options: "Find events", "Why this?", "Too few? Too many?", and "Not drawing?". Clicking any of these just redirects me to the first block of code. There's no obvious way to see the current database state to verify the [name: "Celia"] record even exists.

After a significant amount of aggravation, I tried adding the commit statement to the first code block:

bind @browser
  [tag: "div", text: "Hello, world"]

commit
  [name: "Celia"]

When I did this and hit the reset button, suddenly "Ciao, world" appeared! It seemed at first as though the order of code matters (which from my understanding shouldn't be the case with Eve)

However I then tried enabling the fourth code block (which should print "Hello, Celia") and something even stranger happened: "Hello, world" went away and I was left with only a single "Ciao, world" line. Repeatedly enabling and disabling this button had no additional effect, but hitting the reset button brought back the "Hello, world" message. After bringing back the message, toggling the fourth code block again (to either enable OR disable it) once again broke the display by removing "Hello, world"

After all of this, I finally noticed that the run button was now doing something. After resetting, the display showed both "Hello, world" and "Ciao, world". If I then hit run, "Hello, world" goes away. I then have to hit "reset" again to bring it back.

I then noticed one more oddity: I now tried unchecked EVERY code block (including the first) and hitting "reset". The display then showed both "Hello, world" and "Ciao, world" -- even though no code blocks were checked.

I refreshed the page and performed the same procedure and verified that this functionality was reproducible for me every time. I even tried in an incognito tab so my extensions and cache would have no effect.

Eisit commented 6 years ago

I confirm more or less the same problem with either Chrome 63 and Firefox 57. I didn't try to redo all the steps described above, though.

If I start from scratch, uncheck everything and reset, I see only "Hello world" in Firefox and nothing in Chrome. It also seems dependant on what has been done before, as I can't reproduce exactly the same behavior if I fiddle one way or another.

As for the importance of the bug, well, it should have been my first contact with Eve...

vinczedani commented 6 years ago

I wanted to start learning Eve and ended up on the quickstart page, but I had similar issues like above. Please fix this, since it will be a bad first experience for people.

Chrome 65

alexispurslane commented 6 years ago

Last I checked the Eve team was currently working on a totally rewritten and reimagined version of Eve (using Rust) and it’s currently in a private Beta (it’s not ready for prime time). As such, they tried to keep up this version but the other one was s lot of work and it seems like the legacy version fell by the wayside. On Tue, May 22, 2018 at 4:20 AM Vincze Dániel notifications@github.com wrote:

I wanted to start learning Eve and ended up on the quickstart page, but I had similar issues like above. Please fix this, since it will be a bad first experience for people.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/witheve/Eve/issues/887#issuecomment-390954992, or mute the thread https://github.com/notifications/unsubscribe-auth/AB1Ml-UW8gppFznLe0W6VzuyfZ7JxJtWks5t0_R9gaJpZM4RfB_d .

-- Regards, Christopher