AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 8603 |
r3wp | 82214 |
total: | 90817 |
results window for this page: [start: 201 end: 300]
world-name: r4wp
Group: #Red ... Red language group [web-public] | ||
Andreas: 25-Feb-2012 | call_gmon_start is support for the gnu profiler | |
Andreas: 25-Feb-2012 | (again, all of the above are functions linked into the program binary by gcc) | |
DocKimbel: 25-Feb-2012 | I need to add support for Syllable, I have the right doc from Kaj for that, so no problem. For Darwin, I would need the right stack layout description on starting a new process, I haven't found yet a recent and official description for that, just a lost page in google's cache from 2009: http://webcache.googleusercontent.com/search?q=cache:4zQ0NwtOKdsJ:blogs.embarcadero.com/eboling/2009/10/13/5620+MacOSX+stack+layout+on+start&cd=4&hl=fr&ct=clnk&gl=fr | |
Andreas: 25-Feb-2012 | from that doc, the osx stack layout looks identical to linux/elf | |
DocKimbel: 25-Feb-2012 | identical from the main() POV, but I'm not sure that's the right kernel stack layout before libc is initialized. | |
Andreas: 25-Feb-2012 | in that doc, it's not describing the stack for main() but the stack layout as setup for the entry point ("_start") | |
DocKimbel: 26-Feb-2012 | Okay, libc-init is now working fine for Linux and conforming to Gcc ABI. Once again, man has won over the machine, but I wonder how many neurons were killed both in my and Andreas brain during the battle...;-) | |
GrahamC: 26-Feb-2012 | the reverse ... you probably grew a few :) | |
Kaj: 26-Feb-2012 | The documentation seems to describe that when you write a floating point constant, it will be a float32! if it fits. However, it turns out that it is interpreted as float64! | |
Andreas: 26-Feb-2012 | Indeed, the spec is misleading here. All literals are float64!, float32! has no literal form. | |
Andreas: 26-Feb-2012 | So the only way to construct a float32! from a literal, is by casting (`as float32!`) from a float64! literal. | |
Andreas: 26-Feb-2012 | (So it's propapbly best to remove the "syntax" section in the float32! spec and add a note describing the above.) | |
Kaj: 26-Feb-2012 | In the tracker | |
Pekr: 27-Feb-2012 | Doc - so your sister tweets about the Red development? Cool :-) | |
MagnussonC: 27-Feb-2012 | Why not delete the Twitter message if it was an error? | |
GrahamC: 27-Feb-2012 | Can we view the code that does this? | |
Andreas: 27-Feb-2012 | (2/3 inline binding code and the rest is very plain OpenGL and, yuck, GLUT.) | |
PeterWood: 27-Feb-2012 | Looks good and the code looks some much easier on the eye than C to me. | |
Andreas: 28-Feb-2012 | Just updated the Gist, you can now rotate using the arrow keys: https://gist.github.com/d3b0e5c6fdbc4f19ff7a | |
Andreas: 28-Feb-2012 | Had to enable double buffering to stop the flickering. Another 4 lines. | |
TomBon: 28-Feb-2012 | harr..harr. andreas the human coding machine :)) | |
Pekr: 29-Feb-2012 | I know. OK, maybe I need an advice. I was looking into some C code educatory example, which contained something like: char multi[5][10]; decomposed to: multi[0] = {'0','1','2','3','4','5','6','7','8','9'} multi[1] = {'a','b','c','d','e','f','g','h','i','j'} multi[2] = {'A','B','C','D','E','F','G','H','I','J'} multi[3] = {'9','8','7','6','5','4','3','2','1','0'} multi[4] = {'J','I','H','G','F','E','D','C','B','A'} which gets stored in a memory block of a "0123456789abcdefghijABCDEFGHIJ9876543210JIHGFEDCBA" value. If I would be supposed (for any reason :-), to interface to such a construct, I would simply use a pointer in Red, and would be responsible to manually decompose/treat the value of arrays, not to break it for the C level code? | |
Andreas: 29-Feb-2012 | And, as you know, an array type and a pointer type are (for most things) interchangeable, a `char[50]` is the same as a `char*`, therefore a `char[5][10]` is also the same as a `char*`. | |
Pekr: 29-Feb-2012 | OK, thanks. So btw - how are REBOL blocks (most probably), implemented in the C level? As structs of "arrays", chars? | |
Andreas: 29-Feb-2012 | Endo: it's guaranteed to be a single, contiguous area of memory. So yes, that behaviour is the case for all compilers and all memory models and all hardware (if they claim compliance with the C standard). | |
Pekr: 29-Feb-2012 | When I will write app in Red, it will compile to Red/System in the first pass, and then to the native code from R/S? So that it means, that you write Red in R/S? Hmm, if Carl would release R3 sources, it would not help you much, as you plan to write Red in R/S, not C? | |
GrahamC: 29-Feb-2012 | from the mailing list http://www.arnoldvanhofwegen.com/pics/banners/redlang.png | |
Pekr: 29-Feb-2012 | I like e.g. part of this one -if you would turn the arrows 90 grades, it could imitate REBOL prompt sign >> RED - http://www.logofactory.cz/msys/uploads/logos/48.jpg | |
Gregg: 29-Feb-2012 | A simple vector style of Red Riding Hood's hood, maybe with one twinkling eye peeking out, and the tag line "Don't be afraid". :-) | |
Pekr: 29-Feb-2012 | We can't work like that imo :-) I went thru the process several times. We have to define qualities we want to reflect, etc. But RED, red is "just" a color. What can represent that? Something red, perhaps :-) | |
GrahamC: 29-Feb-2012 | symbolism is that your wishes will be granted if you try hard enough, and the impossible is possible. We don't need the wizard of oz to help us. | |
GrahamC: 29-Feb-2012 | in this case, the wizard is Carl :) | |
GrahamC: 1-Mar-2012 | can the ED be bolder? | |
GrahamC: 1-Mar-2012 | What about >>RED talk dialects the >> is a play on the target image used in REBOL where >> is both from a console,and also an arrow head? | |
Pekr: 1-Mar-2012 | I know - the bottom slogan could be replaced by link to webpage ... | |
Gregg: 1-Mar-2012 | Maybe the Red pill as Doc alludes to. Or let Doc tell us what he wants the logo to symbolize. | |
DocKimbel: 1-Mar-2012 | Interesting designs indeed, I will try to list my wishes after the Devcon this weekend. | |
DocKimbel: 1-Mar-2012 | I like the stylized "R" in the "redlang" logo. | |
Pekr: 1-Mar-2012 | Yes, Redlang is probably the best one, and yes, they are maybe too corporate. I am more for a serious stuff, than for a fun ... | |
Pekr: 1-Mar-2012 | Those were just tries. Any of the above logo is imo better than what Graham originally posted. But I am not satisified either. Here's my take, what needs to be considered for the logo to actually "work": - you should define a brief - namely a description of qualities/characteristics of Red. What is Red, what sets it apart, what does it mean to you, what should it mean to ppl, what differentiates it from others, etc. - type of logo - only letters? Letters plus pictogram? Shoul pictogram only decorate logo, or is part of the name? Pictograms are often related to the business, but I am not sure, if you are easily able to relate pictogram to "red", as it is a name of the color. Nor am I sure, if pictogram would express a programming language. What I would suggest, would be either - pictogram contains "R", which also works as a filetype icon. Or pictogram expresses some quality - e.g. >> (REBOL/Red prompt), [R] block as one of the main concepts (series) - color scheme - not much options with something named Red, right? :-) - usability - you should think about the color scheme, and logo in various forms - normal, inverse, black&white, icon, letterhead, business card, ppt presentation, etc. You can look for inspiration to how I aproached 2zone media logo with the agency - http://www.xidys.com/pekr/2zone_media_logotypes/ | |
Pekr: 2-Mar-2012 | So I can see, we have merget fast-float and the other branch, nice :-) | |
Pekr: 2-Mar-2012 | Doc - how goes your presentation for the Devcon? Interested in the Roadmap slide, which surely will be there :-) | |
DocKimbel: 2-Mar-2012 | I will present the same slides as last time, with just a few updates and enhancements. | |
PeterWood: 2-Mar-2012 | I thnk Nenad is flying to the Devcon so he wont need a roadmap. | |
Kaj: 5-Mar-2012 | Nenad is still here after the conference. We debugged SDL audio on Syllable. It works now, without libc-init workaround, and it wasn't the fault of the new libc-init code in Red | |
Kaj: 5-Mar-2012 | Yes, all the bindings that can work on Syllable do now without modifications. Except Syllable needs to have SDL video initialised even if you don't use it | |
Kaj: 5-Mar-2012 | The plan is slightly different :-) | |
Pekr: 5-Mar-2012 | and the plan is? :-) | |
Kaj: 5-Mar-2012 | I'm a bit hesitant to tell, because I'm not sure about the viability yet | |
Kaj: 5-Mar-2012 | You may have noticed an item "New Project Announcement" on the conference schedule | |
Pekr: 5-Mar-2012 | AGG/Cairo/Skia is the only solution acceptable for me, unless proven otherwise. | |
Pekr: 5-Mar-2012 | how big is actually enlightenment (the parts you need to use, to get a GUI and app done using it)? | |
Pekr: 7-Mar-2012 | as for the Enlightenment - is it mostly about windowing, compositing, or does it include even some widgets, so that you can make some apps using it? | |
Oldes: 7-Mar-2012 | Where one can download the OpenGL binding? Don't you want to put the bindings into the Red's github? | |
Steeve: 7-Mar-2012 | well played Gregg, I don't have the problem anymore | |
Kaj: 7-Mar-2012 | Enlightenment is very modular. The top two libraries are a widget set and a desktop environment and window manager, that you can choose to include or not | |
Kaj: 7-Mar-2012 | The widget set is my primary target, but I haven't got it to work yet | |
Kaj: 7-Mar-2012 | One could also just use the drawing library, which then seems to be about double the size of Cairo for example, but is much more intelligent | |
Kaj: 7-Mar-2012 | Yep. :-) The REBOL AGG engine is implemented in C++. You basically have to write the draw dialect interpreter in C++ to be able to use AGG or any of the other C++ engines | |
Pekr: 7-Mar-2012 | btw - I wonder if there would be some niche for the BlackBerry. They will switch to QNX, which is nice C. That would be like Amiga going back to QNX :-) | |
Henrik: 7-Mar-2012 | I don't think I've used Enlightenment in a decade. It was superfast at the time, but the UI was not so good. I'm not sure the UI itself is important for Enlightenment, but more the underpinnings? | |
Kaj: 7-Mar-2012 | I agree. The appearance is too geeky, but by the graphics geek kind. I want to build a more user friendly interface on it | |
Kaj: 9-Mar-2012 | I got the first Enlightenment example to run; so far just one of the included C examples from the Evas canvas library, on X11 on Syllable Server | |
Kaj: 9-Mar-2012 | Yes, as I said, I have it running on X. As far as I can see: it could also be using the SDL backend, which I'm trying to get to work | |
Kaj: 9-Mar-2012 | I have ImageMagick installed from the GoboLinux layer | |
Kaj: 9-Mar-2012 | The title text as shown? | |
Kaj: 9-Mar-2012 | I don't think the Evas examples are very special, but I'll make a shot | |
Kaj: 9-Mar-2012 | Yes, Server is non-graphical. At least, it only has DirectFB and SDL built in, and no desktop. Workstation is Server plus X11 from a GoboLinux layer and the ROX desktop from ZeroInstall | |
Kaj: 10-Mar-2012 | I finally succeeded in compiling the Enlightenment widget set and desktop | |
GrahamC: 10-Mar-2012 | Sounds like a major milestone. Bring the next conference forward to show it off! | |
Kaj: 10-Mar-2012 | :-) It's only the first steps yet, that are guaranteed to work because it's on Linux. The major question is whether I can port it to Syllable Desktop | |
Kaj: 10-Mar-2012 | Here's the widget set: | |
NickA: 11-Mar-2012 | Can you give us a tiny taste of the RED code? | |
GrahamC: 11-Mar-2012 | Kaj is reporting a success of compiling this software. He hasn't done the binding to Red/system yet? | |
DocKimbel: 12-Mar-2012 | I am releasing v0.2.5, if you have some unreported bugs to fix, it's the right time to add them to the bugtracker. Kaj, let me know if there are any regression for the bindings. | |
Pekr: 12-Mar-2012 | Will you blog? What are latest changes? The bugfixes mainly? | |
DocKimbel: 12-Mar-2012 | Kaj: is the latest revision working fine with all bindings? (at least, w/o regressions) | |
Kaj: 12-Mar-2012 | Had to fix the comment syntax for the Goodbye Cruel GTK+ World | |
Kaj: 12-Mar-2012 | I've changed the developing branch of the C library binding to be the main branch again (technically, it isn't a merge): | |
Steeve: 12-Mar-2012 | Anti-intuitive ? It makes the generated code simpler to write since the parameters are pushed in reversal order so that the called function can unstack them in order. C compilers do the same IIRC. But I agree it's not rebol compliant. | |
Steeve: 12-Mar-2012 | I'm not sure if C forces any order for parameters evaluation. But i'm sure it makes the compiler's task easier to evaluate in reversal. | |
DocKimbel: 13-Mar-2012 | Could it be that when a function is applied to multiple argument expressions, f exp1 exp2, they are computed in reverse order? I agree that it is not intuitive, but doing otherwise would make it more complicated to support external libs. It could be possible to preallocate the stack and fill it in reverse order, so that arguments are executed in right order for the user, but that wouldn't work for variadic functions (can't preallocate the stack before compiling all the arguments). It would be nice to add a ticket in the tracker to keep this issue in mind. | |
DocKimbel: 13-Mar-2012 | As we do the compilation and code generation in one pass in current Red/System, we can't look ahead to determine the boundaries of each expression in a variadic block of arguments in advance, to be able to extract their datatype. | |
Kaj: 13-Mar-2012 | OK. It got me in trouble, though, because I used this statement in the Fibonacci computation: | |
Kaj: 13-Mar-2012 | In the C version I already noticed that I had to put the computation in front of the reporting, but I hadn't expected this, and certainly not in a language that looks like REBOL | |
Kaj: 13-Mar-2012 | Actually, the single pass nature of Red/System strengthened my assumption that the computation would be in natural order | |
DocKimbel: 13-Mar-2012 | We have a "chunked" compilation mode that could be used to re-order the code once generated, but I'm not sure it could work in such case. The best thing to do for now is to document it in the tracker. | |
Pekr: 14-Mar-2012 | that's what Doc replied on his blog: @Thomas: for the very first Red alpha, only memory management, basic datatypes and a few natives/actions. Ports and I/O will probably be added in following alpha versions, as PARSE. If we don't hit any walls, we should have it a few weeks, probably a month. | |
Kaj: 14-Mar-2012 | The first Red will probably have all the capabilities of Red/System, so I think it will be able to do quite a lot | |
PeterWood: 27-Mar-2012 | The current partilal support for float does not support casting between float and integer datatypes | |
DocKimbel: 27-Mar-2012 | Support for converting between integer! and float!/float32! has not been implemented yet. The only way to achieve it right now is to rely on an external lib (libc?) or implement your own conversion routine in Red/System. | |
Kaj: 27-Mar-2012 | Yes, the C library binding can do that | |
DocKimbel: 27-Mar-2012 | FYI, I am making good progress on the Red runtime, but I had to start implementing the Red compiler earlier than planned, to be able to define more accurately the right runtime API that the compiler needs. So at the time that the runtime will be ready, I should have a first Red compiler partial implementation working. | |
Kaj: 27-Mar-2012 | To convert to an integer value, you have to go through strings. You can use the format function in C-library.reds for that, but I see I haven't defined a shorter float wrapper yet | |
Pekr: 27-Mar-2012 | Doc - we are watching your progress via the Twitter messages, and looking into Github :-) | |
Kaj: 27-Mar-2012 | I've added some floating point convenience wrappers matching the other data types | |
Kaj: 27-Mar-2012 | Note that the string returned by form-float should be freed | |
Kaj: 27-Mar-2012 | The other way around is already used in my Fibonacci and Mandelbrot time processing: | |
Kaj: 27-Mar-2012 | Once the Red runtime is more fleshed out I'll see what is still useful to add in Red/System | |
Kaj: 27-Mar-2012 | I wrote a binding with the Evince document viewer for the Document Freedom Day tomorrow: |
201 / 90817 | 1 | 2 | [3] | 4 | 5 | ... | 905 | 906 | 907 | 908 | 909 |