#jsmess 2017-03-06,Mon

↑back Search

Time Nickname Message
09:46 🔗 db48x has joined #jsmess
17:15 🔗 jvilk has joined #jsmess
17:18 🔗 jvilk SketchCow: Hey! Glad you're still with us. :) I talked w/ @hitsthings about the PhantomJS problem. tl;dr: PhantomJS doesn't fully support Typed Arrays, which are super important to BrowserFS and Emscripten. You may want to consider using SlimerJS, which presents a PhantomJS-like API but uses an unmodified version of Firefox. Downside: You need to run it with xvfb to run it in headless mode. Upside: Any website that works in Firefox will work in SlimerJS, re
17:20 🔗 jvilk Let me know if you want any assistance porting your existing script to SlimerJS. The changes should be fairly minor. https://docs.slimerjs.org/current/differences-with-phantomjs.html
17:21 🔗 jvilk (I've personally used SlimerJS to capture data from a WebGL application, so I have some experience with it.)
17:51 🔗 db48x haven't heard of that one :)
18:41 🔗 jvilk Honestly, I don't understand why PhantomJS has so much mindshare given the bugs. I was very shocked to find web workers in a broken state. I'm even more shocked that they don't claim to support typed arrays!
18:42 🔗 jvilk I guess what they *do* support is good enough for the average web application.
18:42 🔗 bai yeah I was pretty surprised to hear that too
18:43 🔗 bai even ie has typedarrays for gods sake!
18:52 🔗 db48x hey, can I derail the conversation for 5 minutes of usability testing?
18:52 🔗 db48x http://db48x.net/evpatoria-2003/
18:52 🔗 db48x tell me what's broken, confusing, etc
19:06 🔗 bai well...I'm on mobile so not sure if it's what the experience is made for....I saw the intro message, now I'm seeing what looks like a static image, basically the voyager plaque, but apart from decoding it by hand I'm not sure what else I'm supposed to be doing
19:24 🔗 db48x hmm. mobile wasn't in the design!
19:25 🔗 db48x I don't handle touch events
19:26 🔗 db48x and I'm not sure how I would differentiate between scrolling and selecting
19:30 🔗 db48x bbiab
19:57 🔗 bai mobile should emulate click events at least
20:45 🔗 db48x precision is the other problem on mobile
20:46 🔗 db48x I'd probably have to go to a single-click model of interaction, where I automatically select the symbol you touch
20:46 🔗 db48x but that kinda feels like cheating, since it builds into the page knowledge of what a symbol is
22:22 🔗 DFJustin is it supposed to do something after you designate a symbol
23:14 🔗 hook54321 has quit IRC (Ping timeout: 244 seconds)
23:17 🔗 db48x yes
23:17 🔗 db48x it gives you a place to type in what the symbol should be replaced with
23:18 🔗 DFJustin I've got that, but then what
23:18 🔗 db48x type something in the text box?
23:18 🔗 DFJustin yep
23:19 🔗 db48x and it replaces the symbols it finds in the image with whatever you typed
23:19 🔗 SketchCow So, just for the record: yes, slimer is one way to do it but it's barely above what I'm doing now
23:19 🔗 DFJustin that's the part it doesn't do
23:19 🔗 db48x hmm
23:19 🔗 SketchCow Other than (hopefully) the ability to grab the direct canvas
23:19 🔗 db48x did you select a completely unique symbol? :D
23:20 🔗 db48x did it find any other matching symbols?
23:20 🔗 DFJustin there should be lots but nothing happens
23:20 🔗 db48x :(
23:21 🔗 db48x anything in your browser's dev tools?
23:21 🔗 Rye has quit IRC (Ping timeout: 244 seconds)
23:21 🔗 DFJustin just a single Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery-1.6.1.js:3074:28
23:22 🔗 DFJustin works in chrome
23:22 🔗 db48x ah. what browser does it fail in?
23:22 🔗 DFJustin firefox nightly
23:22 🔗 db48x odd
23:23 🔗 Rai-chan has joined #jsmess
23:26 🔗 hook54321 has joined #jsmess
23:37 🔗 db48x DFJustin: I can't reproduce in 53.0a2
23:41 🔗 DFJustin 54.0a1
23:45 🔗 db48x hrm
23:45 🔗 db48x oh, I'm only on the aurora update channel
23:50 🔗 db48x no, works in 54.0a1 as well
23:51 🔗 db48x can you show me a screenshot?

irclogger-viewer