« first day (2189 days earlier)      last day (1591 days later) » 

12:52 AM
>> find "<title>" <title>
 
; Brought to you by: try.rebol.nl
== "title>"
 
Hm, that's not right.
rebol2> find "<title>" <title>
 
; Brought to you by: try.rebol.nl
== "<title>"
 
 
2 hours later…
2:33 AM
@HostileFork Really? You want Rebol to do all that just from the 'embed indication? Wait, "embed" indication?
 
@rgchris But what should find <abc> "<abc>" return? How about find <abc> <abc>?
 
@rgchris That works for me on Windows
@HostileFork Whyfor you make with the "not good"? If you want the header, use /header
@HostileFork Yet
 
@MarkI No, I'm suggesting if you have special needs to run scripts in the middle of something, that's a special need and it's your responsibility to do it, but there should be more features enabling you if you have the logic that finds the window in the file and you don't want to rip it out to a new file. Headers need to be a very narrow convention.
 
I am pretty sure everybody has their own view of how "scripts" can end up being in "the middle of something" ...
I don't think /header was intended to handle all of them, I mean.
 
Saying that if a file contains the text [rebol [] 1 2 3] = [1 2 3] that there's a script in there that's rebol [] 1 2 3 and the "[" and "] = [1 2 3]" is ignored as "some random stuff in there" is kind of a canon example of sloppy/bad/insecure design.
 
2:38 AM
I ... just don't see that.
It's the 1 2 3 that's ignored.
The first one.
Because it's in a header.
 
Nope.
 
Where you have to name things.
 
You're reading it wrong. (Or, "you're not reading it how the code implementing the headers is reading it")
 
Ooooo ... tell me more
Again, implementation overrides appearance ...
 
@HostileFork "<abc>" and <abc> respectively, I'd say.
 
2:40 AM
>> load "[rebol [] 4 5 6] = [1 2 3]"
 
; Brought to you by: try.rebol.nl
== [4 5 6]
 
That script ended at the closing "]" because a header was specified ... right?
 
@rgchris Do you believe FIND should ever return a series type different from the input series?
 
@HostileFork No—should be returning the same series.
 
@rgchris Okay so find <abc> "<abc>" shouldn't return "<abc>"
 
2:43 AM
Right.
 
3 mins ago, by rgchris
@HostileFork "<abc>" and <abc> respectively, I'd say.
So the first you meant, <abc> ?
 
Ah, I read the first one wrong. Should probably return none.
 
I dunno. Arguably, if it can image a string onto the tag, then the "a" position at the head of the tag "matches"...just as well as the "<" in a string would match the tag. :-/ It's hard to say it should work one way and not the other.
But it gets weirder with find <abc> "<"
 
I was reading it wrong, thanks @HostileFork ... it's the second one that is ignored of course, and yes, because of the implementation
In any case, I think "embedding" directly implies "ignoring stuff"
 
It's fuzzy enough to be beyond the scope of what LOAD does by default.
@rgchris What if you could do FIND with a target of a STRING! and use any search string type, but FIND of any other ANY-STRING! only allowed you to search using STRING!?
 
2:56 AM
@HostileFork I've used the idiom: find/match some-url https:// before.
 
Well, this would just have you put quotes on that. find/match some-url "https://"
 
Similarly can do things like: find/match clean-path %some.file what-dir
 
Well, this issue of string projections is longstanding, comes up a lot. Could use a rationale and design spec, like many other things.
Should find "%abc" %abc match, or not; how do mold and form work and what gets used when, I made some progress on this stuff but it's not in my head right now.
I still am leaning to ANY-STRING! being the superclass of the strings and what are called ANY-WORD!s today, and that things like find 'abc "bc" will be possible.
And still, watching the strict-equal? and == go by in the tests, my resolve grows to say that equal? and = are strict, and is? and is (and possibly ~=) are non-strict.
 
@HostileFork In this case, I don't think so. I know it's not consistent, but it's a difference in the purpose/notation of each type.
@RebolBot
probe find foo@rebol.info 'rebol
probe find rebol.info #"."
probe find rebol.info charset "."
probe find rebol.info/rebolsteps.html %.html
probe find file: %/path/to/foo.txt suffix? file
probe find %abc 'b
 
; Brought to you by: try.rebol.nl
rebol.info
.info
.info
.html
%.txt
%bc
== %bc
 
3:05 AM
Well, a position paper / rationale would be good.
 
Yep, probably.
 
The forming suggestion means find "<abc>" <abc> is "<abc>", and find <<abc>> <abc> is <<abc>>.
Which I just did in response to the issue, and can commit, but I guess the question is "is that what you want."
 
Sounds right, if such tags are permitted.
 
And paths form differently on different platforms? :-/
 
File paths, you mean?
I'd not go for that—there is a to-local-file function that does that (possibly badly named). Form should be consistent across platforms.
 
3:14 AM
I guess not. form %a/b on Windows is a/b. Good, I just didn't remember what it did.
 
>> to-local-file %/c/windows/
 
; Brought to you by: try.rebol.nl
== "/c/windows/"
 
posted on October 28, 2016 by RED

i downloaded the red-061.exe from the red site , then I run it , it does not give me a red console. my machine is using windows 10. this is to shwo that it is really in my folder 10/25/2016  09:29 AM           968,539 red-061.exe                1 File(s) &nbs

 
 
1 hour later…
4:28 AM
>> to-local-file/full %.
 
; Brought to you by: try.rebol.nl
== "/users/try-REBOL/program/"
 
Not even a file! :)
 
4:52 AM
@ShixinZeng It looks like jemalloc is a good candidate for replacing the memory pools in Rebol. People speak well of it being able to manage threads well, it does have the ability to give back the real size of an allocation (rsize) so you can expand into that capacity in the same way series do today...so the rounded capacity doesn't go to waste (necessarily).
Making the existing memory pools thread safe would be a lot of work, and not time well-spent...so the only option would be that each thread got its whole entire set of memory pools...which would be wasteful and not very forward looking in terms of when two threads might be allowed to read/write the same data.
Rust uses jemalloc but points out that one should be able to swap it out, in case whatever your host environment uses is something else: github.com/rust-lang/rfcs/blob/master/text/…
But no matter what, it seems that expecting the allocator to be thread safe is pretty much a given in any project of sophistication...and Rebol's today is not. For those who want to see threading work (I just want isolates, for starters--the ability to have two threads run independent Rebol stacks that don't operate on the same series, and pass data through other channels as bytes) a thread-safe allocator is a prerequisite.
 
5:17 AM
@MarkI It's not meant to be.
 
@rgchris Right, but there's a choice being made here.
>> print [to-local-file/full %. to-file to-local-file/full %. mold to-file to-local-file/full %.]
 
; Brought to you by: try.rebol.nl
/users/try-REBOL/program/ /users/try-REBOL/program/ %/users/try-REBOL/program/
 
Er, bad example, sorry.
 
>> to-rebol-file to-local-file/full %.
 
; Brought to you by: try.rebol.nl
== %/users/try-REBOL/program/
 
5:31 AM
Mainly it was a Windows workaround (though also Amiga).
 
No. Way. Man. :)
How is/can that be different from
>> to file! "/"
 
; Brought to you by: try.rebol.nl
== %/
 
>> to file! "\"
 
; Brought to you by: try.rebol.nl
== %\
 
Ok, that's one way ...
>> to-rebol-file "\"
 
5:33 AM
; Brought to you by: try.rebol.nl
== %/
 
Will need to try this on a Windows box: to-rebol-file "C:\Windows\"
 
OK hang on ...
%/C/Windows/
>> to-rebol-file "C:\Windows\"
 
; Brought to you by: try.rebol.nl
== %/C/Windows/
 
That.
 
Ok, wasn't expecting that on Try Rebol. Doesn't work on OS X.
Goes horribly wrong on the Emscripten build.
 
5:42 AM
I can imagine <grins>
I have enough trouble just getting things like %\ across to, say, what's-her-name.
Speaking of which, poor ol' RebolBot has been posting away here for nigh on ... a long time now, and that has garnered a whole 51 rep. Shame, really.
Especially because it shows up every time, what with the four-line minimum response size ...
OK, bordered, looks like more than three lines' worth of vertical space at least.
 
posted on October 28, 2016 by hostilefork

Rebol issue 1160 pointed out a problem with using a TAG! to search over a string: rebol/rebol-issues#1160 This change uses FORM on the argument, so find "<abc>" <abc> will account for the tag delimiters. Searching has some strange ramifications for other types, given that you can't really get a good result out of find <abc> "<". For lack of a better rule, though,

 
>> pick [yes no] probe "Should RebolBot have a higher score?"
 
; Brought to you by: try.rebol.nl
; rebol.com/r3/docs/errors/script-invalid-arg.html
    "Should RebolBot have a higher score?"
*** ERROR
** Script error: invalid argument: "Should RebolBot have a higher score?"
** Where: pick
** Near: pick [yes no] probe "Should RebolBot have a higher score?"
 
Oh dear, that didn't work so well...
>> pick [yes no] string? probe "Should RebolBot have a higher score?"
 
; Brought to you by: try.rebol.nl
"Should RebolBot have a higher score?"
== yes
; Brought to you by: try.rebol.nl
"Should RebolBot have a higher score?"
== yes
 
 
7 hours later…
1:21 PM
3 new #tennis posts about #birminghamalabama #rebol http://www.topicly.io/topic/tennis?58131cf7d189232d00ef733a
 
1:41 PM
@giuliolunati Did you see emscripten_run_script() before, or is that new?
If that works, it could just be exported as a native, like emscript {alert("hi");}... ?
 
2:07 PM
(unless it is asynchronous, and doesn't run until you return to the browser main loop, in which case that's useless.)
 
 
1 hour later…
3:17 PM
0
Q: What Could be the Cause of this: ** Command Error: SSL Error: error:14077410:SSL routines:SSL23_GET_SERVER_HEL LO:sslv3 alert handshake failure

Time Series LordVersion: REBOL/View 2.7.8.3.1 1-Jan-2011 I have run a REBOL script weekly that fetches data for years. The last verified working of the script 21-Oct-2016. As of today, 28-Oct-2016 the script fails with this error: ** Command Error: SSL Error: error:14077410:SSL routines:SSL23_GET_SERVER_HEL...

 
3:38 PM
@giuliolunati I see that indeed the browser won't do anything until you return.
 
@HostileFork yes I saw, but never tried. Sync vs async is the main issue about emscripten build ...
@HostileFork if you will work at splitting host / library I surely will encouraged to spent time around Emscripten ... ;-)
For now I'm working at user-level custom types, and linalg
 
@giuliolunati Well there's lots to think about, as I said right now modules/objects/types are a big pain point; the good news is that things are pretty well under control in the code. We don't have a lot of "mystery bugs"; generally if something goes wrong it's easy to find out what it is...and once a behavior is designed and decided it can be implemented.
 
3:56 PM
0
A: What Could be the Cause of this: ** Command Error: SSL Error: error:14077410:SSL routines:SSL23_GET_SERVER_HEL LO:sslv3 alert handshake failure

Steffen Ullrich REBOL/View 2.7.8.3.1 1-Jan-2011 I don't know much about rebol but according to the documentation it is available for a variety of systems, including various UNIX like systems. This suggests that the underlying library used for SSL/TLS is the most commonly used library which covers all suppor...

 
@HostileFork I don't feel user types as a priority -- But before working seriously at Emscripten we need a good build process
 
@giuliolunati Yep, you're right, build process is important. But also keeping things simple is important.
 
@HostileFork sure. And recent improvements are amazing!
 
4:29 PM
@rgchris O noes, you talked to the time lord...don't steer him to Atronix or Ren-C! :-/ Anyhow, the C portion of the SSL lib hasn't been updated (I did some work on an extractor at one point a long long time ago, to bring it up to date, and make it possible to use the system shared library also; didn't finish). But a lot of the higher-level handshaking stuff is in Rebol code at the moment...which is a bit of a weak spot given that it's tricky stuff and no one around to keep it up to date.
 
@HostileFork It's going to happen some time :)
 
 
4 hours later…
8:46 PM
posted on October 28, 2016 by Zamlox

Following improvements have been done: FEAT: Shape - preserve last point among different shape blocks Last point of a shape block will be saved and used as start point for next shape block within same draw block if no 'move' command used before using one of drawing shape commands. This might be useful when drawing one shape requires changing different graphic attributes (pen, fill, width).

 
9:14 PM
Rebol's abilities to do interesting things with threading is a bit limited by the closeness to the native code. Without some kind of layer to abstract away the C call stack, you aren't going to be able to do things like continuations...or pause some bit of work and hand it off from one thread to another. Even though you're not programming in C, when it comes to threading and event model you don't have much a leg up on C.
And of course, the already well-established problems where there's very little established in terms of immutability. So without locks and mutexes and semaphores, you can't do concurrency...beyond something like talking over a socket and sharing no other data.
Does anybody have an example of prototype Red code, of what Red thinks parallelism would look like?
 
9:47 PM
Post: Red-Lang: Live-coding of a clock demo, EVE-style: http://jugad2.blogspot.in/2016/10/red-lang-live-coding-of-clock-demo-eve.html #RedLang #programming #EveLang #animation
RT @vasudevram: Post: Red-Lang: Live-coding of a clock demo, EVE-style: http://jugad2.blogspot.in/2016/10/red-lang-live-coding-of-clock-demo-eve.html #RedLang #programming #EveLang #animation
 
10:19 PM
posted on October 28, 2016 by vram22

[Hacker News] Red-Lang: Live-coding of a clock demo, EVE-style (1 point)

 
10:33 PM
One of these days I'll change 'News' to 'Bookmark', I promise...
Although the link through is to a new blog post, so worth the repost...
 

« first day (2189 days earlier)      last day (1591 days later) »