- 
Use Firefox Browser
 - 
Go to https://databox.me/ and get a username
 - 
Note down your username
 - 
Enter your name and in the Webid box enter : https://username.databox.me/profile/card#me
 
| require 'objspace' | |
| require 'config/environment' | |
| require 'fiddle' | |
| require 'fiddle/import' | |
| extend Fiddle::Importer | |
| include Fiddle | |
| dlload | |
| typealias "VALUE", "unsigned long" | 
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| h3 {margin: 0; font-size: 1em; text-decoration: underline} | |
| #row {width: 19em; margin: 0 auto} | 
Hi Nicholas,
I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I led the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:
The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can't
| # List unique values in a DataFrame column | |
| df['Column Name'].unique() # Note, `NaN` is included as a unique value. If you just want the number, use `nunique()` which stands | |
| # for 'number of unique values'; By default, it excludes `NaN`. `.nunique(dropna=False)` will include `NaN` in the count of unique values. | |
| # To extract a specific column (subset the dataframe), you can use [ ] (brackets) or attribute notation. | |
| df.height | |
| df['height'] | |
| # are same thing!!! (from http://www.stephaniehicks.com/learnPython/pages/pandas.html | |
| # -or- | |
| # http://www.datacarpentry.org/python-ecology-lesson/02-index-slice-subset/) | 
| PRD-63116-001/nPRD-63116-003/nPRD-63116-005/nPRD-63116-007/nPRD-63116-009/nPRD-63116-010/nPRD-63116-013/nPRD-63116-017/nPRD-63116-020/nPRD-63116-021/nPRD-63116-027/nPRD-63116-033/nPRD-63117-003/nPRD-63117-011/nPRD-63117-015/nPRD-63117-019/nPRD-63117-023/nPRD-63117-025/nPRD-63117-027/nPRD-63117-028/nPRD-63117-029/nPRD-63117-041/nPRD-63117-703/nPRD-63117-704/nPRD-63118-001/nPRD-63734-001/nPRD-63734-002/nPRD-63763-001/nPRD-63764-001/n | 
        | .PHONY:all | |
| JVARKIT_HOME?=${HOME}/src/jvarkit-git/dist | |
| all: graph.png | |
| graph.png : biostar251002.tsv script.gnuplot | |
| grep -v YEAR $< | awk -F ' ' '{printf("%s\t%s\n",$$4,$$2);}'| tr " " "_" | grep -v null |\ | |
| sed 's/$$/ 1/'| ${HOME}/src/cmd-utils/src/yxv2table -a sum -n 0 | sed 's/^#/YEAR/' > graph.tsv && \ | |
| gnuplot script.gnuplot | |
| rm -f graph.tsv | 
| /****************************************/ | |
| /* Example of using JSON libname engine */ | |
| /* for discovery, then with a JSON map */ | |
| /* Copyright 2016 SAS Institute */ | |
| /* written by Chris Hemedinger */ | |
| /* http://blogs.sas.com/sasdummy */ | |
| /****************************************/ | |
| /* split URL for readability */ | |
| %let url1=http://communities.sas.com/kntur85557/restapi/vc/categories/id/bi/topics/recent; |