background preloader

Programming

Facebook Twitter

The Analytical Engine Table of Contents. All documents, programs, and downloadable software associated with The Analytical Engine are linked to entries in the following table of contents.

The Analytical Engine Table of Contents

Introduction Historical Documents “Sketch of the Analytical Engine” by L. F. Menabrea, translated and with extensive commentary by Ada Augusta, Countess of Lovelace. This 1842 document is the definitive exposition of the Analytical Engine, which described many aspects of computer architecture and programming more than a hundred years before they were “discovered” in the twentieth century. If you have ever doubted, even for a nanosecond, that Lady Ada was, indeed, the First Hacker, perusal of this document will demonstrate her primacy beyond a shadow of a doubt. Acknowledgements. Ungit introduction. Programming Building Blocks.

"Where do these stairs go?

Programming Building Blocks

""They go up. " --Ray Stantz and Peter Venkman, Ghostbusters What is programming, anyway? I mean, you're learning how to do it, but what is it? Well, it's, umm, kind of like, well, say you have this multilayered chocolate and vanilla cake sitting on top of an internal combustion engine and the gearbox is connected to the coil with a banana. What is programming, anyway? If you don't want a good grade, the computer can do that without your intervention. The second thing you need to get started is the knowledge of how to tell the computer to do these things. What you can do as a programmer, though, is get through the assignments doing something that works, and then look back at it and see how you could have made it better or faster or more concise.

Eventually what you'll find is that the stuff you wrote back in college (e.g. The only way to go is up. 2.1. NDCOslo’s Videos.

Processing

Choc - Bret Victor's 'Learnable Programming' implemented in Javascript. In the Voxel world, use arrow keys to navigate.

Choc - Bret Victor's 'Learnable Programming' implemented in Javascript

Use the space button to jump. Hit space twice to fly. Use shift to move towards the ground. Choc isn't limited to 2D canvas examples. Above we're interacting with a Voxel.js world. In this example, we're building a tower by drawing a circle and repeating that process on the y-axis. We don't have to build a "brick" tower though. There is a bug in the above code that causes the tower to look funny.

A goal of Choc is to encourage both exploration and reflection.

Web

Javascript. Game programming. C++ XNA. Programming a Game in OCaml. Herein I'll provide an introductory taste of what it's been like making a game in OCaml.

Programming a Game in OCaml

I've been developing a "Tactical RPG" game, which is based on the Ars Magica roleplaying setting and rules. Developement name is "Ars Tactica". (I haven't sought out Atlas Games about legal ramifications, deals, or licensing — not until I have something worthwhile to share!) There isn't much to show off now, but here's a screenshot: The figures are placeholders. I'm writing code, in a language which should be better known: OCaml.

OCaml is an unusual choice for games. Rising awareness In the past couple of years I've watched the growing interest in functional programming with some elation. How do you make a game in a functional language? When I was first looking into OCaml (2005), it was beyond my comprehension how a (non-trivial) game could be made. Functional code favors return-values, rather than changing a variable in-place.

Let rec loop count = Printf.printf "Countdown: %d\n%! " Launch4j Executable Wrapper - Browse /launch4j-3/3.1.0-beta2. Es92/Hexel.

Clojure

C# Functional. The Mother of All Demos, presented by Douglas Engelbart (1968) Introduction to Git with Scott Chacon of GitHub.