« first day (3173 days earlier)      last day (607 days later) » 

2:23 AM
switch (type of first ['x ''x '''x ''''x]) [
    quoted word! [
        print "This actually look pretty good just like this"
    ]
    double-quoted word! [
        print "This looks legible as well"
    ]
    quoted/depth word! 3 [
        print "Could do this also"
    ]
    quoted 4 word! [
       print "/depth could be a skippable integer parameter"
    ]
]
If you specify the name of a skippable parameter via refinement, then it could act as an ordinary refinement argument and be gathered at the position in refinement fulfillment you'd expect. Arguably we could use this for any argument to reorder it; e.g. suppress gather as normal argument and treat as refinement.
>> append/series 10 []
== [10]
 
 
3 hours later…
5:20 AM
Hrrrm... if quoted path? value could actually work, if QUOTED peeked at its argument (like MATCH does, experimentally) and would notice if it was a word pointing to a function, and if so invoke that function via a frame which removed a quote level from the first argument. :-/ That's... an odd idea, reads differently from if path? unquote value.
Any one of these kinds of ideas may not be great, but it's great to be able to try them...
 
 
13 hours later…
6:16 PM
posted on July 09, 2019 by noreply

We are releasing today the version 0.4.0 of the RED Wallet with several major new features. As a reminder, the RED Wallet aims to be a simple and very secure wallet for the major cryptocurrencies (BTC, ETH, and ERC-20 tokens). Safety is enforced through the mandatory use of a hardware key (Ledger or Trezor keys), which protects against any failure of the wallet app (being it a bug or an attacke

 
"If you want to check if your RED Wallet binary has been tampered with in any way, you can simply drag'n drop the wallet executable on our binary checking service. If it's legit, the screen will turn green. If it turns red with a warning message, please notify us on Gitter or Twitter at once."
Perhaps brought to you by Dynacorp ("Look for the can with the mermaid on the label, Chicken of the Sea brand tuna, America's #1 non-chicken brand fish.") :-)
Outside of the issues with red/green colorblindness, I might suggest establishing red as an untrustworthy color is not in their best interest. Perhaps a check mark or an X icon graphic, in the same color--red even--would be a more (obviously) sensible choice.
 
 
1 hour later…
7:59 PM
I just checked my wallet. It is black!
Lucky me!
Those trivial things ...
But I didnot expect this release so 'Soon' (tm)
No linux if I'm correct. And hope now time will be freed up to work on real progress.
Wonder if it will be pekr or reboleks turn this time to react.
 
8:15 PM
Annoying request from me: vids yet?
 
@JacobGood1 You're right, that is annoying. :-) I just spent quite a while preparing for conferencing and conferenc'ing, and woke up with something on my mind which I am tending to that involves laying in bed and coding and not wiring up machinery to use the video editing mac mini virtually as I have no monitor with me. On that note, though, NoMachine does work pretty well.
So I wanted to get this coding idea out of my head while it's in my head, and then I'll worry about that.
It involves addressing a couple of bugs that were manifest in conference Q&A typing-in-console
I will probably wire up the mac later tonight after dinner sometime
 
9:00 PM
>> ((type of first ['''''1]) = quoted quoted quoted quoted quoted integer!)
== #[true]
Not to be confused with quote quote quote quote quote integer!, which is a quoted datatype. If you put one of those in a PARSE rule, it would think you meant you wanted to literally match (due to the first quote) a datatype itself that had been itself quoted four times (rest of the quotes)...not match an instance of an integer that had five levels of quoting.
 
glad I was right about something
 
@JacobGood1 :-) So I think this quoting thing is going to work out. You following it? The new @ types are the new "literal" types. So you can quote anything, but you can only do literal @word, @pa/th, @(group) and @[block]. These will stay as is no matter how much you reduce them, so reduce reduce reduce [@foo] will still be [@foo].
 
yes, remember I liked the idea from the start
 
This makes @[block] seem kind of redundant, but, it could make sense for dialects. But one place I'm proposing that the "uselessness" could be useful is to have it be the convention used for datatypes. It has a container property that would mean that type of first [''x] could be @[''word].
This is better than the previous ''@word for a couple of reasons. Firstly, if your dialect give meaning to QUOTED! types (as PARSE does), you don't run into conflict with that use. You have a top-level @[...] semantics for datatypes, and '@[...] can mean "literally one of these instances"
And it has the irreducibility property, which the old DATATYPE! had.
 
One pain point for me while using reduce and compose was how nasty it would get while trying to eval certain parts of nested data structures
so I like the direction this is heading in
 
9:12 PM
@JacobGood1 I think you saw the tagged compose, which has helped. forum.rebol.info/t/the-even-more-powerful-compose/1101
It works with these things too
 
yep awesome stuff
 
>> compose/deep <*> [[@(ignore me) b c] [@(<*> first [not-me]) d e]]
== [[@(ignore me) b c] [@not-me d e]]
 
maybe ill write a hello world soon in rebol
 
If what your slot generates is a WORD!, PATH!, GROUP!, or BLOCK! you can compose with (...):, :(...), or @(...) and it will change the "flavor"
Right now I'm also allowing strings to make WORD!s (that are unbound) but that's experimental, don't know if I like it completely.
>> compose [(unspaced ["like-" "this"]): ???]
== [like-this: ???]
 
I read some of this the other day: https://dzone.com/articles/how-i-created-a-web-based-ide-in-7-days
I was wondering... since rebol is going wasm how feasible it would be to create a web-based ide
2
 
9:17 PM
@JacobGood1 It's in the plans, a little at a time.
I think the IDE is an easier and more common thing than a decent console.
 
depends on the IDE
 
I want to start from the console and have the IDE features kind of emerge from it. I'm thinking more of a MathCAD or one of those online workbook bias for starters.
 
I've been playing around with Pharo... goodness they make *all languages look like static relics of the past
I know from your Ren Garden experiments that you will push interactivity so I am hopeful
I have religiously stood against web development for a long time, however, having rebol combined with the massive js ecosystem sounds incredible
can wasm access the dom now or is that still a "soon to come but def will arrive before red features arrive"?
 
9:34 PM
@JacobGood1 WASM cannot directly access the DOM, you must inline JavaScript calls. Which we do. There's a little dialect that helps interfacing snippets with JS I started: github.com/hostilefork/replpad-js/blob/…
You can JS-DO a URL!, or a TEXT!, but we also save you some trouble with escaping and such by letting you JS-DO a block of text runs and references to Rebol values.
When you say x: {"Hello" "World"} and then js-do ["console.log(" spell @var ")"] it will actually inline the programmatic JS code to take care of API calls and handle management etc.
If you tried to do that with string concatenation it would be more error prone. In any case, this stuff is going to be formidable.
var: {"Hello" "World"} I meant, as a string literal with internal quotes, which would muck you up with escaping issues if you were JS-DO'ing just a text blob you concatenated together with UNSPACED or whatever.
Imagine js-do unspaced [{console.log("} var {")}] which would not work, and js-do unspaced [{console.log(} mold var {)}] won't help because JS won't understand Rebol's escaping, so you need js-do unspaced [{console.log(} js-escaped-string var {)}] which someone would have to write and might have bugs.
Better to do it the failsafe way that's already written...namely connect the Rebol API handle for the value to the reb.Spell() function that never produces new source code for the string...just exchanges it as UTF-8 in memory
@JacobGood1 Not having to go through JS to manipulate the DOM would be ideal, and @BrianOtto says this is on the table in his talk. It is in the road map but since it was possible to do from JS--and WASM could call JS--it was left out of version 1.0: webassemblycode.com/webassembly-cant-access-dom
 
10:04 PM
So it seems to me this new @[...] concept for replacing much of what was done with DATATYPE!, then moving on to at least one type pattern (quotedness), suggests that is the more general purpose. @[...] is (under the new meaning of LIT) the LIT-BLOCK!... and you can do whatever you want with it, but by convention it will be used as the currency for DATATYPE! and what was TYPESET! before.
rebol2>> make typeset! [integer! lit-word!]
== [integer! lit-word!]  ; renders like a block, has the exclamation marks...

newidea>> integer!
== @[integer]

newidea>> quoted-word!
== @['word]

newidea>> make-typeset [integer! quoted-word!]
== @[integer 'word]
But it needs to be some kind of pattern language, with wildcarding and exclusions. You don't want ANY-VALUE! to list all possible value types. So there's a lot of design that would be involved.
 

« first day (3173 days earlier)      last day (607 days later) »