Happy Coding now has teaching resources!
That being said, I’m not a teacher. I’m not going to pretend to know what’s best for your students. I’m approaching it from the...... (read more)
(That’s pretty much it, you can stop reading now if you want to.)
I got up and wrote this on my whiteboard:
The “official” version of the challenge is to spend at least an hour coding for 100 days in a row, and to post about your progress on places like Twitter and GitHub. The idea is to motivate yourself to practice, to actually sit down and do the work. The best way to learn how...... (read more)
I just moved to California (more on that in a different blog post). I flew out, and my stuff was shipped separately. So there was a two week period where I didn’t have a computer, or internet, or… anything.
Right in the middle of that two weeks was Ludum Dare. Ludum Dare is a programming competition (but a little more relaxed, more of a “game jam” then a competition) where you have 48 hours to make a game around a theme that’s announced Friday night.
But I didn’t have a computer or even a reliable internet connection, so surely...... (read more)
I know a lot of people are sad, frustrated, ashamed, and angry today. I know a lot of people feel alone or divided, caught up in the “us vs them” frenzy that got us here. I know a lot of people are having conversations with scared kids who don’t understand. And I don’t have a lot to add to any of that, other than I empathize with you.
I don’t have anything smart or comforting to say, but this seemed like the right time to reflect on why I’m putting together this site. It might be a little pretentious to...... (read more)
The site now has random background images that were generated using Processing code, and you can view the source code that generated the background by scrolling to the bottom of the page and looking in the footer!
The random backgrounds aren’t new. I’ve been using backgrounds from Subtle Patterns, and they’ve been great.
But I wanted something a little more codey. Something that was a little bit fun and encouraged people to play around and learn more.
I thought about using a Processing sketch as a background by having it run behind everything else. That opens up a lot...... (read more)
Thinking in Jekyll
I use Jekyll to generate the site. Jekyll doesn’t allow me to write any interactive server-side logic, which for the most part is great because it makes my job easier. I don’t need any interactive server-side logic to just serve up the tutorials, examples, and blog posts. Keep it simple, and all that.
However, a tag system would normally be implemented using interactive server-side logic....... (read more)
When you share a link to Twitter or Facebook, do you ever wonder how it knows what thumbnail and description to use? How does it know whether the page contains a video? Have you ever noticed that some websites seem to have better-looking links when you share them?
For example, this is what it looked like when I shared last week’s blog:
And this is what it looks like when I share this blog:
Where are those images coming from?...... (read more)
Blog posts now contain a comment section! Just scroll to the bottom to check it out!
The comment section uses the forum to store and display comments. To leave a comment, just click the
Start Discussion or
Continue Discussion at the bottom of a blog post (like this one!). This will take you to the corresponding forum post, and any replies you post there will automagically show up in the comment section of the blog post. Neat!
This does require registering for a (free) forum account, or you can just use Facebook, Twitter, or GitHub to login....... (read more)
All of the tutorials and examples now have a code editor embedded directly in them. This means that as you’re reading a tutorial or example, you can play with the code right in the website! It looks like this:
Run Pen button, then click around in the gray area. Then try changing the
mousePressed() function...... (read more)
This is pretty much my “vision” for the site: a bunch of tutorials, a bunch of examples for each tutorial, a place to ask questions, and the ability for other people to get involved if they want to.
I love coding.
I’ve been coding since high school (so, uh, over ten years now). Coding opened up new worlds to me. Not (just) worlds of ones and zeroes, but worlds of creativity, beauty, art, and just plain fun.
Learning how to program took me down a path that allowed me to express myself, to better understand the world around me, to explore stuff I otherwise wouldn’t be able to explore. (Not to mention get a job that pays the bills.)
That might sound a bit lofty, but my point is that programming is much more than the ones-and-zeroes that...... (read more)