World: r3wp
[!REBOL3-OLD1]
older newer | first last |
BrianH 17-Apr-2009 [13328x3] | I don't mind the ? issue! display in this case, but I'd like MOLD/all issue! to return a serialized encoding like: #[issue! "a b"] |
In general I prefer simple encoding syntax rules over autoencoding, because it is easier to remember explicit rules than it is to remember magic dwim patterns. | |
Gabriele, RFC compliance of url encoding is important and will be fixed in upcoming R3 releases, even if I have to fix it myself. R2 as well if I end up being the R2 release manager (it's possible). | |
james_nak 17-Apr-2009 [13331] | Back after many weeks... how does one get on the r3-alpha world? |
BrianH 17-Apr-2009 [13332x2] | R3 chat. No more R3-Alpha world. |
No more real work being done on R3 in AltME worlds. | |
james_nak 17-Apr-2009 [13334] | Do you mean here, Brian? Or is that a world name? |
Henrik 17-Apr-2009 [13335] | james, we use the R3 chat built into R3 now. |
BrianH 17-Apr-2009 [13336] | Download R3. Copy it to a directory of your choosing. Run it. Enter the "chat" command. |
Henrik 17-Apr-2009 [13337] | (but big warning: it's console only) |
james_nak 17-Apr-2009 [13338] | Oh, I see. Yeah, I checked it. I was just trying to follow the instructions on the wiki which leads one to altme. |
Henrik 17-Apr-2009 [13339] | we'll help, if you have trouble. |
james_nak 17-Apr-2009 [13340] | Thanks. I was happy to see the demo gui run. |
Henrik 17-Apr-2009 [13341] | Demo GUI is still the first prototype. |
james_nak 17-Apr-2009 [13342] | Yes, but to see it running (I only saw your images prior to this) was exciting. Thanks and take care you all. |
Gabriele 18-Apr-2009 [13343x2] | Geomol, sometimes I don't know what language I'm speaking in. We were talking about URLs, weren't we? files and emails are rebol values with rebol rules. url! also has rebol rules which is the main problem - REBOL considers %40 and @ to be the same, while they are not (if they were, there would be no reason for escaping). |
If user friendly means breaking everything, then I'll leave user friendly languages to you. | |
Geomol 18-Apr-2009 [13345] | Are you having a bad week? I'm in doubt about auto encoding, whether it's a good idea or not. And I talk in general, not just one datatype. In R3, you can use % in an email: >> a%[b-:-c] == [a%25b-:-c] I first thought, it was an error. After some talk here, I realized, it's auto encoding of the % character. In R2, you have to write the encoding yourself: >> [a%25b-:-c] == a%[b-:-c] So it's the other way around between R2 and R3. Clearly Carl try to make REBOL smart. Make it figure out, what the programmer mean. In general with computers, I tend to dislike the systems, that try to be smart, if they don't get it 100% correct in every situation (Windows), and I like the systems, that does not try to be smart but put the user in charge (Amiga). So at this point, I think, auto encoding should be avoided. And avoid it in all datatypes, not just url. I may change my mind, if auto encoding can be done 100% correct in all datatypes. For url, it would mean e.g. this: >> to url! "ftp://[me-:-inter-:-net]:[pass-:-server-:-net]" == ftp://me%40inter.net:[pass-:-server-:-net] So my question is, can auto encoding be done 100% correct for all datatypes? If not, avoid it. If auto encoding should be there in some cases but not all, I would like to hear the arguments for that. |
[unknown: 5] 18-Apr-2009 [13346x2] | https://help.ubuntu.com/community/RootSudo |
; I do: sudo -i sudo passwd yourpasswordhere ; then when your done just do this: passwd -l root | |
Gabriele 19-Apr-2009 [13348x2] | Geomol, we're talking about two completely different things, and if you don't see that, I don't really know how to explain it. |
I'm talking about "escaping", while you use the term "encoding" ambiguously to mean both encoding and escaping. THEY ARE TWO DIFFERENT THINGS. | |
Geomol 19-Apr-2009 [13350x3] | Ok, thanks. I'll read more closely into it. |
Gabriele, I don't think, I got it wrong. From RFC 1738 http://rfc.sunsite.dk/rfc/rfc1738.html The word "escape" is only used in the BNF in section 5. Escape is defined like: escape = "%" hex hex That must be what you mean, when you gave the example of an url with the problem: ftp://user%40email.com:[pass-:-ftp-:-domain-:-com] When REBOL read that url, it convert %40 to the @ sign. Throughout RFC 1738, the word "encode" is used, when a character needs to be escaped. Like in this - taken from the RFC: The user name (and password), if present, are followed by a commercial at-sign @". Within the user and password field, any ":", "@", or "/" must be encoded." So "encoded" mean escaping the characters, right? I think, that's how I used the word in my comments here. If you think, I got it wrong, could you explain it to me then? I would like to get this right. | |
And please try not to shout. There's no need to shout at me. | |
Pekr 19-Apr-2009 [13353x3] | yes, no shouting please. Don't forget it is pekr, who has privilege to shout here :-) |
I smell some problems towards Rebin :-( ... Carl points something in Chat ... | |
Carl states he was working on rebin last week (which is prerequisite to host to core code isolation and finally open-sourcing R3 host code), but found some problems, especially for Draw, which needs to be dynamic ... | |
Ammon 20-Apr-2009 [13356] | This looks like a bug to me... >> obj: context [] == make object! [ ] >> bind 'a obj == a >> obj == make object! [ a: unset! ] >> obj: context [] == make object! [ ] >> bind [a] obj == [a] >> obj == make object! [ ] |
Pekr 20-Apr-2009 [13357] | BrianH: in rebol school channel you mentioned libjit. Is it this one? http://freshmeat.net/projects/libjit/Hmm, so it is not related to ASMJit or BlitJit? |
BrianH 20-Apr-2009 [13358] | No, it came out of the DotGNU Portable.NET project, though it is designed to not be specific to .NET bytecodes. |
Pekr 20-Apr-2009 [13359] | I would also like to ask about one Carl's Chat message, describing DELECT. Do I understand it correctly, that first Carl thought that DELECT might be used for some interfacing, but that DELECT is kind of functional/procedural aproach which does not fit the concept, and hence instead Carl is considering action! kind of aproach? |
BrianH 20-Apr-2009 [13360x3] | That's a link for it, though the download links don't work. |
DELECT was supposed to be a way for Draw-style dialects to be done without exponential growth in the size and runtime of the parse rules to handle them. However, it turned out to be not powerfuul enough, so it is due for a revamp or replacement. The days of "just make a dialect" are over - we have improved the performance of REBOL to the point where the overhead of processing dialects is now noticable enough (in comparison) that you need to be really careful about dialect design and implementation. Or about the choice to use a dialect at all. | |
Now about libjit, I considered it years ago, but it was GPL 2, and GPL 2 code is license incompatible with REBOL. As of the new version released in December of 2008 libjit is LGPL 2.1, and we can use that with REBOL. It supports more CPU platforms than TCC and it is about the same size. Here's some links: - http://www.gnu.org/software/dotgnu/ - http://savannah.inetbridge.net/dotgnu-pnet/libjit-releases/ | |
Janko 20-Apr-2009 [13363] | I don't quite understand how you mean libjit would be used ? to jit compile rebol code, or some lower level rebol-like dialect like rebcode or something third? |
Pekr 20-Apr-2009 [13364] | Janko - I think the latter - to "compile" some subset of REBOL language, a dialect ... |
BrianH 20-Apr-2009 [13365] | You would compile a low-level REBOL dialect into functions that could be called from REBOL. In R3 this could even be a user-defined function type. However, the syntax for this dialect could resemble a subset of the REBOL DO dialect if you are careful. |
Pekr 20-Apr-2009 [13366] | BrainH: it scares me a bit - dialecting was supposed to be one of REBOL's holy grails. Where have we improved performance of REBOL specifically? Or in other words - were dialects here because they gained us some speed? I think not. As for DELECT, I think that with advent of parse improvements, it will not be used much, if used at all. What do you think? |
Janko 20-Apr-2009 [13367] | interesting |
BrianH 20-Apr-2009 [13368] | Dialecting isn't any slower, it's just that everything else has gotten quicker in R3, and dialect processing just seems slower in comparison. Dialecting just has to catch up with the rest. |
Pekr 20-Apr-2009 [13369x2] | BrainH: what is your take on security? I mean - with R2 web plugin, we could not allow DLL interface. We are now restructuring R3 security model, but I still wonder - what about R3 plug-ins? Those will contain native code, no? Will R3 be "internet secure"? Or we will have to release special version of R3 for browser, hence making it non-extensible? Or it can be secured somehow? |
BrainH: well, for me dialects should not be introduced just for the sake of using dialects, but for kind of API environments, where they make sense. And - you "compile" them to REBOL code in the end, I think that the cost is not very high ... | |
BrianH 20-Apr-2009 [13371] | I expect that the browser plugin won't be able to load REBOL plugins that have native code in them - they will need to be compiled in. |
Pekr 20-Apr-2009 [13372] | OK, moving home. I am curious what Carl comes up with. His host isolation plan via 'cmd actions looks interesting, although I do not understand it fully yet :-) |
BrianH 20-Apr-2009 [13373x2] | Some dialects are compiled into REBOL code (I do it often), but most people's dialects are either interpreted or handled by natives. |
The security model is a work in process - if you don't understand it fully yet, that just means you get it :) | |
Janko 20-Apr-2009 [13375] | BrianH, that libjit thing is very interesting |
Gabriele 21-Apr-2009 [13376x2] | Geomol, the difference I'm pointing out is the following: suppose you have an array of unicode code points. each element in the array is an integer that represents a character. you can "encode" it to UTF-8. there is no magic, for each integer you have a corresponding sequence of bytes. |
Now, if your array was representing a url, you could encode it to UTF-8 using the % encoding as well to stay in the ascii subset. This is encoding, but still, it will not solve your @ problem. each @ in the array of integers will become an @ (which is an ascii char) in the final string. | |
older newer | first last |