Re: [9fans] web server

2009-04-19 Thread Steve Simon
http://myserver/magic/cgi/foo check the logfile /sys/log/httpd/clf also, don't you want to do somthing more like: http://myserver/magic/cgi/foo?var1=val1?var2=val2 This is an educated guess rather tha experience talking. -Steve

Re: [9fans] Plan9 - the next 20 years

2009-04-19 Thread Skip Tavakkolian
Well, in the octopus you have a fixed part, the pc, but all other machines come and go. The feeling is very much that your stuff is in the cloud. i was going to mention this. to me the current view of cloud computing as evidence by papers like this[1] are basically hardware infrastructure

[9fans] FAWN: Fast array of wimpy nodes (was: Plan 9 - the next 20 years)

2009-04-19 Thread John Barham
I certainly can't think ahead 20 years but I think it's safe to say that the next 5 (at least doing HPC and large-scale web type stuff) will increasingly look like this: http://www.technologyreview.com/computing/22504/?a=f, which talks about building a cluster from AMD Geode (!) nodes w/ compact

Re: [9fans] Adventures of a home user

2009-04-19 Thread yy
2009/4/19 Jim Habegger jimhabeg...@gmail.com: ... I did learn that I have to press buttons 1 and 3 together, instead of shift-3, to simulate button 2. IMO, this is a bug. The Shift+Button3 = Button2 behaviour is documented in the man page. I sent a (one-line) patch to Russ, but it looks like it

Re: [9fans] web server

2009-04-19 Thread erik quanstrom
http://myserver/magic/cgi/foo?var1=val1?var2=val2 i think you wish http://myserver/magic/cgi?var1=val1var2=val2 - erik

Re: [9fans] web server

2009-04-19 Thread john
http://myserver/magic/cgi/foo?var1=val1?var2=val2 i think you wish http://myserver/magic/cgi?var1=val1var2=val2 - erik So what are these magical vars? Where do I specify the cgi program to run? John

Re: [9fans] web server

2009-04-19 Thread erik quanstrom
On Sun Apr 19 09:13:28 EDT 2009, j...@csplan9.rit.edu wrote: http://myserver/magic/cgi/foo?var1=val1?var2=val2 i think you wish http://myserver/magic/cgi?var1=val1var2=val2 - erik So what are these magical vars? Where do I specify the cgi program to run? cgi is a

Re: [9fans] FAWN: Fast array of wimpy nodes (was: Plan 9 - the next 20 years)

2009-04-19 Thread Eric Van Hensbergen
On Sun, Apr 19, 2009 at 2:58 AM, John Barham jbar...@gmail.com wrote: I certainly can't think ahead 20 years but I think it's safe to say that the next 5 (at least doing HPC and large-scale web type stuff) will increasingly look like this: http://www.technologyreview.com/computing/22504/?a=f,

Re: [9fans] Adventures of a home user

2009-04-19 Thread erik quanstrom
john, eric, and yy, thanks! 9vx isn't working out very well for me so far. I'm trying to practice everything in the documentation on the Plan 9 site, then I'll work on the ideas that have been posted for me here. I was going to practice first in 9vx, because it's easier to switch back and

Re: [9fans] Adventures of a home user

2009-04-19 Thread Anthony Sorace
Jim Habegger wrote: // Adding a new user: that's not a 9vx issue; either you're misreading the documentation or it's incorrectly written (i'm not sure which bit you're reading for that). those commands are intended to be given to the file server, fossil, after connecting to the console posted in

Re: [9fans] Plan9 - the next 20 years

2009-04-19 Thread David Leimbach
On Sun, Apr 19, 2009 at 12:12 AM, Skip Tavakkolian 9...@9netics.com wrote: Well, in the octopus you have a fixed part, the pc, but all other machines come and go. The feeling is very much that your stuff is in the cloud. i was going to mention this. to me the current view of cloud

Re: [9fans] Adventures of a home user

2009-04-19 Thread Jim Habegger
Eric and Anthony, thank you. I'm stepping through the Plan 9 documentation at http://plan9.bell-labs.com/wiki/plan9/documentation/index.html. As you noticed, Anthony, I missed a step in adding a new user: con -l /srv/fscons That didn't work in 9vx either, I imagine for the reasons you

Re: [9fans] FAWN: Fast array of wimpy nodes (was: Plan 9 - the next 20 years)

2009-04-19 Thread John Barham
Economics beats technology every time (e.g., x86/amd64 vs. MIPS/Itanium, Ethernet vs. Infiniband, SATA vs. SCSI) so don't try to fight it. if those examples prove your point, i'm not sure i agree. having just completed a combined-mode sata/sas driver, scsi vs ata is is fresh on my mind.  

Re: [9fans] web server

2009-04-19 Thread Skip Tavakkolian
you could make local mods to your httpd so that paths starting with /cgi are given similar treatment as those that start with /magic; it would execute cgi and pass it the arguments as usual. then url is: http://myserver/cgi/foo?var1=1var2=2 and in script foo the $QUERY_STRING will be

Re: [9fans] 9P writes for directories

2009-04-19 Thread Enrico Weigelt
* Uriel urie...@gmail.com wrote: Hi folks, snip I've completely followed the whole thread, but just a few ideas how it could look like: Essentially we need the operations: #1: read from some file, ev. w/ some offset and a limit #2: write to some file, ev. w/ some offset #3: create

Re: [9fans] FAWN: Fast array of wimpy nodes (was: Plan 9 - the next 20 years)

2009-04-19 Thread erik quanstrom
To clarify, I meant that given X vs. Y, the cost benefits of X eventually overwhelm the initial technical benefits of Y. With SATA vs. SCSI in particular, I wasn't so much thinking of command sets or physical connections but of providing cluster scale storage (i.e., 10's or 100's of TB)

Re: [9fans] web server

2009-04-19 Thread erik quanstrom
On Sun Apr 19 12:03:54 EDT 2009, 9...@9netics.com wrote: you could make local mods to your httpd so that paths starting with /cgi are given similar treatment as those that start with /magic; it would execute cgi and pass it the arguments as usual. then url is:

Re: [9fans] Plan9 - the next 20 years

2009-04-19 Thread Enrico Weigelt
* Latchesar Ionkov lu...@ionkov.net wrote: Hi, I talked with a guy that's is doing parallel filesystem work, and according to him 80% of all filesystem operations when running an HPC job are for checkpointing (not that much restart). I just don't see how checkpointing can scale knowing how

Re: [9fans] Plan9 - the next 20 years

2009-04-19 Thread ron minnich
On Sun, Apr 19, 2009 at 12:34 PM, Enrico Weigelt weig...@metux.de wrote: I'm currently in the process of designing an clustered storage, inspired by venti and git, which also supports removing files, on-demand sychronization, etc. I'll let you know when I've got something to present. The

Re: [9fans] FAWN: Fast array of wimpy nodes (was: Plan 9 - the next 20 years)

2009-04-19 Thread tlaronde
On Sun, Apr 19, 2009 at 09:27:43AM -0500, Eric Van Hensbergen wrote: I'm not convinced that such ad-hoc DSM models are the way to go as a general principal. Full blown DSM didn't fair very well in the past. Plan 9 distributed applications take a different approach and instead of sharing

Re: [9fans] VMs, etc. (was: Re: security questions)

2009-04-19 Thread blstuart
The seesion would not be suspended, it would continue to operate as your agent and identity and, typically, accept mail on your behalf, perform background operations such as pay your accounts and in general represent you to the web to the extent that security (or lack thereof, for many

Re: [9fans] VMs, etc. (was: Re: security questions)

2009-04-19 Thread blstuart
people's ideas about what's complicated or hard don't change as quickly as computing power and storage has increased. i think there's currently a failure of imagination, at least on my part. there must be problems that aren't considered because they were hard. as an old example, i think

Re: [9fans] web server

2009-04-19 Thread Federico G. Benavento
skip is pretty much on the point exactly the same convention is valid for cgifs. http://machine/cgifs/script?var0=val0var1=val1 cgi as cgifs are programs that parse the requested uri and from there, after the 2nd '/', get the script name script in the example above. On Sun, Apr 19, 2009 at 2:05

Re: [9fans] web server

2009-04-19 Thread erik quanstrom
On Sun Apr 19 18:04:51 EDT 2009, benave...@gmail.com wrote: skip is pretty much on the point exactly the same convention is valid for cgifs. http://machine/cgifs/script?var0=val0var1=val1 cgi as cgifs are programs that parse the requested uri and from there, after the 2nd '/', get the

Re: [9fans] web server

2009-04-19 Thread Federico G. Benavento
again cgi is a standalone app, /n/sources/contrib/rsc/cgi.c is the one setting QUERY_STRING On Sun, Apr 19, 2009 at 8:21 PM, erik quanstrom quans...@quanstro.net wrote: On Sun Apr 19 18:04:51 EDT 2009, benave...@gmail.com wrote: skip is pretty much on the point exactly the same convention is

Re: [9fans] Security, take 2.

2009-04-19 Thread Iruata Souza
On Fri, Apr 17, 2009 at 2:43 PM, Devon H. O'Dell devon.od...@gmail.com wrote: Given the feedback from the list, I've come up with two alternatives. (Well, one of them was actually Mechiel's brainchild). Idea #1 (From Mechiel) Instead of doing typed allocations, give every user an allocation

Re: [9fans] web server

2009-04-19 Thread Skip Tavakkolian
i think John mentioned he was using cgi.c that's in Russ' contrib area. did i imagine it? (entirely possible) On Sun Apr 19 18:04:51 EDT 2009, benave...@gmail.com wrote: skip is pretty much on the point exactly the same convention is valid for cgifs.

Re: [9fans] web server

2009-04-19 Thread erik quanstrom
On Sun Apr 19 21:44:25 EDT 2009, 9...@9netics.com wrote: i think John mentioned he was using cgi.c that's in Russ' contrib area. did i imagine it? (entirely possible) i'm sorry. i took cgi to be a free variable. my mistake. - erik

Re: [9fans] Plan9 - the next 20 years

2009-04-19 Thread Skip Tavakkolian
ericvh stated it better in the FAWN thread. choosing the abstraction that makes the resulting environments have required attributes (reliable, consistent, easy, etc.) will be the trick. i believe with the current state of the Internet -- e.g. lack of speed and security -- service abstraction is

Re: [9fans] Adventures of a home user

2009-04-19 Thread andrey mirtchovski
cat /net/ipselftab and /net/iproute to see what address is assigned by ipconfig. also, start ndb/cs. the order is sometimes important, so i always do: ndb/cs ip/ipconfig ndb/dns -r # see man page for that argument cheers! On Sun, Apr 19, 2009 at 11:01 PM, Jim Habegger jimhabeg...@gmail.com

Re: [9fans] Adventures of a home user

2009-04-19 Thread Federico G. Benavento
afaik, I can't ping from qemu, so try hget http://google.com or something On Mon, Apr 20, 2009 at 2:01 AM, Jim Habegger jimhabeg...@gmail.com wrote: I'm working through the Plan 9 documentation at http://plan9.bell-labs.com/wiki/plan9/documentation/index.html. I'm running Plan 9 in QEMU in

Re: [9fans] Adventures of a home user

2009-04-19 Thread André Günther
The special case is here that he runs qemu. And the good news is: In qemu you are always in the same simulated network by default. Which is: your IP: 10.0.2.15 gateway: 10.0.2.2 dns: 10.0.2.3 hardcode these and you should be fine. (if you want to connect to the qemu machine: fiddle around