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

World: r3wp

[!REBOL3-OLD1]

BrianH
14-Jun-2009
[15592]
Also, the IMPORT function is basically a fancy DO.
Maxim
14-Jun-2009
[15593x3]
oops noticed that I mismatched the bug number in the code examples 
of bug#928... I'll edit them.
just like slim's LOAD is a fancy DO   ;-)
that would be slim's 'OPEN... starting to be late... hehe
BrianH
14-Jun-2009
[15596x2]
Of the module bugs you have posted, the one that is still pretty 
nasty is bug#923. Needs tracing :(
Good night, be back tomorrow if I can.
Maxim
14-Jun-2009
[15598x3]
ok... here is a twist on bug 928... :-)

if I add 

myfunc: none 


at the top of the module in the supplied example I get this error 
instead:

Evaluating: /D/dev/project/liquid-r3/debug/mymodule-bug924.r
** Script error: print word is not bound to a context
** Where: catch if either either do begin do
** Near: catch/quit code

>>
this one I can't see how it can be proper, even if you can explain 
it.
note... 'PRINT is not bound to any context  !!! wtf?
BrianH
14-Jun-2009
[15601]
In which of the 3 files do you put the myfunc: none ?
Maxim
14-Jun-2009
[15602x2]
rebol [
	type: 'module
	name: 'mymodule-bug928
]

print "TADAM ... mymodule-bug928"
myfunc: none
do %myscript.r
myfunc 928
print is global it should accessible from any DO.
BrianH
14-Jun-2009
[15604]
Again, I'll be back tomorrow if I can.
Maxim
14-Jun-2009
[15605x3]
sure... better build a convicing argument cause the above is not 
acceptible  ;-)
heheh  good night.
I'm going back to comfortable R2 development now...
BrianH
14-Jun-2009
[15608]
It's a different bug than the one reported in bug#928. Good night.
Maxim
14-Jun-2009
[15609]
ciao
Janko
15-Jun-2009
[15610x2]
Apples idea how to do real concurrency (on multicore) .. http://images.apple.com/macosx/technology/docs/GrandCentral_TB_brief_20090608.pdf
-- it seems to be based on something like closures (or blocks from 
smalltalk)  -- it seems simple and clean idea
I posted it here as a food for thought on one of REBOL3 next developments.. 
making it concurrent
Ladislav
15-Jun-2009
[15612x2]
Janko: did you post it to the R3 chat too?  - may be better for Carl 
than this place
(I reposted it)
Janko
15-Jun-2009
[15614]
thanks .. I am not on R3 chat. I don't use R3 and R2 has enough secrets 
to discover for me still
Pekr
15-Jun-2009
[15615]
So called Erlang style concurrency - brief info - http://ulf.wiger.net/weblog/2008/02/06/what-is-erlang-style-concurrency/
TomBon
15-Jun-2009
[15616]
as said before, rebol with erlang like concurrency is a 
dooropener for many professional projects. btw mnesia,
the distributed hybrid database is very nice too.
Will
15-Jun-2009
[15617]
Here is a great example code using GrandCentral: "DispatchWebServer"

from the description: "A web server that uses one queue per HTTP 
connection. Supports HTTP pipelining and on-the-fly compression. 
Also shows use of dispatch-style signal and vnode event handling."

https://developer.apple.com/snowleopard/library/samplecode/DispatchWebServer/index.html
(ADC account needed)
Whoever is doing R3 on OS X, should have a look 8-)
Sunanda
15-Jun-2009
[15618]
Any good reason why
    true?
is defined, but not
    false?
BrianH
15-Jun-2009
[15619]
Because we already had that function: NOT. It is left to the user 
to declare false?: :not if they wish. That was the rationale at least.
Pekr
15-Jun-2009
[15620]
why such an ommision? if we have true?, then we surely have to have 
false? ... it almost feels like a design bug to not have one ..
BrianH
15-Jun-2009
[15621]
It might be added later, like empty?: :tail?, but so far we have 
been focusing on missing functionality. Things like that will likely 
be added later on when we are finishing up.
Pekr
17-Jun-2009
[15622]
So, now I am happy owner of HTC Touch Pro 2 ... now I need my first 
R3 build for it :-) http://www.htc.com/www/product/touchpro2/overview.html
Janko
17-Jun-2009
[15623]
Will .. that would be really interesting to look at as GC looks very 
interesting and minimal in concepts.. to bad I am not in ADC :(
amacleod
17-Jun-2009
[15624x2]
Pekr, I have had the HTC touch for a year and a half...been a little 
disappointed. I hope the newer versions are a bit better but I'm 
not sure if its the hardware or windows mobile that most disappoints...
HAve you seen teh new palm pre? It looks interesting!
If r3 was up and running on htc touch I think I would overlook alot 
of my issues with it...
Pekr
17-Jun-2009
[15626x3]
no, not yet, and I have no plan to support proprietary "OS" as PalmPre 
is. It allows some kind of web like development. OTOH I haven't studies 
it properly yet. I am quite disappointed by Android - it is a let-down 
for me, at least for what I saw on HTC devices - just hyped because 
of Google, nothing special ...
What were your issues? It is clearly not as smooth as iPhone is in 
operation. This is mostly because of capacitative vs resistive touch 
screen. I needed few days to make ma touch navigation more solid. 
Overall it feels more sluggish. But TouchFlo3D version 2 is quite 
snappier and I would not probably buy any Windows Mobile without 
that add-on.
... and yes, it might be the problem of Windows, because how is that 
iPhone has relatively slower HW, yet feels speedier?
BrianH
17-Jun-2009
[15629]
A lot of that is UI design.
Henrik
17-Jun-2009
[15630]
speaking of which... iPhone OS 3.0 was just released.
Pekr
17-Jun-2009
[15631]
'round being now a native. This should be welcome by those doing 
looped math operation.
Ladislav
17-Jun-2009
[15632]
10 times faster, more accurate, less exceptions
BrianH
17-Jun-2009
[15633x2]
Yay! I haven't been able to review the ROUND and RANDOM tickets since 
the functions were being rewritten - this should help.
After reviewing the current state of the R3 module system, here is 
the state of what is implemented so far:
- Dependencies
- Encapsulation
- Explicit exports to the system exports
- Implicit import of the system exports

And here is what is not implemented so far:

- Explicit imports, even just limiting imported words to those in 
the dependencies

- Distinguishing exports for explicit import from the system exports
- Access controls for the system exports


It will not be possible to implement what is not currently implemented 
until the mezzanines and natives are put into modules. However, what 
is implemented so far is enough to start the process of putting the 
system code into modules. Further work on the module system (except 
bug fixes) and any preprocessor will have to wait until the system 
code modularization is done.
Robert
18-Jun-2009
[15635]
Regarding MATH stuff.I alway need functions to convert from scientific 
to human readable form including thousand seperators, using "," instead 
of "." etc. How about adding this to the CORE? IMO a very high frequent 
function.
Henrik
18-Jun-2009
[15636]
Gabriele's FORM-DECIMAL function has always worked solidly for me. 
It could be considered as a mezz.
Robert
18-Jun-2009
[15637]
Yes, but making it native might be a good idea. I call this function 
a lot and with a lot of numbers while filling input-forms.
Henrik
18-Jun-2009
[15638]
as long as it's not too complex. form-decimal is a rather complex 
mezzanine.
Pekr
18-Jun-2009
[15639]
can't download new alpha, tried xy times and still receiving timeouts 
....
Oldes
18-Jun-2009
[15640x2]
It's possible to download it from web using browser (but it's slow).. 
or try to enhance this value: system/schemes/http/spec/timeout
Downloads are here http://www.rebol.com/r3/downloads.html