• 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
r4wp708
r3wp7013
total:7721

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

world-name: r4wp

Group: #Red ... Red language group [web-public]
Kaj:
25-Feb-2012
Mandelbrot
Syllable Server, AMD Athlon XP 1800+ (256 KB L2 cache)
						CPU Time	Relative
C (GCC -O2)				.025		1
C (GCC 4.4.3 i686)		.05			2
Red/System				.11 (0.3)	4
World (complex math)	4 (7)		150
World					6 (9)		250
Boron (i486)			7.5 (10)	300
ORCA (i486)				9 (12)		350
REBOL 3 2.100.111.4.4	9 (12)		350
REBOL 2 2.7.7			11 (13)		450
Ruby 1.8.7.248 (i486)	12 (15)		500
Kaj:
25-Feb-2012
It will have to travel back in time, because that will still take 
a while
TomBon:
27-Feb-2012
andreas, cool! perhaps time to add GLFW? ;-)
Pekr:
1-Mar-2012
Few more creations, still not there ... but -time to sleep ...
DocKimbel:
2-Mar-2012
I will present the same slides as last time, with just a few updates 
and enhancements.
Pekr:
5-Mar-2012
Ah, well then. Even GTK+ kind of sucks big time ...
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:
9-Mar-2012
If I had, I would still have no time
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.
Kaj:
12-Mar-2012
I haven't had time for it yet, but I'll get to it
Kaj:
13-Mar-2012
print [
	"Fibonacci " parameter ": " fibonacci parameter  newline
	"Elapsed time: " subtract-time  now-time none  start  newline
	"Process time: "
		(to-float form-integer process-time) /
		to-float form-integer clocks-per-second  newline
]
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
The other way around is already used in my Fibonacci and Mandelbrot 
time processing:
DocKimbel:
11-Apr-2012
MaxV: there's no standalone executable yet, you need to run the compiler 
using REBOL. An encapped version could be added in the future (when 
I'll find the time to automate the cross-platform building process).
Pekr:
12-Apr-2012
I would also not post here, I just try to motivate others to do the 
same from time to time :-)
Endo:
12-Apr-2012
And it worked Pekr :) I did as well. I tried last month too but I 
coudn't because my bank required more info. So I did via paypal this 
time.
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.
DocKimbel:
3-May-2012
Not yet, I need to reschedule it as I am only working part time on 
it this week.
Pekr:
22-May-2012
You're welcomed. Any news how the implementation goes? Is it as expected, 
or any new design complications arose? :-) I miss you blogging from 
time to time. Well, most probably no details to blog about, so looking 
forward to see first Red alpha in upcoming weeks :-)
Pekr:
3-Jun-2012
Marco - I think that what we are waiting for is a significant part 
of work being done to see first draft or RED alpha, including compiler. 
Those things might take some time. I believe that once published, 
we will see more regular updates again. Just my opinion of course 
...
Kaj:
4-Jun-2012
Red is actually quite suitable for CGI, because the compiled executables 
are absolutely tiny, like they were in languages such as C when CGI 
was introduced. This means the performance will be quite good, not 
like the performance hit CGI suffers with heavy modern programming 
environments such as REBOL where the whole virtual machine needs 
to be started for every request. At the same time, you still have 
the advantages that made CGI popular: simplicity, robustness and 
security
DocKimbel:
6-Jun-2012
@Graham and others: I should have wrote you earlier about what I 
am currently doing instead of leaving you with no info, sorry for 
that, I was very busy these last weeks, with both real life events 
(good ones ;-)) and a new customer from which I accepted a short-term 
job to help pay the bills. The contributions I've received so far 
*are* helpful and I can't thank enough all the people that made donations! 
But their are not enough to cover all my expenses here, if I could 
get 3-4 times more from donations, that would be perfect, but as 
long as the userbase won't be larger I think that it won't be  possible.


So I've accepted a short contract (til end of june) to build a trading 
bot generator with a visual editor (GUI in View) that emits MQ4 language 
source code for feeding the Metatrader4 application. Of course, I'm 
building it in REBOL (Red not ready yet for that). The plan was to 
work part-time on it and part-time on Red, but these last two weeks 
I had to work almost only on that project. I still have a few days 
of intensive work on it, then I'll switch to part-time.


I have quite a lot of code to commit (the Red compiler), but I'll 
wait to finish first the internal modifications in Red/System (to 
ease the integration with Red) before publishing it.
DocKimbel:
12-Jun-2012
Pekr: yes, I always check. First time I see such kind of issue with 
donations through PayPal.
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:
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 !
GiuseppeC:
5-Jul-2012
Hi Doc,

   I have found the time to view the documentation of RED/System on 
   your site.

   Red/system brings the expressiveness of REBOL in a low level language.

   I see there is no object orientation capabilities into this language. 
   Is it planned ? Otherwise, as a programmer, why you dont find it 
   usefull ?
Rebolek:
18-Jul-2012
Can anybody check this code? https://gist.github.com/3135678

It's not a bug, but I wonder why the obviously more complex sine-osc 
is cca 50% faster than square-osc. These are the results I get on 
my machine:

sine-osc time:  1068
square-osc time:  1790
PeterWood:
18-Jul-2012
I use Query PerformnceCounter in Windows in my Date-Time lib.
Kaj:
18-Jul-2012
It's true, though, that process-time is currently a primitive function
Rebolek:
18-Jul-2012
Loop increased tenfold:

sine-osc time:  10576
square-osc time:  22034
Rebolek:
18-Jul-2012
Switched order:

square-osc time:  17441
sine-osc time:  15318
Kaj:
18-Jul-2012
I remember that most platforms account real scheduler timeslices 
in this function, while some basically take wall clock time
Kaj:
18-Jul-2012
bash-4.0# ./test                                                 
                                                                 
           
sine-osc time: 5330000
square-osc time: 2760000
bash-4.0# ./test 
sine-osc time: 5450000
square-osc time: 2830000
DocKimbel:
18-Jul-2012
These are the timings on my Win7/Corei7 box:

sine-osc time:   1003
square-osc time: 939

sine-osc time:   997
square-osc time: 938

sine-osc time:   997
square-osc time: 952

-- reversed order --

square-osc time: 938
sine-osc time:   995

square-osc time: 939
sine-osc time:   996

square-osc time: 939
sine-osc time:   996
Janko:
24-Jul-2012
OT: Did I see right on FB that you moved to Montenegro? If you are 
passing Slovenia at any time you could present Red at it's biggest 
CyberCenter / Hackerspace ... Kiberpipa (and/or Hekovnik) if you 
wisted to. basically if you do let me know (they don't operate in 
the summer though) http://www.kiberpipa.org/en/
DocKimbel:
26-Jul-2012
@Rebolek: fixed #223 again, I hope that this time the fix will hold. 
;-)
Rebolek:
27-Jul-2012
Wonderful! My test now runs without a problem. Time to try something 
more complicated :)
Gerard:
29-Jul-2012
Hi Doc, I didn't express correctly in my last post and you missed 
the point - I already know that Red will be prototype-based but the 
question is : will the object model implementation you'll use be 
flexible enough to permit you and/or the end-user  to easily extend 
  Red with other  new types, or change primitive functionality and 
semantics at some later time. The author of this article has done 
some studies and experiments about this fact and within his 16 pages, 
he explains how it could circumvent these possible limitations without 
sacrificing efficiency - even if I'm not advanced enough to take 
his word as truth per se. I thought it would be useful to you to 
see such writing before you committed to much material, based on 
your current architecture and internal implementation details - about 
which I don't know anything, I must confess. Sorry if this is more 
of an annoyance than a useful tip but I thought it could be useful 
as a reading to anyone interested in implementing some programming 
language - be it not fully Red related.
Rebolek:
31-Jul-2012
BTW, yesterday I've encountered a strange bug that's very hard to 
separate. The bug is that EITHER will always execute FALSE block, 
even if the condition is TRUE (EITHER is in function and the function 
is in WHILE loop, but that's not enough to trigger the bug). When 
I try to separate the problem the bug is gone. When I leave the function 
as is and just remove all unrelated stuff, the bug is also gone. 
It happens only when I compile my whole project. When I have more 
time, I will once again try to separate the problem and when unsuccesful, 
I will post the project as is for you to check it.
DocKimbel:
31-Jul-2012
As you can see, these features are not related to the object model 
from the user POV, because Red (like REBOL) are not OOL to me (I 
mean by OOL, languages that force you to use the object model). Anyway, 
the article looks interesting, so I'm saving the complete reading 
for the time when I'll work on the Red object! datatype (not implemented 
yet).
Arnold:
5-Aug-2012
Please take some time to give good thought about this kind of things 
and specifying in more detail what is needed, so other people get 
a chance to help out with doing a little programming for Red (/system). 
While not everybody is a topgun like yourself, there is a lot of 
legwork that could be taken out of your hands.
DocKimbel:
5-Aug-2012
In case, you wonder why Red needs both UTF formats, well, it's simple, 
 Windows and UNIX worlds use different encodings, so we need to support 
both. Red will use by default UTF-8 for string values, but on Windows 
platform, it will convert the string to UTF-16 on first call to an 
OS API, and will keep that encoding later on (and avoid the overhead 
of converting it each time). 


We might want to make the UTF-16 related code platform-depend and 
not include it for other platforms, but I think that some text processing 
algorithms might benefit from a fixed-size encoding, so for now, 
I'm for including both encoding for all targets.


It will be also possible for users to check and change the encoding 
of a Red string! value at runtime.
Arnold:
5-Aug-2012
This is exactly the point! If you look in the archives you will notice 
some remarks by Carl where he was disappointed in that others didnot 
pick up some tasks. Okay first of all REBOL being not open source 
it makes no sense helping documenting stuff but there is no chance 
to do this kind of thing if there is no info of what exactly is to 
be done, as an outsider you are always one step behind and if you 
invest precious time into some work only to discoved they already 
did this. This is not an invite to do anything.
DocKimbel:
9-Aug-2012
No, contexts in Red are not values, they don't exist at run-time.
Endo:
9-Aug-2012
oops, sorry I meant your previous comment: "they don't exist at run-time."
Kaj:
11-Aug-2012
I vaguely remember the blog at the time was about RESOLVE, not sure 
how that ties into IN
Steeve:
11-Aug-2012
What we need is to be able to rebind a block of code into several 
context in one time
DocKimbel:
16-Aug-2012
Milestone 0.2.3: can't find how to close it...github's UI keeps changing 
all the time, always feel lost when I have to do rare actions...
Group: Announce ... Announcements only - use Ann-reply to chat [web-public]
Robert:
10-Mar-2012
We just released our first R3 based tool. See: http://www.saphirion.com/development/heat-map/


The tool gives you an editor to build hierarchical structures / layouts 
where you than can map given information criterias (Skills, Performance, 
...) into visual recognizable values (color, line width, ...).


We use this tool to visualize complex situations on one page. The 
values could be feed from a database or other source in real-time 
and the visualization will update immediatly.
Arnold:
5-Jul-2012
Did I tell you it works on my Mac now? Don't know what happens on 
other platforms. This time I tested while constantly restarting REBOL/VIEW.
Arnold:
11-Jul-2012
A new version of the mirror game is available as a zipped file at 
http://www.arnoldvanhofwegen.com/stuff/mirror.zip

This time it is version 1.07. I put a beam in. Click on a label and 
a beam will show up,right click the label or just click the box for 
a new mirror and it disappears again. (It is also becoming a showcase 
for different REBOL techniques applied, though maybe not the best 
(: ) 
Have fun with this version!
Robert:
30-Jul-2012
www.tree-mapper.com 	First releas of the web-page for our new product. 
Done with R3. We will add more and more over time.
Tomc:
27-Aug-2012
http://www.rebol.com/article/0510.htmlfrom Carl    "Time to 
Talk about REBOL's Future'
Marco:
18-Sep-2012
Normally I do not announce my upload to rebol.org but this time is 
different. I have uploaded an upgraded version of  my interface to 
opengl: http://www.rebol.org/view-script.r?script=opengl-glu-glut-h.r
and I am asking you to insert "GLX_DOUBLEBUFFER" in the block of 
the line: "attrList-def: reduce [GLX_USE_GL GLX_RGBA  GLX_DEPTH_SIZE 
16 GLX_RED_SIZE 4 GLX_GREEN_SIZE 4 GLX_BLUE_SIZE 4 0]"  to see if 
doublebuffer works since in my virtual machine it is not working 
(an empty window is opened and no gl rendering occurs)
Maxim:
18-Sep-2012
Normally I do not announce my upload to rebol.org but this time is 
different. I have uploaded an upgraded version of  my interface to 
opengl: http://www.rebol.org/view-script.r?script=opengl-glu-glut-h.r
and I am asking you to insert "GLX_DOUBLEBUFFER" in the block of 
the line: "attrList-def: reduce [GLX_USE_GL GLX_RGBA  GLX_DEPTH_SIZE 
16 GLX_RED_SIZE 4 GLX_GREEN_SIZE 4 GLX_BLUE_SIZE 4 0]"  to see if 
doublebuffer works since in my virtual machine it is not working 
(an empty window is opened and no gl rendering occurs)
Group: Ann-Reply ... Reply to Announce group [web-public]
Maxim:
15-Mar-2012
ok... very strange... tried again, and this time its filled up ?!?
Gregg:
28-Apr-2012
I have to curse you now, because time I should be working is being 
spent reading and playing. :-)
Group: Rebol School ... REBOL School [web-public]
Marco:
4-Mar-2012
Is there a way to wait for a period of time asyncronously?

I mean that I do same action and then I want start a timer, i do 
something else and when period expires i will wake up.
Pekr:
4-Mar-2012
ah, should be 0.1 e.g. actually. So - wait returns either when there 
is any event on the ports, or at the certain time interval ...
Pekr:
4-Mar-2012
then you can do some handling. But - if your hanlding takes some 
time, of course during such a time, everything is blocked. If you 
would like to have something more sophisticated, you would have to 
spawn separate tasks, as e.g. Cheyenne app server does ...
Steeve:
21-Apr-2012
typo again
>> o: make object! [a: "100.9"]
you need sleeping time
Gregg:
22-Apr-2012
You're ramping up fast sujoy. Most people don't get to using BIND 
for a long time. :-)
Gregg:
24-Apr-2012
Here's something for US phone numbers I did a long time ago
Endo:
26-Apr-2012
I use this function:
Int2Date: func [i][1-Jan-1970/0:00 + to-time i]

i is unix style date (seconds from 1970)

you may need to change 0:00 to your GMT, if you don't store GMT separately.
Endo:
26-Apr-2012
And for the oposite:
Date2Int: func [d /local c][
    c: 1-Jan-1970/0:00
    d - c * 86400 + to-integer d/time - c/time
]
Endo:
26-Apr-2012
I use my own functions, returns always in ISO format, YYYY-MM-DD 
HH:NN:SS


padz: func ["Pad to right with zero." s n [integer!] /left /with 
c [char! string!]] [

    head insert/dup either left [tail form s] [form s] first form either 
    with [c] [#"0"] n - length? form s
]

format-date: func [d [date!]] [

 ajoin [d/date/year "-" padz d/date/month 2 "-" padz d/date/day 2 
 either d/time [ajoin [" " padz d/time/hour 2 ":" padz d/time/minute 
 2 ":" padz to-integer d/time/second 2]] [""]]
]
Gregg:
27-Apr-2012
date-to-epoch: func [
    "Returns a unix time (epoch) format from a date."
    date [date!]
][
    ; If no time is given, negate our zone to give us 0:00 UTC
    if none? date/time [date/time: negate now/zone]
    ; This uses the epoch base in UTC, so we assume that either
    ; the date is also in UTC, or has a zone offset included.
    ; DIFFERENCE fails for huge time differences, so we subtract
    ; them instead, giving us a difference in days, and multiply
    ; by the number of seconds in a day.

    either attempt [positive? res: to integer! difference date 1-Jan-1970/0:0:0] 
        [res]
        [date - 1-Jan-1970/0:0:0 * 86400.0]
]
BrianH:
8-May-2012
I think you mean time zone, Endo. GMT is one of the time zones, mostly 
the same as UTC.
BrianH:
8-May-2012
If you are running your app on a system that might switch time zones, 
it's best to keep track of time internally in the UTC zone (+0:00). 
This is a little different for R3 and R2.


R3: Use now/utc to get the UTC version of a datetime, or for a stored 
datetime d use d/utc. It does the math for you.


R2: Whenever you get the time, subtract the zone offset from the 
datetime, like this:
>> d: now
== 8-May-2012/11:36:01-5:00
>> d: d - d/zone
== 8-May-2012/16:36:01-5:00
>> d/zone: none
== none
>> d
== 8-May-2012/16:36:01
BrianH:
8-May-2012
If you need to recreate local time, add back the local time zone 
offset, like this:
>> d: d + now/zone
== 8-May-2012/11:36:01
>> d/zone: now/zone
== -5:00
>> d
== 8-May-2012/11:36:01-5:00
BrianH:
8-May-2012
Keep in mind that your time zone can change for daylight savings 
time, if your region does that. You don't necessarily have to move 
to change time zones.
Endo:
8-May-2012
Thank you BrianH.

My question is, REBOL process (console or encapped app.) doesn't 
automatically detect of the time zone settings change of the PC.
>> now/zone
== 3:00

>> ;I changed my local time zone to +2 GMT or it changed automatically
>> now/zone
== 3:00


Is there a way to "refresh" zone in NOW, without closing and reopening 
the app.

Let's say I get the Windows time zone using a Win32 API. Then something 
like
>> now/zone: 2:00
== 2:00
>> now
== 8-May-2012/23:45:16+3:00 ;doesn't work
GiuseppeC:
8-May-2012
Tomoorw I'll try. Thanks for your help. Now it is time to go to BED
Henrik:
10-May-2012
Perhaps it helps to learn about the mechanisms: There are several 
ways to generate a dynamic UI:


The LAYOUT function works by creating an object tree, a tree of faces 
that are simply ordinary objects. When passing this to the VIEW function, 
a layout is displayed. The layout function is part of VID and is 
as such a high level function. VIEW is a low level function to interpret 
the face tree.


The face tree consists of objects that contain other objects through 
the FACE/PANE word. If the FACE/PANE contains an object, that object 
is a single face, that is displayed inside the parent face. If the 
PANE contains a block, that block may contain multiple objects that 
are simply multiple faces. As such, a typical window is a face with 
a FACE/PANE that is a block that contains other objects.


Graphically, the face is represented by a region on the screen that 
has the size and offset, possibly an effect, such as coloring, blur 
or mirroring or a text attached to it, and image or other faces that 
are only visible inside that region.

A window is also a face.


To navigate to the parent face from a face, use the FACE&/PARENT-FACE 
word. Note that FACE/PARENT-FACE is many times not set by VID, which 
is sometimes problematic.


You can manipulate the face tree by adding removing objects dynamically 
and calling the SHOW function. You can also change values in existing 
face objects in the tree, such as for resizing or moving the faces 
and then calling SHOW again. You can also build a face tree entirely 
by hand, and this is usually the starting point for different layout 
engines, such as RebGUI, that simply build face trees in their own 
way.


The prototype face is FACE, which is a minimum requirement face for 
the View engine. The prototype face for a VID face, which contains 
a few more words, is SYSTEM/VIEW/VID/VID-FACE, which is the minimum 
requirement face for VID.


One condition for the face tree is to not use the same object in 
multiple locations. The VIEW or SHOW function will return an error 
if that is the case.


A simpler way is also to generate a new face tree every time you 
want to change the layout. Although this is slightly more computationally 
heavy, it allows you to manipulate the block that was passed to the 
LAYOUT function instead of manipulating the face tree directly. This 
technique is best used, when the face tree changes dramatically by 
each manipulation.


Another important concept is the DRAW engine which is a separate 
entity in REBOL2. It can be called to draw on an image bitmap, using 
the DRAW function or as in effect for a face object, by adding a 
parameter in the VID dialect block or by changing the FACE/EFFECT 
word. DRAW is used by calling a dialect. if you just want to use 
fields, buttons and simple user interface designs, you may not need 
to use DRAW.
Henrik:
10-May-2012
You can do this by adding the buttons to a panel and update the contents 
of this panel.


view/new layout [p: panel 500x500 []] ; start with an empty panel. 
note that VID does not support scrolling panels out-of-the-box. For 
this you need the VID Extension Kit.

append p/pane make get-style 'button [] ; you will need to adjust 
for offset here, otherwise the new phase will be placed on top of 
the old one.

do in last p/pane 'init ; you will need to initialize the face, which 
is the FACE/INIT block that resides in the face style definition. 
once the init block has been run, the face will set itself up and 
then you can show it

show p

This is just a simple version of what can be done.

To clear it again:

clear p
show p


If you want to do more than this, I think you need to use the VID 
Extension Kit, because you will be spending a lot of time managing 
scrollbars and panels. It has styles that are meant for this purpose.
GiuseppeC:
10-May-2012
Thanks Henrik, I'll do one things at time. This is starting to be 
difficult.
JohnM:
14-May-2012
I hope it is not rude to leave a question here as opposed to be here 
for the disucssion live, ala IRC. Please forgive me if so, and if 
so I will ask again when others are present. I will break down my 
script into smaller part questions as time goes on. First thing, 
I am under the impression that if I can generate a random number 
between 1 and 1 billion and assign this result to an aribtray variable 
word like so

token: random/secure 1000000000


I want to email my newly generated random number to someone. So I 
thought of this:

send [person-:-example-:-com] "Thank you. Your number is token."


One second later I realized that will just the send the actial word 
token, not the number the variabkle word token represents.

Is the above a correct way to generate a random number?


How do I insert that random number into the body of the text of an 
email to send someone? (send [person-:-example-:-com] "Thank you. Your 
number is [token]" maybe?)


 Thanks for your help in advance, apologies for any breach of rules 
 or etiquette. 
etiquetteetiquette
Arnold:
19-May-2012
Yet another task I think REBOL could help me with. Say I could not 
find the subtitles for an ancient tv-series i stumbled upon on the 
net. But I found subtitles in English. I can translate but some words 
will reoccur often, so I imagine a rebol script showing an original 
line or words to be translated. I type some translations and when 
I translate a word, all equal words in the rest of the document will 
change, saving me quite some time.
Arnold:
19-May-2012
Okay now the words are almost all translated. Unfortunately the words 
are in the wrong order. Now the app shows me the lines again and 
this time the words are little blocks that I can click and drag to 
the desired position.
Arnold:
20-May-2012
MOLD is definitely more vague, could become anyshape the form of 
the mold is. An ENQUOTE saves the time finding out what it does.
Arnold:
24-May-2012
I had the cvs file (one at a time is easiest) read/lines, parsed 
the comma's and then depending on the record with the key name = 
currentrecname being already in the table an insert or an update. 
But the update using db-update/where just gave me trouble beyond 
belief. Trying update within SQL (I am talking about Rebdb here) 
was no problem at least using 1 property at a time (had no more time 
testing). But how to do it using db-update is a mystery to me. Tried 
many things to no avail. My table I created using db-create bt [name 
additive papertype department weight weightline]   How do I update 
the record where name = ABCD and I need only to update columns weight 
and weigthline, both integer (but that's a coincidence, don't mind 
if it could be anything)?
Group: Databases ... group to discuss various database issues and drivers [web-public]
BrianH:
17-Mar-2012
Fortunately we can improve ChristianE's R3 driver. Since I use it 
a lot at work, I need to. I'm just waiting until I have the time 
to spare, which hasn't happened in several months.
BrianH:
17-Mar-2012
I figured out a way to make an R3-like ODBC API, and have an R2-like 
API emulated when you try to use it in an R2-like way. But then I 
ran out of time, was assigned to other projects for a while.
Endo:
17-Mar-2012
BrianH: yes, this is an old quote. 
OpenDBX's support for MSSQL is worse than REBOL's

 - it doesn't look that bad, just new datatypes are not supported 
 like TIME, DATE.
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.
Arnold:
27-Apr-2012
Most of the time the support of my provider is really good, I'll 
ask them too.
GiuseppeC:
16-May-2012
About RebDB:
Is there a way to update multiple fields at the same time ?
I read in the documentation:

db-update/where my-table id 0 [id < 6]

This sets only one filed.
BrianH:
18-May-2012
Good thing the R3 extension is open-source. Given time to work on 
it, we can improve its datatype support :)
Pekr:
21-Jul-2012
After some time, I gave a try to the Sqlite DB. It kind of improved 
in some areas, even locking, so it is even more useable in concurrent 
environment. However - it still uses per file lock, and although 
it uses just milliseconds to lock the file, I have a problem with 
one aproach I am trying to take, and hence maybe the Sqlite is not 
right DB for my purpose, or my aproach is not correct. The reason 
why I wanted to use sqlite DB is, that it is easily movable to other 
target, and its performance is fine for even semi heavy solutions. 
I don't want to be dependant upon the some kind of "server", which 
stores its files who knows where, and to which I don't have proper 
access in cgi environment, unless I am a DB admin or server admin 
...
Pekr:
21-Jul-2012
Simply put - millisecond lock time is enough fine grained for my 
purposes, but - let's assume you have several ppl working on some 
customer list, where each customer has some orders. Those ppl do 
select particular customer, and work with orders. What I want is 
- when some user selects particular customer, I need its record being 
locked. The trouble is, that when I use BEGIN transaction for sqlite, 
it locks all the file, and does not allow other process to do write 
to the DB.


I wonder, if I can somehow obey it, not really having per record 
locking. I would have to implement my own lock mechanism (not locking 
in fact), not allowing others select/enter customer record, when 
some other person is working on it?
DocKimbel:
9-Sep-2012
It's not an official release yet...I wish I had time to finish it...:-/
james_nak:
9-Sep-2012
I've been relying on 4.1 for a long time now. No problems so far. 
Thanks Doc.
Gabriele:
10-Sep-2012
I've also been using it for a very long time. Sadly, not a lot testing 
with multiple result sets as we don't use this on production, so 
i can't use multiple result sets. :( it did work correctly with simple 
tests.
Chris:
25-Sep-2012
Thought I'd share this in case anyone found it useful (or had any 
suggestions/criticisms).  First part is a description in REBOL of 
a database schema (sample here: http://reb4.me/r/schema-sample), 
second part is a function that generates the MySQL code to create 
the database/tables. I'd like to add functions to analyse database 
schemas against my REBOL schema and create 'ALTER' statements as 
necessary.  All in good time...
Chris:
25-Sep-2012
Definitely a work in progress, but has saved me some time.
afsanehsamim:
9-Nov-2012
i need only simple example of that ...plz help me if you can ... 
i do not have time :( ...i am very begginer in rebol
Pekr:
11-Nov-2012
I think, that your script is wrongly constructed! What you seem to 
do is to just print a form, which then gets delivered to user's browser 
screen. But at that time, there is no value yet. You should study, 
how to do CGI in REBOL. You need a separate html form, then you need 
to read CGI values and store them in a DB ...
Pekr:
12-Nov-2012
Create 2 files. Call the first one e.g. cgi-test.html, and upload 
it to your server. The only thing you have to change is the link 
to your .cgi script in there:

<HTML>
<TITLE>Simple Web Form</TITLE>
<BODY>
<b>Simple Web Form</b><p>
<FORM ACTION="http://www.xidys.com/cgi-bin/cgi-test.cgi">
<INPUT TYPE="TEXT" NAME="Field" SIZE="25"><BR>
<INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Submit">
</FORM>
</BODY>
</HTML>



Create a second file, called cgi-test.cgi (it has to align to how 
you name it in the above source file). Upload it to your cgi working 
directory. Remember to change the first line to contain the path, 
where your REBOL executable is placed:

#!/usr/local/bin/rebcmd -sqc

REBOL []

print join "Content-type: text/plain" newline
start: now/time/precise

submitted: decode-cgi read-cgi
values: construct submitted

prin "Submitted: " print mold submitted
prin "values: " print mold values
prin "values/field: " print mold values/field

print now/time/precise - start
print newline
 

Now go to your URL, and try to submit some values. You can test it 
on my site at: http://www.xidys.com/cgi-test.html
Group: !Syllable ... Syllable free operating system family [web-public]
Arnold:
14-Apr-2012
Plugging in the mouse (non-usb port) seems conflicting with mounting 
my usb mp3 player. Unplugging the mouse made my mp3 player disks 
visible again.Well it is not consequent in this. After another try 
it took me some time to mount it because it didn't show up. After 
mounting I plugged in the mouse again. For else I cannot copy files. 
It worked. System hangs up on me or doesn't respond copying the 20th 
mp3. Enough testing for today.
Andreas:
23-Jun-2012
Kaj, not sure if it's of use to you, but I dug out the timings from 
the last time I built Qt (on a Linux host, 4 months ago):


$ ./configure -opensource -nomake examples -nomake demos -nomake 
docs -nomake translations
5 minutes

$ make -j2
34 minutes


That was on a moderate dual-core machine with 2GB ram and spinning 
disks. Not sure how much make could parallelise, but for a single-core 
machine roughly twice the build time will be a reasonable worst case 
estimation. I guess that otherwise the configure-to-build time ratio 
will still be roughly the same.
1 / 7721[1] 2345...7475767778