background preloader

Programming

Facebook Twitter

ConfirmDialog command. Show frames Go to: Synopsis.

confirmDialog command

Return value. Flags. Python examples. Synopsis confirmDialog([backgroundColor=[float, float, float]], [button=string], [cancelButton=string], [defaultButton=string], [dismissString=string], [message=string], [messageAlign=string], [parent=string], [title=string]) Note: Strings representing object names and arguments must be separated by commas. 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"? 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). The code is not designed to be fast or efficient but is to be as simple and understandable as possible. I have used the Cartesian coordinate system in three-dimensions (i.e. three perpendicular axis of x, y and z) and Euclidian geometry. Developing with C# on OSX and Mono. Based on your comment to HiVoltRock's answer (ASP.NET development), I'd say Mono 2.10.1 and MonoDevelop will be just fine (the stable release of MonoDevelop works just fine, but for development on OS X I prefer to use the most recent version which I compile from Git).

Developing with C# on OSX and Mono

There are some things to take into account, such as file paths (ie: if the windows devs are writing static paths such as ApplicationsInstallDirectory + "\data\templates\foo.bar"; you will run into problems as directory separators on Mac OS are forward slashes. Also if existing code is using P/Invoke or other specific Window's functionality you'll be in trouble. Finally if your code base uses third party libraries that requires Windows this could cause you issues. For reference our product has been designed since day one with a requirement that it runs on Mono on Linux or OS X. With that in mind we've made sure to consider everything with cross-platform execution in mind. 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. 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. 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.

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. 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. Cocoa. Quartz Composer.

OSX

Unsorted. DataViz. Ruby. Python. Haskel.