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

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp5907
r3wp58701
total:64608

results window for this page: [start: 101 end: 200]

world-name: r4wp

Group: #Red ... Red language group [web-public]
Kaj:
25-Feb-2012
First test looks three times as fast. I'll shut down the machine 
to do a clean test
DocKimbel:
25-Feb-2012
It's a bit strange, because the inner FP code should be identical 
between C and Red/System now. But anyway, it's more than enough for 
now.
Kaj:
25-Feb-2012
It will have to travel back in time, because that will still take 
a while
Kaj:
25-Feb-2012
I just saw the first black GL window flashing open and close in a 
splitsecond, that's all
Andreas:
25-Feb-2012
i have a green gl window driven by red/s :) nothing more, yet, though 
:)
Kaj:
25-Feb-2012
I have a case where the library wants to use a function that should 
be defined in the program. This doesn't work, apparently because 
Red/System doesn't export the function. The library can't resolve 
the symbol
Kaj:
25-Feb-2012
No, but it's a GLUT like emulation on top of SDL
Kaj:
25-Feb-2012
{} can go wrong if there's a curly bracket in the code
PeterWood:
25-Feb-2012
Comment [] is the word comment followed by a block in REBOL. It works 
because the block doesn't get evalutated.
Kaj:
25-Feb-2012
In any case, a block works in Red/System, so it doesn't get compiled
PeterWood:
25-Feb-2012
I don't believe Comment is a function in Red/System as it is in REBOL. 
I think it is more like a compiler directive.
PeterWood:
25-Feb-2012
A block will work with the compiler but not the pre-processor because 
the complier is working with loaded REBOL values whereas the pre-processor 
is probably working with string data.
Kaj:
25-Feb-2012
A better way would be to increase the number of iterations
DocKimbel:
25-Feb-2012
To be more precise, there's a string stage and a block stage in the 
preprocessor. All the compiler directive are processed at the block 
stage. The string stage is just a front-end to handle R2-incompatible 
syntax, like the Red/System hex notation, and count source lines.
DocKimbel:
25-Feb-2012
__libc_start_main by itself is not doing much work, just a few calls 
and some global var init (like __environ). When I disassemble a C 
binary, these two calls are doing a lot of work.
Andreas:
25-Feb-2012
__do_global_ctors_aux is for traversing ELF "constructors" (stored 
in a .CTORS section) which are then rnu
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
GrahamC:
26-Feb-2012
the reverse ... you probably grew a few :)
Kaj:
26-Feb-2012
It's a loosing battle
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
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.)
Andreas:
27-Feb-2012
Behold, an OpenGL triangle rendered by a Red/System program:
http://earl.strain.at/share/reds-opengl-triangle-20120227.png
GrahamC:
27-Feb-2012
so what to add to be able to click on something and get a calback 
working?
GrahamC:
27-Feb-2012
a few 1000s of LOC :)
Pekr:
29-Feb-2012
Doc, do I understand it correctly, that lists/arrays are now supported 
via 'typed funcitonality, hence structs? How much would it complicate 
red/system to have a native block implementation? :-)
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
Yes. (And there's hardly a breakage you could incur.)
Andreas:
29-Feb-2012
Note that in C, multidimensional arrays are really just a convenience. 
So a `char[5][10]` is actually identical in memory to a `char[50]`.
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*`.
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).
Kaj:
29-Feb-2012
If you make an array of typed structs, you effectively have a block
GrahamC:
29-Feb-2012
someone's idea of a banner for red supporters
Steeve:
29-Feb-2012
C'mon Graham, I'm not a  graphic designer but people still have some 
common artistry. :-)
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". :-)
GrahamC:
29-Feb-2012
or ...Judy Garland's slippers ... make a wish :)
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
And if anyone finds red, it's a perfect fit ...
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
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
Also - I am not a designer, I used one nice tool - http://www.sothink.com/
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/
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.
Pekr:
2-Mar-2012
Peter: a Red roadmap, not Nenad's one :-)
Kaj:
2-Mar-2012
I think Peter made a joke :-)
Kaj:
5-Mar-2012
I'm a bit hesitant to tell, because I'm not sure about the viability 
yet
Kaj:
5-Mar-2012
Enlightenment has become fairly portable these days, so it would 
effectively be a View replacement
Pekr:
5-Mar-2012
that's a nonsense argument
Pekr:
5-Mar-2012
how big is actually enlightenment (the parts you need to use, to 
get a GUI and app done using it)?
Kaj:
5-Mar-2012
Certainly no more a nonsense argument than that Enlightenment would 
be unacceptable compared to AGG, Cairo and Skia
Kaj:
5-Mar-2012
Size depends on what modules you want to include, but I estimate 
it would usually amount to a few MB
Kaj:
7-Mar-2012
I ported a second demo to my OpenGL binding, using textures
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
Pekr:
7-Mar-2012
is that plain C, or C++? Btw - how does Cyphre wrap AGG, if AGG is 
said to be strict C++? Does he have to write any wrapper in C first? 
(He said he has AGG in a form of DLL for R2)
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
Imagine a rectangular line with some colored squares in them :-)
Andreas:
9-Mar-2012
(`xwd -out shot.xwd -root -display :0.0` should get you a screenshot. 
Or `import -window root shot.png`, if you have imagemagick.)
Kaj:
9-Mar-2012
I made a shot.xwd, but how do I read that format?
Kaj:
9-Mar-2012
Installed a newer LibTool. import works now. Thanks
Group: Ann-Reply ... Reply to Announce group [web-public]
Pekr:
10-Mar-2012
Robert - congratulation, and wish you a high sales :-)
Robert:
10-Mar-2012
Not sure, what price tag for such a tool is reasonable. Any suggestions?
Gregg:
10-Mar-2012
Having a sample model or two included would be great. For those of 
us who don't know where to start.
Gregg:
10-Mar-2012
This tool lets you visualize information by specifying how a value 
is mapped to a visually recognizable property like color, font, font-size, 
line width, etc.


You get a complete interactive editor to make such models. Immediate 
visual feedback is the major goal of our tool.


You can mix data from different sources to visualize multi-dimensional 
information. Here is an example of such a model:
Steeve:
10-Mar-2012
Needs a video IMO
GrahamC:
10-Mar-2012
Or a replay button ....
GrahamC:
10-Mar-2012
Is heat map a common term for this sort of tool?
Robert:
10-Mar-2012
wording: Thanks. It was a quick hack. Going to correct it.
GrahamC:
24-Mar-2012
Just a reminder to people since I couldn't find a link on your homepage
BrianH:
14-Apr-2012
Ah, but that is exactly what the API is for. Programs are notified 
through the API that the system is about to shut down, whatever, 
and then those programs can save their running state and reload automatically 
after the restart and pick up where they left off. It happens for 
power failures too, if you have a UPS or laptop battery.
Jerry:
6-May-2012
My English is not very good. Writing a book in English is very difficult 
for me. I might need to hire someone to help me translate it into 
English and make it an e-book. Good news is, my publisher is willing 
to let me put 1/3 of the books in slideshare or somewhere like that 
to share with others when the book is published. BTW. The book is 
about 330 pages.
Jerry:
6-May-2012
The Book is a R3 book, not R2 book.
Jerry:
6-May-2012
And I am not a REBOL guru like many people here, so I won't expect 
anyone here to learn anything from my book. It's a book for absolute 
beginners.
Endo:
6-May-2012
And a book about Red when it is completed would be great.
Jerry:
7-May-2012
My plan is to make R3 at least a little bit popular in China, so 
Carl and the investors can see the hope, and are willing to continue 
R3.
DocKimbel:
7-May-2012
Congratulation Jerry, I'll do my best to get a first Red alpha out 
this month, so you can add it to the book.
Arnold:
7-May-2012
Sorry DocKimbel that I did contribute yet, but I fear I do not understand 
GitHub, I try to find a button to accept changes that were committed 
since I forked Red but I only find the pull request that I suspect 
to be for changes I made to be pulled by others. That could be a 
bad idea ;-)
Arnold:
7-May-2012
I try to find a nice tutorial for Git(hub)
Arnold:
29-Jun-2012
Continuing from announce, maybe a world owner can cut&paste from 
there.

The loop is the check-oplossing (check-solution, opgelost=solved) 
When the first pair doesn't match it is not a solution. This is the 
working I meant. Better to say functionality.
Maxim:
29-Jun-2012
but the successful ones in bold white, they will stick out.  it makes 
them look lit as if a little bulb was lighting the number.
Maxim:
29-Jun-2012
assuming you are using faces for the text, in AGG its a bit more 
work.
Arnold:
1-Jul-2012
That crossed my mind too, using copy of something but I couldn't 
find it, probably because I don't have a suitable font object or 
two to copy yet :-)
Group: Web ... Anything related to the WWW [web-public]
Arnold:
18-Sep-2012
This is a new version to me. I was still busy figuring out most of 
the used parses.
Chris:
20-Sep-2012
The structure of MD since v2 is a separation of scanner and emitter. 
'scan-doc will break text into a block of [style content] pairs. 
'gen-doc will take that block and turn it into something, most commonly 
HTML.


The features of your doc - using your ==+, ==#, etc. are in the spec 
of the parser. Loosely explained, the parser's rule 'resets' when 
it encounters a newline.  It defines a few paragraph types that copies 
chunks of text (including 'paragraph that consumes text AND single 
newlines).  The rest of the rule determines the paragraph style and 
expected paragraph type:

  "===" text-line (emit sect1 text)

Could just as easily be:

  "==+" paragraph (emit my-bold-paragraph para)



The way a document is presented is all in the emitter. Seems this 
is where you seem to be yearning for most control. My first motivation 
using MakeDoc was stripping it of any styles - I just wanted a minimum 
of HTML markup that could be embedded and properly moulded by CSS. 
In my script above, I iterate through the [style content] list and 
use 'switch to determine how to handle each, this should be sufficient 
for documents without any complexity. It's really then just a case 
of modifying the HTML that is emitted.



Example of script used in RSP (exposes [escape-html scan-doc gen-doc]):


  <link rel="stylesheet" href="http://ross-gill.com/styles/anywhere.css">
  <% do http://reb4.me/r/xhtml%>

  <pre><code><%= mold doc: scan-doc some-input-text %></code></pre>
  <%= gen-doc doc %>

How it looks depends on the stylesheet you use.
Chris:
20-Sep-2012
I really should update that script though - a succinct version of 
make-doc though it is, it could use a bit of a refresh.
Chris:
27-Sep-2012
do http://reb4.me/r/oauth

test-site: http://192.168.0.60.xip.io:8080/

probe-lowercase: func [str [string!]][
    lowercase copy str
]

read [
    scheme: 'oauth
    target: 'get
    url: test-site
    user-data: context [a: "Foo"] ; params
    key: make key [
        consumer-key: consumer-secret: "Your Keys Here"
    ]
    user: make user [token: secret: "Your User Keys Here"]
    awake: :probe-lowercase ; result processor, like :load-json
]
Chris:
27-Sep-2012
I'm pretty sure this is a grevious abuse of R2's port system, but 
it does mean there is no new global words.
Endo:
28-Sep-2012
Wow thanks a lot Chris! Thanks for separating OAuth port scheme, 
unfortunately I'm not familiar with OAuth but I'll try it with Salesforce. 
Thanks a lot!
Endo:
28-Sep-2012
Is GET supported in read/custom ?
print read/custom http://localhost/test.rsp[get "a=b&c=d"]
Endo:
28-Sep-2012
I tried to change the method without changing the URL when switching 
POST and GET. Didn't work. Anyway, not a problem.
GrahamC:
28-Sep-2012
read http://localhost.rsp?a=b&c=d
GrahamC:
28-Sep-2012
read/custom http://localhost.rsp?a=b&c=d[ header [ Cookie: "authtoken=anotherfoo" 
]]
Chris:
4-Oct-2012
I am new to Git. I'd like to use it (or something similar) to keep 
a distributed copy of a web app I am developing. I'd like copies 
on two local systems (laptop and desktop) with the possibility of 
sharing with another developer based far away and deploying the app 
on my web host.


I sort of get the concept (at least the part about commits, etc), 
but am not really sure how to keep everything in sync. Is it worth 
using a hosting service like GitHub or Bitbucket (I know that perhaps 
defeats the purpose) to assure availability or figuring out how to 
use the web host for this purpose?
Andreas:
4-Oct-2012
To "keep everything in sync" with Git, you have have to do pairwise 
syncs. Each pairwise sync can be initiated from either side, the 
respective commands being "fetch" (from remote to local) and "push" 
(from local to remote).


If you want to keep many separate sites in sync, mediating the sync 
via a central host makes sense (as it avoids the exponential explosion 
of pairwise syncs).


If you have SSH access to your web host, using your web host for 
a central Git repository is trivial (assuming you have - or can get 
- Git installed on the web host).
Chris:
4-Oct-2012
In this one case, the host has instructions to set up Git on a subdomain. 
I'd have to consider it as it doesn't appear to be private.
Chris:
6-Oct-2012
I'm trying out BitBucket with Git for now, the control over who can 
update being for now the deciding factor.  I have the following setup 
in mind:

http://www.dropbox.com/s/hkptm400jksmoet/git-setup.jpg

(sorry, bit of a crude sketch)

It's entirely probable that I'm using it naively and/or inefficiently, 
but so far I have the ME and BITBUCKET parts working just as I would 
have hoped. I'm pretty sure there's a million intricate parts to 
learn, but feel this is a good start. Am I overlooking anything obvious?
Andreas:
7-Oct-2012
Looks like a sensible setup.


No, if you link from ME to HOST, that doesn't become available to 
COLLABORATOR.
Robert:
19-Nov-2012
Does anyone know how I can pre-process an Apache2 configuration and 
store it in a single file?
Evgeniy Philippov:
23-Dec-2012
To start some new discussions, 1) I like Squeak/Pharo Smalltalk's 
AIDA/Seaside systems. Hope to to practice them in realworld soon 
(creating a community site)... 2) I'm coding a new Oberon system 
 which will be able to do one of the following at once: a) interpret 
oberon b) translate oberon to x86 machine code c) translate oberon 
to javascript. This is a very long-term project, but I get excellent 
support from the oberoncore.ru community, and am actually making 
good progress. Current oberon project status is c++ sourcecode-based 
ssystem interprets oberon, interpreter has many temporary stubs.
101 / 646081[2] 345...643644645646647