« first day (3239 days earlier)      last day (541 days later) » 

2:01 AM
Red is no longer supporting FIND in objects, "due to redundancy with IN".
 
 
5 hours later…
6:41 AM
The discussion was more broad. First proposition was for find to return a value, not a field. Gregg pointed out some consequences, but then typically situation complicated - what will you return, if you find identical value with more than 1 field, return a block? Isn't it then similar to maps, etc questions arose.
 
6:53 AM
@pekr I'm leaning toward rethinking the language to be less "all things to all people" and more mechanically predictable. In terms of things that I consider to be on the table, it would be like not having MAP! but rather making blocks that are accessed via map-like patterns faster...more like HASH!, and sort of consolidating things along those lines.
While I'm not quite sure exactly what I mean, this post is in the spirit: forum.rebol.info/t/block-and-object-parity-in-pathing-picking/…
Being less predictable and less usable than JSON is not an asset.
 
7:38 AM
@HostileFork Forgetting that the browser is also an application that needs the graphic shell of the OS. It is like the explanation of gravity with the trampoline and the heavy ball on it changing the trajectory of the passing light ball, explaining gravity by using gravity.
@GuysthatHFhungaroundwithlastnight Are you happy being called a nerd?
 
 
3 hours later…
11:23 AM
@HostileFork well, obviously we can't hope to export the secure values from a repo to another, that would be an huge security hole.
 
@giuliolunati If it were per account (e.g. any metaeducation organizational repo) that might not be too bad but probably the Travis keygen is finer-grained
 
 
4 hours later…
3:09 PM
@rgchris I've made a repo for rebol-httpd and am using it as a submodule now in rebol-server. So now the next step is to get it going in Travis so it can be auto-tested.
I guess we can test it on both OS X and Linux...though it could be annoying if there are some automation tools that are only available on one platform and not the other. So perhaps not all tests will be run on both.
 
 
1 hour later…
5:11 PM
@HostileFork Er, you mean with SELECT.
 
user7102066
Hi!
 
user7102066
@mark
 
user7102066
@MarkI
 
user7102066
:D
 
Hello?
 
user7102066
5:13 PM
Is it okay to post questions related to css in this chat room? @MarkI
 
@MarkI Quoting their ticket. Today's IN can be used for tests of in-ness of a single word, but the fact that it does other stuff makes it perhaps a bit misleading. SELECT has the classic problem of not being easy to test for finding falsey things (false keys, none). Ren-C can do better with if value? select ... thanks to NULL, but they don't have that.
 
@HostileFork I was just going by the code change. They took the code that was in FIND and moved it to SELECT.
 
@KOOLz Chat rooms are on specific topics, and CSS isn't talked about here unless it's StyleTalk. Generally speaking, asking questions in chat instead of in the normal Q&A process is not something people like very much... since the point of this site is to get good lasting Google-searchable Q&A, and it's seen as likely lazy if you try and ask in the chat rooms.
 
@KOOLz: ^ what he said.
 
@KOOLz The best idea if you have a question is to do a good search yourself, be able to explain why questions on the site that already exist don't solve your problem, and write a thorough and clear question (as a normal post on the site). Follow the rules of the MCVE...often in that process you find you solve it yourself.
 
5:33 PM
I forgot how QUIT took its parameter, and was wondering if we should go back to the idea that EXIT would be the arity-1 form of QUIT (which would default to arity-0)...but was then pleasantly surprised to remember I had finessed that with <end>-ability. :-)
So I think EXIT should indeed be reserved for non-interceptable process termination, as most programmers are used to exit() meaning.
 
6:08 PM
@rgchris @giuliolunati @ingo : Server responded with: "HighCodepointCat(😺)" => We now have httpd's first continuous integration test, and this .travis.yml should hopefully be the start of setting precedent for more. Actual Test Here
2
@rgchris (@iArnold ?) does non-blocking call (e.g. CALL*) not work on OS X? The travis test on OS X seems to be blocking and just sitting there. Works on Linux.
 
I haven't really tested it (I'm usually fishing for a response so use /WAIT most often).
@HostileFork Does that snippet leave the server script running? I don't see where it'd terminate?
import %../httpd.reb trap [wait srv: open [scheme: 'httpd 8000 [render {HighCodepointCat(😺)}]]] then (func [e] [print mold e])
 
6:25 PM
@rgchris Child processes are typically terminated when their parent process quits.
 
Ah, ok.
 
@rgchris Well see if it's not working on your machine either... I can look into it.
We're probably not actually that far from being able to do TLS with HTTPD and get HTTPS links working. Much of the code is fairly common between reading and writing.
However, we would not want HTTPS for the APK's rebol-server, as it's basically trusting itself--so it would just be wasting time.
"For HTML5, the default character encoding is UTF-8. This has not always been the case. The character encoding for the early web was ASCII. Later, from HTML 2.0 to HTML 4.01, ISO-8859-1 was considered the standard."
 
7:22 PM
@HostileFork I'm using a version from earlier in the year, but it appears to be blocking.
 
@rgchris Grumble. Well, looks like (I) wrote a comment on the matter here:
// NOTE: pipe() is POSIX, but pipe2() is Linux-specific.  With pipe() it
// takes an additional call to fcntl() to request non-blocking behavior,
// so it's a small amount more work.
I'm having a fuzzy memory that for some technical reason there's no generic way to do nonblocking configurations reliably in POSIX due to a failure in the API design. I guess one can just go with making it unreliable as better than nothing if not targeting Linux, I don't remember exactly how bad it was (must not be too bad as it took a while in practice to discover?)
 
 
3 hours later…
10:08 PM
Hrrm...soft-quoted branches could incorporate LIT-WORD!s and LIT-PATH!s to fetch them. if condition @x thus being short for if condition [x] and if condition 'x being short for if condition ['x].
if condition @(1 + x) doesn't save you anything over if condition [1 + x] however. Well, I guess it could be a legitimizing means of forcing execution and taking the result regardless. Basically if condition compose [(1 + x)] so you do the evaluation of 1 + x whether the branch is resolved or not.
And it doesn't run it as a branch. So if condition @(print "Always prints even if false" [abc]) will always print, but if true give you back [abc] the literal block instead of trying to do [abc]. Good for code golf...!
(This would basically be a revival of IF/ONLY with the branch as a modal parameter, the @ controlling the /ONLY.)
 
10:48 PM
posted on September 13, 2019 by hostilefork

Using plain CALL (e.g. CALL*/WAIT instead of the lower level non-blocking CALL*) appears to block, even though it shouldn't: https://travis-ci.org/hostilefork/rebol-httpd/jobs/584713644#L2082

 

« first day (3239 days earlier)      last day (541 days later) »