« first day (3575 days earlier)      last day (205 days later) » 

2:38 AM
red>> -4.94065645841247E-324 < 0.0
== true

red>> -4.94065645841247E-324 = 0.0
== true
^-- that's also true in R3-Alpha. It's weird. Essentially, < is "strict-lesser?" while = is "lax-equal?"
 
 
6 hours later…
8:40 AM
^-- Weirder than that, actually. Because 1 < 1.11, it isn't "strict in the sense of not being willing to convert"...just "strict in the sense of less-than-ness". :-(
 
 
2 hours later…
11:04 AM
> "Given that there in point of fact is no option to constitute all aspects of a program on one picture, although it’s 3-d, the theory of having other photos – frequently with other visible metaphors – for various aspects sounds like a approach to move. Also gives the option of getting textual content DSLs for some duties and pictorial representations for others."
Well put, Ph.D coding. We can all agree that Rebol is an approach to move for some duties and pictoral.
 
 
3 hours later…
1:52 PM
@HostileForksaysdonttrustSE And other visible metaphors, indeed.
 
 
4 hours later…
5:25 PM
equal?: specialize 'compare [operator: '= | strict: false]
strict-equal?: specialize 'compare [operator: '= | strict: true]
not-equal?: specialize 'compare [operator: '<> | strict: false]
strict-not-equal?: specialize 'compare [operator: '<> | strict: true]
lesser?: specialize 'compare [operator: '< | strict: true]
greater?: specialize 'compare [operator: '> | strict: true]
greater-or-equal?: specialize 'compare [operator: '>= | strict: true]
equal-or-lesser?: specialize 'compare [operator: '<= | strict: true]
w/POINTFREE that could be equal?: (=> compare '=) and strict-equal?: (=> compare/strict '=) etc. But I'm still a little hesitant to use things that are too weird in bootstrap...makes debugging all the more painful when something goes wrong. Anyway, what this is getting at is trying to make the comparison foundations more like rich comparisons in Python
As part and parcel of attacking stackless comparison, which is a load of fun in its own right.
 
5:57 PM
Any good way to return a block! with values retrieved from a row, append values to a block! using rebElide and use Renc APPEND function(???)
Or is the best way to first get the number of retrieved columns and then use an array like it is done in this code example from gob extension? https://github.com/metaeducation/ren-c/blob/b1cbb9a25684fa742585846cbaa92fe23f0d01d3/extensions/gob/mod-gob.c#L175
 
6:12 PM
@iArnold Don't follow the GOB for really anything. ODBC is more relevant. If you create a block you can return it from a native, e.g. return rebValue("[a b c]"); works.
REBVAL *block = rebValue("[]");
int c_int_value = 10;
rebElide("append", block, rebI(c_int_value));
return block;
 
6:36 PM
Thanks. That is why I ask. I look around for ideas but in the end I do not have to invent the square wheel with the round hole for the axis again when there is a better alternative.
 

« first day (3575 days earlier)      last day (205 days later) »