From: Matt H <matt@proweb.co.uk>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] is nickle plan9 acceptable?
Date: Sun, 27 Jan 2002 14:43:47 +0000 [thread overview]
Message-ID: <20020127144347.6a6fa5a7.matt@proweb.co.uk> (raw)
In-Reply-To: <20020127115500.D9BF93F40B@quanstro.net>
On Sun, 27 Jan 2002 06:55:00 -0500 (EST)
"erik quanstrom" <quanstro@speakeasy.net> wrote:
> are you one of those guys who is person b in this conversation:
>
> a) can i borrow x?
> b) i belive you can yes.
> a) okay, damit, /may/ i borrow x?
yes I am, it drives people crazy.
but luckily it's not quite at that level
I think it comes from too much programming!
are you the sort of programmer that does :
f = fopen("filename", "w");
f.write(areallybigstring);
f.close()
or
stringlen = len(areallybigstring)
if (not enoughdiskspace(stringlen)) :
print "not enough space on device to write file"
sys.exit()
try :
f = fopen("filename", "w");
except :
print "couldn't open file for writing"
sys.exit()
try :
w = f.write(areallybigstring);
except :
print "write failed"
sys.exit()
try :
f.close()
except :
print "close failed"
if (w != stringlen) :
print "agghh not enough bytes written"
next prev parent reply other threads:[~2002-01-27 14:43 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-27 11:55 erik quanstrom
2002-01-27 14:43 ` Matt H [this message]
2002-01-28 11:53 ` Boyd Roberts
-- strict thread matches above, loose matches on Subject: below --
2002-01-29 2:00 okamoto
2002-01-29 6:14 ` skipt
2002-01-29 11:05 ` Boyd Roberts
2002-01-25 17:16 George Michaelson
2002-01-25 12:35 ` Boyd Roberts
2002-01-28 4:45 ` YAMANASHI Takeshi
2002-01-28 16:55 ` Boyd Roberts
2002-01-25 3:20 David Gordon Hogan
2002-01-25 12:33 ` Boyd Roberts
2002-01-25 17:01 ` Dave Lukes
2002-01-25 2:28 rob pike
2002-01-25 2:26 rob pike
2002-01-25 3:12 ` Mike Haertel
2002-01-25 10:02 ` Thomas Bushnell, BSG
2002-01-25 3:12 ` Quinn Dunkan
2002-01-25 10:01 ` Thomas Bushnell, BSG
2002-01-25 10:01 ` Thomas Bushnell, BSG
2002-01-25 12:32 ` Boyd Roberts
2002-01-28 11:12 ` Douglas A. Gwyn
2002-01-25 2:23 Russ Cox
2002-01-25 10:02 ` ozan s yigit
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=20020127144347.6a6fa5a7.matt@proweb.co.uk \
--to=matt@proweb.co.uk \
--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).