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

World: r3wp

[Tech News] Interesting technology

Pekr
17-May-2006
[850]
:-) ok, ok .... looking forward to first alpha then :-)
Volker
17-May-2006
[851]
Now Google goes completely mad :) http://code.google.com/webtoolkit/overview.html
Pekr
17-May-2006
[852]
hehe, they want internet to become OS .... and PC OSes to become 
just - commodities - non-important in its own, just a layer for internet 
networked apps :-)
Maxim
17-May-2006
[853]
this is pretty bad ... it opens up a lot of stupid cases... http://www.theregister.co.uk/2006/04/21/moderator_liable_for_comments/
Geomol
17-May-2006
[854]
Regarding multitasking and REBOL, how far is it possible to go using 
communication between tasks over the TCP protocol? I've implemented 
multi-user locking this way with a relational database in REBOL, 
and it works quite well. I haven't done stress-test, so I have no 
real measurement, how effective it is, and what the performance is 
compared to other inter-task communication methods. I'm working on 
an OpenGL implementation, where OpenGL commands are sent from a REBOL 
task to an OpenGL server task (written in C), which will execute 
the OpenGL commands, so I'm about to get more experience in this. 
Both tasks will run on the same computer, but can easily be on different 
computers, of course.


Anyone with more experience in task communication using TCP? Where 
is the limit?
Pekr
17-May-2006
[855x3]
hmm, I am not sure I like it ... you open a port and firewall jumps 
in
Geomol - I remember some material re linux and using tcp for IPC 
and someone said it is quite expensive - communication wise (headers, 
ack)
it should be imo done on low-level, just the queue should be exposed, 
like event queue .... well, not sure, Carl does it right hopefully 
anyway, so :-)
Geomol
17-May-2006
[858]
:)
[unknown: 9]
17-May-2006
[859x2]
RE: Google...I want internet to become OS as well.
John...cool.  Build an X-Windows like layer between Rebol and OpenGL.
Geomol
17-May-2006
[861]
Someone: explain the top at Google, what REBOL is, so they can put 
development capital in REBOL Tech.
Volker
17-May-2006
[862]
Google - the funny point here is: They say code in java, compile 
to javascript. The first time i see it that way around. Till now 
i heard "use scripting to get it running, use java/c for big things/speed". 
Javascript must be really awfull :)
Pekr
17-May-2006
[863]
Geomol - that is why I am heading towards IBM :-) We will see, but 
I have too little knowledge to work there probably :-) Carl once 
said, that he would like to sell rebol to some big party .... IBM 
is the right one ....
Volker
17-May-2006
[864]
Geomol: someone exlain google *where* rebol is. They do this because 
ajax-the-runtime is everywhere, but seemingly the worst way to code.
Pekr
17-May-2006
[865]
but Reichart tends to have lunch with lots of those top guys, so 
why not. IIRC BeOS got 50mil injection from Intel .... and Intel 
did not want any share or so - they just wanted to support good technology
[unknown: 9]
17-May-2006
[866]
Intel may have done that just to piss off microsoft during thier 
negotiations.
Volker
17-May-2006
[867]
rebol->tcp-<opengl: could work. bottleneck is lots of request. In 
your case you would only do one request/frame. Copying the bytes 
on the same machine should be fast.
Geomol
17-May-2006
[868]
I'm developing a byte-code style for OpenGL commands, so little communication 
is needed. Only 1 byte for the command (gl, glu and glut commands 
are fewer than 256), and 4 bytes for most parameters. So many commands 
are fewer than 10 bytes of communication. It may not be fast enough 
for games, but I hope, it's fast enough to make tools and fast OpenGL 
prototyping (trying out ideas).
Maxim
17-May-2006
[869]
hum Geomol, is it possible to start a new group for this?  I'd like 
to support your endeavor with testing and I think this can become 
a big thread!
Geomol
17-May-2006
[870]
Maxim, in a few days, I hope. I'll speak up, when I have something 
concrete to show.
Pekr
17-May-2006
[871]
Geomol - just be sure you send enough data for OS to send two packets 
at least, or you will notice 200ms delay imo ...
Maxim
17-May-2006
[872]
hehe sometimes more is less  ;-)
Volker
17-May-2006
[873]
Maybe make benchmarks first. Blast a realistic amount of data from 
rebol to rebol. Maybe by beer or uniserve, something fast.
Pekr
17-May-2006
[874]
I am not sure it is true anymore, but we noticed it developing our 
ccd camera few years ago ... OS simply waits with ACK defined period 
of time or simply to receive second packet, then it confirm both 
.... Ethereal will give you an answer :-)
Volker
17-May-2006
[875]
Pekr, good hint. But i guess to calls to send a byte are two packets 
too. And then there was some flag too IIRC. Somebody remember?
Pekr
17-May-2006
[876x3]
yes, isn't it called Nagle algorithm? It can be set - nodelay ...
in set-modes I mean ....
but is not recommended IIRC :-)
JaimeVargas
17-May-2006
[879]
Gabriele, tasking without any explicit control  is risky. How do 
you handle two task both writting to the same file, who gets access 
to the resource, how you enforce determinism?
Pekr
17-May-2006
[880x3]
Apple closes down OS-X - http://www.infoworld.com/article/06/05/17/78300_21OPcurve_1.html
have not read it yet, so sorry if it is not what topic states ....
Tasking discussion could move to Rebol3 maybe? (because there is 
general interest in the concept)
Volker
17-May-2006
[883x2]
Closes the source of os-x
darvin-kernel.
Gabriele
17-May-2006
[885]
Jaime, writing to files is something for the os to handle, not the 
language. what happens if you write from rebol on a file you're writing 
from another app?
Volker
17-May-2006
[886]
Maybe Jaime means: If you do everything that way, including the os? 
But, there would be no  such thing as a file, there would be a file-server, 
eg a third task. Which gets request and can sort them out.
Henrik
17-May-2006
[887]
pekr, because of piracy??
JaimeVargas
17-May-2006
[888]
Gabriele, I don't think is an OS issue only. Once you introduce tasking 
would could write something like:

do [
    task [write %file "Hello"]
    task [write %file "World"]
]


The question is what is the result of such computation. Without any 
further mechanism it can produce as minimum two different results. 
"World Hello"  "Hello World", discarding posible contention errors. 
So how does R3 will manage such issues.
Pekr
17-May-2006
[889x2]
Creative sues Apple over patents - http://www.marketwatch.com/News/Story/Story.aspx?dist=newsfinder&siteid=google&guid=%7BCB4F9BED-E370-4CCA-92E6-AC8EB26451F4%7D&keyword=
what a crap - I stop buying Creative stuff. If some company can't 
innovate, they should shut-up and leave the scene. How can anyone 
with good brain condition patent such a thing as sorting based upon 
ID3 tag content?
Volker
17-May-2006
[891x3]
One can even sue about using a trashcan -icon for a trashcan IIRC..
do[

  task 'task-server [ set[file content] copy msg  write file content 
  ]
  task [ send 'task-server %file "Hello" ]
  task[ send 'task-server %file "World" ]
]
'task-server -> 'file-server
JaimeVargas
17-May-2006
[894x2]
Volker, you are proposing data flow through msg queues?
But the msg queue above still has non-determinism involved. Because 
you can not control how TASK handles scheduling.
Anton
18-May-2006
[896]
Why get so excited ? Did you read the last line in that article ?
Volker
18-May-2006
[897]
But what you wrote is similar too
either 1 = random 2[ write%file "Hello"][write %file "world"]

What a task does depends upon what a task gets. I imagine a task 
in erlang as a little engine, which gets things of various kinds, 
wires them together when it has one of each kind and passes them 
further. And that "further" can not be deterministic with real hardware. 
Think of an out-of-order-cpu, a little delay in a memory-fetch and 
the command is processed by another pipeline. And that is without 
routing around crashed things. I prefer to have a full featured language 
to calculate the new route, not something restricted.
Gabriele
18-May-2006
[898x2]
Jaime, I just don't think rebol should manage files. but, you can 
do coordination, just using message ports. and you can write a dialect 
over that.
the real issue is: people always use multithreading, even when there 
is no reason to.