« first day (2789 days earlier)      last day (991 days later) » 

6:49 AM
0
A: Equivalent of Rebol effect [gradient] in Red?

rebolekRed's View doesn't support effect pipe yet, but you can set gradients in Draw: view [base 100x100 draw [fill-pen linear 0.0.0 255.255.255 0x0 100x100 box 0x0 100x100]] (I'm on Linux, so I can't test it, but it should work IMO). See https://doc.red-lang.org/en/draw.html#_linear_gradient_fill f...

 
 
9 hours later…
3:50 PM
posted on June 20, 2018 by Oldes

So far in Rebol power 0 0 was returning 0.0, in Red it is 1 and it looks it is the generally agreed upon answer. Here is some math explanation: https://medium.com/i-math/the-zero-power-rule-explained-449b4bd6934d

 
4:07 PM
It worked! I created an R3!! And it works!
Great work Brian et al!
 
 
5 hours later…
8:47 PM
Added little description on the wiki https://github.com/r3n/rencview/wiki
next figure out what the best setting for compilationstring will be for my case. And then experimenting with the source and module.
 
9:36 PM
@iArnold In terms of what-to-do-in-what-order, I would suggest that if you stick mostly to learning and becoming familiar with OpenGL and leave libRebol integration for after that... it would be best. I haven't packaged libRebol well enough yet to easily use it with my own projects (e.g. Ren Garden). Since you have to learn OpenGL anyway, why not write some GUI demos that satisfy your curiosity that don't involve Rebol first.
If you want to practice with API use, there is a REBNATIVE(test), where you can make libRebol calls and invoke them just by running TEST.
 
@HostileFork what would be the overall implementation architecture?
 
@GrahamChiu I'm not writing it. If you asked me how to write a raw OpenGL GUI from scratch, I would say simply: "don't".
 
Not even an educated guess?
 
If you're asking me how I would go about writing an OpenGL GUI from scratch, I would start by researching prior efforts and enumerating the various capabilities and requirements of the system. For UIs OpenGL has GLUT, but Blender has its own system known as GHost.
And I would almost certainly start by using one of those, or similar. And then if I found something lacking about it, I would improve it.
And only after fully understanding what it didn't do that I needed, would I write my own.
But to my tastes Qt remains a very usable, weathered, documented, complete cross-platform host system for GUI apps, with services ranging far outside of just GUI.
If I thought writing Windows/MacOS/Linux GUI apps was a particularly relevant domain, which I don't think it particularly is at this juncture in history.
 
9:51 PM
@HostileFork well, my experience of HTML apps is that it's a retrogressive step, turning PCs into dumb terminals.
 
I wasn't suggesting that one's application logic or domain language be HTML-heavy
Hm. I just found a bug that I am somewhat surprised we've not seen in practice before. It's been there for a very long time. And doesn't seem like it would be that rare.
Though it requires you to have a GROUP! followed by a WORD! to happen. And the group needs to execute enough code to disrupt memory that word was pointing to when the group ran. So (lots of code) some-var-code-relocates-in-memory
GROUP! executions weren't invalidating the cached variable pointer used for lookahead, basically. I guess that's not terribly common, to run super-churny-amounts of code with a dependency in the following word like that.
 

« first day (2789 days earlier)      last day (991 days later) »