Re: [9fans] mk time-check/slice issue

2013-12-18 Thread Jason Catena
In part to substitute issues with time with issues with checksums, I am writing a build tool for Inferno loosely inspired by djb's redo. I think it deals nicely with some of the problems of make/mk tools: it handles multiple outputs, treats shell variables as /env files for dependencies, and uses

[9fans] Credo: Inferno build tool

2013-03-25 Thread Jason Catena
[Mk] only knows about the rules you give it. It does not understand the real dependencies in your software. Also, because of this you tend to give it general rules which are not always right. I thirk this might be a good place to mention that I'm working on a build tool which, in effect,

[9fans] Watch?

2012-09-18 Thread Jason Catena
Where can I find the Watch command Russ showed in the Acme video? It doesn't seem to be in Inferno, in plan9port as far as I could tell, or noted in the contrib index. Or is it left as an exercise for the viewer? ;) Jason Catena

[9fans] make-shells that create a file for you

2012-08-30 Thread Jason Catena
what was gained by bundling it into the shell. Of course, the suggested feature does slow down the shell when it encounters a file that does not exist, since it has to scan through its rules for a possible creation rule, rather than just exit with an error. Jason Catena

Re: [9fans] Heresy alert, Zerox - Clone

2012-06-09 Thread Jason Catena
drifted quite a bit from the subject line. Jason Catena

[9fans] Heresy alert

2012-05-31 Thread Jason Catena
There is a computer science concept analogous to what Zerox does. Pass argument by reference also provides a look-in to a point in memory without copying it. So if you want to name it something else, try changing it to CpRef.

[9fans] nb—search and index notes in files by keyword

2010-03-05 Thread Jason Catena
) and composability of keywords (just string a few grep and grep -v after the nb command). Jason Catena

Re: [9fans] find command reloaded

2010-01-22 Thread Jason Catena
If looking through code: du -a . | xargs g pattern [2]/dev/null If looking through all files: du -a . | xargs grep -n foo [2]/dev/null The -n is to be friendly with acme. This presumes you have (at least a cheap knockoff of) xargs.

Re: [9fans] find command reloaded

2010-01-22 Thread Jason Catena
Recursively list only files; grep them with g to get full path, filename, and line number; protect against John's semicolon trick by quoting each file. walk -f | sed 's,^,g '^$1^' '',;s,$,'',' | rc walk apparently completely omits from its output files with a single-quote in their names, and

Re: [9fans] using acme/Mail from plan9port in Linux

2009-12-16 Thread Jason Catena
or directory mail is indeed not in the namespace directory. These files are present. /tmp/ns.jdc.192.168.1.102:0/acme /tmp/ns.jdc.192.168.1.102:0/factotum /tmp/ns.jdc.192.168.1.102:0/plumb What should I run to make it present? Does mailfs mislead me by saying it succeeded? Jason Catena

Re: [9fans] What do you use plan 9 for?

2009-12-14 Thread Jason Catena
scripted) calculating needs. I would like to use Mail instead of Outlook, if like nmh I can pull files from an Exchange server. I haven't really looked into this yet, but it could be a huge win. I know all this barely scratches the surface of what plan9(port) can do. Jason Catena

Re: [9fans] tex

2009-12-08 Thread Jason Catena
by me, then we both may make a bad decision, and my pitch derailed both of us. -Steve Jason Catena

Re: [9fans] grëp (rhymes with creep) and cptmp

2009-11-30 Thread Jason Catena
and other characters with bigger classes) on this data set (a collection of notes largely cut-and-pasted from the web). - erik Jason Catena

Re: [9fans] grëp (rhymes with creep) and cptmp

2009-11-30 Thread Jason Catena
: segmentation violation - erik Jason Catena

[9fans] grëp (rhymes with creep) and cptmp

2009-11-29 Thread Jason Catena
} if not { touch $tmp } chmod +wx $tmp echo $tmp Jason Catena charclass Description: Binary data

Re: [9fans] OT (again) PERT charts?

2009-11-04 Thread Jason Catena
Don't make me use MS Project, please... This web page offers seven years of curated discussion on this (off-)topic. http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=76topic_id=1topic= -Steve Jason Catena

Re: [9fans] sed question (OT)

2009-10-29 Thread Jason Catena
, and (2b) the second refers to line 3 of the entire file, not line 3 of the pattern space. -Steve Jason Catena

Re: [9fans] Two suggestions for ape (was: egrep for Plan9)

2009-10-23 Thread Jason Catena
been described here autoconf should not have the expectation that it gets -i, just to ignore it. For ape that's fine, but from what I've had rejected I believe the core of plan9 is held to a higher standard. Dmitry Jason Catena

Re: [9fans] Two suggestions for ape (was: egrep for Plan9)

2009-10-23 Thread Jason Catena
/9038/10015) and runs the result. For configure, it would be called something like vary -x plan9port.sam configure --configure-opt which would create a new variation of the configure script, called configure.plan9port, and run it. Tim Newsham Jason Catena

Re: [9fans] Barrelfish

2009-10-16 Thread Jason Catena
Jason Catena

Re: [9fans] where are the results of GSoC 2009 hosted?

2009-10-14 Thread Jason Catena
we'll post an update here when actual source code produced during this year's Google Summer of Code has been made available on project hosting on Google Code. http://google-opensource.blogspot.com/2009/08/wrapping-our-fifth-google-summer-of.html Some mentoring orgs already posted results.

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

2009-10-06 Thread Jason Catena
commonly pass multiple lines, not just separated fields. John Stalker Jason Catena

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

2009-10-05 Thread Jason Catena
was the suffix 0. You might want to avoid the prefix g.) John Stalker Jason Catena

Re: [9fans] tex on plan 9

2009-10-05 Thread Jason Catena
incorporation of new ideas, it becomes a stagnant and hostile exercise in standards-keeping. - erik Jason Catena

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-02 Thread Jason Catena
`./latin1.7a.font': Connection reset by peer Jason Catena On Thu, Oct 1, 2009 at 22:11, erik quanstrom quans...@quanstro.net wrote: My test case tries to copy a file over top of one that already exists.  In this case, the bug decided to flit right by the check at convM2S.c:216,217. i thought

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread Jason Catena
touch `this': Permission denied $ ls `namespace` acme factotum plumb sources.cs.bell-labs.com Jason Catena On Thu, Oct 1, 2009 at 02:44, Venkatesh Srinivas m...@acm.jhu.edu wrote: Hi, In order to construct an authenticated mount of sources, you will need to start factotum, use srv

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread Jason Catena
On Thu, Oct 1, 2009 at 05:31, sqweek sqw...@gmail.com wrote: 2009/10/1 Ethan Grammatikidis eeke...@fastmail.fm: On Thu, 1 Oct 2009 04:50:40 -0500 Jason Catena jason.cat...@gmail.com wrote: $ ls -lad drwxrwxr-x 1 4294967294 4294967294 0 2009-09-30 23:11 . You have numbers for user and group

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread Jason Catena
': Connection reset by peer Jason Catena

Re: [9fans] acme without a heavy grid (SFW)

2009-09-30 Thread Jason Catena
On Wed, Sep 30, 2009 at 15:43, Jack Norton j...@0x6a.com wrote: Jason Catena wrote: A quick edit frees acme from its heavy grid prison, a la Tufte. https://dl.getdropbox.com/u/502901/acmenogrid.jpg How about no grid whatsoever (while you're at it)? I believe in a subtle or invisible grid

[9fans] remedial sources auth, connect, and mount in plan9port

2009-09-30 Thread Jason Catena
directory) as a writable filesystem? I promise diligent study, to understand what the commands do. Jason Catena

[9fans] acme without a heavy grid (SFW)

2009-09-29 Thread Jason Catena
A quick edit frees acme from its heavy grid prison, a la Tufte. https://dl.getdropbox.com/u/502901/acmenogrid.jpg Jason Catena

[9fans] nice appearance to Times font with accented characters (in acme)?

2009-09-28 Thread Jason Catena
(there's no bit directory, so which file actually defines the default euro.8.font plan9port-acme uses?), but are not so small as palatino/latin1.6.font (7 8 get clipped). Jason Catena

Re: [9fans] linux stats in last year from linuxcon

2009-09-22 Thread Jason Catena
and for proving its correctness. Such a verified compiler is useful in the context of critical software and its formal verification: the verification of the compiler guarantees that the safety properties proved on the source code hold for the executable compiled code as well. Tim Newsham Jason Catena

Re: [9fans] Chaucer on 9fans

2009-09-13 Thread Jason Catena
on the other side of the great vowel shift from Chaucer's middle English. http://blogs.myspace.com/index.cfm?fuseaction=blog.viewfriendId=116217231blogId=178646624 (Sorry for contributing to off-topic-ness.) Jason Catena

Re: [9fans] nice quote

2009-09-09 Thread Jason Catena
called vary (not published yet) which takes a sam script and another file, applies the sam script to the file, saves it with a new name, and optionally executes it. So you don't have to maintain many nearly-identical scripts. I should upload vary to the same patch set soon, for review. Jason

Re: [9fans] nice quote

2009-09-09 Thread Jason Catena
that in bash's pipe and smoke it. Jason Catena

Re: [9fans] nice quote

2009-09-05 Thread Jason Catena
don't write different implementations of the same function for different types, yet preserve type compatibility and checking), and reliability (pure functions don't depend on state, so have fewer moving parts to go wrong). Jason Catena

Re: [9fans] nice quote

2009-09-04 Thread Jason Catena
, more stable code (eg xmonad vs any C-based window manager). Jason Catena

Re: [9fans] nice quote

2009-09-03 Thread Jason Catena
was delivered by Perl.) Jason Catena

Re: [9fans] Using Guide Files

2009-08-11 Thread Jason Catena
,        Peter Canning Jason Catena

Re: [9fans] Using Guide Files

2009-08-10 Thread Jason Catena
where you want the file. Jason Catena

Re: [9fans] Using Guide Files

2009-08-10 Thread Jason Catena
in a directory's tag, highlight a filename in that directory, then highlight a command and apply it to Run with 2-1 to run the command on the file? Ruda Thanks, I'm a happier acme user now. Jason Catena

Re: [9fans] Using Guide Files

2009-08-10 Thread Jason Catena
the command. Jason Catena

Re: [9fans] Acme Configuration

2009-08-07 Thread Jason Catena
. in acme: highlight and execute Dump /home/me/dump/whatever in shell: rum acme -l /home/me/dump/whatever Jason Catena

Re: [9fans] Acme Configuration

2009-08-07 Thread Jason Catena
, noticeable) change. Jason Catena

Re: [9fans] 9base-3

2009-08-07 Thread Jason Catena
not behind the firewall, to download the whole distribution file-by-file. Jason Catena

Re: [9fans] contrib dir

2009-08-06 Thread Jason Catena
Hi Geoff, I would also like to request a directory in sources/contrib, to store a stream wrapper around sam (ssam), a script which uses mk to parallelize a command over a set of arguments (apply), a script to port ksh/bash scripts to rc (torc), et cetera.  Many thanks. Jason Catena (jdc)

Re: [9fans] unsuscribe

2009-07-27 Thread Jason Catena
And gets all the cleverest guys. Sometimes they're a bit full of themselves, and they don't cruise the highways normally (they'd rather teleport), but they know all the neatest party tricks.

Re: [9fans] iwp9 updates

2009-07-24 Thread Jason Catena
To complicate the answer: there's an effort to make article and book styles along the lines of Tufte's books. Sidenotes, Palatino and Bera Mono fonts (I use Inconsolata for both paper code segments and in Acme), and shallow sectioning without numbers. http://code.google.com/p/tufte-latex/ Jason

Re: [9fans] iwp9 updates

2009-07-24 Thread Jason Catena
Sorry, didn't mean to imply one should vary from the conference's writ. Jason Catena

[9fans] plan9port behind corporate firewall with no DNS or port access

2009-07-24 Thread Jason Catena
sources from my home computer? 9fs sources srv: dial tcp!sources.cs.bell-labs.com!9fs: unknown host sources.cs.bell-labs.com 9fs: exit 1 Jason Catena

Re: [9fans] plan9port behind corporate firewall with no DNS or port access

2009-07-24 Thread Jason Catena
On Fri, Jul 24, 2009 at 23:35, andrey mirtchovski mirtchov...@gmail.comwrote: Just checking: have you tried accessing it by IP address (204.178.31.8) rather than hostname? (this, of course, assumes that you've ruled out a bad ndb configuration as the reason). traceroute can't get to that IP

Re: [9fans] Does as little software as possible include a modern browser?

2009-07-23 Thread Jason Catena
On Thu, Jul 23, 2009 at 04:48, C H Forsyth fors...@vitanuova.com wrote: I hope the services I want to use (will) have a non-browser API (eg Twitter). in fact, since a browser must ultimately send messages, it's not clear what a `browser API' would look like. Many AJAX and image-map

[9fans] Does as little software as possible include a modern browser?

2009-07-22 Thread Jason Catena
for the platform, how will Plan 9 participate in the cloud computing (r)evolution? I suppose it would be enough to have a Chromium port, if Chrome and the Chrome OS gain traction. Jason Catena

Re: [9fans] Does as little software as possible include a modern browser?

2009-07-22 Thread Jason Catena
Twitter). Jason Catena

Re: [9fans] dcp - a deep copy script, better than dircp

2009-07-20 Thread Jason Catena
usable, less frustrating filesystem than the former. Jason Catena

Re: [9fans] first timer - editing plan9.ini

2009-07-19 Thread Jason Catena
for you. http://codereview.appspot.com/95076/diff/1/2 Jason Catena

Re: [9fans] Why does Acme only show text?

2009-07-15 Thread Jason Catena
away, but auto-indent to just the right place for it means I have to go out of my way more often to get the cursor to where I actually want it. Dave Jason Catena

Re: [9fans] Why does Acme only show text?

2009-07-15 Thread Jason Catena
. In addition, I rely on design theory (esp. Tufte et al on his web site) that reducing clutter aids comprehension, and delimiters very much seem clutter to me. Jason Catena

Re: [9fans] Why does Acme only show text?

2009-07-15 Thread Jason Catena
Real World Haskell ch4 pp71-72 do x - foo y - bar the y - bar must be directly under the x on the previous line or it's a syntax error, and the error you get from GHC is the last statement of a do construct must be an expression Huh, so this Haskell syntax actually prevents you from

[9fans] Why does Acme only show text?

2009-07-14 Thread Jason Catena
interface? Or is any format other than text considered a red-headed stepchild to be delegated to other programs in the few cases where it must be used? Jason Catena

Re: [9fans] nemo's book - where is it currently hosted?

2009-07-12 Thread Jason Catena
The more hosts, the less chance of it going missing. In this spirit, newly mirrored at https://files.getdropbox.com/u/502901/9.intro.pdf Jason Catena

Re: [9fans] plan 9 interface color ergonomy

2009-07-10 Thread Jason Catena
Rob explains the fonts and colors (inspired by Tufte, no less) a bit in this reposted message, and mentions Renee French. http://www.mail-archive.com/9f...@cse.psu.edu/msg13035.html Jason Catena

Re: [9fans] Plan9 as an everyday OS

2009-07-10 Thread Jason Catena
Much anger there is in him. Too much pride in his powers. Jason Catena

Re: [9fans] data analysis on plan9

2009-07-09 Thread Jason Catena
earlier, discarding functions which completed in less than 4000 cycles, we just ran: plots/createplot /amd64/9k8pf 4000 ./trace plotme and fed the input into gnuplot. Jason Catena

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

2009-07-09 Thread Jason Catena
and for smoking out follow-on questions. Jason Catena

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

2009-07-09 Thread Jason Catena
the page of a guy at NASA. (I posted a few recent simple examples, in the tufte-handout style, at http://swtools.wordpress.com/papers/ . I plan to ask for a publishing release for the really interesting ones now behind a corp firewall.) Thierry Laronde Jason Catena

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

2009-07-09 Thread Jason Catena
interacts with others and maps to the problem domain. Jason Catena

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

2009-07-08 Thread Jason Catena
is an elusive illusion, so enlist others throughout the process. Jason Catena

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

2009-07-08 Thread Jason Catena
in C Inside every large problem is a small problem struggling to get out.        - niklaus wirth When in doubt, use brute force.        - ken thompson Agree, but these are off the point of when to release code, however well-spoken and perceptive. - erik Jason Catena

Re: [9fans] Guide to using Acme effectively?

2009-07-06 Thread Jason Catena
How far off topic are we now? Can we get away with carrying on? :) Not unless you're wearing Spock ears.

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread Jason Catena
switching wholly over to plan9port. Probably its greatest advantage to me now is that it's small and compiles easy to any platform I've tried: Linux, Solaris, even Cygwin. So I tend to load it on machines I will be on only briefly, to avoid having to use vi or emacs. Jason Catena