r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3]

Steeve
3-Aug-2010
[4353x2]
my opinion is optionnal though
but not unset
BrianH
3-Aug-2010
[4355]
Apparently the option was taken :)
Maxim
3-Aug-2010
[4356]
steeve.... ;-)
Ladislav
3-Aug-2010
[4357x2]
Thanks, Gregg, for reminding me, I somewhat missed that your previous 
post mentioned your preference
So, currenlty I am having 9 opinions. Hoping, that I can get even 
more.
Graham
3-Aug-2010
[4359]
My opinion is none
PeterWood
3-Aug-2010
[4360]
None for me!
Chris
3-Aug-2010
[4361]
None - add an /any refinement to value? (consistent with 'get)
Maxim
3-Aug-2010
[4362]
chris, your /any refinement would likely always return true.
Maxim
4-Aug-2010
[4363]
when rebol encounters (loads) a word with never encountered before, 
its automatically added to the globals and its is set to unset!  


so just the fact that you've actually put the word in a script, even 
if its never explicitely been explicitely managed by code yet, will 
force the value to be unset!

ex: 
>> ['!!!!!!!!]
>> probe copy/part ( sort first system/words ) 10
[! !!!!!!!! != !== * ** + ++ - --]


so you see, even using it as a lit-word, its already in the system 
words, so asking for an /any, will always return true.
Ladislav
4-Aug-2010
[4364]
Hi Chris, how a /any refinement to value shall influence the behaviour?
Chris
4-Aug-2010
[4365]
Max, I was thinking kind of the opposite, though it'd break the current 
usage of value?  (in truth it needs another function probably, but:

>> apple: none
== none
>> value? 'apple
== false
>> value?/any 'apple
== true
>> value?/any 'orange
== false  ; in /core at least
Maxim
4-Aug-2010
[4366]
AFAIK, your last example would trigger true no matter how we try 
to define it, cause the fact that you wrote 'orange and loaded it, 
it is defined as unset!  ' :-/


the reason is that words actually are just integers internally, and 
loading a word adds it to that list, so it can be used later.  this 
is why word comparison is so fast, its just comparing two integers.
BrianH
4-Aug-2010
[4367]
Chris, we have another function already: DEFAULT. It converts none 
or unset to a default value. This deals with the most common case 
of what to do when you have uninitialized values. The other cases 
are handled by ASSERT/type or conditional functions, though conditional 
functions won't work without extra help if we make optional function 
args unset by default (the extra help being UNSET?, VALUE? or get-words 
and op tricks, the hassle I was talking about earlier).
sqlab
10-Aug-2010
[4368x2]
I have a host-kit, that allows multline commands.

I am thinking, if it makes sense to extend it to mulitiline strings.
How far is the console mode for R3?
seems to work
Oldes
10-Aug-2010
[4370]
I don't think that there is somebody working on console code.
Henrik
10-Aug-2010
[4371]
console hasn't moved and likely won't move until hostkit is done.
Graham
12-Aug-2010
[4372x2]
Carl says he has tried to build R3 for Solaris, and AmigaOS
And is going to try a 64 bit build since the Solaris pc provided 
by TomC is 64 bit ( .. umm... aren't all PCs 64 bit ?? )
BrianH
12-Aug-2010
[4374]
New ones are. Most PCs are not new.
Henrik
12-Aug-2010
[4375]
I'd say all PC's are mentally from 1981. :-)
BrianH
12-Aug-2010
[4376]
You are generous, Henrik :)
Maxim
12-Aug-2010
[4377]
so Carl is doing a C64 build?
BrianH
12-Aug-2010
[4378]
Commodore 64? That would be something, but I doubt it.
Graham
12-Aug-2010
[4379]
No ...
Maxim
12-Aug-2010
[4380x2]
I was just adding voluntary confusion  ;-)
he would have to build a REBOL using BASIC hehehe
BrianH
12-Aug-2010
[4382]
Well as long as you weren't forced to, I'm sure you'll be fine. Get 
well soon! :)
Henrik
12-Aug-2010
[4383]
Maxim, there are C compilers for 6502 :-) I think we discussed this 
earlier.
Graham
12-Aug-2010
[4384x5]
64 bit CPUs have been around for some years now
whether people are running a 64 bit OS is a different matter
I'm happy to see a Solaris build being attempted.
he doesn't say what fails though ... whether it was the core or the 
gui
Looks like if you want a build, you have to supply Carl with the 
hardware
BrianH
12-Aug-2010
[4389]
I am running 64bit. As with many Win7 users (not quite the majority 
yet).
Maxim
12-Aug-2010
[4390]
problem with the 64 bit win is that many HW drivers where not ported 
to 64 bit and many don't work as-is.  (my friend can't use her 1500$ 
 sony HD camera, for example  :(
Graham
12-Aug-2010
[4391]
http://www.zdnet.com/blog/btl/android-poised-to-be-no-2-smartphone-os-worldwide/37976?tag=nl.e589


Android jumps from 1.8% market share to 17% ahead of Apple.  Someone 
got a spare Android phone for Carl/?
Maxim
12-Aug-2010
[4392]
isn't nokia also favoring android over symbian on some of its phones?
Graham
12-Aug-2010
[4393]
Well, Rebol lost the battle for mindshare on desktops and servers 
.. time to see if we can get somewhere on phones
Henrik
12-Aug-2010
[4394]
if Android is Linux based, then it shouldn't be too hard to make 
R3 work on Android.
Gregg
12-Aug-2010
[4395]
Graham, do you think phones are important enough to Carl to make 
the necessary effort and compromises?
BrianH
12-Aug-2010
[4396]
I have an Android phone (or will once I get the data transfered from 
my old phone). It is not much effort for Carl to make a new r3lib 
build - it's not platform-specific code. Then people with phones 
can decide for themselves whether or not they are important.
Graham
12-Aug-2010
[4397]
Gregg, phones are the most ubiquitous computing platform known in 
this universe
BrianH
12-Aug-2010
[4398x2]
Henrik, Android is Linux-based, but Android apps are Java-based. 
So it's a matter of making a host lib that is compatible with their 
native lib API.
And then figuring out what advantages REBOL can bring to the table.
Henrik
12-Aug-2010
[4400]
I'm reading that Android doesn't actually use a JVM, but a Dalvik 
VM. Interesting.
Graham
12-Aug-2010
[4401]
Can Jpython and Jruby run on Android?
BrianH
12-Aug-2010
[4402]
When last I heard, no. Not even Scala yet. But they are working on 
it.