Re: [9fans] Do we have a catalog of 9P servers?

2008-11-21 Thread Eris Discordia
wrong. binary would be the opposite of text. Now I'm becoming convinced you are trying to infuriate me. That "9P is actually binary" is a _fact_, which you presented to me, thank you, okay? But, the _idea_, which existed in the posting you had quoted, remained and remains the same nonetheles

[9fans] /sys/src/libdraw/arith.c:163

2008-11-21 Thread lucio
The code is: extern ulong drawld2chan[] = { GREY1, GREY2, GREY4, CMAP8, }; and GCC (yes, that one!) complains about it: gcc -c -Wall -D_PLAN_9 -D_POSIX_SOURCE -D_PLAN9_SOURCE -I. /sys/src/libdraw/ari

Re: [9fans] /sys/src/libdraw/arith.c:163

2008-11-21 Thread lucio
> and GCC (yes, that one!) complains about it: Here's another: /sys/src/libdraw/window.c:25 s = malloc(sizeof(Screen)); if(s == 0) return 0; SET(id); for(try=0; try<25; try++){ I can't seem to find a definition for SET() a

Re: [9fans] Gmail and upas

2008-11-21 Thread Robert Raschke
With Gmail you also have to be aware of the fact that Google does not actually implement IMAP to the standard. There are quite a few odd behaviours. A notable one has to do with deletion of emails, but I can't find the exact reference just now. (I can try digging if you're really intereested.) Rob

Re: [9fans] /sys/src/libdraw/arith.c:163

2008-11-21 Thread lucio
>> I can't seem to find a definition for SET() anywhere, although I may >> not be looking in the right places. > > /sys/src/cmd/cc/lex.c:1163 Hm. So kencc knows about it, but it seems an undocumented feature. How do I express it to suit GCC given that I don't know what it does? And can I express

Re: [9fans] /sys/src/libdraw/arith.c:163

2008-11-21 Thread Richard Miller
> Hm. So kencc knows about it, but it seems an undocumented feature. Documented here: /sys/doc/comp.ms:1256,1266 > How do I express it to suit GCC given that I don't know what it does? Just replace SET(x) with x = 0;

Re: [9fans] /sys/src/libdraw/arith.c:163

2008-11-21 Thread lucio
> Documented here: > > /sys/doc/comp.ms:1256,1266 Thank you, I've been looking for this type of thing for a long time (since typestr made its first appearance in kencc), but I could have sworn there had been no updates to the compiler documentation. Trust me to overlook the obvious. ++L

Re: [9fans] web-based plan 9?

2008-11-21 Thread matt
Moreover such a dbfs should allow rapid development of views over data (with different permissions) by simply write the query in a file and then open the file for reading the XML. I've tried a couple of times to map files / directories on to SQL and it is not a great match imho. I wrote

Re: [9fans] /sys/src/libdraw/arith.c:163

2008-11-21 Thread Richard Miller
> I can't seem to find a definition for SET() anywhere, although I may > not be looking in the right places. /sys/src/cmd/cc/lex.c:1163

Re: [9fans] web-based plan 9?

2008-11-21 Thread Giacomo Tesio
First of all... Thanks for your reply! I hope we could continue this brainstorm... it was really useful for me. On Fri, Nov 21, 2008 at 12:18 AM, Skip Tavakkolian <[EMAIL PROTECTED]> wrote: > >- provide access to relational database towards a dedicated fs (with > XML > >rappresentation o

Re: [9fans] web-based plan 9?

2008-11-21 Thread Tom Lieber
On Fri, Nov 21, 2008 at 6:55 AM, matt <[EMAIL PROTECTED]> wrote: > I've tried a couple of times to map files / directories on to SQL and it is > not a great match imho. > > I wrote a Limbo module that handles the postgresql protocol and frankly > that's as far as I thought it should be taken, write

Re: [9fans] Gmail and upas

2008-11-21 Thread erik quanstrom
first, a note about setting up gmail. you'll want to add this thumbprint to /sys/lib/tls/mail: x509 sha1=e221be6be22afd3b3244199476cbb136da4ad02d cn=*.gmail.com unless you've added this, the messages are downright cryptic. > into my profile, (after the plumber, before I start rio; as per the >

Re: [9fans] web-based plan 9?

2008-11-21 Thread matt
I split my system into two - one to deal with the SQL and one that makes a FS tree from columnated data. Though I abandoned dev on the tree because I just ended up accessing the data through the Limbo pg module directly. How was the data more outdated than when you used pg directly? I

Re: [9fans] Gmail and upas

2008-11-21 Thread Rudolf Sykora
hello, seems you use IMAP to read gmail. I usually read my gmail mail through my web browser, which is not a problem from opera/firefox in linux. However, I can't do the same from plan9. Neither abaco, nor charon work. Is this so for everyone or just for me? Thanks. Ruda

Re: [9fans] D-Bus ...

2008-11-21 Thread Magnus Deininger
yeah that sums it up pretty much perfectly :| it's funny how 9p is a lot smaller (as a protocol and for implementing) and it could be used for just about the same stuff... if it would at least have had the courtesy of solving a new problem... _

Re: [9fans] Gmail and upas

2008-11-21 Thread Robert Raschke
On Fri, Nov 21, 2008 at 2:14 PM, erik quanstrom <[EMAIL PROTECTED]> wrote: > by the way, i don't know of any way that gmail imap is not standard. > perhaps this is in some esoteric corners of the protocol i'm not > familar with. for the basic stuff, i haven't seen any issues at all. The two immed

Re: [9fans] Gmail and upas

2008-11-21 Thread erik quanstrom
> > by the way, i don't know of any way that gmail imap is not standard. > > perhaps this is in some esoteric corners of the protocol i'm not > > familar with. for the basic stuff, i haven't seen any issues at all. > > The two immediate issues I am aware of (via the UW-IMAP list) is that > MIME p

Re: [9fans] web-based plan 9?

2008-11-21 Thread Giacomo Tesio
> I ended up just adding the PGmodule to the app instead. You used libpq to write such a PGmodule? I worked with PostgreSQL for 6 year... I find it wonderfull, and I would use it as the db backend for any opensource application I would write. > I realise that exporting and mounting would be fa

[9fans] sources web interface has gone screwy

2008-11-21 Thread matt
http://plan9.bell-labs.com/sources/contrib/ sed: Can't open s/PATH/\/n\/sources\/contrib/g; s/CONTRIB/is/g; d-rwxrwxr-x aganti sys 0 May 21 2008 aganti d-rwxrwxr-x alltom sys 0 Feb 20 2008 alltom

Re: [9fans] web-based plan 9?

2008-11-21 Thread matt
> You used libpq to write such a PGmodule? No I didn't use libpq, I wrote the client from the protocol spec http://www.postgresql.org/docs/8.3/static/protocol.html These are the latest ones online http://plan9.bell-labs.com/sources/contrib/maht/limbo/module/pg.m http://plan9.bell-labs.com/sour

Re: [9fans] sources web interface has gone screwy

2008-11-21 Thread Iruata Souza
http://9fans.net/archive/2008/10/99 On Fri, Nov 21, 2008 at 1:40 PM, matt <[EMAIL PROTECTED]> wrote: > http://plan9.bell-labs.com/sources/contrib/ > > > sed: Can't open s/PATH/\/n\/sources\/contrib/g; s/CONTRIB/is/g; d-rwxrwxr-x > aganti sys 0 May 21 2008 aganti >

Re: [9fans] sources web interface has gone screwy

2008-11-21 Thread Uriel
You mean that http://plan9.bell-labs.com is up at all? Now that is news! uriel On Fri, Nov 21, 2008 at 4:40 PM, matt <[EMAIL PROTECTED]> wrote: > http://plan9.bell-labs.com/sources/contrib/ > > > sed: Can't open s/PATH/\/n\/sources\/contrib/g; s/CONTRIB/is/g; d-rwxrwxr-x > aganti sys 0 May 21 200

Re: [9fans] sources web interface has gone screwy

2008-11-21 Thread Jeff Sickel
Might I suggest a pre-generated cache of the static html for sources/ contrib? Maybe in the same vein as what wikifs creates on a file save, or if not a daily or every few hour run script? Then again, I guess I should ask for an account to be created again so I could contribute a fix inste

Re: [9fans] web-based plan 9?

2008-11-21 Thread erik quanstrom
> xmlfs is a pain because it has anonymous entries so you need a way of > organising it > > > 123 > 456 > once upon a time, when god was a small boy i worked on a distributed search product. the search engine we were using was OpenText whose chief tech guy was (drumroll) tim bray. ot return

Re: [9fans] sources web interface has gone screwy

2008-11-21 Thread geoff
It's working again. A script that had been working for years suddenly needed $variable changed to $"variable. I'm not sure why it worked previously.

Re: [9fans] web-based plan 9?

2008-11-21 Thread Giacomo Tesio
> > I'd like to know how do you would map the operations to the filesystem. >> >> > one directory per queryset row returned (possibly named by the primary > key), one file per column > Ok... I read it somewhere in the archives of the list. But I found it a little "inadeguate": - what about multip

Re: [9fans] web-based plan 9?

2008-11-21 Thread matt
Ok... I read it somewhere in the archives of the list. But I found it a little "inadeguate": me too, for all the reasons you listed, that's why I stopped. I learned the pg protocol and saw it didn't map very well. I couldn't see what one would gain over writing raw SQL to a file. Reading res

Re: [9fans] web-based plan 9?

2008-11-21 Thread erik quanstrom
>- a "ctrl" file which accept only COMMIT, ROLLBACK and ABORT >- an "error" file >- a "notice" file (postgresql has RAISE NOTICE... may be others have it >too) >- a "data" file (append only in the transaction, but not outside) where >the INSERT, UPDATES, DELETE and all the D

[9fans] gmail imap

2008-11-21 Thread erik quanstrom
there definately is a bug in gmail's imap 3 uid fetch 29 (rfc822.size) * 29 FETCH (UID 29 RFC822.SIZE 1234) 3 OK Success 3 uid fetch 29 (body[]) * 29 FETCH (UID 29 BODY[] {1246} [...] oops. the obvious bug, that the body of the email is 1246 - 1234 lines long and they forgot to count the s added

Re: [9fans] web-based plan 9?

2008-11-21 Thread a
On db ↔ fs conversions: // datas (and their relations) MUST be kept consistents. there's two things you could mean here: either the relations between the data fields/types or the relations between their values. SQL databases are interesting because they don't do anything to keep the relations cons

[9fans] (no subject)

2008-11-21 Thread erik quanstrom
Subjet: email attacks since our friends in sweeden helped out our spammer friends get back on line, i've seen a lot more attacks. today i've been getting ~10 connections/sec. fortunately its from a small number of machines, so this trick helps alot: /n/dump/2008/1121/sys/src/cmd/upas/smtp/smtpd

Re: [9fans] gmail imap

2008-11-21 Thread Eris Discordia
I don't know about the technical details but I have tried GMail's IMAP and it seems to work fine with mainstream clients--I've tested Microsoft Office Outlook (2003 and 2007), Mozilla Thunderbird, Cyrus Daboo's Mulberry (which is my preferred client), and Pegasus Mail. Of these I know for certai

Re: [9fans] Gmail and upas

2008-11-21 Thread Eris Discordia
seems you use IMAP to read gmail. I usually read my gmail mail through my web browser, which is not a problem from opera/firefox in linux. However, I can't do the same from plan9. Neither abaco, nor charon work. Is this so for everyone or just for me? Thanks. GMail's normal web interface is a he

Re: [9fans] Gmail and upas

2008-11-21 Thread a
Gmail's basic HTML interface *almost* works with abaco "out of the box". The failure isn't abaco, it's webfs. If you take /n/sources/contrib/fgb/cookies.c, bind or copy it over /sys/src/cmd/webfs/cookies.c, and rebuild, the new webfs and abaco will work fine. I don't know why fgb hasn't submitted

Re: [9fans] Gmail and upas

2008-11-21 Thread David Welling
I'm quite impressed by the horde of responses this has garnered in little more than 15 hours, I thank everyone for their help. I have not yet tried nupas, but have gotten a reasonable solution working. It appeared that while I was tweaking my setup (and rebooting often, causing upas to re-download

Re: [9fans] Gmail and upas

2008-11-21 Thread Iruata Souza
On Fri, Nov 21, 2008 at 5:33 PM, Eris Discordia <[EMAIL PROTECTED]> wrote: > FUN FACT: GMail works well with links/elinks. > does humans work well with that software? iru

Re: [9fans] Gmail and upas

2008-11-21 Thread Eris Discordia
does humans work well with that software? I do, but I doubt I qualify as human--from your point of view. --On Friday, November 21, 2008 5:52 PM -0200 Iruata Souza <[EMAIL PROTECTED]> wrote: On Fri, Nov 21, 2008 at 5:33 PM, Eris Discordia <[EMAIL PROTECTED]> wrote: FUN FACT: GMail works wel

Re: [9fans] Gmail and upas

2008-11-21 Thread Iruata Souza
On Fri, Nov 21, 2008 at 5:57 PM, Eris Discordia <[EMAIL PROTECTED]> wrote: >> does humans work well with that software? > > I do, but I doubt I qualify as human--from your point of view. > since the software was written with you in mind, I suppose it fits well, then. iru ps: I love science

Re: [9fans] Gmail and upas

2008-11-21 Thread Eris Discordia
ps: I love science Yeah, and that must be UV. P.S. I know I shouldn't be replying and further staining my already messed up reputation here. --On Friday, November 21, 2008 6:16 PM -0200 Iruata Souza <[EMAIL PROTECTED]> wrote: On Fri, Nov 21, 2008 at 5:57 PM, Eris Discordia <[EMAIL PROTEC

[9fans] plan9port

2008-11-21 Thread Rudolf Sykora
Hello, (this is probably targeted at Russ Cox...) Why, on http://swtch.com/debian/dists/testing/main/binary-i386/Packages the description of Package: plan9port-bin24 says This package contains binaries for Linux 2.6 and later kernels while Package: plan9port-bin26 says This package contains binar

Re: [9fans] (no subject)

2008-11-21 Thread Kenji Arisawa
Hello, If such an attack continues for some minutes and the server does not reject the connections the server will create thousands of smtpd processes and might be hung up. Kenji Arisawa On 2008/11/22, at 3:28, erik quanstrom wrote: Subjet: email attacks since our friends in sweeden hel

Re: [9fans] plan9port

2008-11-21 Thread Uriel
Ignore those packages, they are insanely ancient and don't really fit well with debian's packaging system anyway. Use a checkout from the hg repo instead, and if you really want, build your own packages. uriel On Fri, Nov 21, 2008 at 10:09 PM, Rudolf Sykora <[EMAIL PROTECTED]> wrote: > Hello, (t

Re: [9fans] (no subject)

2008-11-21 Thread erik quanstrom
> Hello, > > If such an attack continues for some minutes and the server does not > reject the connections > the server will create thousands of smtpd processes and might be hung > up. > > Kenji Arisawa > but that's not what happens. waiting for 15 seconds decreases the load to near zero.

Re: [9fans] /sys/src/libdraw/arith.c:163

2008-11-21 Thread Russ Cox
On Fri, Nov 21, 2008 at 1:41 AM, <[EMAIL PROTECTED]> wrote: > The code is: > >extern ulong >drawld2chan[] = { >GREY1, >GREY2, >GREY4, >CMAP8, >}; > > and GCC (yes, that one!) complains about it: > >gcc

Re: [9fans] plan9port

2008-11-21 Thread Russ Cox
Fixed (rm -rf debian). It was an experiment that I abandoned. Best to build from sources, as Uriel suggests. Russ

Re: [9fans] Gmail and upas

2008-11-21 Thread Federico G. Benavento
eris, relax http://groups.google.com/group/comp.os.plan9/msg/406fc491a206e562 http://abaco.oitobits.net/images/abaco-ss-00.jpg On 11/21/08, Eris Discordia <[EMAIL PROTECTED]> wrote: >> ps: I love science > > Yeah, and that must be UV. > > P.S. I know I shouldn't be replying and further stainin

Re: [9fans] Gmail and upas

2008-11-21 Thread Jack Johnson
On Fri, Nov 21, 2008 at 5:43 AM, Rudolf Sykora <[EMAIL PROTECTED]> wrote: > seems you use IMAP to read gmail. I usually read my gmail mail through > my web browser, which is not a problem from opera/firefox in linux. > However, I can't do the same from plan9. Neither abaco, nor charon > work. Is th

Re: [9fans] Gmail and upas

2008-11-21 Thread Jack Johnson
On Fri, Nov 21, 2008 at 7:52 PM, Jack Johnson <[EMAIL PROTECTED]> wrote: > and then it follows up with: > > GO TO > https://www.google.com/accounts/'http:/mail.google.com/mail/h/19sso9tatmt7r/?ui=html&zy=l' > > which doesn't seem to match the continue parameter from the last request. I just disab

Re: [9fans] Gmail and upas

2008-11-21 Thread Eris Discordia
http://groups.google.com/group/comp.os.plan9/msg/406fc491a206e562 http://abaco.oitobits.net/images/abaco-ss-00.jpg Lucky for me, I did suggest that GMail basic may work with abaco and encouraged Rudolf Sykora to try it. I just added one fun fact after it, because GMail's damn heavy interface w

[9fans] /mnt/plumb no write permission

2008-11-21 Thread Fernan Bolando
Hi I was wondering why does /mnt/plumb have no write permission by default? Is this an installation problem on my side? d-r-x-- M 26 fernan fernan 0 Nov 22 11:43 /mnt/plumb in libplumb, plumbopen seems to remount the service to get write permission. shouldn't something like cat plumbforma