- ruby1.9.3-p327
- rails3.2
- unicorn 4.5
- percona Mysql5.5
- memcache14.14
- redis2.6
33 app servers, 1172 unicorn workers, 5 job servers, 370 job workers
Code Triage: gemhttp://www.codetriage.com/ | |
budle open gemName | |
puts caller.inspect #where it came from | |
object#method | |
object.method(:method_name).source_location | |
method.source_location | |
self.class.ancestors #get superclass names in order |
pragma solidity ^0.4.18; | |
contract Addition { | |
uint sum; | |
function Addition() payable public { | |
} | |
function () payable public { |
# How design sprints are done at Google | |
A quick recap of today's meetup at Airbnb by Google about how they conduct design sprints. | |
https://www.meetup.com/ProductTank-SF/events/238968626/ | |
![](https://pbs.twimg.com/media/C_bzwR7VwAEZ56j.jpg) | |
Reminder: pretty much all of contents are available at | |
http://www.gv.com/sprint/ |
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { | |
Component, | |
} from 'react'; | |
import { |
function Square(props) { | |
return ( | |
<button className="square" onClick={() => props.onClick()}> | |
{props.value} | |
</button> | |
); | |
} | |
class Board extends React.Component { |
# Uber Mobile Meetup | |
This is a very rough note from Uber Engineering meetup tonight about building and releasing mobile applications. | |
https://www.uber.com/p/uber-mobility/ | |
## Uber release release team | |
- nightly build/beta testing | |
- internal/external |
#Five guiding principles
Diametric gem https://github.com/relevance/diametric | |
- ActiveModel wrapper of Datomic. MRI via REST service. Jruby via REST service | |
Datomic is via Rich Hickey, newSql database. | |
ACID (atomicity, consistency, Isolation, Durability) guranteed. | |
- has idea of simplicity | |
- datomics schema, - Array of Hash | |
- data: array of hash | |
- query - array in array | |
- data is immutable |
create a namespace and setup a proper layout when we need to extract our code outside the application into a gem
#config/initializers/twitter_wrangler.rb