background preloader

Programming

Facebook Twitter

ConfirmDialog command. Show frames Go to: Synopsis.

confirmDialog command

Return value. Greencodds Tenth Rule Of Programming. A database-oriented twist on GreenspunsTenthRuleOfProgramming in which, "Every sufficiently complex application/language/tool will either have to use a database or reinvent one the hard way.

Greencodds Tenth Rule Of Programming

" I don't know who originally said it, so I combined DrCodd's name with Greenspuns'. Ironically, even Lisp, the original "greenspun" language, reinvents one by having an internal complex data structure (nested list in byte-code form) that takes on database-like characteristics. -- top What the heck is a "nested list in byte-code form"? I'm an experienced Lisp programmer, and I don't know what you're talking about. The giant internal tree(s) that Lisp code compiles into. A Vector Type for C# Download source - 10.8 KB Introduction For years I have seen people struggle with vector mathematics.

A Vector Type for C#

This guide should walk you through the creation of a reusable Vector3 type and the mathematics behind it all. The post-fixed 3 simply refers to the vector being in 3-dimensions (x,y,z). Developing with C# on OSX and Mono. Functional Reactive Programming. Functional Reactive Programming (FRP) integrates time flow and compositional events into functional programming.

Functional Reactive Programming

This provides an elegant way to express computation in domains such as interactive animations, robotics, computer vision, user interfaces, and simulation. 1 Introduction The original formulation of Functional Reactive Programming can be found in the ICFP 97 paper Functional Reactive Animation by Conal Elliott and Paul Hudak. 1.1 Behaviors Traditionally a widget-based user interface is created by a series of imperative actions. The library for professional-quality creative coding in C++ OpenFrameworks. Polycode. Codify – iPad. Make Anything on your iPad.

Codify – iPad

Codea for iPad lets you create games and simulations — or just about any visual idea you have. Turn your thoughts into interactive creations that make use of iPad features like Multi-Touch and the accelerometer. We think Codea is the most beautiful code editor you'll use, and it's easy. Codea is designed to let you touch your code. Want to change a number? Codea is built on the Lua programming language.

Join the Codea Forums. Gui Toolkits - Mono. Picking the Right Toolkit One of the hardest and most important decision to make when starting a new desktop application is which GUI "toolkit" to choose.

Gui Toolkits - Mono

The toolkit is the set of API's that produce the graphical user interface your users will interact with. There are a number of factors to consider when choosing the toolkit. Different toolkits support different platforms (Linux, Windows, OSX) and have different features such as accessibility, layout engines, and looks. The two main toolkits offered by Mono are GTK# and Winforms, however there are several other toolkits offered by the community which may suit your needs. Both GTK# and Winforms, while being cross-platform, have clear roots in their original platforms. Gtk# Homepage: GtkSharp GTK# is a .NET binding for the Gtk+ toolkit.

In general, GTK# applications are written using MonoDevelop, which provides a visual designer for creating GTK# GUIs. Platforms: Unix, Windows, OSX Pros: Cons: Gtk+ apps run like foreign applications on MacOS X. WebGL Water. Loading...

WebGL Water

Made by Evan Wallace This demo requires a decent graphics card and up-to-date drivers. If you can't run the demo, you can still see it on YouTube. Interactions: Draw on the water to make ripples Drag the background to rotate the camera Press SPACEBAR to pause and unpause Drag the sphere to move it around Press the L key to set the light direction Press the G key to toggle gravity Features: Raytraced reflections and refractions Analytic ambient occlusion Heightfield water simulation * Soft shadows Caustics ** * requires the OES_texture_float extension** requires the OES_standard_derivatives extension Tile texture from zooboing on Flickr. Monad (functional programming) Formally, a monad consists of a type constructor M and two operations, bind and return (where return is often also called unit).

Monad (functional programming)

The operations must fulfill several properties to allow the correct composition of monadic functions (i.e. functions that use values from the monad as their arguments or return value). The return operation takes a value from a plain type and puts it into a monadic container using the constructor, creating a monadic value. The bind operation performs the reverse process, extracting the original value from the container and passing it to the associated next function in the pipeline, possibly with additional checks and transformations. OpenCL. CSharpPlugin. Xcode Plugin and supporting files for Mono C# integration This page is no longer maintained.

CSharpPlugin

Please use the latest version at Susan Mackay Abstract This document describes the installation, use and some of the background details of an Xcode plugin that allows the use of the Mono C# development environment. If you just want to get the code installed and running, then please start at the “Installation” section. Quick Start If you just want to get started, then follow these instructions. Cocoa. Quartz Composer.

OSX

Unsorted. DataViz. Ruby. Python. Haskel.