Better HN
topnewbestaskshowjobs
Log inSign up

netsettler

24 karma · joined May 29, 2016 (10y ago) · 13 submissions

Submissions

comment 2y ago · link · parent

I definitely did not originate the ANIMAL game notion. I probably mentioned that in my LispNYC talk recently, but also it's discussed as an incidental matter in a blog post from 2010 where I was reviewing Jaron Lanier's "You Are Not a Gadget": https://web.archive.org/web/20131102031307/http://open.salon...

TL;DR I learned to program in a world almost devoid of computers, but we had occasional magazines and books that talked about what computers would do and I saw mention of an ANIMAL program and thought it'd be fun to write one. My first attempt was in BASIC, and the difficulties I had primed me to like Lisp when it came along. A long series of implementations resulted from that, and there's a Lisp origin story for me that you should see the LispNYC talk to get in fuller form, but it was important to me in how I ended up a Lisper at all.

comment 10y ago · link · parent

There are reasons to think second-class isn't always bad. Function objects aren't second class but the privileged position of the function namespace means you can watch what's being stored there at storage time, which happens infrequently, and can jump to things faster, which happens comparatively more frequently.

But also, there was a very interesting proposal to ISO that did not survive in which variable number of arguments were handled by an alternate namespace with very specific operations that were understandable to a compiler. You could promote them to the regular namespace if you needed to, but the compiler could do nice things with the stack if you kept them in their more limited arena where it could figure out what you were meaning to do with them. That proposal got voted down, and I was one who didn't like it, but I came to think it was less of a bad idea than I had thought when I saw some of the confusions that came up with managing rest lists on the stack in CL, which are very hard to manipulate and know for sure when they need copying and when not. First class implies that there's probably a halting problem in the most general case of a compiler trying to do code analysis on what you're doing with a thing. Often compilers can recognize sufficient idioms that this doesn't come up in practice, but second class spaces can lead you in certain ways to do things that are better.

Each paradigm has its value.

comment 10y ago · link · parent

We tried to do a standard code walking / macro introspection thing but it had much detail we realized we were going to get wrong, so we backed out of it rather than freeze something bad. It's appropriate to a level 2 standard, just as the MOP was.

comment 10y ago · link · parent

I am totally comfortable with funcall. It is my preference, not something I bargain down to. I don't have a need to have (f x y) "just work". You needn't agree. I acknowledge differing tastes here. But you need to, as well. It is not proper to speak as if we obviously have the same goals. We do not. It is not that we have the same goal and are differing on tactics. We have actually different goals. That is important to see or else you cannot wrap your head around why the issue played out as it did.

As you say, notational games can be played. And there are other approaches. Just because people have different goals doesn't mean that's the end of discussion. But an honest discussion must recognize the legitimate desires of both sides without disparaging one side. Getting inside another's head is important.

I don't pass functional arguments a lot. CL programmers often don't. Where Scheme would pass functions, CL often uses keyword arguments. In sort, for example, we customize behavior not by passing some function but by passing a list of keywords. There are places we pass functions, but it is not our ordinary business. So calling it out, by doing (funcall list...) rather than just (list...) gives a signal that something unusual is happening. If you plan for this not to be unusual, you will go a different way. But we do not all aspire to pass functions at every point. I like having it for certain purposes, but doing things in other ways as well.

For another take on a middle ground than the character syntax you describe, see my http://www.nhplace.com/kent/Half-Baked/spiel/index.html

comment 10y ago · link · parent

> Do you want the same symbol to have several completely unrelated global bindings in the same space

Absolutely. Yes.

comment 10y ago · link · parent

It is expressly not the goal of CL to be all things to all people, and yet to be many things to many people. Scheme has a kind of fixed set of things it definitely wants to be and sacrifices others, it just does it in a different shape so that the particular examples you pick are easy.

One way I sometimes conceive it is that in any given language there are a certain number of small expressions and a certain number of large ones. Differences in semantics don't make things non-computable (which is why turing equivalance is boring) but they change which expressions will be easily reachable. There are certain things Scheme wants to be able to say in not many characters and different things CL does. Neither is a flawed design. But they satisfy different needs. It's possible to dive into either and be fine. As others have pointed out here, it's not as big a deal in practice as it seems like in theory. What matters in practice is to have an intelligible and usable design, which both languages do. But to assume that the optimal way to say something in one language should stay constant even if you change the syntax and semantics of the language is to not understand why you would want to change the syntax and semantics of the language.

comment 10y ago · link · parent

Hygiene is still needed in CL, but is accomplished in different ways that are not so explicit. Packages and namespaces end up doing most of the heavy lift, so CL's macro system, while it looks more raw than Scheme's, is still pretty robust. And many of us just find it simpler because it involves a lot less mechanism. (Odd that in that isolated realm of macro processing, the Scheme system is complicated and CL is not. You never get anything for free--you just trade one thing for another. Laws of thermodynamics and all that. They're hard to escape.)

comment 10y ago · link · parent

Thanks. Not sure how notifications work here, but I replied to your comment as a reply to Grue below this, so check the page.

comment 10y ago · link · parent

Yes, I am with Grue on this one. The overcrowding of namespaces means the very common case of receiving a thing that is known by its type (list as "list" or "string") occludes a common constructor that you might want and makes you spell it badly. I really very strongly prefer proper spellings of things, but moreover I think this is "natural" in a way that is neglected in this discussion.

Simplicity can be measured in different ways, and there is a tendency in the Scheme community to think of simplicity as a measure of the size of a formal semantics. But two things come to mind about that metric: (1) I have often claimed that small languages make big programs, and big languages make small programs. So to some degree it's the case that tiny languages mean you have to laboriously reconstruct as program or library what the language did not let you do in its zeal to not offer functionality. (2) Human beings are not designed in the Scheme way. The natural languages include no language at all, out of many hundreds, in which words have only one meaning and do not enjoy contextual distinctions. So in my view, simplicity can also measure the lack of dissonance between the program model and the brain model. My brain is, I believe, well-adapted to understand word meanings differently for noun and verb, and Scheme affirmatively chooses not to rely on that, leaving my brain bothered by the lack of ability to use it natural mode and forced to use what seems more cumbersome. I don't want to reach for more words, I want to use obvious context. And I claim that this is at least a valid way of thinking, if not uniquely valid. I'm not trying to disallow the way others think (or think they think, we being poor at actually introspecting sometimes), but to say that the way others think is no more or less valid than my own.

This is, as Aerique implies, somewhat a religious matter and not to be warred over. So I don't want to provoke debate on whether my way is THE right way, only A right way among MANY simultaneously right ways.

At another level, though, this is the very essence of what it is to be a CL user, or a member of the CL community, at least in my mind: The language expressly accommodates and encourages a pluralistic society in which multiple paradigms are simultaneously supported. I don't want to accuse the Lisp1 community of being a bunch of intolerant folks, but I will note that in my mind it's hard to escape the sense that it bears a striking resemblance to that. It's a community that wants people to learn the Scheme way, not a community that wants to accommodate the various ways people naturally think.

I keep coming back to the old joke "There are two kinds of people in the world: People who think there are two kinds of people in the world, and people who don't."

CL has preferred casifications, but expressly goes out of its way to accommodate others. It has ways of thinking about loops in various paradigms. It has macros and read syntax things for letting you override almost any decision that we could figure a way for you to override. There are places where we do a poor job or an incomplete job, but that's more an artifact of the energy and funding than of design. There was pressure to reduce out the redundancy and we opted not to.

People think in multiple namespaces. We know that when you license a production you can create a license (British respelling notwithstanding, it is possible to use the same word in different contexts without confusing whether it is a noun or a verb). In Spanish, a normal speaker would not flinch at the sentence "Como como como." (I eat how I eat, where the middle "como" is "how" and the outer two are "I eat".) These are natural, and so simplicity in this context, at least for me, is being to write thing the way I think.

The imagined need to crowd out these names doesn't really come up in CL. Nouns and verbs mostly operate in different orbits and don't interact, and that feels pretty natural. Languages are more about ecologies than about a la cart features, and there's a danger in liking a feature and thinking it can just be injected into an ecology and will behave either as expected or even just pleasantly.

comment 10y ago · link · parent

I dunno about expected and encouraged. Neither really, nor discouraged though. Really the point was that this was written in the context of a particular standardization effort and was to say "this is out of scope". As it happens, RPG and I disagreed completely on whether Lisp1 or Lisp2 was a good idea. Most readers read this like a Rorschach, assuming that the article confirms their own beliefs, not stopping to think that the article just presents two sides of an issue. In the context of the design process, Lisp2 won out (and I happen to be happy about that). But it is reasonable and appropriate for both to thrive if there are users who like those sorts of things.

I created the Lisp1/Lisp2 terminology as a dodge because we started out writing this paper using terms something akin to "Scheme-like" and "CL-like", and Scheme was winning for reasons unrelated to the issue at hand. I wanted people to separate their warm fuzzies for Scheme from the particular design choice, as I really think there are very strong and reasonable reasons to have a Lisp2. The net result was that in the context of CL, those of us liking Lisp2 successfully argued that it was an unnecessary change to the language from a stability standpoint.

This paper is called "Technical Issues..." because the committee document (titled "Issues...") was longer and went into other issues that RPG didn't think were pertinent to formal publication.

I frankly don't understand (or perhaps don't agree) with any claim that Lisp was looking to condense namespaces. By convention and John McCarthy's official request, Lisp is the name of a family of languages, not of a particular language. Lisp has no preference. It spans languages with broadly varying points of view.

Ironically, CL is really at least a Lisp4, by the way. block tags and go tags are legitimately different namespaces. They just messed up the discussion so we left those out. Whether you also count the type/class homes as a namespace is something that doesn't fit neatly into the terminology so is the reason I say "at least a Lisp4". Left to personal subjectivity. -kmp

comment 10y ago · link · parent

Note well that my remarks here and on islisp.info are my personal remarks, and funding likewise. As discussed in Untold Story, we created a mechanism to do personal things disjoint from what ISO did. Hence islisp.ifo dispenses the public domain version of ISLISP and is in some legal and logical way disjoint from the ISLISP standards process, though with obvious and deliberate parallels. So it's not surprising this funding/sponsorship thing is confusing. When I get back from traveling, maybe I can clarify that on the islisp.info site, at least.

comment 10y ago · link · parent

Standards organizations periodically insist on updates in order for a document to be considered active. This assures things don't decay but it can also be a way to churn business.

But also there are sometimes typos and other details to fix, noticed through use, which I thin was the case here (though I'd have to go back and look at records I don't have at my fingertips to be sure, so please don't hold me to that--these remarks are extemporaneous, written on a subway while traveling), and yes there is an ISLISP community even if not at the scale of the CL community. One of the effects of ISLISP was to legitimize various dialects of Lisp that did not want or need to be Common Lisp. By being ISLISP compliant, they have some degree of interchange capability with one another.

ANSI CL has things it could fix, but the problem is that you can't open the process for edits merely to fix those things. Any opening of it to small edits opens the floodgates for many kinds of changes, and it might destabilize it. (There is a strong analogy to be made with having a second constitutional convention for the US Constitution, by the way.)

SO opening for edits and improvements might seem benign, but understand that in order to have voting standing (something there is a HUGE rulebook to assure), you have to be a member. ANSI's claim of fairness, which is all that stands between its entire business model and an antitrust suit, relies on fairness. Normally, companies cannot collude, but standards are a deliberate mechanism to avoid that, and they rely on strict application of rules to achieve a constructive notion of fairness, since any intangible notion of fairness would be untestable.

But it's pretty high overhead to have membership. Certainly it's expensive for individuals to be members in ANSI and it's left to mostly whichever companies go, so although the intent is fairness, in my personal view it's very difficult to assure fairness exactly because of the rules that try to assure it. It's almost a catch-22. The very fact of the rules means people with should-be standing are locked out by cost, and so in practice all members who would want to be represented are not going to be, and the people making the decisions will be those who can afford membership.

In the international arena, where the members are countries, there are similar issues though only countries can be members. As discussed in Untold Story, there is a risk of single individuals in countries that don't really care about a standard getting the same vote as a country like the US that might care a lot (or vice versa, perhaps, for other standards--I apologize for the US-centric nature of that remark, but the problem is quite general and I just perceive and express it as a US issue when really it's the same for everyone rule-wise and it's the business world and/or wealth and/or activity that is unevenly divided).

In fact, I think the ISLISP world is pretty fairly administered and I don't think there was much debate about the 2007 update. It was smoothly and easily handled by Taiichi Yuasa. I did editorial work to help with that.

comment 10y ago · link · parent

The sponsors are sponsors of the site. I'm not an official charity, so it's not deductible, but I still accept donations from people who appreciate the site and want to defray the costs of hosting it. It's unrelated to the sponsorship of the activity itself. -kmp