At 12, I was writing 6809 and 68k asm, and cracking games. The most impressive demos in the Atari scene were written when we all were around 15. Because we had plenty of spare time and still lived at our parent's house. And because we loved programming. Nowadays, kids are just not interested in computers any more, besides playing Fortnite and more generally, using apps or wasting time on Youtube and Instagram. Trivia…
Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
21–30 of 304 posts
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#22Earlier quoted context omitted.
This comment violates HN's rules. Please assume good faith and don't attack people. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/showhn.html Consider the ridiculous downside of someone being 12, posting their program to HN, and meeting with this as a first comment. How awful.
No it's not awful. People will doubt him sometime, and it's better to learn how to deal with that and gain a life skill rather than expecting every person to be sweet and supporting. There are some kids who just goes on game chats to mess with others, play loud music, bully them, grief them etc. They are usually around 12 years old to 16 years old. I'm sure these things are not new to this kid. Welcome to the planet.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#23Earlier quoted context omitted.
This comment violates HN's rules. Please assume good faith and don't attack people. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/showhn.html Consider the ridiculous downside of someone being 12, posting their program to HN, and meeting with this as a first comment. How awful.
No it's not awful. People will doubt him sometime, and it's better to learn how to deal with that and gain a life skill rather than expecting every person to be sweet and supporting. There are some kids who just goes on game chats to mess with others, play loud music, bully them, grief them etc. They are usually around 12 years old to 16 years old. I'm sure these things are not new to this kid. Welcome to the planet.
I simply wrote the code. There's not much room to bullshit your way through it.
I think it's mostly jealous people who see some clean code from a 12y/o (I like the functional programming patterns) and think about their own mediocrity. There's nothing to gain when dealing with those people except cynism. It's almost always better to have an empowering environment. We're not playing Darwin games here and feeling threatened by a 12y/o shows a lack of decency and commitment IMO.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#24That's awesome. What resources did you use to learn Node and JS? Just looked at your code. Kid. You're a badass. Keep this up, you'll go places.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#25Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#26Earlier quoted context omitted.
This comment violates HN's rules. Please assume good faith and don't attack people. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/showhn.html Consider the ridiculous downside of someone being 12, posting their program to HN, and meeting with this as a first comment. How awful.
No it's not awful. People will doubt him sometime, and it's better to learn how to deal with that and gain a life skill rather than expecting every person to be sweet and supporting. There are some kids who just goes on game chats to mess with others, play loud music, bully them, grief them etc. They are usually around 12 years old to 16 years old. I'm sure these things are not new to this kid. Welcome to the planet.
I put together my best attempt and submitted it. The work was subsequently torn to shreds by the people on the board, and rightly so: The "monster" looked like a walking boob, and everyone said that the special attack could be to squirt milk.
I wish I'd been old enough to laugh it off, since it's quite hilarious, but in reality I just stopped trying to be a 3D artist. Stuff like this can have a big impact at a young age.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#27For a next step, I would suggest giving a try at breaking it up into multiple files using import/export statements (it doesn't need it but it's good practice), and using a bundler like Parcel to build the finished file.
npm i --save-dev parcel-bundler
...then move your source JS files to a folder named src, and add to package.json... "scripts": {
"prepare": "parcel --target node src/index.js"
"start": " node dist/index.js"
}
In your individual files, you do like... // file-1.js
import somethingName, { whateverName } from './file-2'
// file-2.js
export function whateverName { ... }
const somethingName = '...';
export default somethingName;
...and then run... npm run prepare
npm run start
(The prepare script is also a "magic word" that will auto-run anytime someone does 'npm install', so usually an end user won't have to manually run it.)A bundler isn't strictly necessary if you plan to only run something in Node, but it lets you make a package that's usable in both Node and web projects, and it makes it simple to use Babel, which lets you Javascript features from the future that aren't actually in Node proper yet.
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#28Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#29At 12, I was writing 6809 and 68k asm, and cracking games. The most impressive demos in the Atari scene were written when we all were around 15. Because we had plenty of spare time and still lived at our parent's house. And because we loved programming. Nowadays, kids are just not interested in computers any more, besides playing Fortnite and more generally, using apps or wasting time on Youtube and Instagram. Trivia…
Ignore this guy
Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
#30That's awesome. What resources did you use to learn Node and JS? Just looked at your code. Kid. You're a badass. Keep this up, you'll go places.
Thank you! I'm watching a lot of Youtube videos. This is how I got to cellular automata. My dad showed me git last week.