rybesh + programming 12
Purely Functional Retrogames, Part 1
23 days ago by rybesh
Pac-Man is dead simple in any language that fits the same general model as C. There are a bunch of globals representing the position of Pac-Man, the score, the level, and so on. Ghost information is stored in a short array of structures. Then there's an array representing the maze, where each element is either a piece of the maze or a dot. If Pac-Man eats a dot, the maze array is updated. If Pac-Man hits a blue ghost, that ghost's structure is updated to reflect a new state. There were dozens and dozens of Pac-Man clones in the early 1980s, including tiny versions that you could type in from a magazine.
In a purely functional language, none of this works. If Pac-Man eats a dot, the maze can't be directly updated. If Pac-Man hits a blue ghost, there's no way to directly change the state of the ghost. How could this possibly work?
functional
programming
games
In a purely functional language, none of this works. If Pac-Man eats a dot, the maze can't be directly updated. If Pac-Man hits a blue ghost, there's no way to directly change the state of the ghost. How could this possibly work?
23 days ago by rybesh
Smooth-CoffeeScript/src/prelude/prelude.coffee at master · autotelicum/Smooth-CoffeeScript · GitHub
8 weeks ago by rybesh
This prelude is a learning environment for 'Smooth CoffeeScript'.
interactive
programming
examples
8 weeks ago by rybesh
An HTML Notebook IPython — IPython 0.13.dev documentation
11 weeks ago by rybesh
The IPython Notebook consists of two related components:
An JSON based Notebook document format for recording and distributing Python code and rich text.
A web-based user interface for authoring and running notebook documents.
python
programming
teaching
tools
An JSON based Notebook document format for recording and distributing Python code and rich text.
A web-based user interface for authoring and running notebook documents.
11 weeks ago by rybesh
Felix's Node.js Beginners Guide
11 weeks ago by rybesh
There is lots of information about node.js, but given the rapid pace at which it is developing, it can be difficult for beginners to find good, current information on how to get started. This guide aims to provide exactly that, whilst staying updated with the latest stable version of node.js.
nodejs
web
programming
tutorial
11 weeks ago by rybesh
CodeMirror
february 2012 by rybesh
CodeMirror is a JavaScript library that can be used to create a relatively pleasant editor interface for code-like content ― computer programs, HTML markup, and similar. If a mode has been written for the language you are editing, the code will be coloured, and the editor will optionally help you with indentation.
programming
interface
html
javascript
february 2012 by rybesh
Interactive Smooth CoffeeScript
february 2012 by rybesh
Discover the beauty of functional programming in Coffeescript. The source of this book is a literate markdown program/document which produces this code: CoffeeScript, that translates into JavaScript and produces this output.
coffeescript
functional
programming
tutorial
publishing
authoring
markdown
february 2012 by rybesh
Functional Javascript
february 2012 by rybesh
Functional is a library for functional programming in JavaScript. It defines the standard higher-order functions such as map, reduce (aka foldl), and select (aka filter). It also defines functions such as curry, rcurry, and partial for partial function application; and compose, guard, and until for function-level programming. And all these functions accept strings, such as 'x -> x+1', 'x+1', or '+1' as synonyms for the more verbose function(x) {return x+1}.
javascript
functional
programming
february 2012 by rybesh
Learn by Doing - Code School
january 2012 by rybesh
Code School is all about learning by doing. Our educational courses combine video, coding in the browser, and gamification principles to make learning more fun and therefore more effective.
programming
education
tutorials
january 2012 by rybesh
Learn to code | Codecademy
january 2012 by rybesh
Codecademy is the easiest way to learn how to code.
programming
tutorial
education
webinfo
january 2012 by rybesh
Eloquent JavaScript: A Modern Introduction to Programming
january 2012 by rybesh
Eloquent JavaScript is a book providing an introduction to the JavaScript programming language and programming in general.
javascript
programming
tutorial
january 2012 by rybesh
Henri Bergius: Weblog: Business analytics with CouchDB and NoFlo
october 2011 by rybesh
Any business analytics system dealing with moderate amounts of data can be built following this approach.
Apache CouchDB is the central data store
All data is stored as JSON-LD entities
NoFlo handles all data imports
Analytics based on the data are done with CouchDB map/reduce
Visualization happens with a CouchApp using JavaScript InfoVis Toolkit
couchdb
nodejs
flowbased
programming
data
analysis
infoviz
Apache CouchDB is the central data store
All data is stored as JSON-LD entities
NoFlo handles all data imports
Analytics based on the data are done with CouchDB map/reduce
Visualization happens with a CouchApp using JavaScript InfoVis Toolkit
october 2011 by rybesh
Move
august 2011 by rybesh
Move is a modern and simple programming language which can run on virtually any computer. Move is primarily aimed towards people not previously familiar with programming computers.
javascript
language
education
teaching
programming
august 2011 by rybesh
related tags
analysis ⊕ authoring ⊕ coffeescript ⊕ couchdb ⊕ data ⊕ education ⊕ examples ⊕ flowbased ⊕ functional ⊕ games ⊕ html ⊕ infoviz ⊕ interactive ⊕ interface ⊕ javascript ⊕ language ⊕ markdown ⊕ nodejs ⊕ programming ⊖ publishing ⊕ python ⊕ teaching ⊕ tools ⊕ tutorial ⊕ tutorials ⊕ web ⊕ webinfo ⊕Copy this bookmark: