World: r3wp
[!REBOL3]
older newer | first last |
Cyphre 21-Oct-2010 [5646] | from my experience, if I build R3 as 'console app' the win console (the way it is handled now) doesn't render characters in unicode. So far I haven't found a way how to fix that (and after brief googling the net it looks this is known issue) |
Pekr 21-Oct-2010 [5647] | that's bad :-( |
ChristianE 21-Oct-2010 [5648] | Cyphre, Andreas, that's what I was seeing, too. Build as console app --> no unicode chars displayed, build as gui app --> unicode chars are fine, but you can't run in a console window. I don't know what other languages are doing or if there is a way to fix this at all. From the information I gathered back then, I'd say, probably there isn't. |
Cyphre 21-Oct-2010 [5649] | imo, for the 'console app' version you would need to use different approach...detect if the process already have console attached and the reuse it. But I haven't looked into any details so it is possible even this won't work well. |
Pekr 21-Oct-2010 [5650] | Cyphre - we are already reusing the console (I mean - Andreas, I just do some tests). We can even get czech chars displayed, byt typing czech chars firing enter quits R3 ... |
Cyphre 21-Oct-2010 [5651] | ok, that is in the 'console app' mode....sorry I meant that there might be a way how to check if the 'GUI app' is run standalone or from console and then decide what approach to use. But I haven't tried to play with it yet. |
Andreas 21-Oct-2010 [5652x4] | yeah, that would be interesting. |
unfortunately there seems to be no way for a GUI app to keep an association to the console it was launched from. | |
you can try to attach to the console of the parent process, but carl seems to have tried that and it is now disabled for some reason. | |
well, needs further investigation :) | |
Pekr 21-Oct-2010 [5656x2] | The reason was the blog article I posted - see the comments ... |
http://www.rebol.net/cgi-bin/r3blog.r?view=0282#comments- so those are the problems Carl faced ... | |
Andreas 21-Oct-2010 [5658] | in any case, i fear the console on win32 is mostly a lost cause :) |
BrianH 21-Oct-2010 [5659] | I haven't given up on it yet :) |
Kaj 21-Oct-2010 [5660] | I see there's no Linux release beyond alpha 107, so I can't do any testing |
BrianH 21-Oct-2010 [5661] | They are working on Linux and host kit issues now (for European sleep schedule values of now). |
Kaj 21-Oct-2010 [5662] | Don't worry, I'm more aligned with US sleep schedules :-) |
Andreas 22-Oct-2010 [5663x2] | The mix of mutating and non-mutating series functions sometimes really is maddening. Not to mention the uglyness of the resulting code. |
MAP-EACH copies, REMOVE-EACH modifies, SORT modifies, UNIQUE copies, ... yuck. | |
Henrik 22-Oct-2010 [5665] | yes, I agree, but therefore it needs to be clear which function modifies and which one does not: ? modifies |
Andreas 22-Oct-2010 [5666x3] | Yes, that's fine. |
Doesn't beautify the code or make it less maddening that does pieces do not fit together nicely. | |
those* | |
Henrik 22-Oct-2010 [5669] | I also think we could use a document that states why some of the functions modify and some copy. I had a longer discussion about UNIQUE recently. |
Andreas 22-Oct-2010 [5670x2] | ? "(Modifies)" will be a great start to write a always-copy overlay module. |
For those who worry more about elegance and conciseness than about performance ... | |
BrianH 22-Oct-2010 [5672x4] | That can be a doc string convention and it would work just as well. We have already put (modifies) in a lot of doc strings. |
However, a better convention would be to put (modified) on the doc strings of the particular parameters that are modified. Some functions modify only one or two of their parameters, not the rest. | |
Consistent application of this convention is key here, or else HELP won't find them. | |
We should consider this to be a requirement for the multitasking project, since using the modifying functions can be tricky when multitasking. | |
Izkata 22-Oct-2010 [5676] | Is there a reason MAP-EACH copies? Wouldn't it be faster if it modified? |
Andreas 22-Oct-2010 [5677] | Certainly an option. But that are not the semantics one usually associates with "map". In that case, "change-each" would be a much better name. |
BrianH 22-Oct-2010 [5678] | MAP-EACH that modifies would be FOREACH. Generating a new block is the entire reason for MAP-EACH. |
Andreas 22-Oct-2010 [5679] | FORALL rather than FOREACH. |
BrianH 22-Oct-2010 [5680] | Right, but in some way already covered by an efficient function or code pattern. |
Andreas 22-Oct-2010 [5681x2] | (If anything.) |
Anyone still happens to have R3 A30 binaries? If so, please send me a private message. | |
Carl 23-Oct-2010 [5683x2] | A109 for Linux has been uploaded. There was an odd glitch in the build that delayed it. |
Andreas, A30? | |
Maxim 23-Oct-2010 [5685x3] | do you have an ETA for A109 host-kit? |
I'm about to prepare a package which has a working version of openGL in view... | |
wondering if Its better to wait for A109 | |
Carl 23-Oct-2010 [5688] | I uploaded it for the RMA guys to test out. |
Maxim 23-Oct-2010 [5689] | ok, so its already done... cool. |
Carl 23-Oct-2010 [5690] | The A109 did not focus on host-kit, but on other things... so not sure it works. I can give you a copy to try if you want. |
Maxim 23-Oct-2010 [5691x2] | yeah, it would be nice, I'll try to update the Custom Gob Rendering API to it. |
btw have fun at amiwest tomorrow... wish I where there :-) | |
Carl 23-Oct-2010 [5693] | www.rebol.com/r3/downloads/r3-host-kit-a109.zip |
Maxim 23-Oct-2010 [5694] | thx ! |
Carl 23-Oct-2010 [5695] | so... give it a try, but no promises on this one, not tested |
older newer | first last |