« first day (1290 days earlier)      last day (2490 days later) » 

2:35 AM
I've been studying File_Actor a little along with the other actors. I"m having a little difficulty understanding the state of the stack when this is called. I know it is registered as a Scheme with Register_Scheme, but what would the stack look like when the actor is called, say using write file://file.txt "blah"
>>read %.
>> read %.
 
; Brought to you by: tryrebol.esperconsultancy.nl
hello there
; Brought to you by: tryrebol.esperconsultancy.nl
; rebol.com/r3/docs/errors/access-cannot-open.html
    *** ERROR
** Access error: cannot open: %. reason: -3
** Where: read
** Near: read %.
 
I am getting a segmentation fault on linux:
>> read %.
== Segmentation fault
@RebolBot delete
 
2:51 AM
Probably prohibited due to security constraints
 
On my machine?
 
try.rebol
 
well, yes
 
>> read %./
 
; Brought to you by: tryrebol.esperconsultancy.nl
; rebol.com/r3/docs/errors/access-cannot-open.html
    *** ERROR
** Access error: cannot open: %./ reason: 13
** Where: read
** Near: read %./
 
2:53 AM
works on windows
 
3:17 AM
@giuliolunati what about this version? http://atronixengineering.com/r3/downloads/r3-armv7hf-view-linux
It's arm based ...
 
3:28 AM
tried read %. on atronix version, and it didn't have a segmentation fault (r3-32-view-linux)
 
@rebolbot cc 1675
 
[
summary: {On OSX - Read current directory causes Segmentation Fault}
description: {Reading the current directory via %. causes a segmentation fault.

It works if you use %./}
code: {>> ls %.
.DS_Store arabic-url.r base/ chinese-url.r extension/
fastest.r invalid-syntax.r latin1.txt launched.r
launched.r~ launched2.r launcher.r lds-local.r lds-local.r~
list.r load-test.r macroman.txt make-unicode-word-list/
make-unicode-word-list.zip make-word-biggie.r mymodule.r
 
Is this the same bug?
 
@johnk yes, that seems to be the same
 
Unfortunately it has not been merged yet ...
 
3:50 AM
@johnk indeed
 
4:48 AM
posted on May 13, 2014 by fork

[Comment] Working through some real-world scenarios with COMBINE, I am finding it very difficult to imagine a design and refinements which comfortably meet the needs of both string making and block making. My own applications want substitutions that nest. It's a convenience that is a very nice property of the parse dialect, when you want to compose rules: ; a-rule: [some "a"] ; b-rule:

 
5:20 AM
posted on May 12, 2014 by Chandra MDE

Thank you, SoleSoul. So, stdcall is used mostly by Windows API. So, it's better to use stdcall except clearly mentioned that the function is using cdecl calling convention. Regards, Chandra MDE

 
6:15 AM
@rebolbot hi
 
@johnk hi to you too
 
@johnk bored?
if we don't talk to redbot, will her cookies expire too?
 
Demo for a friend
 
Which reminds me .. since the https bug is now fixed, can we get a fixed binary to run rebolbot? And then she can fetch her own cookies
 
posted on May 13, 2014 by rebolek

[Comment] @fork: Have a look at my [latest implementation](https://github.com/rebolek/dvorek/blob/master/combine.reb) of COMBINE to see if it fits your needs. It has /only refinement added and the implementation is simpler.

 
7:01 AM
@Grahamchiu is there a binary yet?
 
Not that I know of, but the sources are online.
I've only ever compiled the windows sources though
I bet @earl has a binary somewhere :)
 
Red> "Are you still here?"
 
; Brought to you by: tryrebol.esperconsultancy.nl
== "Are you still here?"
 
I've compiled 64bit Linux binary, if someone's interested (but it's pretty easy to compile it yourself :)
 
7:19 AM
Hmm that makes me think. I just started seeing up the new digital ocean vps as 32 bit (thinking of saving memory where possible). Do you think that is a bad idea? Should we go with 64 bit?
 
Well, I have 64bit version just because I complied it on my local machine, but I think that 32bit is good enough for most tasks.
 
64 bit versions are said to be experimental
so better I think to stick with 32 bit
 
7:39 AM
We can still run the 32 bit version on 64 bit Linux, but not the other way around. As the server only has 512mb (only!) I figured that running 32bit would be best
8
Q: 32 bit or 64 bit OS on a 512 mb VPS?

ddsI am planning to rent a VPS service with following basic specification: 512mb of RAM 1 CPU 20gb HDD (4gb of it is swap) Ubuntu 10.10 server I am able to choose between a 32 bit or 64 bit install of Ubuntu server as the operating system. My question is would it be better to chose a 32 bit op...

OK, I'll stick with 32 bit
 
7:56 AM
@GrahamChiu Don't runs. Maybe not android executable.
 
@giuliolunati where did you get the Android CLI from? the one you're using now?
 
@grahamchiu from rebolsource
 
ok, then guess wait for whoever compiled that
 
8:17 AM
@GrahamChiu it was @earl if I remember correctly
 
@earl Thanks. I'm hoping you may be able to help by taking a shot at the tests in C++ using only standard libraries :-)
@kealist It's a known bug and has been recorded in CureCode some time ago.
 
8:50 AM
@Graham Nope, but far less free time the past weekend than I expected. Celebrations!
 
@earl Must have been something worthwhile celebrating :)
 
@GrahamChiu Absolutely :)
@giuliolunati HTTPS currently consists of three parts: an embedded extension (host-ext-core) with crypto primitives (and other, unrelated stuff) written in C; supplementary C library code (aes, bigint, dh, rc4, rsa); and a TLS implementation written in Rebol.
Merging HTTPS would, from my perspective, require cleanly extracting the C parts into an embedded "tls-crypto" extension and adapting the TLS implementation to use that.
Eventually, we'll probably want to expose the additional crypto primitives properly (maybe via encode, or encloak, or a crypto port, ...), but let's not get ahead of ourselves. For a start, I'd definitely just wrap the additional crypto required for TLS in a "private" module only to be used by the TLS implementation.
@PeterWAWood That'll be rather easy, depending on what you consider standard libraries. C++ without ICU or Boost doesn't support any of that. So: sure :)
 
@earl @dockimbel thought that there might have been some Unicode support in the standard libraries. It makes the job much easier if there isn't :-)
@earl Congratulations!!
 
9:06 AM
@PeterWAWood None for normalisation, text segmentation (grapheme clustering), and certainly not for advanced locale-specific handling. (Only AFAIK, of course.)
@PeterWAWood Thanks, I'll pass it on :)
 
@earl I've opened a repo on Github - PeterWAWood/UnicodeOutOfTheBoxTests. I'm sure somebody will let us know if C++ can handle any of the tests.
 
Welcome to the Rebol and Red room. See our FAQ. Cool, you have a reputation score of 4290 so chat away!
 
posted on May 13, 2014 by Andreas

Shixin Zeng has reminded us of his port of Nenad's MySQL driver to Rebol 3 : https://github.com/zsx/mysql-r3 Just as Nenad's original, this is a pure-Rebol implementation of the MySQL protocol. Together with Andrea G's mysql binding written as a R3 extension (mentioned by Graham above), there are now have at least two MySQL drivers publically available for Rebol 3.

 
10:09 AM
Was that a @Miraaj I saw here?
 
 
3 hours later…
1:01 PM
posted on May 13, 2014 by fork

[Comment] @rebolek: Regarding updated thinking, see blog post at http://blog.hostilefork.com/combine-alternative-rebol-red-rejoin/ I've tried to sort of put some order and better formatting on the issues. Script: "Combine" Version: 0.0.3 Date: 13-May-2014 >> a: function [] [return [b c]] >> b: "foo" == "foo" >> c: ["baz" "bar"] == ["baz" "bar"] >> combine [c [a if 1 > 2 ["uh-oh"] a]] == "b

 
 
3 hours later…
3:45 PM
I've been looking through some of the output with `trace on` in processing URLs (`open http://www.google.com`) and it looks like some kind of crazy corruption is happening:

at some point this:

`Parse match: make bitset! #{000000001! to string! s1] FFFFE0}`

turns into this:

`parse match: make bitset! #{00000000A! t tr ng! s1] FFFFE0}`
@earl @brianh _^
Yea, this doesn't look right:
                7: parse/all
                 8: url : google.com
                 9: rules : [     [         copy s1 some scheme-char ":" opt "
                    --> parse
                    Parse match: make bitset! #{000000000016FFC07FFFFFE07FFFFFE0}
                    Parse input: google.com
                    Parse match: make bitset! #{000000000016FFC07FFFFFE07FFFFFE0}
                    Parse input: ttp://www.google.comm
                    Parse match: make bitset! #{000000000016FFC07FFFFFE07FFFFFE0}
confirmed the same thing on Windows
 
4:03 PM
posted on May 13, 2014 by kealist

[Bug] I noticed some string corruption in the printing of TRACE. I don't know how deep that it extends or if it's just confined to trace output, but it's worth investigating

 
4:39 PM
posted on May 13, 2014 by fork

[Comment] Possibly linked to the bitset. Easier repro: >> letter: charset [#"a" - #"z"] == make bitset! #{0000000000000000000000007FFFFFE0} >> trace on > parse "abcdefg" [some letter] 1: parse : native! [input rules /all /case] 2: "abcdefg" 3: [some letter] --> parse Parse match: make bitset! #{0000000000000000000000007FFFFFE0} Parse input: abcdefg Parse match: make bitset

 
 
1 hour later…
5:51 PM
posted on May 13, 2014 by szeng

[Comment] I think it's fixed here: https://github.com/zsx/r3/commit/25d35a946269c6547b1f1091b10753ccc4b91216 The problem is that Trace_String didn't copy the terminating '\0' to the string to be printed.

 
Any purpose for this extra none in the port-spec-net definition here?
Looks like it's just leftover code from copying/pasting
 
@kealist probably
 
@ShixinZeng I'm a bit new to the C codebase, if I want to add debug prints to confirm where some problems lie, is the best thing to use printf?
 
@kealist it has a RL_Print function, but I found a simple printf serves better
 
@ShixinZeng thank you
 
6:02 PM
because RL_Print doesn't support as many formats as printf does
@kealist you're welcome
 
6:15 PM
posted on May 13, 2014 by szeng

[Comment] I believe it's fixed by: https://github.com/zsx/r3/commit/2b7516ebdb82f523cd036030aa54c77e0615e73d

 
@kealist if you want to make notes for an article, those of us not familiar with the C code base would be grateful.
 
gah, is there an exact match search on github?
 
I clone a repo, and then grep it
 
6:56 PM
I'm having trouble locating the define of what I guess is an ENUM: STD_FILE_INFO_DATE
I am wanting to define some similar attributes for serial, but can't find any info about the above
Is this pulling information from the rebol file info spec somehow?
Ah, seems to be
 
7:27 PM
That is neat, but need to get a handle on it now
 
Welcome to the Rebol and Red room. See our FAQ. Cool, you have a reputation score of 1076 so chat away!
jreut, Gainesville, FL
63 5
Welcome to the Rebol and Red room. See our FAQ. Cool, you have a reputation score of 63 so chat away!
 
 
1 hour later…
8:34 PM
posted on May 13, 2014 by earl

This is a fix to properly zero-terminate strings in the internal Trace_String helper used for e.g. tracing output in PARSE. This fixes CureCode issue 2150. Fix written by Shixin Zeng: zsx/r3@25d35a9

posted on May 13, 2014 by abolka

[Comment] Shixin's fix upstreamed as PR: https://github.com/rebol/rebol/pull/221

 
@earl Thanks for upstreaming the fix. I just don't have time to right now
 
@ShixinZeng Thanks for fixing it in the first place :)
 
9:17 PM
posted on May 13, 2014 by Ddharing

The send-sql function of the new R3 MySQL driver supports both the classic blocking and new non-blocking by using the /async refinement. For example: send-sql/async db sql result. I will be providing a link for this driver from the Atronix download page as well.

posted on May 13, 2014 by Ddharing

The /async refinement is very useful for GUIs because your query can return a large result set without freezing the screen.

 
Great stuff happening in Rebol3!
 
9:39 PM
Any hope to see some PRs merged in mainline repo?
I wish import in my cloned rebol repo some PR sent to mainline repo. There is a way to do that?
 
@giuliolunati Hope, yes (I'd say). But no timeframe.
 
9:56 PM
Thanks to @kealist for give me link, and to @earl for give me hope! :-)
 
@giuliolunati :)
@giuliolunati To expand on @kealist's link:
If you go to a pull requests page, such as github.com/rebol/rebol/pull/221
Ah, no, that only works in a particular constellation. Sorry, forget what I started :)
I'm personally using the method suggested in the lowest-ranked answer:
4
A: Pull requests from other forks into my fork

Brian LitzingerSome more detailed info that worked for me. My .git/config file for the forked repo looks like this: [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true precomposeunicode = false [remote "origi...

Concretely, I've the following in my .git/config:
[remote "carl"]
	url = github.com/rebol/rebol.git
	fetch = +refs/pull/*/head:refs/remotes/carl/pull/*
	fetch = +refs/heads/*:refs/remotes/carl/*
This allows me to easily merge pull requests using e.g.: git merge --no-ff carl/pull/221
4
 
10:41 PM
Welcome to the Rebol and Red room. See our FAQ. Cool, you have a reputation score of 19572 so chat away!
 
Sorry, not ready for this yet, guys (didn't quite intend to jump in). But Red / Rebol is high on my list of languages to learn. The progress on Red is very impressive.
 
@LeonidShifrin No worries. Of course, feel free to just lurk :)
 
10:57 PM
this is *very* useful, thank so much!
I'll go try that with your fix-1861-call-wait...
 
@giuliolunati You're welcome. Note that the "fixed" call/wait still leaves zombie processes behind, at the moment. For long-running servers, that may be a nuisance.
Still have to find a place, where to best put a zombie reaping waitpid.
 
Ok, I'm warned!
 
11:21 PM
@earl mmmm... Got error:
> fatal: 'carl/pull/220' does not point to a commit
:-/
maybe limitation in my git-for-android...
 
11:38 PM
Shame on me! Forgotten fetch carl...
 

« first day (1290 days earlier)      last day (2490 days later) »