18 April 2014

The Ruby Reflector

Topic

Collection

  Source Favicon
Email

…manually, including:

- Verify master and replica data consistency

- Efficiently archive rows

- Find duplicate indexes

- Summarize MySQL servers

- Analyze queries from logs and tcpdump

- Collect vital system information when problems occur

The post Percona Toolkit 2.1.11 is now available appeared first on MySQL Performance Blog .

mysqlperformanceblog.com Read
  Source Favicon
By Peter Cooper of Ruby Inside over 1 year ago.
Email

Better Specs: A Collection of Guidelines for RSpec Users

An Interview with Xavier Noria, The Code Gardener

Xavier Noria (a Ruby Hero and Rails core contributor) faces Pat Shaughnessy for an interview about how he got started with Ruby and Rails, what's coming in Rails 4.0, and more.

Booleans are Baaaaaaaaaad

John Nunemaker is back and flying the flag for state machines saying that 'using true/false for state is bad.' Several …

rubyinside.com Read
  Source Favicon
On Unspace Blog 1 year ago.
Email

becomes @ listenTo @ collection, 'reset', @ addAll @ listenTo @ model, 'change:name', @ updateName

See jsfiddle version 2

Running through Chrome again, the click events are now behaving as expected, we've taken care of our detached DOM nodes, and there are only 2 instances of ItemView now as we would expect. That's pretty great for such an easy change, hats off to the backbone team for that one.

Let's keep going though, if we now remove …

rethink.unspace.ca Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 2 years ago.
Email

Android device.

Using the Battery API - Part of WebAPI - Yes, modern web sites can check whether your battery is charging.

Falsehoods Programmers Believe About Names - Dealing with people's names is a surprisingly deep problem.

Factsheet Five Collection, ca. 1982-1992 - Nothing to do with programming. Just a glimpse of one of my past lives.

afreshcup.com Read
  Source Favicon
By Leigh Shevchik of New Relic almost 2 years ago.
Email

Join us on Tuesday, June 5, for our joint webinar with SOASTA . Our own Nic Benders and Dan Bartow , SOASTA's VP of Product Management, will demonstrate how to use CloudTest and New Relic together to:

* Plan tests to include realistic behavior, ramp and scale mobile and web users

* Record tests of real user scenarios and connect to build systems and common development platforms

* Collect critical performance metrics during test execution

newrelic.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 2 years ago.
Email

Another long day looms.

Developing for old browsers is (almost) a thing of the past - Yeah. Almost. Getting better though. I've got two clients now concentrating on modern browsers, so feeling hopeful.

List.js - JavaScript to search/sort/filter plain HTML lists.

Beautiful Docs - Collection of links to well done developer documentation.

Capybara, Cucumber, and How the Cookie Crumbles - This was helpful in sorting out a testing quandary this …

afreshcup.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup almost 2 years ago.
Email

I seem to have misplaced a day this week. That's not good.

Postgres.app - Easy installer for PostgeSQL on OS X.

WebPagetest - Collect an overwhelming amount of data on page loading performance from real browsers scattered around the world.

Mini tech note: MySQL query comments in Rails - 37signals has published a gem to add application/controller/action comments to the logs. Really only needed if you're using an automated tool for log analysis.

afreshcup.com Read
  Source Favicon
By Joey of Global Nerdy over 2 years ago.
Email

…each other on Want based on shared taste in products. When someone adds one of your products to their Collection it's broadcasted to the activity feeds of like-minded individuals.

Facebook. Want provides built-in access to the new Facebook automated sharing, giving every storeowner the chance for exposure on their shopper's Timelines and Tickers.

Insight. Learn what other products and brands your shoppers have an interest in. This can help you select new inventory, shape design …

globalnerdy.com Read
  Source Favicon
By Obie Fernandez of Obie Fernandez 2 years ago.
Email

variable_counter = :"#{variable}_counter" if @ collection

[variable, variable_counter]

end

That regex is a little tricky, but whether it's the intentional behavior or not, it's going to grab whatever is between the last underscore of your partial name and the dot to use as the variable name. In the case of my own Event hierarchy, that means each partial will get its own event local variable, even though the partials are named _user_created_event, _nomination_event, etc. …

obiefernandez.com Read
  Source Favicon
By Khan of Engine Yard Developer Blog over 2 years ago.
Email