Re: [9fans] Plan 9 on Routers?

2009-03-24 Thread Bakul Shah
On Tue, 24 Mar 2009 16:05:08 EDT Rahul Murmuria wrote: > I am willing to explore this area. Maybe if /net reaches every router, such > metrics can be retrieved and exchanged between the routers like other router > OSes do (or maybe better than they already do) ? > > I am planning to understand

Re: [9fans] Plan 9 on Routers?

2009-03-25 Thread Bakul Shah
On Wed, 25 Mar 2009 09:00:58 EDT "Devon H. O'Dell" wrote: > While creating an > entire routing suite (such as Zebra/Quagga) is probably outside of the > scope of a 3 month project, I think a diligent student could probably > do something useful wi

Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-25 Thread Bakul Shah
On Wed, 25 Mar 2009 21:25:07 CDT Eric Van Hensbergen wrote: > Also, figuring out how multitouch works with plan 9 would be valuable > in itself -- although admitadly could be done without an iPhone. Exactly what I was thinking while reading this thread! An intuitive multitouch interface that go

Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-26 Thread Bakul Shah
port, I did that, not for a gsoc and > people use it, some guy even wrote a filesystem which > suits lot's of people's needs. > > > > On Thu, Mar 26, 2009 at 12:20 AM, Bakul Shah wr= > ote: > > On Wed, 25 Mar 2009 21:25:07 CDT Eric Van Hensbergen = > =C2=A

Re: [9fans] Stuck at partdisk

2009-04-05 Thread Bakul Shah
On Sun, 05 Apr 2009 15:54:19 EDT "Devon H. O'Dell" wrote: > 2009/4/5 ron minnich : > > On Sun, Apr 5, 2009 at 12:12 PM, Devon H. O'Dell wr > ote: > >> 2009/4/5 Devon H. O'Dell : > >>> Ideas? > >> > >> Works fine if I turn off DMA. > > > > no need to have DMA on on qemu anyway, so you have a wor

Re: [9fans] Stuck at partdisk

2009-04-05 Thread Bakul Shah
On Sun, 05 Apr 2009 16:56:51 EDT "Devon H. O'Dell" wrote: > 2009/4/5 Bakul Shah : > > On Sun, 05 Apr 2009 15:54:19 EDT "Devon H. O'Dell" > wrote: > >> 2009/4/5 ron minnich : > >> > On Sun, Apr 5, 2009 at 12:12 PM, De

Re: [9fans] typed sh (was: what features would you like in a shell?)

2009-04-05 Thread Bakul Shah
On Thu, 02 Apr 2009 20:28:57 BST roger peppe wrote: > 2009/4/2 : > i wanted to go a little beyond sh while stopping > short of the type profligacy of most other languages, > hoping to create a situation where many commands > used exactly the same types, and hence were > viable to pipeline togeth

Re: [9fans] typed sh (was: what features would you like in a shell?)

2009-04-06 Thread Bakul Shah
On Mon, 06 Apr 2009 07:09:47 EDT erik quanstrom wrote: > > Nitpick: the output type of one command and the input type of > > the next command in the pipeline has to match, not every > > command. > > i think this is wrong. there's no requirement > that the programs participating in a pipeline ar

Re: [9fans] typed sh (was: what features would you like in a shell?)

2009-04-06 Thread Bakul Shah
On Mon, 06 Apr 2009 12:02:21 EDT erik quanstrom wrote: > > If program A outputs numbers in big-endian order and B > > expects input in little-endian order, A|B won't do the "right > > thing". > > non-marshaled data considered harmful. film at 11. ☺ In effect you are imposing a constraint

Re: [9fans] a bit OT, programming style question

2009-04-09 Thread Bakul Shah
On Thu, 09 Apr 2009 15:28:58 EDT "Devon H. O'Dell" wrote: > $ set | wc -l > 64 > > I don't quite get that locally. This must be on FreeBSD! % bash $ echo $BASH_VERSION 4.0.10(2)-release $ set|wc 72 1062107 I prefer the cadillac of shells (zsh) & the vw bug (rc).

Re: [9fans] extensions of "interest"

2009-04-09 Thread Bakul Shah
On Thu, 09 Apr 2009 15:31:35 MDT andrey mirtchovski wrote: > ps, the quote is "Simplify, then add lightness" Makes perfect sense for Chapman's purposes. Replace steel with aluminium. Fiberglass instead of sheet metal and so on. Unfortunately we don't have exact analogs in s/w. We can only si

Re: [9fans] extensions of "interest"

2009-04-09 Thread Bakul Shah
On Thu, 09 Apr 2009 17:10:47 MDT andrey mirtchovski wrote: > > Unfortunately we don't have exact analogs in s/w. We can > > only simplicate; we can't add lightness! > > but somehow we can add "weight". can't we? bash is perceivably > "heavier" than rc, xml perceivably "heavier" than 9p... stat

Re: [9fans] typed sh (was: what features would you like in a shell?)

2009-04-16 Thread Bakul Shah
On Thu, 16 Apr 2009 18:24:36 BST roger peppe wrote: > 2009/4/6 Bakul Shah : > > On Thu, 02 Apr 2009 20:28:57 BST roger peppe =C2=A0w= > rote: > >> a pipeline is an amazingly powerful thing considering > >> that it's not a turing-complete abstraction. &g

Re: [9fans] security questions

2009-04-16 Thread Bakul Shah
On Thu, 16 Apr 2009 21:25:06 EDT "Devon H. O'Dell" wrote: > That said, I don't disagree. Perhaps Plan 9's environment hasn't been > assumed to contain malicious users. Which brings up the question: Can > Plan 9 be safely run in a potentially malicious environment? Based on > this argument, no,

Re: [9fans] security questions

2009-04-16 Thread Bakul Shah
On Thu, 16 Apr 2009 22:19:21 EDT "Devon H. O'Dell" wrote: > 2009/4/16 Bakul Shah : > > Why not give each user a virtual plan9? Not like vmware/qemu > > but more like FreeBSD's jail(8), "done more elegantly"[TM]! > > To deal with potential

Re: [9fans] security questions

2009-04-17 Thread Bakul Shah
On Fri, 17 Apr 2009 08:14:12 EDT "Devon H. O'Dell" wrote: > 2009/4/17 erik quanstrom : > >> What if each user can have a separate IP stack, separate > >> (virtualized) interfaces and so on? > > > > already possible, but you do need 1 physical ethernet > > per ip stack if you want to talk to the

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

2009-04-21 Thread Bakul Shah
On Mon, 20 Apr 2009 16:33:41 EDT erik quanstrom wrote: > let's take the path /sys/src/9/pc/sdata.c. for http, getting > this path takes one request (with the prefix http://$server) > with 9p, this takes a number of walks, an open. then you > can start with the reads. only the reads may be done

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

2009-04-21 Thread Bakul Shah
On Tue, 21 Apr 2009 10:50:18 EDT erik quanstrom wrote: > On Tue Apr 21 10:34:34 EDT 2009, n...@lsub.org wrote: > > Well, if you don't have flush, your server is going to keep a request > > for each process that dies/aborts. If a process crashes, who sends the Tflush? The server must clean up w

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

2009-04-21 Thread Bakul Shah
On Tue, 21 Apr 2009 17:03:07 BST roger peppe wrote: > the idea with my proposal is to have an extension that > changes as few of the semantics of 9p as possible: > > C->S Tsequence tag=3D1 sid=3D1 > C->S Topen tag=3D2 sid=3D1 fid=3D20 mode=3D0 > C->S Tread tag=3D3 sid=3D1 fid=3D20 count=3D8192 >

Re: [9fans] P9P on Lemote Yeeloong

2009-05-13 Thread Bakul Shah
On Wed, 13 May 2009 21:57:11 +0200 lu...@proxima.alt.za wrote: > I thought things were running too smoothly. I got P9P to compile on > the Lemote Yeeloong with only very frequent ocurrences of warnings > (they seem like compile-time warnings) to the effect that each of > getcontext, makecontext a

Re: [9fans] off-topic: "small is beautiful" article

2009-06-25 Thread Bakul Shah
Nils Holm's Scheme interpreter @ http://t3x.org/s9fes has been available for a few months now. It runs on plan9 though not on inferno. Like Chibi-scheme it too is fairly small. (about 5.5Klocs of C, 1.4Klock of Scheme). I am more interested in Gambit as it is one of the fastest Scheme implementa

Re: [9fans] Fonts

2009-07-08 Thread Bakul Shah
> But how do you make them? I played with some TTF font generators about > 10 years ago that I'm sure I illegally obtained somehow, but I realize > that I have zero idea of how fonts are designed and packaged. Does > anybody know anything about how fonts are created and packaged (info > on subfonts

Re: [9fans] Google finally announces their lightweight OS

2009-07-09 Thread Bakul Shah
On Thu, 09 Jul 2009 13:44:20 -0800 Jack Johnson wrote: > On Thu, Jul 9, 2009 at 1:34 PM, erik quanstrom wrote: > > the problem i have with "literate programming" is that it > > tends to treat code like a terse and difficult-to-understand > > footnote. > > And thus, we have literate programming m

Re: [9fans] Google finally announces their lightweight OS

2009-07-10 Thread Bakul Shah
On Fri, 10 Jul 2009 08:14:30 EDT erik quanstrom wrote: > > there has also been a lot of discussion in the past 1-2 months about > > K, a successor to APL, in #plan9. you might ask there; i may have > > missed a more recent development. > > could someone please explain to the ignorant, what > is

[9fans] channels across machines

2009-07-18 Thread Bakul Shah
Has anyone extended the idea of channels where the sender/receiver are on different machines (or at least in different processes)? A netcat equivalent for channels! Actual plumbing seems easy: one can add a `proxy' thread in each process to send a message via whatever inter process mechanism is a

Re: [9fans] channels across machines

2009-07-18 Thread Bakul Shah
On Sat, 18 Jul 2009 06:25:19 EDT erik quanstrom wrote: > On Sat Jul 18 03:46:01 EDT 2009, bakul+pl...@bitblocks.com wrote: > > Has anyone extended the idea of channels where the > > sender/receiver are on different machines (or at least in > > different processes)? A netcat equivalent for channe

Re: [9fans] channels across machines

2009-07-18 Thread Bakul Shah
On Sat, 18 Jul 2009 10:20:11 PDT Skip Tavakkolian <9...@9netics.com> wrote: > > Or is there a better idea? This certainly seems preferable > > to RPC or plain byte pipes for communicating structured > > values. > > i have some incomplete ideas that are tangentially related to this -- > more for

Re: [9fans] Parallels Vesa driver question

2009-08-04 Thread Bakul Shah
On Mon, 03 Aug 2009 20:12:08 PDT David Leimbach wrote: > Wow Where's parallels 4. I doubt I qualify for a free one. And VMWare > Fusion really sucks with Plan 9 at the moment :-( qemu works well enough for me on FreeBSD & Linux but not on a Mac. VirtualBox doesn't run plan9 but it runs F

Re: [9fans] Parallels Vesa driver question

2009-08-04 Thread Bakul Shah
On Tue, 04 Aug 2009 05:47:25 PDT David Leimbach wrote: > > On Tue, Aug 4, 2009 at 12:25 AM, Bakul Shah > > > wrote: > > > On Mon, 03 Aug 2009 20:12:08 PDT David Leimbach > > wrote: > > > Wow Where's parallels 4. I doubt I qualify for a f

Re: [9fans] Parallels Vesa driver question

2009-08-04 Thread Bakul Shah
On Tue, 04 Aug 2009 08:25:53 PDT David Leimbach wrote: > > On Tue, Aug 4, 2009 at 8:20 AM, Bakul Shah > > > wrote: ... > > I think vbox devices and recompiler are based on qemu but I > > don't really know. IIRC early qemu did seem to have similar >

Re: [9fans] Parallels Vesa driver question

2009-08-11 Thread Bakul Shah
On Tue, 04 Aug 2009 13:46:31 EDT erik quanstrom wrote: > > Anyway, a couple of areas to look into, if you want plan9 on > > vbox: try changing the memory layout of plan9 or figure out > > what qemu did to make plan9 run well and apply that change to > > vbox. > > what makes you think its a memor

Re: [9fans] audio standards -- too many to choose from

2009-08-12 Thread Bakul Shah
On Wed, 12 Aug 2009 09:50:13 -1000 Tim Newsham wrote: > Still would love to hear if anyone knows the answer to these: > > > - What software exists for each of these formats? Are you asking about non p9 software? If so, have you looked at SoX (Sound eXchange)? It is sort of like netpbm but for a

Re: [9fans] audio standards -- too many to choose from

2009-08-14 Thread Bakul Shah
On Sat, 15 Aug 2009 05:24:01 +0800 sqweek wrote: > On 12/08/2009, Tim Newsham wrote: > > Draw the line at what the hardware can be told to decode > > with a flip of a register? The driver interface can easily > > accomodate arbitrary encoding names (see inferno's driver > > for an example). >

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread Bakul Shah
On Fri, 21 Aug 2009 21:34:03 EDT Akshat Kumar wrote: > If I start QEMU with the option to boot directly from > the HD image, as opposed to booting from network, > then it starts up fine - but then the kernel is different > also. I don't know what part of this is really troublesome. > Maybe the p

Re: [9fans] Interested in improving networking in Plan 9

2009-08-31 Thread Bakul Shah
On Mon, 31 Aug 2009 09:25:36 CDT Eric Van Hensbergen wrote: > > Why not have a synthetic file system interface to ndb that allows it > to update its own files? I think this is my primary problem. > Granular modification to static files is a PITA to manage -- we should > be using synthetic file

Re: [9fans] scheme plan 9

2009-09-02 Thread Bakul Shah
On Wed, 02 Sep 2009 12:32:53 BST Eris Discordia wrote: > Although, you may be better off reading SICP "as intended," and use MIT > Scheme on either Windows or a *NIX. The book (and the freaking language) is > already hard/unusual enough for one to not want to get confused by > implementation

Re: [9fans] Interested in improving networking in Plan 9

2009-09-02 Thread Bakul Shah
On Mon, 31 Aug 2009 11:33:13 CDT Eric Van Hensbergen wrote: > On Mon, Aug 31, 2009 at 11:16 AM, Bakul Shah wrote: > > > > An intriguing idea that can point toward a synth fs interface > > to a dbms or search results But I don't think this would > > be a lig

Re: [9fans] "Blocks" in C

2009-09-02 Thread Bakul Shah
On Wed, 02 Sep 2009 08:20:52 PDT Roman V Shaposhnik wrote: > On Wed, 2009-09-02 at 10:04 +0200, Anant Narayanan wrote: > > Mac OS 10.6 introduced a new C compiler frontend (clang), which added > > support for "blocks" in C [1]. Blocks basically add closures and > > anonymous functions to C (a

Re: [9fans] scheme plan 9

2009-09-03 Thread Bakul Shah
On Thu, 03 Sep 2009 07:29:53 BST Eris Discordia wrote: > > I mean, I never got past SICP Chapter 1 because that first chapter got me > asking, "why this much hassle?" May be you had an impedance mismatch with SICP? > P.S. I'm leaving. You may now remove your > arts-and-letters-cootie-protec

Re: [9fans] "Blocks" in C

2009-09-03 Thread Bakul Shah
On Fri, 04 Sep 2009 00:44:35 EDT erik quanstrom wrote: > > > that sucker is on the stack. by-by no-execute stack. I don't think so. See below. > > > how does it get to the stack? is it just copied from > > > the text segment or is it compiled at run time? > > > > > > > I don't think I posted

Re: [9fans] "Blocks" in C

2009-09-04 Thread Bakul Shah
On Thu, 03 Sep 2009 22:35:35 PDT David Leimbach wrote: > > > Actually, reading on a bit more they deal with the "variable capture" > talking about const copies. > > Automatic storage variables not marked with __block are imported as > const copies. > > The simplest example is that of importin

Re: [9fans] "Blocks" in C

2009-09-04 Thread Bakul Shah
On Fri, 04 Sep 2009 00:47:18 PDT David Leimbach wrote: > On Fri, Sep 4, 2009 at 12:11 AM, Bakul Shah > > > wrote: > > > But this has no more to do with parallelism than any other > > feature of C. If you used __block vars in a block, you'd > > still need

Re: [9fans] "Blocks" in C

2009-09-04 Thread Bakul Shah
On Fri, 04 Sep 2009 08:04:40 PDT David Leimbach wrote: > On Fri, Sep 4, 2009 at 7:41 AM, Bakul Shah > > > wrote: > > > On Fri, 04 Sep 2009 00:47:18 PDT David Leimbach > > wrote: > > > On Fri, Sep 4, 2009 at 12:11 AM, Bakul Shah > > > <

Re: [9fans] "Blocks" in C

2009-09-08 Thread Bakul Shah
On Tue, 08 Sep 2009 08:31:28 PDT David Leimbach wrote: > > Having wrestled with this stuff a little bit, and written "something". I > can immediately see how one can get away from needing to "select" in code so > much, and fire off blocks to handle client server interactions etc. It's > kind o

Re: [9fans] Petabytes on a budget: JBODs + Linux + JFS

2009-09-20 Thread Bakul Shah
On Mon, 14 Sep 2009 12:43:42 EDT erik quanstrom wrote: > > I am going to try my hands at beating a dead horse:) > > So when you create a Venti volume, it basically writes '0's' to all the > > blocks of the underlying device right? If I put a venti volume on a AoE > > device which is a linux ra

Re: [9fans] Petabytes on a budget: JBODs + Linux + JFS

2009-09-21 Thread Bakul Shah
> > > 8 bits/byte * 1e12 bytes / 1e14 bits/ure = 8% > > > > Isn't that the probability of getting a bad sector when you > > read a terabyte? In other words, this is not related to the > > disk size but how much you read from the given disk. Granted > > that when you "resilver" you have no choice

Re: [9fans] Petabytes on a budget: JBODs + Linux + JFS

2009-09-21 Thread Bakul Shah
On Mon, 21 Sep 2009 14:02:40 EDT erik quanstrom wrote: > > > i would think this is acceptable. at these low levels, something > > > else is going to get you -- like drives failing unindependently. > > > say because of power problems. > > > > 8% rate for an array rebuild may or may not be accept

Re: [9fans] Petabytes on a budget: JBODs + Linux + JFS

2009-09-21 Thread Bakul Shah
On Mon, 21 Sep 2009 16:30:25 EDT erik quanstrom wrote: > > > i think the lesson here is don't by cheep drives; if you > > > have enterprise drives at 1e-15 error rate, the fail rate > > > will be 0.8%. of course if you don't have a raid, the fail > > > rate is 100%. > > > > > > if that's not acc

Re: [9fans] zero length arrays in gcc

2009-09-22 Thread Bakul Shah
On Wed, 23 Sep 2009 02:49:44 +0800 Fernan Bolando wrote: > Hi all > > nhc98 uses a few of > > static unsigned startLabel[]={}; > > which is a zero length array. It appears that it uses this as > reference to calculate the correct pointer for a bytecode. > > pcc does not allow this since zero

Re: [9fans] mishandling empty lists - let's fix it

2009-10-03 Thread Bakul Shah
On Sun, 04 Oct 2009 03:03:27 +1100 Sam Watkins wrote: > > find -name '*.c' | xargs cat | cc - # this clever cc can handle it :) > > This program works fine until there are no .c files to be found, in that case > it hangs, waiting for one on stdin! This is a hazard to shell scripters, and

Re: [9fans] Barrelfish

2009-10-17 Thread Bakul Shah
On Sun, 18 Oct 2009 01:15:45 - Roman Shaposhnik wrote: > On Thu, Oct 15, 2009 at 10:53 AM, Sam Watkins wrote: > > On Wed, Oct 14, 2009 at 06:50:28PM -0700, Roman Shaposhnik wrote: > >> > The mention that "... the overhead of cache coherence restricts the ab= > ility > >> > to scale up to ev

Re: [9fans] Barrelfish

2009-10-18 Thread Bakul Shah
On Sun, 18 Oct 2009 06:22:33 PDT Roman Shaposhnik wrote: > On Sun, Oct 18, 2009 at 6:06 AM, Roman Shaposhnik wrot > e > >> It is. But what's your proposal on code sharing? All those PC > >> registers belonging to > >> different cores have to point somewhere. Is that somewhere is not shared m > e

Re: [9fans] bison problem, not plan9 related

2009-10-21 Thread Bakul Shah
Is this what you are trying to do? $ cat b.y <<'EOF' %token ATOM REP %% blocks: block | block blocks; block: ATOM | REP block | '[' blocks ']'; %% EOF $ bison b.y $ On Wed, 21 Oct 2009 19:52:41 +0200 Rudolf Sykora wrote: > Hello, > sorry for an off-topic thing. But I guess somebody here could

Re: [9fans] ideas for helpful system io functions

2009-12-05 Thread Bakul Shah
On Sat, 05 Dec 2009 08:24:45 -1000 Tim Newsham wrote: > >> I can see two possible solutions for this, both of which would be useful i > n > >> my > >> opinion: > >> > >> - an "unread" function, like ungetc, which allows a program to put back > >> some > >>data that was already read to the

Re: [9fans] ideas for helpful system io functions

2009-12-05 Thread Bakul Shah
On Sat, 05 Dec 2009 15:03:44 EST erik quanstrom wrote: > > The OS support I am talking about: > > a) the fork behavior on an open file should be available > >*without* forking. dup() doesn't cut it (both fds share > >the same offset on the underlying file). I'd call the new > >syscal

Re: [9fans] ideas for helpful system io functions

2009-12-05 Thread Bakul Shah
On Sat, 05 Dec 2009 15:27:02 EST erik quanstrom wrote: > > To be precise, both fds have their own pointer (or offset) > > and reading N bytes from some offset O must return the same > > bytes. > > wrong. /dev/random is my example. You cut out the bit about buffering where I explained what I me

Re: [9fans] du and find

2010-01-02 Thread Bakul Shah
On Sat, 02 Jan 2010 14:47:26 EST erik quanstrom wrote: > > my beef with xargs is only that it is used as an excuse > for not fixing exec in unix. it's also used to bolster the > "that's a rare case" argument. I often do something like the following: find . -type f | xargs grep -l | xargs

Re: [9fans] du and find

2010-01-02 Thread Bakul Shah
On Sat, 02 Jan 2010 20:49:39 EST erik quanstrom wrote: > > And can eat up a lot of memory or even run out of it. On a > > 2+ year old MacBookPro "find -x /" takes 4.5 minutes for 1.6M > > files and 155MB to hold paths. My 11 old machine has 64MB > > and over a million files on a rather slow dis

Re: [9fans] parallels

2010-01-08 Thread Bakul Shah
On Fri, 08 Jan 2010 14:12:39 EST ge...@plan9.bell-labs.com wrote: > I don't have enough experience with VirtualBox to make a sensible > comparison. Plan9 on virtualBox is unusably slow. > The thing that none of the VM monitors seem to offer (though I'd love > to be proven wrong) is debugging too

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-07 Thread Bakul Shah
On Sun, 07 Feb 2010 15:19:58 MST "Lyndon Nerenberg (VE6BBM/VE7TFX)" wrote: > > i suspect the rationale was that, finally, C provided a way > > outside the preprocessor to give symbolic names to constants. > > why restrict that to int? > > Because enum's have been int's since their inception? >

Re: [9fans] recreational programming of an evening

2010-03-21 Thread Bakul Shah
On Sat, 20 Mar 2010 22:48:53 PDT ron minnich wrote: ... > So here is the result: very minor extension to the kernel code, shell > script a bit longer (25 lines!) but what happens is e.g. you trace an > rc, and for each fork/exec that happens, a new truss display pops up > in a new window

Re: [9fans] recreational programming of an evening

2010-03-21 Thread Bakul Shah
On Sun, 21 Mar 2010 14:03:14 EDT "Devon H. O'Dell" wrote: > 2010/3/21 Bakul Shah : > [snip] > > What's really missing is a whole book on hands on OS hacking > > along the lines of the Art of Electronics or SICP (Structure > > and Interpretation of Co

Re: [9fans] Raspberry Pi: won't recognize the USB mouse

2014-03-04 Thread Bakul Shah
On Tue, 04 Mar 2014 11:26:31 EST erik quanstrom wrote: > > first, apply the patch to the source, then build all of usb > > 9fs sources > cd /sys/src/cmd/usb/lib > cp /n/sources/patch/usbshortdesc/dev.c dev.c > cd .. > mk install > > then, build a new kernel > >

Re: [9fans] first questions from a lurker

2014-03-10 Thread Bakul Shah
On Mon, 10 Mar 2014 08:41:12 MDT arn...@skeeve.com wrote: > Hello All. > > I've been a lurker on 9fans for many years. Today I finally did an > install - +9atom.iso.bz2 into a virtual box VM. The VM is NAT'ed > to a corporate network and I can ping by IP address with no problem. > > First questi

Re: [9fans] two nics 8139

2014-03-13 Thread Bakul Shah
> bind -b '#l1' /net.alt > bind -b '#I1' /net.alt > ip/ipconfig -x /net.alt ether /net.alt/ether1 > ndb/cs -x /net.alt -f /lib/ndb/external > ndb/dns -sx /net.alt -f /lib/ndb/external So what do you do when you have N ethernet ports and you want to forward packets between these ports either @ laye

Re: [9fans] GSoC proposal: Alternative window system

2014-03-19 Thread Bakul Shah
On Wed, 19 Mar 2014 04:36:34 EDT Caleb Malchik wrote: > For my project, I would build a tiling window manager similar to dwm > (what I use on Linux). I think a dwm-style interface that could be > controlled from the keyboard would provide a nice contrast to what we > already have with rio, and

Re: [9fans] usb/serial control open

2014-03-23 Thread Bakul Shah
On Sun, 23 Mar 2014 16:32:12 EDT erik quanstrom wrote: > On Sun Mar 23 15:56:52 EDT 2014, pau...@gmail.com wrote: > > On Sun, Mar 23, 2014 at 8:47 PM, Gorka Guardiola wrote: > > > > > > > > if(!setonce){ > > > setonce = 1; > > > serialctl(p, "l8 i1"); /* default line parameters */ >

Re: [9fans] usb/serial control open

2014-03-23 Thread Bakul Shah
On Sun, 23 Mar 2014 17:53:22 EDT erik quanstrom wrote: > > A similar idea here would be to have a "default" command to > > for default settings. When a device is opened, it is > > initialized with these settings. The reason I like this is > > because then I don't need to teach every serial IO prog

Re: [9fans] usb/serial control open

2014-03-23 Thread Bakul Shah
On Sun, 23 Mar 2014 20:32:07 EDT erik quanstrom wrote: > > > i think it is even easier to set the state up properly with cpurc or > > > consolefs' configuration file, and have the various programs not even > > > care that they're talking to a serial port. > > > > Not my experience. Occasionally

[9fans] bcm2835 random number generator

2014-03-28 Thread Bakul Shah
I have put an initial version of raspberryPi hardware RNG driver on sources. Supposedly bcm2835 uses a reverse bias transistor as a noise source (though I couldn't find anything a definitive source for this). FWIW, I ran the output through rngtest (does FIPS 140-2 tests) and the failure rate is ab

Re: [9fans] bcm2835 random number generator

2014-03-28 Thread Bakul Shah
On Fri, 28 Mar 2014 17:09:43 EDT erik quanstrom wrote: > On Fri Mar 28 13:21:35 EDT 2014, ba...@bitblocks.com wrote: > > I have put an initial version of raspberryPi hardware RNG > > driver on sources. Supposedly bcm2835 uses a reverse bias > > transistor as a noise source (though I couldn't find

Re: [9fans] bcm2835 random number generator

2014-03-28 Thread Bakul Shah
On Fri, 28 Mar 2014 19:51:50 EDT erik quanstrom wrote: > > Sorry about that! I forgot to mention that this facility was > > added around Jan 30, 2013. See Dom's message on page 12 on > > http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=19334&p=273944#p2739 > 44 > > Make sure you have firmwa

Re: [9fans] a research unix reader

2014-03-30 Thread Bakul Shah
> On Mar 30, 2014, at 12:47 PM, Nick Owens wrote: > > 9fans, > > a few months ago, at a friends request, i acquired a copy of a research > unix reader and scanned it, and i put it on archive.org. > > the pdf and some other formats are available, but the conversion is not > very good, so the p

Re: [9fans] [GSOC] plan9 which arch code to use?

2014-05-07 Thread Bakul Shah
> (come to mention it, i did Dan Brown a favour last year, unwittingly.) There you go again. More secrets :-)

Re: [9fans] OT: hard realtime, timing diagram GUI.

2014-05-08 Thread Bakul Shah
> On May 8, 2014, at 2:15 AM, "Steve Simon" wrote: > > Anyone done any hard realtime programming? I am looking for a simple > GUI tool which will read a text file I can generate from my code > and display a timing diagram. This should allow either events > triggered by the clock, by an interrup

Re: [9fans] OT: hard realtime, timing diagram GUI.

2014-05-08 Thread Bakul Shah
Would https://github.com/drom/wavedrom do? See the tutorial. Step 8 shows bezier arrows linking waveforms. And it seems to be actively developed. There is a command line version as well. On May 8, 2014, at 5:52 AM, "Steve Simon" wrote: >> I don't understand why realtime matters. > > Only that

Re: [9fans] OT: hard realtime, timing diagram GUI.

2014-05-08 Thread Bakul Shah
On May 8, 2014, at 7:53 AM, "Steve Simon" wrote: >> Would https://github.com/drom/wavedrom do? > > Yep, pretty darn good. > > maybe a little teeth gritting as its JS but > what the heck, its a tool and that is all > that really matters. Wavedrom's input language seems simple enough that you ca

Re: [9fans] radio

2014-05-08 Thread Bakul Shah
On Thu, 08 May 2014 12:06:11 BST "Steve Simon" wrote: > > A little radio app for plan9. This has few features and may not > seem worth the effort to some but it is planned to be the basis for > an embedded radio device so it needs a little GUI and user interface. > > Currently I use this at work

Re: [9fans] radio

2014-05-08 Thread Bakul Shah
On Thu, 08 May 2014 18:58:31 BST "Steve Simon" wrote: > I have a hifiberry (http://www.hifiberry.com/) nicely minimalist, > though no driver at present - I will await the GSOC project :-) > I have some itron VFDs from work, 256 x 64 pixel. I like these as > the visibility is excellent. The only a

Re: [9fans] what arch

2014-05-09 Thread Bakul Shah
On Fri, 09 May 2014 13:37:04 PDT ron minnich wrote: > somebody referred me to the discussion. > > Sometimes we found people wanted to build on their existing OS (Linux, > OSX, whatever) in a cross-build way, and, further, didn't want to do > that in a VM, because they had tools they liked. > > g

Re: [9fans] radio

2014-05-09 Thread Bakul Shah
On Fri, 09 May 2014 16:11:00 +0200 Krystian Lewandowski wrote: > > I was working on GPIO under Plan9 - very simple thing but also supports > edge-raising/falling events. I had simple C code to print what pin > triggered an event. I'll try to push this simple test to github during > weekend. Thou

Re: [9fans] RaspberryPi, monitor energy saving

2014-05-15 Thread Bakul Shah
On Thu, 15 May 2014 22:04:34 BST "Steve Simon" wrote: > Its just wonderful to have a raspberry pi as a plan9 terminal, > but the energy saving of the pi is outweighed by the monitor I use. > > The Pi's display code blanks the screen after a while but this does > not shutdown the monitor. > > I d

Re: [9fans] RaspberryPi, monitor energy saving

2014-05-16 Thread Bakul Shah
> On May 16, 2014, at 5:43 AM, erik quanstrom wrote: > >> On Fri May 16 08:33:41 EDT 2014, st...@quintile.net wrote: >> Mmm, that feels like good and bad news. >> >> I know richard did what he could to shut down the screen when >> its idle for a while so that seems to do the right thing with vg

Re: [9fans] syscall 53

2014-05-19 Thread Bakul Shah
On Mon, 19 May 2014 13:25:42 EDT erik quanstrom wrote: > > i would be very surprised if there were any gain in accuracy. the > accuracy is going to be dominated by the most inaccurate term, and > that's likely going to be timesync, and on the order of milliseconds. Speaking of time and accuracy

Re: [9fans] syscall 53

2014-05-20 Thread Bakul Shah
On Mon, 19 May 2014 17:34:24 EDT Anthony Sorace wrote: > > Ron wrote: > > > That said, the problems were due (IMHO) to a limitation in the > > update mechanism, not to the inclusion of a new system call. > > This is true depending on how you define "update mechanism". > A simple note from whoev

Re: [9fans] syscall 53

2014-05-21 Thread Bakul Shah
On Wed, 21 May 2014 09:56:26 PDT Skip Tavakkolian wrote: > > i like git. as it is a kind of archival file system, one should be able to > build a plan9 file system interface for it. Have you looked at porting git to plan9? 178K lines of *.[ch]. 20K lines of shell scripts (+ 100K+ lines of test

Re: [9fans] CMS/MMS (VCS/SCM/DSCM) [was: syscall 53]

2014-05-21 Thread Bakul Shah
On Wed, 21 May 2014 22:25:55 CDT Jeff Sickel wrote: > At the base level I find that sources and sourcesdump are much > more accessible than many of the DSCMs (e.g., darcs, git, hg) > out there. Yes it's great to use hg to snapshot state and > allow easy migration across various systems, but it st

Re: [9fans] syscall 53

2014-05-21 Thread Bakul Shah
On Thu, 22 May 2014 03:43:15 - Kurt H Maier wrote: > > But all the DVCS in the world doesn't let us see code that is never uploaded > in the first place. I can't even count the number of programs that are only > even known by oral tradition, mentioned only in passing, then never to be > hear

Re: [9fans] CMS/MMS (VCS/SCM/DSCM) [was: syscall 53]

2014-05-21 Thread Bakul Shah
On Thu, 22 May 2014 07:36:54 +0200 lu...@proxima.alt.za wrote: > > Though the idea of a scmfs (for checkins as well) and using > > vac/venti as a backend is starting to appeal to me : ) > > Let's open the discussion, Plan 9 has some baseline tools other OSes > are still thinking about and will pro

Re: [9fans] hgfs

2014-05-22 Thread Bakul Shah
On Thu, 22 May 2014 09:17:18 PDT ron minnich wrote: > has anyone looked at camlistore as a starting point? Written in Go, > which means it works on Plan 9. I will take a look at it but Ron, if you are still on this channel, may be you can describe how it will help here? [And, please don't overloa

Re: [9fans] hgfs

2014-05-22 Thread Bakul Shah
On Thu, 22 May 2014 12:41:05 +0200 =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= wrote: > > What would be the point of this? Once you have a version (revision) > you can just bind the subtree where you want it. I don't see the > point in having this special switching code inside hgfs. Plan 9 > provides t

Re: [9fans] CMS/MMS (VCS/SCM/DSCM) [was: syscall 53]

2014-05-22 Thread Bakul Shah
On Thu, 22 May 2014 08:45:48 EDT erik quanstrom wrote: > > Features such as atomic commits, changesets, branches, push, > > pull, merge etc. can be useful in multiple contexts so it > > would be nice if they can integrated smoothly in an FS. > > > > - Installing a package is like a pull (or if yo

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread Bakul Shah
Does 9fs localhost ls /n/localhost work on your VM? If that works, and if you can ping in both directions, the other possibilities are a. firewall rules on the linux box or b. how you have set up your VM. If you are using it in the "bridge" mode, it should work (except for a.).

Re: [9fans] suicide message on vmware

2014-06-05 Thread Bakul Shah
On Fri, 06 Jun 2014 10:48:21 +0530 Ramakrishnan Muthukrishnan wrote: > Well, looks like I cannot run any binaries anymore and getting the > suicide message! I don't have anything critical on this vm image and > can re-install it. But I want to see if I can recover it and how. I > will re-read the

Re: [9fans] suicide message on vmware

2014-06-06 Thread Bakul Shah
On Fri, 06 Jun 2014 13:02:14 +0530 Ramakrishnan Muthukrishnan wrote: > On Fri, Jun 6, 2014 at 11:30 AM, Bakul Shah wrote: > > On Fri, 06 Jun 2014 10:48:21 +0530 Ramakrishnan Muthukrishnan .com> wrote: > >> Well, looks like I cannot run any binaries anymore and getting the

Re: [9fans] suicide message on vmware

2014-06-06 Thread Bakul Shah
> On Jun 5, 2014, at 8:15 PM, Ramakrishnan Muthukrishnan > wrote: > > Hi, > > I just saw a suicide message on 9atom running on plan9 while updating > the system: > > % replica/pull -v /dist/replica/network I missed that you were running 9atom. Using old binaries to copy the new kernel to /n

Re: [9fans] suicide message on vmware

2014-06-06 Thread Bakul Shah
On Fri, 06 Jun 2014 11:35:08 EDT erik quanstrom wrote: > On Fri Jun 6 11:26:13 EDT 2014, ba...@bitblocks.com wrote: > > > > > On Jun 5, 2014, at 8:15 PM, Ramakrishnan Muthukrishnan > wrote: > > > > > > Hi, > > > > > > I just saw a suicide message on 9atom running on plan9 while updating > >

Re: [9fans] Question about fossil

2014-06-08 Thread Bakul Shah
On Sat, 07 Jun 2014 21:39:29 BST Riddler wrote: > > Onto my question: What if I shrunk that fossil partition to, say, 1GB > and then wrote either more than 1GB in small files or a single 2GB > file. Why would you want to make the fossil partition that small? I would keep it at least twice as la

Re: [9fans] Question about fossil

2014-06-08 Thread Bakul Shah
On Sun, 08 Jun 2014 03:56:24 EDT erik quanstrom wrote: > > - try this out on a small scale before you commit to it, as I > > suspect you'll run into various limits and may be bugs. Do > > report what you discover. > > - performance will likely be poor. For better performance you > > may want

Re: [9fans] Question about fossil

2014-06-09 Thread Bakul Shah
On Mon, 09 Jun 2014 17:25:51 EDT erik quanstrom wrote: > On Mon Jun 9 17:13:09 EDT 2014, lyn...@orthanc.ca wrote: > > > > > On Jun 9, 2014, at 1:21 PM, Riddler wrote: > > > > > It was brought about mainly because the wiki states that sources only > > > uses ~512MB for fossil. > > > > I suspe

  1   2   3   4   5   6   7   8   >