Re: Web app example using ersatz

2012-01-30 Thread Henrik Sarvell
Cool stuff Joe! Are you planning to work more on this or? On Mon, Jan 30, 2012 at 11:50 PM, Alexander Burger wrote: > Hi Jakob, > >> There is no silver bullet for this problem. Even images could be malicious. > > Yeah, that's right. But the wiki won't do anything with images or > videos, just

Re: Web app example using ersatz

2012-01-30 Thread Alexander Burger
Hi Jakob, > There is no silver bullet for this problem. Even images could be malicious. Yeah, that's right. But the wiki won't do anything with images or videos, just push them to the browser. So I assume the wiki itself is not in danger. Of course, there's no absolute security ;-) > Different w

Re: Web app example using ersatz

2012-01-30 Thread Jakob Eriksson
On January 30, 2012 at 4:35 PM Alexander Burger wrote: > We could extend it for arbitrary mimetypes, but then I'm not sure which > tag to generate. A simple might be dangerous in case someone uploads > a malign file, right? Any idea?   There is no silver bullet for this problem. Even images co

Re: Web app example using ersatz

2012-01-30 Thread Alexander Burger
On Mon, Jan 30, 2012 at 09:50:21AM -0500, Joe Bogner wrote: > I uploaded the code but couldn't figure out how to link to it on the page. I'm afraid this is not possible. The wiki supports only and tags for uploaded files so far. This distinction is done based on the file's mimetype. That is, if

Re: Web app example using ersatz

2012-01-30 Thread Jakob Eriksson
On January 30, 2012 at 3:50 PM Joe Bogner wrote: > I spent the weekend working on an example web app using ersatz. I've > written it up here: http://picolisp.com/5000/!wiki?ErsatzWebApp > > Please let me know what you think   Awesome. I will bless it with the first bug report! :-)   When you cr

Re: ersatz - can not access a member

2012-01-30 Thread Alexander Burger
Hi Joe, > I have a new proof of concept that allows ersatz to be embedded into a > java program which then allows it to be multi-threaded ( I think. Cool idea. > Still testing ). My assumption is that the static variables caused > everything to be shared across the process. Removing the static >

Re: json example w/ersatz

2012-01-30 Thread Alexander Burger
Hi Joe, > Are there any tips on how to port the json example to ersatz since it > does not support pipe? I experimented with parsing out the string into > a new string and calling str on it but didn't get very far yet. I'd > like something that can parse a string. The function 'str' is the brothe