« first day (1357 days earlier)      last day (2423 days later) » 

12:11 AM
@Respectech works for me.
 
12:52 AM
Question feed is not working
 
1:15 AM
@johnk we should change the attribution when rebolbot does her thing to reflect Kaj's new URL
 
2:07 AM
@HappySpoon It works for me now too. There must have been a problem with it earlier.
@TGD Can I use it to monitor DC power devices, or just AC? What would I need to monitor a DC device's power?
 
2:31 AM
@HappySpoon Which question?
 
0
Q: How to start a forever loop while keep processing events in Rebol

HappySpoonI'd like to set up a web server in my app which requires a forever loop. The waits in the loop allow the GUI to keep processing interface events. But if I start the loop, then I can't exit from it to start the GUI. And if I'm in the GUI already, then although I can use a button to get the user...

 
Needs to have the tag.
 
oh, I assumed otherwise
 
Last 'consensus' was we'd continue to use for Rebol 2 questions, but also specifically tag them
And when the day comes, we'll purge questions of the tag.
There's still a lot of crossover. I, for one, work on hybrid scripts and the occasion Rebol 3-only script, but my production work is still Rebol 2.
 
3:05 AM
Still taking its time .. is it because I retagged and it's no longer a new question?
 
3:45 AM
Yeah, probably—the feedbot is picky...
It is in the feed...
 
4:14 AM
@rgchris Hmm. Should we have a web page where these are visible? Or just ask people to subscribe?
 
@HappySpoon Could have a web page (though they're both here and here). This has been in the back of my mind wrt a Rebol homepage, though it's worth pointing out that all feeds are of the Atom format and can be added to your favourite feed reader...
(well, most feeds are Atom, some are RSS)
Still not sure what's breaking the Twitter feed, right enough (though it's been quiet of late).
 
All computer code is fragile :(
Just spent the whole day trying to get email working again
App LOC currently 105,283 :(
 
4:47 AM
0
A: How to start a forever loop while keep processing events in Rebol

BrettWithin the forever loop for the webserver you could start the gui when some condition occurs. Or if you want to be in the GUI already, create a loop for your gui (which includes a short wait) break out and start the webserver loop when some condition occurs.

 
 
2 hours later…
6:39 AM
Argh. I've been taking long comments out of code and then writing them up as GitHub issues or whatever. Then I had some comments that would make better blog articles (or maybe self-answered SO questions) because they were of more general interest.
I started the blog article that was supposed to be about the stuff I was removing from the comments with a lead-in about why I was doing it, and why I thought it was a good idea.
That turned into some remarks about what made a good comment and what made a bad one in the first place... which eventually I realized was really sort of its own separate point.
So my first article split into 3, two of which I did not set out to write. The two I did not set out to write are the ones I published today: Comments Should Say WHY and not WHAT and Comments vs. Links on the Collaborative Web
 
6:54 AM
>> print ["Hallo" reverse {ammE}]
 
; Brought to you by: tryrebol.esperconsultancy.nl
Hallo Emma
 
>> delete
 
; Brought to you by: tryrebol.esperconsultancy.nl
; rebol.com/r3/docs/errors/script-no-arg.html
    *** ERROR
** Script error: delete is missing its port argument
** Where:
** Near: try load/all join %/users/try-REBOL/data/ system/script/args...
 
 
1 hour later…
8:15 AM
@graph Hey, you know JavaScript. Want to fact-check this, or share it with someone who can? Why use Underscore.js in Node or jQuery Projects?
 
8:38 AM
uh @HostileFork you require my expertise? Made my day lol
 
8:52 AM
article looks good to me, small typo ("a nd"), besides Underscore there's a drop in replacement lodash.com/docs that's trendy and supposedly faster. I assume there's consensus already that Javascript has lots of quirks so using libraries to cover basics (like the string check you've mentioned) does not need much convincing.
The size of libraries is often mentioned but if the library is popular chances are the browser has already cached it a long time ago. Can't say anything about Node, but agree that jQuery is mostly used DOM related so using in on the server might not be ideal. Lastly, somehow I find syntax for Underscore not intuitive; lots of functions seem to come from Set Theory mindset and have that little bit of extra functionality that you have to understand and use correctly.
hope that helped :)
 
@graph Yup, thanks for the review... argh, JavaScript articles. Kind of a weird way to spend time for me. But I'm trying to get my articles out of my code. Modifying BlackHighlighter into a blog commenting system.
Unlike other commenting systems, you just sort of write freeform and then anything you want to be just between the site author and you, you can take a pen and mark it out.
Site owner receives certificate for your comment automatically (won't post unless you send them a valid one). You retain the copy of the certificate. Blackhighlighter servers cache the post to make sure no one changes anything. Anyway...needing to do some refactoring and wanted to stabilize my thoughts on some issues.
I'm wondering if people who have been raised and enculturated as JavaScript programmers will ever leave, or if it's just too big of a jump to get out...as long as it remains popular.
Trying to interface Rebol into browsers as they are would be like mixing oil and water...they'd just turn the whole screen into a HTML canvas and draw everything all over again. :-)
 
 
1 hour later…
10:18 AM
posted on July 19, 2014 by Felix

Would there be a way to gauge the interest in the Rebol community for hiring a programmer to continue work on R3? How much might be needed for say a 12 month contract?

 
Rather simplistic approach.
 
Looking today at Haskell's Aeson. It has sort of emerged as their go-to-JSON parser. Rebol and Red are trickier but have been approximated in less powerful systems.
 
even if we had other programmers working on R3, the PRs are not being accepted.
 
There was enthusiasm for Ren and I think it was warranted. It's a largely un-taken name, it's a good plan of action. The big sticking point is the complexity...and the lack of a formal standard as of yet. Edge cases.
 
@HostileFork They should have called it "Carl"
 
10:30 AM
Ah, in npm ren is taken too. See, you got to get in with these things early.
Anyway got to go, but if people are still thinking about Ren (e.g. @rebolek) I'd say it's just as applicable to Red as Rebol in terms of being useful. Studying Haskell I think "yeah, I like this, but all things are components in larger ecologies and they have to communicate with something. Is JSON going to be the medium of the future?"
 
@HostileFork You were talking about Haskell and not node
Is there a simpler way of copy the source of a function to a string then using the function name, then spec-of, and finally body-of ?
source maddingly only prints to stdout
 
10:46 AM
@HappySpoon Remember that if you've ever executed the function, it won't necessarily have the same source you started with.
@RebolBot
foo: func [] [stuff: "a" append stuff "b"]
body-of :foo
foo
body-of :foo
 
; Brought to you by: tryrebol.esperconsultancy.nl
== [stuff: "ab" append stuff "b"]
 
@RebolBot
foo: func [] [stuff: "a" append stuff "b"]
probe body-of :foo
foo
probe body-of :foo
 
; Brought to you by: tryrebol.esperconsultancy.nl
[stuff: "a" append stuff "b"]
[stuff: "ab" append stuff "b"]
== [stuff: "ab" append stuff "b"]
 
I don't write such functions :)
>> source source
 
@HappySpoon ...on purpose.
 
10:48 AM
; Brought to you by: tryrebol.esperconsultancy.nl
source: make function! [[
    "Prints the source code for a word."
    'word [word! path!]
][
    if not value? word [print [word "undefined"] exit]
    print head insert mold get word reduce [word ": "]
    exit
]]
 
it should just return the molded source, and not print it
 
I think it really is supposed to be in the debugging family with probe and ??, and that what you want to do with it is likely discouraged...
Anyway, what you want here is probably Ren. Something that really filters it down so you're not passing values outside of a certain set. IF you don't use a string that Rebol is LOADing then the possibility for stuff you can't message with arises.
JavaScript has similar issues with JSON and it has restrictions on the source objects it will serialize from JS.
And...zzzzz....
 
 
5 hours later…
3:54 PM
@HostileFork There are always going to be things that Rebol can't properly serialize—open ports, circular references, etc. But for general messaging use cases, what are the limitations of LOAD and SAVE(/ALL)? And are these limitations bugs?
 
 
2 hours later…
6:23 PM
Sounds like a job for source/only
 
 
4 hours later…
10:23 PM
I'm looking to see if I can compile @ShixinZeng C library stuff. I setup an 14.04 ubuntu server under hyper-v ( finally ), and installed git.
I then cloned his repo, with git clone git://github/zsx/r3 . What's the next step? Does this pull down the tree he has this stuff in ?
 
11:11 PM
Checkout the branch ffi
The compile steps for atronix are different than for the mainline
I think he mentioned previously which make file to use
Should be a Linux makefile named something clear
 
lint.out makefile-mingw makefile-osxi r3-make.exe upx.exe
makefile-32 makefile-mingw-64 makefiles r3-make-linux vcbuild.bat
makefile-64 makefile-msys makefile.vc r3-make-osx
makefile-armv7 makefile-msys-64 PESpin_x64.exe r3-make-osxi
makefile-linux makefile-osx r3-make settings.ini
So, looks like it's setup for windows
it was suggested elsewhere to also do this sudo apt-get install libc6-dev-i386
And I've downloaded the 64 bit linux r3, and renamed it as r3-make
Not sure what I'm supposed to do next to get it to compile
 
TGD
@Respectech It depends on the sensor you are using. If you have an appropriate sensor that generates pulses at the GPIO for the power-consumption of DC-devices, it should work fine. Take a look at the meter-module (PiEMZaehler.r script) to see how it works.
 
11:57 PM
@HappySpoon I don't really know why things are the way they are. I bet r3-make-linux is the linux executable
You probably have to make prep then make in that directory
make makefile-linux maybe?
Sorry, all my things are packed in boxes or I would test it out myself and let you know the right steps
 
graham@ubuntu:~/r3/make$ make makefile-linux
make: Nothing to be done for `makefile-linux'.
and makefile-linux just seems to be r3 for linux
 

« first day (1357 days earlier)      last day (2423 days later) »