28 Mar '12, 7pm

@nickcooley @meyerweb It is:

# File '/var/www/sass-pages/.sass/lib/sass/script/functions.rb', line 942 def mix(color1, color2, weight = Number.new(50)) assert_type color1, :Color assert_type color2, :Color assert_type weight, :Number unless (0..100).include?(weight.value) raise ArgumentError.new("Weight #{weight} must be between 0% and 100%") end # This algorithm factors in both the user-provided weight # and the difference between the alpha values of the two colors # 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 color 0", # 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 fo...

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

Tweets

Innotech develops solar PV module from re-proce...

renewableenergyfocus.com 28 Mar '12, 10am

The solar PV modules are larger than customary 60-cell modules and generate a higher yield – around 20% fewer modules are ...

Solar module firms engage in fierce price competition in Europe solar market

Solar module firms engage in fierce price compe...

digitimes.com 26 Mar '12, 5am

Solar module firms engage in fierce price competition in Europe solar market Nuying Huang, Taipei; Jackie Chang, DIGITIMES...

Currently coding our 50th NationBuilder custom ...

sass-lang.com 24 Mar '12, 6am

# File '/var/www/sass-pages/.sass/lib/sass/script/functions.rb', line 942 def mix(color1, color2, weight = Number.new(50))...

Rohm to Roll Out 'Full-SiC' Power Module: Rohm ...

techon.nikkeibp.co.jp 24 Mar '12, 12am

Rohm to Roll Out 'Full-SiC' Power Module Mar 24, 2012 08:51 Tadashi Nezu, Nikkei Electronics Rohm Co Ltd will start volume...

Module: ActionView::Helpers::FormTagHelper:

api.rubyonrails.org 05 Apr '12, 11pm

Starts a form tag that points the action to an url configured with url_for_options just like ActionController::Base#url_fo...

China solar wafer price drops due to low solar module quotes: The price of solar modules in both Europe and Chin...

China solar wafer price drops due to low solar ...

digitimes.com 19 Mar '12, 6am

China solar wafer price drops due to low solar module quotes Nuying Huang, Taipei; Jackie Chang, DIGITIMES [Monday 19 Marc...

Another innovation from Microchip around its MIPS-Based PIC32 microcontrollers

Another innovation from Microchip around its MI...

eetimes.com 22 Mar '12, 8pm

The Wi-Fi Comm Demo Board from Microchip Technology Inc. combines Microchip’s 32-bit PIC32 microcontroller family with its...

Super happy that the GPS module for my clock pr...

sparkfun.com 25 Mar '12, 1am

The Fastrax UP501 receiver with embedded antenna is ideally suited for navigation systems, asset tracking devices and batt...