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

World: r3wp

[Ann-Reply] Reply to Announce group

Maxim
28-Oct-2010
[2300]
just tought I'd post this little code snippet for fun....


here is the smallest running opengl application I've ever seen  :-)

rebol []

import %opengl-cgr.dll 

win: make gob! [text: "GL_API TEST" offset: 500x50 size: 300x300 
]
append win box: OpenGL-Gob [size: 300x300]

make-primitive box 'polygon [shape: [vertices [0 1 0  -1 0 0  1 0 
0] faces [ 2 1 0] ] changed: [shape]]
view/as-is win
Gregg
1-Nov-2010
[2301]
Good stuff Kaj. Have you posted how you implement server limits when 
serving REBOL up this way? That could be useful information, based 
on first-hand experience.
Kaj
1-Nov-2010
[2302x3]
Thanks. I'm just executing user scripts through a shell script:
ulimit -t 30 -m 20000 -v 10000 -u 10 -n 100 -f 200

/users/try-REBOL/program/r3 -q /users/try-REBOL/program/do-rebol.r 
$1
The ulimit sets standard Linux resource limits for the process and 
its REBOL child process that gets started afterwards
Gregg
1-Nov-2010
[2305]
Thanks Kaj.
Kaj
1-Nov-2010
[2306]
There should be a more efficient way, for example if you have a REBOL 
binding to the ulimit function, but the detour through the shell 
script is a quick solution
GrahamC
4-Nov-2010
[2307]
Doc, I don't even know what ldap is, but perhaps we should be using 
github for releasing all unfinished work?
Dockimbel
4-Nov-2010
[2308]
Just for one file of 17Kb? Sounds overkill...
GrahamC
4-Nov-2010
[2309x4]
far from it
17,000 bytes ....
If you haven't finished it I presume it is not a trivial task
anyway the ethic we are trying to promote is collaboration
Dockimbel
4-Nov-2010
[2313]
I haven't finished it mainly because I'm not a LDAP user, so I'm 
not familiar with most of the LDAP concepts. The protocol itself 
is quite complex due to ASN.1 encoding.
GrahamC
4-Nov-2010
[2314]
QED
Dockimbel
4-Nov-2010
[2315]
The license is BSD, anyone can pick it up and improve it.
GrahamC
4-Nov-2010
[2316]
I wish Frank Sievertsen had put all his code into a repository instead 
of a cd which he then lost!
Dockimbel
4-Nov-2010
[2317]
What source code are you referring to?
GrahamC
4-Nov-2010
[2318]
his bridge
Dockimbel
4-Nov-2010
[2319]
Java bridge?
GrahamC
4-Nov-2010
[2320x3]
yeah ... I had to write my own, would have saved me some time
He had other stuff too .. a shared whiteboard written in Rebol .. 
that was lost
probably based on his tiny paint program :)
Dockimbel
4-Nov-2010
[2323]
Oh, this could probably be easy to build again starting from his 
paint program?
GrahamC
4-Nov-2010
[2324x3]
Probably .. i don't need it but it was just an example of software 
that gets lost when not in a public repository
Eg. Anton has closed all his websites ... I think he's working on 
getting something up again eventually
To save you the bother ... https://github.com/gchiu/Rebol2/blob/master/Protocols/ldap-protocol.r
GiuseppeC
6-Nov-2010
[2327]
Jocko, I'll try TTS extension as soon as possible. It is really nice 
to have this on REBOL.
Kaj
6-Nov-2010
[2328]
Jocko, dumped Windows, so I can't use your extensions, but they're 
still very cool :-)
jocko
7-Nov-2010
[2329x2]
what do you mean by dumped windows ?
windows -> Windows
GrahamC
7-Nov-2010
[2331]
I think he means he prefers to use Syllable as his desktop OS
jocko
7-Nov-2010
[2332]
I really understand that choice !
Kaj
7-Nov-2010
[2333]
:-) I'm now on a graphical version of Syllable Server
RobertS
8-Nov-2010
[2334x2]
IT's OK - only the State of Kerala has sworn off Windoze, to my knowledge. 
 Now if the State of Alabama were to do so, then we might worry about 
wasted effort .... ;-)
Or Montenegro:  only once "organized" business at  https://invizi.organized.ru
 moves off Windows-based pseudo-accounting/audit/governance/non-transparency 
slopware will we have cause to worry.  But the EU forensic auditors 
use Windows, so as long as they are still looking for where millions 
of Euros end up, there will be work to do on Win64, Win128 ....  
And then comes Macedonia ....
Maxim
8-Nov-2010
[2336]
Jocko, nice work!  :-)
WuJian
12-Nov-2010
[2337]
nve:          rebol-view-277-3-1.exe  and  rebol-core-277-3-1.exe. 
         Windows version of REBOL
Carl
17-Nov-2010
[2338x2]
Replies about http://www.rebol.com/article/0499.htmlcan be posted 
here. Thanks.
Apparently, there's a dispatch center down right now due to a REBOL 
scripting bug. But, I don't know who to forward the feedback to. 
:(
Pekr
17-Nov-2010
[2340x2]
hmm, I remember some community memeber introducing his app, maybe 
it was even here ....
http://www.rebol.org/documentation.r?script=animresize.r
Steeve
17-Nov-2010
[2342x2]
weird story...
Moliad is Maxim AFAIK
Pekr
17-Nov-2010
[2344]
yes .... so Max should know ... another possible lead - http://www.scofmp.org/sco_task_force.pdf
Carl
17-Nov-2010
[2345x2]
Actually, the developer contacted me just now. Someone new that I 
don't know.
Some developers just want to stay totally under the radar.
Steeve
17-Nov-2010
[2347]
sadly when problem arises, they deserve it...
GrahamC
17-Nov-2010
[2348]
Was that related to tthe weird bug posted on rambo.r ?
amacleod
17-Nov-2010
[2349]
at Pekr...That was for me. maxim was helping me out.