Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eve QuickStart not working in Chrome 63 #887

Open
stevendesu opened this issue Jan 15, 2018 · 3 comments
Open

Eve QuickStart not working in Chrome 63 #887

stevendesu opened this issue Jan 15, 2018 · 3 comments

Comments

@stevendesu
Copy link

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
Copy link

Eisit commented Jan 19, 2018

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
Copy link

vinczedani commented May 22, 2018

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
Copy link

alexispurslane commented May 22, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants