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

World: r4wp

[#Red] Red language group

Kaj
5-Dec-2012
[4569x2]
That VFS is about the file system interface. Do you want to write 
your own RDBMS on top of it, or do you want to use SQLite?
Part of that VFS is covered by the REBOL file access methods, but 
not the advanced functions
DocKimbel
6-Dec-2012
[4571]
I am a bit short on time for testing on all platforms, did anyone 
find any regression in Red before I release v0.3.1?
Arnold
6-Dec-2012
[4572]
Hi I had a look at the last changes yesterday . For what it's worth, 
code was cleaner/prettier. That's a good sign in general :)
DocKimbel
6-Dec-2012
[4573x2]
It would be really nice to have automatic builds+tests running on 
all major supported platforms for each new commit on main branch, 
and an automatic report generated online. That would really saves 
us time and avoid missing some obvious regressions.


I know that Andreas started working on that. Andreas, do you already 
have a good plan to achieve it?  Do you need help/resources?


I can provide a Linux server for Linux/x86 targets. Having a Windows 
machine online + MacOS X would be great. Also a Linux/ARM (RPi for 
example) that is always up and reachable from the net could nicely 
complete the list.
Arnold: thanks! :-)
Arnold
6-Dec-2012
[4575]
youre welcome my friend ;) Did you find time to read my latest reply 
on the mailing list?
DocKimbel
6-Dec-2012
[4576]
Yes, I have even replied to it. ;-)
Arnold
6-Dec-2012
[4577x2]
I freed up some space on my mac I'll download latest version from 
github and have a little go. Anything specific to look for/try? Imho 
you are allowed to patch as much as you want, release or not. We 
will follow anyhow.
Great reply! Thanks.
Too bad they got old monitors at work without hdmi support or I could 
test my new Raspberri Pi there too :D
Kaj
6-Dec-2012
[4579x3]
Doc, I don't think you fixed the struct warnings on GTK yet?
Arnold, do the monitors have DVI?
Please test the example programs from the binary repository on Mac. 
I'm still looking for the correct library names of the dependencies
DocKimbel
6-Dec-2012
[4582]
Struct warnings: not yet, I will have a look at them before the release.
Kaj
6-Dec-2012
[4583]
Thanks
AdrianS
6-Dec-2012
[4584]
Doc, would this Linux server you could provide be able to run VMs 
with OS X and Windows in order to do multi-platform automated builds? 
I'm thinking we could set things up like Unity does (see the link 
below). JetBrains provides TeamCity (the continuous integration server) 
for free to OS projects with an active community.


http://blogs.unity3d.com/2011/10/21/build-engineering-and-infrastructure-how-unity-does-it/
Pekr
7-Dec-2012
[4585]
as for following wish - i: FFFFFFFFh ..... why i: #FFFFFFFF? The 
literal form with "h" - I almost missed the "h" at first sight ...
DocKimbel
7-Dec-2012
[4586]
Pekr: I guess the question is "why not i: #FFFFFFFF?"? Simply because 
# denotes an issue! value not an integer!. The hexadecimal format 
ending with an `h` character gets converted to an integer! value 
during the LOAD phase. If you have a better proposition for hexadecimal 
literal value, I would be glad to hear it.
Pekr
7-Dec-2012
[4587]
yes, FFFFFFFF# :-)
DocKimbel
7-Dec-2012
[4588x4]
From the Unity link: "Most of these are virtual machines running 
Windows, Mac OS X, and Linux." 


I though Apple was explicitly forbidding to install Mac OS X on anything 
other than Apple hardware? Do they sell special licenses for VM?
Ah, missed that part: "...using a combination of Apple and non-Apple 
hardware."
Kaj: I've fixed the extra struct warnings.
Pekr: your proposition is not as bad as it could be at first look. 
;-) 


REBOL allows to prefix binary values with a base integer, with base 
16 as default::

    #{F0}
    16#{F0}
    2#{1111111100000000}
    64#{8A==}


We could use a similar convention, but as a suffix, for specifying 
the base for an integer! value:

    123
     7B# 	(default base would be 16 too)
     7B#16
     01111011#2
     173#8


Such literal forms with base explicitly specified would be converted 
to integer! decimal form at LOADing stage. This is just me thinking 
loud, but how does that look like to you?
Henrik
7-Dec-2012
[4592]
If the REBOL format works, why is there a need to change it?
DocKimbel
7-Dec-2012
[4593x2]
Binary! <> integer!
It is not a change, it's an addition.
Henrik
7-Dec-2012
[4595]
ok, why is the new method useful?
DocKimbel
7-Dec-2012
[4596]
Specify literal integer values in base: 2, 8 or 16.
Henrik
7-Dec-2012
[4597]
Why can you not use the original datatype for this?
DocKimbel
7-Dec-2012
[4598x2]
So instead of the very costly:
    a: to-integer #{FFFF}
you could write it:
    a: FFFF#
Binary! is a series datatype, integer! is a scalar datatype, they 
are fundamentally different.
Henrik
7-Dec-2012
[4600]
ok, now I understand.
NatasjaK
7-Dec-2012
[4601]
DocKimbel: Kaj told me about you going to Peking for 3 months the 
upcoming year. Congrats. I Hope they are willing to invest.
DocKimbel
7-Dec-2012
[4602]
Thanks, I need first to get a Visa, so it is not done yet.
Pekr
7-Dec-2012
[4603x3]
Doc, I like the proposition, although I can understand, that some 
ppl might find FFFFFFh cleaner, cause e.g. FF#16 looks a bit heavy 
:-) OTOH - if someone writes just ffffffh, it is really difficult 
to read. So in general, I like your proposition :-)
I am not good at that stuff, but what about 0xFFFFFF, isn't something 
like that in C?
Doc - you are going to spend 3 months in Peking, so no Red advancements 
in that period? In such a case, I hope you bring some money to the 
Red homeland :-)
DocKimbel
7-Dec-2012
[4606x2]
Lowercase letters are not allowed in hexadecimal literals (both in 
Red and Red/System), so ffffffffh is not a valid syntax. 0x prefix 
is colliding with pair! syntax, so you can't tell if, e.g., 0x13 
is a pair! or an hex literal.
I am going to spend 3 months at least in Peking for working on Red, 
but not only on the coding part. I will try to setup a business activity 
around Red in order to fund its development further. I prefer to 
not talk much publicly about it for now, as I am not yet there and 
there are some potential NDA clauses that I would like to avoid having 
issues with. ;-)
Pekr
7-Dec-2012
[4608x2]
OK, I just hope that some Chinese investor isn't going to request 
you to close source Red in order to become their national selected 
language of choice :-)
Some nice business oportunities are really welcomed. There are some 
fine mobile players in China - ZTE, Huawei, maybe even HTC? HTC could 
buy Amiga name, I alrady suggested it to them :-) Then all dots connect 
and then they will bring Carl, to work ... on Red  :-)
DocKimbel
7-Dec-2012
[4610]
Closed-source: I guess we are now all well-aware how disastrous it 
can be. Open-source is a superior way of building good and long-lasting 
software, even investors can understand that. :-)
Steeve
7-Dec-2012
[4611]
Be careful Doc, You may bring back not only chinese investors but 
also some pretty girls
Pekr
7-Dec-2012
[4612]
:-D
DocKimbel
7-Dec-2012
[4613]
Steeve: pretty girls are not restricted to China. :-)
Steeve
7-Dec-2012
[4614x2]
Still, one know guys who have gone to distant Asia as single and 
came back married.
It's a well known trap ;-)
Kaj
7-Dec-2012
[4616x2]
Yeah, almost all my cousins
I like the # suffix proposal. It stands out better than the h suffix 
and looks more in line with REBOL
Steeve
7-Dec-2012
[4618]
Arghhh! My first time compiling something to Red:
-= Red Compiler =-
Compiling red/tests/sorting.red ...
*** Red Compiler Internal Error: Script Error : copy expected ran
ge argument of type: number series port pair
*** Where: process
*** Near:  [stack/push to type copy/part s]