Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Languages used in NaNoGenMo2014 #109

Open
MichaelPaulukonis opened this issue Nov 21, 2014 · 25 comments
Open

Languages used in NaNoGenMo2014 #109

MichaelPaulukonis opened this issue Nov 21, 2014 · 25 comments
Labels

Comments

@MichaelPaulukonis
Copy link

There are a variety of programming languages used for the various projects.

I'd like to assemble a list of them, as well as links to some of the more unusual variants.

This is a work in progress [I've gone through issues 2..110 inclusive, and the others sporadically].

Some simple stats (under review):

Python       51
Javascript   13
PHP          4
Ruby         4
Haskell      3
C            2
Perl         2
Processing   2
Clojure      1
CoffeeScript 1
Emacs Lisp   1
Go           1
HTML         1
Lua          1
Matlab       1
No code (IFTTT etc., regexes, Excel, Word)   1
Objective-C  1
R            1
Shell        1
Standard ML and Celf     1
Twee/twine   1
Visual Basic 1
curl/sed/grep/xargs/sort 1

Programming Language

BASIC - #64 (Chipmunk Basic)
C -- #68, #76
Celf - #143
Clojure - #35
CoffeeScript - #129 [see also: Javascript]
Command-line utilities: #82
Emacs Lisp -- #91
Go - #86
Haskell - #79, #107, this experiment
Javascript - #6, #43, #55, #66, #71, #74, #78, #81, #89, #104, #105, #142 [see also: CoffeeScript]
Java/Processing - see Processing (Java)
Lua - seen in #107, #137
make - in this experiment
Matlab - #124
Node.JS: see JavaScript
Objective-C - #147
Perl - #2, #40
PHP - #57, #78, #97, #102
Processing (Java) - #108, #70
Python - #5, #14, #20, #21, #22, #29, #33, #36, #37, #38, #45, #47, #48, #51, #63, #69, #73, #75, #80, #83, #84, #87, #90, #94 (not complete?), #96, #99, #110, #130
Ruby - #18, #70
Standard ML (SML) - #143
Twine/Twee - #14, #143, #154
zsh - z-shell script, seen in #8

Nocode - using IFTT, Sublime Text, Excel - An attempt without any code - #88

Nocode - see Command-line utilities

Text Language

Most of the novels are "written" in English, but a few are in other languages, some of which don't really exist.

Cat (Feline) - #50
Caw - #115
Crow (avian) - see Caw
D'Skuban (fictional language) - #80, also used in Excerpts from "Appreciating the Great D'skuban Playwrights, Vol. I".
Entish - #136 (internal notes suggest that this is conjectured Entish)
Feline - see Cat (Feline)
Finnish - #67
French - #111
Hawaiian (fake) - #142
Meow - see Cat (Feline)
New Latin - see Pig Latin
Oj Eninco (fictional language) - #68
Pig Latin - #148
Spanish - #95, #130


Common Novels

Use of Pride and Prejudice:
Use of Alice in Wonderland/Through the Looking Glass:
Use of Moby Dick: #8, #38, #47, #50, #55, #96, #110, #135, #138

@cpressey
Copy link

I'm also sort of interested in this... was thinking of surveying last year's projects too.

I think you can add:

Emacs Lisp -- Swann's Way Through The Night Land
Haskell -- in this experiment
make -- in this experiment -- (does that count??)
BASIC -- EverMore Poetry
C -- Oj Eninco and possibly others

Surely there's been at least one entry in Ruby? I don't know -- searching the issues for "ruby" reveals no hits (except in the resources issue). Ditto Java.

@ikarth
Copy link

ikarth commented Nov 21, 2014

Clojure - #35 Novel Novel Generator
PHP - #97 Modernist Cuisine Recipes
Haskell - #107 "I encountered him only at rare intervals. I went to him. I had asked him nothing."

Also, it looks like Generated Detective #70 uses at least some Ruby.

Lots using Javascript and Python, including:
JavaScript - #105 TellMeAStory.Today - A tale told in the address bar
Python - #45 Voynich

@MichaelPaulukonis
Copy link
Author

Integrated - thanks!

@atduskgreg
Copy link

Generated detective is as much (if not more) written in Java using the Processing framework as it is Ruby. Ruby does the sentence selection and the image downloading, Processing sketches do the panel layout, the image processing, the face detection, and the adding of balloons and captions.

@hugovk
Copy link
Collaborator

hugovk commented Nov 22, 2014

Most of the novels are "written" in English, but a few are in other languages, some of which don't really exist.

#50 50,000 Meows?

(PS Your link to 50 000 Finnish Numbers is broken.)

@hugovk
Copy link
Collaborator

hugovk commented Nov 23, 2014

French: #111

@hugovk
Copy link
Collaborator

hugovk commented Nov 24, 2014

Crow/caw: #115

@zachwhalen
Copy link

Perl -> #40

@hugovk hugovk added the admin label Nov 27, 2014
@hugovk
Copy link
Collaborator

hugovk commented Nov 27, 2014

Go: #86

@cpressey
Copy link

Matlab: #124

@hugovk
Copy link
Collaborator

hugovk commented Nov 28, 2014

CoffeeScript: #129

@altuzar
Copy link

altuzar commented Nov 29, 2014

Python and Spanish: #130

@hugovk
Copy link
Collaborator

hugovk commented Nov 29, 2014

Entish: #136

@hugovk
Copy link
Collaborator

hugovk commented Nov 30, 2014

A completed Lua: #137

@robsimmons
Copy link

#143 uses Standard ML and Celf, a research-prototype-y logic programming language

@hugovk
Copy link
Collaborator

hugovk commented Dec 1, 2014

A second Perl: #2

Fake Hawaiian: #142

A second C, generating an unknown tongue: #68

A second PHP: #78

Objective-C: #147

Python generating twee source code, imported into the program Twine: #14

New Latin: #148

No code: IFTTT, Sublime Text, Excel: #88

HTML: #106

curl/sed/grep/xargs/sort: #82

@ceoln
Copy link

ceoln commented Dec 3, 2014

Wow, I am impressed that the distribution of programming languages is so flat! (What, doesn't everyone still mostly write everything in c? When did that happen? And get off my lawn!!)

@hugovk
Copy link
Collaborator

hugovk commented Dec 3, 2014

@ceoln This issue shows just a couple of examples for each language. The vast majority used Python.

@cpressey
Copy link

cpressey commented Dec 4, 2014

What, no Rust? What, no Scala? What, no Dart? What, no Icon? What, no SNOBOL IV? What, no Rebol? What, no C#? What, no J? What, no Factor? What, no assembly? What, no SuperCollider? What, no D? What, no Erlang? What, no Inform? What, no Io? What, no Swift? Ok I'll stop.

Please correct me if I'm wrong, because what I'm about to conjecture consists of guesses upon guesses:

I guess that Python was very popular because I guess that a lot of participants came from the NLP community and I guess that Python is popular in the NLP community because of I guess NLTK.

All's I know is that I had no idea what "i don't know if this is something i can ne_chunk" meant until I installed NLTK (after it was all over.) (Actually, I still don't know what it means, but at least I see where it came from.)

@hugovk
Copy link
Collaborator

hugovk commented Dec 4, 2014

Code Census Corner

I've totted up the numbers of completed novels using each language (plus or minus):

Python      123456789012345678901234567890123456789012345678901 = 51
Javascript  1234567890123 = 13
PHP         1234 = 4
Ruby        1234 = 4
Haskell     123 = 3
C           12 = 2
No code (IFTTT, regexes, spreadsheet, Word etc.)   2
Perl        12 = 2
Processing  12 = 2
Clojure     1
CoffeeScript    1
Emacs Lisp  1
Go          1
Lua         1
Matlab      1
Objective-C 1
R           1
Shell       1
Standard ML and Celf    1
Twee/twine  1
Visual Basic    1
curl/sed/grep/xargs/sort    1

@cpressey
Copy link

cpressey commented Dec 4, 2014

@hugovk Nice. Which one was done in R, btw? I don't see it listed above, and searching the issues for "R" didn't turn up anything that I could identify as R (imagine that...)

@hugovk
Copy link
Collaborator

hugovk commented Dec 4, 2014

#114 uses Python and R:

I also borrowed some R code and adapted it for my files, to check the t-SNE output there. One of the functions will execute a graphic callback every N iterations, so you can see a plot of the status of the algorithm. To run this (code in my repo), you'll need to make sure you paste (in the unix sense) the words and coordinates files together and then load them into R.

http://blogger.ghostweather.com/2014/11/visualizing-word-embeddings-in-pride.html

#106 is HTML and #82 is curl/sed/grep/xargs/sort.

@cpressey
Copy link

cpressey commented Dec 4, 2014

Phew, visualization. Here I was thinking someone was doing the actual generation bit in R 😬

@MichaelPaulukonis
Copy link
Author

Is HTML a "language" that is used for writing a program that generates output? The markup is HTML, but what created the HTML markup?

Perhaps I should be clearer, then -- languages used in generation, not formatting (which includes LaTex, markdown, HTML, and some other stuff).

@hugovk
Copy link
Collaborator

hugovk commented Dec 4, 2014

Yep, I left out all the LaTeX and MD. I'll remove the HTML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants