WIL WHEATON dot NET

50,000 Monkeys at 50,000 Typewriters Can't Be Wrong

Hello, world.

  • blog
  • Books
  • computers

When I was a kid, I had an Atari 400. I spent hours sitting in front of that thing, copying programs from magazines and running the games I’d made from them. When I wasn’t writing my own (even though I was copying things from Atari Age or whatever, I was slowly learning how BASIC worked and felt like they were “my” programs), I played the hell out of Star Raiders and Pac-Man, and States & Capitals (which was loaded from a cassette, because that’s how we did things back then).

After the Atari 400, I got a Texas Instruments TI-99/4a. I loved that computer so much, and it was in that machine’s TI-BASIC environment that I truly grokked BASIC programming. I wrote text adventures, a rudimentary database to store news events I made up for a UFO research project that I also made up, and when I wasn’t doing that, I played the hell out of the weird and wonderful video games that machine offered.

Around 1984, I got my first Macintosh, and the first thing I bought for it was whatever BASIC ran on the 128K OG Macintosh back then. I was so excited to get into that language, and start doing things that took advantage of the GUI and this thing called a mouse, but 12 year-old me just couldn’t wrap his head around the language. I don’t know if it actually, objectively sucked, but in my memory, it really sucked. Nothing made sense, nothing followed the conventions I had grown used to, and just getting programs to respond to the mouse was beyond me.

So it was, in 1984, that I gave up trying to open BASIC to write computer programs, and instead opened MacWrite, where I began to write stories. I also played the everlivinghell out of every Mindscape game I could get my hands on.

Fast forward to a a few weeks ago. I was looking through my Humble Bundle library, and noticed that I had a book in there that teaches Python. I flipped through it, and the curiosity that I had as a kid bubbled up to the surface of my mind. I went back to the beginning of the book, and began reading. I downloaded Python for my Mac, and I started copying down the examples, starting to figure my way around the most basic aspects of the language. I’m a few chapters into it, now, and bits of it are beginning to stick. I’m having a lot of fun breaking things and then putting them back together, and just remembering the joy of turning a set of instructions into something useful and fun, like I did when I was a kid.

I have no idea if I’ll see this through to the end, and I have no idea what I’d actually use the skills (if I can even master them) for, but I really need a hobby that isn’t also part of my job, and this seems as good as anything.

Who knows? Maybe I can finally finish that dungeon adventure I started when I was 10.

  • Click to share on Twitter (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)

Related

30 September, 2015 Wil

Post navigation

stay awhile and listen → ← got a photograph, picture of

93 thoughts on “Hello, world.”

  1. Jon Renish says:
    30 September, 2015 at 10:34 am

    Good luck!

    1. karen says:
      30 September, 2015 at 11:52 am

      That’s great! New hobbies are good, and it sounds like you’ve picked a good one. I tried BASIC a few times and couldn’t get the hang of it, so I gave up. Your post makes me wish I hadn’t.

  2. Jenny says:
    30 September, 2015 at 10:35 am

    That’s awesome that you’re picking coding back up! I’m self taught as well, and I’m currently doing a degree with a focus on python. Not going to lie, I miss the curly braces and semi-colons of older languages. Good luck!

  3. Tim Murtaugh says:
    30 September, 2015 at 10:36 am

    Awesome. I think everyone should learn at least some level of programing — the logical ways of thinking it teaches are super helpful. I hope you have fun with it!

  4. Jamison says:
    30 September, 2015 at 10:36 am

    So much of that mirrors my childhood as well, but for me it was a Commodore 64 and then an Amiga 500. I even wrote a little text adventure in BASIC that had less than a dozen rooms and paths in it.

    It’s interesting that you are picking up Python. I’ve read many articles about how Python is a great teaching language to help people learn the concepts of programming.

    Good luck with the hobby! I miss programming sometimes myself.

  5. jamiegeek says:
    30 September, 2015 at 10:36 am

    If you get bored with Mac Python programming you could always pick up a Raspberry Pi and do some “internet of things” Python stuff (blink lights, interface to things, etc. you know channel your inner Wesley).

  6. Sharkus says:
    30 September, 2015 at 10:38 am

    Hey Wil,

    If you like solving puzzles and brain burn you should check out: http://www.pythonchallenge.com/

    It taught me a lot about a lot of things (including Python)…

  7. Erbo says:
    30 September, 2015 at 10:39 am

    You’re taking your first step into a larger world. Python is actually a pretty powerful language, and knocks all those 80’s versions of BASIC into a cocked hat. (Some very large games implement much of their logic in Python, only employing “native” languages like C++ for the very performance-critical pieces. EVE Online is one example.)

  8. 58limited says:
    30 September, 2015 at 10:40 am

    At this point I can’t remember BASIC at all but used it as a kid. I started on the TI 99/4 and 99/4a (my dad was on the design team so I had most of the good games and expansion modules – except for a modem: he was afraid I’d rack up a big long distance bill). It was a great computer at the time and the game graphics were better than most systems. I still have a working TI 99/4a in my closet.

  9. regis says:
    30 September, 2015 at 10:43 am

    There’s an ‘intro to python’ course on coursera.com (MOOC site) taught by a couple of guys at Rice that works towards making a version of Asteroids – you might find it a good match given that you want game stuff. I went through part 1 and some of part 2 and then had to go live for a few weeks with bad internet service and didn’t finish part 2. But it was a good intro and seems like it would work for someone without a lot of (recent) programming experience.

    1. regis says:
      30 September, 2015 at 10:44 am

      link is here, https://www.coursera.org/course/interactivepython1 and the next session starts up 10/3, so your timing might be excellent.

      1. Daniel says:
        30 September, 2015 at 11:13 am

        I took the same course and would also recommend it. The instructors are really good and have a lot of fun teaching the course.

  10. Tim Keating says:
    30 September, 2015 at 10:43 am

    I downloaded Python for my Mac

    Uh, you didn’t have to do that. Macs come with Python built in.
    But I hope you at least used Homebrew to install it.

  11. Tim Keating says:
    30 September, 2015 at 10:45 am

    Also, if what you REALLY want to do is make games, you should have a look at Unity + Playmaker.

  12. Stephan Cleaves says:
    30 September, 2015 at 10:46 am

    Cool Wil. My first 2 computers were nearly the reverse of yours. I had a TI 99/4A first, then an Atari 800XL. I did more BASIC on the Atari. The TI I mostly played cartridge games. I have a Computer Science degree and have been a professional software engineer for about 25 years now. I’ve tried to learn Python a couple times and sort of lost interest both times. I don’t have any direct use for it in my job, we’re a Java shop, but it still seems like a useful thing to know. By the end of a day/week of working on software the last thing I usually want to do in my free time is more programming 🙂 Good luck and enjoy!

  13. tinchopunk says:
    30 September, 2015 at 10:48 am

    Hi Will be a part of my game here is the fan page https://www.facebook.com/tangoaventura we need your voice for the teaser of the game. And we can make you a character of the game!! Thanks and sorry for use these space

  14. Lissa Guillet says:
    30 September, 2015 at 10:48 am

    Woot! Its an awesome hobby. I would totally reccomend looking at the arduino and raspberry pi as a hobby of latforms for interesting software/hardware interaction. Enjoy your refound hobby!

  15. Tim says:
    30 September, 2015 at 10:48 am

    This is very cool. Trying to get my daughters to learn some programming as it is definitely a boost to one’s career if you know a programming language. I taught myself ASP, ASP.NET and Javascript a long time ago and have enjoyed the benefits of knowing how to do things that 1. piss off the corporate IT guys (which is always fun) and 2. contribute to continuous process improvement for whatever group I’m in at work.

  16. Richard Langis says:
    30 September, 2015 at 10:49 am

    Dude, check out teamtreehouse.com – teaching, tutorials, hands-on learning for all sorts of languages. I JUST started the Python module myself.

  17. Javier Quintana says:
    30 September, 2015 at 10:49 am

    Best of luck! I’m sure you will be getting in Internet arguments about really really important opinionated programming concepts in no time!

  18. Maya Ben Ari says:
    30 September, 2015 at 10:50 am

    That’s awesome!

    My dad introduced me to Basic on our Vic-20 when I was around 7. Same as you, I remember myself copying code from magazines, and loving every second of playing with it.
    I didn’t do much with it as a teenager… and yet I am now a software developer and love it, for the same reasons as I did as a child – it is like a game to me.

    This week I introduced my soon-to-be 7 year old cousin to code monkey. We set together for 3 hours straight – we just didn’t notice the time flying by.,, I hope one day he will have the same good memories 🙂

  19. Craig Steffen (@gevmage) says:
    30 September, 2015 at 10:50 am

    Hey cool Wil!

    Python isn’t really my jam, I program in Perl by preference when there isn’t another constraint, but several of my colleagues and friends program in Python unless that HAVE to use something else. That’s really fantastic that it’s starting to click for you. Getting your head wrapped around A language is what’s important; after that, you can extrapolate to others if you want to.

    I never tried to program on a MAC; I had a TRS-80. I know there was some really bad graphics APIs that were attempted to be stuck on top of BASIC; sounds like you experienced one of them. BASIC really didn’t have the right type of subroutine structure to program graphics in a sane way; your frustrations are quite common, I think.

    Thanks for sharing your journey! And how doubly cool that your humble bundle brought you back to something that YOU were interested in!

    (Signing off from my work desk, on which sits a PlayStation 2 that I programmed way back in the day. Good times, good times…)

    Craig

    PS for other readers: Wil is understating his coding skills a bit here. He may not have done a lot of coding-from-the-ground-up for many years, but he’s installed, written, and maintained at least two versions of WWDN including wrangling databases and low-level configuration. In recent memory, he’s run builds of his window manager from source, which I (as a computer professional) avoid if I can possibly help it.

  20. Tom Walsh says:
    30 September, 2015 at 10:51 am

    Atari 400… Arguably the worst keyboard ever put on a computer.

    1. Stephen Hammond says:
      30 September, 2015 at 10:57 am

      You have never used a Sinclair ZX80 then!

  21. Herman Ronk says:
    30 September, 2015 at 10:54 am

    There is an Aerosmith python course on edx.org of you want to learn more about it 🙂

  22. Jean Leggett says:
    30 September, 2015 at 10:55 am

    Feel free to play with our storytelling engine, Wil. It would be an honor. https://www.youtube.com/watch?v=gc3s48huCIk – RPG fans love it, game designers love it. I think it’s right up your alley. 🙂

  23. theelkmechanic says:
    30 September, 2015 at 10:55 am

    Ah, the good old TI-99/4A. Fond memories of copying C. Regena’s programs from Compute! line by line, but being careful not to type too hard lest I jostle the Extended BASIC cartridge and lock up the computer. (And TI Invaders is still my favorite Space Invaders clone.) That was a good machine.

  24. Stephen Hammond says:
    30 September, 2015 at 10:58 am

    I was a more twisted individual! I ignored the BASIC and learned to hand assemble Z80 machine code on my old Sinclair Spectrum. I can still remember some of the op-code values, 0xC9 is return 🙂

  25. T'Mihn says:
    30 September, 2015 at 10:59 am

    Ahh.isn’t that wicked cool the feeling one has when a program works? *happy dance * I remember puttering around on a Radio Shack computer n display and one of the programing books laying about in the store. At 12 ,I stood at the console typing away, cruddy eyesight and squinting at the book text. Finished and executed. Whoop!! It worked. Then I tackled HTML. Such fun. Wil, thanks for the reminder. I need to do this again. 🙂

  26. Aaron Poehls says:
    30 September, 2015 at 10:59 am

    I used to do a bit of programming as a hobby, but ever since I started working as an electrical engineer, that ceased being a hobby and started being a job. I can completely understand the need to have hobbies that don’t somehow migrate into your job. Check out Arduino programming some time… It’s a great intro to robotics. The language is C++, however the API and dev tools are developed in such a way that its extremely easy to learn and modify posted examples.

  27. Jerry Maple says:
    30 September, 2015 at 11:17 am

    I bought a 99/4a during the $50 fire sale. Wrote a 52 card memory match game for it. Talk about painful! And then loading it with the cassette interface. Ugh.

  28. learavoice says:
    30 September, 2015 at 11:22 am

    I clicked through on the book link. Cool book. Awesome website. Thanks for sharing. Enjoy learning!

  29. Dave Branson says:
    30 September, 2015 at 11:31 am

    States and Capitals was multimedia. It actually played audio off of the same cassette that held the program.
    I still have my Atari 400 in a box in the garage. I should get it out soon

    1. Wil says:
      30 September, 2015 at 11:41 am

      Remember when you had to turn the volume down, because it was going to make the DTMF tones to actually load the program?

      1. Dave Branson says:
        30 September, 2015 at 3:53 pm

        Yeah. I can’t remember how it was organized though. Obviously, the tape would be sequential access. Were the states always in the same order?
        Now that I think about it, am I confusing States and Capitals with the programming courses that came with the tape drive and BASIC cartridge? Was that what was multimedia?

  30. Andrea Coletta says:
    30 September, 2015 at 11:33 am

    Great! Python will help opening your mint to the infinite possibility that computer programming gives you. And you can use it also to interface with a Raspberry Pi or an Arduino board… Have Fun

  31. Schanckopotamus says:
    30 September, 2015 at 11:35 am

    This is awesome! Who knows what could happen? Maybe the simple act of learning some programming on the side and getting the brain to make new synaptic pathways will help with some creative problem solving skills!

  32. Jim Auer says:
    30 September, 2015 at 11:43 am

    You should know that there are two “live” versions of python, 2.7 and 3.0. From what I’ve seen 3.0 is more of an ivory tower and 2.7 is still good enough to be used by pretty much everyone. I expect much flammage from the purists due to this comment, but it’s what I’ve consistently seen in bioinformatics.

    Also, if you go even deeper, be sure to understand data encapsulation inside classes. It’s a little obtuse, but when you understand it, it’s power is incredible.

  33. Pliny says:
    30 September, 2015 at 11:44 am

    While Python is really the correct choice, you may also want to take a quick look at Ruby. Most people seem to love one or the other, but not both.

  34. Brett King says:
    30 September, 2015 at 11:50 am

    I used to write video games for my Atari 800XL. I brought it out at a maker meetup a couple of weeks ago. Here’s a game I wrote in ’86 when Aliens had just come out. I might go back and try to write an ending for it sometime. https://www.facebook.com/brett.king.nc/videos/10153731368176162/

  35. Nathan says:
    30 September, 2015 at 12:03 pm

    If you’re really serious about writing a text adventure, you might want to look at one of the dedicated languages; they do a lot of the hard work for you so you can focus on the writing. I recommend either Inform 7 or <a href=”http://www.tads.org/>TADS 3.

  36. bonuswavepilot says:
    30 September, 2015 at 12:13 pm

    As the various comments no doubt make clear, there is a metric fucktonne of good docs and examples all over the place online for python hacking… Here’s a bit of a different angle, for some really interesting stuff about the culture of programming, check out the ‘Jargon File’. (Lots of the stuff in there is pretty old school by now, but it is still fascinating reading, I reckon).

    http://www.catb.org/jargon/html/

    Python is a good choice for a learning language, too. Happy hacking champ!

  37. Charles Wagener says:
    30 September, 2015 at 12:18 pm

    I haven’t done anything with Python. My work has been Perl, C/C++, and recently PHP. True to nerdiness, my first completely home-built database website integration is a DnD Character builder.

  38. californian says:
    30 September, 2015 at 12:31 pm

    Python has rich libraries and many tutorials on RPGs as an Object-Oriented (OO) language. If you are more interested in the creation (game) than the tinker and tooling (computer languages), I would also recommend Unity. Here’s a course w/code that is highly recommended https://www.udemy.com/unitycourse/?couponCode=DotNetRocksUnity (I have no connections to the course or the show’s coupon code other than I am a listener of the show).

  39. Bruce Williams says:
    30 September, 2015 at 12:37 pm

    For pretty much any kind of programming help, in pretty much any coding language, https://stackoverflow.com is your friend. Know it, live it, love it.

  40. Mariko True says:
    30 September, 2015 at 12:39 pm

    What a great way to go back in time. No “butterfly effect” issues here.

  41. Simon says:
    30 September, 2015 at 12:43 pm

    I am in the process of learning how to program javascript and rails (been able to copy and paste what I need to work for years, but never have I guilt anything from scratch) Pearl is next on my list. Excited to see if you do anything with it. But I do understand your joy for Basic which I had as a kid. Someone else above recommended getting a Pi. I also recommend it.

    Truly I think you would find a lot of joy in a $35 computer that you can dick around with.

  42. tom says:
    30 September, 2015 at 12:47 pm

    I’ve been teaching myself python using Learn Python the Hard Way by Zed A. Shaw. His approach is a lot like how you learned BASIC, so you might like the book. Another recommendation: coursera has a few programming courses you can take for free taught by some guys from Rice University. I made: this http://www.codeskulptor.org/#user40_aah1h4iva7_0.py (it works best in Chrome) in their Introduction to Interactive Programming with Python course. The courses are designed to take 2-5 hours per week and are pretty engaging. I dunno how much free time you have, Wil, but if you’ve got 5ish hours a week you can dedicate to the course, you might wanna sign up! You can post on the course’s forums anonymously so your fame doesn’t get in the way of learning stuffs.

    Have fun!

  43. Mike says:
    30 September, 2015 at 12:56 pm

    I remember writing programs on a TRS-80 during summer school…something related to Frankenstein game!

    1. LearaVoice says:
      30 September, 2015 at 3:51 pm

      TRS-80 yessss!

  44. Debbi McDaniel says:
    30 September, 2015 at 1:08 pm

    I feel so old. Our first computer was a TRS-80 my dad bought when I was in high school. Learned a little basic on it and a little on the Atari my boyfriend (now husband) had. Never could quite wrap my head around object-oriented languages, but I’ve used my basic skills to dabble a bit in Javascript and write some pretty slick macros in Visual Basic for Excel. Helps me stand out in my accounting career. 😉

  45. Martin Pollard says:
    30 September, 2015 at 1:10 pm

    That brings back memories, Wil. I cut my teeth on the Radio Shack TRS-80 back in the late 70’s, when I was all of 12 years old. My love of computers actually started when I was in sixth grade, when my teacher rolled a DECwriter terminal with an acoustic phone coupler into the room so that we could connect to the school district’s mainframe and run educational programs, as well as play a few games of Oregon Trail. I knew right then and there what I was going to do with my life.

    I got a TRS-80 Model III for Christmas in 1980 (one of my dying grandfather’s final wishes; he cultivated my love of computers, just as he cultivated my brother’s love of working with his hands) and, to quote Matt Damon’s character in “The Martian,” I “scienced the f**k” out of it. I was already familiar with BASIC at that point, so the next logical step was assembly language, which was really the only way to squeeze as much out of 16K of RAM as possible. Those were giddy days, the Wild West days of personal computing. After moving up to the TRS-80 Model 4 (because why not?), I joined the rest of the world and moved on to an IBM PC clone, where I poured my love of programming into the C language, which helped me get the job I’ve been at for 19 years and counting.

    My next step? Programming for portable devices. I’ve dabbled in iOS at work for various work-related projects (we’re doing custom iPad apps for our teams in the field), and am learning Java and programming for Android. C/C++/C# programming was becoming routine; this is getting my juices flowing again, and taking me back to those Wild West days.

  46. FiHippy says:
    30 September, 2015 at 1:32 pm

    This post reminds me so much of my frustration as a nine year old not being able to “get” much beyond “hello world” on my zx spectrum. 20 years on, I went back and looked again at the wonderful world of code. Now I’m a full-time code monkey and loving it :). My day to day is spent with python but I’m a “all the languages” kinda guy haha (c/c++, Java, c#, php, JavaScript etc.)

    My top tip for you(and for anyone learning to code) is find yourself and need/want, and write to code to fulfill it. Focusing on something you need/want helps focus and direct your learning, and helps enthuse you and makes you want to come back for more.

    Happy Coding!

  47. Steven says:
    30 September, 2015 at 1:39 pm

    Fascinating, Will’s introduction to computers was very similar to mine, except we had an apple II-e. I remember countless hours of transcribing code from a magazine in order to play “computer games”. I stepped away from computers for about 15 years, and then went back to college at a late age and found all the stuff I learned back in the 80’s came right back to me. Now I use a variety of languages (mainly python) to solve complex environmental models.

  48. Jessica O. says:
    30 September, 2015 at 2:21 pm

    AaaAAAHH holy shit I had forgotten all about the TI-99! That was my first computer…TI Invaders, Hunt the Wumpus, pages of code typed in to make an inchworm blink and beep its way across the screen…wow. Hadn’t thought about that thing in years. Thanks for the nostalgia punch. <3

  49. Tom Wilson says:
    30 September, 2015 at 2:31 pm

    My first computer was a second-hand TI 99/4A. No games and using a cheap tape recorder for storage never really worked, but I never got tired of typing in BASIC programs. We had one at Maker Faire this year, part of our “nostalgic nerds” booth. In fact I wrote a blog about that computer…

    http://blog.restfulhealth.com/2009/09/i-was-teenage-heavy-metal-nerd.html

  50. Zoe Farr says:
    30 September, 2015 at 2:32 pm

    I’ve been teaching myself Ruby in the last few weeks (I absolutely had to back the “Hello Ruby” Kickstarter too. I remember doing BASIC on my Speccy 128k in the 80’s and was proud when I got a flag to flash or did the Pangolins game

    Does anyone else remember Pippo?

Comment navigation

Newer Comments →

Comments are closed.

Related Posts

“The library is a safe place.”

In order to survive, I disassociated for much of my childhood, but I clearly remember the books. That's where I found comfort, companionship, inspiration and validation. It's where the imagination that powers everything I do creatively in my life today was born. And it all started in that library, with that librarian. She was one of the first people I can remember asking me, "What do you like? What's important to you? What do you want to know more about? How can I help you find it?"

children are not property. they are people.

Children deserve to be children. Children are not the property of their parents who can use and exploit them for their own gain. They are CHILDREN and they will spend the rest of their lives hurting because you stole that from them. Ask me how I know.

see how we are

Jonathan Frakes is the best dad I never got to have.

ask me how i know

This is a thing that comes up frequently. Someone wonders why Picard put Wesley, who was a teenager, at the helm of the Enterprise. Surely, the argument goes, there are more qualified, experienced, adults on board who deserve the spot....

Recent Posts

“The library is a safe place.”

“The library is a safe place.”

In order to survive, I disassociated for much of my childhood, but I clearly remember the books. That's where I found comfort, companionship, inspiration and validation. It's where the [...]

More Info
children are not property. they are people.

children are not property. they are people.

Children deserve to be children. Children are not the property of their parents who can use and exploit them for their own gain. They are CHILDREN and they will spend the rest of their lives [...]

More Info
with love and respect to Senator John Fetterman and his family

with love and respect to Senator John Fetterman and his family

I am incredibly grateful to Senator John Fetterman for getting mental health care without shame or apology. I wish him and his family gentle healing and recovery.

More Info
see how we are

see how we are

Jonathan Frakes is the best dad I never got to have.

More Info

 

  • Instagram
  • Facebook

Member of The Internet Defense League

Creative Commons License
WIL WHEATON dot NET by Wil Wheaton is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Based on a work at http://wilwheaton.net.

Search my blog

Powered by WordPress | theme SG Double