• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[Ann-Reply] Reply to Announce group

Bo
4-Jan-2013
[1071x4]
>> do http://development.saphirion.com/experimental/oneliner-prime-numbers.r

** Access error: cannot open: tcp://development.saphirion.com:80 
reason: -12
** Where: open open unless sync-op either read
** Near: open conn port
But it is super exciting, anyway!
I got a slightly different message when I tried it with 3G instead 
of WiFi, for some reason:


>> do http://development.saphirion.com/experimental/oneliner-prime-numbers.r

** Access error: cannot open: tcp://development.saphirion.com:80 
reason: -12

** Where: open open unless sync-op either read either read-decode 
case load -apply-do
** Near: open conn port
(Just more detail in the "where" field on the second error)
Robert
5-Jan-2013
[1075]
Bo, you have to download the script and than run it. Network support 
is not yet running. That's next.
Cyphre
5-Jan-2013
[1076x6]
yes, networking is not done yet.

You just download a *.r script (or copy on your sdcard in the phone). 
Then you can just clik on the script file and file association requester 
should popup so you can run *.r scripts just by clicking on them 
instead of execution from console.
regarding version: this .apk should be compatible and run on Adroid 
v2.2.x (FROYO) and up
(I've tested it on Android 2.3 (GINGERBREAD) phone and it works well.)
BTW It would be interesting to see how R3 performs on multiple devices. 
The easier way is just open the R3 console and execute: SPEED?
(with /NO-IO refinement)
So here is my result:

Samsung Galaxy Mini
CPU: Qualcomm MSM7227 600 MHz ARMv6

>>speed?/no-io
== [302 193 6 0]
Robert
5-Jan-2013
[1082]
galaxy S3: 961 495 20 0
NickA
5-Jan-2013
[1083x6]
Speed function crashed on my Huawei M865C:

Access error: cannot open %tmp-junk.txt   reason: -3
Where:  write unless do foreach speed? 

Near:  write file: %tmp-junk.txt  "" tmp: make string! 32000 * 5 
ins...
I'm gettting the same reason: -3 error for any simple file write.
Maybe permissions aren't set properly by the apk?
Oops - didn't see that it should be run with /no-io.  My results:

[368 218 5 0]
That device has a slow 600 MHz processor
So, along with files and network support, at least support for 'ask 
for interactive input, would make this fully useful.
Luis
5-Jan-2013
[1089]
[475 177 9 0] [332 182 9 0] [461 187 9 0] diferents runs on Motorola 
Milestone 1 CPU 600Mhz. FROYO 2.2.1
Pekr
5-Jan-2013
[1090]
HTC Sensation: [739 475 15 0]
Robert
5-Jan-2013
[1091]
As said, files and GUI will be next.
Bo
5-Jan-2013
[1092]
Motorola Electrify 2 - 1.2GHz dual-core - Android 4.0 Ice Cream Sandwich

[1161 524 16 0] [1160 528 16 0] [1158 525 16 0] (three runs)
Cyphre
6-Jan-2013
[1093x2]
cool, the results seems to be consistent
It seems the file write access is not possible at the moment. I need 
to investigate the reason why.
Davide
6-Jan-2013
[1095]
htc desire Z [747 510 16 0]
Andreas
6-Jan-2013
[1096]
Nexus 7: [1255 540 26 0]
Robert
6-Jan-2013
[1097]
Poser
Andreas
6-Jan-2013
[1098]
Well, it's not a phone :)
GrahamC
6-Jan-2013
[1099]
Daughter has a HP touchpad running Android.  Should work?
Bo
6-Jan-2013
[1100]
I imagine anything running Android should work.  I don't know if 
the architecture of the processor matters, but I think it must not 
because I don't see different compilations of Angry Birds for different 
Android processor architectures.
Kaj
6-Jan-2013
[1101]
Only if it's compiled for the lowest end processor
Gerard
6-Jan-2013
[1102]
Robert and Cyphre : As already stated under the Android group I have 
succeessfully tested the new console based R3 for Android under my 
Samsung Galaxy Tab 10.1 tablet - running Android 3.2. works well 
- thanks again a lot for this achievement - I wil shortly follow 
with some donation - simply waiting for my next salary deposit ...
Robert
7-Jan-2013
[1103]
Thx.
Cyphre
7-Jan-2013
[1104x2]
Thanks Gerard, glad it works for you!
Graham, it should work on anything that has at least Android 2.2 
and an arm cpu. Moreover the APK contains additional build  of the 
R3 interpreter for arm cpus that have hardware floating point operations. 
I haven't made any benchamrks so I don't know if this is really performance 
advantage (in case of Rebol code) for Devices with such better and 
newer hardware.
Bo
7-Jan-2013
[1106]
I'm proud to say I have the second fastest Android phone tested so 
far. ;-)  I am SO excited for the future, especially for the Android 
network and file access and the graphics port.  Cyphre, how do we 
make donations again?
NickA
7-Jan-2013
[1107x2]
Bo, I upped my matching donation and additional $500 today.  Cyphre's 
doing fantastic work on Android.  Please help them stay funded, and 
I'll match donations.
and additional -> an additional
Robert
8-Jan-2013
[1109x2]
Bo, you can make a donation to us via http://development.saphirion.com
I really apreciate all your support.
Endo
8-Jan-2013
[1111]
I just donated $100 now.
Robert
8-Jan-2013
[1112x2]
Endo, thanks a lot for this! :-)
So we currently have another 20 days we can spend on the Android 
port.
Endo
8-Jan-2013
[1114]
Great!
DocKimbel
8-Jan-2013
[1115]
Nice work Kaj. I'm working on Unicode support for the tokenizer, 
so the console should get at least Unicode support for the DevCon. 
I plan to write a real cross-platform console engine as nobody has 
stepped out to build one so far, I guess it should be ready for the 
DevCon.
Kaj
8-Jan-2013
[1116]
Great
Bo
8-Jan-2013
[1117]
Robert, when you say that I can make a donation to Saphirion, does 
that help Cyphre with his Android port?  Or is that a different fund? 
 It sounds like it is the same fund because Endo's $100 donation 
added some days to the Android port, but I just wanted to be clear.

There is a different fund for Red as well, correct?
Pekr
8-Jan-2013
[1118]
Red is a different fund, it goes to Dockimbel ....
Bo
8-Jan-2013
[1119]
Where is the Red fund link located?  I created a new checklist called 
"Donation Links" so we can direct people there when they want to 
know where to donate.
Henrik
8-Jan-2013
[1120]
http://www.red-lang.org/p/donations.html