Re: [9fans] 2 acmes using plan9port

2009-02-20 Thread Rudolf Sykora
thanks! R Heh, I'm doing both of the suggestions in this thread, with a wrapper script: http://sqweek.dnsdojo.org/plan9/acme -sqweek

[9fans] Mail configuration

2009-02-20 Thread hugo rivera
Hi there, I am using plan9port on linux, and I want to be able to read mail from some account I have in some server running IMAP. Since this is the first time I try to configure a mail client (gmail is just so easy) I have no clue on what exactly I should do or if it is even possible to read mail

Re: [9fans] Calling vac from C

2009-02-20 Thread anooop . anooop
On Feb 19, 8:03 am, quans...@quanstro.net (erik quanstrom) wrote: what's wrong with the tools-based approach you're currently using? this may be hard to believe coming from unix, but your approach is what many tools do.  nobody links to a tcs library.  one uses the tcs(1) executable.

Re: [9fans] Query regarding vac

2009-02-20 Thread anooop . anooop
that's probably because vac stores the metadata about the file as well as the file itself. the score is probably different because the access time of the file has changed. if you really always want the same score for the same file, i think you'll probably have to hack vac to do what you

Re: [9fans] Mail configuration

2009-02-20 Thread Russ Cox
I am using plan9port on linux, and I want to be able to read mail from some account I have in some server running IMAP. Since this is the first time I try to configure a mail client (gmail is just so easy) I have no clue on what exactly I should do or if it is even possible to read mail using

[9fans] tlssrv and tlsclient

2009-02-20 Thread Kenji Arisawa
Hello, I am hung up! Please any one help me. io% aux/listen1 'tcp!*!8010' /bin/tlssrv -c/sys/tls/cert /bin/aux/ trampoline 'tcp!io!7' term% tlsclient tcp!io!8010 tlsclient: tlsclient: devtls expected ver=301, saw (len=28207) type=2f ver=6269 '/bin/�H��!' term% tlssrv and tlsclient fails

Re: [9fans] Calling vac from C

2009-02-20 Thread erik quanstrom
I believe that 1) Its too much trouble parsing the output everytime. i don't buy that. that takes very little code. since you have evidently already written the code, the cost is zero. (if you're worried about runtime, i measure parsing time at 338ns on a core i7 920. cf. attached

Re: [9fans] Mail configuration

2009-02-20 Thread erik quanstrom
distribution; the file tree is slightly different than the standard upas/fs (more faithful to imap). It downloads pieces of the message as it needs them, so if you have big attachments, they don't get downloaded until you ask for them. [..] I used this setup for a few years against a dovecot

Re: [9fans] Mail configuration

2009-02-20 Thread erik quanstrom
Hi there, I am using plan9port on linux, and I want to be able to read mail from some account I have in some server running IMAP. Since this is the first time I try to configure a mail client (gmail is just so easy) I have no clue on what exactly I should do or if it is even possible to read

Re: [9fans] Calling vac from C

2009-02-20 Thread Uriel
One of the main costs of dynamic linking is making fork much slower. Even on linux statically linked binaries fork a few magnitude orders faster than dynamically linked ones. The main source of anti-fork FUD turns out to be the alleged 'solution' to a problem that didn't exist until the geniuses

Re: [9fans] Calling vac from C

2009-02-20 Thread erik quanstrom
On Fri Feb 20 11:18:41 EST 2009, urie...@gmail.com wrote: One of the main costs of dynamic linking is making fork much slower. Even on linux statically linked binaries fork a few magnitude orders faster than dynamically linked ones. The main source of anti-fork FUD turns out to be the

[9fans] impact of dynamic libraries on the speed of fork()

2009-02-20 Thread Chris Brannon
I wrote a really simple program, forktest.c. Next, I performed some experiments using this program. Fork is faster for statically linked executables. It becomes slower as more libraries are added to a dynamically linked executable. These tests were done on an x86 machine running Linux. Here is a

Re: [9fans] impact of dynamic libraries on the speed of fork()

2009-02-20 Thread Brian L. Stuart
I wrote a really simple program, forktest.c. Next, I performed some experiments using this program. Fork is faster for statically linked executables. It becomes slower as more libraries are added to a dynamically linked executable. What fascinates me here is that forktest doesn't even use

Re: [9fans] impact of dynamic libraries on the speed of fork()

2009-02-20 Thread erik quanstrom
On Fri Feb 20 14:35:45 EST 2009, cmbran...@cox.net wrote: I wrote a really simple program, forktest.c. Next, I performed some experiments using this program. Fork is faster for statically linked executables. It becomes slower as more libraries are added to a dynamically linked executable.

Re: [9fans] impact of dynamic libraries on the speed of fork()

2009-02-20 Thread Micah Stetson
I wrote a really simple program, forktest.c. Chris beat me to the punch, but I'm posting anyway because I went a different direction. I wrote some rc scripts that make static and dynamic libraries of various sizes and programs that use those libraries (trivially). For each number of functions

Re: [9fans] Westin lax for scale 7

2009-02-20 Thread Akshat Kumar
bof? ---BeginMessage--- Any 9fans here? We could do a bof. Ron -- Sent from my mobile device ---End Message---

Re: [9fans] Westin lax for scale 7

2009-02-20 Thread erik quanstrom
On Fri Feb 20 19:13:57 EST 2009, aku...@mail.nanosouffle.net wrote: bof? birds of a feather. it's a conference thing. - erik

Re: [9fans] Westin lax for scale 7

2009-02-20 Thread Geoffrey Avila
When will you be there? Does Sandia have a booth? -GBA Any 9fans here? We could do a bof. Ron

[9fans] page(1)

2009-02-20 Thread Akshat Kumar
Lately, page has been having troubles displaying an increasing number of PNG image files. I'm not sure whether this is due to any recent changes or what... Even a PNG of /dev/screen taken with topng(1) renders just the dreaded question-marks. Any ideas what's going on here (as a simple test,

Re: [9fans] Westin lax for scale 7

2009-02-20 Thread ron minnich
On Fri, Feb 20, 2009 at 4:43 PM, Geoffrey Avila a...@sdsc.edu wrote: When will you be there? Does Sandia have a booth? we have a coreboot booth. Sadly, this time, no boot plan9 on coreboot demos, there just was not time. ron

Re: [9fans] page(1)

2009-02-20 Thread erik quanstrom
On Fri Feb 20 20:05:49 EST 2009, aku...@mail.nanosouffle.net wrote: Lately, page has been having troubles displaying an increasing number of PNG image files. I'm not sure whether this is due to any recent changes or what... Even a PNG of /dev/screen taken with topng(1) renders just the

Re: [9fans] page(1)

2009-02-20 Thread Akshat Kumar
Neither works for me. term% hget http://9grid.es/screens/screen1.png|page reading through graphics... warning: couldn't read image: readimage: read count 32400 not 64800: screen id in use ---BeginMessage--- On Fri Feb 20 20:05:49 EST 2009, aku...@mail.nanosouffle.net wrote: Lately, page has

Re: [9fans] page(1)

2009-02-20 Thread Russ Cox
On Fri, Feb 20, 2009 at 5:03 PM, Akshat Kumar aku...@mail.nanosouffle.net wrote: Lately, page has been having troubles displaying an increasing number of PNG image files. I'm not sure whether this is due to any recent changes or what... Even a PNG of /dev/screen taken with topng(1) renders

Re: [9fans] page(1)

2009-02-20 Thread Akshat Kumar
No, they don't work in png(1) either: term% hget http://9grid.es/screens/screen1.png|png png: loadimage stdin of 243 bytes failed: loadimage: insufficient data term% png n/dump/usr/akumar/plan9/screens/nihongonokawa.png png: loadimage n/dump/usr/akumar/plan9/screens/nihongonokawa.png of

Re: [9fans] page(1)

2009-02-20 Thread erik quanstrom
On Fri Feb 20 20:29:55 EST 2009, aku...@mail.nanosouffle.net wrote: Neither works for me. term% hget http://9grid.es/screens/screen1.png|page reading through graphics... warning: couldn't read image: readimage: read count 32400 not 64800: screen id in use you should also try running

Re: [9fans] page(1)

2009-02-20 Thread Federico G. Benavento
hola, I haven't had the time to debug it, but readpng() changed in the last days and it doesn't work correctly anymore. I jdid yesterday -c /386/bin/png and everything went back to normal. On Fri, Feb 20, 2009 at 10:49 PM, erik quanstrom quans...@quanstro.net wrote: On Fri Feb 20 20:29:55 EST

[9fans] proxy server

2009-02-20 Thread Kenji Arisawa
Hello, I have written HTTP proxy server that runs on Plan 9 and is written in Lua. Look http://plan9.aichi-u.ac.jp/netlib/lua/ I developed proxy.lua to inspect live HTTP communication therefore the server does nothing but transfer. However I believe adding other functionalities is not so

Re: [9fans] clarification needed

2009-02-20 Thread Dan Cross
On Fri, Feb 20, 2009 at 12:35 AM, andrey mirtchovski mirtchov...@gmail.com wrote: On Thu, Feb 19, 2009 at 10:28 PM, Andrew Simmons kod...@gmail.com wrote: Is this exchange part of the script for the forthcoming reality TV show Harold and Kumar go to Murray Hill ? your horrible joke gave me an

Re: [9fans] clarification needed

2009-02-20 Thread erik quanstrom
your horrible joke gave me an idea to photochop jmk and brucee in this pic: http://gnathaniel.files.wordpress.com/2007/10/harold_and_kumar_go_to_white_castle__1_.jpg but, like so many other things plan9, i didn't. so i posted to 9fans. Dude. I will PAY you money does that go