The Problem with Facebook by stickycomics
That burn is so sick it’s diseased with boils bubbling out of it.
The Mounting Minuses at Google - WSJ.com
Also, glad to know that even Google has issues with ComScore data! “A Google spokeswoman said comScore’s data is “dramatically lower” than Google’s internal data.”
Newcomers to Rails often discover too late that not all application models have to be ORM-backed. There are a number of reasons why you might not need or want to persist your models in a data store. Perhaps you want to roll your own persistence layer. In those scenarios, you might miss some conveniences of ActiveRecord-based models. While ActiveModel has made models more consistent between ActiveRecord, Mongoid, and other ORMs, it doesn’t cover every ActiveRecord feature. Bridging this gap is the inspiration behind ActiveAttr, a project from Chris Griego.
ActiveAttr lets you define attributes:
class Person include ActiveAttr::Attributes attribute :first_name attribute :last_name end person = Person.new person.first_name = "Chris" person.last_name = "Griego" person.attributes #=> {"first_name"=>"Chris", "last_name"=>"Griego"}… with defaults
class Person include ActiveAttr::Attributes attribute :first_name, :default => "John" attribute :last_name, :default => "Doe" end person = Person.new person.first_name #=> "John" person.last_name #=> "Doe"… even specify assignment security:
class Person include ActiveAttr::MassAssignmentSecurity attr_accessor :first_name, :last_name attr_protected :last_name end person = Person.new(:first_name => "Chris", :last_name => "Griego") person.first_name #=> "Chris" person.last_name #=> nilActiveAttr also supports logging, typecasting, and more. Check out the source on GitHub for more info or to contribute.
TJ is at it again. The creator of Express, Stylus, and other projects you probably use has released UIKit, a lightweight web UI component library. Let’s be honest, most JavaScript UI component libraries are bloated, tangled messes. UIKit aims to be leaner yet object-oriented. Consider this
ColorPickerexample:var picker = new ui.ColorPicker; picker.el.appendTo('#default-color-picker'); picker.on('change', function(color){ $('.r').text(color.r) $('.g').text(color.g) $('.b').text(color.b) $('.rgb').text(color.toString()).css('background', color) });Check the project web site or source for a list of components and usage.
I have started to like KDE again, Its now default desktop on all my Linux machines.