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

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Maxim
12-May-2011
[10583]
the rfc doesn't say how URIs are supposed to be analysed.    its 
up to each server to decide such issues.
onetom
12-May-2011
[10584x2]
ah, versioning:
GET obj -- would return the latest version
GET obj/ -- would return the list of version ids
GET obj/version -- would return that specific version
amazon is doing this with
GET obj
GET obj?versions
GET obj?versionID=xxx
Dockimbel
13-May-2011
[10586]
Connection closed

 messages: the HTTPd keepalive connection are closed in a lazy way 
 and only when there is a network activity. In your case, it looks 
 odd to me as they should all be closed at the same time.
onetom
13-May-2011
[10587]
i still have the process running and it's still spitting these messages. 
i can peek into it if u tell me what would help u to find out the 
root of the problem
Dockimbel
13-May-2011
[10588]
Could you <Esc> the process and type: netstat? How many HTTP connection 
do you have?
onetom
13-May-2011
[10589]
>> netstat 
wait-list length: 7 

Scheme   Port   Client-IP     Service          Expire-time
----------------------------------------------------------

tcp      9801   none            none             none            
          

tcp      9802   none            none             none            
          

system   none   none            none             none            
          

tcp      9803   none            none             none            
          

tcp      8080   none            none             none            
          

tcp      9799   none            none             none            
          
tcp      62879  127.0.0.1       task-master      none
Dockimbel
13-May-2011
[10590x2]
Ok, so if you get a new "Connection closed", it means a new HTTP 
request was sent to Cheyenne.
BTW, what verbose level are you using? (how many "v" in the command 
line?)
GrahamC
13-May-2011
[10592]
I know v is for verbose, but when you string them together they look 
like w so vv and w are very similar ... pity you didn't pick another 
letter such as b :)
Dockimbel
13-May-2011
[10593]
It depends on the used font, using a monospaced one, it shouldn't 
have readability issues. ;-)
GrahamC
13-May-2011
[10594]
Can you change the default font in Altme ?
Dockimbel
13-May-2011
[10595]
Unfortunately, it doesn't seem possible.
GrahamC
13-May-2011
[10596x3]
Anyone got a suggestion for a text editor to use on a textarea in 
a RSP based site ?
I was using googledocs .. but that keep breaking.
ie. editor button brings up a new doc in googledocs .. which is then 
imported back again.
onetom
13-May-2011
[10599x2]
[1]+  Stopped                 rebol -s cheyenne.r -w 1 -vv
this time i started w 2 only for some weird reason
GrahamC: any url which explains how to do that w google docs?
GrahamC
13-May-2011
[10601]
I wrote the basic functions a couple of years ago here http://www.compkarori.co.nz:8000/Googledocs
onetom
14-May-2011
[10602]
we are not talking about the same thing then. u said u were using 
google docs' editor as a text area editor. it didn't sound like u 
were creating an actual google document
GrahamC
14-May-2011
[10603x2]
I was though ... and then using the Api reimporting it
that's why I want an alternative that plays nicely with rsp
onetom
14-May-2011
[10605x3]
and u were deleting the doc afterwards or how?
nice idea actually, because it takes care about autosaving too
( ur site is fucking awesome, btw. i always wanted to thank you for 
it. i learnt a lot from it! )
GrahamC
14-May-2011
[10608x2]
Not deleting it .. just saves as backup on googledocs :)
That's what sites are for .. to share the knowledge !
Maxim
14-May-2011
[10610]
another good site is http://www.codeconscious.comits too bad its 
author doesn't come here anymore.
onetom
14-May-2011
[10611]
thats my other favourite too
Kaj
14-May-2011
[10612]
Graham, do you mean a WYSIWYG HTML editor?
GrahamC
14-May-2011
[10613x3]
Well, yes, but I'm only using a plain text .. so an editor that saves 
the current text regularly.

What I do at present is ... create an empty document on googledocs, 
and save the docid in the database.  I then browse to the doc on 
googledocs, edit it and save it.

I then go back to my rsp page and click on a button that imports 
the document as plain text.
here's how it works http://screencast.com/t/tDIbH8dYj
I guess the wiki editor on Qtask would work for me too.
Kaj
14-May-2011
[10616x2]
I collected links to several HTML editor widgets, but I don't know 
how they would do auto-saving
I guess it would need to be programmed on HTML5 local storage
GrahamC
14-May-2011
[10618]
How does Google do it?
Kaj
14-May-2011
[10619]
Google Docs is an extensive office suite in the cloud, with a server 
backend that does such functionality
GrahamC
14-May-2011
[10620]
Presumably there's some JS that does the saving?
Kaj
14-May-2011
[10621]
In any case. You could program something with a timer that sends 
the edit field to the server via AJAX, but you'd have to program 
the server as well
GrahamC
14-May-2011
[10622]
Do you know of any editors with such timer features?
Kaj
14-May-2011
[10623x2]
I didn't look at them that closely
A standalone editor widget sounds more like something that tries 
not to depend on a server or HTML5
GrahamC
14-May-2011
[10625]
I've seen some editors that are tied closely to php ...
Kaj
14-May-2011
[10626]
If that tickles your fancy
GrahamC
14-May-2011
[10627x2]
Those are the ones I need to avoid!
I guess I'm going to see if I can use tinymce .. http://tinymce.moxiecode.com/tryit/full.php
 just was hoping someone had one working well with rsp already.  
tinymce is overspecced for what I need.
Kaj
14-May-2011
[10629]
Yeah, that's one of the better ones I have bookmarked
GrahamC
14-May-2011
[10630x2]
This is a small editor with ajax support .. but probably no autosave 
http://remiya.com/htmlbox/index.php/12/demo/ajax-demo.html
but html ...
Kaj
14-May-2011
[10632]
Needs JQuery