Skip to content

Instantly share code, notes, and snippets.

View AustinBGibbons's full-sized avatar

Austin Gibbons AustinBGibbons

  • periscopedata.com
  • San Francisco
View GitHub Profile
id host ip node field size
HRH2-g5cSZWoWC085QaIZw x.x.x.x x.x.x.x HRH2-g5 user_agent_string 301.4kb
HRH2-g5cSZWoWC085QaIZw x.x.x.x x.x.x.x HRH2-g5 institution_type_string 0b
HRH2-g5cSZWoWC085QaIZw x.x.x.x x.x.x.x HRH2-g5 pd2_error_type_string.raw 1.6kb
HRH2-g5cSZWoWC085QaIZw x.x.x.x x.x.x.x HRH2-g5 environment 27.4kb
HRH2-g5cSZWoWC085QaIZw x.x.x.x x.x.x.x HRH2-g5 message.raw 592b
HRH2-g5cSZWoWC085QaIZw x.x.x.x x.x.x.x HRH2-g5 error_object.message.raw 4kb
HRH2-g5cSZWoWC085QaIZw x.x.x.x x.x.x.x HRH2-g5 validation_field_string 0b
HRH2-g5cSZWoWC085QaIZw x.x.x.x x.x.x.x HRH2-g5 link_version_string 0b
HRH2-g5cSZWoWC085QaIZw x.x.x.x x.x.x.x HRH2-g5 item_id_string 277.1mb
create or replace function fun_times_ahead = select 2
scala> Array(("A", 1))
res6: Array[(String, Int)] = Array((A,1))
scala> line(res6)
Output written to http://192.168.128.50:57855 (CMD + Click link in Mac OSX).
Output written to http://192.168.128.50:57855 (CMD + Click link in Mac OSX).
res7: com.quantifind.charts.highcharts.Highchart = Highchart(List(Series(Vector(Data(0,1,None,None)),None,None,None,Some(line),None,None,None,None,series)),Some(Title(,None,None,None,None,None,None,None,title)),Some(Chart(Some(xy))),None,Some(Credits(None,,None,None,)),Some(Exporting(chart,None,None,None,None,None,None)),None,Some(PlotOptions(None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,plotOptions)),None,true,None,Some([Lcom.quantifind.charts.highcharts.Axis;@75a86fa1),Some([Lcom.quantifind.charts.highcharts.Axis;@538ef60))
scala> line(Array(("A", 1)))
<console>:11: error: overloaded method value apply with alternatives:
scala> val a = Map(1 -> 1, 2 -> 2, 3 -> 0)
a: scala.collection.immutable.Map[Int,Int] = Map(1 -> 1, 2 -> 2, 3 -> 0)
scala> val b = Map(1 -> 10, 2 -> 20, 4 -> 40)
b: scala.collection.immutable.Map[Int,Int] = Map(1 -> 10, 2 -> 20, 4 -> 40)
scala> val keys = a.keySet.intersect(b.keySet)
keys: scala.collection.immutable.Set[Int] = Set(1, 2)
scala> keys.map(k => (a(k), b(k)))