Old user login = dividing by zero ( slooooooooooooooooooooow )

@machinelves Comparable developer tools are available under Firefox.  Go to the menu, select Developer/Toggle Tools.

@whbob Thank you for the note about not being able to upgrade to current flash version on firefox lest eterna stop working altogether - this is interesting, and suggests the issue here really is the platform being implemented in flash which, as I suppose everyone has already said, either needs a refactoring or replacement / upgrade. 

@Omei Thank you for providing that clarity about the old browser loading up under certain circumstances. Thank you for the note about Firefox dev tools. I have used it only on occasion, and just tried logging in and observing the console tab during site nav:

A) Clicked on puzzles link:

A1) Every tab or page load seems to have this kind of error as the first output:
   TypeError: document.body is null

   [Learn More] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Unexpected_type 

   all.js:75:328

   n/< http://connect.facebook.net/en_US/all.js:75:328
   k http://connect.facebook.net/en_US/all.js:74:206

A2) The next console output is a track pageview beacon that gets sent, and this appears for many or perhaps all pages.

B) Clicked to load puzzle, got these errors:

B1) SyntaxError: expected expression, got ‘,’[Learn More]  8008251:71:50
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Unexpected_token

B2) The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.  8008251

C) Clicking on random pages got me these:

C1) Setting throttling cookie: __utmt
      
C2) The page was reloaded, because the character encoding declaration of the HTML document was not found when prescanning the first 1024 bytes of the file. The encoding declaration needs to be moved to be within the first 1024 bytes of the file.

D) Clicking on labs, and loading results from second from top lab:
http://www.eternagame.org/web/browse/7559749/

D1) Script stopped loading, here is pic of dialogue box followed by error:


Error: Script terminated by timeout at:camelCase@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:2:11414
css@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:4:6962
f.fn[c]/http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:4:29383
access@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:2:13373
f.fn[c]@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:4:29112
_fnScrollDraw/http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:5545:36
_fnApplyToChildren@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:5725:8
_fnScrollDraw@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:5544:4
_fnCallbackFire@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:7064:16
_fnDraw@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:3779:4
_fnFilterComplete@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:4397:4
_fnSort@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:6312:5
_fnInitialise@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:4839:5
DataTable/http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:9006:5
each@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:2:11774
each@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:2:8302
DataTable@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:8579:3
BuilderBrowser.prototype.on_build/http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:38738:36
o@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:2:14728
add@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:2:14948
ready@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:2:8352
BuilderBrowser.prototype.on_build/http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:38736:16
get_synthesized_results/http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:36282:18
process_response@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:26219:16
get_synthesized_results/http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:36281:16
success@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:23643:22
o@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:2:14728
fireWith@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:2:15502
w@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:4:12470
d@http://www.eternagame.org/workbranch_medicine/frontend/eterna.min.js?ver=23121222542386:4:18318
  eterna.min.js:2:11414

        
=> I don’t know if any of this is relevant or if I am missing where I should be looking to observe the issues. Is the last one (D) related to the issue you explain with falling back on the old browser, or is this something else? I don’t know if all the constant reloading due to lack of declarations is also slowing it down? Perhaps not the primary issue, but also doesn’t seem like it would help it go any faster. 

Also I assume you are busy, so there is no rush to reply or parse through all this immediately - I am just slowly marching forward as I myself have time. ( i.e. I may not always be able to reply immediately myself )

@elves: Someone with HTML experience might make sense out of your screen capture.  
Your browser appears to be correct, the game page does not explicitly declare character encoding.  Looking at that page with my dev tools, I see that character encoding in the game page is in the metadata as UTF-8. Your Firefox is not recognizing the metadata or not getting far enough in the code to read the metadata?  Comments anyone?

Because it is a large database to load, it has been common for me to see a warning window asking if I want to kill the request or continue.  Pressing continue each time the window appears will get the page loaded.  Maybe once the page is loaded, it will read the metadata?  Try the continue thing and let us know if it finally loads.

Thanks for your patience.

1 Like

It’s rather unfortunate that you’re dealing with these login issues. An idea I’ve been thinking of could be the root of the problem may actually have something to do with the contents of your profile page. For Omei, he has a couple lines of text and a link to some website, and while it takes probably less than 20 seconds or so to actually log into Eterna, most page transitions are fairly smooth, and the contents take a bit to load up, but that’s unrelated to the webpage. However, my profile page consists of a phrase an old professor of mine uses, and that’s about it.

Your profile page on the other hand contains numerous embedded images, which is similar to hoglahoo’s profile page, and I suspect that other players with a bunch of stuff on their profiles may experience some slowdown as well. Granted, this is just a random theory with very little actual evidence to back it up, but you never know.

1 Like

I guess the suggestion here would be to copy the code for your current profile description to a .txt document, then delete it, apply said changes, then see if there is any change to the speed of login, page/puzzle loading, etc.

1 Like

While certainly possible, and I do think that removeing your images and saving them somewhere else is the correct first move for now, I can’t help but notice that user=your id actually loaded fairly fast for me. Could you show your Network tab in the developer options? (I think it’s the rightmost tab in your screenshot). Maybe we could gather data such as which queries took you the most time.

1 Like

@Brourd Thank you for this interesting suggestion, I tested this out, and found 100ms faster load time of the main page, not the bulk of the issue, but perhaps something? Since it does not resolve the full issue, I have reinstated my normal profile, but I am very grateful for this idea, as it is a good observation of a potential anomaly in my own user content having many images.

Since I do recall having both overheating issues and slow load times for puzzles and nt coloring and labs as far back as 2-3 years ago, I suspect it is some kind of memory leak or issue with flash, especially as people have reported it getting worse with flash updates. 

@MasterStormer When I tested this theory, per your suggestion I used FF dev tools Network tab - thank you very much!! Here are the results:

  1. Was on Newsfeed page logged in. Logged out. Typed in login info at top of page. Logged in, here is screenshot of Network tab. I don’t know enough to know whether any of these numbers are login credential related, so I blacked them out. I noticed that zero page content loaded while hanging on the facebook load. I do not use facebook. Perhaps it was confused by this? The page that loaded was the same newsfeed page I had before logging out.

  1. I clicked to my profile page, copied out all text and image links, and saved a completely blank profile page. I clicked to the newsfeed page for comparison consistency. I logged out. I entered user info in top of page, and logged in. Here are the results, 100ms faster for main page, but otherwise no change, and still getting 64C temps just for newsfeed page loading after 1 minute:

Here for that same session, is the continued thread of loading, more of that get noti count stuff indefinitely loading in the background:

I’d guess the server constantly checks for new message notifications, which is what that’s doing. I don’t know, but it only took about ~8 seconds to load my newsfeed using this old linux machine with Firefox.

1 Like

And it takes ~15 seconds to load the Home tab and all of the applicable modules.

1 Like

These numbers are consistent on my Windows Surface 3 tablet using Chrome, and my max core temperature was only around ~55 C, with it hovering around 50 C, with god only knows how many tabs open and 3 programs open and in idle.

1 Like

Brourd thank you very much for posting these numbers and the systems. For most of the time I had thought mac just makes unusable laptops now, but I do also recall that when I first got it I had no problems until using eterna for extended periods, which is what first prompted me to start tracking temperatures. I don’t recall if we ever discussed this, but fyi I was maxing out to 98C temps before shutting down eterna, in tests. And Nando mentioned he had a computer that melted down using eterna - he would have to say how badly and under what circumstances, as I don’t recall the specifics.

When I went to log in and it took so long, as well as the time to load the full home page as you experience, I guess that was for me like fully hitting the wall and just not knowing if I have the patience for slow load times. I wish I were more evolved but I guess I have been spoiled by the modern expectations that you don’t even wait for more than 5-6 seconds of ad time waiting for a you-tube video to load, so the inability to seamlessly and instantly navigate eterna feels unnaturally frustrating to me.

It seems perhaps my system got fried a bit from early issues, and is a bit slower and more prone to overheating now than other systems. However it also seems that no matter which platform or computer is being used, that nobody is reporting instant load times throughout the platform, and rather actually there are several reports now of taking even 5-15 seconds for various loads, seems too long to me. I remember many years ago I was testing how fast I could get through puzzles, and was able to complete many puzzles in the same time it now takes to load and submit one. 

I just recalled flash settings are on a website not local:
https://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html

( btw I must say even though I put the link there that anyone should probably look up the link themselves and never trust others with flash settings links even if they add a disclaimer like this one )

I notice the following things, which may be irrelevant but who knows:

  • peer bit-torrent like sharing is on ask, not deny or allow for eterna, and so I turned that off ( last panel )
  • max permitted storage for eterna was 100kb, but it also showed null - bytes stored at first, then only 3KB. My original idea was to flush the memory, but it appears that may be unnecessary, or not even being used since I did not save a puzzle design.
  • Firefox browser someone else reported that when they tried to upgrade to flash being current, it stopped working altogether. I don’t know if I just stumbled on why, but here’s something I noticed: In Firefox, I had ‘ask to enable’ for all website flash requests. However both eterna and Adobe’s own settings panel failed to prompt a window asking for perms, and instead just render blank. I had to change plugin settings to allow all to get either domain to load flash. This is obviously not cool and not a solution, but at least may be informative. Before doing that, loading a puzzle just hangs on a blank blue background screen. After doing that, it loaded the puzzle fairly quickly in comparison, at 3-5 seconds:

Then completing this tiny tutorial puzzle shot my temps up to 82C during submission, when all the bubbles come out - is each bubble its own object or something?
http://www.eternagame.org/game/puzzle/6502942/

Then I tried loading the newsfeed after already being logged in, this took only 3-4 seconds for all primarily visible content:

Then I tried logging in with a new user ( actually a few years old, but with negligible puzzles or any other content assigned to the uid ). The login was 3-5 seconds:

At this point many times logging in and out have kept my computer between 74-64C, dropping now that eterna window is out of focus for a minute to 59C.

Going back to eterna in Firefox, up to 60C, then 64C on loading home page.

Selected first tutorial puzzle as this relatively new user:
http://www.eternagame.org/game/puzzle/6502927/

68C after loading puzzle. Temp jumps rapidly to 74C on submit and 84C within a couple seconds as bubbles release. I then click next to next puzzle in tutorial line, and complete and submit. This network screenshot may show both puzzle submits ( posts? ) in same session:

Then I log out, log back in with my old user account, and look at network for login, followed by two sequential puzzles. Here is login, where home page is being loaded, and you can see the 30 sec delay:

Clicking away to newsfeed page, then back to home page still takes 30 seconds to load the top level mastering content:

Now I load the tutorial puzzle back up and play this one and the next, followed by sreenshot of network submit times, same issues with bubbles overheating to 84C, and taking I don’t know what this is, ~30 seconds to submit the first puzzle and indefinitely for the second? I was resizing the FF dev tools panel while the bubbles were going, maybe this confused it?:
http://www.eternagame.org/game/puzzle/6502943/

Several minutes later the puzzle was still “submitting” and I had to reload the page, which landed me on the next puzzle in sequence with no confirmation of the previous submission.

This is all keeping in mind that I used to play with plenty of non-eterna programs open, with scores of tabs in browsers, and with many tabs of eterna open as well, slamming through one puzzle after another quickly and without issue. 

I appreciate you mentioning any ideas that could address the loadtimes, and sharing your results, thank you!

Basically for me, eterna may be draining battery power ( my battery has gone down a lot faster while running tests it seems, or perhaps I imagine that ), and is certainly overheating my computer, and being very slow. It is worse for old users with lots of content, but a user with no content while faster to log in still has some issues with heat and slowness to submit during puzzle submission and probably design in large molecules I would bet.

I worry whether new users will have the patience for this. I wonder how I will get comfortable navving and submitting when I have to worry about frying my computer. 

I will try these tests on my other computers some time, and see if more ram or a non retina screen make a difference. However from the reports I am seeing, this appears to be a cross platform issue with all roads leading back to flash and / or some memory inefficiency as the culprit.

Thanks again for your help, and if you are busy please don’t feel like you have to respond right away, I realize I am just a walking wall of text.

Cheers!

p.s. here’s the thread I made about overheating on macs specifically:
https://getsatisfaction.com/eternagame/topics/mac-retina-laptop-overheating

Well it took an hour to install windows updates, but now I have a 32GB ram machine without retina screen. I tried Vivaldi first as a browser, here are the network results there:

As you can see, a gif is still loading, and I just checked after it’s been a couple minutes, and it still hasn’t loaded. Followed by that red error and this console error:

eterna.min.js?ver= [a number] GET http://www.eternagame.org/workbranch_medicine/frontend/ajax-loader.gif 404 (Not Found)

Login took 20-30 seconds, and clicking around, then back to home page, took 25-30 seconds ( 5 seconds for most content, not including top section mastering eterna ). This is all in Vivaldi chromium browser.

I think I’m probably not going to continue using Vivaldi since it’s still on chromium, but in case this gives another data point, here we are. Also, as you will see in a moment, Firefox is not playing nice with Flash, and even though it is working enough to log in and play puzzles, the background is missing. So… I don’t even know what browser to use for eterna on Windows, even if this box has more mem than my mac.

On this same Windows 32GB ram box, here is the Firefox login taking 30+ sec with old user, plus requires granting flash ‘always’ access which is ridiculous because: 

A) it is necessary to even get flash to load, since it also doesn’t prompt ask, like with Firefox on my mac laptop, and

B) still doesn’t resolve the weird background failing to load issue that I think it also has with Hulu flash on this Windows Firefox box:

So next I try solving puzzles on Firefox, on Windows. It took at least 30-50 seconds to submit. Curiously the background not appearing is in places like login home page landing above which I thought was rooted in html, and getting to the flash puzzle player gives the correct background ( see above it is white not blue ), so maybe this bg misrendering is due to some browser setting or other issue?


Has anyone gotten firefox to work with flash on windows? 

I just looked again through the replies in this thread - they mostly appear to be chrome, I recall one person saying FF didn’t work with the current version of flash, and you Brourd said you’re on Linux/FF & Win/Chrome. So please anyone feel free to point out an instance of FF/Win that is working correctly.

In summary, everything in this post was on the same 32GB ram windows laptop. Both Vivaldi Chromium and Firefox browsers took ~30 seconds for login. 

In closing, so far I have not found a browser/os combo without these issues in some form.

Combos tried:
Windows 7 ( Firefox, Vivaldi Chromium, Chrome ) 
Mac Sierra ( Safari, Firefox )

For whatever reason, your side_project_roadmap query is taking an absurd amount of time to get. For myself, that only accounts for ~7 seconds.

As for the puzzles, it’s really just an issue with Flash more than anything. If I recall correctly, the reason Nando’s laptop had a meltdown was due to leaving a Flash window active overnight, which isn’t advisable. As your previous posts over the past few days have stated, Flash is not great, and there should be an eventual move from it. If that’s in development or not, who knows.

Yep, after I made sure that Shockwave Flash was installed in Firefox on Windows 10, I solved a puzzle and had no issues whatsoever.

Thanks for the note on meltdown context, and roadmap taking so long.

In Vivaldi I looked at the roadmap response also taking 30 sec to load in this browser still, and the response tab was:

{“data”:{“achievement_roadmap”:[{“key”:“ten_tools”,“level”:1,“current_level”:0,“image”:"/puzzle-progression/badges/ten_tools_1.png",“title”:“Nucleotide Mixer”,“desc”:"**Nucleotide mixers prepare a mix of nucleotides, the basic building blocks of the RNA medicine that you design, and the DNA templates that encode those RNA molecules.",“maxlevel”:10,“verb”:“PLAY”,“past”:“Nucleotide Mixer”,“to_next”:0.45454545454545,“current_puzzle”:“6502945”},{“key”:“ten_tools”,“level”:2,“current_level”:0,“image”:"/puzzle-progression/badges/ten_tools_2.png",“title”:“Gene Synthesizer”,“desc”:“Gene Synthesizers combine DNA nucleotides from the Nucleotide Mixer into DNA double helix templates that encode the RNA molecules you are designing for medicine.”,“maxlevel”:10,“verb”:“PLAY”,“past”:“Gene Synthesizer”,“to_next”:0,“current_puzzle”:“6502945”},{“key”:“ten_tools”,“level”:3,“current_level”:0,“image”:"/puzzle-progression/badges/ten_tools_3.png",“title”:“Thermocycler”,“desc”:“Thermocyclers use the polymerase chain reaction to amplify DNA templates from the Gene Synthesizer into sufficient quantities to create RNA molecules and test if they will be useful for medicine.”,“maxlevel”:10,“verb”:“PLAY”,“past”:“Thermocycler”,“to_next”:0,“current_puzzle”:“6502945”},{“key”:“ten_tools”,“level”:4,“current_level”:0,“image”:"/puzzle-progression/badges/ten_tools_4.png",“title”:“Next-Generation Sequencer”,“desc”:“Next-generation sequencers separate the DNA templates amplified by the Thermocycler into separate spots on a glass slide, and verify the order of their nucleotides.  Each of the resulting sequences should match RNA molecules that you and other players designed in Eterna!”,“maxlevel”:10,“verb”:“PLAY”,“past”:“Next-Generation Sequencer”,“to_next”:0,“current_puzzle”:“6502945”},{“key”:“ten_tools”,“level”:5,“current_level”:0,“image”:"/puzzle-progression/badges/ten_tools_5.png",“title”:“RNA Polymerase”,“desc”:“RNA polymerase is a special enzyme molecule that synthesize your RNA medicine designs from DNA templates and a mix of RNA nucleotides. It makes the RNA directly on the same glass slide that was used in the Next-Generation Sequencer.”,“maxlevel”:10,“verb”:“PLAY”,“past”:“RNA Polymerase”,“to_next”:0,“current_puzzle”:“6502945”},{“key”:“ten_tools”,“level”:6,“current_level”:0,“image”:"/puzzle-progression/badges/ten_tools_6.png",“title”:“Microfluidic Chip”,“desc”:“Microfluidic chips are like next-generation test tubes. They enable the manipulation of minute amounts of fluid sample for biochemical analysis. They encapsulate the slide holding your designs for RNA medicine and allow washing and regeneration of the RNA for multiple experiments.”,“maxlevel”:10,“verb”:“PLAY”,“past”:“Microfluidic Chip”,“to_next”:0,“current_puzzle”:“6502945”},{“key”:“ten_tools”,“level”:7,“current_level”:0,“image”:"/puzzle-progression/badges/ten_tools_7.png",“title”:“Fluorescent Probes”,“desc”:“Fluorescent Probes stick to specific structures in the RNA design. Looking for these bright spots tests whether your RNA designs are changing structure to turn on or off in response to molecular inputs on the Microfluidic chip.”,“maxlevel”:10,“verb”:“PLAY”,“past”:“Fluorescent Probes”,“to_next”:0,“current_puzzle”:“6502945”},{“key”:“ten_tools”,“level”:8,“current_level”:0,“image”:"/puzzle-progression/badges/ten_tools_8.png",“title”:“Laser Microscope”,“desc”:“Laser microscopes excite Fluorescent Probes with specific wavelengths of light and detect fluorescence emitted by those molecules with very high sensitivity. The microscope images show whether your RNA designs are on or off under experimental conditions analogous to different disease states.”,“maxlevel”:10,“verb”:“PLAY”,“past”:“Laser Microscope”,“to_next”:0,“current_puzzle”:“6502945”},{“key”:“ten_tools”,“level”:9,“current_level”:0,“image”:"/puzzle-progression/badges/ten_tools_9.png",“title”:“Liquid Robotics”,“desc”:“Liquid robotics allow the Laser Microscope to test your RNA designs in a barrage of different conditions, in experiments that can run for several days continuously and automatically.”,“maxlevel”:10,“verb”:“PLAY”,“past”:“Liquid Robotics”,“to_next”:0,“current_puzzle”:“6502945”},{“key”:“ten_tools”,“level”:10,“current_level”:0,“image”:"/puzzle-progression/badges/ten_tools_10.png",“title”:“Supercomputer”,“desc”:“Supercomputers accelerate the image processing and analysis of for millions of Eterna designs obtained through the massively parallel application of the other nine tools.”,“maxlevel”:10,“verb”:“PLAY”,“past”:“Supercomputer”,“to_next”:0,“current_puzzle”:“6502945”},{“key”:“side_quest_just_for_fun”,“level”:1,“current_level”:0,“image”:"/puzzle-progression/badges/badge_sp_justforfun_1.png",“title”:“Just for Fun”,“desc”:“Try solving some of the craziest puzzles players have come up with!”,“maxlevel”:3,“verb”:“Go”,“past”:[“Just for Fun [Level 1]”,“Just for Fun [Level 2]”,“Just for Fun [Level 3]”],“to_next”:0.26,“prereq”:“ten_tools1”,“current_puzzle”:“6479656”},{“key”:“side_quest_just_for_fun”,“level”:2,“current_level”:0,“image”:"/puzzle-progression/badges/badge_sp_justforfun_2.png",“title”:“Just for Fun”,“desc”:“Try solving some of the craziest puzzles players have come up with!”,“maxlevel”:3,“verb”:“Go”,“past”:[“Just for Fun [Level 1]”,“Just for Fun [Level 2]”,“Just for Fun [Level 3]”],“to_next”:0,“current_puzzle”:“6479656”},{“key”:“side_quest_just_for_fun”,“level”:3,“current_level”:0,“image”:"/puzzle-progression/badges/badge_sp_justforfun_3.png",“title”:“Just for Fun”,“desc”:“Try solving some of the craziest puzzles players have come up with!”,“maxlevel”:3,“verb”:“Go”,“past”:[“Just for Fun [Level 1]”,“Just for Fun [Level 2]”,“Just for Fun [Level 3]”],“to_next”:0,“current_puzzle”:“6479656”},{“key”:“side_quest_nova_videos”,“level”:1,“current_level”:0,“image”:“https://s3.amazonaws.com/eterna/nova/nova-badge-(1).png",“title”:"NOVA RNA Lab”,“desc”:“Learn a little bit more about the many roles RNA plays in the cell.”,“maxlevel”:1,“verb”:“Go to NOVA”,“past”:“NOVA RNA Lab”,“prereq”:“ten_tools2”,“to_next”:0},{“key”:“side_quest_challenge_puzzles”,“level”:1,“current_level”:7,“image”:"/puzzle-progression/badges/badge_sp_challenge_1.png",“title”:“Challenge Puzzles”,“desc”:“RNA is all around us. Solve these puzzles to learn more about the RNA world!”,“maxlevel”:7,“verb”:“Go”,“past”:[“Puzzle Master [Level 1]”,“Puzzle Master [Level 2]”,“Puzzle Master [Level 3]”,“Puzzle Master [Level 4]”,“Puzzle Master [Level 5]”,“Puzzle Master [Level 6]”,“Puzzle Master [Level 7]”],“to_next”:1,“prereq”:“ten_tools3”},{“key”:“side_quest_challenge_puzzles”,“level”:2,“current_level”:7,“image”:"/puzzle-progression/badges/badge_sp_challenge_2.png",“title”:“Challenge Puzzles”,“desc”:“RNA is all around us. Solve these puzzles to learn more about the RNA world!”,“maxlevel”:7,“verb”:“Go”,“past”:[“Puzzle Master [Level 1]”,“Puzzle Master [Level 2]”,“Puzzle Master [Level 3]”,“Puzzle Master [Level 4]”,“Puzzle Master [Level 5]”,“Puzzle Master [Level 6]”,“Puzzle Master [Level 7]”],“to_next”:1},{“key”:“side_quest_challenge_puzzles”,“level”:3,“current_level”:7,“image”:"/puzzle-progression/badges/badge_sp_challenge_3.png",“title”:“Challenge Puzzles”,“desc”:“RNA is all around us. Solve these puzzles to learn more about the RNA world!”,“maxlevel”:7,“verb”:“Go”,“past”:[“Puzzle Master [Level 1]”,“Puzzle Master [Level 2]”,“Puzzle Master [Level 3]”,“Puzzle Master [Level 4]”,“Puzzle Master [Level 5]”,“Puzzle Master [Level 6]”,“Puzzle Master [Level 7]”],“to_next”:1},{“key”:“side_quest_challenge_puzzles”,“level”:4,“current_level”:7,“image”:"/puzzle-progression/badges/badge_sp_challenge_4.png",“title”:“Challenge Puzzles”,“desc”:“RNA is all around us. Solve these puzzles to learn more about the RNA world!”,“maxlevel”:7,“verb”:“Go”,“past”:[“Puzzle Master [Level 1]”,“Puzzle Master [Level 2]”,“Puzzle Master [Level 3]”,“Puzzle Master [Level 4]”,“Puzzle Master [Level 5]”,“Puzzle Master [Level 6]”,“Puzzle Master [Level 7]”],“to_next”:1},{“key”:“side_quest_challenge_puzzles”,“level”:5,“current_level”:7,“image”:"/puzzle-progression/badges/badge_sp_challenge_5.png",“title”:“Challenge Puzzles”,“desc”:“RNA is all around us. Solve these puzzles to learn more about the RNA world!”,“maxlevel”:7,“verb”:“Go”,“past”:[“Puzzle Master [Level 1]”,“Puzzle Master [Level 2]”,“Puzzle Master [Level 3]”,“Puzzle Master [Level 4]”,“Puzzle Master [Level 5]”,“Puzzle Master [Level 6]”,“Puzzle Master [Level 7]”],“to_next”:1},{“key”:“side_quest_challenge_puzzles”,“level”:6,“current_level”:7,“image”:"/puzzle-progression/badges/badge_sp_challenge_6.png",“title”:“Challenge Puzzles”,“desc”:“RNA is all around us. Solve these puzzles to learn more about the RNA world!”,“maxlevel”:7,“verb”:“Go”,“past”:[“Puzzle Master [Level 1]”,“Puzzle Master [Level 2]”,“Puzzle Master [Level 3]”,“Puzzle Master [Level 4]”,“Puzzle Master [Level 5]”,“Puzzle Master [Level 6]”,“Puzzle Master [Level 7]”],“to_next”:1},{“key”:“side_quest_challenge_puzzles”,“level”:7,“current_level”:7,“image”:"/puzzle-progression/badges/badge_sp_challenge_7.png",“title”:“Challenge Puzzles”,“desc”:“RNA is all around us. Solve these puzzles to learn more about the RNA world!”,“maxlevel”:7,“verb”:“Go”,“past”:[“Puzzle Master [Level 1]”,“Puzzle Master [Level 2]”,“Puzzle Master [Level 3]”,“Puzzle Master [Level 4]”,“Puzzle Master [Level 5]”,“Puzzle Master [Level 6]”,“Puzzle Master [Level 7]”],“to_next”:1},{“key”:“side_quest_eterna100”,“level”:1,“current_level”:3,“image”:“https://s3.amazonaws.com/eterna/badges/128_Eterna10.png",“title”:"Defeat the robots”,“desc”:“Defeat the robots! These are all designs that bots have trouble with.”,“maxlevel”:4,“verb”:“Go”,“past”:[“Robots Defeated”,“Robots Defeated”,“Robots Defeated”,“Robots Defeated”],“to_next”:1,“prereq”:“ten_tools5”},{“key”:“side_quest_eterna100”,“level”:2,“current_level”:3,“image”:“https://s3.amazonaws.com/eterna/badges/128_Eterna20.png",“title”:"Defeat the robots”,“desc”:“Defeat the robots! These are all designs that bots have trouble with.”,“maxlevel”:4,“verb”:“Go”,“past”:[“Robots Defeated”,“Robots Defeated”,“Robots Defeated”,“Robots Defeated”],“to_next”:1},{“key”:“side_quest_eterna100”,“level”:3,“current_level”:3,“image”:“https://s3.amazonaws.com/eterna/badges/128_Eterna50.png",“title”:"Defeat the robots”,“desc”:“Defeat the robots! These are all designs that bots have trouble with.”,“maxlevel”:4,“verb”:“Go”,“past”:[“Robots Defeated”,“Robots Defeated”,“Robots Defeated”,“Robots Defeated”],“to_next”:1},{“key”:“side_quest_eterna100”,“level”:4,“current_level”:3,“image”:“https://s3.amazonaws.com/eterna/badges/128_Eterna100.png",“title”:"Defeat the robots”,“desc”:“Defeat the robots! These are all designs that bots have trouble with.”,“maxlevel”:4,“verb”:“Go”,“past”:[“Robots Defeated”,“Robots Defeated”,“Robots Defeated”,“Robots Defeated”],“to_next”:0.58},{“key”:“side_quest_best_lab_practices”,“level”:1,“current_level”:0,“image”:"/puzzle-progression/badges/badge_sp_bestlab.png",“title”:“Best Lab Practices”,“desc”:“Learn more about creating winning designs in the lab!”,“maxlevel”:1,“verb”:“Go”,“past”:“Best Lab Practices”,“prereq”:“ten_tools4”,“to_next”:0.69230769230769,“current_puzzle”:“4648490”},{“key”:“side_quest_switch_puzzles”,“level”:1,“current_level”:0,“image”:"/puzzle-progression/badges/badge_sp_switch_1.png",“title”:“Switch Puzzles”,“desc”:“More switches than you can shake a switch at! Switches are a great way to practice designing for the lab.”,“maxlevel”:3,“verb”:“Go”,“past”:[“Switch Puzzles [Level 1]”,“Switch Puzzles [Level 2]”,“Switch Puzzles [Level 3]”],“to_next”:0.14035087719298,“prereq”:“ten_tools6”,“current_puzzle”:“2840340”},{“key”:“side_quest_switch_puzzles”,“level”:2,“current_level”:0,“image”:"/puzzle-progression/badges/badge_sp_switch_2.png",“title”:“Switch Puzzles”,“desc”:“More switches than you can shake a switch at! Switches are a great way to practice designing for the lab.”,“maxlevel”:3,“verb”:“Go”,“past”:[“Switch Puzzles [Level 1]”,“Switch Puzzles [Level 2]”,“Switch Puzzles [Level 3]”],“to_next”:0,“current_puzzle”:“2840340”},{“key”:“side_quest_switch_puzzles”,“level”:3,“current_level”:0,“image”:"/puzzle-progression/badges/badge_sp_switch_3.png",“title”:“Switch Puzzles”,“desc”:“More switches than you can shake a switch at! Switches are a great way to practice designing for the lab.”,“maxlevel”:3,“verb”:“Go”,“past”:[“Switch Puzzles [Level 1]”,“Switch Puzzles [Level 2]”,“Switch Puzzles [Level 3]”],“to_next”:0,“current_puzzle”:“2840340”},{“key”:“side_quest_create_a_puzzle”,“level”:1,“current_level”:1,“image”:"/puzzle-progression/badges/badge_sp_create_puzzle.png",“title”:“Create a Puzzle”,“desc”:“Create puzzles to explore the energy model, confound your friends, or teach your strategy.”,“maxlevel”:1,“verb”:“Create”,“past”:“Create a Puzzle”,“prereq”:“ten_tools7”,“to_next”:7},{“key”:“side_quest_create_a_tutorial”,“level”:1,“current_level”:0,“image”:"/puzzle-progression/badges/badge_sp_create_tutorial.png",“title”:“Create a Tutorial”,“desc”:“Use your puzzles for good! Create tutorials for other players to walk through and learn from.”,“maxlevel”:1,“verb”:“Create”,“past”:“Create a Tutorial”,“prereq”:“ten_tools8”,“to_next”:0,“current_puzzle”:“3440232”},{“key”:“side_quest_create_a_script”,“level”:1,“current_level”:0,“image”:"/puzzle-progression/badges/badge_sp_create_script.png",“title”:“Create a Script”,“desc”:“Learn the power of scripting. Create scripts to search through lab solutions, to make puzzle-solving bots, and much more!”,“maxlevel”:1,“verb”:“Create”,“past”:“Create a Script”,“prereq”:“ten_tools9”,“to_next”:0}]},“memcache”:false}

Then I looked at the preview code tree, and it shows mostly the identical thing a above but formatted properly instead of one line, with the main difference being that title and verb attributes(?) are out of order. Also I noticed in both, a 0.454545 repeating value where it seems like it should be 1 or 0 boolean but I have no idea, and I assume even though this value looks repeating that it is truncated. But in case not, I mention it:

  1. achievement_roadmap:[,…]

  2. 0:{key: “ten_tools”, level: 1, current_level: 0, image: “/puzzle-progression/badges/ten_tools_1.png”,…}

1. current\_level:0
2. current\_puzzle:"6502945"
3. desc:"Nucleotide mixers prepare a mix of nucleotides, the basic building blocks of the RNA medicine that you design, and the DNA templates that encode those RNA molecules."
4. image:"/puzzle-progression/badges/ten\_tools\_1.png"
5. key:"ten\_tools"
6. level:1
7. maxlevel:10
8. past:"Nucleotide Mixer"
9. title:"Nucleotide Mixer"
10. to\_next:0.45454545454545
11. verb:"PLAY"

Most to_nexts are 1 or 0. However, I do see a few other cases where to_next is not a 1 or 0, each in separate categories, generally a decimal / fractional value between 0 and 1, so I assume this is tracking partial completion? I wonder what is the reason for this? Place finding in the progression? I have no idea.

  1. [“Just for Fun [Level 1]”, “Just for Fun [Level 2]”, “Just for Fun [Level 3]”]

  2. prereq:“ten_tools1”

  3. title:“Just for Fun”

  4. to_next:0.26

  5. verb:“Go”
    And the main outlier is one instance where to_next is a 7, greater than 1:

  6. {key: “side_quest_create_a_puzzle”, level: 1, current_level: 1,…}

  7. current_level:1

  8. desc:“Create puzzles to explore the energy model, confound your friends, or teach your strategy.”

  9. image:"/puzzle-progression/badges/badge_sp_create_puzzle.png"

  10. key:“side_quest_create_a_puzzle”

  11. level:1

  12. maxlevel:1

  13. past:“Create a Puzzle”

  14. prereq:“ten_tools7”

  15. title:“Create a Puzzle”

  16. to_next:7

  17. verb:“Create”

Now, I have mostly no idea what I am talking about here, so I’m sure there is some explanation for this. But in case not, it is the first thing that jumped out at me looking at the code.

Also that ajax-loader.gif file is again the immediately preceding item in the network timeline, and fails to load. When I go to the gif url provided previously, it also fails to load in the browser.

I then completed another puzzle in the tutorial progression, to see if the to_next value would change.

Before it was as above, 0.454545 repeating and truncated

And now it is 0.5454 repeating, and rounded:

  1. achievement_roadmap:[,…]

  2. 0:{key: “ten_tools”, level: 1, current_level: 0, image: “/puzzle-progression/badges/ten_tools_1.png”,…}

1. current\_level:0
2. current\_puzzle:"6502946"
3. desc:"Nucleotide mixers prepare a mix of nucleotides, the basic building blocks of the RNA medicine that you design, and the DNA templates that encode those RNA molecules."
4. image:"/puzzle-progression/badges/ten\_tools\_1.png"
5. key:"ten\_tools"
6. level:1
7. maxlevel:10
8. past:"Nucleotide Mixer"
9. title:"Nucleotide Mixer"
10. to\_next:0.54545454545455
11. verb:"PLAY"

So this does appear to perhaps be tracking the place in each of the ten steps’ sub-progressions? In other words, there are not only 10 puzzles in tutorial, but rather 10 steps each of which have multiple puzzles, and as one is completed, the to_next value is incremented and perhaps used to direct the user into the correct puzzle in that sub-progression.

Still though, I don’t see a clear indication this contributes to load time unless there is in fact allowance of values which are not inherently truncated, I don’t recall the phrase for this issue as I have no CS degree, and I don’t see the phrase I am thinking of immediately in this thread, but it touches on some of the idea:
https://stackoverflow.com/questions/16094577/how-do-deal-with-infinitely-repeating-numbers-as-decima…

Oh yeah now I see it mentioned, floating point numbers. Again, I am pulling invisible rabbits out of hats here, or throwing darts at the ocean, I only know a very little about all these things… hopefully someone who knows more can comment and dismiss this altogether or verify whether it should be looked into more.**

Great, thanks for the confirmation on win 10/FF/flash working. I’m on win 7 atm.

Also the general length of the page actually seems a bit long, and with some redundancy within categories - would it load faster if there were functions or parent object or class types or whatever is appropriate here? For example there are ten of these for ten_tools tutorial progression steps, here are two with redundancies noted after:

  1. 0:{key: “ten_tools”, level: 1, current_level: 0, image: “/puzzle-progression/badges/ten_tools_1.png”,…}

  2. current_level:0

  3. current_puzzle:“6502946”

  4. desc:" Nucleotide mixers prepare a mix of nucleotides, the basic building blocks of the RNA medicine that you design, and the DNA templates that encode those RNA molecules."

  5. image:"/puzzle-progression/badges/ten_tools_1.png"

  6. key:“ten_tools”

  7. level:1

  8. maxlevel:10

  9. past:“Nucleotide Mixer”

  10. title:“Nucleotide Mixer”

  11. to_next:0.54545454545455

  12. verb:“PLAY”

  13. 1:{key: “ten_tools”, level: 2, current_level: 0, image: “/puzzle-progression/badges/ten_tools_2.png”,…}

  14. current_level:0

  15. current_puzzle:“6502946”

  16. desc:" Gene Synthesizers combine DNA nucleotides from the Nucleotide Mixer into DNA double helix templates that encode the RNA molecules you are designing for medicine."

  17. image:"/puzzle-progression/badges/ten_tools_2.png"

  18. key:“ten_tools”

  19. level:2

  20. maxlevel:10

  21. past:“Gene Synthesizer”

  22. title:“Gene Synthesizer”

  23. to_next:0

  24. verb:“PLAY”
    Redundancies:

  25. Redundant - current_level:0

  26. Redundant - current_puzzle:“6502946”

  27. Not redundant - desc:" Gene Synthesizers combine DNA nucleotides from the Nucleotide Mixer into DNA double helix templates that encode the RNA molecules you are designing for medicine."

  28. Not redundant but incrementable? - image:"/puzzle-progression/badges/ten_tools_2.png"

  29. Redundant - key:“ten_tools”

  30. Not redundant but incrementable? - level:2

  31. Redundant - maxlevel:10

  32. Not redundant - past:“Gene Synthesizer”

  33. Not redundant - title:“Gene Synthesizer”

  34. Not redundant - to_next:0

  35. Redundant - verb:“PLAY”

I don’t know the practicalities of factoring this into a more chunked approach so again, darts at the ocean…

@elves: I just noticed the url that you used above " http… www dot eternagame dot org slash web slash browse slash 7559749" .  When you click on lab archives and click on Review Results the response is doomed:(  Omei, in two posts up, explained … that button tries to get data by project number and it can’t.  It reverts to an unstable old legacy browser with poor response to loading, scrolling etc.  

Instead of the “Review Results” button, please try the “lab info” button next to it.  That will bring you to the sublab page where you can click on one sub lab button and get to the new browser.

That should load faster and respond faster when scrolling.  

This isn’t a solution to all of you problems, but not using the review response button should be one less distraction for us to deal with.       

1 Like

It was too long for me to read it all, but

  • The resolution on your connection log is too small so I can’t read what’s in them. Could you just copy and paste the screen into imgur.com? It’s much sipmler than here (simply open the site and press Ctrl V). Also your network logs don’t show everything (I think), so you need to stretch it all the way to the top of the screen. Apperently firefox has a chart thingy that could help find where are the longest queries (http://imgur.com/a/IJrrU). So either screenshot all the queries in fullscreen if all of them fit, but if they not, send the graph and the screen of the request type with the highest time. Also make sure the entire timeline fits withing the width of the page.
  • It can’t be only the side_project_roadmap, sinse on my computer (which has bad internet) it only took 2 seconds.
  • Also, if for some reason you have way to many queries to screenshot, consider doing this on chrome, as they have a time column that is sortable (so it just brings the lengthiest query on top)

Thanks for your feedback, I hope I can address most or all of these points fairly quickly:

  • When resolution on forum images is small, click on the image. It opens at full resolution in a new tab. I know about imgur and lightshot for example, I specifically chose to upload the images to the forum to preserve them indefinitely for debugging.
  • Thank you for the note on roadmap loading faster for you. Does your roadmap have the same length of code? Does your total homepage load take 30sec? If your total homepage load is faster, and / or your roadmap code is shorter, those would be helpful data points to know.
  • Now that I read this last question, and look back at my post, I see most of my screenshots are omitted. I cannot edit the post anymore, therefore I will repost I suppose. I did take care to grab shots of fully expanded and as relevant as possible information. However I was up all night until 7am working on this, so apparently some wire got crossed and I didn’t realize. Will repost shortly.