« first day (1548 days earlier)      last day (2232 days later) » 

12:05 AM
posted on January 26, 2015 by abolka

[Comment] I can confirm that segfault for mainline (rebol/rebol) on Linux x86.

 
12:29 AM
posted on January 26, 2015 by abolka

[Comment] In the core-tests suite.

posted on January 26, 2015 by abolka

[Comment] In the core-tests suite.

posted on January 26, 2015 by abolka

[Comment] PR submitted: https://github.com/rebol/rebol/pull/198

 
 
1 hour later…
1:46 AM
It looks like the error branch was merged to master in Red
2
In other words, if you had been too lazy to build the console in that branch yourself, you now can use the automated build :)
 
 
1 hour later…
3:10 AM
@Adrian: :), want to try out Red for mobile apps, prefer not writing Java.
3
 
3:57 AM
@HostileFork I did look through the autocomplete stuff on the C++ side and understand what you said more fully now. Need to review it again tomorrow and I'll see if I can put something together
 
4:23 AM
is anybody here.. i need to ask why this code -> pastebin.com/eaTzALM4 is giving error on compilation
?
 
@in3o I think it might just be a lack of whitespace. Code such as idx<=26 needs to be written as idx <= 26. Same with math operators as well.
 
@johnk even this little piece -> pastebin.com/2C73Ahgp is giving error.. why ?
problem is in this line -> b: as integer! input/lastidx
 
4:39 AM
Need a Red/System header and for variable index needs parenthesis to evaluate. input/(idx)
 
input is also not defined in Red (I think) so hello: input will also fail
 
He's using r/s and I believe the input function is working somewhat in Red. Anyways he has input set as a string
 
Thanks @kealist - I need to spend more time learning Red/system
 
Wait, sorry, I just tried compiling. @johnk maybe you were right too :)
This compiles:
Red/System[]

lookup: [0 6 245 6 20 247 193 49 251 13 200 58 200 41 210 4 42 15 197 68 232 4 205 0 60 17]

a: 102
idx: 2
lastidx: 1
correct: 0
input: "flag{r3d_l4n6_15_n3w_c00l}"

b: as integer! input/lastidx
@in3o ok, maybe now that I look a couple things are going on. You may be mixing Red and Red/System code a little
 
@kealist i was trying to follow static.red-lang.org/red-system-specs.html
 
4:54 AM
@in3o hold on a min, working on it
Sorry for the initial bad advice:
Red/System[]

lookup: [0 6 245 6 20 247 193 49 251 13 200 58 200 41 210 4 42 15 197 68 232 4 205 0 60 17]

d: 0
c: 0
a: 102
idx: 2
lastidx: 1
correct: 0
input: "AAAAAAAAAAAAAAAAAAAAAAAA"

h: input/lastidx
b: as integer! input/lastidx

either (a <> b) [
	print "Not Accepted\n"
] [
   correct: correct + 1
   while [(idx <= 26)][
           b: as integer! input/idx
           d: as integer! input/lastidx
           c: d + lookup/idx
           c: c % 256
           if (c = b) [
                   correct: correct + 1
@in3o The spaces with the comparison operators were causing issue along with using != instead of <> (not equal) and == instead of = (equal)
 
@kealist no problem.. is it possible to take string input from user in current version of red ?
 
@in3o I believe it may only defined for the console
in Red (not Red/System)
You can do command line input for Red/System I believe
 
how ?
 
@kealist thanks.. :)
 
5:07 AM
@in3o You're welcome. Off for the night
@johnk And sorry about that. Maybe I do too :)
 
@kealist no worries :) It's nice to play with Red/System for a change
 
It has come some ways since, I imagine.
Though at the time, the hardest bit was the lack of meaningful error messages.
Which really, is the sort of thing that needs an "error message czar". Maybe that can be something one of the guys getting paid does?
Rebol has not been #1 in that department either.
 
5:35 AM
@johnk So how's your RenCpp build coming? :-)
We have about 10 builds so far, proving it is "possible"
It's doing a few more tricks today than it did yesterday
@kealist Cool, well, as you see it's nothing fancy.
And I gave up on it as soon as I realized it needed to be a callout to Rebol
Which is why it's so lame
But several people asked it, like "does it have autocomplete?" and I thought "I never use autocomplete, but if several people ask for it, that suggests that I probably should wire it up somehow."
Squeaky wheels, oil, etc.
I'm thinking it's time to make the demo now.
It's a good thing KDE is a charitable organization of some kind, because I would fire the head of KDE right there.
If they got paid money.
(And I was in a position to fire them.)
It's sad because, I've always been rooting for KDE.
 
6:12 AM
@HostileFork Slowly. Found a vagrant kubuntu image to use.
 
Autocomplete is great, especially when learning. In rebol 2 I used it all the time especially for verbose names such as randomise or checksum
 
@johnk I find that I do a lot of things, sometimes of habit, as a meditation to remember what's what. If I google search, I type in GOOGLE.COM then I type into the search box. Because to me, it's important to remember who is telling me what. As such, relying on auto-anything is a bit dangerous, philosophically.
And I don't trust WHOIS services that when you enter their own address refuse to tell you who they are. Nor should you. Try entering "whois.net" at whois.net
Anyway, I'm just trying to rationalize why I don't use auto-things.
That seem to be a key feature for others.
 
Maybe you are faster at typing :)
 
120wpm
And that's on a lousy keyboard, I actually do best on a MS natural keyboard.
I actually was one of the testers of it when it was being developed
 
6:22 AM
I think that explains it :)
 
7:09 AM
@rebolek How 'bout you :-P
You might decide not to dislike me so much, if you tried it...
(Well that might be a stretch)
But I have thought about your criticisms a lot.
In a sense, you might say that Ren Garden is an outgrowth of your complaints.
Trying to respond to the concerns, while sticking to the core.
@rebolek If you take a few minutes to build Ren Garden, you will find efficiency has quantum leaped q for quit.
There's a "new efficiency". You won't miss Q. And, moreover, you can have your Q too.
 
7:29 AM
OBAMA JOE BIDEN
OSAMA BIN LADEN
Sorry kids, I was working on something else and that came up.
 
@HostileFork I do not dislike you.
@HostileFork Are there some instruction for Linux?
 
@rebolek The feeling is mutual :-P
@rebolek So, most people are building for windows, but it will be way easier if you're on some C++11 capable linux
(because that's what I use)
I think you will like it!
@rebolek (But to clarify, it seems, sometimes you see me as someone seeking to "take away" the good parts of Rebol, as you perceive them, which is not my goal.)
 
@HostileFork How do I find if my Linux is C++11 capable?
 
@rebolek g++ --version
 
4.8.2
 
7:43 AM
@rebolek I think that's new enough.
4.7 is too old
@rebolek I am excited about you actually running and giving feedback. :-)
So consider me to be at your disposal; ask whatever question you have.
 
And what else do I need? 1GB of QTspam?
 
@rebolek Grumble grumble. Look, even every Rebol programmer acknowledges there must be a platform. Qt is smaller than Java. Also, RenCpp is not anything to do with Qt.
RenCpp is, prior to optimization, a 100K cost bridge.
It just so happens that yes, Qt, is large.
 
And AGG is smaller than QT :)
 
Well, let's talk about bridge cost.
If RenCpp were more than 100K, I might worry
But Red is supposed to run on JVM/Android, there is a sunk cost
Basically, I'm sorry, but yes. If you want to call APIs based on a worldview, that worldview must be #included
Doesn't matter if it's Android, or Win32, or Qt, or whoever.
 
Ok, I try to find some time and try to build it.
 
7:54 AM
You inherit the #include because. But I will point out my highly tuned dependency clipping.
You can build RenCpp with no Qt.
@rebolek It's already given tesiitmonial as the best Rebol shell there is.
Give it time, and the bugs fixed.. it might live up to its side of the bargain.
But you are a very critical user, so I'd like to hear what you have to say.
Esp when you can just submit what we call a "pull request"
 
So, where can I find it?
 
Please bear in mind, that when I made the file, I was just testing RenCpp
It just happens, that, this thing is something someone had to write.
And it appears in the guise of a demo of a C++ binding.
 
So I cloned the repo. What now? I've virtually no experience how to build C++ stuff.
 
@rebolek Well, there is a document (and thank @Morwenn for that.)
 
Hmm, seems I need to setup a VM with the ugly bloat called KDE.
 
8:06 AM
@rebolek It's not so bad. But I will say, I am not without complaint. I installed debian, and then just added KDE (because I didi't need openlibreoffice or whatever)
 
@HostileFork Well I need to leave it for later I think. I would need to make tons of space on my small SSD to install VM with that horrible desktop environment. :)
 
@rebolek It's not so bad, but you will like it.
@rebolek Do you have some throwaway windows VM?
 
@HostileFork Yes, I guess so.
 
@rebolek Arrite well no one reads this chat room but us, I guess i can give you an exe
 
that would be great
 
8:10 AM
Bah, let me build it
I only use windows under duress
So Doc and I are arguing a bit lately which doesn't help the community one bit, as people have observed. Like "if you guys fight, everyone loses". So they say.
 
What did you wanted him to change and rename?
 
@rebolek I'd like him to pay a bit more attention to the dialect questions; that not every programmer who uses Rebol is willing to bow to Rebol imperative nature.
I don't always say it very politically, I can be a big jerk.
But that's how you know I mean what I say :-)
@Rebolek Anyway, I have been pleading for people to do their own builds, but some people just won't. If you or anyone reading wants to play along with me on Win32: ren-garden.exe
And then we can talk.
I found an EXE/DLL encapper, it costs $150
And it's not even 100%.
64-bit os breaks it.
 
Hm, let's give it chance under Wine, my XP VM is on USB that's not workoing :/
Hm, it needs some DLL I don't have
 
8:26 AM
@rebolek Qwindows?
 
Qt5gui.dll
 
Gah
 
I'll leave it for the evening when I have more time, right now I need to do some work.
 
@rebolek Did you download it, and run it from the downloaded location?
 
Yes
under Wine
 
8:28 AM
Well, you already are an anomaly.
I play to a tough audience.
"I can't get it working, WINE says ..."
Yeah, screw you :-)
 
I will try it, but later, I have some work to do :)
 
We'll see, it might be nice to get your feedback before the video
 
 
1 hour later…
9:49 AM
Been a bit of interest from other golfers over weekend... now up to 15 :)
15
A: Showcase your language one vote at a time [experimental challenge]

draegtunRebol 15 {"a" {foo} "c"} This is one way to represent a string! datatype in Rebol. Another way to express this would look like this "^"a^" {foo} ^"c^"" which isn't as visually appealing! NB. Using braces over double quotes allows spanning of multiple lines and also nested {}. The ^ is us...

 
 
2 hours later…
11:30 AM
posted on January 26, 2015 by earl

This adds basic continuous integration support via Travis CI, automatically running the regression tests.

 
 
2 hours later…
1:56 PM
@HostileFork Download was not working or false positive by the virusscanner
@HostileFork :-)
 
2:22 PM
 
 
2 hours later…
4:02 PM
@earl I was going to suggest the Travis idea for Red, actually, but I see you got to it. Cool.
 
 
2 hours later…
5:33 PM
@HostileFork I just build Rencpp on Linux, haven't had time to play with it much, but looks good
 
5:48 PM
but I still miss the big picture of RenCpp, what is its ultimate goal? Another language based on Rebol/Red? or a host environment to run Rebol/Red code and have the capability to extend it?
 
@ShixinZeng Fun, can you start up the workbench?
 
Yes, I compiled it against 64-bit rebol
 
@ShixinZeng So you can Ctrl-T for new tab and get a new context :-)
 
Yep, and that's cool
 
@ShixinZeng I don't know the answer to your question, your guess is as good as mine, I just wanted to make that feature work and I looked to where it wasn't working
@ShixinZeng So the story of why this happened at all, is, Doc was talking and the whole thing about the funding was happening, and he said "What about a C++ bridge?" And I, idly, thought well... it would "probably have to be like X"...
It really is just the only way you'd build it. It just is.
 
5:57 PM
Got you
So you have a rebol instance per tab?
 
@ShixinZeng No, that bugfix you commented on was about a binding object per tab
Which, prior to that patch (that I managed to screw up, @earl remarked on my fail) didn't work.
 
I see
 
@ShixinZeng Super happy you've built it, and very interested in your feedback...
I think, if you look at "it" in the big picture, it's not just a GUI console
That's a very narrow perspective of what it is
But it's not bad for a demo as that, really
@shixinzeng have you tried, for instance, watch x and x: 10 etc?
Or watch (x + y)
That was just my attempt to say "hey, this API might be useful."
 
OK. so you are giving each tab a new context?
yes, watch is interesting
 
@ShixinZeng I can only do so because of the fix, but yes. You can find the line of code here: github.com/hostilefork/rencpp/blob/develop/examples/workbench/…
@ShixinZeng You are on windows? How about shell [dir] ...
 
6:11 PM
No, I am on Linux
workbench just aborted and core dumped
 
@ShixinZeng Then how about shell [ls (reverse {Fla-})] :-)
It happens.
 
I just did "shell" and then "help"
 
I'm sort of paranoid, lots of asserts.
 
I see
 
@ShixinZeng But, try just shell (return)
Then ls
then hit escape a couple times within the double click period
 
6:13 PM
@HostileFork Speaking of fixing code, I just submitted a little fix :p
 
@HostileFork "shell" doesn't work for me at all, every thing after "shell>>" could cause an abortation
 
@ShixinZeng Hmm, well sorry it's not working.
@Morwenn Fixing things when I make mistakes is the quickest way to be my BFF :-)
 
That's fine and that's how you can make improvement. :)
 
@HostileFork Too bad they can't be fixed before you actually commit them.
 
@Morwenn I'll make a little growl but star you anyway :-)
 
6:32 PM
@ShixinZeng So really, you say shell and it crashes?
 
No, a simple "shell" doesn't crash it
 
@ShixinZeng You can shell but can you ls
(when in shell)
 
anything (other than a single carriage return) in the shell>> prompt crashes it
examples/workbench/renshell.cpp:369: void ShellWorker::onReadyReadStandardOutput(): Assertion `tokenCount > 0' failed.
 
@ShixinZeng Hum. Well, it's a bit of a hack, and you are a literate programmer, and as such my transparent code should not be hard to understand.
 
6:49 PM
I will take a look at the code when I find some time
Now I need to work on something else
talk to you later
 

« first day (1548 days earlier)      last day (2232 days later) »