World: r3wp
[!REBOL3-OLD1]
older newer | first last |
[unknown: 5] 25-Dec-2008 [8951x2] | Anyone know if in R3 that op! will be treated as an op! in a block before evaluation? |
be nice to do something like: op? second [this + that ] and have it return true. I know it is a word value now but I never understood why it was made word there. | |
Henrik 25-Dec-2008 [8953x2] | >> type? first [+] == word! |
wow, found a crash :-) | |
Henrik 31-Dec-2008 [8955x3] | First RebDev version was uploaded to our private world a few seconds ago. The first screenshot of the CLI interface: http://rebol.hmkdesign.dk/files/r3/gui/174.png |
Server is still running on R2 for reliability, but it was written in R3, so apparently it's compatible. | |
The client appears to be a bit over 20 kb of code and is fairly simple to use. Still some bugs left to solve, but moving quickly forward. | |
Graham 31-Dec-2008 [8958x3] | so all console driven ? |
is it cgi or lns? | |
or direct tcp? | |
Henrik 31-Dec-2008 [8961] | all console driven, yes. it appears to be plain HTTP as it runs off port 80. |
PeterWood 31-Dec-2008 [8962] | If the RebDev serve runs on R2, how does it handle character encoding? Does it simply ue the default Windows codepage on the client machine? |
BrianH 31-Dec-2008 [8963x3] | I would not trust non-ascii characters for now. With any luck the server saves the messages as binary UTF-8, don't know yet. |
The current client is console driven (old school BBS), but there will be many more clients. | |
The current server is implemented as CGI scripts, though FastCGI is planned for later. | |
PeterWood 1-Jan-2009 [8966] | Not trusting non-ascii characters infers that the current desing of RebDev is "ignorant"of character encoding. If that is the case, it is a shame as RebDev could have been a great example of an "up-to-date" application built with R3. |
Henrik 1-Jan-2009 [8967] | Doesn't this all depend on the limitations of the front-end used? |
Kaj 1-Jan-2009 [8968] | It has to be this way as long as the server is running on R2. Says nothing about R3 or the design of RebDev |
PeterWood 1-Jan-2009 [8969x2] | Even if the server is running on R2, all the strings could be stored with a consistent encoding method, such as ISO-8859-1. Of course, there'd be a lot of work detecting the client encoding method and converting all input strings to the chosen consistent method. Most of this work would be needed even if the server supported Unicode strings. |
Personally, I think ignoring character encoding does say something about the design of RebDev. | |
Gabriele 2-Jan-2009 [8971x2] | considering that R3 will probably just send everything as UTF-8, I don't think the server has any reason at all to worry about encodings. |
you have to worry about encodings when you do conversions. i don't see where the R2 server is doing any of that. Also, with UTF-8 there is no need to worry about encodings on searches and things like that. The only issue could be sorting, but that is also region specific so it's a completely different issue that R3 cannot solve globally either. | |
PeterWood 2-Jan-2009 [8973] | As you say, if all the input is UTF-8 everything will be fine. I mistakenly thought that the inputs from different environments would have been differenlty encoded as they are with R2. |
BrianH 2-Jan-2009 [8974x2] | That would have to be the case with R2 clients, as the client is the part that handles character encoding. However, there are no R2 clients yet. The messages appear to be UTF-8 encoded end-to-end, stored in binary on the server, which is encoding agnostic. Once we have R2 clients, they will have to handle the codepage-to-UTF-8 encoding, or just stick to ASCII. |
And yes, it does say something about the design of RebDev, that character encoding issues of R2 won't affect it, by design. | |
Reichart 2-Jan-2009 [8976] | This is one of those things where a picture is worth a thousand words. We need a diagram of the hardware and software set up, and show WHERE encoding becomes a problem. For example, if you paste some text from a Word doc into a webbrowser, this then gets moved to the server. Then it gets rendered out again...you wil run into problems with encoding. Word use some SPECIAL encodoing for things like " : - and ' |
Kaj 3-Jan-2009 [8977] | That sounds like an issue between Word and the browser edit field, or between Word and the clipboard |
Henrik 3-Jan-2009 [8978] | RebDev now has a webfeed suitable for iPhone. |
Gabriele 3-Jan-2009 [8979] | Reichart, I still think that is not the fault of Word (except for changing your character on you) or the browser. |
Henrik 3-Jan-2009 [8980] | Some shots of rebdev on iPhone: http://rebol.hmkdesign.dk/files/r3/gui/176.png http://rebol.hmkdesign.dk/files/r3/gui/177.png |
Geomol 3-Jan-2009 [8981] | :-) |
Steeve 3-Jan-2009 [8982] | wahouuuuuuu !!!! |
Henrik 3-Jan-2009 [8983] | I think this will be open, so someone can get to prettify it later. The mobile version is simpler to do so it's done first. |
NickA 3-Jan-2009 [8984] | That's great! |
amacleod 3-Jan-2009 [8985] | Henrik, Is that in iphone's browser? |
Henrik 3-Jan-2009 [8986] | yes |
amacleod 3-Jan-2009 [8987] | 10 seconds to reply...your getting slow |
Henrik 3-Jan-2009 [8988] | :-) it runs in the iPhone simulator, but it works the same as on a real iPhone. If you have XCode and OSX Leopard you can test it out yourself. |
amacleod 3-Jan-2009 [8989] | So its html...why is mobile easier? |
Henrik 3-Jan-2009 [8990x2] | because it's just a simple HTML page. you can't post yet and you can't login to your own account yet like the console version. it's meant to be used with lesser browsers for smaller phones than iPhone as well. |
and it was convenient for Carl since he owns an iPhone. | |
Reichart 3-Jan-2009 [8992] | Gab, not an issue of "fault", I'm simply modeling examples of problems I see on dozens of websites, due to encoding "issues". Don't care where the fault is, just that we need better black box tools fro dealing with it. |
PeterWood 3-Jan-2009 [8993x2] | Reichart: From my point if view, the root of the problem is not so much that Word replaces key certain key sequences with other characters but on eof character encoding. The text will look okay on your machine but unless it is correctly converted may display incorrectly on other machines. As I understand, Rebol/View uses the users default "codepage" on Windows and MacRoman encoding on Mac. AltME doesn't take into account the different the different text encodings so when I type £ (a British pound sign) you will probably see some thing different. . |
eof => the | |
Chris 3-Jan-2009 [8995x2] | Pound is similar over many code pages: more diverse -- ½ -- Mac: omega; Win/west: 1/2; Win/east: right-smart quote. |
On rebol.org, you get a ? -- http://www.rebol.org/aga-display-posts.r?post=r3wp453x8946 On rebol.net, we shall see -- http://www.rebol.net/altweb/rebol3/chat453.html | |
Sunanda 3-Jan-2009 [8997x2] | REBOL.org shows a ? because if blindly emits all Alte pages as charset=utf-8. If (this works in Firefox....You change your default for the page -- view/character encoding / western iso-8859-1) then: -- Peter's post shows a GBP [for his char 163] -- Chris' post shows a 1/2 [for his char 189] |
_Part_ of the problem is that altme server --> client channel (ie what is sent to each of us when someone posts a message) does not seem to contain charset information......I may be wrong about that, but I do not see it anywhere. I have not idea if client-->server channel does send that information. | |
Chris 3-Jan-2009 [8999] | I don't imagine it would -- I'm not sure there's a way within Rebol to detect the charset in use... |
Reichart 3-Jan-2009 [9000] | Peter....I'm confused.... Word, nor REBOL have anything to do with the problem.... Encoding problems happen on hundreds of websites (big, popular website), that do not use REBOL, and where Word is not the source. I'll state again... we need strong clear black box logic that unifies all character maps (yeah, all). WE need a single unified character system. |
older newer | first last |