[9fans] Re: broken link in cat-v

2024-02-09 Thread Rob Pike
Thanks, but I don't know who owns that site these dayse. I'll forward to the 9fans mailing list. -rob On Sat, Feb 10, 2024 at 6:20 AM Douglas McIlroy < douglas.mcil...@dartmouth.edu> wrote: > The link to plan 9 from outer space in sam.cat-v is wrong. I found a good > link in wikipedia. >

Re: [9fans] Plan9 multi-core support

2023-08-29 Thread Rob Pike
The dual VAX was the first machine we tried to make work, but for various reasons including the machine's peculiarities and our own embryonic knowledge, we abandoned it. The first working Plan 9 kernel was for a 4-CPU (one MIPS chip per board) IRIS machine, with custom locking hardware (on another

Re: [9fans] Plan9 multi-core support

2023-08-26 Thread Rob Pike
A big reason for doing Plan 9, as the linked article says right up top, was supporting multi{core|processor} machines. And that took some research because there really hadn't been that many around to write OSes for before then. Some novel work resulted, work that still has relevance. -rob On

Re: [9fans] How to customize set of commands in acme

2023-01-16 Thread Rob Pike
Create the initial workspace you want, use Dump, and quit. Then when you want to start, say acme -l acme.dump. -rob On Mon, Jan 16, 2023 at 6:58 PM Alexander Sychev wrote: > Hello, > > For manipulating tags of windows, you can eather use external application > or patch acme. I wrote an

Re: [9fans] B name origin?

2022-12-12 Thread Rob Pike
Buffer, a word in editor context that came from QED but may have had earlier roots. -rob On Mon, Dec 12, 2022 at 11:44 PM wrote: > Does anybody know where the name B (b/B in sam) comes from? > thanks, > Gergely Födémesi -- 9fans: 9fans Permalink:

Re: [9fans] acme and sam - mouse suggestions?

2022-01-27 Thread Rob Pike
more like a single axis trackpoint. > > On Jan 27, 2022, at 8:47 PM, Rob Pike wrote: > > I have one mouse still in the original unopened box, just to be safe. The > label reads > > 31P7405 Lenovo Scrollpoint Mouse Model MO098OA > > And I have now opened it to be sure, and

Re: [9fans] acme and sam - mouse suggestions?

2022-01-27 Thread Rob Pike
I have one mouse still in the original unopened box, just to be safe. The label reads 31P7405 Lenovo Scrollpoint Mouse Model MO098OA And I have now opened it to be sure, and it is the true blue (literally) 3-button version. It is labeled Lenovo, although the ones I use are all labeled IBM. -rob

Re: [9fans] acme and sam - mouse suggestions?

2022-01-27 Thread Rob Pike
LENOVO SCROLLPOINT MOUSE - USB. I have a few of them. None of mine have ever broken or needed maintenance. Not sure they're made any more, and the IBM logo on this: https://www.exxactcorp.com/Lenovo-31P7405-E1272118 may be indicative, but I've been using mine for 20+ years with great

Re: [9fans] Codebase navigation and using tags files in acme

2021-08-19 Thread Rob Pike
It is Russ Cox's code search suite: https://github.com/google/codesearch On Fri, Aug 20, 2021 at 5:02 AM wrote: > Quoth un...@cpan.org: > > Quoth Maurizio Boriani : > > > thanks a lot! But... what's csearch? > > > > Possibly > https://manpages.debian.org/testing/codesearch/csearch.1.en.html >

Re: [9fans] Codebase navigation and using tags files in acme

2021-08-18 Thread Rob Pike
% cat bin/f #!/bin/sh 9 grep -i -n '^func (\([^)]+\) )?'$1'\(' *.go /dev/null % cat bin/t #!/bin/sh 9 grep -i -n '^type '$1' ' *.go /dev/null % cat bin/cf #!/bin/sh csearch -n -f '\.go$' '^func (\([^)]+\) )?'$1'\(' % cat bin/ct #!/bin/sh csearch -n -f '\.go$' '^type '$1

Re: [9fans] astro: meeteeor shouwer?

2021-07-28 Thread Rob Pike
If you mean, why is it spelled like that? It's because the text was sent to the voice synthesizer for the 5PM Unix room ephemeris announcement. Tweaked spellings could improve pronunciation. -rob On Thu, Jul 29, 2021 at 9:42 AM Marshall Conover wrote: > Today's the peak of a seasonal meteor

Re: [9fans] Help with a sam cleanup script

2021-07-21 Thread Rob Pike
There are many things here that feel wrong or at least inelegant, starting with the first character. Surely you mean a comma not a period. You are also inconsistent: sometimes you use x to find the pattern and then change it, sometimes you use a substitute. It's more efficient in both time and

Re: [9fans] ed regular expressions in sam

2021-07-20 Thread Rob Pike
I would ,x s/.*/echo "&"/ as it seems most direct. The ,x idiom is the thing that turns sam into ed. -rob On Tue, Jul 20, 2021 at 9:18 PM wrote: > or: > > ,x/^/i/echo " > ,x/$/i/" > -- 9fans: 9fans Permalink:

Re: [9fans] Sam arena allocators

2021-06-28 Thread Rob Pike
After Acme was written, I replaced most of the buffer management code in Sam with that from Acme, which was more efficient - it did the database stuff in a different order that was one pass quicker. It's possible the old code used an arena allocator, I don't remember, but it's possible you're

Re: [9fans] Acme fonts

2020-07-22 Thread Rob Pike
I see, yes. Well, that's not too terrible. -rob On Thu, Jul 23, 2020 at 1:40 PM wrote: > > I don't understand that. Acme knows the characters' location or it > couldn't > > draw them. Are you sure it's not just the frame library's lousy handling > of > > italic fonts? > > Unless I'm

Re: [9fans] Acme fonts

2020-07-22 Thread Rob Pike
> > *You can tell because when I double-click on the modified text acme > doesn't know where the word boundaries are and ends up highlighting across > punctuation that it normally wouldn't.* I don't understand that. Acme knows the characters' location or it couldn't draw them. Are you sure it's

Re: [9fans] dc(1) exponent limits

2019-12-16 Thread Rob Pike
In case it's not clear, those calculations are integral, only the presentation looks like floats. -rob On Tue, Dec 17, 2019 at 9:46 AM Rob Pike wrote: > % ivy > 652342**52342 > 1.85475753442e+304341 > > )cpu > 8.291ms > > (652342**52342)/34232342 > 9.2737876720

Re: [9fans] dc(1) exponent limits

2019-12-16 Thread Rob Pike
% ivy 652342**52342 1.85475753442e+304341 )cpu 8.291ms (652342**52342)/34232342 9.27378767209e+304340/17116171 )cpu 9.217ms float _ 5.41814385477e+304333 50 minutes feels excessive; dc seems to work very hard. -rob -- 9fans: 9fans Permalink:

Re: [9fans] R.I.P cs.bell-labs.com

2018-01-05 Thread Rob Pike
Everyone is naming sites to check out, but which one has the right contents, is being maintained, and will be stable? -rob On Fri, Jan 5, 2018 at 6:42 PM, David du Colombier <0in...@gmail.com> wrote: > Take a look to https://9p.io/ > > -- > David du Colombier > >

Re: [9fans] (no subject)

2018-01-04 Thread Rob Pike
What's this? https://plan9.io/ On Fri, Jan 5, 2018 at 9:27 AM, Joseph Stewart wrote: > Someone (not me) should make a 9p to S3 service and put all the goodies > there. > -joe > > On Thu, Jan 4, 2018 at 1:20 PM, Steve Simon wrote: > >> I found the

Re: [9fans] questions whose answers are only known by people who abandoned 9fans

2017-10-17 Thread Rob Pike
It went away because it wasn't necessary. -rob On Wed, Oct 18, 2017 at 11:50 AM, Kurt H Maier wrote: > On Tue, Oct 17, 2017 at 05:46:22PM -0700, Kurt H Maier wrote: > > > > implementation of sam, the '@' operator (which behaved like '*' except > > The '@' operator (c=ANYNL)

Re: [9fans] Blit

2017-04-27 Thread Rob Pike
nough to let me stay as a house guest. I recall you saying that you used > bedbug when writing sam. > > Such an enlightenment after using vi. Was it a 1200 baud modem? > > brucee > > On 27 April 2017 at 22:37, Rob Pike <robp...@gmail.com> wrote: > >> Total c

Re: [9fans] Blit

2017-04-27 Thread Rob Pike
Total coincidence: I played on a 5620 yesterday, connected to a 3B2 running System V. Used jim for the first time since 1985. -rob On Wed, Apr 26, 2017 at 10:23 PM, Bruce Ellis wrote: > I guess Stephen should update his webpage. He's quite a specialized > tinkerer. He

Re: [9fans] Ping

2016-09-13 Thread Rob Pike
This might be one reason. -rob On Tue, Sep 13, 2016 at 10:51 PM, Chris McGee wrote: > Sorry for the spam. Is this mailing list getting my emails? > > Thanks > Chris >

Re: [9fans] Why does Plan 9 use “snarf” instead of “copy”?

2016-09-12 Thread Rob Pike
The operation is not to copy but to snarf. It's called snarf because snarf is what it does. There is no design document. -rob On Mon, Sep 12, 2016 at 8:44 PM, Alexander Kapshuk wrote: > Both 'Zerox' and 'Snarf' are there: > > /sys/src/cmd/acme/cols.c:34 >

Re: [9fans] problem with acme on 9front

2016-05-21 Thread Rob Pike
If that was meant as a dis, you obviously haven't been to New York lately. -rob On Sat, May 21, 2016 at 11:16 AM, Kurt H Maier wrote: > On Sat, May 21, 2016 at 10:36:44AM -0700, erik quanstrom wrote: > > > This is tantamount to saying acme is superior because you are better

Re: [9fans] [acme] Edit command -- More than one argument?

2014-10-27 Thread Rob Pike
Edit { s/^/\[/ s/\:\ /\]/ } On Mon, Oct 27, 2014 at 8:28 AM, Eduardo Alvarez astrochelon...@gmail.com wrote: Hello, everyone, I'm in the process of learning acme via Russ Cox's p9p port. Recently, I found myself editing some text to use with markdown, and needed to make more than one

Re: [9fans] [acme] Edit command -- More than one argument?

2014-10-27 Thread Rob Pike
Yes you can. That's how I verified this works. Open up the tag to multiple lines (just type newline in the tag). -rob

Re: [9fans] [acme] Edit command -- More than one argument?

2014-10-27 Thread Rob Pike
That's a shame. -rob On Mon, Oct 27, 2014 at 9:41 AM, s...@9front.org wrote: Yes you can. That's how I verified this works. Open up the tag to multiple lines (just type newline in the tag). I think this only works in p9p. sl

Re: [9fans] copy paste bug in cc.y?

2014-10-14 Thread Rob Pike
Looks like it. -rob On Tue, Oct 14, 2014 at 3:11 PM, Yoann Padioleau p...@fb.com wrote: Hi, It’s a copy paste bug here right? https://code.google.com/p/ken-cc/source/browse/src/cmd/cc/cc.y#476 | LSWITCH '(' cexpr ')' stmnt { $$ = new(OCONST, Z,

Re: [9fans] copy paste bug in cc.y?

2014-10-14 Thread Rob Pike
It's not dead code. It's prepping the switch somehow. -rob On Tue, Oct 14, 2014 at 3:45 PM, Rob Pike robp...@gmail.com wrote: Looks like it. -rob On Tue, Oct 14, 2014 at 3:11 PM, Yoann Padioleau p...@fb.com wrote: Hi, It’s a copy paste bug here right? https://code.google.com/p/ken

Re: [9fans] JIT (mostly off topic)

2014-09-09 Thread Rob Pike
The original Blit JIT (stupid name - if the compilation was in time we wouldn't need a JIT. Our term was on the fly) version was actually done by John Reiser. My favorite JIT I wrote was to fix up floating point after a trap on the SPARC. -rob

[9fans] sam for Windows?

2014-06-02 Thread Rob Pike
Does anyone know of a version of sam for Windows that will run on 64-bit installations? -rob

Re: [9fans] sam for Windows?

2014-06-02 Thread Rob Pike
The old version of sam does not run on 64 bits, I am told. -rob On Mon, Jun 2, 2014 at 3:56 PM, Lee Fallat ircsurfe...@gmail.com wrote: Does that old version of sam[1] not run on 64-bit Windows? 1: http://plan9.bell-labs.com/sources/extra/9pm051031.zip (the version I ran awhile ago at my

Re: [9fans] sam for Windows?

2014-06-02 Thread Rob Pike
Great, thanks. -rob

Re: [9fans] why u.h, why qid?

2014-05-09 Thread Rob Pike
u for uint uchar ulong q for unique.

Re: [9fans] acme known joke, columns tags lost typing focus

2014-02-12 Thread Rob Pike
I don't understand the bug report. I can't see any problems like what is hinted at in the description. Please explain carefully and precisely how to recreate it. On Wed, Feb 12, 2014 at 5:28 AM, erik quanstrom quans...@quanstro.net wrote: On Wed Feb 12 08:24:28 EST 2014, uvelichi...@gmail.com

Re: [9fans] i'm afraid we've had it wrong

2013-09-29 Thread Rob Pike
He appears not to understand the concept of research. -rob On Sun, Sep 29, 2013 at 10:00 AM, Jacob Todd jaketodd...@gmail.com wrote: it's good to know where we went wrong. On Sun, Sep 29, 2013 at 12:55 PM, andrey mirtchovski mirtchov...@gmail.com wrote: after all these years:

Re: [9fans] Acme win and 75+ character Send commands

2013-09-05 Thread Rob Pike
Try set +o emacs (sic) -rob

Re: [9fans] Acme win and 75+ character Send commands

2013-09-05 Thread Rob Pike
You give a shell command the flag -X to turn on X, so +X to turn off X makes sense in a negative true kinda way. -rob

Re: [9fans] Building Go/386

2013-09-02 Thread Rob Pike
I'm pretty sure C defines the include path to be relative to the file that includes it. The compiler's working directory should be irrelevant. I'm also pretty sure Plan 9's compiler gets this right, or at least used to. So more information is required. -rob

Re: [9fans] anchors broken in the g command in sam on p9p?

2013-08-22 Thread Rob Pike
Short answer: you can't. It would be nice though. -rob On 22/08/2013, at 4:24 PM, Rudolf Sykora rudolf.syk...@gmail.com wrote: On 21 August 2013 19:19, smi...@icebubble.org wrote: Rob Pike robp...@gmail.com writes: OK. How does one match the start/end of dot in a g// or v// regexp

Re: [9fans] anchors broken in the g command in sam on p9p?

2013-08-21 Thread Rob Pike
Nothing. That's exactly what ^ and $ do. -rob

Re: [9fans] p9p on Retina Macs

2013-08-16 Thread Rob Pike
Russ added a couple of helper things to the library. There's now a 'dpi' field in Display and helpers for scaling. I don't remember the details but a little digging with that pointer should do it. I vaguely remember you can also specify a scaling integer in the value of $font. I write a little

Re: [9fans] How useful is a scroll wheel?

2013-07-08 Thread Rob Pike
I sit at my desk with a computer (not a laptop) on the floor, a keyboard in front of me, a mouse on the right and a trackpad on the left. On the rare cases I'm programming on a laptop, it's really the same except for the location of the trackpad. In particular, there's still a mouse. -rob

Re: [9fans] How useful is a scroll wheel?

2013-07-02 Thread Rob Pike
Let me put in a word about the Apple wireless trackpad. I doubt it's got support in Plan 9, although it works from plan9port on the Mac. I am devoted to it now: I use it for scrolling. Right hand for pointing and clicking, left hand for scrolling. Works in acme, sam, etc. plus of course all the

Re: [9fans] Go tip build fails

2013-05-01 Thread Rob Pike
Are you using Plan 9? Because I don't understand how you could get those messages on Plan 9, but I do on other systems. -rob

Re: [9fans] Go tip build fails

2013-05-01 Thread Rob Pike
, 2013, at 11:31 AM, Skip Tavakkolian skip.tavakkol...@gmail.com wrote: yes. On Wed, May 1, 2013 at 11:11 AM, Rob Pike robp...@gmail.com wrote: Are you using Plan 9? Because I don't understand how you could get those messages on Plan 9, but I do on other systems. -rob

Re: [9fans] Go tip build fails

2013-05-01 Thread Rob Pike
The patch was not abandoned; that message was a codereview glitch. It's checked in. We need to find where the bogus relocation is coming from. It *is* bogus, but the error catching it is new. To make progress, feel free to comment out the code that prints the error. I'm pretty sure you'll be

Re: [9fans] Go tip build fails

2013-05-01 Thread Rob Pike
It would be easier to debug this if there was a way I could log in to a Plan 9 machine (or virtual machine) capable of compiling and running the Go distribution. Such public services have existed in the past; does one exist today? Please contact me privately if you can help. -rob

Re: [9fans] Go tip build fails

2013-05-01 Thread Rob Pike
Thanks to machines offered by Erik Quanstrom and David du Colombier, I found the bug. Trivial fix is out for review. C's usual integer conversions apply. -rob

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Rob Pike
Much of which is symbols. Plus, a a simple computer has gigs of memory. Yes, it's remarkable how much bigger programs are now than they were 20 years ago, but 20 years ago the same things were being said. I understand your objection - I really do - but it's time to face the future. The smart

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Rob Pike
It's pointless to complain about the size of hello world. It's not a real program. In Go's case it's larger than a C binary because the libraries (and the presence of a runtime) are capable of much more under the covers, but by the time you write a real program in Go you'll find the ratio of Go

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Rob Pike
Thanks, Andrey, although what you say about Unicode and fmt isn't true. Believe it or not, we care about sizes and arranged that fmt doesn't need to import the whole Unicode tables, only the small subset it needs. -rob

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Rob Pike
so, assuming demand loading, this is more of a disk space issue rather than a memory issue? It's only an issue on mailing lists and discussion groups. -rob

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Rob Pike
For example, looking at what go install does wrt what a few mkfiles would do for the same go source is illustrative of what I'm trying to say. I've never seen a mkfile that builds a transitive dependency graph given only the source code, downloads the relative dependencies from the

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Rob Pike
Yes, they are necessary for reflection. Fmt uses reflection - and uses it well, as rminnich has attested. On Sat, Mar 23, 2013 at 12:31 PM, erik quanstrom quans...@quanstro.net wrote: On Sat Mar 23 15:30:40 EDT 2013, robp...@gmail.com wrote: so, assuming demand loading, this is more of a

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Rob Pike
If go install is slow on Plan 9, it's because Plan 9's file system is slow (which it is and always has been), and because go install does transitive dependencies correctly, which mk does not. -rob

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Rob Pike
I just did a go install, after a clean, of the biggest binary I'm working on, using my pokey old mac laptop. It took 0.9 seconds, most of which was spent in 6l and not the go tool. It could be faster, but it's plenty fast enough. The public won't use mk or make. If you want to succeed in the

Re: [9fans] Bug in print(2) g verb

2013-03-01 Thread Rob Pike
But the code looks the same in plan9port at that point. So it looks like a fix was made somewhere else in that file and not put back into the Plan 9 sources. The proposed fix is perhaps not the best one. -rob

Re: [9fans] what is the frequency, kenneth?

2012-12-11 Thread Rob Pike
It likely has nothing to do with the REM song. -rob On Tue, Dec 11, 2012 at 6:18 AM, erik quanstrom quans...@quanstro.net wrote: On Tue Dec 11 09:10:53 EST 2012, al...@pbrane.org wrote: What's the story behind the curious reference to this phrase in the code for timesync(8)? it's a

Re: [9fans] Uriel

2012-10-17 Thread Rob Pike
Does anyone know what happened? -rob

Re: [9fans] acme Edit bug

2012-10-02 Thread Rob Pike
That sounds like a bug I fixed in plan9port acme a couple of years ago, but it's nice to see it's still broken. I'll dig in. -rob

Re: [9fans] Watch?

2012-09-18 Thread Rob Pike
go get code.google.com/p/rsc/cmd/Watch

Re: [9fans] sam, shorten dot by 1 line

2012-08-06 Thread Rob Pike
Empty dot at the beginning of a line is also empty dot at the end of the previous line. I'm not justifying the behavior, just explaining it. This is really old code with, I admit, some quirky properties. I often think of rewriting the address code in sam and acme but never do, because a rewrite

Re: [9fans] sam, shorten dot by 1 line

2012-08-05 Thread Rob Pike
.+0 goes from the end of the current value of dot to the end of the line containing dot. .-0 goes from the beginning of the line containing dot to the beginning of the current value of dot. I don't understand your second question. -rob

Re: [9fans] sam, shorten dot by 1 line

2012-08-01 Thread Rob Pike
-#0,+#0-2 (go from the null string at the beginning to the null string at the end of the line starting two lines back from the end.) -rob

Re: [9fans] sam, shorten dot by 1 line

2012-08-01 Thread Rob Pike
Break it down: a,b means: from the beginning of a to the end of b .,. means: from the beginning of . to the end of . 1 means: from the beginning of line 1 to the end of line 1. .,.+0 means: from the beginning of . to the end of .+0, and .+0 is the null string at the end of . Now the step:

Re: [9fans] has anyone wished for

2012-06-04 Thread Rob Pike
What happens when two files linked into the same binary both declare static extern register variables? -rob

Re: [9fans] lucidasans and 日本語表示

2012-04-29 Thread Rob Pike
On Sun, Apr 29, 2012 at 2:55 PM, Lyndon Nerenberg lyn...@orthanc.ca wrote: You mean change the hardcoded font name in /sys/src/cmd/acme/acme.c? No, add something like: font = /lib/font/bit/fixed/unicode.7x13.font fn acme {builtin acme -f $font $*} You don't need to do the second line.

Re: [9fans] lucidasans and 日本語表示

2012-04-29 Thread Rob Pike
That's odd but easy to change. -rob

Re: [9fans] lucidasans and 日本語表示

2012-04-28 Thread Rob Pike
That font is called euro because it does not have the Asian ideographs and is cheaper to load. Use unicode.8.font if you want them; I have set font=unicode.9.font since the beginning. The real question is what the default font should be; I leave that decision to others. -rob

Re: [9fans] git and (p9p) acme

2012-04-26 Thread Rob Pike
set -x -rob

Re: [9fans] reverse search direction in p9p acme

2011-09-20 Thread Rob Pike
rio doesn't have button 3 search. acme does. -rob

Re: [9fans] reverse search direction in p9p acme

2011-09-19 Thread Rob Pike
Maybe a chorded 3-1 click (not 1-3). -rob

Re: [9fans] reverse search direction in p9p acme

2011-09-19 Thread Rob Pike
i don't think either does anything. -rob

Re: [9fans] Nemo book

2011-09-14 Thread Rob Pike
this is still my favorite: http://gi52.photobucket.com/groups/g5/6DUVRHDUAT/typing.gif -rob

Re: [9fans] Mousing is faster than typing but users do not believe it

2011-06-17 Thread Rob Pike
If you like mousing, mouse. If you like typing, type. One could even imagine doing one or the other as appropriate. Eating is faster than singing. -rob

Re: [9fans] in ed, how to do i do this?

2011-06-17 Thread Rob Pike
As the guy who literally wrote the book on this, please may I recommend some offline reading? -rob

Re: [9fans] spaces in filenames

2011-04-26 Thread Rob Pike
Sometime around, maybe, 2000, I flipped the bit in the frogs table so spaces were legal in file names, for two reasons: we were seeing spaces in file names from remote systems and seemed simpler to accept them than to remap them, and I wanted to know how it would affect things. Not all software

Re: [9fans] spaces in filenames

2011-04-26 Thread Rob Pike
I still use acme. My solution for spaces in file names is to avoid them. That might not work for everyone. -rob

Re: [9fans] Q: moving directories? hard links?

2011-04-16 Thread Rob Pike
On Sat, Apr 16, 2011 at 11:17 AM, Skip Tavakkolian skip.tavakkol...@gmail.com wrote: Linux has slowly become Windows-lite Except for the lite part. -rob

Re: [9fans] Go Plan 9

2011-04-03 Thread Rob Pike
I'm not sure I follow. The 6c and 6g compilers in the Go distribution are compiled with the local compiler, such as gcc on Linux and OS X. I don't believe it's possible they have Plan 9-specific features in their source. I can believe they would have problems compiling on Plan 9, but that's the

Re: [9fans] 8l follows a precedence based on the commandline arrangement

2011-02-28 Thread Rob Pike
someone should move those pages and all links from 2 to 8. -rob

Re: [9fans] acme Local command on p9p

2011-02-23 Thread Rob Pike
On Wed, Feb 23, 2011 at 5:32 AM, Russ Cox r...@swtch.com wrote: Local In the Plan 9 acme, this prefix causes a command to be run in acme'sown file name space and environment variable group. On Unix this is impossible... is there any other way to define environment variables for acme while

Re: [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely

2011-02-18 Thread Rob Pike
The more you optimize, the better the odds you slow your program down. Optimization adds instructions and often data, in one of the paradoxes of engineering. In time, then, what you gain by optimizing increases cache pressure and slows the whole thing down. C++ inlines a lot because

Re: [9fans] history question

2010-11-02 Thread Rob Pike
as part of the 1989 kernel, ken wrote its beginnings with a pattern that involved a lot of repetitive typing but had the basic structure. each function had to define local pieces. i took his idea and wrapped it into the structure that's there now, which made it easier to get right in practice. i'm

Re: [9fans] xml

2010-07-01 Thread Rob Pike
`Interfaces', the way they are invariably implemented, don't cut it -- too limiting and imposing. I do not claim that Go's interfaces can match the type system of Haskell but this sentence tells me you aren't very familiar with them. They are not implemented, invariably or otherwise, like any

Re: [9fans] Go/Inferno toolchain (Was: comment and newline in

2010-06-29 Thread Rob Pike
On Mon, Jun 28, 2010 at 3:03 PM, Eric Van Hensbergen eri...@gmail.com wrote: On Sat, Jun 26, 2010 at 4:26 AM,  lu...@proxima.alt.za wrote: but I can dig them up, clean them up, and share them, My particular concern is to encourage convergence towards a single source distribution rather than

Re: [9fans] xml

2010-06-28 Thread Rob Pike
The essence of XML is this: the problem it solves is not hard, and it does not solve the problem well. -- Phil Wadler, POPL 2003 -rob

Re: [9fans] xml

2010-06-28 Thread Rob Pike
I should add that Russ's post is on point, Wadler's slightly off. I would extend it as The essence of XML is this: the problem it solves is not hard, it does not solve the problem well, and anyway it's not the problem people think it solves. -rob

Re: [9fans] comment and newline in define

2010-06-25 Thread Rob Pike
What's changed is that, to simplify porting (to systems other than Plan 9), the compilers in the Go distribution are built by gcc, not the Plan 9 C compilers. It's easy to fix that header file. Patches willingly accepted. -rob

Re: [9fans] sam language question

2010-04-22 Thread Rob Pike
,x/0\.00/-a/\n/ -rob

Re: [9fans] sam complete filenames with Ins/ctrl-f

2010-03-12 Thread Rob Pike
The problem is that samterm, which interprets keystrokes, doesn't have access to the files. It would be a protocol change that bounces a message off the server. Doable but not compatible. -rob

Re: [9fans] acme to open a 'strange' directory

2010-03-07 Thread Rob Pike
Acme's New command does not parse the file name. Try New rotxy3_[1-5Co6-10Ni] with button 2. -rob

Re: [9fans] acme to open a 'strange' directory

2010-03-07 Thread Rob Pike
On Sun, Mar 7, 2010 at 9:24 AM, Rudolf Sykora rudolf.syk...@gmail.com wrote: On 7 March 2010 17:43, Rob Pike robp...@gmail.com wrote: Acme's New command does not parse the file name.  Try New rotxy3_[1-5Co6-10Ni] with button 2. -rob Ok. This works. Nonetheless, it's a question what

Re: [9fans] What operating systems are the google guys using?

2010-02-24 Thread Rob Pike
What Russ says is true but for me it was simpler. I used Plan 9 as my local operating system for a year or so after joining Google, but it was just too inconvenient to live on a machine without a C++ compiler, without good NFS and SSH support, and especially without a web browser. I switched to

Re: [9fans] Lex, Yacc, Unicode Plane 1

2010-01-28 Thread Rob Pike
On Fri, Jan 29, 2010 at 8:20 AM, ge...@plan9.bell-labs.com wrote: Yes, we only support the 16-bit runes of Unicode plane 0. Really? They're 32 bits in plan9port and, although there are a few things that need to be patched, we know what they are. Rune should be 32 bits by now. -rob

Re: [9fans] iwp9-bondi

2010-01-21 Thread Rob Pike
margaret -rob

Re: [9fans] iwp9-bondi

2010-01-20 Thread Rob Pike
my father danced with his great aunt. -rob

  1   2   >