20 May 2013

The Ruby Reflector

Topic

JSON

  Source Favicon
By Mike Gunderloy of A Fresh Cup 7 days ago.
Email

Weeks of May 6 - May 12, 2013

ce4456fd replaces multi_json with native Ruby 1.9 json.

afreshcup.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 7 days ago.
Email

MultiJson introduce slowness? - Looks like we may see some rapid movement towards native Json in Ruby now.

RubyMotion Goes 2.0 And Gets OSX Support, Templates and Plugins - Lots of new goodies here.

fartscroll.js - Open source from The Onion. Be afraid.

How to Setup a Production Server for Rails 4 - A walkthrough using a server from Media Temple.

Adding Tabs to Your Rails App Just Got a Whole Lot Easier with Tabulous 2 - …

afreshcup.com Read
  Source Favicon
Email

…, Asynchronous Jobs, Emails, 3rd Party Services, and JSON API endpoints.

Tuesday at 2:00pm: Sleeping with the enemy with George Brocklehurst :

In this session we'll go off the Rails and take a look at what our Pythonista cousins are doing with Django.

I'll start with some live coding: recreating DHH's infamous 15 minute blog demo using Django and explaining the building blocks of a Django app along the way. I'll then take that app …

robots.thoughtbot.com Read
  Source Favicon
By Nick of Signal vs. Noise 24 days ago.
Email

…that much effort. For a table, serve up an HTML table. For graph data, wire up some JSON . Need more than that? Drop in an entire HTML page if you need it. There's guides for hooking up your data included, and I was able to test changes locally using xip.io .

I've focused my board to just data I personally need to react to. Exceptions are high? Let's find out why. The queue looks deep? Pitch in and close a ticket or two. Why is that app's status red? Dive …

37signals.com Read
  Source Favicon
By Todd Hoff of High Scalability 1 month ago.
Email

…: Angular.js with Magento + S3 json file caching = wicked scalability

Dan Milstein : Screw you Joel Spolsky, We're Rewriting It From Scratch!

Anil Dash : Terms of Service and IP trump the Constitution

Jeremy Zawodny : Yeah, seek time matters. A lot.

@ joeweinman : @ adrianco proves why auto scaling is better than curated capacity management. < 50% + Cost Saving

@ ascendantlogic : Any "framework" …

highscalability.com Read
  Source Favicon
By Alan Skorkin of SKORKS 1 month ago.
Email

Sometimes you have saved some pretty printed JSON in a file, but now you want to use it as a body of a CURL POST request, for example. Well ppjson can uglify your JSON for you as well : ppjson -fu abc123.json

This will output a minified JSON string to standard output. And of course you can also update the original file with the uglified JSON as well: ppjson -fui abc123.json

It will do you basic JSON pretty printing with an easy to remember executable name, but it also …

skorks.com Read
  Source Favicon
Email

Also, pt-query-digest 2.2 can save results in JSON format (-output=json). This feature is still in development while we determine the optimal JSON structure.

Version check is on by default

In 2.1.4, released September/October 2012, we introduced a feature called " version check " into most tools. It's like a lot of software that automatically checks for updates, but it's also more: it's a free service from Percona that advises when certain programs ( Percona Toolkit…

mysqlperformanceblog.com Read
  Source Favicon
By Todd Hoff of High Scalability 2 months ago.
Email

Pinboard : Just learned that Google Reader no longer offers direct JSON export. I guess they held the annual "What should we ruin next?" staff retreat

@DEVOPS_BORAT : You can not able have unlimit scalability without unlimit outage.

Jeff : Amazon RDS Scales Up - Provision 3 TB and 30,000 IOPS Per DB Instance

@ migueldeicaza : Google recently hired all of the Twitter's scalability team to work on Google IO checkout.

@ skamille…

highscalability.com Read
  Source Favicon
By John Keiser of Opscode Blog 2 months ago.
Email

To fix this, edit clients/chef-validator.json and add "validator": true as a JSON property. It should look a lot like this: { "name": "chef-validator", "public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8l0+sy05G6YX/SaVsu2k\ndwOTIZKLhvfuhp/VcBU4hJoU8ADTMWyxTR9qEqRq+mgUqkF4ox/zIwhLG5nyHMLa\nFKsKPxUQlS1Jsf2gaoP+RhnswmspJffhF2l593DwSsglTLNtDw5cqhF6YYo7b7cB\nywHaWL+O3cSFLd0US7tSoOTeOdnAAwPbAy7mKQ4nJUHZOCV3Ottn83V8BUCfpnbi\nNetytGDnE1Ms9lvYswsW2EqEnzQ+afvlDq5tXu72b1XBs7Y/8JqQz8+3lVHNGKys\nh5U6VdI5Br0u1leO0LcO2FjhHaMjyqZ7/T2MVztXujUN9CoX1a+3siu3HAa8lslo\noQIDAQAB\n-----END …

opscode.com Read
  Source Favicon
By Paul Ingles of pingles 2 months ago.
Email

…actual application we're only concerned with reading the message payload and converting it from a JSON string to a Clojure map.

Initially, we started writing something similar to this:

We have a function that exposes the messages through a sequence, but we pass a kind of transformation function as the last argument to subscriber-seq . This initially felt ok: subscriber-seq calls our handler and extracts the payload into our desired representation before putting it into the queue that …

oobaloo.co.uk Read