Live data from Hacker News

Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

bitbucket.org

101–110 of 304 posts

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#101

Earlier quoted context omitted.

That's so freaking cool. Git rocks, and I remember how psyched I was when I learned about it. What's your next project?

I'm not sure. I'm always messing around with different projects. I used blocklike.js to jump from Scratch to JavaScript. Then I worked for months on this one game for the app store called Sticky Quest. You can find it here: https://itunes.apple.com/us/app/sticky-quest/id1425679649?mt... This how I learned how to use npm packages such as Cordova and Eslint.

I'm 28 and have been using Javascript for years and still have no idea how to use Eslint in a terminal.

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#102
post #99

Off topic for the main achievement :) But: if I open the bitbucket link on mobile, the left part of the text is clipped and it doesn't allow scrolling left. With "request desktop site", it works perfect. Why does mobile mode even exist if the desktop site works better??

I tend to read my own code in bed on the phone after I commit. The new Bitbucket interface really dropped the ball on this. It is almost unusable. I hope they’ll fix it...

Send a request ...

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#103

Technically, you shouldn't be using this site ;) > If you are under 13 years of age, you are not authorized to register to use the Site. But I applaud you for getting into programming this early.

When I was 12 I ignored this on pretty much any website I signed up for. Words do little to stop a determined 12 year old.

On the internet, nobody knows your a dog.

Nice work dude!

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#104

Far better than I could do at that age! I think the furthest I was getting at that time was building out really terrible looking web pages in Notepad and making awful little animations in BASIC and Turing (learning lang). Keep it up!

I made a colourful ASCII birthday cake in Pascal that beeped happy birthday at that age. Still one of my proudest programming moments.

writeln(chr(7)) ?

or something more (e.g. playing different frequencies to sound like the happy birthday song)?

Related, and good fun for kids of all ages (first did something like this on my earliest home computer [1]):

Play the piano on your computer with Python:

https://jugad2.blogspot.com/2013/04/play-piano-on-your-compu...

[1] Lissajous hippo, retrocomputing and the IBM PC Jr.:

https://jugad2.blogspot.com/2012/09/lissajous-hippo.html

Western classic music fans may find the comments on that post interesting - stuff about octaves and frequencies.

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#106
post #89

Congratulations! I showed your project to my 12 year old son who has just started to learn programming (in JS no less!) and his jaw dropped. In addition to being a programmer, you are now a role-model. Really well done.

Thanks a ton!

Tell your son that it took me a while, and a lot of work, but it feels great to finish something (there are a lot of projects that I don't finish...).

I began learning using Scratch a long time ago. They even featured me last year (the project was a solar system in which I used sine and cosine to calculate the rotation of the planets). I then used blocklike.js to move to JS.

I watch a lot of YouTube videos. I like The Coding Train, Carykh, and Code Bullet, and I get a lot of my ideas from their projects.

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#107

Earlier quoted context omitted.

or all the 16 year olds

Or all the 42 year olds, ahem, who are currently learning JS/Node/React. :-/

Speaking of which, I'm also learning Spanish. Liam, I'm from the UK where we only speak one language. The one thing I really, really wish I'd done is to have learned another language. I'm doing it now, but it's so much easier when you're young.

It doesn't even matter what it is – pick one you like the sound of. French, German, Italian, whatever. When you bump in to someone later in life and you hear them speaking another language and you can interact with them, there's no greater satisfaction.

/off topic

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#108

Earlier quoted context omitted.

This project explicitly says Node. But in any case, these days I generally recommend using Babel to transpile the newer JS to browser friendly JS as the productivity and readability improvements in newer versions of JS are worth the effort to me to set up the babel build step.

> This project explicitly says Node. While that's true, future projects are a lot easier if one doesn't have to keep re-referencing "what works in Node" vs "what works on the web".

current projects are a lot easier if you can use modern syntax that will eventually be supported in future projects, and which can be transpiled in either way

Re: Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node

#109
post #97
post #90

Earlier quoted context omitted.

I second this. Knowing why something is better to use is most likely learned through doing it a worse way first.

I third this. Speaking from personal experience. I sometimes try to implement the logic of some library or algorithm myself, even if I know there is well-known or canned solution for it. For the same reason as you and your parent comment said. Interestingly, some people (typically newbies who are looking for rewards without commensurate effort. but others too) do not think that way, and even sometimes don't like it i…

>...sometimes don't like it if such suggestions are made

I'll admit to occasionally being frustrated by comments like this. It's important to remember that not everyone is looking to learn. Sometimes, they just need to get something done ASAP.

It's a bit idealistic to assume that everyone has time to learn the canned solution. The real world doesn't always allow for that.

Post reply on HN