World: r3wp
[!REBOL3-OLD1]
older newer | first last |
Pekr 8-Oct-2009 [18908] | BrianH: did you know about the 'evoke function? :-) |
BrianH 8-Oct-2009 [18909] | Only of its existence, not how to use it. |
Henrik 8-Oct-2009 [18910] | evoke 'someword gives instructions |
Pekr 8-Oct-2009 [18911x5] | it is now clearer, because of my stack-size request ... |
I had to put new ticket there though, as we need stack keyword for secure ... | |
secure none evoke [stack-size 1000000] | |
I don't like the entire removal of security in order to be able to raise the stack. We need secure [stack allow] or even better secure [stack 1000000], and in such a case evoke is not needed ... | |
Apart from that, I don't regards #1252 to be solved. Carl just allowed the stack to be settable, but he left default value to be at 1/4 of the R2 value. 4009 recursion stack limit? Come-on ... | |
BrianH 8-Oct-2009 [18916] | Secure evoke. |
Pekr 8-Oct-2009 [18917] | Secure evoke? Yes, if 'evoke will be used for some other magic things than setting the stack :-) I wonder what is its another usage :-) |
BrianH 8-Oct-2009 [18918] | A suggestion, not something that yet exists. |
Pekr 8-Oct-2009 [18919x3] | I know - you might add it as a comment to #1259 |
it is maybe better than secure stack ... | |
as for Console2 - but that is gfx console, no? Will it work on terminal set-up? | |
BrianH 8-Oct-2009 [18922x2] | R3 is targeted at low-memory applications as well. |
Think about it: Even on a high-memory system, you might have dozens of concurrently rnning R3 instances, particularly once we start compiling ouur own hosts. Maybe hundreds. Memory adds up - better to start small. | |
Pekr 8-Oct-2009 [18924] | Does raising the stack to 1mil for e.g., consumes much more memory? |
BrianH 8-Oct-2009 [18925] | Yes, much more. |
Pekr 8-Oct-2009 [18926x3] | Hmm, more on evoke: >> evoke '? Flags: crash-dump delect watch-recycle watch-obj-copy crash |
... so its help is not adapted to reflect stack-size parameter. Will CC it ... | |
BrianH: I DDed Console2 - how can I make R3 to open in the Console2? :-) | |
BrianH 8-Oct-2009 [18929] | You can't, because it unnecessarily allocates its own console, as I noted before. To be fixed. |
Pekr 8-Oct-2009 [18930] | hmm, but even if it would not - how do you tell to general app, that Windows has now new console available to be used? |
BrianH 8-Oct-2009 [18931x2] | I want to be able to run R3 from the *Windows* command line, not its own copy of the Windows command line. |
You call the app from that console. | |
Pekr 8-Oct-2009 [18933] | aha, so it just "switches" to >> prompt, and here we go - R3? |
Henrik 8-Oct-2009 [18934] | Running from the windows command line: that would also remove the side effect that a console would be opened, when starting a R3 GUI app from the desktop. |
Pekr 8-Oct-2009 [18935] | will it be difficult to fix? If not, we could get it for the beta, no? |
BrianH 8-Oct-2009 [18936] | Yup, just like Mac or Linux. |
Pekr 8-Oct-2009 [18937] | We should CC it, as a 'wish :-) |
BrianH 8-Oct-2009 [18938] | This would be trivial to fix. I even planned to fix it myself once the host code was released. |
Henrik 8-Oct-2009 [18939] | One thing I don't like under OSX/Linux is that you can't create a new console. A new instance is piped to the same console "melding" the two together, making them both nearly useless. |
BrianH 8-Oct-2009 [18940] | I like that effect - it's what makes CGI work on Linux. |
Henrik 8-Oct-2009 [18941] | it's not useful for end users, but of course I see your point. |
BrianH 8-Oct-2009 [18942x2] | And the lack of that effect is what makes CGI not work on Windows (in addition to Unicode issues). |
I want to be able to pop up a new console if I need to, but it should be a GUI console and I should be able to pop up more than one in the same R3 process, in different tasks. Text mode console usage should use the text mode console. | |
Pekr 8-Oct-2009 [18944] | I am curious about HOW do we actually fix the unicode issues. This might be more deep problem, that might seem. Because If I am not able to print in UTF-8, I need to first print the header, using some conversion, and then the content = the code is not easily cross-platform ... |
Henrik 8-Oct-2009 [18945] | I'm OK with that, as long as you can debug a launched script in OSX. |
Pekr 8-Oct-2009 [18946] | isn't there 'launch for launching a new REBOL process? Messing 2 consoles in one is a bit weird .. |
BrianH 8-Oct-2009 [18947] | No, but it doesn't need to be cross-platform - it's in the host code. |
Henrik 8-Oct-2009 [18948] | Pekr, it's not really weird. It's just how proper piping works. REBOL just doesn't pipe to a different console in those cases where we would want it to. |
BrianH 8-Oct-2009 [18949] | As for launch, that function needs a rework. It's not done yet. |
Pekr 8-Oct-2009 [18950] | BrianH: so what is the fix for the Windows Unicode related header print problem? ;-) |
BrianH 8-Oct-2009 [18951x2] | Make the shift in response to the --cgi option. |
CGI output should be binary, and the headers output in 7bit ASCII (not UTF-8) through that binary output. | |
Pekr 8-Oct-2009 [18953] | --cgi option is not working now, or is it? |
BrianH 8-Oct-2009 [18954] | Any encoding is none of the business of the CGI channel - it is a matter between the script and the cliennt. |
Pekr 8-Oct-2009 [18955] | As to your remark - I wonder, how R3 itself decides, what is, and what is not a header :-) You probably mean, that I have to be responsible for the conversion? |
BrianH 8-Oct-2009 [18956] | The --cgi option is not working on Windows. It works on Linux. |
Pekr 8-Oct-2009 [18957] | That should be fixed, no? :-) I want to start to do some tests with CGI, and no will to mess with Linux here :-) |
older newer | first last |