text:
@Article         {Prechelt1994,
        author = {Lutz Prechelt},
         title = {PROBEN1 - A Set of Benchmarks and Benchmarking Rules for Neural Network Training Algorithms},
       journal = {Technical Report 21/94, 38 pages, Fakult\"at f\"ur Informatik, Universit\"at Karlsruhe http://page.mi.fu-berlin.de/prechelt/Biblio/1994-21.pdf},
          year = 1994
}

@Article         {CEC2014,
        author = {J. J. Liang and B-Y. Qu and P. N. Suganthan},
         title = {Problem Definitions and Evaluation Criteria for the CEC 2014},
       journal = {Special Session and Competition on Single Objective Real-Parameter Numerical Optimization, Technical Report 201311, Computational Intelligence Laboratory, Zhengzhou University, Zhengzhou China  and  Technical Report, Nanyang Technological University, Singapore},
          year = 2013
}

@Article         {papersipesca1,
        author = {Pedro Garc\'{i}a-Fern\'andez and Pedro A. Castillo and Pablo Garc\'{i}a-S\'anchez and Maribel G. Arenas and Antonio M. Mora and Gustavo Romero and Juan J. Merelo and Victor M. Rivas},
         title = {Monitorizaci\'on del estado de las carreteras mediante un sistema aut\'onomo y de bajo coste basado en la tecnolog\'{i}a Bluetooth},
       journal = {SECURITAS VIALIS, Journal Europeo de Tr\'afico, Transporte y Seguridad Vial. Editorial Springer. Etrasa 2014. Vol. 17, pp. 139-160, ISSN: 1888-9697},
          year = 2014
}

@Article         {papersipesca2,
        author = {P.A. Castillo and A. Fern\'andez-Ares and P. Garc\'{i}a-Fern\'andez and P. Garc\'{i}a-S\'anchez and M.G. Arenas and A.M. Mora and G. Romero and V. Rivas and J.J. Merelo},
         title = { Studying individualized transit indicators using a new low-cost information system. Handbook of Research on Embedded Systems Design},
       journal = {Alessandra Bagnato, Leandro Soares Indrusiak, Imran Rafiq Quadri, Matteo Rossi (Eds). Advances in Systems Analysis, Software Engineering, and High Performance Computing (ASASEHPC) Book Series. Industry and Research Perspectives on Embedded System Design. Chapter 16, pp. 388-407 , ISBN 978-1466661943. IGI GLOBAL. DOI: 10.4018/978-1-4666-6194-3.ch016},
          year = 2014
}

@Article         {BoxJenk,
        author = {G.E. Box and G.M. Jenkins},
         title = {Time series analysis: forecasting and control},
       journal = {Ed: San Francisco: Holden Day},
          year = 1976
}

@Article         {LCoRNeuro,
        author = {E. Parras-Gutierrez and V.M. Rivas and M. Garcia-Arenas and M.J. del Jesus},
         title = {Short, medium and long term forecasting of time series using the L-Co-R algorithm},
       journal = {Neurocomputing, Volume 128, 27, Pages 433-446},
          year = 2014
}

@Article         {TongI,
        author = {H. Tong},
         title = {On a threshold model, Pattern recognition and signal processing},
       journal = {NATO ASI Series E: Applied Sc. 29, 575-586},
          year = 1978
}

@Article         {TongII,
        author = {H. Tong},
         title = {Threshold models in non-linear time series analysis},
       journal = {Springer-Verlag},
          year = 1983
}

@Article         {Chang,
        author = {K. Chan and H. Tong},
         title = {On estimating thresholds in autoregressive models},
       journal = {Journal of Time Series Analysis 7 (3), pp. 179-190},
          year = 1986
}

@Article         {Blockwell,
        author = {P. Brockwell and R. Hyndman},
         title = {On continuous-time threshold autoregression},
       journal = {International Journal of Forecasting 8 (2) pp. 157-173},
          year = 1992
}

@Article         {weka,
        author = {Ian Witten and Eibe Frank},
         title = {Data Mining: Practical Machine Learning Tools and Techniques},
       journal = {Morgan Kaufmann, 3 edition},
          year = 2011
}

@Article         {perceptron,
        author = {I.A Basheer and M Hajmeer},
         title = {Artificial neural networks: fundamentals, computing, design, and application},
       journal = {Journal of Microbiological Methods, Volume 43, Issue 1, Pages 3-31},
          year = 2000
}
\bibitem{}, ,

@Article         {SVM,
        author = {J. A. K. Suykens and J. Vandewalle},
         title = {Least Squares Support Vector Machine Classifiers},
       journal = {Neural Process. Lett. 9, 3, 293-300},
          year = 1999
}

@Article         {Eli2012,
        author = {Elisabet Parras-Gutierrez and M. G. Arenas and V. M. Rivas and  M. J. del Jesus},
         title = {Coevolution of lags and RBFNs for time series forecasting: L-Co-R algorithm},
       journal = {Soft Computing 16(6), pp.919-942},
          year = 2012
}

@Article         {Gooijer25years,
        author = {J.~{De Gooijer} and R.~Hyndman},
         title = {25 years of time series forecasting},
       journal = {International Journal of Forecasting 22~(3) pp.443--473},
          year = 2006
}

@Article         {Clements2004,
        author = {M.~Clements and P.~Franses and N.~Swanson},
         title = {Forecasting economic and financial time-series with non-linear models},
       journal = {International Journal of Forecasting 20~(2) pp.169--183},
          year = 2004
}

@Article         {Samanta2011,
        author = {B.~Samanta},
         title = {Prediction of chaotic time series using computational intelligence},
       journal = {Expert Systems with Applications 38~(9) pp. 11406--11411},
          year = 2011
}

@Article         {Zhu2011,
        author = {S.~Zhu and J.~Wang and W.~Zhao and J.~Wang},
         title = {A seasonal hybrid procedure for electricity demand forecasting in China},
       journal = {Applied Energy 88~(11) pp.3807--3815},
          year = 2011
}

@Article         {Qiu2011,
        author = {W.~Qiu and X.~Liu and H.~Li},
         title = {A generalized method for forecasting based on fuzzy time series},
       journal = {Expert Systems with Applications 38~(8) pp. 10446--10453},
          year = 2011
}

@Article         {Wang2011,
        author = {C.~Wang},
         title = {A comparison study between fuzzy time series model and arima model for forecasting taiwan export},
       journal = {Expert Systems with Applications 38~(8) pp. 9296--9304},
          year = 2011
}

@Article         {Yu2010,
        author = {T.~Yu and K.~Huarng},
         title = {A neural network-based fuzzy time series model to improve forecasting},
       journal = {Expert Systems with Applications 37~(4) pp. 3366--3372},
          year = 2010
}

@Article         {Kavaklioglu2011,
        author = {K.~Kavaklioglu},
         title = {Modeling and prediction of turkey's electricity consumption using support vector regression},
       journal = {Applied Energy 88~(1) pp. 368--375},
          year = 2011
}

@Article         {Dash1995,
        author = {P.~K. Dash and A.~C. Liew and S.~Rahman and G.~Ramakrishna},
         title = {Building a fuzzy expert system for electric load forecasting using a hybrid neural network},
       journal = {Expert Systems with Applications 9~(3) pp. 407--421},
          year = 1995
}

@Article         {Tang1991,
        author = {Z.~Tang and C.~de~Almeida and P.~Fishwick},
         title = {Time series forecasting using neural networks vs. box-jenkins methodology},
       journal = {Simulation 57~(5) pp. 303--310},
          year = 1991
}

@Article         {Hippert10,
        author = {H.~Hippert and J.~Taylor},
         title = {An evaluation of bayesian techniques for controlling model complexity and selecting inputs in a neural network for short-term load forecasting},
       journal = {Neural Networks 23~(3) pp. 386--395},
          year = 2010
}

@Article         {Lee09,
        author = {C.~Lee and C.~Ko},
         title = {Time series prediction using rbf neural networks with a nonlinear time-varying evolution pso algorithm},
       journal = {Neurocomputing 73~(1-3) pp. 449--460},
          year = 2009
}

@Article         {PerezGodoy2010,
        author = {M.~P\'erez-Godoy and P.~P\'erez-Recuerda and M.~Fr\'{i}as and A.~Rivera and C.~Carmona and M.~Parras},
         title = {Co$^2$rbfn for short and medium term forecasting of the extra-virgin olive oil price},
       journal = {In: J.~Gonz\'alez, D.~Pelta, C.~Cruz, G.~Terrazas, N.~Krasnogor (Eds.), Proceedings of Nature Inspired Cooperative Strategies for Optimization, Vol. 284, Springer Berlin/Heidelberg, pp. 113--125},
          year = 2010
}

@Article         {LibroWeka,
        author = {I.H. Witten and E. Frank and M.A. Hall},
         title = {Data Mining: Practical Machine Learning Tools and Techniques},
       journal = {Third Edition (The Morgan Kaufmann Series in Data Management Systems). ISBN 978-0123748560. Morgan Kaufmann; 3 edition},
          year = 2011
}

@Article         {LibroR,
        author = {R.J. Hyndman and G. Athanasopoulos},
         title = {Forecasting: principles and practice},
       journal = {ISBN 978-0987507105. OTexts},
          year = 2013
}

@Article         {Khashei12011,
        author = {M. Khashei1 and M. Bijari},
         title = {M. Khashei1 and M. Bijari},
       journal = {Journal of Industrial and Systems Engineering, Vol. 4, No. 4, pp 265-285},
          year = 2011
}

@Article         {Morzy2007,
        author = {M. Morzy},
         title = {Mining Frequent Trajectories of Moving Objects for Location Prediction},
       journal = {Machine Learning and Data Mining in Pattern Recognition. Lecture Notes in Computer Science Volume 4571, pp 667-680},
          year = 2007
}

@Article         {Brinkhoff2002,
        author = {T. Brinkhoff},
         title = {A framework for generating network-based moving objects},
       journal = {GeoInformatica 6(2), 153-180},
          year = 2002
}

@Article         {Gidofalvi2010,
        author = {G. Gidofalvi and E. Saqib},
         title = {Developing a Benchmark for Using Trajectories of Moving Objects in Traffic Prediction and Management},
       journal = {In Proc. of the Workshop on Movement Pattern Analysis. GIScience2010, 2p},
          year = 2010
}

@Article         {PLAISANT2008,
        author = {PLAISANT, C. and FEKETE, J. D. and GRINSTEIN, G.},
         title = {Promoting insight-based evaluation of visualizations: From contest to benchmark repository},
       journal = {IEEE Transactions on Visualization and Computer Graphics 14, 1, 120-134},
          year = 2008
}

@Article         {Flyvbjerg2008,
        author = {B. Flyvbjerg},
         title = {Curbing Optimism Bias and Strategic Misrepresentation in Planning: Reference Class Forecasting in Practice},
       journal = {European Planning Studies, Vol. 16, No. 1},
          year = 2008
}

@Article         {Kriger2006,
        author = {Kriger, D. and Shiu, S. and Naylor, S.},
         title = {Estimating Toll Road Demand and Revenue - A Synthesis of Highway Practice},
       journal = {NCHRP Synthesis 364, Transport Research Board},
          year = 2006
}

@Article         {Bain2009,
        author = {R. Bain},
         title = {Error and optimism bias in toll road traffic forecasts},
       journal = {J. Transportation, N.5, pp. 469-482. DOI 10.1007/s11116-009-9199-7},
          year = 2009
}

@Article         {Shen2011,
        author = {Chao Shen and Yan Huang and Jason W. Powell},
         title = {The Design of a Benchmark for Geo-stream Management Systems},
       journal = {In 19th ACM SIGSPATIAL International Symposium on Advances in Geographic Information Systems, ACM-GIS 2011, pp. 409-412},
          year = 2011
}

@Article         {Arasu2004,
        author = {A. Arasu and M. Cherniack and E. Galvez and D. Maier and A. S. Maskey and E. Ryvkina and M. Stonebraker and R. Tibbetts},
         title = {Linear road: a stream data management benchmark},
       journal = {In Proceedings of the Thirtieth international conference on Very large data bases - Volume 30, VLDB2004, pages 480-491. VLDB Endowment},
          year = 2004
}

@Article         {Duntgen2009,
        author = {C. Duntgen and T. Behr and R. H. Guting},
         title = {C. Duntgen and T. Behr and R. H. Guting},
       journal = {The VLDB Journal, 18:1335-1368},
          year = 2009
}

@Article         {Jensen2006,
        author = {C. S. Jensen and D. Tiesyte and N. Tradisauskas},
         title = {{The COST benchmark-comparison and evaluation of spatio-temporal indexes}},
       journal = {Database Systems for Advanced Applications Lecture Notes in Computer Science Volume 3882, 2006, pp 125-140},
          year = 2006
}

@Article         {Myllymaki2003,
        author = {J. Myllymaki and J. Kaufman},
         title = {Dynamark: A benchmark for dynamic spatial indexing},
       journal = {In Proceedings of the 4th International Conference on Mobile Data Management, MDM2003, pages 92-105, London, UK. Springer-Verlag},
          year = 2003
}

@Article         {WikipediaOUI,
        author = {Wikipedia},
         title = {Organizationally Unique Identifier},
       journal = {In Wikipedia. Retrieved Feb 28, 2015, from http://en.wikipedia.org/wiki/Organizationally\_unique\_identifier},
          year = 2015
}

@Article         {IEEEBT,
        author = {IEEE},
         title = {The IEEE public BT OUI listing},
       journal = {Retrieved Feb 28, 2015, from http://standards.ieee.org/develop/regauth/oui/oui.txt},
          year = 2015
}

@article{kamarianakis2003forecasting,
  title={Forecasting traffic flow conditions in an urban network: comparison of multivariate and univariate approaches},
  author={Kamarianakis, Yiannis and Prastacos, Poulicos},
  journal={Transportation Research Record: Journal of the Transportation Research Board},
  volume={1857},
  number={1},
  pages={74--84},
  year={2003},
  publisher={Trans Res Board}
}

@article{hoogendoorn2001state,
  title={State-of-the-art of vehicular traffic flow modelling},
  author={Hoogendoorn, Serge P and Bovy, Piet HL},
  journal={Proceedings of the Institution of Mechanical Engineers, Part I: Journal of Systems and Control Engineering},
  volume={215},
  number={4},
  pages={283--303},
  year={2001},
  publisher={Sage Publications}
}

@article{guo2014adaptive,
  title={Adaptive Kalman filter approach for stochastic short-term traffic flow rate prediction and uncertainty quantification},
  author={Guo, Jianhua and Huang, Wei and Williams, Billy M},
  journal={Transportation Research Part C: Emerging Technologies},
  volume={43},
  pages={50--64},
  year={2014},
  publisher={Elsevier}
}

 @misc{ wiki:traffic,
   author = "Wikipedia",
   title = "Traffic flow --- Wikipedia{,} The Free Encyclopedia",
   year = "2015",
   url = "\url{http://en.wikipedia.org/w/index.php?title=Traffic_flow&oldid=643048180}",
   note = "[Online; accessed 3-May-2015]"
 }

@misc{ wiki:traffic:3phases,
   author = "Wikipedia",
   title = "Three-phase traffic theory --- Wikipedia{,} The Free Encyclopedia",
   year = "2015",
   url = "\url{http://en.wikipedia.org/w/index.php?title=Three-phase_traffic_theory&oldid=648137788}",
   note = "[Online; accessed 3-May-2015]"
 }

@article{xiaoxiong2009classification,
  title={Classification of Three-phase Traffic Flow of Urban Expressway Based on Fuzzy C-means Clustering [J]},
  author={Xiaoxiong, WANG Xuan WENG},
  journal={Journal of Transport Information and Safety},
  volume={1},
  pages={039},
  year={2009}
}
@article{lee2011dynamic,
  title={Dynamic OD estimation using three phase traffic flow theory},
  author={Lee, Seungjae and Heydecker, Benjamin and Kim, Yong Hoon and Shon, Eui-Young},
  journal={Journal of Advanced Transportation},
  volume={45},
  number={2},
  pages={143--158},
  year={2011},
  publisher={Wiley Online Library}
}

@article{PhysRevLett.81.3797,
  title = {Experimental Features of Self-Organization in Traffic Flow},
  author = {Kerner, B. S.},
  journal = {Phys. Rev. Lett.},
  volume = {81},
  issue = {17},
  pages = {3797--3800},
  numpages = {0},
  year = {1998},
  month = {Oct},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevLett.81.3797},
  url = {http://link.aps.org/doi/10.1103/PhysRevLett.81.3797}
}

@article {ATR:ATR117,
author = {Lee, Seungjae and Heydecker, Benjamin and Kim, Yong Hoon and Shon, Eui-Young},
title = {Dynamic OD estimation using three phase traffic flow theory},
journal = {Journal of Advanced Transportation},
volume = {45},
number = {2},
publisher = {John Wiley & Sons, Ltd.},
issn = {2042-3195},
url = {http://dx.doi.org/10.1002/atr.117},
doi = {10.1002/atr.117},
pages = {143--158},
keywords = {dynamic OD estimation, dynamic traffic flow model, flow breakdown},
year = {2011},
}


text:
## Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved.
cmake_minimum_required(VERSION 3.5.1)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(PUBLIC_DERIVED_COUNTERS_API_HEADERS_DX11
${CMAKE_CURRENT_LIST_DIR}/PublicDerivedCountersDX11Gfx10.h
${CMAKE_CURRENT_LIST_DIR}/PublicDerivedCountersDX11Gfx8.h
${CMAKE_CURRENT_LIST_DIR}/PublicDerivedCountersDX11Gfx9.h)

set(PUBLIC_DERIVED_COUNTERS_API_SRC_DX11
${CMAKE_CURRENT_LIST_DIR}/PublicDerivedCountersDX11Gfx10.cpp
${CMAKE_CURRENT_LIST_DIR}/PublicDerivedCountersDX11Gfx8.cpp
${CMAKE_CURRENT_LIST_DIR}/PublicDerivedCountersDX11Gfx9.cpp)

license: MIT

license_type: permissive

branch_name: refs/heads/master

extension: cmake


text:
SUMMARY = "Yet another URL library"
HOMEPAGE = "https://github.com/aio-libs/yarl/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"

inherit pypi setuptools3

SRC_URI[md5sum] = "34f60a148ab55e3bfde2c0efd7026308"
SRC_URI[sha256sum] = "9f0397ae540124bf16a8a5b89bc3ea1c07f8ae70c3e44231a40a9edd254d5712"

RDEPENDS_${PN} = "${PYTHON_PN}-multidict"

repository: bufferoverflow/meta-homeassistant

repo_name: bufferoverflow/meta-homeassistant

extension: bb


text:
@article{Tan-2020-The,
    title = "The Role of Circulation and Its Changes in Present and Future Atmospheric Rivers over Western North America",
    author = "Tan, Yaheng  and
      Zwiers, Francis  and
      Yang, Song  and
      Li, Chao  and
      Deng, Kaiqiang",
    journal = "Journal of Climate, Volume 33, Issue 4",
    volume = "33",
    number = "4",
    year = "2020",
    publisher = "American Meteorological Society",
    url = "https://aclanthology.org/G20-34001",
    doi = "10.1175/jcli-d-19-0134.1",
    pages = "1261--1281",
    abstract = "Abstract Performance in simulating atmospheric rivers (ARs) over western North America based on AR frequency and landfall latitude is evaluated for 10 models from phase 5 of the Coupled Model Intercomparison Project among which the CanESM2 model performs well. ARs are classified into southern, northern, and middle types using self-organizing maps in the ERA-Interim reanalysis and CanESM2. The southern type is associated with the development and eastward movement of anomalous lower pressure over the subtropical eastern Pacific, while the northern type is linked with the eastward movement of anomalous cyclonic circulation stimulated by warm sea surface temperatures over the subtropical western Pacific. The middle type is connected with the negative phase of North Pacific Oscillation{--}west Pacific teleconnection pattern. CanESM2 is further used to investigate projected AR changes at the end of the twenty-first century under the representative concentration pathway 8.5 scenario. AR definitions usually reference fixed integrated water vapor or integrated water vapor transport thresholds. AR changes under such definitions reflect both thermodynamic and dynamic influences. We therefore also use a modified AR definition that isolates change from dynamic influences only. The total AR frequency doubles compared to the historical period, with the middle AR type contributing the largest increases along the coasts of Vancouver Island and California. Atmospheric circulation (dynamic) changes decrease northern AR type frequency while increasing middle AR type frequency, indicating that future changes of circulation patterns modify the direct effect of warming on AR frequency, which would increase ARs (relative to fixed thresholds) almost everywhere along the North American coastline.",
}

repository: gwf-uwaterloo/gwf-publications

repo_name: gwf-uwaterloo/gwf-publications

branch_name: refs/heads/main

gha_language: Python

extension: bib


text:
% Encoding: UTF-8
@article{Brackney2017,
  title={Back to reality: the use of the presence questionnaire for measurement of fidelity in simulation},
  author={Brackney, Dana E and Priode, Kimberly},
  journal={J Nurs Meas},
  volume={25},
  number={2},
  pages={66--73},
  year={2017}
}

@article{Poeschl2013,
  title={The German VR Simulation Realism Scale-Psychometric Construction for Virtual Reality Applications with Virtual Humans.},
  author={Poeschl, Sandra and Doering, Nicola},
  journal={Annual Review of Cybertherapy and Telemedicine},
  volume={11},
  pages={33--37},
  year={2013}
}

@Article{Vosinakis2018,
author="Vosinakis, Spyros
and Koutsabasis, Panayiotis",
title="Evaluation of visual feedback techniques for virtual grasping with bare hands using Leap Motion and Oculus Rift",
journal="Virtual Reality",
year="2018",
month="Mar",
day="01",
volume="22",
number="1",
pages="47--62",
issn="1434-9957",
doi="10.1007/s10055-017-0313-4",
url="https://doi.org/10.1007/s10055-017-0313-4"
}

@Article{Koutsabasis2018,
author="Koutsabasis, Panayiotis
and Vosinakis, Spyros",
title="Kinesthetic interactions in museums: conveying cultural heritage by making use of ancient tools and (re-) constructing artworks",
journal="Virtual Reality",
year="2018",
month="Jun",
day="01",
volume="22",
number="2",
pages="103--118",
issn="1434-9957",
doi="10.1007/s10055-017-0325-0",
url="https://doi.org/10.1007/s10055-017-0325-0"
}

@article{Christopoulos2018,
author="Christopoulos, Athanasios
and Conrad, Marc
and Shukla, Mitul",
title="Increasing student engagement through virtual interactions: How?",
journal="Virtual Reality",
year="2018",
month="Nov",
day="01",
volume="22",
number="4",
pages="353--369",
issn="1434-9957",
doi="10.1007/s10055-017-0330-3",
url="https://doi.org/10.1007/s10055-017-0330-3"
}

@article{Gonzalez-Franco2018,
author = {Gonzalez-Franco, Mar and Peck, Tabitha C},
doi = {10.3389/frobt.2018.00074},
issn = {2296-9144},
journal = {Frontiers in Robotics and AI},
pages = {74},
title = {{Avatar Embodiment. Towards a Standardized Questionnaire}},
url = {https://www.frontiersin.org/article/10.3389/frobt.2018.00074},
volume = {5},
year = {2018}
}

@inproceedings{Qiu2017,
  title={Unrealcv: Virtual worlds for computer vision},
  author={Qiu, Weichao and Zhong, Fangwei and Zhang, Yi and Qiao, Siyuan and Xiao, Zihao and Kim, Tae Soo and Wang, Yizhou},
  booktitle={Proceedings of the 2017 ACM on Multimedia Conference},
  pages={1221--1224},
  year={2017},
  organization={ACM}
}

@article{feix2016grasp,
  title={The grasp taxonomy of human grasp types},
  author={Feix, Thomas and Romero, Javier and Schmiedmayer, Heinz-Bodo and Dollar, Aaron M and Kragic, Danica},
  journal={IEEE Transactions on Human-Machine Systems},
  volume={46},
  number={1},
  pages={66--77},
  year={2016},
  publisher={IEEE}
}

@inproceedings{Qiu2016,
  title={Unrealcv: Connecting computer vision to unreal engine},
  author={Qiu, Weichao and Yuille, Alan},
  booktitle={European Conference on Computer Vision},
  pages={909--916},
  year={2016},
  organization={Springer}
}

@inproceedings{yan2018,
 author = {Yan, Yukang and Yu, Chun and Ma, Xiaojuan and Yi, Xin and Sun, Ke and Shi, Yuanchun},
 title = {VirtualGrasp: Leveraging Experience of Interacting with Physical Objects to Facilitate Digital Object Retrieval},
 booktitle = {Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems},
 series = {CHI '18},
 year = {2018},
 isbn = {978-1-4503-5620-6},
 location = {Montreal QC, Canada},
 pages = {78:1--78:13},
 articleno = {78},
 numpages = {13},
 url = {http://doi.acm.org/10.1145/3173574.3173652},
 doi = {10.1145/3173574.3173652},
 acmid = {3173652},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {gesture, mapping, object selection},
}

@article{argelaguet2013,
  title={A survey of 3D object selection techniques for virtual environments},
  author={Argelaguet, Ferran and Andujar, Carlos},
  journal={Computers \& Graphics},
  volume={37},
  number={3},
  pages={121--136},
  year={2013},
  publisher={Elsevier}
}

@article{aydin1999,
  title={Database guided computer animation of human grasping using forward and inverse kinematics},
  author={Aydin, Yahya and Nakajima, Masayuki},
  journal={Computers \& Graphics},
  volume={23},
  number={1},
  pages={145--154},
  year={1999},
  publisher={Elsevier}
}

@article{li2007,
author={Y. Li and J. L. Fu and N. S. Pollard},
journal={IEEE Transactions on Visualization and Computer Graphics},
title={Data-Driven Grasp Synthesis Using Shape Matching and Task-Based Pruning},
year={2007},
volume={13},
number={4},
pages={732-747},
keywords={computer animation;pattern matching;anatomically-based grasp quality measure;whole-hand grasps;human grasps;task-based pruning;shape matching;data-driven grasp synthesis;Humans;Shape measurement;Mice;Clustering algorithms;Facial animation;Spatial databases;Virtual environment;Grasping;Surface treatment;Data mining;Grasp synthesis;hands;shape matching;grasp quality.;Algorithms;Artificial Intelligence;Computer Graphics;Computer Simulation;Databases, Factual;Hand;Hand Strength;Humans;Image Enhancement;Image Interpretation, Computer-Assisted;Imaging, Three-Dimensional;Information Storage and Retrieval;Models, Biological;Numerical Analysis, Computer-Assisted;Pattern Recognition, Automated;Task Performance and Analysis;User-Computer Interface},
doi={10.1109/TVCG.2007.1033},
ISSN={1077-2626},
month={July},}

@Article{goldfeder2011,
author="Goldfeder, Corey
and Allen, Peter K.",
title="Data-driven grasping",
journal="Autonomous Robots",
year="2011",
month="Jul",
day="01",
volume="31",
number="1",
pages="1--20",
abstract="This paper propose a novel framework for a data driven grasp planner that indexes partial sensor data into a database of 3D models with known grasps and transfers grasps from those models to novel objects. We show how to construct such a database and also demonstrate multiple methods for matching into it, aligning the matched models with the known sensor data of the object to be grasped, and selecting an appropriate grasp to use. Our approach is experimentally validated in both simulated trials and trials with robots.",
issn="1573-7527",
doi="10.1007/s10514-011-9228-1",
url="https://doi.org/10.1007/s10514-011-9228-1"
}

@inproceedings{wheatland2015,
  title={State of the art in hand and finger modeling and animation},
  author={Wheatland, Nkenge and Wang, Yingying and Song, Huaguang and Neff, Michael and Zordan, Victor and J{\"o}rg, Sophie},
  booktitle={Computer Graphics Forum},
  volume={34},
  pages={735--760},
  year={2015},
  organization={Wiley Online Library}
}

@inproceedings{jorg2009,
  author    = {Sophie J{\"o}rg and Carol O'Sullivan},
  title     = {Exploring the Dimensionality of Finger Motion},
  year      = {2009},
  booktitle = {Proceedings of the 9th Eurographics Ireland Workshop (EGIE 2009)},
  pages     = {1--11},
  month	    = {December 11},
  location  = {Dublin, Ireland},
  issn      = {1649-1807},
}

@article{ye2012,
  title={Synthesis of detailed hand manipulations using contact sampling},
  author={Ye, Yuting and Liu, C Karen},
  journal={ACM Transactions on Graphics (TOG)},
  volume={31},
  number={4},
  pages={41},
  year={2012},
  publisher={ACM}
}

@inproceedings{pollard2005,
 author = {Pollard, Nancy S. and Zordan, Victor Brian},
 title = {Physically Based Grasping Control from Example},
 booktitle = {Proceedings of the 2005 ACM SIGGRAPH/Eurographics Symposium on Computer Animation},
 series = {SCA '05},
 year = {2005},
 isbn = {1-59593-198-8},
 location = {Los Angeles, California},
 pages = {311--318},
 numpages = {8},
 url = {http://doi.acm.org/10.1145/1073368.1073413},
 doi = {10.1145/1073368.1073413},
 acmid = {1073413},
 publisher = {ACM},
 address = {New York, NY, USA},
}

@inproceedings{kry2006,
  title={Interaction capture and synthesis},
  author={Kry, Paul G and Pai, Dinesh K},
  booktitle={ACM Transactions on Graphics (TOG)},
  volume={25},
  pages={872--880},
  year={2006},
  organization={ACM}
}

@inproceedings{bai2014,
author={Y. Bai and C. K. Liu},
booktitle={2014 IEEE International Conference on Robotics and Automation (ICRA)},
title={Dexterous manipulation using both palm and fingers},
year={2014},
volume={},
number={},
pages={1560-1565},
keywords={dexterous manipulators;energy conservation;force control;motion control;physical property;geometry property;robotic hand manipulation;rolling motion;multifingers controller;energy dissipation;mechanical energy conservation;tilting angle;contact force;gravitational force;palm;control technique;polygonal object;dexterous manipulation;Kinetic energy;Robot sensing systems;Force;Equations;Shape;Torque},
doi={10.1109/ICRA.2014.6907059},
ISSN={1050-4729},
month={May},}

@inproceedings{liu2009,
 author = {Liu, C. Karen},
 title = {Dextrous Manipulation from a Grasping Pose},
 booktitle = {ACM SIGGRAPH 2009 Papers},
 series = {SIGGRAPH '09},
 year = {2009},
 isbn = {978-1-60558-726-4},
 location = {New Orleans, Louisiana},
 pages = {59:1--59:6},
 articleno = {59},
 numpages = {6},
 url = {http://doi.acm.org/10.1145/1576246.1531365},
 doi = {10.1145/1576246.1531365},
 acmid = {1531365},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {character animation, physics-based animation},
}

@inproceedings{miller2003,
  title={Automatic grasp planning using shape primitives},
  author={Miller, Andrew T and Knoop, Steffen and Christensen, Henrik I and Allen, Peter K},
  booktitle={Robotics and Automation, 2003. Proceedings. ICRA'03. IEEE International Conference on},
  volume={2},
  pages={1824--1829},
  year={2003},
  organization={IEEE}
}

@article{braido2004,
  title={Quantitative analysis of finger motion coordination in hand manipulative and gestic acts},
  author={Braido, Peter and Zhang, Xudong},
  journal={Human movement science},
  volume={22},
  number={6},
  pages={661--678},
  year={2004},
  publisher={Elsevier}
}

@INPROCEEDINGS{ciocarlie2007,
author={M. {Ciocarlie} and C. {Goldfeder} and P. {Allen}},
booktitle={2007 IEEE/RSJ International Conference on Intelligent Robots and Systems},
title={Dimensionality reduction for hand-independent dexterous robotic grasping},
year={2007},
volume={},
number={},
pages={3270-3275},
keywords={dexterous manipulators;manipulator kinematics;dimensionality reduction;hand-independent dexterous robotic grasping;kinematic structures;Humans;Grasping;Orbital robotics;Algorithm design and analysis;Taxonomy;Intelligent robots;Neuroscience;Testing;Data gloves;Automatic control},
doi={10.1109/IROS.2007.4399227},
ISSN={2153-0858},
month={Oct},}

@misc{copenhaver2017,
author="Jacob Copenhaver",
title="VR Animation and Locomotion Systems in Lone Echo",
publisher="GDC_2017",
year="2017",
pages="17-27",
url="https://www.gdcvault.com/play/1024446/It-s-All-in-the"
}

@Misc{oculusDistanceGrab2017,
  author       = {Oculus},
  howpublished = {\url{https://developer.oculus.com/blog/distance-grab-sample-now-available-in-oculus-unity-sample-framework/}},
  note         = {Accessed: 2019-04-11},
  title        = {Distance Grab Sample Now Available in Oculus Unity Sample Framework},
}

@Misc{oculusFirstExperience,
  author       = {Oculus},
  howpublished = {\url{https://www.oculus.com/experiences/rift/1217155751659625/}},
  note         = {Accessed: 2019-04-11},
  title        = {Oculus First Contact},
  editor       = {Oculus},
}

@Misc{vrtemplate2016,
  author       = {Tom Looman},
  howpublished = {\url{https://wiki.unrealengine.com/VR\_Template}},
  note         = {Accessed: 2019-04-11},
  title        = {VR Template},
}

@inproceedings{calli2015,
  title={The ycb object and model set: Towards common benchmarks for manipulation research},
  author={Calli, Berk and Singh, Arjun and Walsman, Aaron and Srinivasa, Siddhartha and Abbeel, Pieter and Dollar, Aaron M},
  booktitle={Advanced Robotics (ICAR), 2015 International Conference on},
  pages={510--517},
  year={2015},
  organization={IEEE}
}

%Review oriented to surgery trainign, focused in virtual reality simulation with robots.
@article{bric2016current,
  title={Current state of virtual reality simulation in robotic surgery training: a review},
  author={Bric, Justin D and Lumbard, Derek C and Frelich, Matthew J and Gould, Jon C},
  journal={Surgical endoscopy},
  volume={30},
  number={6},
  pages={2169--2178},
  year={2016},
  publisher={Springer}
}

%This article comments various interesting things about virtual reality rehabilitation, is centered on upper limb.
@article{levin2015emergence,
  title={Emergence of virtual reality as a tool for upper limb rehabilitation: incorporation of motor control and motor learning principles},
  author={Levin, Mindy F and Weiss, Patrice L and Keshner, Emily A},
  journal={Physical therapy},
  volume={95},
  number={3},
  pages={415--425},
  year={2015},
  publisher={Oxford University Press}
}

%Teleopration robot and imitation by means of Deep learnig methods
@inproceedings{zhang2018deep,
  title={Deep imitation learning for complex manipulation tasks from virtual reality teleoperation},
  author={Zhang, Tianhao and McCarthy, Zoe and Jowl, Owen and Lee, Dennis and Chen, Xi and Goldberg, Ken and Abbeel, Pieter},
  booktitle={2018 IEEE International Conference on Robotics and Automation (ICRA)},
  pages={1--8},
  year={2018},
  organization={IEEE}
}

%This work is not too Good. The interaction system approach to interact in augmented reality is really simple. Compered with this the UnrealApproach is better, if we could get the joints since wearables.
@article{lv2015touch,
  title={Touch-less interactive augmented reality game on vision-based wearable device},
  author={Lv, Zhihan and Halawani, Alaa and Feng, Shengzhong and Ur R{\'e}hman, Shafiq and Li, Haibo},
  journal={Personal and Ubiquitous Computing},
  volume={19},
  number={3-4},
  pages={551--567},
  year={2015},
  publisher={Springer-Verlag}
}

@ARTICLE{bohg2014data,
author={J. {Bohg} and A. {Morales} and T. {Asfour} and D. {Kragic}},
journal={IEEE Transactions on Robotics},
title={Data-Driven Grasp Synthesis—A Survey},
year={2014},
volume={30},
number={2},
pages={289-309},
keywords={feature extraction;grippers;image matching;object recognition;pose estimation;sampling methods;candidate grasp ranking;candidate grasp sampling;common object representations;perceptual processes;data-driven grasp synthesis technique;object recognition;pose estimation;similarity matching;robot grasping;feature extraction;Grasping;Robot sensing systems;Measurement;Databases;Feature extraction;Grasp planning;grasp synthesis;object grasping and manipulation;object recognition and classification;visual perception;visual representations},
doi={10.1109/TRO.2013.2289018},
ISSN={1552-3098},
month={April},}

%A grasp point dataset is generated by means of a wearable glove. With that dataset a simulated three fingerFed hand is moved. The were compared with “GraspIt” method, and obviously they are better. They get an effective human-robot experience transfer, at least, since the obtained grasp point dataset. (This is planning, not machine learning)
@article{lin2015robot,
  title={Robot grasp planning based on demonstrated grasp strategies},
  author={Lin, Yun and Sun, Yu},
  journal={The International Journal of Robotics Research},
  volume={34},
  number={1},
  pages={26--42},
  year={2015},
  publisher={SAGE Publications Sage UK: London, England}
}

%Grasping in familiar objects
@inproceedings{vahrenkamp2016part,
  title={Part-based grasp planning for familiar objects},
  author={Vahrenkamp, Nikolaus and Westkamp, Leonard and Yamanobe, Natsuki and Aksoy, Eren E and Asfour, Tamim},
  booktitle={Humanoid Robots (Humanoids), 2016 IEEE-RAS 16th International Conference on},
  pages={919--925},
  year={2016},
  organization={IEEE}
}

@article{zapata2017using,
author = {Zapata-Impata, Brayan S. and Gil, Pablo and Pomares, Jorge and Torres, Fernando},
doi = {10.1177/1729881419831846},
issn = {1729-8814},
journal = {International Journal of Advanced Robotic Systems},
keywords = {3d point cloud,grasp contacts computation,novel object grasping,robotic grasping,visual perception},
month = {jan},
number = {1},
pages = {172988141983184},
title = {{Fast geometry-based computation of grasping points on three-dimensional point clouds}},
url = {http://journals.sagepub.com/doi/10.1177/1729881419831846},
volume = {16},
year = {2019}
}

%Deep learning in grasping problems
@article{levine2018learning,
  title={Learning hand-eye coordination for robotic grasping with deep learning and large-scale data collection},
  author={Levine, Sergey and Pastor, Peter and Krizhevsky, Alex and Ibarz, Julian and Quillen, Deirdre},
  journal={The International Journal of Robotics Research},
  volume={37},
  number={4-5},
  pages={421--436},
  year={2018},
  publisher={SAGE Publications Sage UK: London, England}
}

%Tele rehabilitation
@inproceedings{escobar2018virtual,
  title={Virtual System Using Haptic Device for Real-Time Tele-Rehabilitation of Upper Limbs},
  author={Escobar, Iv{\'o}n and G{\'a}lvez, Catherine and Corrales, Gabriel and Pruna, Edwin and Pilatasig, Marco and Montaluisa, Javier},
  booktitle={International Conference on Augmented Reality, Virtual Reality and Computer Graphics},
  pages={136--152},
  year={2018},
  organization={Springer}
}

%Reabilitation recurrent neural netwirk virtual reality
@article{avola2018vrheab,
  title={VRheab: a fully immersive motor rehabilitation system based on recurrent neural network},
  author={Avola, Danilo and Cinque, Luigi and Foresti, Gian Luca and Marini, Marco Raoul and Pannone, Daniele},
  journal={Multimedia Tools and Applications},
  pages={1--28},
  year={2018},
  publisher={Springer}
}

%Cognitive reabilitation by means of virtual daily task
@article{faria2016benefits,
  title={Benefits of virtual reality based cognitive rehabilitation through simulated activities of daily living: a randomized controlled trial with stroke patients},
  author={Faria, Ana L{\'u}cia and Andrade, Andreia and Soares, Lu{\'\i}sa and i Badia, Sergi Berm{\'u}dez},
  journal={Journal of neuroengineering and rehabilitation},
  volume={13},
  number={1},
  pages={96},
  year={2016},
  publisher={BioMed Central}
}

%Patent - Grasp virtual objects
@misc{hilliges2017grasping,
  title={Grasping virtual objects in augmented reality},
  author={Hilliges, Otmar and Kim, David and Izadi, Shahram and Weiss, Malte Hanno},
  year={2017},
  month=jan # "~24",
  publisher={Google Patents},
  note={US Patent 9,552,673}
}

@InProceedings{Verschoor2018,
  author    = {M. {Verschoor} and D. {Lobo} and M. A. {Otaduy}},
  title     = {Soft Hand Simulation for Smooth and Robust Natural Interaction},
  booktitle = {2018 IEEE Conference on Virtual Reality and 3D User Interfaces (VR)},
  year      = {2018},
  pages     = {183-190},
  month     = {March},
  doi       = {10.1109/VR.2018.8447555},
  keywords  = {Skin;Skeleton;Computational modeling;Couplings;Robustness;Strain;Tracking;Hand Interaction;VR;Simulation: Computing methodologies-Computer graphics-Graphics systems and interfaces-Virtual reality;Human-centered computing-Human computer interaction (HCI)-Interaction techniques},
}

@InProceedings{Garre2011,
  author    = {C. {Garre} and F. {Hernández} and A. {Gracia} and M. A. {Otaduy}},
  title     = {Interactive simulation of a deformable hand for haptic rendering},
  booktitle = {2011 IEEE World Haptics Conference},
  year      = {2011},
  pages     = {239-244},
  month     = {June},
  doi       = {10.1109/WHC.2011.5945492},
  keywords  = {haptic interfaces;rendering (computer graphics);interactive simulation;deformable hand;haptic rendering;palpation;virtual object manipulation;haptic grasping;soft finger contact;haptic device;Computational modeling;Bones;Haptic interfaces;Joints;Couplings;Deformable models},
}

@Article{Landsmeer1962,
  author    = {Landsmeer, JMF},
  title     = {Power grip and precision handling},
  journal   = {Annals of the rheumatic diseases},
  year      = {1962},
  volume    = {21},
  number    = {2},
  pages     = {164},
  publisher = {BMJ Publishing Group},
}

@Comment{jabref-meta: databaseType:bibtex;}


text:
SRC_URI[md5sum] = "61b51a04619aeafd965892a53f86d192"
SRC_URI[sha256sum] = "167bd6a13e05ece326b968fdb539b05c2ffcfef6018a274a10aeda85c2c0027a"
require clamav.inc

repository: Securepoint/yocto-meta-securepoint

repo_name: Securepoint/yocto-meta-securepoint


text:
package zip

import (
	"archive/zip"
	"io"
	"path/filepath"

	"github.com/pkg/errors"
)

func extract(file *zip.File, dest string) error {
	if file.FileInfo().IsDir() {
		path := filepath.Join(dest, file.Name)
		return fs.MkdirAll(path, file.FileInfo().Mode())
	}
	zippedF, err := file.Open()
	if err != nil {
		return errors.Wrap(err, "opening zipped file")
	}
	defer zippedF.Close()
	destF, err := fs.Create(dest)
	if err != nil {
		return errors.Wrap(err, "opening destination file")
	}
	defer destF.Close()
	if _, err := io.Copy(destF, zippedF); err != nil {
		return errors.Wrap(err, "copying data")
	}
	return nil
}

repository: JackMordaunt/zip

repo_name: JackMordaunt/zip

extension: go


text:
@ARTICLE{soa_limit,
    title={The promise and limitations of service oriented architecture},
    author={Mahmood, Zaigham},
    journal={International journal of Computers},
    volume={1},
    number={3},
    pages={74--78},
    year={2007},
    publisher={Citeseer}
}

@ARTICLE{quality,
    author={Kitchenham, B. and Pfleeger, S.L.},
    journal={Software, IEEE},
    title={Software quality: the elusive target [special issues section]},
    year={1996},
    volume={13},
    number={1},
    pages={12-21},
    keywords={software maintenance;software performance evaluation;software quality;software developer;software evaluation;software maintenance;software manager;software processes;software products;software quality;Automobiles;Computer errors;Computer networks;Consumer products;Error correction;Hardware;Software quality;Software tools;Telephony;Washing machines},
    doi={10.1109/52.476281},
    ISSN={0740-7459},
    month={Jan},
}

@ARTICLE{measure,
    author = {Cavano, Joseph P. and McCall, James A.},
    title = {A Framework for the Measurement of Software Quality},
    journal = {SIGSOFT Softw. Eng. Notes},
    issue_date = {November 1978},
    volume = {3},
    number = {5},
    month = jan,
    year = {1978},
    issn = {0163-5948},
    pages = {133--139},
    numpages = {7},
    url = {http://doi.acm.org/10.1145/953579.811113},
    doi = {10.1145/953579.811113},
    acmid = {811113},
    publisher = {ACM},
    address = {New York, NY, USA},
}

@INPROCEEDINGS{devops,
    author = {Stillwell, Mark and Coutinho, Jose G. F.},
    title = {A DevOps Approach to Integration of Software Components in an EU Research Project},
    booktitle = {Proceedings of the 1st International Workshop on Quality-Aware DevOps},
    series = {QUDOS 2015},
    year = {2015},
    isbn = {978-1-4503-3817-2},
    location = {Bergamo, Italy},
    pages = {1--6},
    numpages = {6},
    url = {http://doi.acm.org/10.1145/2804371.2804372},
    doi = {10.1145/2804371.2804372},
    acmid = {2804372},
    publisher = {ACM},
    address = {New York, NY, USA},
    keywords = {Ansible, Automated Testing, BuildBot, Configuration Management, DevOps, Docker, GitLab, OpenStack, Vagrant},
}

@ARTICLE{deploy,
    author = {Merkel, Dirk},
    title = {Docker: Lightweight Linux Containers for Consistent Development and Deployment},
    journal = {Linux J.},
    issue_date = {March 2014},
    volume = {2014},
    number = {239},
    month = mar,
    year = {2014},
    issn = {1075-3583},
    articleno = {2},
    url = {http://dl.acm.org/citation.cfm?id=2600239.2600241},
    acmid = {2600241},
    publisher = {Belltown Media},
    address = {Houston, TX},
}

@ARTICLE{repro,
    author    = {Carl Boettiger},
    title     = {An introduction to Docker for reproducible research, with examples
        from the {R} environment},
    journal   = {CoRR},
    volume    = {abs/1410.0846},
    year      = {2014},
    url       = {http://arxiv.org/abs/1410.0846},
    timestamp = {Sun, 02 Nov 2014 11:25:59 +0100},
    biburl    = {http://dblp.uni-trier.de/rec/bib/journals/corr/Boettiger14},
    bibsource = {dblp computer science bibliography, http://dblp.org}
}

@ARTICLE{test,
    title={A Service Framework for Parallel Test Execution on a Developer's Local Development Workstation},
    author={Rahman, Mazedur and Chen, Zehua and Gao, Jerry}
}

@INPROCEEDINGS{container,
    author={Tosatto, A. and Ruiu, P. and Attanasio, A.},
    booktitle={Complex, Intelligent, and Software Intensive Systems (CISIS), 2015 Ninth International Conference on},
    title={Container-Based Orchestration in Cloud: State of the Art and Challenges},
    year={2015},
    pages={70-75},
    keywords={Big Data;Internet of Things;cloud computing;computer centres;resource allocation;virtual machines;virtualisation;Big Data;Internet of Things;IoT;VM;cloud computing;cloud data center;container-based orchestration;virtual machine;Cloud computing;Containers;Hardware;Kernel;Linux;Virtualization;cloud computing;containers;orchestration;system-level virtualization},
    doi={10.1109/CISIS.2015.35},
    month={July},
}

@INPROCEEDINGS{soa,
    author={Baraldo, V. and Zuccato, A. and Vardanega, T.},
    booktitle={Service-Oriented System Engineering (SOSE), 2015 IEEE Symposium on},
    title={Reconciling Service Orientation with the Cloud},
    year={2015},
    pages={195-202},
    keywords={cloud computing;service-oriented architecture;Amazon Web services;PaaSSOA;SOA principles;SOA-based PaaS prototype;SaaS market;cloud computing paradigm;real IaaS instance;service orientation;service oriented architecture principles;service-level agreements;Cloud computing;Computer architecture;Elasticity;Monitoring;Quality of service;Scalability;Service-oriented architecture;elasticity;micro-services;platform as a service;service-oriented computing},
    doi={10.1109/SOSE.2015.26},
    month={March},
}

@inproceedings{binet2015docker,
  title={docker \& HEP: containerization of applications for development, distribution and preservation},
  author={Binet, S{\'e}bastien and Couturier, B},
  booktitle={Conference on Computing in High Energy and Nuclear Physics--CHEP2015},
  year={2015}
}


text:
@article{Alwall:2014hca,
    author         = "Alwall, J. and Frederix, R. and Frixione, S. and Hirschi,
    V. and Maltoni, F. and Mattelaer, O. and Shao, H. -S. and
    Stelzer, T. and Torrielli, P. and Zaro, M.",
    title          = "{The automated computation of tree-level and
    next-to-leading order differential cross sections, and
    their matching to parton shower simulations}",
    journal        = "JHEP",
    volume         = "07",
    year           = "2014",
    pages          = "079",
    doi            = "10.1007/JHEP07(2014)079",
    eprint         = "1405.0301",
    archivePrefix  = "arXiv",
    primaryClass   = "hep-ph",
    reportNumber   = "CERN-PH-TH-2014-064, CP3-14-18, LPN14-066, MCNET-14-09,
    ZU-TH-14-14",
    SLACcitation   = "%%CITATION = ARXIV:1405.0301;%%"
},

@article{Sjöstrand2015159,
title = "An introduction to {PYTHIA} 8.2 ",
journal = "Computer Physics Communications ",
volume = "191",
number = "",
pages = "159 - 177",
year = "2015",
note = "",
issn = "0010-4655",
doi = "http://dx.doi.org/10.1016/j.cpc.2015.01.024",
url = "http://www.sciencedirect.com/science/article/pii/S0010465515000442",
author = "Torbjörn Sjöstrand and Stefan Ask and Jesper R. Christiansen and Richard Corke and Nishita Desai and Philip Ilten and Stephen Mrenna and Stefan Prestel and Christine O. Rasmussen and Peter Z. Skands",
keywords = "Event generators",
keywords = "Multiparticle production",
keywords = "Matrix elements",
keywords = "Parton showers",
keywords = "Matching and merging",
keywords = "Multiparton interactions",
keywords = "Hadronisation "
},

@Article{Favereau2014,
author="Favereau, J.
and Delaere, C.
and Demin, P.
and Giammanco, A.
and Lema{\^i}tre, V.
and Mertens, A.
and Selvaggi, M.",
title="DELPHES 3: a modular framework for fast simulation of a generic collider experiment",
journal="Journal of High Energy Physics",
year="2014",
volume="2014",
number="2",
pages="1--26",
abstract="The version 3.0 of the Delphes fast-simulation is presented. The goal of Delphes is to allow the simulation of a multipurpose detector for phenomenological studies. The simulation includes a track propagation system embedded in a magnetic field, electromagnetic and hadron calorimeters, and a muon identification system. Physics objects that can be used for data analysis are then reconstructed from the simulated detector response. These include tracks and calorimeter deposits and high level objects such as isolated electrons, jets, taus, and missing energy. The new modular approach allows for greater flexibility in the design of the simulation and reconstruction sequence. New features such as the particle-flow reconstruction approach, crucial in the first years of the LHC, and pile-up simulation and mitigation, which is needed for the simulation of the LHC detectors in the near future, have also been implemented. The Delphes framework is not meant to be used for advanced detector studies, for which more accurate tools are needed. Although some aspects of Delphes are hadron collider specific, it is flexible enough to be adapted to the needs of electron-positron collider experiments.                                                                                ",
issn="1029-8479",
doi="10.1007/JHEP02(2014)057",
url="http://dx.doi.org/10.1007/JHEP02(2014)057"
}

repository: maxisacson/sml-project

repo_name: maxisacson/sml-project


text:
SSUMMARY = "Amlogic player library"
PACKAGE_ARCH = "${MACHINE_ARCH}"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

PR = "r2"

DEPENDS = " libamadec  libamcodec"
RDEPENDS_${PN} = " libamadec libamcodec "

inherit lib_package

SRC_URI = "http://sources.openelec.tv/devel/libamcodec-75f23da.tar.xz \
           file://00-amplayer-makefile-fixes.patch \
           file://libamplayer.pc \
"
S = "${WORKDIR}/libamcodec-75f23da/amplayer"

SRC_URI[md5sum] = "55148d35b559e37efa1be016cbf90fe1"
SRC_URI[sha256sum] = "22080b09237a66de69e168e7b088c123ae88518c3bcaf60e09f7923bab1d2f53"

EXTRA_OEMAKE = "'CC=${CC}' \
                'CFLAGS=-fPIC -DENABLE_FREE_SCALE -I${S}/include -I${S}/../amffmpeg -I${S}/player/ \
                -I${S}/player/include -I${S} -I${STAGING_INCDIR}/amlogic/amcodec' \
                'LDFLAGS=-lamadec -lm -lc  -shared -Wl,--shared ' "

### NOTE:
do_install() {
    install -d ${D}${libdir}/pkgconfig
    install -m 0644 ${WORKDIR}/libamplayer.pc ${D}${libdir}/pkgconfig/
    install -d ${D}${includedir}/amlogic/player
    install -d ${D}${libdir}
    install -m 0755  ${S}/libamplayer.so  ${D}${libdir}
    cp -pR  ${S}/player/include/* ${D}${includedir}/amlogic/player
}

FILES_${PN} = "${libdir}/* "
FILES_${PN}-dev = "${includedir}/*"

do_rm_work(){
}

repository: OpenAmlogic/meta-aml

repo_name: OpenAmlogic/meta-aml


text:
@inproceedings{Jiaqi2018KDD,
    author = {Ma, Jiaqi and Zhao, Zhe and Yi, Xinyang and Chen, Jilin and Hong, Lichan and Chi, Ed H.},
    title = {Modeling Task Relationships in Multi-Task Learning with Multi-Gate Mixture-of-Experts},
    year = {2018},
    isbn = {9781450355520},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    url = {https://doi.org/10.1145/3219819.3220007},
    doi = {10.1145/3219819.3220007},
    booktitle = {Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining},
    pages = {1930–1939},
    numpages = {10},
    keywords = {neural network, multi-task learning, recommendation system, mixture of experts},
    location = {London, United Kingdom},
    series = {KDD ’18}
}

repository: godplusone/TAAN-MTL

repo_name: godplusone/TAAN-MTL


text:
package main

import (
	"fmt"
	"os"
)

type Project struct {
	Path string
}

func NewProject(path string) *Project {
	path = TrimRightPathSep(path)
	return &Project{Path: path}
}

func TrimRightPathSep(path string) string {
	n := len(path)
	if n > 0 {
		if path[n-1] == os.PathSeparator {
			path = path[:n-1]
		}
	}
	return path
}

func (p *Project) GetWriteDir() (string, error) {
	wa := fmt.Sprintf(".%cdot.geist%c%s%c", os.PathSeparator, os.PathSeparator, p.Path, os.PathSeparator)
	err := os.MkdirAll(wa, 0777)
	return wa, err
}

repository: glycerine/geist

repo_name: glycerine/geist


text:
################################################################################
#
# The master version of this file lives at
# NWChemEx-Project/DeveloperTools/cmake/get_cpp.cmake. The version contained in
# all other NWChemEx-Project repositories  is a synchronized copy of the master
# version. Any changes made to the non-master version will be lost the next time
# the master version is updated. To make changes please make them to the master
# version.
#
################################################################################

include_guard()

#[[
# This function encapsulates the process of getting CMakePP using CMake's
# FetchContent module. We have encapsulated it in a function so we can set
# the options for its configure step without affecting the options for the
# parent project's configure step (namely we do not want to build CMakePP's
# unit tests).
#]]
function(get_cpp)

    # Store whether we are building tests or not, then turn off the tests
    set(build_testing_old "${BUILD_TESTING}")
    set(BUILD_TESTING OFF CACHE BOOL "" FORCE)

    # Download CMakePP and bring it into scope
    include(FetchContent)
    FetchContent_Declare(
            cpp
            GIT_REPOSITORY https://github.com/CMakePP/CMakePackagingProject
    )
    FetchContent_MakeAvailable(cpp)

    # Restore the previous value
    set(BUILD_TESTING "${build_testing_old}" CACHE BOOL "" FORCE)
endfunction()

# Call the function we just wrote to get CMakePP
get_cpp()

# Include CMakePP
include(cpp/cpp)

repository: NWChemEx-Project/DeveloperTools

repo_name: NWChemEx-Project/DeveloperTools

gha_language: CMake


text:
package engine

import (
	"github.com/asalih/guardian/matches"
)

func init() {
	TransactionMaps.variableMap["REMOTE_ADDR"] =
		&TransactionData{func(executer *TransactionExecuterModel) *matches.MatchResult {

			return executer.rule.ExecuteRule(executer.transaction.Request.RemoteAddr)
		}}
}


text:
@inproceedings{verma2020meta,
  title={Meta-learning for generalized zero-shot learning},
  author={Verma, Vinay Kumar and Brahma, Dhanajit and Rai, Piyush},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={34},
  number={04},
  pages={6062--6069},
  year={2020}
}

url: https://raw.githubusercontent.com/rbt-c/DL-NLP-Readings/82ca76e9184a3b00ac87129d99391477c85cfcd2/Bibtex/Meta-Learning for Generalized Zero-Shot Learning.bib

repository: rbt-c/DL-NLP-Readings

repo_name: rbt-c/DL-NLP-Readings


text:
package main

import (

	"fmt"
	// "strings"
	"time"
)

func main(){

	// Ex-01: a simple if statement---------------------------------

	// if auth := true;auth{

	// 	fmt.Println("Hello User")

	// }

	// EX-02: if else if-----------------------------------------

	// hash := "gshsjiksmHell7ondhyuyG8ohst8787s"

	// isHello := strings.Contains(hash,"Hello")

	// isGo := strings.Contains(hash,"Go")

	// if isHello && isGo{

	// 	fmt.Println("contains: Hello and Go")

	// }else if isHello || isGo{

	// 	fmt.Println("contains: either Hello or Go")

	// }else{							// not in next line

	// 	fmt.Println("Contains: Neither Hello nor Go")
	// }

	////Challenge-----------------------------------------------------

	t1 := time.Now()

	t2 := time.Now()

	if t2.Sub(t1).Nanoseconds()==0{

		fmt.Println("t1 is equal to t2")
	}else{

		fmt.Println("t1 is not equal to t2")
	}

	// //what is the answer? write in comment section below.

}


text:
# Copyright (C) 2015 Hewlett Packard Enterprise Development LP

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

PR = "1"
S = "${WORKDIR}"

SRC_URI = " \
    file://00-eth0.link \
    file://oobm.network \
"

do_install () {
   install -d ${D}${sysconfdir}/systemd/network/
   install -m 0644 00-eth0.link  ${D}${sysconfdir}/systemd/network/
   install -m 0644 oobm.network  ${D}${sysconfdir}/systemd/network/
}

FILES_${PN} = "${sysconfdir}"


text:
DESCRIPTION = "Writeprom script for omap3 boards with EEPROM on there expansionboard - see http://www.elinux.org/BeagleBoardPinMux#Vendor_and_Device_IDs"

SRC_URI = "file://writeprom.sh"

S = "${WORKDIR}"

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

PACKAGE_ARCH = "all"
RDEPENDS_${PN} = "i2c-tools"
FILES_${PN} = "${bindir}"

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
inproceedings{03Zhang23,
author = {Zhang, Lisa and Simion, Bogdan and Kaler, Michael and Liaqat, Amna and Dick, Daniel and Bergen, Andi and Miljanovic, Michael and Petersen, Andrew},
title = {Embedding and Scaling Writing Instruction Across First- and Second-Year Computer Science Courses},
year = {2023},
isbn = {9781450394314},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3545945.3569729},
doi = {10.1145/3545945.3569729},
abstract = {Writing skills are often considered unimportant by computer science students and were under-emphasized in our curriculum. We describe our experience embedding CS-specific writing instruction at scale in most of our large, core, first- and second-year Computer Science courses, each with 300-800+ students. Our approach is to collaborate with a writing specialist and a community of course instructors, centralize the management of writing teaching assistants, and introduce a variety of relevant genres and contexts to help students develop and apply writing skills. We outline the institutional support and organization crucial to a project of this scale. In addition, we report on a survey collecting student perception of the writing instruction/assessment. We reflect on quantitative and qualitative evidence of success, as well as the challenges that we faced. We believe that many of these challenges will be common across institutions, parti
cularly those with large courses.},
booktitle = {Proceedings of the 54th ACM Technical Symposium on Computer Science Education V. 1},
pages = {610–616},
numpages = {7},
keywords = {wid, wac, wtl, written communication, cs education},
location = {Toronto ON, Canada},
series = {SIGCSE 2023}
}

@inproceedings{03Simion22-2,
author = {Rehmat Munir and Francesco Strafforello and Niveditha Kani and Michael Kaler and Bogdan Simion and Lisa Zhang},
title = {Exploring Common Writing Issues in Upper-Year Computer Science},
year = {2022},
isbn = {9781450390705},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3478431.3499335},
doi = {10.1145/3478431.3499335},
abstract = {This study analyzes common issues in the writing of our upper-year, undergraduate computer science students in timed (e.g. tests) and untimed (e.g. longer assignment reports) scenarios. Our goal is to identify writing issues that should be addressed earlier in the CS curriculum. In collaboration with a writing specialist, we develop and fine-tune a rubric with Grammar, Conciseness, Clarity, Organization, Structure, and Formality as the main categories.  We find, in our writing samples, that grammatical issues (such as punctuation errors or run-on sentences) are common even in a setting where students have ample time to proofread. Other common issues include unclear pronoun antecedents, lacking topic sentences, and other structural and organizational issues. Moreover, we correlate the presence of these issues with the students' grades. We do not find statistically significant correlations between writing skill and grades, and the weak correlations we find depend heavily on the writing context.  We hope that our rubric items and findings are useful for instructors in targeting writing skills that warrant development.},
booktitle = {Proceedings of the 53rd ACM Technical Symposium on Computer Science Education},
pages = {161–167},
numpages = {7},
keywords = {written communication, cs education},
location = {Providence, RI, USA},
series = {SIGCSE 2022}
}

@inproceedings{03Simion22-1,
author = {Andrew Jiang and Bogdan Simion},
title = {Help Supports during Online Delivery: Student Perception and Lessons Learnt from an Online CS2},
year = {2022},
isbn = {9781450390705},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3478431.3499369},
doi = {10.1145/3478431.3499369},
abstract = {With the shift to online delivery, instructors looked to provide comparable help supports for students, especially for first-year learners who need timely assistance the most. Our work aims to understand student help seeking behavior and perception of getting help in an online CS2 course.First, we analyze how much students ask for help and perceive to get help in several help support components: lectures, labs, instructor office hours, and on the discussion board. We find that while students take advantage of all help resources, the discussion board is predominantly the main source of help, while instructor office hours run into scalability problems. Secondly, we explore whether asking for and getting help are correlated with grades and find an inverted-U quadratic relationship in both cases. This indicates that low-performing and high-performing students ask for the least help and perceive to get the least help in each of the help support components. Finally, in each help context, we investigate which categories of questions students seek help the most with, and who students rely on most for help.Our analysis is intended to help educators better understand how to support first-year students in an online course and we hope that our findings are also useful for help support planning once in-person learning resumes.},
booktitle = {Proceedings of the 53rd ACM Technical Symposium on Computer Science Education},
pages = {105–111},
numpages = {7},
keywords = {help supports, cs2, computing education, online learning},
location = {Providence, RI, USA},
series = {SIGCSE 2022}
}

@inproceedings{06Engineer21,
author = {Engineer, Rutwa and Naeem Syeda, Ayesha and Simion, Bogdan},
title = {A Qualitative Study of Group Work and Participation Dynamics in a CS2 Active Learning Environment},
year = {2021},
isbn = {9781450382144},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3430665.3456359},
doi = {10.1145/3430665.3456359},
abstract = {Most active learning methods aim to engage students in collaborative problem-solving. While active learning and collaboration benefits are indisputable, more investigation is needed to understand student engagement in group activities. This qualitative study investigates the student perspective on group work in a CS2 inverted classroom, to better understand the learner mindset and identify potential barriers or conduits for collaborative engagement. We conducted 30-45 minute interviews with 30 participants from six sections of CS2, with five sections being scheduled in an Active Learning Classroom (ALC) and one in a traditional lecture hall, all taught in the same inverted model and using the same in-class activities. A multitude of facets of student behavior or engagement in group work and interactions with peers were identified via emergent coding. We classified emerging themes into higher-order categories which subsume semantically-related themes, forming a hierarchy with the top-level categories being Perceived Utility and Social Environment. This classification is intended to provide insight to educators seeking to better engage students in active learning via collaborative in-class activities.},
booktitle = {Proceedings of the 26th ACM Conference on Innovation and Technology in Computer Science Education V. 1},
pages = {25–31},
numpages = {7},
keywords = {group work, computer science education, active learning, CS2},
location = {Virtual Event, Germany},
series = {ITiCSE '21}
}

inproceedings{03Zhang21,
author = {Larry Yueli Zhang and Andrew K. Petersen and Michael Liut and Bogdan Simion and Furkan Alaca},
title = {A Multi-Course Report on the Experience of Unplanned Online Exams},
year = {2021},
isbn = {9781450380621},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3408877.3432515},
doi = {10.1145/3408877.3432515},
abstract = {We report our experience of preparing and conducting unplanned online exams in the unique half-physical, half-virtual semester of Winter 2020. The report covers four courses in a large university's computer science program, ranging from first-year to third-year. With the data generated by students taking both in-person and online exams in multiple courses, we perform analyses to evaluate the validity of the online exams (especially the unproctored ones) as an assessment of student understanding. With the fine-grained student activity data provided by the online exam platform, we are also able to investigate the patterns in student exam-taking behaviours and their correlations with student performance on the exam. In addition, we share, in detail, the tips and lessons that were learned throughout the process of designing, implementing, and hosting the online exams.},
booktitle = {Proceedings of the 52nd ACM Technical Symposium on Computer Science Education},
pages = {17–23},
numpages = {7},
keywords = {student behaviour, online exams, assessment},
location = {Virtual Event, USA},
series = {SIGCSE '21}
}

@inproceedings{01Simion20,
author = {Ayesha Naeem Syeda and Rutwa Engineer and Bogdan Simion},
title = {Analyzing the Effects of Active Learning Classrooms in CS2},
year = {2020},
isbn = {9781450367936},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3328778.3366872},
doi = {10.1145/3328778.3366872},
booktitle = {Proceedings of the 51st ACM Technical Symposium on Computer Science Education},
pages = {93–99},
numpages = {7},
keywords = {active learning classrooms, computer science education, inverted classroom},
location = {Portland, OR, USA},
series = {SIGCSE ’20}
}

gha_license_id: NOASSERTION

gha_language: TeX


text:
include(vcpkg_common_functions)

vcpkg_from_git(
    OUT_SOURCE_PATH SOURCE_PATH
    URL https://gitlab.freedesktop.org/uchardet/uchardet
    REF bdfd6116a965fd210ef563613763e724424728b7
    PATCHES
        win32-getopt.patch
)

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_check_features(
    OUT_FEATURE_OPTIONS FEATURE_OPTIONS
    tool BUILD_BINARY
)

vcpkg_configure_cmake(
    SOURCE_PATH ${SOURCE_PATH}
    PREFER_NINJA
    OPTIONS_DEBUG
        -DBUILD_BINARY=OFF
    OPTIONS_RELEASE
        ${FEATURE_OPTIONS}
    OPTIONS
        -DBUILD_STATIC=ON
)

vcpkg_install_cmake()

vcpkg_copy_pdbs()

if(tool IN_LIST FEATURES)
    file(COPY
        ${CURRENT_PACKAGES_DIR}/bin/uchardet${VCPKG_TARGET_EXECUTABLE_SUFFIX}
        DESTINATION ${CURRENT_PACKAGES_DIR}/tools/${PORT}
    )

    vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/${PORT})
endif()

if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
    file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)
else()
    file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/uchardet${VCPKG_TARGET_EXECUTABLE_SUFFIX})
endif()

file(REMOVE_RECURSE
    ${CURRENT_PACKAGES_DIR}/debug/include
    ${CURRENT_PACKAGES_DIR}/debug/share
    ${CURRENT_PACKAGES_DIR}/share/man
)

# Handle copyright
configure_file(${SOURCE_PATH}/COPYING ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

repository: MVoz/vcpkg-old

repo_name: MVoz/vcpkg-old


text:
/* Copyright 2018 Martin Dosch

   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 main

import (
	"encoding/json"
	"fmt"
	"log"
	"os"
	"strings"
	"time"

	"fluux.io/xmpp"
)

// configuration is defined as global as it is needed by function
// messageProcessing.
type configuration struct {
	Address         string
	BotJid          string
	Password        string
	ControlJid      string
	Twtxtnick       string
	TimelineEntries int
	MaxCharacters   int
}

// lastActivity is defined as global as it is needed by functions
// checkConnection and messageProcessing.
var lastActivity = time.Now()

func main() {

	var err error

	// Create configpath if not yet existing.
	configpath := os.Getenv("HOME") + "/.config/goxtxt/"
	if _, err := os.Stat(configpath + "config.json"); os.IsNotExist(err) {
		err = os.MkdirAll(configpath, 0700)
		if err != nil {
			log.Fatal("Error: ", err)
		}
	}

	// Check that config file is existing.
	if _, err := os.Stat(configpath + "config.json"); os.IsNotExist(err) {
		log.Fatal("Error: ", err)
	}

	// Read configuration file into variable config.
	file, _ := os.Open(configpath + "config.json")
	defer file.Close()
	decoder := json.NewDecoder(file)
	config := configuration{}
	if err := decoder.Decode(&config); err != nil {
		log.Fatal("Error: ", err)
	}

	// Set xmpp connection options according the config.
	options := xmpp.Options{
		Address:  config.Address,
		Jid:      config.BotJid,
		Password: config.Password,
		//		PacketLogger: os.Stdout,
		Insecure: false}

	var client *xmpp.Client
	if client, err = xmpp.NewClient(options); err != nil {
		log.Fatal("Error: ", err)
	}

	var session *xmpp.Session

	// Connect to xmpp server.
	if session, err = client.Connect(); err != nil {
		log.Fatal("Error: ", err)
	}

	fmt.Println("Stream opened, we have streamID = ", session.StreamId)

	// Start goroutine to check in background if connection is still alive.
	go checkConnection(client, &config.BotJid, &config.Address)

	// Receive xmpp packets in a for loop.
	for packet := range client.Recv() {
		switch packet := packet.(type) {
		case xmpp.Message:
			lastActivity = time.Now()
			// Check if message comes from JID who is allowed to use this bot
			if strings.HasPrefix(packet.From, config.ControlJid) == false {
				reply := xmpp.Message{PacketAttrs: xmpp.PacketAttrs{To: packet.From, Type: "chat"},
					Body: "You're not allowed to control me."}
				client.Send(reply)
				fmt.Fprintf(os.Stdout, "Body = %s - from = %s\n", packet.Body, packet.From)
				break
			}
			// Process the message.
			processMessage(client, &packet, &config)
		case xmpp.StreamError:
			fmt.Fprintf(os.Stdout, "Ignoring packet: %T\n", packet)
		default:
			lastActivity = time.Now()
		}
	}
}

// checkConnection checks every minute if there has been activity within
// the last 5 minutes and sends a ping if not.
// If there was still no activity after 2 more minutes the program
// will end with an error.
func checkConnection(client *xmpp.Client, jid *string, server *string) {
	for {
		time.Sleep(1 * time.Minute)
		timePassed := time.Since(lastActivity)
		if int(timePassed.Minutes()) >= 5.0 {
			ping := xmpp.NewIQ("get", *jid, *server, "twtxtbot", "en")
			client.Send(ping)
		}
		if int(timePassed.Minutes()) >= 7.0 {
			log.Fatal("Connection lost.")
		}
	}
}

repository: mdosch/goxtxt

repo_name: mdosch/goxtxt


text:
// Code generated by goctl. DO NOT EDIT.
// Source: user.proto

package userclient

import (
	"context"

	"zero/mall/user/rpc/types/user"

	"github.com/zeromicro/go-zero/zrpc"
	"google.golang.org/grpc"
)

type (
	IdRequest    = user.IdRequest
	UserResponse = user.UserResponse

	User interface {
		GetUser(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*UserResponse, error)
	}

	defaultUser struct {
		cli zrpc.Client
	}
)

func NewUser(cli zrpc.Client) User {
	return &defaultUser{
		cli: cli,
	}
}

func (m *defaultUser) GetUser(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*UserResponse, error) {
	client := user.NewUserClient(m.cli.Conn())
	return client.GetUser(ctx, in, opts...)
}

repository: chenyuanqi/note

repo_name: chenyuanqi/note

gha_language: Go


text:
INC_PR = "r0"
PR = "${INC_PR}.5"

SRC_URI_append += "file://sh4-asmfix.patch;patch=1 \
                   file://use-includedir.patch;patch=1 \
                   file://dont_use_mips_h_constraint.patch;patch=1 \
		  "
require gmp.inc
LICENSE = "GPLv3 LGPLv3"

repository: demsey/openembedded

repo_name: demsey/openembedded


text:
package tsm1_test

import (
	"bytes"
	"testing"

	"github.com/google/go-cmp/cmp"
	"github.com/influxdata/influxdb/tsdb/tsm1"
)

func TestMeasurementStats_WriteTo(t *testing.T) {
	t.Run("Empty", func(t *testing.T) {
		stats, other := tsm1.NewMeasurementStats(), tsm1.NewMeasurementStats()
		var buf bytes.Buffer
		if wn, err := stats.WriteTo(&buf); err != nil {
			t.Fatal(err)
		} else if rn, err := other.ReadFrom(&buf); err != nil {
			t.Fatal(err)
		} else if wn != rn {
			t.Fatalf("byte count mismatch: w=%d r=%d", wn, rn)
		} else if diff := cmp.Diff(stats, other); diff != "" {
			t.Fatal(diff)
		}
	})

	t.Run("WithData", func(t *testing.T) {
		stats, other := tsm1.NewMeasurementStats(), tsm1.NewMeasurementStats()
		stats["cpu"] = 100
		stats["mem"] = 2000

		var buf bytes.Buffer
		if wn, err := stats.WriteTo(&buf); err != nil {
			t.Fatal(err)
		} else if rn, err := other.ReadFrom(&buf); err != nil {
			t.Fatal(err)
		} else if wn != rn {
			t.Fatalf("byte count mismatch: w=%d r=%d", wn, rn)
		} else if diff := cmp.Diff(stats, other); diff != "" {
			t.Fatal(diff)
		}
	})
}

repository: jimis/influxdb

repo_name: jimis/influxdb

gha_license_id: MIT


text:
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
// not use this file except in compliance with the License. A copy of the
// License is located at
//
//     http://aws.amazon.com/apache2.0/
//
// or in the "license" file accompanying this file. This file 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 core

import (
	"context"
	"fmt"
	"net/http"

	"github.com/aws/amazon-vpc-resource-controller-k8s/pkg/config"

	"github.com/go-logr/logr"
	"k8s.io/api/admission/v1beta1"
	corev1 "k8s.io/api/core/v1"
	"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
)

// +kubebuilder:webhook:path=/validate-v1-pod,mutating=false,failurePolicy=ignore,groups="",resources=pods,verbs=create;update,versions=v1,name=vpod.vpc.k8s.aws

// AnnotationValidator injects resources into Pods
type AnnotationValidator struct {
	decoder *admission.Decoder
	Log     logr.Logger
}

const validUserInfo = "system:serviceaccount:kube-system:vpc-resource-controller"
const newValidUserInfo = "system:serviceaccount:kube-system:eks-vpc-resource-controller"

// +kubebuilder:rbac:groups=core,resources=serviceaccounts,verbs=get;list;watch

func (a *AnnotationValidator) Handle(_ context.Context, req admission.Request) admission.Response {
	var response admission.Response

	a.Log.V(1).Info("annotation validating webhook request",
		"request", req)

	switch req.Operation {
	case v1beta1.Create:
		response = a.handleCreate(req)
	case v1beta1.Update:
		response = a.handleUpdate(req)
	default:
		response = admission.Allowed("")
	}

	a.Log.V(1).Info("annotation validating webhook response",
		"response", response)

	return response
}

func (a *AnnotationValidator) handleCreate(req admission.Request) admission.Response {
	pod := &corev1.Pod{}
	if err := a.decoder.DecodeRaw(req.Object, pod); err != nil {
		return admission.Errored(http.StatusBadRequest, err)
	}
	// The annotation is added by vpc-resource-controller which will come as an update event
	// so we should block all request on create event
	if val, ok := pod.Annotations[config.ResourceNamePodENI]; ok {
		a.Log.Info("blocking request", "event", "create",
			"annotation key", config.ResourceNamePodENI, "annotation value", val)
		return admission.Denied(
			fmt.Sprintf("pod cannot be created with %s annotation", config.ResourceNamePodENI))
	}
	return admission.Allowed("")
}

func (a *AnnotationValidator) handleUpdate(req admission.Request) admission.Response {
	pod := &corev1.Pod{}
	if err := a.decoder.DecodeRaw(req.Object, pod); err != nil {
		return admission.Errored(http.StatusBadRequest, err)
	}
	oldPod := &corev1.Pod{}
	if err := a.decoder.DecodeRaw(req.OldObject, oldPod); err != nil {
		return admission.Errored(http.StatusBadRequest, err)
	}
	logger := a.Log.WithValues("name", pod.Name, "namespace", pod.Namespace, "uid", pod.UID)

	// This will block any update on the specific annotation from non vpc resource controller
	// service accounts
	if pod.Annotations[config.ResourceNamePodENI] !=
		oldPod.Annotations[config.ResourceNamePodENI] {
		if (req.UserInfo.Username != validUserInfo) && (req.UserInfo.Username != newValidUserInfo) {
			logger.Info("denying annotation", "username", req.UserInfo.Username,
				"annotation key", config.ResourceNamePodENI)
			return admission.Denied("annotation is not set by vpc-resource-controller")
		}
		return admission.Allowed("")
	}

	if pod.Annotations[fargatePodSgAnnotKey] !=
		oldPod.Annotations[fargatePodSgAnnotKey] {
		logger.Info("denying annotation", "username", req.UserInfo.Username,
			"annotation key", fargatePodSgAnnotKey)
		return admission.Denied("annotation is not set by mutating webhook")
	}

	return admission.Allowed("")
}

// InjectDecoder injects the decoder.
func (a *AnnotationValidator) InjectDecoder(d *admission.Decoder) error {
	a.decoder = d
	return nil
}


text:
# Script to configure version files at build time.
#
# This is not meant to be included directly in CMakeLists.txt but to be called with `cmake -P`
# script mode.
# This way, one can build a target that regenerate the version file at every compilation.
# It avoids getting an outdated Git revision.
# All other variable defined before running the script can also be used for templating the
# versio file.

# Default working directory
if(NOT WORKING_DIR)
	get_filename_component(WORKING_DIR "${SOURCE_FILE}" DIRECTORY)
endif()

if(NOT Ecole_VERSION_MAJOR)
	set(Ecole_VERSION_MAJOR 0)
endif()
if(NOT Ecole_VERSION_MINOR)
	set(Ecole_VERSION_MINOR 0)
endif()
if(NOT Ecole_VERSION_PATCH)
	set(Ecole_VERSION_PATCH 0)
endif()

if(NOT Ecole_VERSION_REVISION)
	message(STATUS "Resolving Git Version")
	set(Ecole_VERSION_REVISION "unknown")
	find_package(Git)
	if(GIT_FOUND)
		execute_process(
			COMMAND ${GIT_EXECUTABLE} rev-parse --verify HEAD
			WORKING_DIRECTORY "${WORKING_DIR}"
			OUTPUT_VARIABLE Ecole_VERSION_REVISION
			ERROR_QUIET
			OUTPUT_STRIP_TRAILING_WHITESPACE
		)
		message(STATUS "Git revision: ${Ecole_VERSION_REVISION}")
	else()
		message(STATUS "Git not found")
	endif()
endif()

configure_file("${SOURCE_FILE}" "${TARGET_FILE}" @ONLY)


text:
// Copyright (c) 2016 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache License, Version 2.0 (the "License").
// You may not use this product except in compliance with the License.
//
// This product may include a number of subcomponents with separate copyright notices and
// license terms. Your use of these subcomponents is subject to the terms and conditions
// of the subcomponent's license, as noted in the LICENSE file.

package command

import (
	"crypto/md5"
	"crypto/sha1"
	"crypto/x509"
	"fmt"
	"io"
	"log"
	"net/url"
	"os"
	"syscall"

	"github.com/urfave/cli"
	"github.com/vmware/photon-controller-go-sdk/photon/lightwave"

	"github.com/vmware/photon-controller-cli/photon/client"
	cf "github.com/vmware/photon-controller-cli/photon/configuration"
	"github.com/vmware/photon-controller-cli/photon/utils"

	"golang.org/x/crypto/ssh/terminal"
	"runtime"
)

// Create a cli.command object for command "target"
// Subcommands: set;    Usage: target set <url>
//              login;  Usage: target login <token>
//              logout; Usage: target logout
//              show;   Usage: target show
func GetTargetCommand() cli.Command {
	command := cli.Command{
		Name:  "target",
		Usage: "options for target",
		Subcommands: []cli.Command{
			{
				Name:      "set",
				Usage:     "Set API target endpoint",
				ArgsUsage: "<endpoint>",
				Description: "Sets the endpoint for Photon Controller that is used for all Photon CLI commands.\n" +
					"   This is saved persistently in the CLI configuration file (typically ~/.photon-cli/.photon-config)\n" +
					"   This should be the full URL (including port) of Photon Controller. Most installations use port 443.\n" +
					"   Example:\n" +
					"      photon target set https://192.0.2.42:443",
				Flags: []cli.Flag{
					cli.BoolFlag{
						Name:  "nocertcheck, c",
						Usage: "flag to avoid validating the server's certificate",
					},
				},
				Action: func(c *cli.Context) {
					err := setEndpoint(c)
					if err != nil {
						log.Fatal("Error: ", err)
					}
				},
			},
			{
				Name:  "show",
				Usage: "Show current target endpoint",
				Action: func(c *cli.Context) {
					err := showEndpoint(c)
					if err != nil {
						log.Fatal("Error: ", err)
					}
				},
			},
			{
				Name:      "info",
				Usage:     "Display information about the Photon Controller that is the current target",
				ArgsUsage: " ",
				Action: func(c *cli.Context) {
					err := showInfo(c, os.Stdout)
					if err != nil {
						log.Fatal("Error: ", err)
					}
				},
			},
			{
				Name: "login",
				Usage: "Allow user to login with a access token, refresh token, username/password" +
					" or using Windows logged in credentials on Windows OS",
				ArgsUsage: " ",
				Description: "The typical usage is to provide a username and password.\n" +
					"   If you do not provide any arguments, you will be prompted for the username and password.\n" +
					"   On Windows you can login using logged in Windows credentials.\n" +
					"   Logging in will result in you receiving a token, which is stored in the CLI configuration file\n" +
					"   in ~/.photon-cli/.photon-config. You can see it with the 'photon auth show-login-token'.",
				Flags: []cli.Flag{
					cli.StringFlag{
						Name:  "access_token, t",
						Usage: "oauth access token that grants access",
					},
					cli.StringFlag{
						Name:  "username, u",
						Usage: "username, if this is provided a password needs to be provided as well",
					},
					cli.StringFlag{
						Name:  "password, p",
						Usage: "password, if this is provided a username needs to be provided as well",
					},
					cli.BoolFlag{
						Name: "windows, w",
						Usage: "flag to use logged in Windows credentials to authenticate. Can be " +
							"used only on Windows OS",
					},
				},
				Action: func(c *cli.Context) {
					err := login(c)
					if err != nil {
						log.Fatal("Error: ", err)
					}
				},
			},
			{
				Name:      "logout",
				Usage:     "Remove the token created by the login command. Future requests will require you log in again.",
				ArgsUsage: " ",
				Action: func(c *cli.Context) {
					err := logout(c)
					if err != nil {
						log.Fatal("Error: ", err)
					}
				},
			},
		},
	}
	return command
}

// Read config from config file, change target and then write back to file
// Also check if the target is reachable securely
func setEndpoint(c *cli.Context) error {
	err := checkArgCount(c, 1)
	if err != nil {
		return err
	}
	endpoint := c.Args()[0]
	noCertCheck := c.Bool("nocertcheck")

	config, err := cf.LoadConfig()
	if err != nil {
		return err
	}

	config.CloudTarget = endpoint
	config.IgnoreCertificate = noCertCheck

	err = cf.SaveConfig(config)
	if err != nil {
		return err
	}

	err = configureServerCerts(endpoint, noCertCheck, c)
	if err != nil {
		return err
	}

	fmt.Printf("API target set to '%s'\n", endpoint)

	err = clearConfigTenant("")
	if err != nil {
		return err
	}

	return err
}

// Shows set endpoint
func showEndpoint(c *cli.Context) error {
	err := checkArgCount(c, 0)
	if err != nil {
		return err
	}
	config, err := cf.LoadConfig()
	if err != nil {
		return err
	}

	if len(config.CloudTarget) == 0 {
		fmt.Printf("No API target set\n")
	} else {
		fmt.Printf("Current API target is '%s'\n", config.CloudTarget)
	}
	return nil
}

// Shows information about Photon Controller: version, etc.
func showInfo(c *cli.Context, w io.Writer) error {
	err := checkArgCount(c, 0)
	if err != nil {
		return err
	}

	client.Photonclient, err = client.GetClient(c)
	if err != nil {
		return err
	}

	info, err := client.Photonclient.Info.Get()

	if utils.NeedsFormatting(c) {
		utils.FormatObject(info, w, c)
	} else {
		fmt.Printf("Version: '%s'\n", info.FullVersion)
		fmt.Printf("Network Type: '%s'\n", info.NetworkType)
	}

	return nil
}

// Store token in the config file
func login(c *cli.Context) error {
	err := checkArgCount(c, 0)
	if err != nil {
		return err
	}

	username := c.String("username")
	password := c.String("password")
	token := c.String("access_token")
	windows := c.Bool("windows")

	if windows {
		if runtime.GOOS != "windows" {
			fmt.Println("--windows flag is only available on Windows OS")
		} else if len(token) != 0 || len(username) != 0 || len(password) != 0 {
			fmt.Println("You cannot use --windows flag with other options")
		} else {
			return loginUsingWindowsCredentials(c)
		}
		return nil
	}

	if !c.GlobalIsSet("non-interactive") && len(token) == 0 {
		username, err = askForInput("User name (username@tenant): ", username)
		if err != nil {
			return err
		}
		if len(password) == 0 {
			fmt.Printf("Password: ")
			// Casting syscall.Stdin to int because during
			// Windows cross-compilation syscall.Stdin is incorrectly
			// treated as a String.
			bytePassword, err := terminal.ReadPassword(int(syscall.Stdin))
			if err != nil {
				return err
			}
			password = string(bytePassword)
			fmt.Printf("\n")
		}
	}

	if len(token) == 0 && (len(username) == 0 || len(password) == 0) {
		return fmt.Errorf("Please provide either a token or username/password")
	}

	config, err := cf.LoadConfig()
	if err != nil {
		return err
	}

	if len(token) > 0 {
		config.Token = token

	} else {
		client.Photonclient, err = client.GetClient(c)
		if err != nil {
			return err
		}

		options, err := client.Photonclient.Auth.GetTokensByPassword(username, password)
		if err != nil {
			return err
		}

		config.Token = options.AccessToken
		config.RefreshToken = options.RefreshToken
	}

	err = cf.SaveConfig(config)
	if err != nil {
		return err
	}

	fmt.Println("Login successful")

	return nil
}

func loginUsingWindowsCredentials(c *cli.Context) error {
	config, err := cf.LoadConfig()
	if err != nil {
		return err
	}

	client.Photonclient, err = client.GetClient(c)
	if err != nil {
		return err
	}

	options, err := client.Photonclient.Auth.GetTokensFromWindowsLogInContext()
	if err != nil {
		return err
	}

	config.Token = options.AccessToken
	config.RefreshToken = options.RefreshToken

	err = cf.SaveConfig(config)
	if err != nil {
		return err
	}

	fmt.Println("Login successful")
	return nil
}

// Remove token from the config file
func logout(c *cli.Context) error {
	err := checkArgCount(c, 0)
	if err != nil {
		return err
	}
	config, err := cf.LoadConfig()
	if err != nil {
		return err
	}

	config.Token = ""

	err = cf.SaveConfig(config)
	if err != nil {
		return err
	}

	fmt.Println("Token removed from config file")

	return nil
}

func configureServerCerts(endpoint string, noChertCheck bool, c *cli.Context) (err error) {
	if noChertCheck {
		return
	}

	//
	// If https endpoint, establish trust with the server
	//
	u, err := url.Parse(endpoint)
	if err != nil {
		return
	}

	// u.Scheme == https -> Server endpoint needs https
	// noCertCheck == false -> User wants server cert validation
	// bTrusted = true -> Server cert is trusted
	if u.Scheme == "https" {
		err = setupApiServerCert(u.Host, c.GlobalIsSet("non-interactive"))
		if err != nil {
			return
		}
	}

	client.Photonclient, err = client.GetClient(c)
	if err != nil {
		return
	}

	authInfo, err := client.Photonclient.System.GetAuthInfo()
	if err != nil {
		return
	}

	port := authInfo.Port
	if port == 0 {
		port = 443
	}

	host := fmt.Sprintf("%s:%v", authInfo.Endpoint, authInfo.Port)
	err = setupLightWaveCerts(host, c.GlobalIsSet("non-interactive"))
	if err != nil {
		return
	}

	return
}

func setupApiServerCert(host string, isNonInterractive bool) (err error) {
	err = verifyServerTrust("API", host, isNonInterractive)
	if err != nil {
		return
	}

	cert, err := getServerCert(host)
	if err != nil {
		fmt.Printf("Could not establish trust with API server : %s\n", host)
		return
	}

	err = processCert(cert, "API", host)
	if err != nil {
		return
	}

	return
}

func setupLightWaveCerts(host string, isNonInterractive bool) (err error) {
	err = verifyServerTrust("Authentication", host, isNonInterractive)
	if err != nil {
		return
	}

	oidcClient := lightwave.NewOIDCClient(fmt.Sprintf("https://%s", host), nil, nil)
	certs, err := oidcClient.GetRootCerts()
	if err != nil {
		return
	}

	for _, cert := range certs {
		err = processCert(cert, "Authentication", host)
		if err != nil {
			return
		}
	}

	return
}

func verifyServerTrust(serverName string, host string, isNonInterractive bool) (err error) {
	//check if we already trust the server
	bTrusted, _ := isServerTrusted(host)
	if bTrusted {
		return
	}

	if isNonInterractive {
		err = fmt.Errorf(
			"Could not establish trust with API server : %s.\nEither skip certificate validation or accept the server certificate in interactive mode\n",
			host)
		return
	}

	return
}

func processCert(cert *x509.Certificate, serverName string, host string) (err error) {
	trustSrvCrt := ""
	if cert != nil {
		fmt.Printf(
			"Certificate (with below fingerprint) presented by %s server (%s) isn't trusted.\nMD5 = %X\nSHA1  = %X\n",
			serverName,
			host,
			md5.Sum(cert.Raw),
			sha1.Sum(cert.Raw))
		//Get the user input on whether to trust the certificate
		trustSrvCrt, err = askForInput("Do you trust this certificate for future communication? (yes/no): ", trustSrvCrt)
	}

	if err == nil && cert != nil && trustSrvCrt == "yes" {
		err = cf.AddCertToLocalStore(cert)
		if err == nil {
			fmt.Printf(
				"Saved your preference for future communication with %s server %s\n", serverName, host)
		}
	}

	return
}

repository: vmware-archive/photon-controller-cli

repo_name: vmware-archive/photon-controller-cli


text:
@article{2014MNRAS.441..715G,
 abstract = {We present a group of 3740 previously identified RR Lyrae variables well
observed with the Wide-field Infrared Survey Explorer (WISE). We
explore how the shape of the generic RR Lyrae mid-infrared light
curve varies over period-space, comparing light curves in mid-
infrared and optical bands. We find that optical light curves
exhibit high amplitudes and a large spectrum of light-curve
shapes, while mid-infrared light curves have low amplitudes and
uniform light-curve shapes. From the period-space analysis, we
hope to improve the classification methods of RR Lyrae variables
and enable reliable discovery of these pulsators in the WISE
catalogue and future mid-infrared surveys such as the James Webb
Space Telescope. We provide mid-infrared templates for typical
RR Lyrae stars and demonstrate how these templates can be
applied to improve estimates of mid-infrared RR Lyrae mean
magnitude, which is used for distance measurement. This method
of template fitting is particularly beneficial for improving
observational efficiency. For example, using light curves with
observational noise of 0.05 mag, we obtain the same level of
accuracy in mean magnitude estimates for light curves randomly
sampled at 12 data points with template fitting as with light
curves randomly sampled at 20 data points with harmonic
modelling.},
 adsnote = {Provided by the SAO/NASA Astrophysics Data System},
 adsurl = {https://ui.adsabs.harvard.edu/abs/2014MNRAS.441..715G},
 archiveprefix = {arXiv},
 author = {Gavrilchenko, Tatyana and Klein, Christopher R. and
Bloom, Joshua S. and Richards, Joseph W.},
 doi = {10.1093/mnras/stu606},
 eprint = {1312.4643},
 journal = {\mnras},
 keywords = {methods: statistical, stars: variables: RR Lyrae, distance scale, infrared: stars, Astrophysics - Solar and Stellar Astrophysics},
 month = {Jun},
 number = {1},
 pages = {715-725},
 primaryclass = {astro-ph.SR},
 title = {A mid-infrared study of RR Lyrae stars with the Wide-field Infrared Survey Explorer all-sky data release},
 volume = {441},
 year = {2014}
}

repository: profjsb/my-content

repo_name: profjsb/my-content