« first day (3033 days earlier)      last day (747 days later) » 

10:20 AM
posted on February 19, 2019 by @hostilefork Brian Dickens

@hostilefork wrote: With port implementations in R3-Alpha, there would be some amount of the port that was in the core. These would be things like %p-file.c, or %p-net.c. This would be the same for all platforms. Then it would make abstract calls into APIs that were implemented per platform. One file that’s sort of hung around and not been deleted is

 
 
3 hours later…
12:57 PM
@guiliolunati Any thoughts on the "one include" libr3 strategy? I think it would be neat to put together a simple GUI demo, to start thinking about that...but I don't want the console itself to depend on some JS library (not even jQuery)
The tutorial can include whatever--I don't care. But I still want you to be able to use Rebol on a page to do something, and get a console if you need one...without needing any libraries (besides libRebol)
 
 
2 hours later…
3:10 PM
92
A: Should we burninate the [underscores] tag?

Jason C I doubt there are many people who are subject matter experts in the matters of the underscore. As a professional scorer of unders, I resent your cavalier attitude towards this topic. And also, yes, I agree. Truth is, I spent all that money studying Underscoring and ended up working in sof...

 
3:55 PM
@HostileFork I'm blocked because the current pure WASM version of replpad.js don't work on my phone... Chrome timeouts on every site... :-(
 
@giuliolunati It's working on my phone :-/ Has it worked since the WASM or never has? Did you enable the flags as it suggests?
I tried USB debug with a Chrome browser and it seemed to work fine, if you need to read logs.
Kind of silly they don't have ability to show the log on the phone, though :-/
 
I installed Chrome just now, expressly to work on replpad.js... but apparently it doesn't work on my phone
 
@giuliolunati ^-- you set these flags?
 
@HostileFork Switched to Firefox, set javascript.options.shared_memory to true in about:config, the console WORKS! :-)
@HostileFork tell me some tests to try!
 
@giuliolunati Well, you should try the new feature that the last result is set enfix! So try 1 + 2, hit enter, then try * 10 ... you get 30
And if you want to save the last console evaluation, you can use shove, so -> foo:
 
4:10 PM
Great, it works! INPUT also works.
So we we can forget emterpreter build?
 
Yes, let's focus on the pure wasm build for now, and not worry about the emterpreter...but given that I did the work for it, let us keep it working
But don't worry about it for the single-download libr3.js
Odds are, by the time any of this matters, nothing will need us to run emterpreter. These flags will likely be on by default soon-ish. Already are on Chrome desktop.
We don't want to be 30x slower if we can avoid it :-)
There's another advantage to the pure WASM build besides just speed...when you are doing a resolve() of a JS-AWAITER, you can use libRebol API functions (just not rebPromise()). Emterpreter can't do this.
This is really kind of interesting because--in an odd step for Rebol-oriented things--we've kind of jumped into some bleeding edge stuff.
This is up-and-coming, and I think it makes a nice showcase for the design.
 
@HostileFork but currently Travis does build emterpreted version? Should we switch it to pure wasm?
 
@giuliolunati The emscripten.r defaults to building the non-emterpreted...it's the download you're running on your phone, coming from what Travis built.
 
@HostileFork Very good!
 
Like I say, I think given the state of things right now, we can ask people to use a supported browser.
Maybe we rethink this a little later, and try to have an emtepreter fallback in the page load. I guess it depends on what percentage of people are having problems.
 
4:23 PM
@HostileFork Sure
 
@giuliolunati If you set those flags and it still wouldn't load in Chrome, it's probably worth it to get a look at the console and see what's up...I would have thought it would have worked
Like I say, it's working okay on my phone, which is a generic Motorola thingy that's on the latest updates as far as I know.
 
5:08 PM
@HostileFork Chrome doesn't work at all on my phone, dunno why :-/ But that's mine issue.
 
 
1 hour later…
6:17 PM
posted on February 19, 2019 by VIDpuzzle

{ I attempt to indent lines on a line by line basis. 1) I changed para/indent which seems to affect all faces within a layout even buttons whereas when I update g/pane/pane/(text-face)/para/indent/x. Should there not be a distinct indent porperty value for each face? Perhaps there is a way to achieve that end? 2) I decided to overlap two text faces in order to mimic indent which works fine.

 
 
4 hours later…
9:50 PM
@HostileFork would you help me to understand dependencies between files in replpad project?
 
 
1 hour later…
11:17 PM
@giuliolunati Ask if you have questions, but the comments try and explain it to the best of my knowledge. The worker.js file is needed because of web workers, and it has to be served from the same origin as the main html file...I don't know if there's a trick to get around that. Fortunately it's small and doesn't change between builds (though it would change between emscripten versions).
12
Q: Cross Domain Web Worker?

user1277170I have https://domain1.com (domain1) and https://domain2.com (domain2). Domain2 serves a page containing javascript with a header "Access-Control-Allow-Origin: *" Domain1 runs some javascript code that invokes: new Worker("//domain2.com/script.js") Browsers throw security exceptions. Since ...

 

« first day (3033 days earlier)      last day (747 days later) »