• 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
r4wp1626
r3wp16837
total:18463

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

world-name: r4wp

Group: #Red ... Red language group [web-public]
DocKimbel:
25-Feb-2012
I haven't tested yet that branch with older than PPro CPU...will 
do that now.
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
Kaj: do you know why __libc_csu_init and __libc_csu_fini are not 
defined in libc in Linux? How am I supposed to pass them to __libc_start_main 
if I can't access them?
Andreas:
25-Feb-2012
__libc_csu_init calls _init which in turn calls two more functions: 
call_gmon_start and __do_global_ctors_aux
Andreas:
25-Feb-2012
__do_global_ctors_aux is for traversing ELF "constructors" (stored 
in a .CTORS section) which are then rnu
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? :-)
DocKimbel:
29-Feb-2012
Pekr: "Doc, do I understand it correctly, that lists/arrays are now 
supported via 'typed funcitonality"


No, it can look like "lists", but there are only function calls with 
arguments.
GrahamC:
29-Feb-2012
do better
Pekr:
29-Feb-2012
I do like work of one Agency here - http://loganamiru.cz/, they 
did my 2zone media :-)
Kaj:
5-Mar-2012
Yes, all the bindings that can work on Syllable do now without modifications. 
Except Syllable needs to have SDL video initialised even if you don't 
use it
Kaj:
9-Mar-2012
I made a shot.xwd, but how do I read that format?
Steeve:
12-Mar-2012
Anti-intuitive ? It makes the generated code simpler to write since 
the parameters are pushed in reversal order so that the called function 
can unstack them in order.
C compilers do the same IIRC.
But I agree it's not rebol compliant.
DocKimbel:
13-Mar-2012
As we do the compilation and code generation in one pass in current 
Red/System, we can't look ahead to determine the boundaries of each 
expression in a variadic block of arguments in advance, to be able 
to extract their datatype.
DocKimbel:
13-Mar-2012
We have a "chunked" compilation mode that could be used to re-order 
the code once generated, but I'm not sure it could work in such case. 
The best thing to do for now is to document it in the tracker.
Pekr:
14-Mar-2012
Doc - congrats to 0.2.5 release - nice to hear, that first alpha 
of Red can be here in few weeks, although it will not do much yet 
...
Kaj:
14-Mar-2012
The first Red will probably have all the capabilities of Red/System, 
so I think it will be able to do quite a lot
Kaj:
27-Mar-2012
Yes, the C library binding can do that
Kaj:
27-Mar-2012
round-ceiling and round-floor in math.reds do rounding to integer, 
but they still return a float value
BrianH:
29-Mar-2012
It's just MSC that doesn't support C99. There are other C compilers 
on Windows that do support it.
Kaj:
29-Mar-2012
Do they come with C libraries that you need to install to get these 
functions?
Pekr:
6-Apr-2012
Doc, one unrelated question - how do you use your own domain for 
a Blogger? Is it just some kind of redirection to blogspot.com, or 
are you running blog SW on your own/hosted server?
Pekr:
12-Apr-2012
I would also not post here, I just try to motivate others to do the 
same from time to time :-)
Group: Announce ... Announcements only - use Ann-reply to chat [web-public]
ddharing:
29-Apr-2012
I just noticed a few minutes ago when my trusty "do http://rebol.com/speed.r"
failed.
Endo:
5-Jul-2012
Arnold, I got this error:
** Script Error: lbl-language-text has no value
** Where: do-facets
** Near: lbl-language-text
Janko:
23-Jul-2012
Marco: how do you render 3d scene in rebol?
MaxV:
10-Sep-2012
Carl, 9-Sep-2012 15:46:54: "I need to apologize all of you for the 
lack of response to your comments. This was due to a funny incident 
that happened on my ranch.


Last week, a few heffalumps burst into my basement and turned over 
the last barrel of 1999 Châtemateloo. Unfortunately, the precious 
liquid flooded telecommunication cables and I lost network connection.

You know me, this is not a reason to give up.


Using a microwave oven, amateur radio, and 4 lines of code in REBOL 
I was able to construct a modem and here I am.


Well, I read very carefully your comments (the first two lines of 
each comment) and I noticed that most of them contain the phrase 
"Hi Carl". I was hoping that I'll find out from them what further 
steps should be taken to save the future of REBOL, but it seems that 
as usual I have to come up with a solution myself.

So, here it is.

I decided to open source REBOL.


Choice of license is very difficult because there are many kinds 
of them. I examined the majority of them, and none meets my needs. 
They are overloaded and too complicated. The only thing I can do 
in this situation is to write my own license. I name it ... Rebolense.

Creating a license is not an easy task, but is necessary.

I'll be working on it soon, so stay tuned. "
Chris:
18-Sep-2012
A first pass at accessing the Etsy API: http://reb4.me/r/etsy


Works similarly to my Twitter API script (a few OAuth differences 
here and there). You can download it, or run it in place (do/args 
... [...Settings...]). As with Twitter, you start with etsy/as and 
go through the authorization process.  It has a few example methods, 
and an open method - etsy/api-call - that can call (as far as I can 
tell) every api function. Will try to document at some point.
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)
NickA:
21-Sep-2012
Chris, here's what I made with etsy.r:  http://guitarz.org/lessons/etsy_updater.jpg
  It works great - Danielle is really excited to be able to do batch 
updates :)
Group: Ann-Reply ... Reply to Announce group [web-public]
GrahamC:
10-Mar-2012
GUI looks good ... not sure what to do with it though!
Robert:
10-Mar-2012
video: yes, thought that too. Will check how we can do it.
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:
29-Jun-2012
so font/color: white it is, how to do the bold?
Group: Databases ... group to discuss various database issues and drivers [web-public]
GrahamC:
15-Mar-2012
Not sure what to do about the lack of metadata support ...which is 
only really used when updating tables
BrianH:
17-Mar-2012
Yup, that must be an old quote, from back when they were promoting 
OLE DB so your code would be non-portable. They don't do that anymore. 
Now their new ODBC stacks in Vista and 7 are better than OLE DB.
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
Yup. You should see what they have in store for SQL Server 2012. 
It can be run on a fully command line OS, managed remotely entirely 
through PowerShell scripting. And you can do PowerShell scripting 
of MS servers from Linux clients too, reportedly.
Maxim:
21-Mar-2012
using rebol's ODBC interface, is there a way to get the names of 
the columns in the last select query?  sometimes, we do not provide 
the columns (select * from table) , so relying on assumptions to 
match return values and their columns is quite dangerous.
Maxim:
21-Mar-2012
another example is retrieving the db metadata.  it would be nice 
to be able to know what columns do what from the returned data directly 
instead of assuming their order (which can change from one db version 
and provider to another)
Maxim:
21-Mar-2012
ok, so what do the columns returned by the [columns]  query mean? 
 (without docs, remember I'm not assuming the docs are up to date 
or even apply to Firebirds interface)


I tried to list the RDB$FIELDS metadata table, but it clearly doesn't 
match the columns output.
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.
BrianH:
22-Mar-2012
You can't do an R2-style hot-patch of a function in R3, but you can 
replace the entire function with a new, fixed one.
james_nak:
26-Apr-2012
If you are using Cpanel, there is a section to Grant, otherwise you 
may have to do it manually.
Endo:
26-Apr-2012
try to get support for that, they can easily do that.
james_nak:
26-Apr-2012
Arnold look for "Prvileges" tab in phpMyadmin. BTW, what type of 
control panel do you have?
james_nak:
28-Apr-2012
Arnold, so you have the same set-up as I do. Plesk as the main control 
panel and phpadmin (via Plesk and self-installed). It's within phpadmin 
that I am able to grant rights to my host's IP as described above. 
Before this, I had some sites that had cPanel and I did the granting 
from there.
james_nak:
30-Apr-2012
And when you are in the "Home" Page, do you not have a "priviledges" 
tab?
Arnold:
2-May-2012
I am now going to experiment with interacting with a script on the 
website that can do what I want remotely. Talking about safety risks 
:)
GiuseppeC:
17-May-2012
Do you know the way ?
GiuseppeC:
17-May-2012
I have read in the REBOL3 world about incompatibility with ODBC in 
the latest icarnations. Do you know anything about this ?
BrianH:
18-May-2012
I get tripped up by missing datatype support with the R3 extension 
a lot more than with R2. Converting from numeric to float is one 
thing - iffy, but at least you can do it; converting from varchar(max) 
or text to varchar is often impossible without data loss.
BrianH:
18-May-2012
Had to do more than one project with scripts that call themselves 
in R2 to do data extraction from text fields, then call themselves 
in R3 to do processing.
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?
Chris:
25-Sep-2012
do http://reb4.me/r/schema
do http://reb4.me/r/mysql-schema
print schema-create load-schema http://reb4.me/r/schema-sample
afsanehsamim:
9-Nov-2012
guys , i have one project (crossword )which uses mysql database! 
i want use mysql driver ,i know how  we can create table and make 
connectivity with database !  crossword should show on web page ,and 
when user put characters in each field ,then press button ,it will 
chek with database and if it is correct ,user can continue otherwise 
shows error message ....i created crossword table with cgi and is 
working on web ,i have created database as well,now my problem is 
i do not know how can i fetch data and comparing with database? is 
there anybody for helping my mini project????
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
afsanehsamim:
9-Nov-2012
REBOL []
do %mysql-protocol.r 
db: open mysql://[root-:-localhost]/test
insert db {create table data (
    name            varchar(100),
    address         text
  )} 
insert db {INSERT into data VALUES 
    ('raj', 'pune'),
    ('ekta', 'delhi'),
    ('ankur', 'mumbai')
    
}
insert db "SELECT * from data"
results: copy db
probe results
close db
afsanehsamim:
9-Nov-2012
i do not know how should i mix cgi file with database file
afsanehsamim:
9-Nov-2012
do %data.r
Script: "Untitled" (none)
Script: "MySQL Protocol" (12-Jul-2008)
MySQL protocol loaded
connecting to: localhost
[
    ["raj" "pune"]
    ["ekta" "delhi"]
    ["ankur" "mumbai"]
]
Arnold:
9-Nov-2012
you have to mix them something like  

#! "C:/wamp/bin/apache/Apache2.2.11/cgi-bin/rebol-core-278-3-1.exe" 
-cs
REBOL [Title: "Table"]
do %mysql-protocol.r 
db: open mysql://[root-:-localhost]/test
insert db {create table data (
    name            varchar(100),
    address         text
  )} 
insert db {INSERT into data VALUES 
    ('raj', 'pune'),
    ('ekta', 'delhi'),
    ('ankur', 'mumbai')
    
}
insert db "SELECT * from data"
results: copy db
print "content-type: text/html^/"
print [<HTML><BODY><TABLE  bgcolor="black" border="1">
{
<tr bgcolor="white">

<td style="width:30px; height:30px;"><input name="one-one" type="text" 
size="1">} 
print results/name 
print {</td>}


etc
afsanehsamim:
10-Nov-2012
do you know for comparing which aommand should i use?
afsanehsamim:
10-Nov-2012
hey guys... do you know how  we can check values of two tables in 
mysql?????!!!!
Arnold:
10-Nov-2012
select * from table where answer = useranswer
select * form table1, table2 where table1.field = table2.field

Do you have google? Any MySQL tutorial out there holds the answer 
to your question.

Or want to compare from wihin your REBOL script? It is either [ left 
= right][do-something][do-else-thing].
afsanehsamim:
11-Nov-2012
#! "C:/wamp/bin/apache/Apache2.2.11/cgi-bin/rebol-core-278-3-1.exe" 
-cs
REBOL [Title: "Table"]
do %mysql-protocol.r 
db: open mysql://[root-:-localhost]/test
insert db { DROP TABLE IF EXISTS data1;
create table data1 (
    oneone        varchar(1),
    onetwo        varchar(1),  
    onethree      varchar(1),       
    twoone        varchar(1),
    twothree      varchar(1),
    threeone      varchar(1),
    threetwo      varchar(1),
    threethree    varchar(1)
  )} 

print "content-type: text/html^/"
print [<HTML><BODY>]
print [<form><input type="submit" value=" submit !" />]
print [<TABLE  bgcolor="black" border="1">]
print {<tr bgcolor="white">

<td style="width:30px; height:30px;"><input name="oneone" type="text" 
size="1">}
insert db ["insert into data1 (oneone) values (?)" ]
results: copy db
print {</td>}
afsanehsamim:
11-Nov-2012
i do not know what  i should write for values(?)... plz help
Pekr:
11-Nov-2012
what do you want exactly to be put into the database field?
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:
11-Nov-2012
this is how you should do it - http://www.rebol.com/docs/cgi2.html
afsanehsamim:
11-Nov-2012
>> do %compare.cgi
Script: "Untitled" (none)
Script: "MySQL Protocol" (12-Jul-2008)
MySQL protocol loaded
connecting to: localhost
** Script Error: Invalid path value: oneone
** Where: map-rebol-values
** Near: result/oneone
>>
afsanehsamim:
11-Nov-2012
i am very thankful if you do based on my codes ...
Arnold:
11-Nov-2012
Yes. Do a probe of the query to see if it generates the sql you expected.
Arnold:
11-Nov-2012
I am not doing your code for you. If you want to find someone to 
do it for you post your job in the ~Opportunity section.
afsanehsamim:
11-Nov-2012
i did not say do my code Arnold !!! i wanted only help ... because 
till now whatever guys said  here was not related to form ! my problem 
is only saving value  from form in database ...
Ladislav:
11-Nov-2012
Any one knows how can we save value from the form into database?
 - sure, Pekr told you how to do it.


Your problem is that you do not do what Pekr told you to do. First, 
you need to create the form. Check: Do you really have the form?

Second, you need to create a CGI script (this is not the form from 
the first point, the form from the first point is not a CGI script). 
Check: do you really have a CGI script ?


Pekr told you that the example you posted was neither the form, nor 
the CGI script.
Endo:
16-Nov-2012
do you mean saving result to a file?
it is just a block, you can simple SAVE %file.r RESULT
TomBon:
16-Nov-2012
if so, you have to add your mysql connection parameters to your script., 
open a mysql port and do an sql insert to your table.
Group: !Syllable ... Syllable free operating system family [web-public]
Arnold:
13-Apr-2012
This is the same file as last week(s) right? So I do not need to 
download it again?
Arnold:
14-Apr-2012
Do you use a generater tool for the Welcome_XX.html files? The Dutch 
version contains a considerable amount of English paragraphs. And 
ugly 'k'-s and some typo's.
Arnold:
14-Apr-2012
If so mail me that file and I will do some extra editing on it.
Kaj:
14-Apr-2012
Bas does the Dutch translations, but he stopped halfway. I would 
love you to help with them. Do you want access to the Syllable AltME 
world?
Kaj:
14-Apr-2012
A 1 GHz machine is very powerful for Syllable, but it sounds like 
you may be hitting the bugs in the USB 2 driver. Do you have USB 
1 ports that you could try?
Kaj:
27-Jun-2012
I have already provided a GUI for Red. It's fine if R3/View is rewritten 
for it, but I'm not going to do it
Pekr:
28-Jun-2012
Kaj - I do remember View 1.0 alpha with CID (predecessor to VID) 
on a Pentium 75, 130 - ran "acceptable". Cell phones have limited 
UI needs imo, I doubt AGG will be slow. Of course some heavy operations 
might drag some juice from the battery, as it is not accelerated. 
We now need to find the ways of how to get Cyphre's idea becoming 
a reality ...
Group: Web ... Anything related to the WWW [web-public]
Maxim:
16-Apr-2012
I have the above working on a server, and browsers I've tested do 
not seem to have any problem with the URL, but I'm wondering more 
at large, if there are issues with it, in general.


It will be used  from within applications (java, .net, php & rebol) 
much more than from users manually using it within a browser bar.
Janko:
14-Jun-2012
Hi, I am looking into OAuth. I see (and thank you a lot for this!) 
that Chriss Ross Gill created OAuth client part in the twitter library: 
http://reb4.me/r/twitter.html, I am reading into it, but does he 
or anyone else know how much additional work would be needed to do 
the rebol OAuth server part ?
Chris:
16-Jun-2012
End user X downloads Y's app/uses Y's web site; X tries to access 
a function that uses your site; Y requests a temp key from you; Y 
directs X to your site with temp key, X says Y is OK, you give X 
a PIN; X goes back to Y, enters PIN; Y requests the permanent key 
from you.  Y can now do anything on your site on behalf of X.
Robert:
5-Aug-2012
Do we have anyone here that is knowledgeable / an expert in online 
markting?
Gerard:
18-Aug-2012
Nice, do you use some GUI for the output, kind of VId I suppose ?
Gerard:
18-Aug-2012
Or do you send the output to some esternal receiver using messages 
 protocols ?
Gerard:
18-Aug-2012
But then how do you catch the input if it not already part of your 
own system ?
Chris:
18-Sep-2012
Doesn't sound too onerous - I'd say most of the changes could be 
made to the parser, then tweak the emitter to get the output you 
want. Do you have a sample document? Is this the version you're using? 
- http://reb4.me/r/xhtml
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.
Endo:
27-Sep-2012
Chris: I'm trying to use oauth with Salesforce, can you help me about 
it?

I have consumer-key and consumer-secret, but where do I set login_url? 

I'm trying your Etsy with Salesforce. I thought that I at least should 
be able to login.
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
do http://reb4.me/r/oauth
do http://reb4.me/r/altjson

tm: read [
	scheme: 'oauth
	url: https://api.twitter.com/1/statuses/home_timeline.json
	target: 'get
	user-data: context [count: 10]
	key: make key [
		Consumer-Key: #consumer_key
		Consumer-Secret: #consumer_secret
	]
	user: make user [
		token: #user_key
		secret: #user_secret
	]
	awake: :load-json
]
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).
NickA:
19-Nov-2012
No, but don't try to use any GPL licenced tools to do it ... (ba 
dump bump)
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.
1 / 18463[1] 2345...181182183184185