« first day (1418 days earlier)      last day (2362 days later) » 

1:45 AM
However, it's not just these types of projects. Having case-sensitivity in map! would make it more useful all sorts of applications.
map! should have had case-sensitive string! and char! keys by default from the start.
6
I know earl and others have already been saying this sort of thing for a long time.
If it had been this way from the beginning, I don't think we would have had all this talk about introducing another datatype. Anyone needing case-insensitive keys could easily use a case-sensitive version with a bit of extra code. It doesn't work the other way.
@DocKimbel I hope Red's map! will be case-sensitive for string! and char! keys by default?
Anyhow, as soon as the map! data-type has been written, I plan to make Red my primary programming language. It's amazing that most of the other functionality I personally need for my projects is either already there or in Kaj's bindings!
 
2:00 AM
The last comment here curecode.org/rebol3/ticket.rsp?id=1437 from Carl suggested using binary values in the map which may be a workaround
@rebolbot
m: make map! reduce [ to-binary "a" 1 to-binary "A" 2 ]
m/(to-binary "a")
 
; Brought to you by: try.rebol.nl
== 1
 
2:58 AM
@WiseGenius What is wrong with getting case sensitivity with SELECT/CASE?
While I do not necessarily like case-insensitive default of Rebol, it is kind of the law of the land. Making MAP! an exception seems arbitrary.
>> select/case [ABC def] 'abc
 
; Brought to you by: try.rebol.nl
== none
 
3:12 AM
Crazy idea: let a//b mean "case-sensitive path look up" as a parallel to the difference between = and ==. This would add an extra bit on each path element, which your dialects could choose to pay attention to or not.
Perhaps object/case [FOO: 10 foo: 20] would have two fields :-/
In other completely-unrelated news, this crack I got from my dealer is really good. :-)
 
 
3 hours later…
6:26 AM
@wisegenius - my work about bible is
http://dongiulio.altervista.org/bibbia/bib.html
If you want chat about these subjects contact me please!
giuliolunati at gmail dot com
 
6:53 AM
to read post data, you need to read the post header
 
@HappySpoon what do you mean by that?
 
@rebolek is tab-box working or not?
The answer in the stackoverflow question is incorrect
 
@HappySpoon AFAIK it's working, I'd like to answer the question on the forum, but hadn't time yet... :/
 
well, an example of the syntax would help them out
 
@HappySpoon Does the forum work for you? I can't load the page.
 
7:05 AM
@rebolek yes, working
 
Hm, that's strange.
Traceroute shows that after 212.96.178.229 all packets are lost.
@HappySpoon So what's the right way to read POST data in R3?
 
I'll have to find the code but you need to read the post header data to get the content-length
>> to string! read rebolforum.com/index.cgi
 
; Brought to you by: try.rebol.nl
== {<HTML><HEAD><TITLE>REBOL Forum</TITLE><link rel="alternate" type="application/rss+xml" title="rebolforum.com rss feed" href="./index.cgi?f=rss" /></HEAD>
<BODY bgColor=#808080><CENTER>
<TABLE border=0 cellPadding=20 cellSpacing=2 height=100% width=85%>
<TR><TD bgColor=white vAlign=top>


<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 1 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
 
Ah, it works now. 212.96.178.229 probably fixed their routing :)
 
7:21 AM
>> read dns://212.96.178.229
 
; Brought to you by: try.rebol.nl
== 212.96.178.229
 
@RebolBot do/2 read dns://212.96.178.229
 
; Brought to you by: try.rebol.nl
== none
 
hmm.
@RebolBot do/2 read dns://www.rebolforum.com
 
; Brought to you by: try.rebol.nl
== 67.210.126.70
 
7:22 AM
@rebolek bad router I guess
 
7:40 AM
@HappySpoon so how do I read the POST header? Is it in some env variable? And when I've got the right length, then what?
 
8:04 AM
All you Scots out there let's hear your voice today :-)
Don't let the classic FUD 'no' campaign fool you. LoL!
 
9:00 AM
This is Andreas' http server code.
What you need to do as far as I recall is to read the first block of data returned, and parse it to get the content-length.
Then keep doing a read on a read event until you get all the data you expect.
I can't find my working code at present. But that is how I expect it should work.
 
@HappySpoon I'm afraid this won't help me, I'm not using Rebol HTTP server, I run the CGI under Apache.
 
If that is the case, then you are just using Apache ... nothing to do with rebol.
 
But I'm reading the POST data using read system/ports/input and I got inconsistent results that do not seem like Apache's fault.
 
Never used Apache with r3 for cgi so can't help
 
Anyway, I may try some simple file uploader example in PHP just to be sure it's not Apache's fault.
 
 
1 hour later…
10:19 AM
@rgchris is the Altme feed working?
Or did the Rebol3 world go down for maintenance, and not come back up again?
Looks like it's down ... based on altme.com/check.html
 
rebol4 ??
I would not believe this old server. You have trouble logging on?
 
@iArnold Not logging in .. I don't have altme installed.
 
No problem, available
 
Hmm.
@johnk Then we need to fix our client.
 
 
2 hours later…
12:08 PM
Is there anyone who stands up for the idea of shift having a default direction, vs. not having separate primitives shift-left and shift-right?
>> help shift
 
; Brought to you by: try.rebol.nl
USAGE:
    SHIFT value bits /logical

DESCRIPTION:
    Shifts an integer left or right by a number of bits.
    SHIFT is a native value.

ARGUMENTS:
    value (integer!)
    bits -- Positive for left shift, negative for right shift (integer!)

REFINEMENTS:
    /logical -- Logical shift (sign bit ignored)
 
rebol2> help shift
 
; Brought to you by: try.rebol.nl
USAGE:
    SHIFT data bits /left /logical /part length

DESCRIPTION:
     Perform a bit shift operation. Right shift (decreasing) by default.
     SHIFT is a native value.

ARGUMENTS:
     data -- (Type: integer binary)
     bits -- Number of bits to shift (Type: integer)

REFINEMENTS:
     /left -- Shift bits to the left (increasing)
     /logical -- Use logical shift (unsigned, fill with zero)
     /part -- Shift only part of a series.
         length -- (Type: integer)
 
The Rebol2 version is clearly bad.
The Rebol3 version... well...
It does have a help string.
Carl argues that the help string resolves the ambiguity and you know what a positive and negative offset will do, because the help string says.
 
12:23 PM
0
A: How do I read large amounts of CGI data via POST in Rebol3?

sqlabwith r3-64-view-2014-02-14-1926d8.exe I used while [ all [ not error? try [data: read system/ports/input] 0 < probe length? data ] ][ append image data ] print length? image And did D:\own\Rebol>r3-64-view-2014-02-14-1926d8.exe read-img.r < r3-64-view-2014-02-14-19...

 
12:41 PM
Hello!
 
1:19 PM
@pierre Long time no see
So people like PICKZ and POKEZ better than ZPICK and ZPOKE?
I guess the issue is that ZINDEX-OF (for instance) sounds like it's talking about Z order
Whereas INDEXZ-OF is more "alien" and obviously a 'new thing"
A little too bad because it's more pronounceable when the Z is at the beginning of these
 
2:10 PM
@HostileFork Red uses the infix operators << and >> for shifting left and right respectively. It seems shift is then defined in terms of those. How do you feel about that?
 
@RebolBot
1 << 2
 
; Brought to you by: try.rebol.nl
; rebol.com/r3/docs/errors/script-no-value.html
    *** ERROR
** Script error: << has no value
** Where:
** Near: try load/all join %/users/try-REBOL/data/ system/script/args...
 
Hm. Interesting.
I thought Rebol did that too?
@WiseGenius It's consistent with shift-left and shift-right, which Carl says he considered, but thought a help string would alleviate by defining which direction was meant by the sign. I am not a fan of SHIFT choosing sides.
Interesting to hear you considering practical use of Red.
It's still got a ways to go for my applications.
 
2:27 PM
@HostileFork Yes! I've been away, quite a bit, here and there, in Africa mostly. How are you doing?
 
2:48 PM
@pierre Not too well in general. Disillusioned with the world, I suppose.
 
@HostileFork Well, it would certainly be a bumpy ride, even for my humble uses. One very simple little quiz program with a couple of text fields I wrote using Kaj's bindings depends on 31 extra DLLs on Windows! I have faith in the speed Red is growing at though. Rebol 3 is still lacking a bit too, but it's holding me hostage with map!.
I'm falling asleep. Goodnight.
 
>> select/case map ["ABC" "DEF" "abc" "def"] "ABC"
 
; Brought to you by: try.rebol.nl
== "def"
 
Hmmmm.
 
@HostileFork Oh, come on...
Get a shot of whatever kind of CH3-CH2-OH you can find, ant think about the Beauty of Open Sourceness...
 
2:50 PM
@RebolBot do/2
select/case map ["ABC" "DEF" "abc" "def"] "ABC"
 
; Brought to you by: try.rebol.nl
; rebol.com/r3/docs/errors/script-no-value.html
    *** ERROR
code: 300
type: script
id: no-value
arg1: map
arg2: none
arg3: none
near: [select/case map ["ABC" "DEF" "abc" "def"] "ABC"]
where: none
 
@WiseGenius Just a bug. Bugs shouldn't hold you hostage.
@pierre "I hate the things I hate more than I love the things I love." That's just the way of it. I fight for truth and justice when I have the time, because I'm one of those truth-and-justice-are-good types.
But maybe I'm just brainwashed into thinking that, and evolution is good. Long live might makes right!
 
@HostileFork I wish we could all write with parenthesis, so that our sentences can be deciphered more accurately: did you mean:
"(I hate (the things I hate)) more than (I love (the things I love))" ?
One Day, we'll all speak some kind of International Perfect Language, totally unambiguous. It will be Rebol-derived, of course.
 
@pierre Something like that. But said in a less poetic way, I've found that it's no consolation to me to enjoy the good things in life, due to the bad things in life seeming to be unbearably bad.
The Serenity Prayer is the common name for a prayer authored by the American theologian Reinhold Niebuhr (1892–1971). It has been adopted by Alcoholics Anonymous and other twelve-step programs. The best-known form is: God, grant me the serenity to accept the things I cannot change, The courage to change the things I can, And the wisdom to know the difference. == History == === Reinhold Niebuhr === Though clearly circulating in oral form earlier, the earliest established date for a written form of the prayer is various versions printed in newspaper articles in the early 1930s by or repo...
I don't do so well with that --^
Perhaps there is a French version too.
 
@HostileFork I must admit that if the news are just as bad on the western shore of the Atlantic than here, it is quite difficult to keep happy-smiling-optimistic...
 
2:58 PM
The news is unreadable, people tell me to just stop
"Why read about things that you cannot change?"
in Red Development Team, 24 mins ago, by pekr
In fact, IIRC, the flat one was kind of my idea, so yes, I like it. I can even imagine the t-shirt variant using something like your flat icon (but it would read as RAD), here was my idea - http://xidys.com/red-logo/red-inverse-box.png
@pekr You have been credited :-) although technically the first suggestion for that came from @johnk => chat.stackoverflow.com/transcript/message/10980239#10980239
Although this was a suggestion of mine from oct 2012
I think omission of the post was a good step in the flat tower's development.
Which is why I speak of saying that I do not think it is fair to call the current flat icon "cheap". It is thought out.
 
Hmm, looking back I like Chris' t-shirt idea with gears ....
 
@HostileFork ??
to stop what?
 
@pierre To stop reading the news, that it is unhealthy; that the "news" is sensationalist and not giving one a true impression of the world.
 
@HostileFork May be if the three bars en the E are pushed to the right, the E would be more E-looking than A-looking? Wild guess...
@HostileFork Extremely true. The more I travel, the more I realise that very often, the news are just propaganda, and it is sometimes very well organised...
 
That's the best I came up with.
It's not necessarily great; you don't need to use that kind of type with the logos.
I consider it an experiment to see how and if it could be done.
The logo may look better juxtaposed with a much less stylized font.
But I don't think it's that bad, and 85 upvotes can't all be wrong:
But I don't think it's the text that makes that, it's the tower.
Probably look better with a less cheezy type treatment.
"It succeeds in spite of the type, not because of it."
Still, a kind of cool reflection of the levels of the tower. But a risk in graphic design is getting too clever instead of thinking about what looks good.
I wonder how the ad would have done with no text?
 
3:22 PM
Oh, I just noticed that there is a "Red Development Team" chat room. Great!
 
 
2 hours later…
5:34 PM
@HappySpoon Still not working?
 
Haha love the muppets! :-) It is Penn's own hand waving ;-)
Oh saw that during the first time they performed :-)
Sorry I'm off watching wrestling with the guys ;-)
 
6:47 PM
@rgchris no, but perhaps the altme client is not running on whereever
 
 
1 hour later…
8:02 PM
@giuliolunati Hello, I would like to convert a R3 script to a APK for Android. I know there is a apke demo made by saphirion but I do not know how to use it. Do you have any tools or a APK maker and some explanations ? Thanks
 
8:20 PM
@iArnold Thanks! I feel better now...
@HostileFork Thanks! I feel better now...
 
 
2 hours later…
10:45 PM
Well, now that I've been playing with Javascript for a couple of weeks, I can say I'm getting more comfortable with it. The syntax still drives me crazy, and some of the programming paradigms, but it isn't too bad. Looking for better ways to integrate between Rebol and Javascript.
 
@JeanLouis - sorry, no apk maker :-(
Only a rebol interpreter that access Android API via SL4A.
 
In my experimentations, it looks to me like Javascript could be a good solution to provide Rebol3 with a cross-platform GUI via browser. Got lighttpd configured to work with Rebol3 as CGI, and have bi-directional communication of variables between Javascript and Rebol3 working.
 
@respectech I'm interested on this subject. What about security?
 
11:07 PM
@HappySpoon @rgchris I'll get onto ec2 tonight and see what happened to the altme instance. If I recall I just started it in January and it has been running ever since ... (so I never got around to putting a wrapper script to restart it if it failed)
I need to kick start moving over to digital ocean and decommission the ec2 box. I have been distracted with other things recently
 

« first day (1418 days earlier)      last day (2362 days later) »