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

World: r3wp

[Ann-Reply] Reply to Announce group

Rebolek
1-Sep-2009
[1781]
Let's start a bounty to build the bounty site...
Pekr
1-Sep-2009
[1782]
This is better - you can see even particular bounties - http://bounties.morphzone.org/
Reichart
1-Sep-2009
[1783]
If you do this, do it in (or with) other language sites....REBOL 
is also sadly elitist......a little blending, and being “part of 
the crowd” would be nice too....
Graham
1-Sep-2009
[1784x2]
The Rebol community is small .. but they still have money!
Maybe Popper (David May) can start the first bounty for a GUI for 
video processing!
Will
1-Sep-2009
[1786]
That is a great idea!
james_nak
3-Sep-2009
[1787]
Pekr, et. al, how do you use that tray.r?
Pekr
3-Sep-2009
[1788]
Cyphre should upload some examples, till that time, you are on your 
own. I don't use the SW myself ....
james_nak
3-Sep-2009
[1789]
Thx.
Micha
4-Sep-2009
[1790x6]
how to create threads in REBOL?
I wrote this code
rebol[]
;------------------


system/words/&: func [

  "Return the memory address of a binary, string or struct as a binary 
  value"
		b [binary! string! struct!]
	][

  to-integer reverse  third make struct! [s [string!]] reduce [either 
  struct? b [third b][b]]
	]


;----------

  integer: make struct! [
        value   [integer!]
    ] none

;-------------------


kernel32: load/library %kernel32.dll


CreateThread:  make routine! [ 

pThreadAttributes [integer!] 

dwStackSize[integer!] 

lpStartAddress [callback [int  return: [int]]]

lpParameter[integer!] 

dwCreationFlags[integer!] 

 lpThreadId [integer!] 

 return: [integer! ] ] kernel32"CreateThread"

;----------

i: 0


thread:   func  [ n ][  i: i + 1   ]  

;-----------------

loop 10 [  
print t: CreateThread 0 0 :thread  0 0  & integer
wait 0.1
print i
]
halt
as I add features until the thread does not works
if i change "thread:   func  [ n ][  i: i + 1    ] " on "thread: 
  func  [ n ][  for m 1 10 1 []  i: i + 1    ]  "
this code not work
Graham
4-Sep-2009
[1796x4]
Alan, "integrated" is the correct spelling.
I think you need to thumbnail those images .. they're just not downloading 
for me.
What is FNDY ??
Something to do with fire fighting?
amacleod
4-Sep-2009
[1800x2]
FDNY  New York City Fire Department
images download fast here but I'm sure you are right..they are full 
size.
Graham
4-Sep-2009
[1802x2]
Yeah .. you need to thumbnail them.
Use imagemagick or something ...
amacleod
4-Sep-2009
[1804]
My server seems to be crawling right now...don't know why. Usually 
flys
Graham
4-Sep-2009
[1805x3]
check the server logs
maybe a bot is crawling your site
do you have a robots.txt file?
amacleod
4-Sep-2009
[1808]
No, I just threw it up...noit ready for prime time yet
Graham
4-Sep-2009
[1809]
google will crawl your site if you have the google toolbar
amacleod
4-Sep-2009
[1810]
google toolbar?
Graham
4-Sep-2009
[1811]
now that I have visited ... google knows about your site
amacleod
4-Sep-2009
[1812]
Oh, Tool bar in your browser...really?

So if I have the bar in my browser I can visit my own sites to get 
them goolge aware?
Graham
4-Sep-2009
[1813]
I think so
amacleod
4-Sep-2009
[1814x2]
intergrated fixed..thanks. I've missed that same typo before
Server is still slow but it might be my internet connection as another 
computer running at the same location is also super slow....unless 
my bandwidth is getting eaten up with server access...an attack??
I cannot get into the server to check the logs..
amacleod
5-Sep-2009
[1816]
Server logs looked light - low traffic- so it must have been a slow 
connection...working fine now
Maxim
21-Sep-2009
[1817x2]
nice stuff Chris.
replying to (http://www.ross-gill.com/r/altwebform.r)
Chris
21-Sep-2009
[1819x2]
Thanks, Max!  I do wonder if I could do the same in less, but for 
now it works as advertised...
Should work on blocks and objects too.

	>> load-webform "name.first=Chris&name.last=RG"
	== [name [first "Chris" last "RG"]]
Maxim
21-Sep-2009
[1821]
is there a javascript way to formulate the above url based of from 
nested JSON objects?
Chris
21-Sep-2009
[1822]
or


 >> to-webform context [name: context [first: "Chris" last: "RG"]]
	== "name.first=Chris&name.last=RG"
Maxim
21-Sep-2009
[1823]
for ajax, this system could be really handy :-)
Chris
21-Sep-2009
[1824]
I don't think it'd be difficult.
Maxim
21-Sep-2009
[1825]
I don't think either... I guess I was wondering if such a lib already 
existed, from which you ported a rebol server-side equivalent.
Chris
21-Sep-2009
[1826x3]
The goal is to make them interchangeable.  You could set up a service 
that took the same structured data in JSON as it does from a web 
form...
Which (when fixed), 'import (see r.org filtered-import) can validate.
i.e. submit to service from Ajax, use JSON ( http://bit.ly/altjson
), or build a web form with the 'name.first' style keys.
Mchean
28-Sep-2009
[1829]
amacleod - nice
Graham
28-Sep-2009
[1830]
Chris, is your Rebol <-> Json converter better than the others?  
Why rewrite?