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

World: r3wp

[!REBOL3 Schemes] Implementors guide

Rebolek
16-Jan-2010
[1578]
Better break the license than some glass.
Graham
16-Jan-2010
[1579]
GPL only applies to software that you distribute
BrianH
16-Jan-2010
[1580x2]
Pekr, "just wrapping" other code is not easy to do right, and takes 
time and effort. Less time and effort than rewiting it from scratch 
in some cases (likely including SSL and SSH), but still not a trivial 
effort.
Graham, a scheme that you can't distribute is of extremely limited 
use, too limited to justify the effort involved.
Graham
16-Jan-2010
[1582x4]
in your personal opinion of course
If google developed such a scheme, and kept it within their organization, 
that would be in keeping with GPL .. no need to release source
what I was envisaging was someone linking the host code to eg.  a 
gpl tls library and releasing instructions on how to build it yourself.
I don't see what is wrong with that.
BrianH
16-Jan-2010
[1586]
All right, too limited to justify *my* effort. Or anyone who doesn't 
work for a large company.
Graham
16-Jan-2010
[1587]
I guess I just may have to get that book C for dummies from the library 
after all
Maxim
16-Jan-2010
[1588]
hehe
Graham
16-Jan-2010
[1589]
Max, where's that progress report ...??
Maxim
16-Jan-2010
[1590]
progress on OpenGL?
BrianH
16-Jan-2010
[1591x2]
I don't see the point in this anyways, since there are decent SSL 
and SSH libraries with permissive licenses. We can ignore GPL code.
Still, I don't want to disuade you from brushing up on your C :)
Graham
16-Jan-2010
[1593x3]
starting .. not brushing up
yes, OpenGL
Have you created a GUI to replace VID using open GL yet ?
Maxim
16-Jan-2010
[1596]
as I explained to sunanda, while doing the OpenGL port I decided 
to build my C code analyzer/compiler/converter to make the process 
as complete and painless as possible...


but I've hit a wall and need a better unit testing engine to complete 
that and the OpenGL convertion.
Graham
16-Jan-2010
[1597x2]
so you're stuck ...?
What about Qt ?  Is that feasible?
Maxim
16-Jan-2010
[1599x4]
I've used that before but its more pain than gain.
I'm not really stuck, i'm just building a highway instead of a small 
road... so it takes a bit more ground work.
but the result will be 3 tools instead of one... and about the same 
time to accomplish the end goal.
and then the ability to create complete C extensions for just about 
any C useable tools in a few minutes.
Graham
16-Jan-2010
[1603]
sounds like grandiose ideation !  :)
Maxim
16-Jan-2010
[1604x4]
no its how every other platform does it.
using tools like SWIG.
I want to do it using REBOL end-to-end.
and since the C analyser has a programable emitter, you will be able 
to customize what it does.
Graham
16-Jan-2010
[1608]
What's the ETA for this?  Knowing that you start university this 
week ...
Maxim
16-Jan-2010
[1609x2]
honestly I don't know, but its a funded project overall, so it is 
my current job.  which means it will happen for sure.


I would love to have some usefull OpenGL stuff working in february.
one reason I'm doing Sea (the C converter) is that for each new improvement 
of extensions, we will be able to update our tools with a single 
rebuild of the extension. for large libs this is going to be a big 
deal.
Graham
16-Jan-2010
[1611]
is the funding contingent on delivery ? :)
Maxim
16-Jan-2010
[1612]
well, usually, you get paid to get things done.  but this is an ongoing 
project.  It also has other libraries I must import which I can't 
talk about right now, but which might be very interesting for the 
community.
Graham
17-Jan-2010
[1613x3]
As I said above I don't use imap, and am not familiar with the protocol. 
 All this does is login using auth=login and grabs the first mail 
in the Inbox
http://rebol.wik.is/Rebol3/Schemes/Imap4
I don't parse any of the message flags etc.
Ok, what do we need for imap?  ( although I suspect doing all these 
email schemes is a waste of time without ssl ) ...
Andreas
17-Jan-2010
[1616]
for developing, stunnel will help with immediate ssl issues
Maxim
17-Jan-2010
[1617]
ssl AFAIK is under the protocol, so even with an SSL module, the 
schema should not really change.
Graham
17-Jan-2010
[1618x3]
stunnel adds transparency ... I guess
anyone got a how to on using stunnel ?
The r2 imap protocol is pretty basic ... so I don't see that we need 
do more than that ....except perhaps allow users to pass custom commands 
to the server.
Andreas
17-Jan-2010
[1621]
stunnel -cf -P '' -d sourceport -r targethost:targetport
Graham
17-Jan-2010
[1622]
thanks
Andreas
17-Jan-2010
[1623x3]
-c is for client mode, i.e. so that stunnel will connect to a server

-f is so that stunnel stays in the foreground (and you see debug 
output)

-P '' is to avoid creating a pid file (dunno if that is necessary 
on win32 stunnels)
-d sourceport tells stunnel to listen on sourceport
-r targethost:targetport to forward data to this target
re imap: i don't think that much of anything is necessary for imap 
atm. once i'm satisfied with the pop protocol, adapting it to imap 
will be quick and easy
the more interesting questions would be about a satisfying user interface. 
mostly how to wrap imap folders nicely in something that feels natural 
in rebol
Graham
17-Jan-2010
[1626]
at present I think you have to specify the folder you want to open 
in the url for r2
Graham
18-Jan-2010
[1627]
Since FTP, andIMAP have folder structures, I propose that we use 
cd, ls, pwd etc for those schemes that support this.  This is no 
different to the lookup that is done by read, write, length? etc