Live data from Hacker News

I accidentally a scheme

wingolog.org

111–120 of 143 posts

Re: I accidentally a scheme

#111
post #47

Earlier quoted context omitted.

This is the role "lol" used to play. "I accidentally created a scheme lol"

Doesn't "I accidentally a" predate lol? I seem to recall it from high school, and that was before mobiles were widespread.

We have good record of when "I accidentally" started. Circa 2008.

https://knowyourmeme.com/memes/i-accidentally

"LOL" goes back to IRC so at least 1980s or so.

https://en.wiktionary.org/wiki/LOL#cite_note-mcculloch-1

Re: I accidentally a scheme

#112
post #27

Earlier quoted context omitted.

There's literally dozens of us! If you're serious about learning a Lisp but motivated more by, as you say, "having more fun" rather than, say, landing a six-figure job writing it professionally... then may I recommend Janet[0] for your consideration. Janet is an embeddably-small, yet surprisingly batteries-included Lisp implemented in pure C. In terms of syntax and core library it borrows more directly from Clojure t…

While I like Janet, and find it to be a lovely little language; I think it's important to note that it lacks lists and cons cells, and so as a result some people don't label it a lisp, and programming in it is unlike other lisp languages. It's similar, because the syntax is similar and the macros and various forms are lifted straight from lisps; but the feel of programming in it is very much like programming in C, an…

Feature not a big in my book. A linked list is almost never the right answer. Certainly shouldn't be the default.

Re: I accidentally a scheme

#113
post #101

Earlier quoted context omitted.

There's literally dozens of us! If you're serious about learning a Lisp but motivated more by, as you say, "having more fun" rather than, say, landing a six-figure job writing it professionally... then may I recommend Janet[0] for your consideration. Janet is an embeddably-small, yet surprisingly batteries-included Lisp implemented in pure C. In terms of syntax and core library it borrows more directly from Clojure t…

Since you mentioned this, what would you say would be the right Lisp for more pragmatic, cynical reasons? What Lisp should we learn if we want to make money from it?

If I knew the answer to that question I'd probably have a very different job than the one I have. :)

Re: I accidentally a scheme

#114

Note to self: learn a lisp. Lisp people appear to be having more fun than the rest of us.

One great way to learn Lisp is to write your own:

> The goal of the Make-A-Lisp project is to make it easy to write your own Lisp interpreter without sacrificing those many "Aha!" moments that come from ascending the McCarthy mountain. When you reach the peak of this particular mountain, you will have an interpreter for the mal Lisp language that is powerful enough to be self-hosting, meaning it will be able to run a mal interpreter written in mal itself.

~ https://github.com/kanaka/mal/blob/master/process/guide.md

https://github.com/kanaka/mal

Re: I accidentally a scheme

#115
post #59
post #49

Earlier quoted context omitted.

I now really want a comprehensive history of its use. It feels recent, but it's also the type of thing it'd be unsurprising to find isolated examples of independent "invention" of from long before it came into common use...

I've been considering this further. Lol would have become widely used with text messages which is when I came across it, it could have been used back in the BBS days. "I accidentally a" is basically just teenage humour. I accidentally a $X. (Obviously becoming more funny the more unlikely it is for any sexual thing to work on whatever $X is). On top of that you've got the weird language construction, just like speaki…

It's exactly because it's such easy humour I'm curious if there are any older expected uses... It seems pretty clear it gained prominence with the YouTube video someone has referenced, and it may indeed be the first, but we may never really know.

Re: I accidentally a scheme

#116
post #77

It’s time for a new book with a cartoon elephant on the front. “The Accidental Schemer”.

Speaking of, I was disappointed that Duane did not make the drawings for the latest volume. Perhaps he's retired now.

Re: I accidentally a scheme

#117

Earlier quoted context omitted.

What is a Scheme and what is not a Scheme is actually pretty well defined in terms of language concepts and features. The JavaScript of back then is not that. Some Scheme may have served as something that Eich took hints from, but he did not create a new Scheme.

FYI: At the time, the creator of Scheme, Jerry Sussman, believed the JavaScript was a Scheme. I don't say this to claim he was right (I didn't agree with him, at the time), but merely to point out that "what is not a Scheme is actually" NOT "pretty well defined in terms of language concepts and features." A proper Scheme is as defined in Revised Report on the Algorithmic Language Scheme, but there are many improper h…

I think there is nothing more vacuous than taxonomy arguments (though they can be fun). Kent Pitman (KMP), for example, is on record as saying that Scheme is not a Lisp[1]

1: https://groups.google.com/g/comp.lang.lisp/c/Bj8Hx6mZEYI/m/6... (besides the inevitable flamewar started by @lisper's question, there's actually some good discussion between the "adults in the room" well downthread of what I linked).

Re: I accidentally a scheme

#118
FWIW we also test the Oils GC with a X-to-Y to generator, where X is Python and not Scheme, and Y is C++ and not C :)

For example here's a self-contained Python program to make various types of linked lists and traverse them, making sure the GC can follow the resulting pointers in C++, with field inheritance, vtable pointers, etc.

https://github.com/oilshell/oil/blob/master/mycpp/examples/c...

Re: I accidentally a scheme

#119

Earlier quoted context omitted.

> I learned about S-types, which were to Lisp what JSON is to JavaScript. Do you mean s-expressions here (sexps), or is there also a thing called s-types that I've been missing?

Neither. * I meant s-types. * There is no such thing. The problem, as Clinton: "It depends on what the meaning of the word 'is' is." S-types WERE a thing, but never a major one. I ran across them as a high school student on a random research project at a university as a summer internship of some kind. They were used by a handful of research groups for some data interchange format. Literally the only person who would…

Glad I asked, this turned out to be much more fascinating than I thought. Thank you for the notes!

Re: I accidentally a scheme

#120
post #110

Earlier quoted context omitted.

What is a Scheme and what is not a Scheme is actually pretty well defined in terms of language concepts and features. The JavaScript of back then is not that. Some Scheme may have served as something that Eich took hints from, but he did not create a new Scheme.

The story goes Eich was hired to embed Scheme in a browser, and hung on to lambdas and functional concepts but lost homoiconicity by management fiat; they didn’t like the weird way it looked. He tried to intentionally a Scheme and ended up accidentally a Scheme step-cousin. It’s fair to say some argue it is a Scheme dialect, because some people do, and they’re not wrong, JS does share aspects. It’s also fair to say J…

https://dl.acm.org/doi/pdf/10.1145/3386327

For the story from Allen Wirfs-Brock and Brendan Eich.

Section 2.1, starting on page 7, talks about the portion of JS history where Eich was hired to build a Scheme in a browser and continues with why it changed and how.

Post reply on HN