« first day (175 days earlier)      last day (293 days later) » 

3:19 AM
@pekr No hurry. You probably will have to make a customized config block for it, combining ARM target with BSD support.
 
4:15 AM
@qtxie Good news on the jarsigner. I looked into it a little to see what it was about; I think that a good compact alternative implementation could attract interest outside of Rebol/Red.
I've often suggested that there should be more "apples to apples" comparisons, which is to say that if you can implement a drop-in replacement for jarsigner taking all the same command line options which is simple enough for people to adapt; but having a bridge of some kind so that people do not need to modify their shell scripts to use it is important. Frequently the Rebol variants of things require too much "universe reinvention" to start wedging in usages.
So maybe a good goal would be to actually start from calling it jarsigner and taking the same command line options, verbatim. There could be a disposable front-end which translates those options into "Rebol/Red-ese"; and then have Red ship without this disposable translation layer.
But the APK signing tool might find an independent life with interest all on its own, and one easy way to do that is to be tiny and light and easy to customize. The best way to show people that is to be a drop-in replacement for jarsigner. Even if not all options are implemented at first.
 
 
1 hour later…
5:19 AM
@DocKimbel - had to download Bitvise SSH client in order to being able to transfer files to BBB. Well, I compiled simply by -t Linux-ARM. But with stranger (for me) results - it prints Hello world, but no other language Unicode variants
and compiling and transfering demo.r does nothing, it somehow can't recognise the app, writing: -sh: demo: command not found
I remember (more than an year ago) trying on Beagle Bone MX, that I used ordinary ARM Linux target for R/S, and it worked. I don't understand your remark about the need to customize some config block and BSD support.
BBB (Beagle Bone Black, but even previous versions) is delivered with Angstrom embedded Linux variant ....
If I am supposed to get any other OS running there, it might be possible, but it means downloading and creating special image for that. I did it in the past, but the process is more complicated and I don't remember it anymore, but should be able to do it with inet resourse iirc
btw, I compile without the red.exe, just do/args %red.r "-t Linux-ARM %tests/demo.red", hopefully it is ok ...
 
I don't see the need for a jarsigner replacement outside of the Red toolchain context. People that need to sign their APK already have that feature in their IDE or in the JDK. Also, supporting all the original jarsigner options is a lot of additional work that we cannot afford currently.
@pekr It was for testing on Minix/ARM, but I guess you haven't installed it on your board, have you?
 
no, I just use what was originally delivered with those boards and it is Angstrom Linux variant ....
 
5:35 AM
@pekr Ok, no problem. Just wanted to check if Red could run on Minix out of the box, but it seems we have more work just to support the default OS on BB.
 
however - above strange results remain ...
should following still produce valid executable? Hope so :-) do/args %system/rsc.r "-t Linux-ARM %system/tests/hello.reds"
sorry, it has been quite some time till I compiled "by hand"
 
Though, as hard-floats are now supported for ARM, I would expect Red to run just fine on BB. As you're the only one have such board, it would be helpful to have more tests. Do you have strace tool installed? If so, just try with: $ strace ./demo and post the output somewhere (pastebin or similar is fine).
@pekr No, %rsc is not supported anymore. Just use %red.r instead.
 
but it spills out the executable :-)
So I can use red.r to produce R/S tests?
ok, will try
 
@pekr Oh, maybe we fixed it, don't remember. Anyway, it's deprecated, simply use %red.r.
@pekr Yes, %red.r can compile both Red and Red/System sources.
 
strace is not there. And Arngstrom guys are not providing support, they claim, that we've got it for free, so ... I will have to update the OS package anyway, it is almost one year old
 
5:41 AM
@pekr One thing you could also do to help us investigate it, is to provide us with an ssh access to it. Though, I don't have time right now to work on it, but maybe someone else could give it a try and gather more information.
 
I will try to arrange it, connect it to some machine to have power, and some ip/dst-nat to its port 22
btw - I just tried under windows: do/args %red.r "-t Windows %system/tests/hello.reds" - prints empty line. Is that correct?
 
6:18 AM
@pekr Works fine here.
 
OK, I will do some further tests in the evening, once back from business trip. Does output empty line with Console2, Win 8.1 setup and freshly resynced Object branch ...
 
@pekr I'm testing from object branch, Win7 64-bit, in DOS console. Try it with DOS console instead of Console2.
 
just tried, the same ...
but don't worry yet, I might have something messed up here. Beeing away from active Red for few months ...
 
7:17 AM
@HostileFork As Doc said, too much additional work to support a complete jarsigner replacement.
The current implement is only a few lines of code and tied closely with aapt.
 
8:11 AM
@qtxie Well, I haven't seen it to know how wide the scope is now or expected to be. But my point is maybe it might be fruitful to make a GitHub red/redjar repository as a subproject and allow it the opportunity to be advertised alone. Other languages like Red might want a similar tool for the same reasons. Red is not the only language that may want to be able to do this without the JDK around, and a tiny tool might attract the attention of others.
Although it may be argued that anyone who cared enough about not carrying the Java bloat would probably implement it in their own framework, there may be a byte count where leveraging a Rebol/Red solution would win out vs. that effort.
 
8:25 AM
@HostileFork Our APK toolchain is specific to Red needs. For example, we have our own precompiled bridge in Dex format for Red runtime. Other projects could find some good inspiration in our approach, but spending time to help "other projects" to catch up with us is kind of very counter-productive.
 
9:00 AM
@DocKimbel Any publicity is good publicity. I'm not suggesting spending large amounts of time on adapting for others, but if laying it out simply and showing it package another compatible language worked then the word of mouth of "this came from Red" is advertising. I do not see how the exposure would be less valuable than holding one's "secret weapons" close to one's chest.
But, not knowing the full details, I am not sure precisely what the input and output is or how easy such an adaptation would be.
 

« first day (175 days earlier)      last day (293 days later) »