[9fans] How to implement a moral equivalent of automounter in Plan9?

2008-11-30 Thread Roman Shaposhnik
Hi Guys! I've been trying to implement a "lazy bind/mount" in Plan9 and it dawned on me that I don't really know any way of modifying calling process's namespace on-demand. In a automounter-like style. Now, before you tell me that I shouldn't be doing it (well, may be I shouldn't, but pl

Re: [9fans] Grid computing architecture w/ 9P + Java ;-)

2008-11-30 Thread Roman Shaposhnik
On Nov 30, 2008, at 4:40 PM, Enrico Weigelt wrote: Hi folks, I'm currently playing around with some ideas for a new (or perhaps very old ? ;-o) computing architecture, based on 9P + Java. It's a bit of old Burroughs MF, a bit of Ambric and a bit ja Java ;-o The idea bind: have a bunch of tiny

Re: [9fans] image/memimage speed

2008-11-30 Thread Paul Lalonde
Minor gripe as a graphics person - I loathe frames per second as a performance measure. Because of the inverse you can't really compare the numbers. Consider the difference in improvement between 1fps and 2fps compared to 29fps and 30fps. Both improve by 1fps, but they represent dramatic

Re: [9fans] image/memimage speed

2008-11-30 Thread andrey mirtchovski
cool, thanks! those do almost everything: loadimage() from bytes, drawing onto the screen using itself as a source, drawing primitives (lines and circles), alpha blending (glenda and hyperglenda) as well as unloadimage() for the case where the screen is being resized. i'll try to dig out a parall

Re: [9fans] Grid computing architecture w/ 9P + Java ;-)

2008-11-30 Thread Uriel
Ever heard of Inferno? Or are you using java purely for the masochistic pleasure? uriel On Mon, Dec 1, 2008 at 1:40 AM, Enrico Weigelt <[EMAIL PROTECTED]> wrote: > > Hi folks, > > > I'm currently playing around with some ideas for a new (or perhaps > very old ? ;-o) computing architecture, based

Re: [9fans] Grid computing architecture w/ 9P + Java ;-)

2008-11-30 Thread Fernan Bolando
On 12/1/08, Enrico Weigelt <[EMAIL PROTECTED]> wrote: > > Hi folks, > > > I'm currently playing around with some ideas for a new (or perhaps > very old ? ;-o) computing architecture, based on 9P + Java. > It's a bit of old Burroughs MF, a bit of Ambric and a bit ja Java ;-o > > The idea bind: have

Re: [9fans] image/memimage speed

2008-11-30 Thread erik quanstrom
> can you report timings on the xscreensaver hacks (link at bottom)? sure. a few of the programs didn't seem to work (delayscreen and polydominoes). mountain, sphere and spirograph seemed to hum right along. - erik ; cat '#P/archctl' cpu AMD64 2604 pge pge on coherence mfence cmpswap cmpswap48

Re: [9fans] image/memimage speed

2008-11-30 Thread andrey mirtchovski
can you report timings on the xscreensaver hacks (link at bottom)? they have a "benchmarking" option -b S which lets you see how many fps they're doing: mk all; for (i in 8.*) { echo -n $i^': '; $i -b 5 } would run each hack for 5 seconds and let you know what their fps is. i used to get incred

Re: [9fans] image/memimage speed

2008-11-30 Thread erik quanstrom
>> what I'm seeking is a way to avoid the unloadimage() call in nn.c, if >> that's possible - which, by my understanding of the manual and code, >> is not. >> alternatively I could try drawing the memimage to the screen, which I >> did not find possible directly, only by converting it to an image.

[9fans] Grid computing architecture w/ 9P + Java ;-)

2008-11-30 Thread Enrico Weigelt
Hi folks, I'm currently playing around with some ideas for a new (or perhaps very old ? ;-o) computing architecture, based on 9P + Java. It's a bit of old Burroughs MF, a bit of Ambric and a bit ja Java ;-o The idea bind: have a bunch of tiny Java machines (not the whole JEE bloat, just a very

Re: [9fans] image/memimage speed

2008-11-30 Thread Iruata Souza
On Sun, Nov 30, 2008 at 8:00 PM, Iruata Souza <[EMAIL PROTECTED]> wrote: > 9fans, > > I'm playing with nearest-neighbor image resampling and wrote two > simple implementations - http://tmp.oitobits.net/iru/nn.c, > http://tmp.oitobits.net/iru/nnmem.c - one using draw(2) and the other > using memdraw

Re: [9fans] libixp

2008-11-30 Thread Enrico Weigelt
* Giacomo Tesio <[EMAIL PROTECTED]> wrote: > Anyone know if with such a library I could write an application > on linux mountable from Plan 9? libmixpsrv cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ ce

[9fans] image/memimage speed

2008-11-30 Thread Iruata Souza
9fans, I'm playing with nearest-neighbor image resampling and wrote two simple implementations - http://tmp.oitobits.net/iru/nn.c, http://tmp.oitobits.net/iru/nnmem.c - one using draw(2) and the other using memdraw(2). running them on the same image on disk shows that nnmem is way faster: cpu% n

Re: [9fans] Sources down

2008-11-30 Thread Francisco J Ballesteros
We are maintaining at sources.lsub.org a mirror for sources' plan9 and google code inferno. 9fs sources.lsub.org should work from plan9. hth On Sun, Nov 30, 2008 at 9:34 PM, <[EMAIL PROTECTED]> wrote: > Browsing the source via http is disabled again, probably temporarily. > I'm looking into wha

Re: [9fans] Sources down

2008-11-30 Thread geoff
Browsing the source via http is disabled again, probably temporarily. I'm looking into what's consuming (or limiting) the bandwidth on our internet connection and into improving the performance of our outside web server.

Re: [9fans] Sources down

2008-11-30 Thread Charles Forsyth
it works for me. which page are you accessing?--- Begin Message --- web interface is actually down -- Roma--- End Message ---

Re: [9fans] Sources down

2008-11-30 Thread Roman Zhukov
web interface is actually down -- Roma

Re: [9fans] Dir->type & Dir->dev

2008-11-30 Thread Charles Forsyth
Qid.type is defined to be equal to the top 8 bits of mode (see stat(5)) and type and dev are defined to be for kernel use (also stat(5)) which is fine if you're not in the kernel. but what if you are? type is just the device [unicode] letter, and dev is assigned by the device, and might be the inde

Re: [9fans] Dir->type & Dir->dev

2008-11-30 Thread Eric Van Hensbergen
On Sun, Nov 30, 2008 at 9:18 AM, erik quanstrom <[EMAIL PROTECTED]> wrote: > > there is a dir.type and a dir.qid.type. i believe these are different. > the comment above dir.type in /sys/include/libc.h says that it's > system modified. and, e.g. /mail/fs shows up as from the mount > driver. the

Re: [9fans] gmail imap

2008-11-30 Thread erik quanstrom
On Sun Nov 30 01:08:00 EST 2008, [EMAIL PROTECTED] wrote: > On Fri, Nov 21, 2008 at 2:18 PM, Eris Discordia > <[EMAIL PROTECTED]> wrote: > > I don't know about the technical details > > Well said sir! > > Ian thanks for reminding me. nupas/fs now works around gmail's bugs. /n/sources/contrib/q

Re: [9fans] Dir->type & Dir->dev

2008-11-30 Thread erik quanstrom
On Sun Nov 30 10:12:00 EST 2008, [EMAIL PROTECTED] wrote: > The main pages are a little unclear as to the convention for > assignment of dir->type & dir->dev, particularly with respect to > synthetic file servers. For devices I gather that type is the device > id (ie. 'c' for cons) and that dev is

[9fans] Dir->type & Dir->dev

2008-11-30 Thread Eric Van Hensbergen
The main pages are a little unclear as to the convention for assignment of dir->type & dir->dev, particularly with respect to synthetic file servers. For devices I gather that type is the device id (ie. 'c' for cons) and that dev is the instance (ie. #I2 for an alternate IP stack). Their use seem

Re: [9fans] Sources down

2008-11-30 Thread Richard Miller
> sources seems to be down: I don't think so. term% 9fs sources post... term% lc /n/sources 9grid contrib du fastos patch wiki adm distextra lsr plan9 xen term% date Sun Nov 30 12:38:11 GMT 2008 term%

[9fans] Sources down

2008-11-30 Thread Rodolfo kix Garcia
Hi! sources seems to be down: Object not found The object / does not exist on this server. errstr: '/bin/ip/httpd/sources' does not exist uri host: header host: actual host: plan9.bell-labs.com Saludos, kix.

Re: [9fans] non greedy regular expressions

2008-11-30 Thread Yard Ape
"Rudolf Sykora" wrote: > I have a file say like this > > ABC asassadfasdf asdfasdf asdfasdf CBA hhjjioioioi > sodifs > sdfsd > ABC > dasdfas aasdfa > njnjn CBA > > and I want to get > > ' asassadfasdf asdfasdf asdfasdf ' > 'dasdfas aasdfa' > 'njnjn' > > ...i.e. delimited with AB