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

World: r4wp

[#Red] Red language group

DocKimbel
14-Oct-2012
[2728]
I'm now running my RPi headless and using it remotely through VNC 
and ssh. Maybe the error is related to that?
Kaj
14-Oct-2012
[2729x2]
Could be, although it's also possible that the RANDR extension is 
really not there, because it seems to fix its screen resolution, 
needing its own utility to change it
Doesn't seem like it should influence GTK, though
DocKimbel
14-Oct-2012
[2731x3]
Hmm, there are some bug tickets about that (old ones): https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/157319
It seems turning off the multiple screens feature might fix it. I'll 
try tomorrow on the RPi localy (not through VNC).
Hello-GTK-world is still segfaulting on my Debian-armel image on 
QEMU. I will investigate that tomorrow.
Kaj
14-Oct-2012
[2734x2]
Yep, seemed to be a separate issue, like 0MQ
Actually, 0MQ works now. But I'm still getting the access violation 
on GTK, not an XLib error
DocKimbel
15-Oct-2012
[2736]
Kaj: for debugging the GTK issue, we need a minimalistic app. Could 
you re-implement the hello-GTK-world using only direct GTK calls 
and not going through typed functions? We could at least see if it's 
related to GTK calls or not.
Pekr
15-Oct-2012
[2737]
New RPi, doubling the memory for the same price - http://www.engadget.com/2012/10/15/raspberry-pi-model-b-512mb-ram/
DocKimbel
15-Oct-2012
[2738]
Kaj: couldn't wait so I've implemented it myself. ;-) See ticket 
comments.
Pekr
15-Oct-2012
[2739]
so, are ARM fixes almost complete now, and is 0.3.0 going to be oficially 
out soon? :-)
DocKimbel
15-Oct-2012
[2740x4]
Pekr: I have set my RPi memory split to 192MB for apps, 64MB for 
video, not memory issues so far.
Pekr: still a lot of details to work on before that, as always before 
a major release.
I think it will take me one or two days for the 0.3.0 release todo-list 
to get done.
That also means, we'll probably postpone floats hardfp ABI support 
for a later release (probably 0.3.1).
Pekr
15-Oct-2012
[2744]
Some blog article about what 0.3.0 brings to the table, would be 
nice then, to show ppl what is implemented, what one can do already 
in Red (eventual list of supported dtypes, natives, actions?), and 
what comes next? That would keep ppl motivated ...
DocKimbel
15-Oct-2012
[2745]
Wrinting a new blog entry is part of the todo-list. ;-)
Pekr
15-Oct-2012
[2746]
Did not know, that todo-list contains also non-development related 
stuff :-)
Arnold
15-Oct-2012
[2747]
Did not know making the to-do list takes two to three days ;)
Pekr
15-Oct-2012
[2748]
:-) to do list to get done means, to implement all to-do items :-)
Kaj
15-Oct-2012
[2749]
There already was a minimal GTK program with direct GTK calls: goodbye-cruel-GTK-world
DocKimbel
15-Oct-2012
[2750x2]
That one is crashing.
The issue is probably in 'label related functions.
Kaj
15-Oct-2012
[2752]
Yes, so if you strip that down further, you should find the cause
DocKimbel
15-Oct-2012
[2753]
Removing `gtk-append-container` call makes it work.
Kaj
15-Oct-2012
[2754]
Elapsed time is reporting a weird number in Fibonacci and Mandelbrot. 
I suppose that's due to running ARMEL code on an ARMHF platform
DocKimbel
15-Oct-2012
[2755]
If floats arguments are involved, yes, most probably.
Kaj
15-Oct-2012
[2756]
Yes, in the computation of the time difference. As long as it stays 
within Red/System, float computation is fine, like in Mandelbrot
DocKimbel
15-Oct-2012
[2757]
Good news: all GTK demos now run fine on ARM...finally! :-)
Kaj
15-Oct-2012
[2758x2]
Very good news indeed :-)
I'll find you some more bugs in the bindings that run on top of GTK 
;-)
DocKimbel
15-Oct-2012
[2760x2]
So, we can now say that Red/System is more advanced than R3, as it 
can make sophisticated GUI apps on ARM devices. ;-P
New bugs: no hurry! ;-)
Kaj
15-Oct-2012
[2762]
I am in a hurry, I want to report them before release :-)
DocKimbel
15-Oct-2012
[2763]
I wish we could put Red in the "Programming" menu of the RPi...It 
probably will need to wait for the Red IDE to be ready...
Kaj
15-Oct-2012
[2764x3]
They base themselves on Squeak, the traditional Smalltalk educational 
track, with Scratch on top, and Python thrown in to appease the rest 
of the world
But yes, it's the domain I always wanted to target with REBOL
No worries, though, Red will have that position in the new Syllable 
releases
DocKimbel
15-Oct-2012
[2767]
Let's try to please Raspbian guys then with some cool Red features....but 
will need Red to be self-hosted first anyway, else we're limited 
to cross-compilation only.
Kaj
15-Oct-2012
[2768]
The Raspberry forum is full of complaints about the slowness of Scratch
DocKimbel
15-Oct-2012
[2769]
That's a domain we can perfectly address with Red dialect + Red/System 
low-level access abilities.
Kaj
15-Oct-2012
[2770]
Like the OLPC, they're now forced to double the memory of the hardware 
- for the second time
Pekr
15-Oct-2012
[2771x2]
Get Cyphre to do a modern View like engine, and we will be kings 
- just believe me :-)
Well, or don't, as I have 6 beers tonight :-)
Arnold
15-Oct-2012
[2773x3]
Is that still on your to-do list Pekr :D
I am in a hurry, I want to report them before release

 drive faster so you will be home before you are out of gas.  "But 
 yes, it's the domain I always wanted to target with REBOL" the domain 
 you want to target is the world isn't it?


I am studying the Red and Red/system sources these days to get more 
of a feeling what is going on.
It looks like there are only function and context definitions. WHere 
does the code start?
DocKimbel
15-Oct-2012
[2776]
Start

 might not be the appropriate term in this context, as the code is 
 modular. What you're probably after are the compilers wrappers:

- for Red: %Red/red.r
- for Red/System: %Red/red-system/rsc.r
Arnold
15-Oct-2012
[2777]
Not exactly, I read rsc.r as if system-dialect is not set then start 
with the compiler.r script. (after that or else the rest of the script 
follows) but then is has some do other scripts and a modular part 
and the other scripts are modular too. It look all very sound bu 
somewhere <there must be/I expect> a first action or function call.