21 Mar '13, 10am

@shanegriffiths should be 'just' Sass

# File '/var/www/sass-pages/.sass/lib/sass/script/functions.rb', line 969 def mix(color1, color2, weight = Number.new(50)) assert_type color1, :Color assert_type color2, :Color assert_type weight, :Number Sass::Util.check_range("Weight", 0..100, weight, '%') # This algorithm factors in both the user-provided weight (w) and the # difference between the alpha values of the two colors (a) to decide how # to perform the weighted average of the two RGB values. # # It works by first normalizing both parameters to be within [-1, 1], # where 1 indicates "only use color1", -1 indicates "only use color2", and # all values in between indicated a proportionately weighted average. # # Once we have the normalized variables w and a, we apply the formula # (w + a)/(1 + w*a) to get the combined weight (in [-1, 1]) of color1. # This formula has two especially nice properties: # # * When eit...

Full article: http://sass-lang.com/docs/yardoc/Sass/Script/Functions.ht...

Tweets

Futaba 10C radio modified for Spektrum module compatibility

Futaba 10C radio modified for Spektrum module c...

hackaday.com 21 Mar '13, 11am

Upon opening the Futaba transmitter, he realized that the non-module version of the 10C didn’t really seem that different ...

Announcing the Just-Discovered Links Report

seomoz.org 21 Mar '13, 5pm

Hey everyone, I'm Tela. I head up data planning at SEOmoz, working on our indexes, our Mozscape API, and other really fun ...

Massive Louisiana sinkhole caused by oil indust...

grist.org 20 Mar '13, 6pm

On Wings of Care The oil-sheen-coated sinkhole, photographed over the weekend by nonprofit On Wings of Care. A sinkhole tr...

Conergy liefert Photovoltaik-Module für vier Kr...

solarserver.de 18 Mar '13, 8am

Die Conergy AG (Hamburg) liefert Photovoltaik-Module der P-Serie für vier Solar-Kraftwerke mit insgesamt 15,3 Megawatt (MW...

Bing Links Images of People (Not Just Authors) to Web Pages

Bing Links Images of People (Not Just Authors) ...

searchenginewatch.com 20 Mar '13, 9pm

SEOs have been saying that authorship markup and other rich snippets are the future of SEO. The underlyings of authorship ...

Y-3 just made all other high-fashion sneakers i...

twitter.com 21 Mar '13, 8pm

When you tweet with a location, Twitter stores that location. You can switch location on/off before each Tweet and always ...

BMW's Herbert Diess: i3 plug-in launch is "revolutionizing," driving is "just great fun"

BMW's Herbert Diess: i3 plug-in launch is "revo...

green.autoblog.com 21 Mar '13, 12am

On top of different ways to use a vehicle, BMW is planning new ways to promote the i3. "We think we have a very different ...

@cragcrest

@cragcrest

grist.org 22 Mar '13, 4pm

A few weeks ago, internet millionaire Graham Hill wrote an essay for the New York Times about the virtues of “living with ...

Compass & Sass más Fácil sin Ruby...

Compass & Sass más Fácil sin Ruby...

mhs.github.com 11 Mar '13, 8pm

Since Sass and Compass are Ruby gems, they require that you have a working knowledge of Ruby and the command line. Not all...

Confirmed: Traffic Pollution Can Cause Asthma I...

greencarreports.com 22 Mar '13, 7pm

By Antony Ingram Antony Ingram Contributing Writer BIO Antony has what can only be described as an obsession for all thing...