codefrau / SqueakJS

A Squeak Smalltalk VM in Javascript
https://squeak.js.org
MIT License
365 stars 75 forks source link

squeakjs not working #75

Closed saijanai closed 7 years ago

saijanai commented 7 years ago

None of the sample images on this page will load: http://squeak.js.org/run/

the popup message is: "failed to download [specifiec URL]"

krono commented 7 years ago

(Chrome says:

XMLHttpRequest cannot load http://freudenbergs.de/bert/squeakjs/Squeak1.13u.changes. 
Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers in 
preflight response.

)

codefrau commented 7 years ago

Argh. One proxy needs that header, the other does not work when it's present :(

saijanai commented 7 years ago

I was about to show someone SqueakJS, but I always test a page first.

Sigh.

By the way, the slowdown for SqueakJS appears to be the drawing primitives. Would redirecting to the JS drawing primitives at the BitMap level help here? Would drawing into a WebGL texture and using WebGL primitives help?

(I'm working on learning OpenGL and Squeak, with an eye to doing new video tutorials so this is an important issue for me on many fronts -I want to do SqueakJS videos as well).

Lawson

On 9/12/16 9:40 AM, Bert Freudenberg wrote:

Argh. One proxy /needs/ that header, the other does not work when it's present :(

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bertfreudenberg/SqueakJS/issues/75#issuecomment-246408790, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZ76OqtdptSAdt5BlaVvqIu6WaeDjimks5qpYCIgaJpZM4J6wrl.

Squeak from the very start (introduction to Squeak and Pharo Smalltalk for the (almost) complete and compleate beginner). https://www.youtube.com/playlist?list=PL6601A198DF14788D&feature=view_all

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian Kernighan

saijanai commented 7 years ago

"failed to download [squeak 5 zip file]"

L

On 9/12/16 9:47 AM, Bert Freudenberg wrote:

Closed #75 https://github.com/bertfreudenberg/SqueakJS/issues/75 via 13e08da https://github.com/bertfreudenberg/SqueakJS/commit/13e08dad8b2239ad2c25bf5b13e7920691d4a95f.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bertfreudenberg/SqueakJS/issues/75#event-786255277, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZ76OBR1PaeojZwLLFK9UANurQ8EDHgks5qpYILgaJpZM4J6wrl.

Squeak from the very start (introduction to Squeak and Pharo Smalltalk for the (almost) complete and compleate beginner). https://www.youtube.com/playlist?list=PL6601A198DF14788D&feature=view_all

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian Kernighan

codefrau commented 7 years ago

Why the "Sigh"? This problem was live for maybe an hour.

In any case, please use the mailing list for discussion, not the bug tracker.

saijanai commented 7 years ago

I meant "sigh" as in a comment on the fact that there's always another bug to squash. A comment on life, not on what you are doing.

L

On 9/12/16 10:16 AM, Bert Freudenberg wrote:

Why the "Sigh"? This problem was live for maybe an hour.

In any case, please use the mailing list for discussion, not the bug tracker.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bertfreudenberg/SqueakJS/issues/75#issuecomment-246420739, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZ76D2ofmu1PB4KjSR8HHcomnNa7EAbks5qpYjTgaJpZM4J6wrl.

Squeak from the very start (introduction to Squeak and Pharo Smalltalk for the (almost) complete and compleate beginner). https://www.youtube.com/playlist?list=PL6601A198DF14788D&feature=view_all

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian Kernighan

saijanai commented 7 years ago

I was using a stale webpage apparently. I refreshed the browser and it worked fine. Sorry to bother you.

L

On 9/12/16 10:00 AM, saijanai wrote:

"failed to download [squeak 5 zip file]"

L

On 9/12/16 9:47 AM, Bert Freudenberg wrote:

Closed #75 https://github.com/bertfreudenberg/SqueakJS/issues/75 via 13e08da https://github.com/bertfreudenberg/SqueakJS/commit/13e08dad8b2239ad2c25bf5b13e7920691d4a95f.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bertfreudenberg/SqueakJS/issues/75#event-786255277, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZ76OBR1PaeojZwLLFK9UANurQ8EDHgks5qpYILgaJpZM4J6wrl.

Squeak from the very start (introduction to Squeak and Pharo Smalltalk for the (almost) complete and compleate beginner). https://www.youtube.com/playlist?list=PL6601A198DF14788D&feature=view_all

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian Kernighan

Squeak from the very start (introduction to Squeak and Pharo Smalltalk for the (almost) complete and compleate beginner). https://www.youtube.com/playlist?list=PL6601A198DF14788D&feature=view_all

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian Kernighan