Rurple NG

Aug. 13th, 2009 02:31 pm
ciphergoth: (Default)
[personal profile] ciphergoth
I've been writing a program for teaching people how to program:



And I've blogged about it on the work blog. I start by quoting Cory Doctorow's Little Brother:
If you’ve never programmed a computer, you should. There’s nothing like it in the whole world. When you program a computer, it does exactly what you tell it to do. It’s like designing a machine — any machine, like a car, like a faucet, like a gas-hinge for a door — using math and instructions. It’s awesome in the truest sense: it can fill you with awe.

A computer is the most complicated machine you’ll ever use. It’s made of billions of micro-miniaturized transistors that can be configured to run any program you can imagine. But when you sit down at the keyboard and write a line of code, those transistors do what you tell them to.

Most of us will never build a car. Pretty much none of us will ever create an aviation system. Design a building. Lay out a city.

Those are complicated machines, those things, and they’re off-limits to the likes of you and me. But a computer is like, ten times more complicated, and it will dance to any tune you play. You can learn to write simple code in an afternoon. Start with a language like Python, which was written to give non-programmers an easier way to make the machine dance to their tune. Even if you only write code for one day, one afternoon, you have to do it. Computers can control you or they can lighten your work — if you want to be in charge of your machines, you have to learn to write code.

Date: 2009-08-13 01:37 pm (UTC)
From: [identity profile] battlekitty.livejournal.com
Hee - it's Karol the Robot! (Or whatever it was called)...

I remember using that in highschool *mumble* years ago! Most interesting thing I did in that class - the rest of it was typing and proofreading for some inexplicable reason...

Date: 2009-08-13 01:45 pm (UTC)
From: [identity profile] palmer1984.livejournal.com
OH that's so cool. We must have another programming date at some point :).

[Feeling quite bad for not managing to do much more programming since you taught me stuff. It's not due to lack of interest, just everything being very hectic].

Date: 2009-08-13 01:53 pm (UTC)
From: [identity profile] purplerabbits.livejournal.com
That sounds like something I would like to learn from :-)

Date: 2009-08-13 01:53 pm (UTC)
From: [identity profile] wildeabandon.livejournal.com
Oh nifty. I'll have a play when I get a chance.

Date: 2009-08-13 02:02 pm (UTC)
From: [identity profile] robot-mel.livejournal.com
Neat! One thing I like about the age I am is that when we got personal computers programming was just something you learned along with it. (At least if your dad was a software engineer like mine was) And then in the early days of the internet you actually had to learn the HTML rather than having applications to do it for you. I think (like cars) it's much more fun when you understand how it works.

I never built a car, but I did rebuilt the engine on my VW Beetle - twice...

Date: 2009-08-13 02:12 pm (UTC)
ext_78940: (Default)
From: [identity profile] yoyoangel.livejournal.com
I feel very lucky that my mum was a geek who had us learning Basic at infant school age.
I agree that things are more fun when you know how they work.

Date: 2009-08-13 02:19 pm (UTC)
From: [identity profile] weegoddess.livejournal.com
I've had to teach myself a bit of HTML so that I could write/update/maintain parts of my website. And I agree, it's really really cool to have the computer do exactly what you tell it to. And oh so frustrating when it doesn't and I can't for the life of me figure out what's amiss...;-D

Date: 2009-08-13 02:38 pm (UTC)
From: [identity profile] robinbloke.livejournal.com
Ahhh happy days, this reminds me of using the LOGO turtle :)

Date: 2009-08-13 03:12 pm (UTC)
From: [identity profile] damerell.livejournal.com
The trouble with learning to program is that there has to be something you want (or need) to do. This was a lot easier in the 8-bit days when, say, simple text adventures were obvious hobbyist projects (not that you can't write one now, but you're much more likely to when text adventures are a commonplace thing) and simple graphics were simple to do.

There's still a fair few people seem to learn some kind of programming from the desire to write a roguelike game - a roguelike remaining a practical single-person hobbyist project.

I think the other approach is what you're doing - a game with a programming environment inside it which is secretly a real programming language. Zach's Manufactoid ( http://www.zachtronicsindustries.com/pivot/entry.php?id=18 ) is a similar idea with Lua which might be interesting (Windows-specific, alas). There's a bunch of robot-arena Flash games with languages specific to the game, too, but some of them have proper flow control and whatnot.

Date: 2009-08-13 05:07 pm (UTC)
From: [identity profile] haggis.livejournal.com
I learned to program BASIC and loved it and I've made intermittent attempts to learn C++. I really enjoy it but I'm feeling a bit stymied at the moment. I write programs to play little puzzle games or solve little logic problems but I have difficultly with any graphical stuff, which should be straightforward in more developed languages.

Can you advise what languages would be worth looking into?

Date: 2009-08-13 06:04 pm (UTC)
From: [identity profile] meico.livejournal.com
Very cool. :)

A good friend of mine works a Microsoft and has spent the last few years trying to achieve the same thing... The project is called Kodu and is available right now on XBox Live...

I also started to do a similar thing inside of a web browser myself, it works quite well but has at lest one annoying bug (entering in new code after hitting the run button then hitting run again doesn't stop the first version of the program- so you end up with two versions of the program running concurrently). That said, I think it's pretty dang cool:

http://www.tinyurl.com/processingnow

and the javascript only version:

http://www.tinyurl.com/javascriptnow

Go to either of them and hit the "run" button. Certainly a robot/ turtle environment is easier and more illustrative though. :)

Date: 2009-08-13 06:20 pm (UTC)
From: [identity profile] plumsbitch.livejournal.com
Fascinating, thanks heaps for pointing this up.

(am someone who a)made little things in BASIC and machine code on a ZXSpectrum as a tiny thing and somehow then forgot all about it b)when riding bikes, did a mechanics courses coz I wanted to know how my machine was doing what it does, and have recently begun to get frustated with how little I understand about a machine with which I spend so much time interacting.)

Date: 2009-08-14 10:18 am (UTC)
From: [identity profile] dennyd.livejournal.com
Neat project, hope it goes well :)

Profile

ciphergoth: (Default)
Paul Crowley

January 2025

S M T W T F S
   1234
5678 91011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 15th, 2026 03:28 am
Powered by Dreamwidth Studios