9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Boyd Roberts" <boyd@planete.net>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] Publish and be damned.
Date: Fri, 20 Apr 2001 23:02:13 +0200	[thread overview]
Message-ID: <011f01c0c9dd$2ccc5d40$e0b6c6d4@SOMA> (raw)
In-Reply-To: <20010420163931.A6978@cackle.proxima.alt.za>

From: "Lucio De Re" <lucio@proxima.alt.za>
> I have an unfinished game (mastermind or bulls and cows) for Plan
> 9 I threw together to get a feeling for the graphics.  I am reluctant
> to post it as it stands because of the personal involvement, possible
> criticism, any number of embarrassments due to the unfinished nature
> of the program.

no, the 'owner' of the code gives you the url.  the url points at the
version that the 'owner' is prepared to release.  the url should point
at a 'portable' single file.  no 5k tarred (sic) zipped nonsense.

use bundle:

    http://www.planete.net/~boyd/code/bundle.html

and if it's large, and only then, then compress it.

you just maintain a chunk of pages with a chunk of urls.  you could
code it in a few hours with the shell of your choice.  look at:

    http://www.planete.net/~boyd/code/mkthumb

it doesn't do what you want, but its exhibits the principle.

this is a lot faster to write and use than some random piece of
junk on windows/unix/linux etc and is reasonably portable across
bourne shells that support shell functions.

see how it goes, and then, and only then go for a more
complex solution.  there's no point wasting time writing
3 zillion lines of C for something that turned out to
be a bad idea, when you could of worked it out with a
rapid prototype.

IIRC plan 9 was an experiment that came out of a research
lab and in response to the question what they for version
control, well was:

    /n/dump

on that topic i built a version of /n/dump using a program
(to call ftw(3) and stat(2)) and some scripts (to select and
copy the files) when i was at PRL.  as fast as i could free up
RA90's [1GB] i was headed to have the last ~30 days of all the
user's home directories on mag disc.  presented it as a WIP at a
USENIX -- hell, ken, with phil in tow, walked in.

on top of that ran the normal backups.  my version of /n/dump
was there for when someone blew away a file that they'd created
recently so they could go and get it themselves with cd, ls and cp.

if i had decided to write this thing in C it woulda taken months
and months more to debug; stuff that plays with time breaks when
it's time for it to break.

fixing a broken 'case' statement is a lot easier than wading
through hundreds or more lines of C.  speed was not an issue,
'cos it was basically i/o bound.  anyway, you can fix that
later.

been there, seen that, got the bowling shirt ...





  parent reply	other threads:[~2001-04-20 21:02 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-20  5:54 Lucio De Re
2001-04-20 12:22 ` Boyd Roberts
2001-04-20 14:13   ` Eric Lee Green
2001-04-20 19:15     ` Boyd Roberts
2001-04-20 14:39   ` Lucio De Re
2001-04-20 20:35     ` Christopher Nielsen
2001-04-20 21:02     ` Boyd Roberts [this message]
2001-04-21  7:34       ` Lucio De Re
2001-04-21 11:06         ` Boyd Roberts
2001-04-21 12:59           ` Lucio De Re
2001-04-21 13:43             ` Boyd Roberts
2001-04-21 14:20               ` Lucio De Re
2001-04-21 13:08           ` Steve Kilbane
2001-04-22  1:37             ` Boyd Roberts
2001-04-22  9:37               ` Steve Kilbane
2001-04-22 14:51                 ` Boyd Roberts
2001-04-22 15:21                   ` Lucio De Re
2001-04-22 15:42                     ` Boyd Roberts
2001-04-22 15:55                       ` Software Repository
2001-04-22 13:26             ` Lucio De Re
2001-04-22 16:00               ` Dan Cross
2001-04-22 16:13                 ` Lucio De Re
2001-04-22 22:25                   ` Dan Cross
2001-04-22 16:18                 ` Boyd Roberts
2001-04-22 16:33                   ` Lucio De Re
2001-04-22 16:46                     ` Boyd Roberts
2001-04-22 22:14                   ` Dan Cross
2001-04-22 22:16                     ` Boyd Roberts
2001-04-22 22:25                     ` Boyd Roberts
2001-04-22 22:32                     ` Boyd Roberts
2001-04-23 19:31                       ` Dan Cross
2001-04-20 14:52 nemo
2001-04-20 15:11 ` Lucio De Re
2001-04-21 14:34 jmk
2001-04-21 19:03 ` Boyd Roberts
2001-04-22 16:12 rsc
2001-04-22 16:17 ` Lucio De Re
2001-04-22 23:52 rsc
2001-04-23  4:26 ` Lucio De Re
2001-04-23 19:33   ` Dan Cross
2001-04-23 19:32 ` Dan Cross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='011f01c0c9dd$2ccc5d40$e0b6c6d4@SOMA' \
    --to=boyd@planete.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).