• 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
r4wp330
r3wp2720
total:3050

results window for this page: [start: 1 end: 100]

world-name: r4wp

Group: #Red ... Red language group [web-public]
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:
5-Mar-2012
I'm a bit hesitant to tell, because I'm not sure about the viability 
yet
Andreas:
9-Mar-2012
A bit annoying, but it basically works. Especially if you have simple 
window titles :)
Pekr:
6-Apr-2012
Btw - I also noticed Doc mentioning during the conference, that he 
might make a Red a bit more dynamic than he first thought?
Pekr:
11-Apr-2012
Magnusso - Cyphre said, that he has new framework in mind, kind of 
View like, just a bit abstracted, so that it could use different 
backend systems (Cairo, AGG, Skia, Fog ....). But - not sure his 
target is Red. But maybe we convince him to port it for some fee 
:-)
DocKimbel:
12-Apr-2012
Pekr: I am finishing the generation of the intermediary representation 
for the output of Red compiler. I had to change it several times 
as it is uneasy to design properly without all the other pieces ready 
(another chicken and egg problem).


For example, to properly store literals (especially series literals), 
I need some kind of Redbin format, but designing it and implementing 
it now seems like a bit premature (as most types are not defined 
yet). So, I went for a dynamic construction model at run-time for 
now. I'll move literals to Redbin when it will be available.


For Redbin, I want it to be powerful enough to be able to serialize 
the whole state of a running Red program, but I don't know yet to 
what extent it is doable when running native code directly (needs 
some significant research work).


Also, I need to make a few changes to Red/System compiler to better 
integrate witht Red's one, I should finish those changes and release 
them this weekend.
Pekr:
9-May-2012
Doc, in an Ann-reply channel, you mentioned, that first alpha of 
Red might be out this month. Could you elaborate a bit, what extent 
will it cover?
Pekr:
22-May-2012
Sent another donation, to make life in a programmer's cave a bit 
easier :-)
Kaj:
4-Jun-2012
You'll have to research the CGI interface a bit and maybe make it 
like the REBOL one. It's quite simple: you need standard output, 
which is just printing, standard input, and reading environment variables
Henrik:
7-Jun-2012
I've tried donating a couple of times, but Paypal won't let me. I'm 
a bit weary of using bank transfers.
Gerard:
14-Jun-2012
Hi Doc, check for a new donation from me through PayPal.  I could 
afford 100 Euros this time. Hope it will help you a bit more.
Gerard:
14-Jun-2012
Recently tried to run the Hello World on my Android based Galaxy 
Samsung Tab 10 but after seeing the "executing ..." msg. Nothing 
appeared. I will try to look at what could be done but I suspect 
I also have to first learn a bit more about Android and my machine 
to help ... I'm very patient and began to read about the ARM. and 
Android itself. What an evolving world we live in ...
BrianH:
15-Jun-2012
You can make a port work a lot like a series, and you mostly did 
with the virtual block scheme. FOREACH and PARSE not working on ports 
can be a bit annoying, but they would only work on a subset of the 
port types that either work like series or (theoretically) like files 
(like open/direct file ports in R2).
Gerard:
15-Jun-2012
@Doc : No better success even if running from NativeEXE.apk version 
0.5 and Android version 3.2 - will continue to read before being 
able to investigate myself what could be done - Please don't loose 
your time on this case for now - You have much better  to do ... 
even if it's annoying a bit. I don't despair but I really can't be 
useful to you for now... my understanding of the inner working of 
this stuff exceeds my current capabilities !
DocKimbel:
29-Jun-2012
byte-ptr! is just a macro for [pointer! [byte!]] which is a bit more 
generic type than c-string!
Rebolek:
12-Jul-2012
Another question :) Is there any easy way to convert integer! to 
float! ? I wrote something for float! to integer!, but with integer! 
to float! I'm bit lost.
Ladislav:
12-Jul-2012
Another question :) Is there any easy way to convert integer! to 
float! ? I wrote something for float! to integer!, but with integer! 
to float! I'm bit lost.
 - see http://www.fm.tul.cz/~ladislav/rebol/library-utils.r
Kaj:
13-Jul-2012
Is that 64 bit Ubuntu?
PeterWood:
18-Jul-2012
If I remember correctly, the Windows clock function is a bit different 
from the LibC one.
DocKimbel:
24-Jul-2012
I chosed VID only because I knew I could do it faster than messing 
around with HTML/JS libs and intricacies. I was just a bit concerned 
about hitting some performance walls or native bugs I couldn't workaround. 
Fortunately, all went well.
Rebolek:
24-Jul-2012
Reaaly nice, Doc! btw see issue #222. This one is bit harder to trigger 
:)
Pekr:
25-Jul-2012
of course, better than JAVA. But generally it does not work in a 
browser - you still need a plugin for each platform. Don't forget 
mobile devices, etc. But - that is a bit offtopic here in a RED group
Rebolek:
27-Jul-2012
My tests are bit random, they test just what I need but I will add 
them, it's probably better than nothing.
Rebolek:
2-Aug-2012
Doc, have a look at http://box.lebeda.ws/~rebolek/sintezar.zip

Compile file %sintezar.reds and see function ADSR in %env.reds. Even 
when I pass TRUE, EITHER always executes FALSE block. I tried to 
simplify it, but I wasn't succesfull, so it's bit bigger project 
than just few lines, sorry :)
Rebolek:
14-Aug-2012
If some external library requires 64bit integer, but Red/System supports 
only 32 bit integers, how can I supply that number? Can I "cover" 
it with a struct?
DocKimbel:
14-Aug-2012
If you need to pass a 64-bit integer as argument, currently you would 
need to split it in two integers and pass them instead. A struct 
is passed by reference, not by value (yet).
Rebolek:
14-Aug-2012
Ok, no metadata, I was wrong. See http://www.mega-nerd.com/libsndfile/api.html#read
sf_count_t is 64 bit integer.
DocKimbel:
14-Aug-2012
If you need to make some 64-bit calculations as suggested by the 
description, it is more difficult to achieve, but not impossible. 
I think that Peter has coded some 64-bit addition and subtraction 
functions that operate on two 32-bit integers.
PeterWood:
14-Aug-2012
I found the issue with handling 64-bit integers in Red is the lack 
of support for unsigned integers. I only needed to  64-bit integers 
support on Windows so I used Lib calls in the end.
PeterWood:
14-Aug-2012
Actually, I wrote a small lib to perform the 64-bit arithmetic ... 
but I only needed subtract and divide.

it's at:

https://github.com/PeterWAWood/Red-System-Libs/tree/master/Int64
ACook:
16-Aug-2012
Spanish dialects are a bit more intense than English ones it seems. 
English dialets tend to be unintelligable, very few words mean something 
offensive to others.
PeterWood:
19-Aug-2012
I presume Kaj's issue is having to cd to the red-system dir before 
compiling (it is a bit of a pain).
PeterWood:
20-Aug-2012
I'll willingly help with the doc strings but am a bit short for time 
this week.
DocKimbel:
20-Aug-2012
Peter: the lib-test file is crashing here on my OS X 10.6.2 image 
with following error:

dyld: lazy symbol binding failed: Symbol not found: _strnlen

  Referenced from: /Users/dk/Desktop/Red/red-system/tests/runnable/lib-test
  Expected in: flat namespace


After researching a bit about it, it seems that strnlen() is (was?) 
not supported by OS X.
james_nak:
22-Aug-2012
Someone else wrote:

So the 'solution' I found to this was to set up filters for the various 
repository emails by filtering on email list. The list filtering 
is mentioned here on the github blog: https://github.com/blog/967-github-secrets
(scroll down the page a bit).


I would then just forward the emails from selected repositories to 
the "correct" email address.
Kaj:
22-Aug-2012
Agreed, I always felt unions were a bit shaky, too
BrianH:
22-Aug-2012
Fortunately the R3 host kit unions are tagged, so they can be used 
a bit more safely. Most higher-level languages that implement this 
kind of thing do something basically equivalent to the Variant type 
of VB, COM and .NET; even Objective C, Smalltalk, most Lisp/Scheme 
languages, and REBOLs have variant types. A variant is basically 
a tagged union type underneath. Having a cleaner way to do this in 
Red/System would be good., perhaps something like the polymorphic 
types in most functional languages. Red itself could have a dynamic 
value type like REBOL, which is basically another variant type. Red/System 
should have a way to specify different variant types because the 
variants of different platforms tend to not be compatible with each 
other.
DocKimbel:
22-Aug-2012
Brian: thanks for the input. 


Oldes: I think this has been discussed in same channel on Rebol3 
world long time ago. Basically, the problem is that it  breaks REBOL's 
syntactic rules (digits as first characters of a word are not allowed). 
Also, this kind of syntax looks cryptic, it's IMHO, and goes a bit 
in opposite direction of what REBOL wants to promote (readable syntax).


Maybe we can do some implicit casting when a float literal is passed 
as argument to a function expecting a float32!.
AdrianS:
23-Aug-2012
works for me too - Win 7 64 bit
Pekr:
23-Aug-2012
I have Vista 32 bit, I am an admin ..
DocKimbel:
26-Aug-2012
Gregg: thanks for taking the time to test it. I think it won't be 
needed for XP x64 as we know it works on XP 32-bit and W7 x64 already.
Pekr:
27-Aug-2012
I think that guys had some kind of GUI in mind, or maybe more specifically 
- some GUI targets, as e.g. html5, etc., being native on target devices. 
Myself, I would support and sponsor bit a View plus VID3 transition 
towards the Red, but not sure if someone would pick up. So - in the 
end, some "GUI" might appear ....
DocKimbel:
27-Aug-2012
There are short and long switches, -dlib is already a bit too long, 
so it might be reduced further in the future, the long version is: 
--dynamic-lib.
BrianH:
4-Sep-2012
There is a bit that is worth learning from R3's Unicode transition 
that would help Red.


First, make sure that strings are logically series of codepoints. 
Don't expose the internal structure of strings to code that uses 
them. Different underlying platforms do their Unicode APIs using 
different formats, so on different platforms you might need to implement 
strings differently. You don't want these differences affecting the 
Red code that uses these strings.


Don't have direct equivalence between binary! and string! - require 
conversion between them. No AS-STRING and AS-BINARY functions. Don't 
export the underlying binary data. If you do, the code that uses 
strings would come to depend on a particular underlying format, and 
would then break on platforms where the underlying format is different. 
Also, if you provide access to the underlying binary data to Red 
code, you have to assume that the format of that data can be corrupted 
at any moment, so you'll have to add a lot of verification code, 
and your compiler won't be able to get rid of it.


Work in codepoints, not characters. Unicode characters are complicated 
and can involve multiple codepoints, or not, but until you display 
it none of that matters.


R3 uses fixed-length encodings of strings internally in order to 
speed things up, but that can cause problems when running on underlying 
platforms that use variable-length encodings in their APIs, like 
Linux (UTF-8) and Windows/Java/.NET/OSX? (UTF-16). This makes sense 
for R3 because the underlying code is compiled, but the outer code 
is not, and there's no way to break that barrier. With Red the string 
API could be logical, with the optimizer making the distinction go 
away, so you might be able to get away with using variable-length 
encodings internally if that makes sense to you. Length and index 
would be slower, but there'd be less overhead when calling external 
API functions, so make the tradeoff that works best for you.
DocKimbel:
6-Sep-2012
Pekr: right, from now on, you can expect daily progress on Red layer. 
I will push the new code soon, I still need to complete it a bit 
and clean it up.


Jerry: the baby looks nice, we'll just have to keep it away from 
junk food and it will grow up well. ;-)
Rebolek:
10-Sep-2012
Doc, a bit late congratulations for your first Red program! (I was 
offline for a week)
DocKimbel:
17-Sep-2012
No, trivial, I would then just remove #system-include and add an 
option to #system to have the code loaded outside of 'red context...but 
semantically, it will be a bit inconsistent with barebone #system, 
as it means "inline the Red/System code here"...Maybe I should just 
rename #system-include to solve that.
DocKimbel:
17-Sep-2012
Added new actions: AT, SKIP, BACK, NEXT, LENGTH-OF.

You can now do a bit more than just PRINT 1. ;-) See:

	a: 123
	a: a + 2
	print a * 6 - a

	b: [4 7 9 [11] test /ref 'red]

	print pick b 2
	print pick pick b 4 1
	print pick next b 1
	print pick next next b 1
	print pick back next b 1

	print length-of b
	print length-of next next b
	print length-of pick b 4
	print pick at b 2 1
	print pick skip b 2 1

	print pick at next b -1 1
	print pick skip next b -1 1
Henrik:
22-Sep-2012
You can certainly carry this data in the arg1, arg2 and arg3 words, 
but it's a bit awkward.
GrahamC:
24-Sep-2012
Don't we need to wait a bit for more functionality from red before 
writing user docs?
kensingleton:
1-Oct-2012
I am running on Windows 8 64 bit by the way
kensingleton:
1-Oct-2012
Ah! Sorry Kaj - I missed that vital bit of info - I will go and find 
it  now
DocKimbel:
3-Oct-2012
Actually, I'm using the much more affordable Robotis Bioloid to play 
a bit with robotics, Red/System AVR8 experimental port (targeting 
Atmel328) was meant to let me, not only play with Arduino boards, 
but also drive Bioloids. ;-) Too bad I don't have time these days 
to go further on that port.
Group: Ann-Reply ... Reply to Announce group [web-public]
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.
Maxim:
29-Jun-2012
assuming you are using faces for the text, in AGG its a bit more 
work.
Pekr:
2-Jul-2012
View 2.7.8 on Vista 32 bit here ...
Endo:
2-Jul-2012
it is a bit difficult to see which one is solid, a different color 
might be better. It's a great game by the way.
Arnold:
2-Jul-2012
Remove the bad lines version 1.04 works for me here. Mailed and uploaded 
just in between some modifications to clean things up a bit. Sorry 
for the inconvenience!
Arnold:
13-Jul-2012
And a picture sometimes says more than a thousand words can. (Especially 
when your Chinese is a bit rusty like mine) :)))
Henrik:
28-Aug-2012
Jerry, looks like a smart move. My Chinese is a bit rusty to say 
the least.
DocKimbel:
20-Sep-2012
Android binary is twice the size of Linux one because ARMv5 architecture 
is bad at dealing with 32-bit literal values, so it takes much more 
space than for IA-32.
DocKimbel:
20-Sep-2012
BTW, wrt to ARM big size binaries, it's also caused by ARM using 
32-bit words for every instruction, while IA-32 has still a lot of 
8 or 16-bit ones. For example, there's a lot of PUSH 0 instructions 
emitted for the datatype registration block (the unimplemented action 
pointers), that's 16bit on IA-32 and 32-bit on ARM.
DocKimbel:
26-Sep-2012
Robert: Brian also added: "We wouldn't have any restrictions on usage 
then." Except static linking r3lib. Or being able to see the source 
and work on Red or Topaz"


Guys, you should think about it a bit deeper and not only to cover 
short-term needs. I'm not sure that betting on R3 + copyleft license 
(even LGPL) will be a winning bet when Red will catch up with R2/R3 
and then, leave them behind.


MIT/BSD is the only way for R3 and Red/Topaz to collaborate instead 
of being in direct competition.
Pekr:
26-Sep-2012
I am not skilled at licencing stuff, but isn't it a bit exagerrated, 
that just looking into sources or even studying them just to understand 
the architecture, might possess a legal problem, if you use different 
architecture in the final product, along with your own code implementation, 
which can't be regarded a direct 1:1 rewrite?
DocKimbel:
19-Oct-2012
All MSDOS/Red binaries run fine here (Windows 7 32-bit).
Henrik:
19-Oct-2012
DocKimbel, windows XP 32 bit
Ladislav:
29-Nov-2012
I can see an aproach of how to steal the thunder from ppl being eventually 
interested in Red
- then your sight is a little bit far-fetched
Pekr:
29-Nov-2012
Ladislav - in 2004, when R# was slowly taking off, Carl published 
a blog article or announcement, describing R2 plugin feature. The 
supposed release was "imminent". Prior to that, Carl even contacted 
Doc to eventually stop working on R#, or so I remember. Of course, 
the announcement was just to distract ppl from alternative, keeping 
them interested in REBOL. 


Later on, I several times rightly identified some blog-post, whose 
purpose was nothing more, than to buy some time for RT, where in 
fact promissed things were not delivered. 


So - of course it is just my speculation, but with the history of 
R3 development I find it really curious to try to hype users to believe, 
that port to ARM could happen in 5 minutes, when RT was not able 
to deliver it is 5-6 years of R3 existence? And if so, it sounds 
a bit unfair to me ...


Simply put - wish Red, R3, World, whatever clone a success. It is 
just that what I would like to see is - a realistic estimates on 
any side ....
BrianH:
29-Nov-2012
Good news: ARM compilers are better now too. They were a bit iffy 
back then.
DocKimbel:
10-Dec-2012
Great work Kaj! Can it be used to emulate 32-bit CPU?
Kaj:
10-Dec-2012
Doc, it's firmly an 8-bit CPU emulator, but it can certainly serve 
as a general example to implement other emulators in Red/System
Gregg:
19-Jan-2013
Have to think on that a bit, and find some spare time somewhere. 
:-)
NickA:
13-Feb-2013
I don't know the answer about what's best, just rustling the bushes 
a bit.
AdrianS:
28-Feb-2013
He's a young guy - I think it was a bit before their time, unfortunately. 
Hopefully they'll now take a good look.
Group: Rebol School ... REBOL School [web-public]
PeterWood:
16-Apr-2012
This is probably because there is no 512-bit AES algorithm -- see 
http://en.wikipedia.org/wiki/AES%5F%28cipher%29
Gregg:
27-Apr-2012
I believe the reason I still have DIFFRENCE in there, as far as it 
will work, is for greater accuracy. I don't remember why I have the 
zone negation bit in there, but I probably hit some issue that required 
it.
JohnM:
19-May-2012
Thanks guys. Endo: Special thanks for  going so far as type out an 
example that includes checking out that everything is OK.


 I realize that one cannot trust outside sources of info and that 
 one has to always be prepared to outsmart dumb users, but the needs 
 of this project are straightdforward and I am in unfamilar territory 
 so if it can make things easier I can go on a bit of faith for now. 
 That being said, better code that covers mistakes is better code 
 and I am appreciative of it.


 Sunanda: That is what I thought, but I had to be sure. Thanks for 
 helping with the details.


 Graham: Is that general advice or a comment on code examples I posted? 
 I thought I had done what you just said.
Pekr:
20-Jun-2012
Yes, ANSI. I solved it by re-saving the same source file as UTF-8 
istead of ANSI. Still a bad complication, as by default, Windows 
sets Notepad to ANSI, so it is a bit inconvenient ...
Henrik:
29-Jun-2012
you can make it a bit smoother than that by wrapping the whole thing 
in a panel and assigning a new face tree to that panel every time. 
Then you won't need to close and reopen the window.
Henrik:
30-Jun-2012
You can study different styles using GET-STYLE.

For example:

probe get-style 'field


It's a bit misleading, though, as many styles share the same code. 
To really see how styles are built, you need to read the sourcecode 
for VID.
Arnold:
30-Jun-2012
When I name the labels lr1 thru lr8 and use the trick I found on 
www.pat665.free.fr/gtk/rebol-view.html which is w: to-word rejoin 
["lr" n] (for n is 1, 2, 3 or    8 you get the picture.) and f: get 
:w 

f/font/color: white and directly show the label: show f I can set 
them seperately. But it is a bit ugly to do it like this if I may 
say so.
Sujoy:
3-Jul-2012
am fumbling with the get in bit...
Arnold:
26-Jul-2012
I am busy with a little chess program. Just the board and the pieces 
to be moved on the board. (I have seen the examples on rebol.org). 
It is meant to be for a chess learning/training program and possibly 
demonstration/game review and maybe have a coupling with an open 
source chess engine like Stockfish.. I am going to write a little 
script to determine all possible legal moves.  

 I want some information for what is an appropriate way to represent 
 the board and moves in REBOL, for example the 8-bit white/black init-position 
 king queen rook bisschop kNight pawn and board could be a1-h8 or 
 an array of 64 elements or a block (of blocks)
Suggestions welcome please. Tia.
Endo:
28-Aug-2012
Got it, thanks a lot. I didn't know that FIRST gives me a "new" word, 
I thought that I'm BINDing *the* word itself and it should stay BINDed.

This confused me a bit:
>> o: context [a: 1 b: 2 c: 3]

>> foreach x bind [a b c] o [probe get x] ;this works, BINDs block 
to O

>> foreach x [a b c] [probe get bind x o] ;this works too, BINDs 
the word 'X to O
Kaj:
13-Sep-2012
Hm, my Atari 8-bit already had that. I guess that's progress these 
days
MaxV:
18-Sep-2012
Please put some example, you are a bit vague
Maxim:
18-Sep-2012
obviously, this depends on the input data being pristine... 

if there are chances that the input isn't, then a bit more code would 
allow you to safely skip invalid lines.
Maxim:
18-Sep-2012
I added a bit of processing to show how to use parse in order to 
actually do things beyond just match patterns.


note that the paren is at the end, once we have all data we want 
to match.  An error people often do is to start processing too soon.
Ladislav:
3-Oct-2012
It is a bit long to my taste, but I can repost here if you prefer. 
Also, BTW, welcome to REBOL, Marc
DocKimbel:
4-Oct-2012
Ladislav: would you be interested in improving the 'proxify function 
from the REBOL profiler I've built for Red project, it has the same 
kind of constraints as 'tail-call? The current code is a bit "rough", 
I don't have time to make a cleaner and simpler version of it.


See code at: https://github.com/dockimbel/Red/blob/v0.3.0/red-system/utils/profiler.r
Henrik:
7-Oct-2012
it's also possible to simply add a pane of faces that construct the 
text in the necessary parts. with SIZE-TEXT you can then calculate 
the necessary size of each part and write a little routine to lay 
it out. it's a bit of work, though.
Group: Databases ... group to discuss various database issues and drivers [web-public]
BrianH:
18-Mar-2012
ChristianE's odbc driver for R3 is already a little more useful than 
the R2 one, but needs a bit of work. Being open source, we can do 
the work.
BrianH:
18-Mar-2012
Ha! R3's documentation for its port model is a bit lacking :(
ChristianE:
22-Mar-2012
I may find some time to tweak the R3 ODBC-API a bit if you could 
supply a prioritized list of things that need work. Regarding problems 
with certain SQL types one easy workaround could be to just allow 
all types without direct support by rebol to read them as strings, 
you then could do anything you like withthem. Regarding "R3's documentation 
for its port model is a bit lacking" - I surely won't have any time 
to find out why the port model I used feels alien to R3 without the 
better R3 beeing documented anywhere.
Group: !Syllable ... Syllable free operating system family [web-public]
Kaj:
25-Jun-2012
The configuration can be sped up a bit by using -fast if you are 
using -nomake like that on significant parts
AdrianS:
22-Sep-2012
during VM setup, I chose "Other" and 32 bit for the OS choices - 
not sure if that was what I should have chosen
Kaj:
22-Sep-2012
So it's a bit of a mystery. The forum indeed doesn't reflect it, 
but there also other reasons for that. It's been hard to register 
there for years, because we've had to block most common mail domains 
due to spam
Group: Web ... Anything related to the WWW [web-public]
Gerard:
17-Aug-2012
I agree but what else could be used - something built aroud the JVM 
- may be ? It must be a bit like Carl's REBOL based vision, isn't 
it ? Entirely self contained to be deployed anywhere but written 
once ...
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:
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?
1 / 3050[1] 2345...2728293031