IANAL and all that and it doesn't bother me, but the first thing I thought of was the age related ToS restrictions from the HBO Silicon Valley show.
From the HN "legal" page: > If you are under 13 years of age, you are not authorized to register to use the Site. https://www.ycombinator.com/legal/ I assume no 12 year olds actually try to follow this boilerplate on the internet. Do sites that require a DOB to sign up reject those under 12?
I just assumed no people actually try to follow this boilerplate on the internet, glad to see the this knowledge is being passed down through generations.
The legal restrictions are not actually on Liam, or any user. They are on the site itself. The law in the US prevents the collection of any personal information from anyone under 13 years of age. Once you are 13 years old, you are a trackable, surveillable, profilable, saleable commodity. Prior to that, though, your personal info is protected from collection.
But... HN doesn't actually collect any personal info. So, that's likely either a reflex inclusion of such a clause or just an abundance of caution.
Good job! I mentor college CS majors whose code is not as clean as this. Seriously.
I would also recommend checking out The Coding Train. NYU ITP Daniel Shiffman's lectures on creative coding. It's time to get started with graphics ;) https://www.youtube.com/channel/UCvjgXvBlbQiydffZU7m1_aw And to get a headstart in Artificial Intelligence, from the same author comes the ml5.js library: friendly machine learning for the web. Best of luck! https://ml5js.org/
I like how the array named 'map' reflects our original use of this word, rather than the special meaning which it has acquired to programmers.
In Javascript and other languages 'map' has become a kind of "functional operation" so we cant call things 'map' anymore (in public). We have to say 'space' or 'state' or 'grid' or something... but I do still think 'map' was good. Congratulations on a very efficient and readable project.
Bravo !
Mathematicians got it directly from cartography. A “map” “maps” points from one set of coordinates to another, for example when you want to plot latitude and longitude on a flat paper.
I expect ideas of mapping functions are only a couple of hundred years old at most, and really quite obscure to most people who are just familiar with the concept of 'maps' and 'mapping' things 'out'.
In functional programming I understand map as just a clone and convert operation. I noticed C++ has a 'map' data structure which is most suitable for associating references. A C++ map is not suitable for storing positions in space.
I'm particularly fond of this because at 12 when I was learning to program I never thought it was important to keep my work safe, or even documented at all, and it all exists on a hard drive in landfill now.
If you pursue a career in programming, you'll look back at your early work and have a great personal self-documentation tool to remind you of how far you've come.
Comments (283) 76 threads
Earlier commentsFrom the HN "legal" page:
> If you are under 13 years of age, you are not authorized to register to use the Site.
https://www.ycombinator.com/legal/
I assume no 12 year olds actually try to follow this boilerplate on the internet. Do sites that require a DOB to sign up reject those under 12?
But... HN doesn't actually collect any personal info. So, that's likely either a reflex inclusion of such a clause or just an abundance of caution.
I would also recommend checking out The Coding Train. NYU ITP Daniel Shiffman's lectures on creative coding. It's time to get started with graphics ;)
https://www.youtube.com/channel/UCvjgXvBlbQiydffZU7m1_aw
And to get a headstart in Artificial Intelligence, from the same author comes the ml5.js library: friendly machine learning for the web. Best of luck!
https://ml5js.org/
In Javascript and other languages 'map' has become a kind of "functional operation" so we cant call things 'map' anymore (in public). We have to say 'space' or 'state' or 'grid' or something... but I do still think 'map' was good.
Congratulations on a very efficient and readable project. Bravo !
In functional programming I understand map as just a clone and convert operation. I noticed C++ has a 'map' data structure which is most suitable for associating references. A C++ map is not suitable for storing positions in space.
If you pursue a career in programming, you'll look back at your early work and have a great personal self-documentation tool to remind you of how far you've come.
All comments shown.
Couldn't load more comments. Check your connection and try again.