« first day (2992 days earlier)      last day (788 days later) » 

3:32 AM
@DaviddenHaring In the email you may not have gotten, I said I'd send you the year end update plus more relevant-to-Atronix status reports, which I have also been a bit delayed in giving (!). I'll put together something soon!
I wanted to send a few things that "show off", so of course that means the "don't show them until it's ready" mode (a habit Carl was a victim of, that I honestly thought I would not also be a victim of due to my "operate in public" ethos, but it turns out it is a powerful habit, no matter where you operate!)
 
 
8 hours later…
11:47 AM
0
Q: Segmentation fault with Gtk console on 64-bit system

Maciek ŁozińskiI've compiled a Red console with Gtk3 support. When I run View tests, such as included in repo tests/react-test.red, i get an error: $ ./console tests/react-test.red *** Runtime Error 32: segmentation fault *** at: F6B4E33Eh ldd console does not report missing libraries. The same binary works...

 
 
1 hour later…
12:49 PM
posted on January 09, 2019 by VIDpuzzle

I compose a layout at runtime. When I attempt to add a variable, I get: ** Script Error: grid5 word has no context ** Where: forever ** Near: new/var: bind to-word :var :var b: 5 block-middle: to-block rejoin [ "grid" (b) ": text "] append block-middle ["Test"] probe block-middle ; [grid5: text "Test"] view/new  layout block-middle Is ther

 
 
4 hours later…
4:23 PM
Crikey—a version of R3-GUI I can use on Mac (albeit with the XQuartz tax).
3
 
 
2 hours later…
6:08 PM
@HostileFork I don't specifically remember an email. Did you send it to my Yahoo! or Gmail address? Your Elevating the Art article is currently sitting in an open tab and is on my short term reading list.
@rgchris Where is Crikey?
 
@DaviddenHaring It was the @ atronixengineering address. Perhaps that's different after the acquisition... ?
 
@HostileFork No, still the same, but it might have ended up in bulk mail which has a rolling 4-week window.
@HostileFork You've got me curious about what you wanted to show off.
 
@DaviddenHaring There's a lot! But probably the most relevant thing is how far the API has gotten. You can use the API internally too, so if you're in some weird debug situation in the middle of the code, and have a REBVAL* like block, you can just say rebElide("for-each x", block, "[print mold x]"); The speed at which you can develop C code with bits of Rebol in it is very high, it's like RenCpp but the technique is all C-based, and very clever IMO.
It has a pattern of series and value cells where the first two bytes (platform independently addressed--always the first two) don't conflict with legal UTF-8 patterns.
 
posted on January 09, 2019 by Steven White

I want to take some data from an SQL query and produce a CSV file.  I can do that, no problem, but the data sometimes comes in a type that I don't want and so I have to convert it.  For example, a number that really is an integer might have a decimal in the raw SQL output and I have to convert it to an integer.  I can do that, no problem, but I have to know what is

 
Hence, it can enumerate the variadic parameters, the way a printf would, and sniff what it has in its hand to let you splice UTF-8 runs, values, and series as "instructions".
So there's no long list of rebAppend(), rebAppendOnly(), rebAppendPartOnly(), etc. in the API. All the APIs are variadic, and you pick which one you call based on what kind of return result you want to extract back to C. (rebElide is the version that is a C void, so you don't have to worry about any result.)
 
6:17 PM
@HostileFork Interesting.
 
But there's quite a lot of details in it. Such as, when you run in an extension, the extension native remembers which module it was defined in. So when you say ... = rebRun("append", ...); in the code for that extension, it runs append as it was defined in that extension.
Using strings has a load and bind overhead on each call, but a lot of the time that's fine...and if it isn't you can dodge it with specializations. Because those mechanics actually work now: forum.rebol.info/t/arity-of-then-and-now/1000
@DaviddenHaring Forwarded mail sent Nov 26 to your gmail...
 
 
1 hour later…
7:35 PM
@HostileFork Got the email. Thanks.
 
8:27 PM
@DaviddenHaring In terms of artifact-distribution, I'm angling pretty strongly toward the web release...not worrying about binaries for Windows/Linux/Mac, but having people build it themselves. So one thought I have for the future--with Ren-C integration--is that perhaps Atronix could pretty much "own" the binary distributions, to whatever form factor you need for your clients.
If those binaries are too fat for any particular person, they could build it themselves with whatever options they want. And we'll try to keep that process as turnkey and minimalist as possible.
 
8:46 PM
posted on January 09, 2019 by metalevelconsulting

[Reddit] code-is-data

 
 
1 hour later…
10:16 PM
posted on January 09, 2019 by maphewyk

[Reddit] For an audience (me) that doesn't know much about either Red or Racket or their ancestors, is interested in Domain Specific Languages, has some background in Python but not in computer science or software development: what are the distinguishing attributes? when and where to use them appropriately? and the converse, when to stay away? ... plus any other insights you deem worthy of s

 
ftl
hi @rgchris
 
10:32 PM
Greetings @ftl. Some things from 2018 summarized on the forum. One thing is progress on a web demo
WebAssembly is turning out to be a very interesting target.
 
ftl
Hello @HostileFork. Looks very neat!
 
@ftl What are you up to?
 
ftl
Researching languages mainly. Actually, I am thinking about augmenting Smalltalk/Squeak with a Rebol-like scripting language
since object/component plumbing is driving me nuts
 
If you haven't kept up to date with the things we can do now, Rebol is getting a lot of superpowers.
I've done some really brilliant work (if I do say so myself... but other people say it too, so perhaps it's not mere delusion :-P)
 
ftl
Sure :-). What kind of superpowers?
 
10:44 PM
One thing I've come to like a lot, and find many uses for, are what are called "invisibles". These are functions where instead of saying what they return like foo: function [return: [integer! block!] ...] [...] you say invis: function [return: [] ...] [...].
Perhaps the most obvious application of this is comment. comment: function [return: [] :ignore-me [any-value!]] []
A truly invisible comment, so 1 + 2 comment "hello" evaluates to 3
But perhaps more interesting than that, is if you evaluate things. elide: function [return: [] evaluate-me [any-value!]] []
switch type of value [
     integer! [stuff if it's an integer]
     block! [stuff to do if it's a block]
     (elide print "Do stuff if neither of the above matched")
     group! [stuff to do if it's a group]
     ...
]
You can have debug dumping routines that don't interrupt the surrounding evaluations.
any [
    x = 2
    y = 3
    dump [x y z]
    z = 10
]
So executable comment functions. They're quite useful. But I dunno, I could list thing after thing like this. Just... there's a lot of cool stuff, and it has helped reshape the language and eliminate awkward things.
 
ftl
nice, I just tried it in the REPL
 
The build in the online demo is out of date, and it's a very experimental demo...but the most interesting thing about it is that the REPL itself is written in Rebol.
Fetched as Rebol code and executed by a webassembly build of the interpreter.
 
ftl
Yeah, I skimmed through some of the code
 
ftl
11:00 PM
Thanks, I'll catch up on that
What are you long term plans?
(besides replacing JavaScript with Rebol :-) )
 
Most likely I'll die. How long term do you mean? :-)
 
ftl
That's a long time frame :-) I was thinking about 5 years.
 
Goal is to make a kind of "Minecraft of Programming", is what I've said.
A fun, customizable, block-y language with the ergonomics of something like a good old-fashioned LEGO set.
This year, I'm pushing for an in-browser tutorial that guides you in steps...where pretty much all of the tutorial is Rebol powered. We'd want to use @rgchris's StyleTalk instead of CSS, for instance.
One of my big targets is code golfing and puzzling...so that's kind of who my market is. That doesn't speak to other people's interests, but it shouldn't be incompatible. But you'll have to be talking to people like @DaviddenHaring or @rgchris or @GrahamChiu about real-world applications.
My job--as I see it--is to solve the technical/engine problems.
 
ftl
I see. That sounds great. You guys keep up the good work!
 
Join us if you have the time... interesting stuff afoot, you have a chance to be a part of it here on the ground floor. Well, the floor right above the ground floor. :-)
But if you stay on the ground floor you can only read websites from the 90s. :-P
 
ftl
11:09 PM
I know my way around Smalltalk, but that's about it. I am not really a great programmer, unfortunately
Hey, that would be fine by me, no need for fancy stuff
but, if you want to build a better web, I am in
 
@ftl If you decide to tinker around, you can get support here, and be part of defining the language. I'd imagine it would be fun for some people. Back in the day, Rebol culture was very lively in debates and discussion of how things should work.
I think as a medium there are a lot of interesting degrees of freedom. Because the language is so freeform you can really be creative with it.
 
ftl
Yeah, I think having a freeform language is very important. I spent some time with Racket and I knew that this is NOT a language I would like to use.
So, I have some very strong opinions, formed by frustration, that's why most of the time, I keep them to myself (I annoyed too many people in my time :-)
I found that Rebol has a far more useful language model for metaprogramming
2
useful, as in easier to use with less cruft and terminology
plus, it doesn't need a supercomputer to run
 
@ftl Well stick around then. We have a forum. Post about things you're working on and we can throw around ideas. "We're ready to believe...you!"
 
ftl
11:25 PM
:-D. Thank you for your kind words and encouragement. Tell you what, I will work on my idea a bit and summarize it in the forum.
 
@ftl Sounds good!
 
ftl
Great! Then I have some work to do and to look forward to. I'll keep you guys posted!
It was good talking to you, time to catch up on some sleep.
Until next time!
 
L8r
 

« first day (2992 days earlier)      last day (788 days later) »