text:
Distributed Inference Algorithms for Network}},
	Url = {http://www.eecs.berkeley.edu/Pubs/TechRpts/2009/EECS-2009-39.html},
	Year = {2009},
	Bdsk-Url-1 = {http://www.eecs.berkeley.edu/Pubs/TechRpts/2009/EECS-2009-39.html}}

@inproceedings{Isard:2009vn,
	Author = {Michael Isard and Yuan Yu},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {SIGMOD Conference},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://doi.acm.org/10.1145/1559845.1559962},
	Pages = {987-994},
	Title = {{Distributed data-parallel computing using a high-level programming language}},
	Year = {2009}}

@article{MelnikGLRSTV10,
	Author = {Sergey Melnik and Andrey Gubarev and Jing Jing Long and Geoffrey Romer and Shiva Shivakumar and Matt Tolton and Theo Vassilakis},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Journal = {PVLDB},
	Number = {1},
	Pages = {330-339},
	Title = {{Dremel: Interactive Analysis of Web-Scale Datasets}},
	Volume = {3},
	Year = {2010}}

@inproceedings{Isard:2007kx,
	Author = {M. Isard and M. Budiu and Y. Yu and A. Birrell and D. Fetterly},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {EuroSys},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-04-10 01:49:33 +0000},
	Ee = {http://doi.acm.org/10.1145/1272996.1273005},
	Pages = {59-72},
	Title = {Dryad: {D}istributed {D}ata-{P}arallel {P}rograms from {S}equential {B}uilding {B}locks},
	Year = {2007}}

@incollection{eisner-filardo-2011,
	Author = {Jason Eisner and Nathaniel W. Filardo},
	Booktitle = {Datalog 2.0},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Editor = {Tim Furche and Georg Gottlob and Giovanni Grasso and Oege de Moor and Andrew Sellers},
	Note = {40 pages},
	Publisher = {Springer},
	Series = {Lecture Notes in Computer Science},
	Title = {{Dyna: Extending Datalog For Modern AI}},
	Url = {http://cs.jhu.edu/~jason/papers/#datalog11},
	Year = {2011},
	Bdsk-Url-1 = {http://cs.jhu.edu/~jason/papers/#datalog11}}

@inproceedings{kearns93t,
	Author = {Michael Kearns},
	Booktitle = {Journal of the ACM},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Pages = {392--401},
	Publisher = {ACM Press},
	Title = {{Efficient Noise-Tolerant Learning from Statistical Queries}},
	Year = {1993}}

@article{evitaraced,
	Author = {Tyson Condie and David Chu and Joseph M. Hellerstein and Petros Maniatis},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://www.vldb.org/pvldb/1/1453978.pdf},
	Journal = {PVLDB},
	Number = {1},
	Pages = {1153-1165},
	Title = {{Evita Raced: Metacompilation for Declarative Networks}},
	Volume = {1},
	Year = {2008}}

@misc{giraph,
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Howpublished = {http://incubator.apache.org/giraph/},
	Key = {Apache},
	Publisher = {Apache Software Foundation},
	Title = {{Giraph: Open-source implementation of Pregel}}}

@misc{goldenorb,
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Howpublished = {http://www.raveldata.com/goldenorb/},
	Key = {GoldenOrb},
	Publisher = {Ravel},
	Title = {{GoldenOrb: Open-Source Implementation of Pregel}}}

@inproceedings{graphlab,
	Author = {Yucheng Low and Joseph Gonzalez and Aapo Kyrola and Danny Bickson and Carlos Guestrin and Joseph M. Hellerstein},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {UAI},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://uai.sis.pitt.edu/displayArticleDetails.jsp?mmnu=1{\&}smnu=2{\&}article_id=2126{\&}proceeding_id=26},
	Pages = {340-349},
	Title = {{GraphLab: A New Framework For Parallel Machine Learning}},
	Year = {2010}}

@misc{oracle:xquery:website,
	Date-Added = {2012-04-19 09:51:53 +0000},
	Date-Modified = {2012-04-19 09:51:53 +0000},
	Howpublished = {\url{http://docs.oracle.com/cd/E49465_01/doc.23/e49333/oxh.htm#BDCUG526}},
	Key = {Oracle},
	Publisher = {Oracle},
	Title = {{Using Oracle XQuery for Hadoop}}}

@misc{hadoop,
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Howpublished = {\url{http://hadoop.apache.org}},
	Key = {Apache},
	Publisher = {Apache Software Foundation},
	Title = {{Hadoop: Open-Source Implementation of MapReduce}}}

@article{haloop,
	Author = {Yingyi Bu and Bill Howe and Magdalena Balazinska and Michael D. Ernst},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://www.comp.nus.edu.sg/$\sim$vldb2010/proceedings/files/papers/R25.pdf},
	Journal = {PVLDB},
	Number = {1},
	Pages = {285-296},
	Title = {{HaLoop: Efficient Iterative Data Processing on Large Clusters}},
	Volume = {3},
	Year = {2010}}

@inproceedings{hyracks,
	Author = {V. R. Borkar and M. J. Carey and R. Grover and N. Onose and R. Vernica},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {ICDE},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-04-10 01:23:58 +0000},
	Ee = {http://dx.doi.org/10.1109/ICDE.2011.5767921},
	Pages = {1151-1162},
	Title = {{Hyracks: A Flexible and Extensible Foundation for Data-Intensive Computing}},
	Year = {2011}}

@article{ScopeJournal,
  author    = {J. Zhou and
               N. Bruno and
               M.-C. Wu and
               P.-{\AA}. Larson and
               R. Chaiken and
               D. Shakib},
  title     = {{SCOPE: Parallel Databases Meet MapReduce}},
  journal   = {VLDB J.},
  volume    = {21},
  number    = {5},
  year      = {2012},
  pages     = {611-636},
  ee        = {http://dx.doi.org/10.1007/s00778-012-0280-z},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}

@article{ASTERIX,
	author    = {S. Alsubaiee and
               Y. Altowim and
               H. Altwaijry and
               A. Behm and
               V. R. Borkar and
               Y. Bu and
               M. J. Carey and
               I. Cetindil and
               M. Cheelangi and
               K. Faraaz and
               E. Gabrielova and
               R. Grover and
               Z. Heilbron and
               Y.{-}S. Kim and
               C. Li and
               G. Li and
               J. M. Ok and
               N. Onose and
               P. Pirzadeh and
               V. J. Tsotras and
               R. Vernica and
               J. Wen and
               T. Westmann},
  title     = {{AsterixDB: A Scalable, Open Source BDMS}},
  journal   = {{PVLDB}},
  volume    = {7},
  number    = {14},
  pages     = {1905--1916},
  year      = {2014},
}

@article{madlib,
	Author = {Jeffrey Cohen and Brian Dolan and Mark Dunlap and Joseph M. Hellerstein and Caleb Welton},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Journal = {PVLDB},
	Number = {2},
	Pages = {1481-1492},
	Title = {{MAD Skills: New Analysis Practices for Big Data}},
	Volume = {2},
	Year = {2009}}

@inproceedings{Ullman:2011,
	Author = {Foto N. Afrati and Vinayak R. Borkar and Michael J. Carey and Neoklis Polyzotis and Jeffrey D. Ullman},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {EDBT},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://doi.acm.org/10.1145/1951365.1951367},
	Pages = {1-8},
	Title = {{Map-Reduce Extensions and Recursive Queries}},
	Year = {2011}}

@inproceedings{Chu:2006fk,
	Author = {Cheng-Tao Chu and Sang Kyun Kim and Yi-An Lin and YuanYuan Yu and Gary R. Bradski and Andrew Y. Ng and Kunle Olukotun},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {NIPS},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://books.nips.cc/papers/files/nips19/NIPS2006_0725.pdf},
	Pages = {281-288},
	Title = {{Map-Reduce for Machine Learning on Multicore}},
	Year = {2006}}

@article{Dean:2008fk,
	Author = {J. Dean and S. Ghemawat},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-04-10 01:36:14 +0000},
	Journal = {Commun. ACM},
	Number = {1},
	Pages = {107-113},
	Title = {{MapReduce: Simplified Data Processing on Large Clusters}},
	Volume = {51},
	Year = {2008}}

@inproceedings{Zaniolo93,
	Author = {Carlo Zaniolo and Natraj Arni and KayLiang Ong},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {DOOD},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://dx.doi.org/10.1007/3-540-57530-8_13},
	Pages = {204-221},
	Title = {{Negation and Aggregates in Recursive Rules: the LDL++ Approach}},
	Year = {1993}}

@inproceedings{pig,
	Author = {C. Olston and B. Reed and U. Srivastava and R. Kumar and A. Tomkins},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {SIGMOD},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-04-10 01:52:16 +0000},
	Ee = {http://doi.acm.org/10.1145/1376616.1376726},
	Pages = {1099-1110},
	Title = {Pig {L}atin: {A} {N}ot-so-{F}oreign {L}anguage for {D}ata {P}rocessing},
	Year = {2008}}

@inproceedings{priter,
	Articleno = {13},
	Author = {Zhang, Yanfeng and Gao, Qixin and Gao, Lixin and Wang, Cuirong},
	Booktitle = {SOCC},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Doi = {http://doi.acm.org/10.1145/2038916.2038929},
	Isbn = {978-1-4503-0976-9},
	Keywords = {{MapReduce, PrIter, Distributed Framework, Iterative Algorithms, Prioritized Iteration}},
	Pages = {13:1--13:14},
	Title = {Pr{I}ter: a distributed framework for prioritized iterative computations},
	Url = {http://doi.acm.org/10.1145/2038916.2038929},
	Year = {2011},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/2038916.2038929}}

@techreport{tech-report,
	Author = {Yingyi Bu and Vinayak Borkar and Michael J. Carey and Joshua Rosen and Neoklis Polyzotis and Tyson Condie and Markus Weimer and Raghu Ramakrishnan},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://arxiv.org/submit/427482},
	Institution = {CoRR. URL: http://arxiv.org/submit/427482 or http://isg.ics.uci.edu/techreport/TR2012-03.pdf},
	Journal = {CoRR},
	Title = {{Scaling Datalog for Machine Learning on Big Data}},
	Url = {http://isg.ics.uci.edu/techreport/TR2012-03.pdf},
	Year = {2012},
	Bdsk-Url-1 = {http://isg.ics.uci.edu/techreport/TR2012-03.pdf}}

@inproceedings{Ye:2009zr,
	Author = {Jerry Ye and Jyh-Herng Chow and Jiang Chen and Zhaohui Zheng},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {CIKM},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://doi.acm.org/10.1145/1645953.1646301},
	Pages = {2061-2064},
	Title = {{Stochastic Gradient Boosted Distributed Decision Trees}},
	Year = {2009}}

@inproceedings{systemml,
	Author = {A. Ghoting and R. Krishnamurthy and E. Pednault and B. Reinwald and V. Sindhwani and S. Tatikonda and Y. Tian and S. Vaithyanathan},
	Booktitle = {The 27th International Conference on Data Engineering (ICDE)},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Title = {{SystemML: Declarative Machine Learning on MapReduce}},
	Year = {2011}}

@article{tenzing,
	Author = {Lin, Liang and Lychagina, Vera and Wong, Michael},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Journal = {Proceedings of the VLDB Endowment},
	Number = 12,
	Pages = {1318--1327},
	Title = {{Tenzing A SQL Implementation On The MapReduce Framework}},
	Url = {http://research.google.com/pubs/pub37200.html},
	Volume = 4,
	Year = 2011,
	Bdsk-Url-1 = {http://research.google.com/pubs/pub37200.html}}

@misc{hive,
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Howpublished = {\url{http://hive.apache.org/}},
	Key = {Apache},
	Publisher = {Apache Software Foundation},
	Title = {{The Hive Project}}}

@misc{tez,
	ALTDate-Added = {2012-03-27 09:51:53 +0000},
	ALTDate-Modified = {2012-03-27 09:51:53 +0000},
	Howpublished = {\url{http://tez.apache.org/}},
	Key = {Apache},
	Publisher = {Apache Software Foundation},
	Title = {{The Tez Project}}}

@misc{sparksql,
	ALTDate-Added = {2012-03-27 09:51:53 +0000},
	ALTDate-Modified = {2012-03-27 09:51:53 +0000},
	Howpublished = {\url{https://spark.apache.org/sql/}},
	Key = {Apache},
	Title = {{The SparkSQL Project}}}

@misc{dataframe,
	ALTDate-Added = {2012-03-27 09:51:53 +0000},
	ALTDate-Modified = {2012-03-27 09:51:53 +0000},
	Howpublished = {\url{http://ddf.io/}},
	Key = {Apache},
	Title = {{The Distributed DataFrame Project}}}

@misc{vxquery,
	Howpublished = {\url{http://incubator.apache.org/projects/vxquery.html}},
	Key = {Apache},
	Publisher = {Apache Software Foundation},
	Title = {{The VXQuery Project}}}

@misc{mahout,
	ALTDate-Added = {2012-03-27 09:51:53 +0000},
	ALTDate-Modified = {2012-03-27 09:51:53 +0000},
	Howpublished = {\url{http://mahout.apache.org/}},
	Key = {Apache},
	Publisher = {Apache Software Foundation},
	Title = {{The Mahout Project}}}

@techreport{pagerank,
	Abstract = {The importance of a Web page is an inherently subjective matter, which depends on the readers interests, knowledge and attitudes. But there is still much that can be said objectively about the relative importance of Web pages. This paper describes PageRank, a mathod for rating Web pages objectively and mechanically, effectively measuring the human interest and attention devoted to them. We compare PageRank to an idealized random Web surfer. We show how to efficiently compute PageRank for large numbers of pages. And, we show how to apply PageRank to search and to user navigation.},
	Author = {Lawrence Page and Sergey Brin and Rajeev Motwani and Terry Winograd},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Institution = {Stanford InfoLab},
	Month = {November},
	Number = {1999-66},
	Publisher = {Stanford InfoLab},
	Title = {{The PageRank Citation Ranking: Bringing Order to the Web.}},
	Type = {Technical Report},
	Url = {http://ilpubs.stanford.edu:8090/422/},
	Year = {1999},
	Bdsk-Url-1 = {http://ilpubs.stanford.edu:8090/422/}}

@article{tuffy,
	Author = {Feng Niu and Christopher R{\'e} and AnHai Doan and Jude W. Shavlik},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://www.vldb.org/pvldb/vol4/p373-niu.pdf},
	Journal = {PVLDB},
	Number = {6},
	Pages = {373-384},
	Title = {{Tuffy: Scaling up Statistical Inference in Markov Logic Networks using an RDBMS}},
	Volume = {4},
	Year = {2011}}

@inproceedings{twister,
	Author = {Jaliya Ekanayake and Hui Li and Bingjing Zhang and Thilina Gunarathne and Seung-Hee Bae and Judy Qiu and Geoffrey Fox},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {HPDC},
	Crossref = {DBLP:conf/hpdc/2010},
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Ee = {http://doi.acm.org/10.1145/1851476.1851593},
	Pages = {810-818},
	Title = {{Twister: a runtime for iterative MapReduce}},
	Year = {2010}}

@misc{webmap,
	Date-Added = {2012-03-27 09:51:53 +0000},
	Date-Modified = {2012-03-27 09:51:53 +0000},
	Howpublished = {http://webscope.sandbox.yahoo.com/},
	Key = {Yahoo!},
	Publisher = {Yahoo! {W}ebscope {P}rogram},
	Title = {{Yahoo! {W}ebscope {P}rogram}}}

@inproceedings{MapReduceBenchmark,
	Author = {Pavlo, Andrew and Paulson, Erik and Rasin, Alexander and Abadi, Daniel J. and DeWitt, David J. and Madden, Samuel and Stonebraker, Michael},
	Booktitle = {SIGMOD},
	Pages = {165--178},
	Title = {{A Comparison of Approaches to Large-scale Data Analysis}},
	Year = {2009}
}

@misc{wiki:complexity,
	Author = {Wikipedia},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Note = {[Online; accessed 23-July-2010]},
	Title = {Accidental complexity --- {Wikipedia}{,} The Free Encyclopedia},
	Year = {2010}
}

@misc{hadoop:website,
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Key = {hadoop},
	ALTNote = {\citeurl{http://hadoop.apache.org}},
	howpublished = {\url{http://hadoop.apache.org}},
	Title = {{Apache Hadoop Website}}
}

@misc{mahout:website,
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Key = {mahout},
	ALTNote = {\citeurl{http://mahout.apache.org/}},
	howpublished = {\url{http://mahout.apache.org/}},
	Title = {{Apache Mahout: Scalable machine-learning and data-mining library}}
}

@misc{asterix:website,
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Key = {asterix},
	ALTNote = {\citeurl{http://asterix.ics.uci.edu/}},
	howpublished = {\url{http://asterix.ics.uci.edu/}},
	Title = {{ASTERIX Website}}

@misc{calcite:website,
	Date-Added = {2012-04-20 09:50:34 +0000},
	Date-Modified = {2012-04-20 09:50:34 +0000},
	Key = {calcite},
	ALTNote = {\citeurl{http://asterix.ics.uci.edu/}},
	howpublished = {\url{http://calcite.incubator.apache.org/}},
	Title = {{Apache Calcite}}
}

@inproceedings{BOOM,
	Author = {Alvaro, Peter and Condie, Tyson and Conway, Neil and Elmeleegy, Khaled and Hellerstein, Joseph M. and Sears, Russell},
	Booktitle = {EuroSys},
	Location = {Paris, France},
	Pages = {223--236},
	Title = {{BOOM Analytics: Exploring Data-centric, Declarative Programming for the Cloud}},
	Year = {2010}
}

@inproceedings{GraefeCPUCache,
	Author = {Goetz Graefe and Per-{\AA}ke Larson},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {ICDE},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Ee = {http://doi.ieeecomputersociety.org/10.1109/ICDE.2001.914847},
	Pages = {349-358},
	Title = {B-Tree Indexes and {CPU} Caches},
	Year = {2001}}

@misc{dblp:xml,
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Key = {dblp:xml},
	Note = {\citeurl{http://dblp.uni-trier.de/xml/dblp.xml.gz}},
	Title = {{DBLP/xml}}

@misc{jol:website,
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Key = {jol},
	ALTNote = {\citeurl{https://trac.declarativity.net/}},
	howpublished = {\url{https://trac.declarativity.net/}},
	Title = {{Declarative Languages and Systems -- Trac}}
}

@inproceedings{dryadlinq,
	Author = {Y. Yu and M. Isard and D. Fetterly and M. Budiu and {\'{U}}. Erlingsson and P. K. Gunda and J. Currey},
	Booktitle = {OSDI},
	Pages = {1-14},
	Title = {Dryad{LINQ}: {A} {S}ystem for {G}eneral-{P}urpose {D}istributed {D}ata-{P}arallel {C}omputing {U}sing a {H}igh-{L}evel {L}anguage.},
	Year = {2008}
}

@inproceedings{FuzzyJoinMR,
	Author = {Vernica, Rares and Carey, Michael J. and Li, Chen},
	Booktitle = {SIGMOD},
	Pages = {495--506},
	Title = {{Efficient Parallel Set-similarity Joins Using MapReduce}},
	Year = {2010}
}

@inproceedings{GammaVLDB,
	Author = {DeWitt, David J. and Gerber, Robert H. and Graefe, Goetz and Heytens, Michael L. and Kumar, Krishna B. and Muralikrishna, M.},
	Booktitle = {VLDB},
	Pages = {228--237},
	Title = {{GAMMA - A High Performance Dataflow Database Machine}},
	Year = {1986}
}

@article{Hadoop++,
	Author = {Jens Dittrich and Jorge-Arnulfo Quian{\'e}-Ruiz and Alekh Jindal and Yagiz Kargin and Vinay Setty and J{\"o}rg Schad},
	Journal = {PVLDB},
	Number = {1},
	Pages = {518-529},
	Title = {{Hadoop++: Making a Yellow Elephant Run Like a Cheetah (Without It Even Noticing)}},
	Volume = {3},
	Year = {2010}
}

@article{hadoopdb,
	Author = {Abouzeid, Azza and Pawlikowski, Kamil B. and Abadi, Daniel J. and Rasin, Alexander and Silberschatz, Avi},
	Journal = {PVLDB},
	Title = {{HadoopDB: An Architectural Hybrid of MapReduce and DBMS Technologies for Analytical Workloads}},
	Volume = {2},
	Year = {2009}}

@article{HivePaper,
	Author = {Thusoo, A. and Sarma, J. S. and Jain, N. and Shao, Z. and Chakka, P. and Anthony, S. and Liu, H. and Wyckoff, P. and Murthy, R.},
	Issn = {2150-8097},
	Journal = {PVLDB},
	Number = {2},
	Pages = {1626--1629},
	Title = {{Hive: a Warehousing Solution Over a Map-Reduce Framework}},
	Volume = {2},
	Year = {2009}}

@misc{datastage:website,
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Key = {datastage},
	ALTNote = {\\\citeurl{http://www-01.ibm.com/software/data/infosphere/datastage/}},
	howpublished = {\url{http://www-01.ibm.com/software/data/infosphere/datastage/}},
	Title = {{IBM DataStage Website}}
}

@article{sawzall,
	Author = {R. Pike and S. Dorward and R. Griesemer and S. Quinlan},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-04-10 01:54:27 +0000},
	Ee = {http://iospress.metapress.com/openurl.asp?genre=article{\&}issn=1058-9244{\&}volume=13{\&}issue=4{\&}spage=277},
	Journal = {Scientific Programming},
	Number = {4},
	Pages = {277-298},
	Title = {Interpreting the {D}ata: {P}arallel {A}nalysis with {S}awzall},
	Volume = {13},
	Year = {2005}
}

@misc{jaql:website,
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Key = {jaql},
	ALTNote = {\citeurl{http://jaql.org/}},
	howpublished = {\url{\citeurl{http://jaql.org/}}},
	Title = {Jaql {W}ebsite}
}

@article{MRinCACMJan2010,
	Address = {New York, NY, USA},
	Author = {Dean, J. and Ghemawat, S.},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Doi = {http://doi.acm.org/10.1145/1629175.1629198},
	Issn = {0001-0782},
	Journal = {Commun. ACM},
	Number = {1},
	Pages = {72--77},
	Title = {{MapReduce: a Flexible Data Processing Tool}},
	Volume = {53},
	Year = {2010}
}

@article{PDBinCACMJan2010,
	Author = {Stonebraker, Michael and Abadi, Daniel and DeWitt, David J. and Madden, Sam and Paulson, Erik and Pavlo, Andrew and Rasin, Alexander},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Doi = {http://doi.acm.org/10.1145/1629175.1629197},
	Issn = {0001-0782},
	Journal = {Commun. ACM},
	Number = {1},
	Pages = {64--71},
	Title = {{MapReduce and parallel DBMSs: friends or foes?}},
	Volume = {53},
	Year = {2010}
}

@inproceedings{nips06-mapreducemulticore,
	Author = {{Cheng-tao} Chu and Sang Kyun Kim and {Yi-an} Lin and Yuanyuan Yu and Gary Bradski and Andrew Y. Ng and Kunle Olukotun},
	Booktitle = {NIPS},
	Pages = {281--288},
	Title = {{Map-Reduce for Machine Learning on Multicore}},
	Year = {2007}

@inproceedings{conf/nsdi/CondieCAHES10,
	author    = {Tyson Condie and
               Neil Conway and
               Peter Alvaro and
               Joseph M. Hellerstein and
               Khaled Elmeleegy and
               Russell Sears},
  title     = {{MapReduce Online}},
  booktitle = {NSDI},
  pages     = {313--328},
  year      = {2010}
 }

@inproceedings{mapreduce,
	Author = {Dean, J. and Ghemawat, S.},
	Booktitle = {OSDI},
	Pages = {137--150},
	Priority = {0},
	Title = {{MapReduce: Simplified Data Processing on Large Clusters}},
	Year = {2004},
	Bdsk-Url-1 = {http://www.usenix.org/events/osdi04/tech/dean.html}
}

@article{MRShare,
	Author = {Tomasz Nykiel and Michalis Potamias and Chaitanya Mishra and George Kollios and Nick Koudas},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Ee = {http://www.comp.nus.edu.sg/$\sim$vldb2010/proceedings/files/papers/R44.pdf},
	Journal = {PVLDB},
	Number = {1},
	Pages = {494-505},
	Title = {{MRShare: Sharing Across Multiple Queries in MapReduce}},
	Volume = {3},
	Year = {2010}
}

@inproceedings{NephelePACTs,
	Author = {Battr\'{e}, D. and Ewen, S. and Hueske, F. and Kao, O. and Markl, V. and Warneke, D.},
	Booktitle = {SoCC},
	Pages = {119--130},
	Title = {Nephele/{PACTs}: a {P}rogramming {M}odel and {E}xecution {F}ramework for {W}eb-{S}cale {A}nalytical {P}rocessing},
	Year = {2010}
}

@inproceedings{xprs,
	Author = {Hong, Wei and S62739otonebraker, Michael},
	Booktitle = {PDIS '91: Proceedings of the first international conference on Parallel and distributed information systems},
	Pages = {218--225},
	Title = {{Optimization of Parallel Query Execution Plans in XPRS}},
	Year = {1991}
}

@inproceedings{University97parallelquery,
	Author = {Minos Garofalakis  and Minos N. Garofalakis and Yannis E. Ioannidis},
	Booktitle = {In Proceedings of the 23rd VLDB Conference},
	Pages = {296--305},
	Title = {{Parallel Query Scheduling and Optimization with Time- and Space-Shared Resources}},
	Year = {1997}
}

@inproceedings{GarofQOpt,
	Address = {San Francisco, CA, USA},
	Author = {Garofalakis, Minos N. and Ioannidis, Yannis E.},
	Booktitle = {VLDB '97},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-04-10 01:45:07 +0000},
	Isbn = {1-55860-470-7},
	Pages = {296--305},
	Publisher = {Morgan Kaufmann Publishers Inc.},
	Title = {Parallel {Q}uery {S}cheduling and {O}ptimization with {T}ime- and {S}pace-{S}hared {R}esources},
	Year = {1997}
}

@misc{pig:website,
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Key = {pig},
	ALTNote = {\citeurl{http://hadoop.apache.org/pig}},
	howpublished = {\url{http://hadoop.apache.org/pig}},
	Title = {Pig {W}ebsite}}

@article{GraefeQP,
	Author = {Graefe, Goetz},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Doi = {http://doi.acm.org/10.1145/152610.152611},
	Issn = {0360-0300},
	Journal = {ACM Comput. Surv.},
	Number = {2},
	Pages = {73--169},
	Title = {{Query Evaluation Techniques for Large Databases}},
	Volume = {25},
	Year = {1993},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/152610.152611}}

@article{qoptpar,
	Abstract = {The decreasing cost of computing makes it economically viable to reduce the response time of decision support queries by using parallel execution to exploit inexpensive resources. This goal poses the following query optimization problem: Minimize response time subject to constraints on throughput, which we motivate as the dual of the traditional DBMS problem. We address this novel problem in the context of Select-Project-Join queries by extending the execution space, cost model and search algorithm that are widely used in commercial DBMSs. We incorporate the sources and deterrents of parallelism in the traditional execution space. We show that a cost model can predict response time while accounting for the new aspects due to parallelism. We observe that the response time optimization metric violates a fundamental assumption in the dynamic programming algorithm that is the linchpin in the optimizers of most commercial DBMSs. We extend dynamic programming and show how optimization metrics which correctly predict response time may be designed.},
	Address = {New York, NY, USA},
	Author = {Ganguly, Sumit and Hasan, Waqar and Krishnamurthy, Ravi},
	Citeulike-Article-Id = {1660532},
	Citeulike-Linkout-0 = {http://portal.acm.org/citation.cfm?id=141484.130291},
	Citeulike-Linkout-1 = {http://dx.doi.org/10.1145/141484.130291},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Doi = {10.1145/141484.130291},
	Isbn = {0897915216},
	Journal = {SIGMOD Rec.},
	Keywords = {parallel, query\_optimization, sql},
	Month = {June},
	Number = {2},
	Pages = {9--18},
	Posted-At = {2009-10-26 04:30:22},
	Priority = {2},
	Publisher = {ACM Press},
	Title = {{Query Optimization for Parallel Execution}},
	Url = {http://dx.doi.org/10.1145/141484.130291},
	Volume = {21},
	Year = {1992},
	Bdsk-Url-1 = {http://dx.doi.org/10.1145/141484.130291}}

@inproceedings{GangulyQOpt,
	Address = {New York, NY, USA},
	Author = {Ganguly, Sumit and Hasan, Waqar and Krishnamurthy, Ravi},
	Booktitle = {SIGMOD '92: Proceedings of the 1992 ACM SIGMOD international conference on Management of data},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Doi = {http://doi.acm.org/10.1145/130283.130291},
	Isbn = {0-89791-521-6},
	Location = {San Diego, California, United States},
	Pages = {9--18},
	Publisher = {ACM},
	Title = {{Query Optimization for Parallel Execution}},
	Year = {1992},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/130283.130291}}

@article{scope,
	Author = {Chaiken, Ronnie and Jenkins, Bob and Larson, Per A. and Ramsey, Bill and Shakib, Darren and Weaver, Simon and Zhou, Jingren},
	Citeulike-Article-Id = {3905530},
	Citeulike-Linkout-0 = {http://portal.acm.org/citation.cfm?id=1454159.1454166},
	Citeulike-Linkout-1 = {http://dx.doi.org/10.1145/1454159.1454166},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-04-10 01:26:37 +0000},
	Doi = {10.1145/1454159.1454166},
	Journal = {Proc. VLDB Endow.},
	Keywords = {2008, architecture, etl, mapreduce, parallel, ql, toread, vldb},
	Number = {2},
	Pages = {1265--1276},
	Posted-At = {2009-01-17 22:55:29},
	Priority = {5},
	Publisher = {VLDB Endowment},
	Title = {{SCOPE}: {E}asy and {E}fficient {P}arallel {P}rocessing of {M}assive {D}ata {S}ets},
	Volume = {1},
	Year = {2008},
	Bdsk-Url-1 = {http://dx.doi.org/10.1145/1454159.1454166}}

@book{DBLP:books/mk/Aggr93,
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Editor = {Jim Gray},
	Isbn = {1-55860-292-5},
	Publisher = {Morgan Kaufmann},
	Title = {{The Benchmark Handbook for Database and Transaction Systems (2nd Edition)}},
	Year = {1993}}

@article{Teradata,
	Author = {Shemer, J. and Neches, P.},
	ALTDate-Added = {2012-03-27 09:50:34 +0000},
	ALTDate-Modified = {2012-04-10 01:55:12 +0000},
	ALTDoi = {10.1109/MC.1984.1658999},
	Issn = {0018-9162},
	Journal = {Computer},
	Month = {Nov.},
	Number = {11},
	Pages = {42 -56},
	Title = {The {G}enesis of a {D}atabase {C}omputer},
	Volume = {17},
	Year = {1984},
	ALTBdsk-Url-1 = {http://dx.doi.org/10.1109/MC.1984.1658999}}

@article{KossmannDQP,
	Address = {New York, NY, USA},
	Author = {Kossmann, Donald},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Doi = {http://doi.acm.org/10.1145/371578.371598},
	Issn = {0360-0300},
	Journal = {ACM Comput. Surv.},
	Number = {4},
	Pages = {422--469},
	Publisher = {ACM},
	Title = {{The State of the Art in Distributed Query Processing}},
	Volume = {32},
	Year = {2000},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/371578.371598}
}

@incollection{DBLP:books/mk/gray93/DeWitt93,
	Author = {David J. DeWitt},
	Bibsource = {DBLP, http://dblp.uni-trier.de},
	Booktitle = {The Benchmark Handbook},
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Ee = {db/books/collections/gray93/DeWitt93.html},
	Title = {{The Wisconsin Benchmark: Past, Present, and Future}},
	Year = {1993}
}

@misc{tpch:website,
	Date-Added = {2012-03-27 09:50:34 +0000},
	Date-Modified = {2012-03-27 09:50:34 +0000},
	Key = {tpch},
	ALTNote = {\citeurl{http://www.tpc.org/tpch/}},
	howpublished = {\url{http://www.tpc.org/tpch/}},
	Title = {{TPC-H}}
}

@inproceedings{Fushimi:1986:OSS:645913.671448,
	Acmid = {671448},
	Author = {S. Fushimi and M. Kitsuregawa and H. Tanaka},
	Booktitle = {VLDB},
	Numpages = {11},
	Pages = {209--219},
	Title = {An {O}verview of {T}he {S}ystem {S}oftware of A {P}arallel {R}elational {D}atabase {M}achine {GRACE}},
	Year = {1986}
  }

@article{Dewitt:1990fk,
	author    = {D.J. DeWitt and
               S. Ghandeharizadeh and
               D. A. Schneider and
               A. Bricker and
               H.{-}I Hsiao and
               R. Rasmussen},
  title     = {{The Gamma Database Machine Project}},
  journal   = {{IEEE} Trans. Knowl. Data Eng.},
  volume    = {2},
  number    = {1},
  pages     = {44--62},
  year      = {1990},
  ALTdoi       = {10.1109/69.50905},
  ALTtimestamp = {Sun, 11 Dec 4446535 03:16:32 +ject},
  ALTbiburl    = {http://dblp.uni-trier.de/rec/bib/journals/tkde/DeWittGSBHR90},
  ALTbibsource = {dblp computer science bibliography, http://dblp.org}}

@inproceedings{Stonebraker86,
  author    = {M. Stonebraker},
  title     = {{Inclusion of New Types in Relational Data Base Systems}},
  booktitle = {ICDE},
  year      = {1986},
  pages     = {262-269},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}

@article{Cascades,
  author    = {G. Graefe},
  title     = {{The Cascades Framework for Query Optimization}},
  journal   = {IEEE Data Eng. Bull.},
  volume    = {18},
  number    = {3},
  year      = {1995},
  pages     = {19-29},
  ee        = {http://sites.computer.org/debull/95SEP-CD.pdf},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}

@misc{w3schools2014xml,
  title = {{XML Tutorial}},
  howpublished = {\url{http://www.w3schools.com/xml/}},
  url = {http://www.w3schools.com/xml/},
  ALTyear = 2014
}

@misc{NOAA-GHCND,
  ALTauthor = {{NOAA}},
  title = {{National Climate Data Center: Data Access}},
  ALTyear = {2014},
  ALTurl = {http://www.ncdc.noaa.gov/data-access/},
  howpublished = {\url{http://www.ncdc.noaa.gov/data-access/}}
}

@article{pregelix,
  author    = {Yingyi Bu and
               Vinayak R. Borkar and
               Jianfeng Jia and
               Michael J. Carey and
               Tyson Condie},
  title     = {{Pregelix: Big(ger) Graph Analytics on a Dataflow Engine}},
  journal   = {{PVLDB}},
  volume    = {8},
  number    = {2},
  pages     = {161--172},
  year      = {2014},
  url       = {http://www.vldb.org/pvldb/vol8/p161-bu.pdf},
  timestamp = {Sun, 12 Oct 2014 11:44:29 +0200},
  biburl    = {http://dblp.uni-trier.de/rec/bib/journals/pvldb/BuBJCC14},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@article{storage,
  author    = {S. Alsubaiee and
               A. Behm and
               V. R. Borkar and
               Z. Heilbron and
               Y.{-}S. Kim and
               M.J. Carey and
               M. Dreseler and
               C. Li},
  title     = {{Storage Management in AsterixDB}},
  journal   = {{PVLDB}},
  volume    = {7},
  number    = {10},
  pages     = {841--852},
  year      = {2014},
  timestamp = {Wed, 18 Jun 2014 10:01:30 +0200},
  biburl    = {http://dblp.uni-trier.de/rec/bib/journals/pvldb/AlsubaieeBBHKCDL14},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@inproceedings{xquery,
  author    = {D. D. Chamberlin},
  title     = {{XQuery: A Query Language for XML}},
  booktitle = {SIGMOD},
  pages     = {682},
  year      = {2003},
  ALTcrossref  = {DBLP:conf/sigmod/2003},
  ALTdoi       = {10.1145/872757.872877},
  ALTtimestamp = {Mon, 07 Jun 2010 14:06:01 +0200},
  ALTbibsource = {dblp computer science bibliography, http://dblp.org}
}

@inproceedings{feeds,
  author    = {R. Grover and
               M. J. Carey},
  title     = {{Data {I}ngestion in {A}sterix{DB}}},
  booktitle = {EDBT},
  pages     = {605--616},
  year      = {2015},
  ALTcrossref  = {DBLP:conf/edbt/2015},
  ALTdoi       = {10.5441/002/edbt.2015.61},
  ALTtimestamp = {Mon, 16 Mar 2015 17:18:38 +0100},
  ALTbiburl    = {http://dblp.uni-trier.de/rec/bib/conf/edbt/GroverC15},
  ALTbibsource = {dblp computer science bibliography, http://dblp.org}
}

@article{BTree,
  author    = {Douglas Comer},
  title     = {{The Ubiquitous B-Tree}},
  journal   = {ACM Comput. Surv.},
  volume    = {11},
  number    = {2},
  year      = {1979},
  pages     = {121-137},
  ee        = {http://doi.acm.org/10.1145/356770.356776},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}

@article{LSM,
  author    = {Patrick E. O'Neil and
               Edward Cheng and
               Dieter Gawlick and
               Elizabeth J. O'Neil},
  title     = {{The Log-Structured Merge-Tree (LSM-Tree)},
  journal   = {Acta Inf.},
  volume    = {33},
  number    = {4},
  year      = {1996},
  pages     = {351-385},
  ee        = {http://dx.doi.org/10.1007/s002360050048},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}

@inproceedings{spark,
 author = {M. Zaharia and
 				M. Chowdhury and
 				T. Das and
 				A. Dave and
 				 J. Ma and
				M. McCauley and
				M.J. Franklin and
				S. Shenker and
				I. Stoica},
   title = {{Resilient Distributed Datasets: A Fault-Tolerant Abstraction for In-Memory Cluster Computing}},
     pages     = {15--28},
   booktitle = {NSDI},
   year = {2012},
 }

@inproceedings{armbrustspark,
  title={{Spark SQL: Relational Data Processing in Spark}},
  author={Armbrust, M. and Xin, R. S and Lian, C. and Huai, Y. and Liu, D. and Bradley, J. K and Meng, X. and Kaftan, T. and Franklin, M. J and Ghodsi, A. and others},
    booktitle = {SIGMOD},
    year      = {2015},
}

@article{NST-Algebra,
  author    = {R. H. G{\"{u}}ting and
               R. Zicari and
               D. M. Choy},
  title     = {{An Algebra for Structured Office Documents}},
  journal   = {{ACM} Trans. Inf. Syst.},
  volume    = {7},
  number    = {2},
  pages     = {123--157},
  year      = {1989},
  ALTdoi       = {10.1145/65935.65939},
  ALTtimestamp = {Mon, 03 Apr 2006 11:18:41 +0200},
  ALTbiburl    = {http://dblp.uni-trier.de/rec/bib/journals/tois/GutingZC89},
  ALTbibsource = {dblp computer science bibliography, http://dblp.org}
}

@article{Floratou2014,
 author = {Floratou, A. and Minhas, U. F. and \"{O}zcan, F.},
 title = {{SQL-on-Hadoop: Full Circle Back to Shared-nothing Database Architectures}},
 journal = {Proceedings of the VLDB Endowment},
 ALTjournal = {PVLDB},
 issue_date = {August 2014},
 volume = {7},
 number = {12},
 month = aug,
 year = {2014},
 issn = {2150-8097},
 pages = {1295--1306},
 numpages = {12},
 url = {http://dl.acm.org/citation.cfm?id=2732977.2733002},
 acmid = {2733002},
 publisher = {VLDB Endowment},
}

@inproceedings{Impala,
  author    = {M. Kornacker and
               A. Behm and
               V. Bittorf and
               T. Bobrovytsky and
               C. Ching and
               A. Choi and
               J. Erickson and
               M. Grund and
               D. Hecht and
               M. Jacobs and
               I. Joshi and
               L. Kuff and
               D. Kumar and
               A. Leblang and
               N. Li and
               I. Pandis and
               H. Robinson and
               D. Rorke and
               S. Rus and
               J. Russell and
               D. Tsirogiannis and
               S. Wanderman{-}Milne and
               M. Yoder},
  title     = {{Impala: A Modern, Open-Source SQL Engine for Hadoop}},
  booktitle = {CIDR},
  year      = {2015},
  crossref  = {DBLP:conf/cidr/2015},
  timestamp = {Mon, 23 Mar 2015 09:07:18 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/conf/cidr/KornackerBBBCCE15},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@article{WenBCT13,
  author    = {J. Wen and
               V. R. Borkar and
               M. J. Carey and
               V. J. Tsotras},
  title     = {{Revisiting Aggregation for Data Intensive Applications: A Performance
               Study}},
  journal   = {CoRR},
  volume    = {abs/1311.0059},
  year      = {2013},
  timestamp = {Tue, 03 Dec 2013 15:04:20 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/journals/corr/WenBCT13},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@inproceedings{DBLP:conf/sigmod/SolimanAREGSCGRPWNKB14,
  author    = {Mohamed A. Soliman and
               Lyublena Antova and
               Venkatesh Raghavan and
               Amr El{-}Helw and
               Zhongxian Gu and
               Entong Shen and
               George C. Caragea and
               Carlos Garcia{-}Alvarado and
               Foyzur Rahman and
               Michalis Petropoulos and
               Florian Waas and
               Sivaramakrishnan Narayanan and
               Konstantinos Krikellas and
               Rhonda Baldwin},
  title     = {{Orca: A Modular Query Optimizer Architecture for Big Data}},
  booktitle = {SIGMOD},
  pages     = {337--348},
  year      = {2014},
  crossref  = {DBLP:conf/sigmod/2014},

}

@article{AsterixDemo,
	Author = {Sattam Alsubaiee and
              Yasser Altowim and
              Hotham Altwaijry and
              Alexander Behm and
              Vinayak Borkar and
              Yingyi Bu and
              Michael Carey and
              Raman Grover and
              Zachary Heilbron and
              Young-Seok Kim and
              Chen Li and
              Nicola Onose and
              Pouria Pirzadeh and
              Rares Vernica and
              Jian Wen},
	Journal = {PVLDB},
	Number = {12},
	Pages = {1898-1901},
	Title = {{ASTERIX: An Open Source System for ``Big Data'' Management and Analysis}},
	Volume = {5},
	Year = {2012}}

@inproceedings{FMC,
  author    = {Frank Keller and
               Siegfried Wendt},
  title     = {{FMC: An Approach Towards Architecture-Centric System Development}},
  booktitle = {ECBS},
  year      = {2003},
  pages     = {173-182}
}

@article{Onion12,
	author = {Borkar, Vinayak and Carey, Michael and Li, Chen},
	title = {{Inside "Big Data Management": Ogres, Onions, or Parfaits?}},
	journal = {EDBT},
	year = {2012},
	isbn = {978-1-4503-0790-1},
	location = {Berlin, Germany},
	pages = {3--14},
	numpages = {12},
	url = {http://doi.acm.org/10.1145/2247596.2247598},
	doi = {10.1145/2247596.2247598},
	acmid = {2247598},
	address = {New York, NY}
}

@article{Cattell11,
	author = {Cattell, Rick},
	title = {{Scalable SQL and NoSQL Data Stores}},
	journal = {SIGMOD Rec.},
	issue_date = {December 2010},
	volume = {39},
	number = {4},
	month = may,
	year = {2011},
	issn = {0163-5808},
	pages = {12--27},
	numpages = {16},
	url = {http://doi.acm.org/10.1145/1978915.1978919},
	doi = {10.1145/1978915.1978919},
	acmid = {1978919},
	address = {New York, NY}
}

@article{mapred04,
    author = {Dean, Jeffrey and Ghemawat, Sanjay},
    citeulike-article-id = {430834},
    citeulike-linkout-0 = {http://www.usenix.org/events/osdi04/tech/dean.html},
    booktitle = {OSDI},
    journal = {OSDI},
    keywords = {google, map-reduce},
    pages = {137--150},
    title = {{MapReduce: Simplified Data Processing on Large Clusters}},
    url = {http://www.usenix.org/events/osdi04/tech/dean.html},
    year = {2004}
}

@article{compiler13,
  added-at = {2013-06-26T00:00:00.000+0200},
  author = {Borkar, Vinayak and Carey, Michael},
  biburl = {http://www.bibsonomy.org/bibtex/2201a8011773fcefab0637b32bf1d4cb3/dblp},
  ee = {http://sites.computer.org/debull/A13mar/borkar.pdf},
  interhash = {3d39f7a1e5347e2ea508071ddc3954cd},
  intrahash = {201a8011773fcefab0637b32bf1d4cb3},
  journal = {IEEE Data Eng. Bull.},
  keywords = {dblp},
  number = 1,
  pages = {56-64},
  timestamp = {2013-06-26T00:00:00.000+0200},
  title = {{A Common Compiler Framework for Big Data Languages: Motivation, Opportunities, and Benefits.}},
  url = {http://dblp.uni-trier.de/db/journals/debu/debu36.html#BorkarC13},
  volume = 36,
  year = 2013
}

@article{DeWitt:92,
	author = {DeWitt, David and Gray, Jim},
	title = {{Parallel Database Systems: The Future of High Performance Database Systems}},
	journal = {Commun. ACM},
	issue_date = {June 1992},
	volume = {35},
	number = {6},
	month = jun,
	year = {1992},
	issn = {0001-0782},
	pages = {85--98},
	numpages = {14},
	url = {http://doi.acm.org/10.1145/129888.129894},
	doi = {10.1145/129888.129894},
	acmid = {129894},
	address = {New York, NY},
	keywords = {parallel database systems, parallel processing systems, parallelism},
}

@article{Economist-Big-Data,
        Journal = {The Economist},
        Month = {February 25,},
        Title = {{Data, Data Everywhere}},
        Year = {2010}
}

@misc{hive:website,
	key={zhive},
	title = {Apache {{Hive}}},
	howpublished = {\url{http://hive.apache.org/}}
}

@misc{hadoop:website,
	key = {zhadoop},
	title = {Apache {{Hadoop}}},
	howpublished = {\url{http://hadoop.apache.org/}}
}

@misc{xquery,
	key          = {zxquery},
	title        = {{XQuery} 1.0: An {XML} Query Language},
	howpublished = {\url{http://www.w3.org/TR/xquery/}}
}

@misc{json,
	key            = {{zJSON}},
	title          = {{JSON}},
	howpublished   = {\url{http://www.json.org/}}
}

@misc{docs,
	key            = {{zdocs}},
	title          = {{AsterixDB Documentation}},
	howpublished   = {\url{http://asterixdb.ics.uci.edu/documentation/}}
}

@misc{pregelix,
	key            = {{zpregelix}},
	title          = {{Pregelix}},
	howpublished   = {\url{http://hyracks.org/projects/pregelix/}}
}

@misc{codebase,
	key            = {{zcodebase}},
	title          = {{AsterixDB Code Repository}},
	howpublished   = {\url{https://code.google.com/p/asterixdb}}
}

@misc{hivesterix,
	key            = {{zhivestrix}},
	title          = {{Hivesterix}},
	howpublished   = {\url{http://code.google.com/p/hyracks/wiki/HivesterixUserManual028}}
}

@misc{homepage,
	key            = {{zhomepage}},
	title          = {{AsterixDB}},
	howpublished   = {\url{http://asterixdb.ics.uci.edu/}}
}

@misc{experiments,
	key            = {{zexperiments}},
	title          = {{Experiment Details}},
	howpublished   = {\url{https://asterixdb.ics.uci.edu/pub/asterix14/experiments.html}}
}

@misc{mongoDB,
	key = {{zmongoDB}},
	title = {{MongoDB}},
	howpublished = {\url{http://www.mongodb.org/}}
}

@misc{VXQuery,
	key = {{zVXQuery}},
	title = {{Apache VXQuery}},
	howpublished = {\url{http://vxquery.apache.org/}}
}

@article{Gates09,
	author = {Gates, Alan and
              Natkovich, Olga and
              Chopra, Shubham and
              Kamath, Pradeep and
              Narayanamurthy, Shravan and
              Olston, Christopher and
              Reed, Benjamin and
              Srinivasan, Santhosh
              and Srivastava, Utkarsh},
	title = {{Building a High-level Dataflow System on Top of Map-Reduce: The Pig Experience}},
	journal = {Proc. VLDB Endow.},
	issue_date = {August 2009},
	volume = {2},
	number = {2},
	month = aug,
	year = {2009},
	issn = {2150-8097},
	pages = {1414--1425},
	numpages = {12},
	url = {http://dl.acm.org/citation.cfm?id=1687553.1687568},
	acmid = {1687568},
	publisher = {VLDB Endowment},
}

@article{lsm,
	Author = {O'Neil, Patrick and Cheng, Edward and Gawlick, Dieter and O'Neil,
Elizabeth},
	Issue = {4},
	Journal = {Acta Inf.},
	Month = {June},
	Pages = {351--385},
	Publisher = {Springer-Verlag New York, Inc.},
	Title = {{The Log-Structured Merge-Tree ({LSM}-tree)}},
	Volume = {33},
	Year = {1996}
}

@inproceedings{calda,
	Author = {Pavlo, Andrew and Paulson, Erik and Rasin, Alexander and Abadi, Daniel
and DeWitt, David and Madden, Samuel and Stonebraker, Michael},
	Booktitle = {SIGMOD},
	Doi = {http://doi.acm.org/10.1145/1559845.1559865},
	Isbn = {978-1-60558-551-2},
	Location = {Providence, Rhode Island, USA},
	Pages = {165--178},
	Title = {{A Comparison of Approaches to Large-scale Data Analysis}},
	Year = {2009},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/1559845.1559865}
}

@inproceedings{Pregel,
  author    = {Grzegorz Malewicz and
               Matthew H. Austern and
               Aart J. C. Bik and
               James C. Dehnert and
               Ilan Horn and
               Naty Leiser and
               Grzegorz Czajkowski},
  title     = {{Pregel: a system for large-scale graph processing}},
  booktitle = {SIGMOD Conference},
  year      = {2010}
}

@article{pavlo,
        Address = {New York, NY, USA},
        Author = {Stonebraker, Michael and
                  Abadi, Daniel and
                  DeWitt, David and
                  Madden, Sam and
                  Paulson, Erik and
                  Pavlo, Andrew and
                  Rasin, Alexander},
        Issn = {0001-0782},
        Issue = {1},
        Journal = {Commun. ACM},
        Pages = {64--71},
        Publisher = {ACM},
        Title = {{MapReduce} and Parallel {DBMS}s: Friends or Foes?},
        Volume = {53},
        Year = {2010}
}

@article{NoOneSize,
        Address = {Los Alamitos, CA, USA},
        Author = {Michael Stonebraker and Ugur Cetintemel},
        Doi = {http://doi.ieeecomputersociety.org/10.1109/ICDE.2005.1},
        Issn = {1084-4627},
        Journal = {ICDE},
        Pages = {2-11},
        Publisher = {IEEE Computer Society},
        Title = {{One Size Fits All: An Idea Whose Time Has Come and Gone}},
        Volume = {0},
        Year = {2005},
        Bdsk-Url-1 = {http://doi.ieeecomputersociety.org/10.1109/ICDE.2005.1}
}

@article{rares,
 author = {Vernica, Rares and Carey, Michael and Li, Chen},
 title = {{Efficient Parallel Set-similarity Joins Using MapReduce}},
 journal = {SIGMOD},
 year = {2010},
 isbn = {978-1-4503-0032-2},
 location = {Indianapolis, Indiana, USA},
 pages = {495--506},
 numpages = {12},
 url = {http://doi.acm.org/10.1145/1807167.1807222},
 doi = {10.1145/1807167.1807222},
 acmid = {1807222},
 keywords = {mapreduce, set-similarity join},
}

@article{next13,
 author = {Borkar, Vinayak and Carey, Michael and Li, Chen},
 title = {{Big Data Platforms: What's Next?}},
 journal = {XRDS},
 issue_date = {2012},
 volume = {19},
 number = {1},
 month = sep,
 year = {2012},
 issn = {1528-4972},
 pages = {44--49},
 numpages = {6},
 url = {http://doi.acm.org/10.1145/2331042.2331057},
 doi = {10.1145/2331042.2331057},
 acmid = {2331057},
 address = {New York, NY},
}

@article{vision,
  title={{ASTERIX: Towards a Scalable, Semistructured Data Platform for Evolving-world Models}},
  author={Behm, Alexander and
          Borkar, Vinayak and
          Carey, Michael and
          Grover, Raman and
          Li, Chen and
          Onose, Nicola and
          Vernica, Rares and
          Deutsch, Alin and
          Papakonstantinou, Yannis and
          Tsotras, Vassilis},
  journal={Distributed and Parallel Databases},
  volume={29},
  number={3},
  pages={185--216},
  year={2011},
  publisher={Springer}
}

@article{yingyi13,
 author = {Bu, Yingyi and Borkar, Vinayak and Xu, Guoqing and Carey, Michael},
 title = {{A Bloat-aware Design for Big Data Applications}},
 journal = {ISMM},
 year = {2013},
 isbn = {978-1-4503-2100-6},
 location = {Seattle, Washington, USA},
 numpages = {12},
 url = {http://doi.acm.org/10.1145/2464157.2466485},
 doi = {10.1145/2464157.2466485},
 acmid = {2466485},
 address = {New York, NY},
 keywords = {big data applications, design, memory bloat},
}

@article{hyracks,
author = {Borkar, Vinayak and
          Carey, Michael and
          Grover, Raman and
          Onose, Nicola and
          Vernica, Rares},
title = {{Hyracks: A Flexible and Extensible Foundation for Data-intensive Computing}},
journal ={ICDE},
volume = {0},
isbn = {978-1-4244-8959-6},
year = {2011},
pages = {1151-1162},
doi = {http://doi.ieeecomputersociety.org/10.1109/ICDE.2011.5767921},
publisher = {IEEE Computer Society},
address = {Los Alamitos, CA},
}

@article{AsterixWarehouse,
    author = {Alsubaiee, Sattam and
              Behm, Alexander and
              Grover, Raman and
              Vernica, Rares and
              Borkar, Vinayak and
              Carey, Michael and
              Li, Chen},
    title = {{ASTERIX: Scalable Warehouse-style Web Data Integration}},
    journal = {IIWeb},
    year = {2012},
    isbn = {978-1-4503-1239-4},
    location = {Scottsdale, Arizona},
    pages = {2:1--2:4},
    articleno = {2},
    numpages = {4},
    url = {http://doi.acm.org/10.1145/2331801.2331803},
    doi = {10.1145/2331801.2331803},
    acmid = {2331803},
    address = {New York, NY},
    keywords = {ASTERIX, cloud computing, data-intensive computing, hyracks, semistructured data},
  }

@article{AsterixLSM,
  title={{Storage Management in AsterixDB}},
  author={Sattam Alsubaiee and
          Alexander Behm and
          Vinayak Borkar and
          Zachary Heilbron and
          Young-Seok Kim and
          Michael Carey and
          Markus Dressler and
          Chen Li},
	journal = {Proc. VLDB Endow.},
	issue_date = {June 2014},
	volume = {7},
	number = {10},
	month = {June},
	year = {2014},
	numpages = {12},
	publisher = {VLDB Endowment}}
}

@article{AsterixFeedsOld,
  title={{Scalable Fault-Tolerant Data Feeds in AsterixDB}},
  author={Raman Grover and Michael Carey},
  journal={submitted for publication (available on request)}
}

@article{BDMS2,
  title={{A Performance Study of Big Data Management Systems}},
  author={Pouria Pirzadeh and Till Westmann and Michael Carey},
  journal={in preparation}
}

@article{DBLP:journals/corr/abs-1203-0160,
  author    = {Yingyi Bu and
               Vinayak Borkar and
               Michael Carey and
               Joshua Rosen and
               Neoklis Polyzotis and
               Tyson Condie and
               Markus Weimer and
               Raghu Ramakrishnan},
  title     = {{Scaling Datalog for Machine Learning on Big Data}},
  journal   = {CoRR},
  volume    = {abs/1203.0160},
  year      = {2012},
  ee        = {http://arxiv.org/abs/1203.0160},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}

@article{AsterixFeeds,
  author    = {Raman Grover and Michael Carey},
  title     = {{Scalable Fault-Tolerant Data Feeds in AsterixDB}},
  journal   = {CoRR},
  volume    = {abs/1405-1705},
  year      = {2014},
  ee        = {http:// arXiv:1405.1705},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}

@article{DBLP:journals/tse/BoralDFJW82,
  author    = {Haran Boral and
               David J. DeWitt and
               Dina Friedland and
               Nancy F. Jarrell and
               W. Kevin Wilkinson},
  title     = {Implementation of the Database Machine {DIRECT}},
  journal   = {{IEEE} Trans. Software Eng.},
  volume    = {8},
  number    = {6},
  pages     = {533--543},
  year      = {1982},
  url       = {http://dx.doi.org/10.1109/TSE.1982.235882},
  doi       = {10.1109/TSE.1982.235882},
  timestamp = {Thu, 10 Dec 2015 11:33:06 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/journals/tse/BoralDFJW82},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@inproceedings{DBLP:conf/hotcloud/ZahariaCFSS10,
  author    = {Matei Zaharia and
               Mosharaf Chowdhury and
               Michael J. Franklin and
               Scott Shenker and
               Ion Stoica},
  title     = {Spark: Cluster Computing with Working Sets},
  booktitle = {2nd {USENIX} Workshop on Hot Topics in Cloud Computing, HotCloud'10,
               Boston, MA, USA, June 22, 2010},
  year      = {2010},
  crossref  = {DBLP:conf/hotcloud/2010},
  url       = {https://www.usenix.org/conference/hotcloud-10/spark-cluster-computing-working-sets},
  timestamp = {Fri, 23 May 2014 17:07:46 +0200},
  biburl    = {http://dblp.uni-trier.de/rec/bib/conf/hotcloud/ZahariaCFSS10},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@inproceedings{DBLP:conf/cikm/AlamoudiGCB15,
  author    = {Abdullah A. Alamoudi and
               Raman Grover and
               Michael J. Carey and
               Vinayak R. Borkar},
  title     = {External Data Access And Indexing In AsterixDB},
  booktitle = {Proceedings of the 24th {ACM} International on Conference on Information
               and Knowledge Management, {CIKM} 2015, Melbourne, VIC, Australia,
               October 19 - 23, 2015},
  pages     = {3--12},
  year      = {2015},
  crossref  = {DBLP:conf/cikm/2015},
  url       = {http://doi.acm.org/10.1145/2806416.2806428},
  doi       = {10.1145/2806416.2806428},
  timestamp = {Thu, 12 Nov 2015 16:33:35 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/conf/cikm/AlamoudiGCB15},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@inproceedings{DBLP:conf/edbt/GroverC15,
  author    = {Raman Grover and
               Michael J. Carey},
  title     = {{Data Ingestion in AsterixDB}},
  booktitle = {Proceedings of the 18th International Conference on Extending Database
               Technology, {EDBT} 2015, Brussels, Belgium, March 23-27, 2015.},
  pages     = {605--616},
  year      = {2015},
  crossref  = {DBLP:conf/edbt/2015},
  url       = {http://dx.doi.org/10.5441/002/edbt.2015.61},
  doi       = {10.5441/002/edbt.2015.61},
  timestamp = {Mon, 16 Mar 2015 17:18:38 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/conf/edbt/GroverC15},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@article{DBLP:journals/corr/abs-1303-3517,
  author    = {Joshua Rosen and
               Neoklis Polyzotis and
               Vinayak R. Borkar and
               Yingyi Bu and
               Michael J. Carey and
               Markus Weimer and
               Tyson Condie and
               Raghu Ramakrishnan},
  title     = {Iterative MapReduce for Large Scale Machine Learning},
  journal   = {CoRR},
  volume    = {abs/1303.3517},
  year      = {2013},
  url       = {http://arxiv.org/abs/1303.3517},
  timestamp = {Mon, 08 Apr 2013 13:28:28 +0200},
  biburl    = {http://dblp.uni-trier.de/rec/bib/journals/corr/abs-1303-3517},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@article{DBLP:journals/pvldb/PansareBJC11,
  author    = {Niketan Pansare and
               Vinayak R. Borkar and
               Chris Jermaine and
               Tyson Condie},
  title     = {Online Aggregation for Large MapReduce Jobs},
  journal   = {{PVLDB}},
  volume    = {4},
  number    = {11},
  pages     = {1135--1145},
  year      = {2011},
  url       = {http://www.vldb.org/pvldb/vol4/p1135-pansare.pdf},
  timestamp = {Mon, 31 Oct 2011 16:59:21 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/journals/pvldb/PansareBJC11},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@inproceedings{Logothetis:2013:SLC:2523616.2523619,
 author = {Logothetis, Dionysios and De, Soumyarupa and Yocum, Kenneth},
 title = {{Scalable Lineage Capture for Debugging DISC Analytics}},
 booktitle = {Proceedings of the 4th Annual Symposium on Cloud Computing},
 series = {SOCC '13},
 year = {2013},
 isbn = {978-1-4503-2428-1},
 location = {Santa Clara, California},
 pages = {17:1--17:15},
 articleno = {17},
 numpages = {15},
 url = {http://doi.acm.org/10.1145/2523616.2523619},
 doi = {10.1145/2523616.2523619},
 acmid = {2523619},
 publisher = {ACM},
 address = {New York, NY, USA},
}

@article{DBLP:journals/tse/Agrawal88,
  author    = {Rakesh Agrawal},
  title     = {{Alpha: An Extension of Relational Algebra to Express a Class of Recursive
               Queries}},
  journal   = {{IEEE} Trans. Software Eng.},
  volume    = {14},
  number    = {7},
  pages     = {879--885},
  year      = {1988},
  url       = {http://dx.doi.org/10.1109/32.42731},
  doi       = {10.1109/32.42731},
  timestamp = {Thu, 10 Dec 2015 11:33:03 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/journals/tse/Agrawal88},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

license_type: permissive

branch_name: refs/heads/master

extension: bib


text:
// Copyright (c) 2018 Beta Kuang
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT

package main

import "github.com/beta/tigo"

func main() {
	win := tigo.NewWindow(320, 240, "Hello TIGO", tigo.WindowAuto)
	for !win.Closed() {
		win.Clear(tigo.RGB(0x80, 0x90, 0xa0))
		win.Print(tigo.DefaultFont(), 120, 110, tigo.RGB(0xff, 0xff, 0xff), "Hello TIGO")
		win.Update()
	}
	win.Free()
}

license: MIT

repository: beta/tigo

repo_name: beta/tigo

extension: go


text:
package gzip

import (
	"net/http"

	"github.com/signalsciences/ac/acascii"
)

// ResponseHeaderFilter decide whether or not to compress response
// judging by response header
type ResponseHeaderFilter interface {
	// ShouldCompress decide whether or not to compress response,
	// judging by response header
	ShouldCompress(header http.Header) bool
}

// interface guards
var (
	_ ResponseHeaderFilter = (*SkipCompressedFilter)(nil)
	_ ResponseHeaderFilter = (*ContentTypeFilter)(nil)
)

// SkipCompressedFilter judges whether content has been
// already compressed
type SkipCompressedFilter struct{}

// NewSkipCompressedFilter ...
func NewSkipCompressedFilter() *SkipCompressedFilter {
	return &SkipCompressedFilter{}
}

// ShouldCompress implements ResponseHeaderFilter interface
//
// Content-Encoding: https://tools.ietf.org/html/rfc2616#section-3.5
func (s *SkipCompressedFilter) ShouldCompress(header http.Header) bool {
	return header.Get("Content-Encoding") == "" && header.Get("Transfer-Encoding") == ""
}

// ContentTypeFilter judge via the response content type
//
// Omit this filter if you want to compress all content type.
type ContentTypeFilter struct {
	Types      *acascii.Matcher
	AllowEmpty bool
}

// NewContentTypeFilter ...
func NewContentTypeFilter(types []string) *ContentTypeFilter {
	var (
		nonEmpty   = make([]string, 0, len(types))
		allowEmpty bool
	)

	for _, item := range types {
		if item == "" {
			allowEmpty = true
			continue
		}
		nonEmpty = append(nonEmpty, item)
	}

	return &ContentTypeFilter{
		Types:      acascii.MustCompileString(nonEmpty),
		AllowEmpty: allowEmpty,
	}
}

// ShouldCompress implements RequestFilter interface
func (e *ContentTypeFilter) ShouldCompress(header http.Header) bool {
	contentType := header.Get("Content-Type")

	if contentType == "" {
		return e.AllowEmpty
	}

	return e.Types.MatchString(contentType)
}

// defaultContentType is the list of default content types for which to enable gzip.
// original source:
// https://support.cloudflare.com/hc/en-us/articles/200168396-What-will-Cloudflare-compress-
var defaultContentType = []string{"text/html", "text/richtext", "text/plain", "text/css", "text/x-script", "text/x-component", "text/x-java-source", "text/x-markdown", "application/javascript", "application/x-javascript", "text/javascript", "text/js", "image/x-icon", "application/x-perl", "application/x-httpd-cgi", "text/xml", "application/xml", "application/xml+rss", "application/json", "multipart/bag", "multipart/mixed", "application/xhtml+xml", "font/ttf", "font/otf", "font/x-woff", "image/svg+xml", "application/vnd.ms-fontobject", "application/ttf", "application/x-ttf", "application/otf", "application/x-otf", "application/truetype", "application/opentype", "application/x-opentype", "application/font-woff", "application/eot", "application/font", "application/font-sfnt", "application/wasm"}

// DefaultContentTypeFilter permits
func DefaultContentTypeFilter() *ContentTypeFilter {
	return NewContentTypeFilter(defaultContentType)
}

gha_license_id: MIT

gha_language: Go


text:
@article{Adachi1983,
 author = {Adachi, Shizuko},
 title = {Spreading width of gamow-teller resonances in 208Bi},
 journal = {Physics Letters B},
 year = {1983},
 number = {1},
 volume = {125},
 pages = {5--8},
}

@article{Agrawal2003,
 author = {Agrawal, B. K. and Shlomo, S. and Kim Au, V.},
 title = {Nuclear matter incompressibility coefficient in relativistic and nonrelativistic microscopic models},
 journal = {Phys. Rev. C},
 publisher = {American Physical Society},
 year = {2003},
 month = {Sep},
 volume = {68},
 pages = {031304},
 doi = {10.1103/PhysRevC.68.031304},
 issue = {3},
}

@article{Auerbach:1984,
 author = {Auerbach, N. and Klein, A.},
 title = {Structure of isovector spin excitations in nuclei},
 journal = {Phys. Rev. C},
 year = {1984},
 volume = {30},
 pages = {1032--1043}
}

@article{Avignone2008,
 author = {Avignone, Frank T. and Elliott, Steven R. and Engel, Jonathan},
 title = {Double beta decay, Majorana neutrinos, and neutrino mass},
 journal = {Rev. Mod. Phys.},
 publisher = {American Physical Society},
 year = {2008},
 month = {Apr},
 volume = {80},
 pages = {481--516},
 doi = {10.1103/RevModPhys.80.481},
 issue = {2},
}

@article{Bai2009,
 author = {Bai, C L and Sagawa, H and Zhang, H Q and Zhang, X Z and Col\`{o}, G and Xu, F R},
 title = {Effect of tensor correlations on Gamow-Teller states in 90Zr and 208Pb},
 journal = {Phys. Lett. B},
 year = {2009},
 month = {May},
 number = {1},
 volume = {675},
 pages = {28},
 doi = {10.1016/j.physletb.2009.03.077},
}

@article{Bai2013,
 author = {Bai, C. L. and Sagawa, H. and Sasano, M. and Uesaka, T. and Hagino, K. and Zhang, H. Q. and Zhang, X. Z. and Xu, F. R.},
 title = {Role of pairing in Gamow-Teller states in nuclei},
 journal = {Physics Letters B },
 year = {2013},
 number = {13},
 volume = {719},
 pages = {116--120},
 doi = {http://dx.doi.org/10.1016/j.physletb.2012.12.060},
}

@article{Bai2014,
 author = {Bai, C. L. and Sagawa, H. and Col\`o, G. and Fujita, Y. and Zhang, H. Q. and Zhang, X. Z. and Xu, F. R.},
 title = {Low-energy collective Gamow-Teller states and isoscalar pairing interaction},
 journal = {Phys. Rev. C},
 publisher = {American Physical Society},
 year = {2014},
 month = {Nov},
 volume = {90},
 pages = {054335},
 doi = {10.1103/PhysRevC.90.054335},
 issue = {5},
}

@article{Litvinova_2009,
 author = {Litvinova, E. and Loens, H. P. and Langanke, K. and Martínez-Pinedo, G. and Rauscher, T. and Ring, P. and Thielemann, F. -K. and Tselyaev, V.},
 title = {Low-lying dipole response in the relativistic quasiparticle time blocking approximation and its influence on neutron capture cross sections},
 journal = {Nuclear Physics A},
 publisher = {Elsevier BV},
 year = {2009},
 month = {may},
 number = {1-4},
 volume = {823},
 pages = {26--37},
 url = {https://doi.org/10.1016%2Fj.nuclphysa.2009.03.009},
 doi = {10.1016/j.nuclphysa.2009.03.009}
}

@article{Mumpower2016,
 author = {Mumpower, M. R. and Surman, R. and McLaughlin, G. C. and Aprahamian, A.},
 title = {The impact of individual nuclear properties onr-process nucleosynthesis},
 journal = {Prog. Part. Nucl. Phys.},
 publisher = {Elsevier {BV}},
 year = {2016},
 month = {January},
 volume = {86},
 pages = {86--126},
 url = {https://doi.org/10.1016/j.ppnp.2015.09.001},
 doi = {10.1016/j.ppnp.2015.09.001}
}

@article{Niu_2009,
 author = {Niu, Y. F. and Paar, N. and Vretenar, D. and Meng, J.},
 title = {Low-energy monopole and dipole response in nuclei at finite temperature},
 journal = {Physics Letters B},
 publisher = {Elsevier BV},
 year = {2009},
 month = {nov},
 number = {4},
 volume = {681},
 pages = {315--319},
 url = {https://doi.org/10.1016%2Fj.physletb.2009.10.046},
 doi = {10.1016/j.physletb.2009.10.046}
}

@article{Placeholder:01,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Placeholder:02,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}
@article{Placeholder:03,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}
@article{Placeholder:04,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Placeholder:05,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Placeholder:06,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}
@article{Placeholder:07,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}
@article{Placeholder:08,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Placeholder:09,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{discover,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Capote2009,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Martini2016,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Goriely2018,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Paar2003,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Paar2007,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Niu,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Vretenar,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{GorielyNPA2002,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{GorielyPLB1998,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Goriely2019,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Litvinova2013,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Yuksel2017,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Yuksel2019,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Niu2013,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Yuksel,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Gambarcuta,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Niksic,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Nucl_Data_Sheets_110_3107,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Goriely2002,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Goriely2004,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

@article{Lala,
     author = {Placeholder},
     title = {To be entered later},
     journal = {Unrep. Res.},
     year = {1983}
}

repository: berceanu/random-phase-approximation

repo_name: berceanu/random-phase-approximation


text:
@techreport{zeidenberg_self-regulated_1998,
 author = {Zeidenberg, Matthew},
 copyright = {All rights reserved},
 file = {Zeidenberg - 1998 - The Self-Regulated Workplace Joint Worker-Managem.pdf:C\:\\Users\\mzeid\\Zotero\\storage\\VRHXTV6M\\Zeidenberg - 1998 - The Self-Regulated Workplace Joint Worker-Managem.pdf:application/pdf},
 institution = {Center on Wisconsin Strategy},
 month = {April},
 title = {The Self-Regulated Workplace: Joint Worker-Management Governance of Occupational Safety and Health},
 year = {1998}
}

repository: mzeidenberg/academic-kickstart

repo_name: mzeidenberg/academic-kickstart


text:
package database

import (
	"database/sql"
	"errors"
	"fmt"
)

type User struct {
	RowID    int64
	UserUUID string
	Password string
	Username string
}

func AddUser(db *sql.DB, u *User) (int64, error) {
	dbLogger.Debug("AddUser...")
	var err error
	var stmt *sql.Stmt
	var addResult sql.Result
	var affectedRows int64

	if err := db.Ping(); err != nil {
		dbLogger.Fatal(ERROR_DB_NOT_CONNECTED)
		return 0, errors.New(ERROR_DB_NOT_CONNECTED)
	}

	stmt, err = db.Prepare("INSERT INTO USER(useruuid, password, username) VALUES(?, ?, ?)")
	if err != nil {
		dbLogger.Errorf("Failed preparing statement: %v", err)
		return 0, fmt.Errorf(ERROR_DB_PREPARED + ": %v", err)
	}
	defer stmt.Close()

	addResult, err = stmt.Exec(u.UserUUID, u.Password, u.Username)
	if err != nil {
		dbLogger.Errorf("Failed executing statement:  %v", err)
		return 0, fmt.Errorf(ERROR_DB_EXECUTE + ": %v", err)
	}

	affectedRows, err = addResult.RowsAffected()
	dbLogger.Debugf("Affected rows: %d", affectedRows)
	return affectedRows, err

}

func GetUserByName(db *sql.DB, name string) (*User, error) {
	dbLogger.Debug("GetUserByName...")
	var user = new(User)
	var err error
	var stmt *sql.Stmt

	if err := db.Ping(); err != nil {
		dbLogger.Fatal(ERROR_DB_NOT_CONNECTED)
		return nil, errors.New(ERROR_DB_NOT_CONNECTED)
	}

	stmt, err = db.Prepare("SELECT rowid, useruuid, password, username FROM user WHERE username = ? and deleted = 0")
	if err != nil {
		dbLogger.Errorf("Failed preparing statement: %v", err)
		return nil, fmt.Errorf(ERROR_DB_PREPARED + ": %v", err)
	}
	defer stmt.Close()

	if err := stmt.QueryRow(name).Scan(&user.RowID, &user.UserUUID, &user.Password, &user.Username); err != nil {
		dbLogger.Errorf("Failed getting user %s: %v", name, err)
		return nil, fmt.Errorf(ERROR_DB_QUERY + ": %v", err)
	}
	dbLogger.Debugf("Get user by name %s: \n%+v", name, *user)

	return user, nil
}

func GetUser(db *sql.DB, useruuid string) (*User, error) {
	dbLogger.Debug("GetUser...")
	var user = new(User)
	var err error
	var stmt *sql.Stmt

	if err := db.Ping(); err != nil {
		dbLogger.Fatal(ERROR_DB_NOT_CONNECTED)
		return nil, errors.New(ERROR_DB_NOT_CONNECTED)
	}

	stmt, err = db.Prepare("SELECT rowid, useruuid, password, username FROM user WHERE useruuid = ? and deleted = 0")
	if err != nil {
		dbLogger.Errorf("Failed preparing statement: %v", err)
		return nil, fmt.Errorf(ERROR_DB_PREPARED + ": %v", err)
	}
	defer stmt.Close()

	if err := stmt.QueryRow(useruuid).Scan(&user.RowID, &user.UserUUID, &user.Password, &user.Username); err != nil {
		dbLogger.Errorf("Failed getting user %s: %v", useruuid, err)
		return nil, fmt.Errorf(ERROR_DB_QUERY + ": %v", err)
	}
	dbLogger.Debugf("Get user %s: \n%+v", useruuid, *user)

	return user, nil
}

func DeleteUser(db *sql.DB, u *User)(int64, error){
	dbLogger.Debug("DeleteAccount...")
	var err error
	var stmt *sql.Stmt
	var addResult sql.Result
	var affectedRows int64

	if err := db.Ping(); err != nil {
		dbLogger.Fatal(ERROR_DB_NOT_CONNECTED)
		return 0, errors.New(ERROR_DB_NOT_CONNECTED)
	}

	stmt, err = db.Prepare("UPDATE user SET deleted = 1 WHERE useruuid = ? and deleted = 0")
	if err != nil {
		dbLogger.Errorf("Failed preparing statement: %v", err)
		return 0, fmt.Errorf(ERROR_DB_PREPARED + ": %v", err)
	}
	defer stmt.Close()

	addResult, err = stmt.Exec(u.UserUUID)
	if err != nil {
		dbLogger.Errorf("Failed executing statement:  %v", err)
		return 0, fmt.Errorf(ERROR_DB_EXECUTE + ": %v", err)
	}

	affectedRows, err = addResult.RowsAffected()
	dbLogger.Debugf("Affected rows: %d", affectedRows)
	return affectedRows, err
}

repository: onkyoworm/fabric-app-wallet

repo_name: onkyoworm/fabric-app-wallet


text:
require qt5-git.inc
require ${PN}.inc

# LICENSE files are missing in this old SRCREV, remove when upgraded
# commit 54e6103798bb098bc9e83aa77decdad4868cb98e
# Author: Timo Jyrinki <timo.jyrinki@canonical.com>
# Date:   Mon Feb 11 08:19:48 2013 +0200
# Subject: Add license files mandated by (L)GPL.
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \
                    file://${COMMON_LICENSE_DIR}/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891 \
                    file://${COMMON_LICENSE_DIR}/GFDL-1.3;md5=1083add59b39991c748ea70a92166959 \
"

# qtlocation wasn't released yet, last tag before this SRCREV is 5.0.0-beta1
PV = "4.999+5.0.0-beta1+git${SRCPV}"

PR = "${INC_PR}.0"

QT_MODULE_BRANCH = "master"

SRCREV = "ac83b242c26d5b8750b6bf0f9ed0bac0e4569b6c"

extension: bb


text:
package stylish

import "testing"

func TestNest(t *testing.T) {

	//
	if len(ProcessStart("hi")) != len(Nest(2, ProcessStart("hi"))) {
		t.Errorf("the lenghts dont match after nesting progress bars")
	}

	// offset the message by each newline lenght in this type of thing warnings add
	// 2 new lines
	if len(Warning("this is a warning")) != len(Nest(1, Warning("this is a warning")))-4 {
		t.Errorf("the lenghts dont match after nesting warnings")

	}

	// offset the message by each newline lenght in this type of thing errors add
	// 3 new lines
	// if len(Error("ERROR", "this is a Error")) != len(Nest(1, Error("ERROR", "this is a Error")))-6 {
	// 	t.Errorf("the lenghts dont match after nesting errors")
	// }
}

repository: mu-box/microbox-golang-stylish

repo_name: mu-box/microbox-golang-stylish

branch_name: refs/heads/main


text:
// Copyright Banrai LLC. All rights reserved. Use of this source code is
// governed by the license that can be found in the LICENSE file.

// This is a fully-functional (but simple) PiScanner application.

package main

import (
	"encoding/json"
	"flag"
	"fmt"
	"github.com/RogerZhangHS/PiScan/client/database"
	"github.com/RogerZhangHS/PiScan/scanner"
	"io/ioutil"
	"log"
	"net/http"
	"net/url"
)

func main() {
	var (
		device, sqlitePath, sqliteFile, sqliteTablesDefinitionPath string
	)

	flag.StringVar(&device, "device", scanner.SCANNER_DEVICE, fmt.Sprintf("The '/dev/input/event' device associated with your scanner (defaults to '%s')", scanner.SCANNER_DEVICE))
	flag.StringVar(&sqlitePath, "sqlitePath", database.SQLITE_PATH, fmt.Sprintf("Path to the sqlite file (defaults to '%s')", database.SQLITE_PATH))
	flag.StringVar(&sqliteFile, "sqliteFile", database.SQLITE_FILE, fmt.Sprintf("The sqlite database file (defaults to '%s')", database.SQLITE_FILE))
	flag.StringVar(&sqliteTablesDefinitionPath, "sqliteTables", "", fmt.Sprintf("Path to the sqlite database definitions file, %s, (use only if creating the client db for the first time)", database.TABLE_SQL_DEFINITIONS))
	flag.Parse()

	// 连接到本地sqlite数据库
	if len(sqliteTablesDefinitionPath) > 0 {
		// this is a request to create the client db for the first time
		initDb, initErr := database.InitializeDB(database.ConnCoordinates{sqlitePath, sqliteFile, sqliteTablesDefinitionPath})
		if initErr != nil {
			log.Fatal(initErr)
		}
		defer initDb.Close()
		log.Println(fmt.Sprintf("Client database '%s' created in '%s'", sqliteFile, sqlitePath))

	} else {
		// a regular scanner processing event

		// coordinates for connecting to the sqlite database (from the command line options)
		dbCoordinates := database.ConnCoordinates{DBPath: sqlitePath, DBFile: sqliteFile}

		// attempt to connect to the sqlite db
		db, dbErr := database.InitializeDB(dbCoordinates)
		if dbErr != nil {
			log.Fatal(dbErr)
		}
		defer db.Close()

		processScanFn := func(barcode string) {
			// 该函数过程为获取barcode 查询本地数据库中是否存在这些barcode 并且做出相应的反应
			if database.getExistingItem(db, barcode) != -1 {
				database.Sign(db, barcode)
			}
		}

		errorFn := func(e error) {
			log.Fatal(e)
		}

		log.Println(fmt.Sprintf("Starting the scanner %s", device))
		scanner.ScanForever(device, processScanFn, errorFn)
	}
}

repository: RogerZhangHS/PiScan

repo_name: RogerZhangHS/PiScan


text:
set(PACKAGE_VERSION "@PANGOLIN_VERSION@")

# Check build type is valid
if( "${ANDROID}" STREQUAL "@ANDROID@" )
    # Check whether the requested PACKAGE_FIND_VERSION is compatible
    if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
      set(PACKAGE_VERSION_COMPATIBLE FALSE)
    else()
      set(PACKAGE_VERSION_COMPATIBLE TRUE)
      if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
        set(PACKAGE_VERSION_EXACT TRUE)
      endif()
    endif()
else()
    set(PACKAGE_VERSION_COMPATIBLE FALSE)
endif()

repository: faradazerage/Pangolin

repo_name: faradazerage/Pangolin

extension: in


text:
package v1

import (
	"testing"

	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
)

const expectedString = `{"metadata":{"creationTimestamp":null},"spec":{"cluster_id":"cluster-id","cable_name":` +
	`"cable-1","hostname":"","subnets":["10.0.0.0/24","172.0.0.0/24"],"private_ip":"1.1.1.1",` +
	`"public_ip":"","nat_enabled":false,"backend":""}}`

var _ = Describe("API v1", func() {
	When("Endpoint String representation called", func() {
		It("Should return a human readable string", func() {

			endpoint := Endpoint{
				Spec: EndpointSpec{
					ClusterID: "cluster-id",
					Subnets:   []string{"10.0.0.0/24", "172.0.0.0/24"},
					CableName: "cable-1",
					PublicIP:  "",
					PrivateIP: "1.1.1.1",
				},
			}

			Expect(endpoint.String()).To(Equal(expectedString))
		})
	})
})

func TestApiMethods(t *testing.T) {
	RegisterFailHandler(Fail)
	RunSpecs(t, "V1 Api Method suite")
}

repository: roytman/submariner

repo_name: roytman/submariner


text:
DESCRIPTION = "WebSocket client & server library, WAMP real-time framework"
HOMEPAGE = "http://crossbar.io/autobahn"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3e2c2c2cc2915edc5321b0e6b1d3f5f8"

SRC_URI[sha256sum] = "ec9421c52a2103364d1ef0468036e6019ee84f71721e86b36fe19ad6966c1181"

inherit pypi setuptools3

RDEPENDS:${PN} += " \
    ${PYTHON_PN}-twisted \
    ${PYTHON_PN}-zopeinterface \
    ${PYTHON_PN}-py-ubjson \
    ${PYTHON_PN}-cbor2 \
    ${PYTHON_PN}-u-msgpack-python \
    ${PYTHON_PN}-lz4 \
    ${PYTHON_PN}-snappy \
    ${PYTHON_PN}-pyopenssl \
    ${PYTHON_PN}-txaio \
    ${PYTHON_PN}-six \
"

BBCLASSEXTEND = "native nativesdk"

repository: openembedded/meta-openembedded

repo_name: openembedded/meta-openembedded

gha_language: BitBake


text:
package templates_test

import (
	"bytes"
	"os"
	"testing"

	"github.com/ionrock/xenv/templates"
)

func TestApplyTemplate(t *testing.T) {
	tmpl := "testdata/my.cfg.tmpl"

	env := map[string]string{
		"LISTEN":        "10.0.0.1:8900",
		"CLUSTER_HOSTS": "10.0.0.2 10.0.0.3 10.0.0.4",
	}

	var b bytes.Buffer

	err := templates.ApplyTemplate(tmpl, &b, env)
	if err != nil {
		t.Fatalf("failed to write template: %q", err)
	}

	contents := b.String()
	expected := `[service]
listen = 10.0.0.1:8900
workers =
   - 10.0.0.2
   - 10.0.0.3
   - 10.0.0.4
`
	if contents != expected {
		t.Errorf("wrong content: \n%q\n !=\n%q", contents, expected)
	}
}

type tmplPathTest struct {
	path   string
	tmpl   string
	target string
}

func TestConfigTmplFileInfo(t *testing.T) {
	conf := templates.Renderer{
		Target:   "testdata/foo.cfg",
		FileMode: "0645",
	}

	err := conf.SetPermissions()
	if err != nil {
		t.Fatalf("error settings permissions: %q", err)
	}

	info, err := os.Stat(conf.Target)
	if err != nil {
		t.Fatalf("failed to get fileinfo: %q", err)
	}

	mode := os.FileMode(int(0645))
	if info.Mode() != mode {
		t.Errorf("failed to set mode: %q != %q", info.Mode(), mode)
	}
}

repository: ionrock/xenv

repo_name: ionrock/xenv


text:
Automatically generated by Mendeley Desktop 1.19.4
Any changes to this file will be lost if it is regenerated by Mendeley.

BibTeX export options can be customized via Preferences -> BibTeX in Mendeley Desktop

@article{Guo2014,
abstract = {BACKGROUND: Studies have examined the effects of temperature on mortality in a single city, country, or region. However, less evidence is available on the variation in the associations between temperature and mortality in multiple countries, analyzed simultaneously.$\backslash$n$\backslash$nMETHODS: We obtained daily data on temperature and mortality in 306 communities from 12 countries/regions (Australia, Brazil, Thailand, China, Taiwan, Korea, Japan, Italy, Spain, United Kingdom, United States, and Canada). Two-stage analyses were used to assess the nonlinear and delayed relation between temperature and mortality. In the first stage, a Poisson regression allowing overdispersion with distributed lag nonlinear model was used to estimate the community-specific temperature-mortality relation. In the second stage, a multivariate meta-analysis was used to pool the nonlinear and delayed effects of ambient temperature at the national level, in each country.$\backslash$n$\backslash$nRESULTS: The temperatures associated with the lowest mortality were around the 75th percentile of temperature in all the countries/regions, ranging from 66th (Taiwan) to 80th (UK) percentiles. The estimated effects of cold and hot temperatures on mortality varied by community and country. Meta-analysis results show that both cold and hot temperatures increased the risk of mortality in all the countries/regions. Cold effects were delayed and lasted for many days, whereas heat effects appeared quickly and did not last long.$\backslash$n$\backslash$nCONCLUSIONS: People have some ability to adapt to their local climate type, but both cold and hot temperatures are still associated with increased risk of mortality. Public health strategies to alleviate the impact of ambient temperatures are important, in particular in the context of climate change.},
author = {Guo, Yuming and Gasparrini, Antonio and Armstrong, Ben and Li, Shanshan and Tawatsupa, Benjawan and Tobias, Aurelio and Lavigne, Eric and {De Sousa Zanotti Stagliorio Coelho}, Micheline and Leone, Michela and Pan, Xiaochuan and Tong, Shilu and Tian, Linwei and Kim, Ho and Hashizume, Masahiro and Honda, Yasushi and Guo, Yue Liang Leon and Wu, Chang Fu and Punnasiri, Kornwipa and Yi, Seung Muk and Michelozzi, Paola and Saldiva, Paulo Hilario Nascimento and Williams, Gail},
doi = {10.1097/EDE.0000000000000165},
file = {:Users/sepmein/Qsync/Papers/Guo et al.{\_}2014{\_}Global variation in the effects of ambient temperature on mortality A systematic evaluation.pdf:pdf},
isbn = {0000000000000},
issn = {15315487},
journal = {Epidemiology},
number = {6},
pages = {781--789},
pmid = {25166878},
title = {{Global variation in the effects of ambient temperature on mortality: A systematic evaluation}},
volume = {25},
year = {2014}
}

license: Unlicense

repository: sepmein/references

repo_name: sepmein/references


text:
DESCRIPTION = "OpenDataPlane (ODP) provides a data plane application programming \
	environment that is easy to use, high performance, and portable between networking SoCs."
HOMEPAGE = "http://www.opendataplane.org"
SECTION = "console/network"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4ccfa994aa96974cfcd39a59faee20a2"

DEPENDS = "openssl cunit libpcap"

SRC_URI = "git://git.linaro.org/lng/odp.git;name=odp"

SRCREV_odp = "4c060d0c97b3521b30b7a3f5e19f3317a803ca77"
SRCREV_FORMAT = "odp"

S = "${WORKDIR}/git"

inherit autotools ptest

PACKAGECONFIG[perf] = "--enable-test-perf,,,"

do_configure_ptest() {
	oe_runconf --enable-test-vald --with-testdir=${PTEST_PATH}/test/
}

do_install_ptest() {
	oe_runmake DESTDIR=${D} install
	ln -s test/run-test ${D}/${PTEST_PATH}/run-ptest
}

# ODP is primarily shipped as static library plus some API test and samples/
FILES_${PN}-staticdev += "${datadir}/opendataplane/*.la"

RDEPENDS_${PN} = "bash libcrypto"
RDEPENDS_${PN}-ptest = "cunit"

repository: linaro-mmwg/meta-linaro

repo_name: linaro-mmwg/meta-linaro


text:
SUMMARY = "Phosphor OpenBMC Quanta GBS System Initialization Service"
DESCRIPTION = "Phosphor OpenBMC Quanta GBS System Init"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

inherit systemd

DEPENDS += "systemd"
RDEPENDS:${PN} += "bash"
RDEPENDS:${PN} += "i2c-tools"
RDEPENDS:${PN} += "jq"
RDEPENDS:${PN} += "libsystemd"

SRC_URI = "file://gbs-sysinit.sh \
           file://gbs-gpio-common.sh \
           file://gbs-sysinit.service \
          "

do_install () {
    install -d ${D}${bindir}
    install -m 0755 ${WORKDIR}/gbs-sysinit.sh ${D}${bindir}/

    install -d ${D}${libexecdir}
    install -m 0755 ${WORKDIR}/gbs-gpio-common.sh ${D}${libexecdir}/

    install -d ${D}${systemd_system_unitdir}
    install -m 0644 ${WORKDIR}/gbs-sysinit.service ${D}${systemd_system_unitdir}
}

SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "gbs-sysinit.service"

repository: openbmc/openbmc

repo_name: openbmc/openbmc

gha_license_id: NOASSERTION

gha_language: Python


text:
package poloniex

import (
	"encoding/json"
	"reflect"
	"time"

	"github.com/mitchellh/mapstructure"
	"github.com/pkg/errors"
	"github.com/shopspring/decimal"
	log "github.com/sirupsen/logrus"
	"gopkg.in/jcelliott/turnpike.v2"
)

var (
	decType  = reflect.TypeOf(decimal.Decimal{})
	timeType = reflect.TypeOf(time.Time{})

	obookDecodeHook = mapstructure.ComposeDecodeHookFunc(decimalDecodeHook, timeDecodeHook)
)

// OrderBookUpd is a single order book update.
type OrderBookUpd struct {
	// OpType is either orderBookModify or orderBookRemove.
	OpType string
	// Type is either bid or ask.
	Type string
	// Rate is a price.
	Rate decimal.Decimal
	// Amount can be zero, if OpType == orderBookRemove.
	Amount decimal.Decimal
}

// TradeUpd contains single trade information.
type TradeUpd struct {
	// OpType = newTrade
	OpType string
	// TradeID - unique trade ID.
	TradeID string
	// Rate is a price.
	Rate decimal.Decimal
	// Amount is a trade amount.
	Amount decimal.Decimal
	// Date is a trade's timestamp.
	Date time.Time
	// Total is the remaning amount(?).
	Total decimal.Decimal
	// Type	is either buy or sell.
	Type string
}

// MarketUpd is a message from Poloniex exchange.
type MarketUpd struct {
	// Seq is constantly increasing number.
	Seq int64
	// Obooks - updates or order book.
	Obooks []OrderBookUpd
	// Trades - new trades.
	Trades []TradeUpd
}

// TickerUpd is a ticker update message.
type TickerUpd struct {
	Pair string
	Ticker
}

func makeOBookSubHandler(updatesCh chan<- MarketUpd) turnpike.EventHandler {
	return func(args []interface{}, kwargs map[string]interface{}) {
		var (
			upd      MarketUpd
			oBookUpd OrderBookUpd
			tradeUpd TradeUpd
		)
		obookDec, _ := mapstructure.NewDecoder(&mapstructure.DecoderConfig{
			Result:     &oBookUpd,
			DecodeHook: obookDecodeHook,
		})
		tradeDec, _ := mapstructure.NewDecoder(&mapstructure.DecoderConfig{
			Result:     &tradeUpd,
			DecodeHook: obookDecodeHook,
		})
		if arg, found := kwargs["seq"]; found {
			if jVal, ok := arg.(json.Number); ok {
				if intVal, err := jVal.Int64(); err == nil {
					upd.Seq = intVal
				} else {
					log.Errorf("poloniex: seq parse error: %v", err)
				}
			}
		}
		if upd.Seq == 0 {
			log.Errorf("poloniex: invalid seq: %v", kwargs)
		}
		for _, iface := range args {
			m, ok := iface.(map[string]interface{})
			if !ok {
				log.Errorf("poloniex: invalid message type: %v", iface)
				continue
			}
			typ, ok := m["type"].(string)
			if !ok {
				log.Errorf("poloniex: invalid message type: %v", m["type"])
				continue
			}
			switch typ {
			case "orderBookModify":
				fallthrough
			case "orderBookRemove":
				oBookUpd.OpType = typ
				if err := obookDec.Decode(m["data"]); err == nil {
					upd.Obooks = append(upd.Obooks, oBookUpd)
				} else {
					log.Errorf("poloniex: order book update decode error: %v", err)
				}
			case "newTrade":
				tradeUpd.OpType = typ
				if err := tradeDec.Decode(m["data"]); err == nil {
					upd.Trades = append(upd.Trades, tradeUpd)
				} else {
					log.Errorf("poloniex: trade update decode error: %v", err)
				}
			default:
				log.Errorf("poloniex: unknown message type: %s", typ)
			}
		}
		updatesCh <- upd
	}
}

func makeTickerSubHandler(updatesCh chan<- TickerUpd) turnpike.EventHandler {
	return func(args []interface{}, kwargs map[string]interface{}) {
		if len(args) != 10 {
			log.Errorf("poloniex: got %d instead of 10 fields in a ticker update", len(args))
			return
		}
		var upd TickerUpd
		dec := func() (err error) {
			defer func() {
				if recover() != nil {
					err = errors.New("invalid message format")
				}
			}()
			upd.Pair = args[0].(string)
			if upd.Last, err = decimal.NewFromString(args[1].(string)); err != nil {
				return err
			}
			if upd.LowestAsk, err = decimal.NewFromString(args[2].(string)); err != nil {
				return err
			}
			if upd.HighestBid, err = decimal.NewFromString(args[3].(string)); err != nil {
				return err
			}
			if upd.PercentChange, err = decimal.NewFromString(args[4].(string)); err != nil {
				return err
			}
			if upd.BaseVolume, err = decimal.NewFromString(args[5].(string)); err != nil {
				return err
			}
			if upd.QuoteVolume, err = decimal.NewFromString(args[6].(string)); err != nil {
				return err
			}
			if isFrozen, err := args[7].(json.Number).Int64(); err != nil {
				return err
			} else {
				upd.IsFrozen = int(isFrozen)
			}
			if upd.High24Hr, err = decimal.NewFromString(args[8].(string)); err != nil {
				return err
			}
			if upd.Low24Hr, err = decimal.NewFromString(args[9].(string)); err != nil {
				return err
			}
			return nil
		}
		if err := dec(); err == nil {
			updatesCh <- upd
		} else {
			log.Errorf("poloniex: ticker message error: %v", err)
		}
	}
}

func decimalDecodeHook(from reflect.Type, to reflect.Type, v interface{}) (interface{}, error) {
	if to == decType {
		if str, ok := v.(string); ok {
			return decimal.NewFromString(str)
		}
		return nil, errors.Errorf("cannot decode %s to decimal", from.String())
	}
	return v, nil
}

func timeDecodeHook(from reflect.Type, to reflect.Type, v interface{}) (interface{}, error) {
	if to == timeType {
		if str, ok := v.(string); ok {
			return time.ParseInLocation("2006-01-02 15:04:05", str, time.UTC)
		}
		return nil, errors.Errorf("cannot decode %s to time.Time", from.String())
	}
	return v, nil
}

repository: VisborN/go-poloniex

repo_name: VisborN/go-poloniex


text:
SRCDATE = "20060814"
PV = "0.0+cvs${SRCDATE}"
LICENSE = "BSD-X"
SECTION = "x11"
PRIORITY = "optional"
DEPENDS = "virtual/libx11 libxdamage libxcomposite libxrender"
DESCRIPTION = "X Compositing Manager"

SRC_URI = "${FREEDESKTOP_CVS}/xapps;module=xcompmgr"
S = "${WORKDIR}/xcompmgr"

inherit autotools

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
require libeventdb.inc

PR = "r1"

SRC_URI[md5sum] = "89e7e82ee764cadd21ec35e5b66f5009"
SRC_URI[sha256sum] = "dd62e0614bef0de870b4626af398040ce8c5a29b59575625c079482443bd557d"


text:
@article{RN1262,
 author = {Uddin, M Rahim and Khan, Maksudur R and Rahman, M Wasikur and Yousuf, Abu and Cheng, Chin Kui},
 issn = {1878-5190},
 journal = {Reaction Kinetics, Mechanisms and Catalysis},
 number = {2},
 pages = {589-604},
 title = {Photocatalytic reduction of CO 2 into methanol over CuFe 2 O 4/TiO 2 under visible light irradiation},
 type = {Journal Article},
 volume = {116},
 year = {2015}
}

repository: drnazmul/ayusuf

repo_name: drnazmul/ayusuf


text:
DESCRIPTION = "Highly concurrent networking library"
HOMEPAGE = "http://pypi.python.org/pypi/eventlet"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778"

SRC_URI[sha256sum] = "722803e7eadff295347539da363d68ae155b8b26ae6a634474d0a920be73cfda"

inherit pypi setuptools3

RDEPENDS:${PN} += " \
	${PYTHON_PN}-dnspython \
	${PYTHON_PN}-six \
	${PYTHON_PN}-distutils \
	${PYTHON_PN}-greenlet \
"


text:
@book{Mutschler.2016,
  title = {Local Identification of Nonlinear and Non-{{Gaussian DSGE}} Models},
  author = {Mutschler, Willi},
  year = {2016},
  publisher = {{Monsenstein und Vannerdat}},
  address = {{M\"unster}},
  isbn = {978-3-8405-0135-7},
  keywords = {identification, pruning, cumulants, polyspectrum, non-Gaussianity, nonlinear DSGE},
  series = {Wissenschaftliche {{Schriften}} Der {{WWU M\"unster}}},
  url = {http://nbn-resolving.de/urn:nbn:de:hbz:6-97219489383}
}


text:
/*
Copyright © 2020 Steffen Rumpf <ymlate@steffen-rumpf.de>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package cmd

import (
	"github.com/spf13/cobra"
	"github.com/steffakasid/ymlate/pkg"
)

var tpl = pkg.Template{}

// renderCmd represents the render command
var renderCmd = &cobra.Command{
	Use:   "render",
	Short: "render the given template and it's values",
	Long: `This command will render the given template,
	merge values and directly output the result on the
	command line.`,
	Run: func(cmd *cobra.Command, args []string) {
		pkg.Render(tpl)
	},
}

func init() {
	rootCmd.AddCommand(renderCmd)

	// Here you will define your flags and configuration settings.

	// Cobra supports Persistent Flags which will work for this command
	// and all subcommands, e.g.:
	// renderCmd.PersistentFlags().String("foo", "", "A help for foo")

	// Cobra supports local flags which will only run when this command
	// is called directly, e.g.:
	renderCmd.Flags().StringVarP(&tpl.TemplateFile, "template", "t", "", "The template file to be rendered")
	renderCmd.Flags().StringVarP(&tpl.ValuesFile, "values", "f", "", "A values file to be rendered into the template")
}

repository: steffakasid/ymlate

repo_name: steffakasid/ymlate


text:
DESCRIPTION = "A portable audio library"
SECTION = "libs/multimedia"
LICENSE = "PortAudio"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df"

PV = "v19+svnr${SRCPV}"

SRCREV = "1387"
SRC_URI = "svn://subversion.assembla.com/svn/portaudio/portaudio;module=trunk;protocol=http"
S = "${WORKDIR}/trunk"

inherit autotools pkgconfig

PACKAGECONFIG ??= "alsa jack"
PACKAGECONFIG[alsa] = "--with-alsa, --without-alsa, alsa-lib,"
PACKAGECONFIG[jack] = "--with-jack, --without-jack, jack,"

EXTRA_OECONF = "--without-oss"

TESTS = "  pa_devs patest1      patest_hang patest_many                   patest_prime patest_sine patest_stop     patest_write_sine        \
pa_fuzz    patest_buffer        patest_in_overflow  patest_maxsines       patest_read_record  patest_sine8         patest_sync              \
pa_minlat  patest_callbackstop  patest_latency      patest_multi_sine     patest_record       patest_sine_formats  patest_toomanysines      \
paqa_devs  patest_clip          patest_leftright    patest_out_underflow  patest_ringmix      patest_sine_time     patest_underflow         \
paqa_errs  patest_dither        patest_longsine     patest_pink           patest_saw          patest_start_stop    patest_wire"

# DEFINES = PA_USE_OSS=1 HAVE_LIBPTHREAD=1
# DEFINES += PA_LITTLE_ENDIAN

# INCLUDEPATH = ../pa_common

PACKAGES += "portaudio-examples"
FILES_portaudio-examples = "${bindir}"

repository: ExorEmbedded/exor-workspace

repo_name: ExorEmbedded/exor-workspace