background preloader

Programming

Facebook Twitter

Flow Based Programming. The Absolute Beginner's Guide to Sass. What is Sass? Sass stands for Syntactically Awesome Stylesheets Sass, and was created by Hampton Catlin. It’s a way to simplify your CSS workflow, making development and maintenance tasks easier. For instance, have you ever had to do a find-and-replace in your stylesheet to change a particular HEX color for a particular indecisive client?

Or had to open up the calculator app to figure out a column width in a multi-column design? Sass introduces new concepts such as variables, mixins, nestings and selector inheritance. Sass looks similar to CSS, but without the semi-colons and curly braces. Given the following CSS: You’d write the following in Sass: #skyscraper_ad display: block width: 120px height: 600px #leaderboard_ad display: block width: 728px height: 90px Sass uses two-space indentations to define code nesting.

Now that you see how Sass is written, let’s look at some of the things that makes Sass so awesome. Variables $red: #FF4848 Nesting There are two types of nesting. Selector Nesting Mixins.

Javascript

An Introduction to Programming in Go - Vimperator. HTML5 & CSS3 Fundamentals: Development for Absolute Beginners | Channel 9 - Vimperator. 10 minutes, 20 seconds 35 minutes, 14 seconds 29 minutes, 21 seconds 25 minutes, 25 seconds 48 minutes, 58 seconds 20 minutes, 18 seconds 6 minutes, 59 seconds 15 minutes, 30 seconds 13 minutes, 0 seconds 27 minutes, 27 seconds. Stevey's Blog Rants: The Universal Design Pattern - Vimperator. Note: Today's entry is a technical article: it isn't funny.

At least not intentionally. Update, Oct 20th 2008: I've added an Updates section, where I'll try to track significant responses, at least for a week or so. There are three entries so far. Contents Introduction Today I thought I'd talk about a neat design pattern that doesn't seem to get much love: the Properties Pattern. People use this pattern all over the place, and I'll give you a nice set of real-life examples in a little bit. But even though this pattern is near-universal, people don't talk about it very often. I hope to offer a different and richer perspective here. Three Great Schools of Software Modeling Before I tell you anything else about the Properties Pattern, let's review some of the most popular techniques we programmers have for modeling problems. I should point out that none of these techniques is tied to "static typing" or "dynamic typing" per se.

Class Modeling You know all about this one. Relational Modeling Wyvern. SWEBOK Guide - Ch1 Contents - Vimperator. Human-Computer Interaction | Coursera - Vimperator. Machine Learning: Genetic Algorithms Part 1 (Javascript) | Burak Kanber's Blog - Vimperator. On September 4, 2012 The Introduction to “Machine Learning in Javascript” post provides a nice introduction and context for this post and the rest of the series. I like starting my machine learning classes with genetic algorithms (which we’ll abbreviate “GA” sometimes).

Genetic algorithms are probably the least practical of the ML algorithms I cover, but I love starting with them because they’re fascinating and they do a good job of introducing the “cost function” or “error function”, and the idea of local and global optima — concepts both important and common to most other ML algorithms. Genetic algorithms are inspired by nature and evolution, which is seriously cool to me. One phrase I used above is profoundly important: “general-purpose”. One application that comes to mind is bipedal robot walking. Let’s build a GA in Javascript. The Problem Build a genetic algorithm in Javascript that reproduces the text “Hello, World!”. Naturally, everything starts with “Hello, World!” The Chromosome. Course | Machine Learning - YouTube - Vimperator.