Re: [9fans] another webfs question

2009-03-27 Thread erik quanstrom
It seems I'm hitting this error when sending some GET requests: In /sys/src/cmd/webfs/url.c: if(strstr(url, %00)){ werrstr(escaped NUL in URI); return -1; } I haven't fully understood the comment above, especially if it is against the RFC to

Re: [9fans] another webfs question

2009-03-27 Thread Devon H. O'Dell
2009/3/27 erik quanstrom quans...@quanstro.net: It seems I'm hitting this error when sending some GET requests: In /sys/src/cmd/webfs/url.c:       if(strstr(url, %00)){               werrstr(escaped NUL in URI);               return -1;       } I haven't fully understood the comment

Re: [9fans] another webfs question

2009-03-27 Thread Mathieu Lonjaret
Ok, thanks to both. In the meanwhile, mjl pointed me to http://www.ietf.org/rfc/rfc3986.txt, sect. 7.3, where this can found: Note, however, that the %00 percent-encoding (NUL) may require special handling and should be rejected if the application is not expecting to receive raw data within a

Re: [9fans] another webfs question

2009-03-27 Thread erik quanstrom
Yeah, there aren't any. That's the point of URL encoding; NULL bytes are as acceptable as any other, and your client should be able to handle them -- so I think that webfs check is just bogus. It should just encode it as a \0 and pass it through. (you do mean %00 should result in a byte with

Re: [9fans] another webfs question

2009-03-27 Thread Devon H. O'Dell
2009/3/27 erik quanstrom quans...@coraid.com: Yeah, there aren't any. That's the point of URL encoding; NULL bytes are as acceptable as any other, and your client should be able to handle them -- so I think that webfs check is just bogus. It should just encode it as a \0 and pass it through.

Re: [9fans] another webfs question

2009-03-27 Thread erik quanstrom
assuming that every application that uses webfs is prepared to handle a null byte in the middle of a string.  what webfs does — complaining loudly — is much preferrable to programs misbehaving silently.  since it's quite likely that plan 9 applications are not going to properly deal with

[9fans] plan9 for calculations

2009-03-27 Thread Rudolf Sykora
Hello everybody, I noticed there are some thoughts about using plan9 on supercomputers. For me supercomputers are usually used to do some heavy calculations. And this leads me to a question. What software is then used for programming these calculations? (I mean e.g. linear algebra, i.e. matrix,

Re: [9fans] plan9 for calculations

2009-03-27 Thread Fernan Bolando
On Sat, Mar 28, 2009 at 5:31 AM, Rudolf Sykora rudolf.syk...@gmail.com wrote: Hello everybody, I noticed there are some thoughts about using plan9 on supercomputers. For me supercomputers are usually used to do some heavy calculations. And this leads me to a question. What software is then

Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-27 Thread Uriel
On Thu, Mar 26, 2009 at 10:22 PM, Pietro Gagliardi pietr...@mac.com wrote: A 9vx, p9p or inferno cocoa port is a project that seems fairly I can do one of these; which is the most needed/wanted? Personally I have no preference, any of the three would be great to have, probably the p9p one is

Re: [9fans] 9P writes for directories

2009-03-27 Thread Uriel
Some of us have been thinking about a 'sane' subset of HTTP plus some conventions, that could reasonably map to 9p. The main issue is the huge amounts of crud in the HTTP spec and how to pick the sensible bits and discard the rest while remaining compatible with existing implementations; the main

Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-27 Thread Eric Van Hensbergen
If you take the right approach you should be able to pave the way for all three. Just keep the interface modular and implement the hooks for the target you are most comfortable with. -eric Sent from my iPhone On Mar 27, 2009, at 8:21 PM, Uriel urie...@gmail.com wrote: On Thu, Mar 26,

Re: [9fans] plan9 for calculations

2009-03-27 Thread Roman V. Shaposhnik
On 03/27/09 14:31, Rudolf Sykora wrote: Hello everybody, I noticed there are some thoughts about using plan9 on supercomputers. For me supercomputers are usually used to do some heavy calculations. And this leads me to a question. What software is then used for programming these calculations?

[9fans] GSOC proposal

2009-03-27 Thread Bruce Ellis
Just a suggestion, A good forth system using acme, probably based on fgb's 4th. The goal is to conquer the Seaforth chip. I know the dev kit is US$500 but their compiler and simulator, written in forth, doesn't need hardware. And at least two 9fans have a kit. brucee

[9fans] fossil caching venti errors

2009-03-27 Thread Nathaniel W Filardo
Entertaining. Indented lines are fossil console; nonindented are at a normal CPU prompt. cpu% 9fs 9fs: venti i/o error or wrong score, block 558b88fbae4e0aa894c614fb3eeccf4d2f7492ca main: venti tcp!xxx.xxx.xxx.xxx!x cpu% 9fs 9fs: venti i/o error or wrong score, block

Re: [9fans] grist for the synchronous vs. asynchronous mill

2009-03-27 Thread Roman Shaposhnik
On Mar 24, 2009, at 5:51 AM, roger peppe wrote: http://www.classhat.com/tymaPaulMultithread.pdf Java has its own share of issues when it comes to multithreading, I'd rather see a presentation like that from the sort of guys who do VoIP servers in C/C++ and things like that. Thanks, Roman.

Re: [9fans] 9P writes for directories

2009-03-27 Thread Roman Shaposhnik
On Mar 27, 2009, at 6:36 PM, Uriel wrote: Some of us have been thinking about a 'sane' subset of HTTP plus some conventions, that could reasonably map to 9p. Interestingly enough, that's exactly the quest I'm on. I'd appreciate a chance of talking to likeminded folks. The main issue is