r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Red] Red language group

Dockimbel
21-Sep-2011
[3485]
I have put the current contributions on a new page: http://www.red-lang.org/p/contributions_21.html
Janko
21-Sep-2011
[3486x4]
I haven't found a way to see any source code on these fossil pages
do I have to login for that?
that captcha password doesn't work for me because characters are 
not fixed width I assume
I copy/pasted it do text editor and was able to login. The code for 
GTK looks very nice
Dockimbel
21-Sep-2011
[3490]
Right, you need to login anonymously. Just click on "anonymous login", 
then "Fill out captcha", then "Login".
Janko
21-Sep-2011
[3491]
(the captcha isn't readable in Chrome because fonts aren't fixed 
width)
Dockimbel
21-Sep-2011
[3492]
I am using Chrome 14 on Win7 and have no issue reading the captcha.
Kaj
21-Sep-2011
[3493x5]
Janko, there's a button that will fill out the CAPTCHA for you
I've added a quick-start SQLite example
Added a WAV player example to the SDL binding
I believe I have now bound the audio part of SDL 1.2 completely
There are sample WAV files, and BMP files for PeterPaint, in the 
SDL documentation
GrahamC
25-Sep-2011
[3498]
Since RED will support concurrency, I guess it would be suited for 
flow based programming?  http://www.jpaulmorrison.com/graphicsstuff/DrawFBP.jnlp
Dockimbel
25-Sep-2011
[3499]
Probably, but not more than any other language, unless an adequat 
dialect or API is provided.
GrahamC
25-Sep-2011
[3500]
Max did a FBP implementation in R2 but what was missing was the multithreading.
Kaj
27-Sep-2011
[3501x5]
Implemented the SQLite type system and stepwise query processing
Values can now be extracted with optimal efficiency and control
Implemented binding
Precompiled SQL statements can now be bound and rebound to external 
parameters
The SQLite engine has many similarities to REBOL, so I'm trying to 
express that in the identifier naming
Nicolas
28-Sep-2011
[3506]
How fast is Red currently?
Kaj
28-Sep-2011
[3507]
I don't know if anyone has tested it, but Red/System should approach 
the speed of C. So that would be somewhere around the speed of C++ 
and such somewhat higher level languages
MikeL
28-Sep-2011
[3508]
Kaj,   I have just started to look at CURL for NTLM.   Is it just 
grab the NTLM value from the headers and pass it with CURL as with 
HTTP-Auth?  Has anyone / everyone done this already?
Kaj
28-Sep-2011
[3509]
Hm, I haven't done anything with NTLM. I'll have a look at the docs
MikeL
28-Sep-2011
[3510]
I appreciate it. I will try a few attempts when running behind the 
firewall.  I want to put together a simple regression package for 
a web site using CURL and REBOL and/or RED.
Kaj
28-Sep-2011
[3511x6]
You need to tell cURL that you want NTLM, but after that it seems 
to be fully automatic
Have a look here at a third, under Passwords and HTTP Authentication:
http://curl.haxx.se/libcurl/c/libcurl-tutorial.html
The Red binding doesn't provide the #defines yet to configure that, 
but they're easy to add
The only requirement for NTLM seems to be that your cURL is built 
with SSL support:
http://curl.haxx.se/docs/features.html
Kaj
29-Sep-2011
[3517]
I've added defines for authentication methods to the cURL binding 
that you can use with the curl-set function to configure NTLM
MikeL
29-Sep-2011
[3518]
Thanks I will try out soonest.
Mchean
4-Oct-2011
[3519]
has the Red google group moved somewhere else, don't see any activity
Andreas
4-Oct-2011
[3520]
It's still at
http://groups.google.com/group/red-lang
Mchean
4-Oct-2011
[3521x2]
just quiet at the moment
?
Andreas
4-Oct-2011
[3523x2]
Yes.
Also:
https://twitter.com/#!/red_lang/status/118396786737033216
Mchean
4-Oct-2011
[3525]
thanks
Kaj
9-Oct-2011
[3526x4]
Implemented horizontal and vertical box layouts in the GTK binding
Added a widgets overview to the examples
Here's the current one:
gtk-view window [
	gtk-position-center
	"Widgets Overview"
	icon "Red-48x48.png"
	vbox [
		label "Vertical box"
		fixed [
			label "Fixed layout"
			5 25  button [50 25  "Quit" :gtk-quit]
		]
		hbox [
			label "Horizontal box"
			button ["Fill"] yes
			button "Expand"
			button ["Fixed"] no
		]
		vbox [
			label "Vertical box"
			button ["Fill"] yes
			button "Expand"
			button ["Fixed"] no
		] yes
	]
]
Dockimbel
11-Oct-2011
[3530]
Works fine on Win7. What are the yes/no keywords for?
Kaj
11-Oct-2011
[3531x3]
I'm about to define names for them. :-) They were the most practical 
way to construct a dialect that results in proper settings for filling 
or fixating a box cell
Did you resize the window? Then the working becomes clear
Not many floats are used in GTK, but I need them for layout alignment
Dockimbel
11-Oct-2011
[3534]
Ok, I see now what they are used for. :-) Are the extra brackets 
around some button titles a special convention you're using?