Re: [9fans] Google Summer of code 2009

2009-03-09 Thread Dave Eckhardt
> As to how many groups and students, they didn't say anything > about that other than to show that each year the numbers had > increased. Our prospects were evaluated with some care. In particular, Google has stated, publicly, in writing, that they expect to fund ~10% fewer students and thus few

Re: [9fans] C Programming in Plan 9 from Bell Labs

2009-03-09 Thread hugo rivera
thank you. 2009/3/8, Pietro Gagliardi : > http://plan9.bell-labs.com/sources/contrib/pietro/programming.pdf > > I uploaded a slightly updated version to > /n/sources/contrib/pietro/programming.ms and updated the > PDF likewise. When I get more time I will further expand the tutorial. > > > --

Re: [9fans] acme Put doesn't save

2009-03-09 Thread Rudolf Sykora
Thank you R 2009/3/8 yy : > 2009/3/4 roger peppe : >> personally, i think that Put should work on any non-application >> window, and that re-columnation should only take place if >> the textual content hasn't been modified by the user. (and >> probably also that if you change the name of a window

[9fans] ping suicide: sys: trap: divide error pc=0x00003953c

2009-03-09 Thread ROuNIN
Hello all, I would like to learn how to fix this in the ping C code, I am new to plan9 and C ip/ping -r -f www.google.com sending 32 64 bytes messages 0 ms apart to icmp!www.google.com!1 ping 238: suicide: sys: trap: divide error pc=0x3953 term% 0: rrt 38841 us, avg rtt 38841 us, ttl = 128

Re: [9fans] ping suicide: sys: trap: divide error pc=0x00003953c

2009-03-09 Thread Kenji Arisawa
Hello, ip/ping -r -f www.google.com io% ip/ping -r -f www.google.com sending 32 64 byte messages 0 ms apart to icmp!www.google.com!1 ping 34691: suicide: sys: trap: divide error pc=0x3953 0: rtt 9797 µs, avg rtt 9797 µs, ttl = 245 io% ps ... arisawa 346790:00 0:00 128K Pread

Re: [9fans] acme Put doesn't save

2009-03-09 Thread Rudolf Sykora
> I think the attached patch is what you are proposing. If you apply it, > -- > - yiyus || JGL . > Sorry for the question, but how can I apply the patch you sent? I mean, having the file with the patch and the file to be changed, what command is to be performed? thanks R

Re: [9fans] acme Put doesn't save

2009-03-09 Thread Rudolf Sykora
well, probably there is none such, sorry... :) R 2009/3/9 Rudolf Sykora : >> I think the attached patch is what you are proposing. If you apply it, >> -- >> - yiyus || JGL . >> > > Sorry for the question, but how can I apply the patch you sent? > I mean, having the file with the patch and the file

Re: [9fans] ping suicide: sys: trap: divide error pc=0x00003953c

2009-03-09 Thread erik quanstrom
since it doesn't make sense to both send packets as fast as possible and to delay randomly between packets, i think this case is just disallowed. /n/sources/plan9//sys/src/cmd/ip/ping.c:532,537 - ping.c:532,541 break; } ARGEND; + if(flood && rint){ +

[9fans] vac flattens trees?

2009-03-09 Thread Anthony Sorace
given a list of files like "/fish /dog /snake/asp /snake/python", the results of a vac (as interpreted by vacfs) seem to be "/fish /dog /asp /python". is this intentional? it seems unexpected, and makes doing selective backups using vac a bit awkward. this is vac on p9p and vacfs on plan9, if that

Re: [9fans] Porter-Duff alpha blending

2009-03-09 Thread erik quanstrom
i submitted a patch to plan 9 with russ' fix: memdraw32bit. thanks russ, andrey! note: you will need to recompile your kernel, not just applications that use libmemdraw. i leave it as an exercize to the reader to port this to 9vx. ☺ - erik

[9fans] texlive port to plan 9

2009-03-09 Thread xiantingmanbu
Is there anyone porting TexLive to Plan 9? Plan 9 hasn't so many tex- related programs. Tex and MF is not enough.

[9fans] MMIXWare Plan 9

2009-03-09 Thread xiantingmanbu
How to port MMIXWare into Plan 9? Has anyone done it?

Re: [9fans] vac flattens trees?

2009-03-09 Thread roger peppe
2009/3/9 Anthony Sorace : > given a list of files like "/fish /dog /snake/asp /snake/python", the > results of a vac (as interpreted by vacfs) seem to be "/fish /dog /asp > /python". is this intentional? it seems unexpected, and makes doing > selective backups using vac a bit awkward. i suppose yo

Re: [9fans] vac flattens trees?

2009-03-09 Thread erik quanstrom
> i suppose your preferred behaviour would be > for it to do a treewise merge of the paths and > vac the shallowest root that contains all the > paths, missing out all contents that aren't > under one of the named paths. > > this seems like quite an involved operation, > when you can get much the

Re: [9fans] Porter-Duff alpha blending

2009-03-09 Thread Michaelian Ennis
On Sun, Mar 8, 2009 at 6:33 PM, Jeff Sickel wrote: > All this chatter about blending and Russ' recent updates to p9p encouraged > me to finally fix a small thing that's annoyed me with devdraw's on OS X: > that odd blank (all white) window when waking a machine from sleep, exiting > a screen saver

Re: [9fans] Porter-Duff alpha blending

2009-03-09 Thread yy
2009/3/9 erik quanstrom : > i leave it as an exercize to the reader to port > this to 9vx. ☺ > There you are. Easy exercises are also good from time to time :) The patch also allows to use Shift+Button3 as Button2 (as documented in the man page). Regards, -- - yiyus || JGL . diff -r a18e987216

Re: [9fans] texlive port to plan 9

2009-03-09 Thread Joel C. Salomon
On Mon, Mar 9, 2009 at 10:35 AM, xiantingmanbu wrote: > Is there anyone porting TexLive to Plan 9? Plan 9 hasn't so many tex- > related programs. Tex and MF is not enough. Bear in mind that some of the newer TeX programs (pdfTeX, XɘTeX, & luaTeX) use a C++ library to handle PDF files. —Joel

Re: [9fans] vac flattens trees?

2009-03-09 Thread Russ Cox
On Mon, Mar 9, 2009 at 6:35 AM, Anthony Sorace wrote: > given a list of files like "/fish /dog /snake/asp /snake/python", the > results of a vac (as interpreted by vacfs) seem to be "/fish /dog /asp > /python". is this intentional? it seems unexpected, and makes doing > selective backups using vac

Re: [9fans] texlive port to plan 9

2009-03-09 Thread ron minnich
On Mon, Mar 9, 2009 at 7:35 AM, xiantingmanbu wrote: > Is there anyone porting TexLive to Plan 9? Plan 9 hasn't so many tex- > related programs. Tex and MF is not enough. > > one option before you go to that level of pain: use Plan 9's - x11 emulator - linux emulator and see if texlive "just wor

Re: [9fans] Porter-Duff alpha blending

2009-03-09 Thread Jeff Sickel
On Mar 9, 2009, at 10:28 AM, Michaelian Ennis wrote: I am confused as to why one would return eventNotHandledErr after handling the event? Because it's not really handling the event. It just happens to be the only hook available for monitoring the application event loop (in this case: the da

Re: [9fans] vac flattens trees?

2009-03-09 Thread roger peppe
2009/3/9 Russ Cox : > if you want selective backups you > can use the -x flag. presumably you mean the -e flag?

Re: [9fans] MMIXWare Plan 9

2009-03-09 Thread Paweł Lasek
On Mon, Mar 9, 2009 at 14:35, xiantingmanbu wrote: > How to port MMIXWare into Plan 9?  Has anyone done it? > Porting wouldn't be hard. I don't remember the code right now (will look into it when I get home) but probably the only thing you would have to change would be mmap() to segattach(), or e

Re: [9fans] vac flattens trees?

2009-03-09 Thread Russ Cox
On Mon, Mar 9, 2009 at 8:43 AM, roger peppe wrote: > 2009/3/9 Russ Cox : >> if you want selective backups you >> can use the -x flag. > > presumably you mean the -e flag? i meant the -x flag (he said he was on p9p). http://swtch.com/plan9port/man/man1/vac.html russ

Re: [9fans] vac flattens trees?

2009-03-09 Thread roger peppe
2009/3/9 Russ Cox : > On Mon, Mar 9, 2009 at 8:43 AM, roger peppe wrote: >> 2009/3/9 Russ Cox : >>> if you want selective backups you >>> can use the -x flag. >> >> presumably you mean the -e flag? > > i meant the -x flag (he said he was on p9p). > > http://swtch.com/plan9port/man/man1/vac.html a

Re: [9fans] vac flattens trees?

2009-03-09 Thread Jeff Sickel
The beauty of distributed source control... Sync Early, Sync Often http://www.selenic.com/mercurial/wiki/index.cgi/SyncEarlySyncOften I like that more attention is being paid to the various ways of using vac on p9p. Maybe a sign of more papers for this year's IWP9? -jas On Mar 9, 2009, at 2:

Re: [9fans] MMIXWare Plan 9

2009-03-09 Thread Anthony Sorace
i'm not sure whether the MMIX stuff was a fresh effort or an extension of the MIX code, but it might be worth noting that someone (Charles, i think) ported MIX years ago. perhaps a useful starting point. On 2009-03-09, Paweł Lasek wrote: > On Mon, Mar 9, 2009 at 14:35, xiantingmanbu wrote: >> Ho

Re: [9fans] MMIXWare Plan 9

2009-03-09 Thread J.R. Mauro
On Mon, Mar 9, 2009 at 3:57 PM, Anthony Sorace wrote: > i'm not sure whether the MMIX stuff was a fresh effort or an extension MMIX is totally new, a more modern, RISC-y assembly language. Knuth worked with Hennessy on it, and it shows (not in a bad way, of course). AFAIK it's all new code since

Re: [9fans] vac flattens trees?

2009-03-09 Thread Latchesar Ionkov
You can vac the directories separately and then use vac -m to create an archive that looks any way you want. On Mon, Mar 9, 2009 at 7:35 AM, Anthony Sorace wrote: > given a list of files like "/fish /dog /snake/asp /snake/python", the > results of a vac (as interpreted by vacfs) seem to be "/fish

Re: [9fans] jjm

2009-03-09 Thread Bruce Ellis
IWP92009-Bondi: http://www.chunder.com/stuff/IWP92009-Bondi/IWP92009-Bondi.pdf brucee

Re: [9fans] jjm

2009-03-09 Thread Graham Gallagher
do you reckon anyone will make dinner? 10am is an early start. perhaps you need to track down TK On 3/10/09, Bruce Ellis wrote: > IWP92009-Bondi: > > http://www.chunder.com/stuff/IWP92009-Bondi/IWP92009-Bondi.pdf > > brucee > >

Re: [9fans] MMIXWare Plan 9

2009-03-09 Thread Lee Duhem
2009/3/9 xiantingmanbu : > How to port MMIXWare into Plan 9?  Has anyone done it? I have doen it before, but now it's a little out-dated: http://plan9.bell-labs.com/sources/contrib/lee/mmix-20060918.tgz lee

Re: [9fans] vac flattens trees?

2009-03-09 Thread Anthony Sorace
that seems a little awkward. erik's suggestion is what i think i'd really like. rog's would be okay, although still somewhatawkward, were i on plan 9; since i'm not, i think i have russ's option. so with -x, say i had a tree: /dog /cat /fish/guppie /fish/clown /pig and i wanted /dog, /cat, and /f

Re: [9fans] vac flattens trees?

2009-03-09 Thread Russ Cox
i think include fish/clown exclude fish/* and then vac fish dog pig would be fine. i haven't tried this, but i know there are some vac users who use -x quite a bit. russ

Re: [9fans] vac flattens trees?

2009-03-09 Thread erik quanstrom
On Mon Mar 9 23:30:22 EDT 2009, ano...@gmail.com wrote: > that seems a little awkward. erik's suggestion is what i > think i'd really like. rog's would be okay, although still > somewhatawkward, were i on plan 9; since i'm not, i think > i have russ's option. so with -x, say i had a tree: > > /do

Re: [9fans] vac flattens trees?

2009-03-09 Thread john
Erik Quanstrom wrote: > On Mon Mar 9 23:30:22 EDT 2009, ano...@gmail.com wrote: >> that seems a little awkward. erik's suggestion is what i >> think i'd really like. rog's would be okay, although still >> somewhatawkward, were i on plan 9; since i'm not, i think >> i have russ's option. so with -x

Re: [9fans] vac flattens trees?

2009-03-09 Thread erik quanstrom
> > oh, you already know what i'm going to suggest, so > > just get to it! > > > > kenfs? ;) no kenfs is just sun, wed, fri, sat. monday is nupas day. (five minutes left!) and tuesday i suggest atazz. i try to lay low on thursday. - erik

Re: [9fans] jjm

2009-03-09 Thread Jeff Sickel
I'm thinking someone needs to get a SEAforth 40C18 into brucee's hands On Mar 9, 2009, at 9:57 PM, Bruce Ellis wrote: IWP92009-Bondi: http://www.chunder.com/stuff/IWP92009-Bondi/IWP92009-Bondi.pdf brucee

Re: [9fans] jjm

2009-03-09 Thread Bruce Ellis
Perfect for Club Du Soleil - thanks! brucee On Tue, Mar 10, 2009 at 4:35 PM, Jeff Sickel wrote: > I'm thinking someone needs to get a SEAforth 40C18 into brucee's hands > > On Mar 9, 2009, at 9:57 PM, Bruce Ellis wrote: > >> IWP92009-Bondi: >> >> http://www.chunder.com/stuff/IWP92009-Bondi/I