[9fans] Independent Study Topic
Hi everyone, I've been lurking for the past few months and I've really enjoyed reading the messages from this list. I'm looking for some ideas or advice---here's the story: I'm pursuing a Master's degree in computer science at a small school with limited options for classes. I'm enrolled in a graduate-level course in distributed systems, but the material isn't on my level. The professor understands my predicament and might allow me to do an independent study on the subject, but I would need something specific to work on. I would love to do something with Plan 9...I'm just not sure what. Compare and contrast it with other systems? Find a novel use for 9P? I'm not very good at coming up with creative topics, so any thoughts or suggestions would be greatly appreciated. -Justin P.S. In what seems to be a grave injustice, the textbook only mentions Plan 9 on one page, and only points out the per-process namespaces and the ability to merge directories with bind. Absolutely nothing on 9P. Argh!
[9fans] Independent study topic
Hi everyone, I've been lurking for the past few months and I've really enjoyed reading the messages from this list. I'm looking for some ideas or advice---here's the story: I'm pursuing a Master's degree in computer science at a small school with limited options for classes. I'm enrolled in a graduate-level course in distributed systems, but the material isn't on my level. The professor understands my predicament and might allow me to do an independent study on the subject, but I would need something specific to work on. I would love to do something with Plan 9...I'm just not sure what. Compare and contrast it with other systems? Find a novel use for 9P? I'm not very good at coming up with creative topics, so any thoughts or suggestions would be greatly appreciated. -Justin P.S. In what seems to be a grave injustice, the textbook only mentions Plan 9 on one page, and only points out the per-process namespaces and the ability to merge directories with bind. Absolutely nothing on 9P. Argh!
Re: [9fans] iwp9-bondi
He's the Queen's grandson. I like him because his grandmother sent my grandmother a nice letter when she turned 100. she can still beat me at cards (not the queen). brucee On 1/20/10, hiro <23h...@googlemail.com> wrote: > Who is prince william?! Also I can't recieve channel 7 or 9 anyway. > Tell me more about that beer? > > On Tue, Jan 19, 2010 at 12:49 PM, Bruce Ellis wrote: > > Prince William visited the sunshine club today. I told you the beer was > > good. > > > > Catch it on oz news, channel 7, 9, or 70, 90, for HD. It's goofy. > > > > brucee > > > > On 1/16/10, Bruce Ellis wrote: > >> i'm swamped with work. i've distanced myself from IWP9 until erikq shuts > >> up. > >> > >> i should at least publish the movie. the talks are far too > >> controversial for 9fans. > >> > >> brucee > >> > >> On 1/15/10, Jacob Todd wrote: > >> > On Wed, Sep 30, 2009 at 05:48:24PM +1000, Bruce Ellis wrote: > >> > > yes, i will post a link when i tidy it up. > >> > > > >> > > brucee > >> > > > >> > > On 9/30/09, Jacob Todd wrote: > >> > Things tidied up yet? > >> > > >> > -- > >> > Government is the great fiction through which everybody > >> > endeavors to live at the expense of everybody else. > >> > > >> > > >> > > > > > >
Re: [9fans] How to add djet500' driver to gs?
You were right. I manually removed /sys/src/cmd/gs/src/plan9.mak, re-run 'mk fake-make' which then created plan9.mak again but with the new djet500 driver included. After running 'mk install' the output of the new gs binary now shows the djet500. Printing works generally fine, but with the following caveats: (nothing serious) The first time I run 'lp textfile' the printer will act as if I had pushed its reset button and the following error will occur: cat: write error copying /tmp/gsp227: i/o error (Note that there is another number instead of '227' each time, e.g. 182 or 7021. ) After that, until the next reboot, the printer will work fine using the 'lp textfile' command. Though, it will first send out an empty sheet at the beginning of each printing job; then it starts printing normally. Here's the line I use in /sys/lib/lp/devices: hpdeskjet500- - /dev/lpt1data - gs!djet500+nohead generic nospool - - - - I also have a 'LPDEST=hpdeskjet500' in my /usr/$user/lib/profile. Thanks alot for your help, it is very nice to be able to print on my Plan 9 desktop system! Best regards, F. Caulier
Re: [9fans] parallels
> > Not very mysterious to me. There's not very much science in computer > > science. If we didn't forget it we wouldn't be able to re-invent it, > > and > > there would go most of the interesting work, not to mention a lot of > > high salary jobs. > But how much of this work is actually redundant? 80% is three-quarters redundant. aplogizes to yogi berra. - erik
Re: [9fans] parallels
On Jan 15, 2010, at 4:51 PM, William Cowan wrote: erik quanstrom wrote: it's unfortunate that computer history isn't a bigger component of a computer science degree. in the case of vm, it's not even history; still alive and doing quite well as z/(vm|os) on slightly modified power arch hardware. - erik Not very mysterious to me. There's not very much science in computer science. If we didn't forget it we wouldn't be able to re-invent it, and there would go most of the interesting work, not to mention a lot of high salary jobs. But how much of this work is actually redundant? s
Re: [9fans] iwp9-bondi
Who is prince william?! Also I can't recieve channel 7 or 9 anyway. Tell me more about that beer? On Tue, Jan 19, 2010 at 12:49 PM, Bruce Ellis wrote: > Prince William visited the sunshine club today. I told you the beer was good. > > Catch it on oz news, channel 7, 9, or 70, 90, for HD. It's goofy. > > brucee > > On 1/16/10, Bruce Ellis wrote: >> i'm swamped with work. i've distanced myself from IWP9 until erikq shuts up. >> >> i should at least publish the movie. the talks are far too >> controversial for 9fans. >> >> brucee >> >> On 1/15/10, Jacob Todd wrote: >> > On Wed, Sep 30, 2009 at 05:48:24PM +1000, Bruce Ellis wrote: >> > > yes, i will post a link when i tidy it up. >> > > >> > > brucee >> > > >> > > On 9/30/09, Jacob Todd wrote: >> > Things tidied up yet? >> > >> > -- >> > Government is the great fiction through which everybody >> > endeavors to live at the expense of everybody else. >> > >> > >> > >
Re: [9fans] dataflow programming from shell interpreter
> Is this possible for UNIX philosophy to develop further? Let's say, > XML-coded trees or graphs instead of one-line strings in stdin/ > stdout.Or LISP S-expressions. New set of utilities for filtering such > streams, grep for XML trees, etc. Building environment for dataflow > programming from shell interpreter. > Any interesting papers exist on this topic? I worked on an undergraduate thesis last year about dataflow programming. The syntax for our language was similar to UNIX shells, but it was intended to be compiled language. For more complex datatypes, I don't think the serialization format matters very much. You could store the data in XML, S-expressions, YAML, etc. As long as you have a program/function to read each of these formats into a nested data structure you can use the same set of utilities to process any of them. For parallelism, you'll need to be able to begin outputting the data structure while the original data it is still being read in. With complex data, I'm not sure if it would be better to use a common format through a character pipe, or to use some other form of IPC where the nesting is maintained during transmission. For reference, here's a copy of my thesis: http://andy753421.ath.cx/linked/curin.pdf pgpiLRQ3Tejlk.pgp Description: PGP signature
Re: [9fans] dataflow programming from shell interpreter
> This is always somthing I have wanted to do for video stream > processing, writeing a limited proceedural language which can be > refactored as a dataflow graph for efficent implementation (of video > processing). This sounds a lot like how GStreamer operates. An example from the gst-launch manpage: gst-launch filesrc location=music.mp3 ! mad ! audioconvert ! vorbisenc ! oggmux ! filesink location=music.ogg I'm not sure they've done as much work on a procedural language, but they have a good set of 'plugins', as they call them. pgp1kjkoWnN4B.pgp Description: PGP signature
Re: [9fans] dataflow programming from shell interpreter
> The PBM utilities (now net pbm) did something similar for bitmaps. > I think V10 also had some pipeline utils for manipulating images. Indeed, however I make a firsm distinction between image proccessing (2d) and video processing (3d). In Video processing the image sequences can be of arbitary length, the processing is often across several fields, and, because we want our results ASAP tools should present the minimum delay possible (e.g. a gain control only needs a one pixel buffer). Aditionally image processing pipelines often have nasty things like feedback loops and mixing different paths with differing delays which all need special care. We have a package of good old unix tools developed jointly by us and the BBC which works as you might expect cat video-stream | interpolate -x 0.7 -y 0.3 | rpnc - 0.5 '*' | display however this can get quite ugly when the algorithm gets complex. We need to cache intermediate results - processing HD (let alone 2k 3d) can get time consuming so we want an environment which tee's off intermediate results automagicially and uses them if possible - sort of mk(1) combined with rc(1). It is also a pain that its not easy to work at different scales i.e. writing expressions to operate at the pixel level and using large blocks like interpolate, the rpnc is an attempt to do this but its interpreted (slow). a restricted rc(1)-like language which supports pipelines, and scalar (configuration) variables combined with a JIT compiler (in the vein of popi) looks like a solution but I have never go further than wishful thinking. -Steve
Re: [9fans] How to add djet500' driver to gs?
> I'm currently trying to get my HP Deskjet 500 (/dev/lptr1data) working > in native Plan 9. Using 'lp -d hpdeskjet file' the printer works > basically; it takes in a sheet and starts printing. > But it prints only weird symbols and mishandles newlines etc.. > > I did a little research and found that there is a 'djet500' driver > (see /sys/src/cmd/gs/src/gdevdjet.c) available for gs but it is not > included in the stock gs binary according to the output of 'gs -?'. I > added the djet500 driver to /sys/src/cmd/gs/mkfile and run 'mk > fake-make' and then 'mk install' as described in the mkfile. > > It builds with no error messages but the output of the freshly > compiled 'gs -?' still doesn't show the new djet500 driver. > > What is the right/working procedure to add drivers to gs? It looks like the mkfile has a small bug in that src/plan9.mak, which fake-make works from, doesn't depend on mkfile itself, so mk didn't regenerate it after you changed the mkfile. You can check this theory by doing cd /sys/src/cmd/gs grep '^DEVICE_DEVS=' src/plan9.mak | grep djet500 I bet grep will not find anything. Assuming that's the case, you should be able to get the driver added by running cd /sys/src/cmd/gs rm src/plan9.mak # works around bug mk fake-make mk install Good luck. Russ
Re: [9fans] iwp9-bondi
Prince William visited the sunshine club today. I told you the beer was good. Catch it on oz news, channel 7, 9, or 70, 90, for HD. It's goofy. brucee On 1/16/10, Bruce Ellis wrote: > i'm swamped with work. i've distanced myself from IWP9 until erikq shuts up. > > i should at least publish the movie. the talks are far too > controversial for 9fans. > > brucee > > On 1/15/10, Jacob Todd wrote: > > On Wed, Sep 30, 2009 at 05:48:24PM +1000, Bruce Ellis wrote: > > > yes, i will post a link when i tidy it up. > > > > > > brucee > > > > > > On 9/30/09, Jacob Todd wrote: > > Things tidied up yet? > > > > -- > > Government is the great fiction through which everybody > > endeavors to live at the expense of everybody else. > > > > >
Re: [9fans] THnX status?
So how far did you get? I'm currently reading about that package system and think we could send a 9vx package to the maintainer when ready... I'm also not sure yet about the best way of binding packages directly into the filesystem instead of ftp getting them On Tue, Mar 17, 2009 at 1:30 PM, ron minnich wrote: > On Mon, Mar 16, 2009 at 11:15 PM, Anthony Sorace wrote: >> Tiny Core Linux looks interesting. Played around a bit in a VM tonight >> and will be trying it on the ThinkPad tomorrow. I'm curious about your >> setup. I assume you're using 9vx directly for graphics, no more >> drawterm? You run within X? > > yes, because I don't think there is a vx32 implemention that uses > devfb. Which is just > as well, the devfb drawterm was nice but when it fails, well, you're > in trouble. > > I'd like to have a cdrom that just boots up into tinycore and vx32. > > ron > >
Re: [9fans] dataflow programming from shell interpreter
The PBM utilities (now net pbm) did something similar for bitmaps. I think V10 also had some pipeline utils for manipulating images. In article <89568f5cfeef17d6b1a79f12daeea...@quintile.net>, Steve Simon wrote: >> Building environment for dataflow >> programming from shell interpreter. > >This is always somthing I have wanted to do for video stream >processing, writeing a limited proceedural language which can >be refactored as a dataflow graph for efficent implementation >(of video processing). > >I always imagined it as a shell-like language rather than actually >using an existing shell. > >Sadly this never got further than ideas and a few email exchanges with Byron. > >If you find any papers describing such things I would be interested >in any references - I think I found some stuff from Berkley in the >early 1990s from their work on a reconfigurable FPGA based image >processing engine. > >-Steve > -- Aharon (Arnold) Robbins arnold AT skeeve DOT com P.O. Box 354Home Phone: +972 8 979-0381 Nof Ayalon Cell Phone: +972 50 729-7545 D.N. Shimshon 99785 ISRAEL