text:
@online{the_what,
    title = {Atmospheric dynamics},
    author = {ECMWF},
    note = {accessed 2019-04-10},
    url = {https://www.ecmwf.int/en/research/modelling-and-prediction/atmospheric-dynamics},
}

@online{why,
    title = {Atmospheric Dynamics},
    author = {Department of Atmospheric Sciences, University of Washington},
    note = {accessed 2019-04-10},
    url = {https://atmos.uw.edu/academic/atmosdyn.html},
}

@online{perturbation,
    title = {Perturbation, definition},
    author = {Merriam-Webster},
    note = {accessed 2019-04-10},
    url = {https://www.merriam-webster.com/dictionary/perturbation},
}

@article{deaths,
    title = {Atmospheric Dynamics and Weather Forecasting Research Entering the Twenty-First Century},
    author = {Board On Atmospheric Sciences and Climate},
    joural = {The National Academics of Sciences, Engineering, and Medicine},
    page = {169},
    year = {1988},
    url = {https://www.nap.edu/read/6021/chapter/9},
}

@online{what_oss,
    title = {What is open source?},
    author = {opensource.com},
    note = {accessed 2019-04-11},
    url = {https://opensource.com/resources/what-open-source},
}

@online{advantages,
    title = {What are the advantages of open source software?},
    author = {Tom Macaulay},
    publisher = {Computer World UK from IDG},
    year = {2017},
    url = {https://www.computerworlduk.com/galleries/open-source/advantages-of-open-source-software-3664823/}
}

@online{javascript_vs_python,
    title = {Should data scientists learn JavaScript?},
    year = {2018},
    author = {Peter Gleeson},
    publisher = {freeCodeCamp},
    url = {https://medium.freecodecamp.org/should-data-scientists-learn-javascript-e611d45804b8},
}

@online{code_quality,
    title = {Python Code Quality: Tools \& Best Practices},
    year = {2018},
    author = {Alexander VanTol},
    publisher = {Real Python},
    url = {https://realpython.com/python-code-quality/#what-is-code-quality},
}

@online{pylint_score,
    title = {Writing readable code with pylint},
    author = {Dr. Kristian Rother},
    note = {accessed 2019-04-22},
    publisher = {Academis},
    url = {http://www.academis.eu/posts/pylint}
}

@online{pylint,
    title = {Pylint},
    author = {Python Code Quality Authority},
    note = {Version 2.3.1},
    url = {https://www.pylint.org},
}

@article{jupyter,
    title = {Jupyter Interactive Notebook},
    author = {Project Jupyter},
    note = {Version 4.4.0},
    url = {https://jupyter.org},
}

@online{primitive_equations,
    title = {Primitive equations},
    author = {Department of Earth \& Climate Sciences, San Francisco State University},
    note = {accessed 2019-04-24},
    url = {http://tornado.sfsu.edu/Geosciences/classes/e465/PE_Equations/Primitive_equations.html},
}

@article{UiO,
    title = {A Brief Introduction to Atmospheric Dynamics},
    author = {J. H. LaCasce},
    note = {accessed 2019-04-22},
    journal = {University of Olso},
    url = {https://www.uio.no/studier/emner/matnat/geofag/nedlagte-emner/GEF4500/h08/unisdyn1.pdf},
}

@phdthesis{simonclark,
    title = {Quasi-geostrophic influence of the polar stratosphere on the troposphere},
    year = {2017},
    author = {Simon James Clark},
    school = {University of Exeter},
    note = {Doctor of Philosophy in Mathematics},
    url = {https://www.simonoxfphys.com/blog/2018/10/15/my-phd-thesis},
}

@book{iop,
    title = {Physics of the Atmosphere},
    author = {Rodrigo Caballero},
    year = {2014},
    publisher = {IOP Expanding Physics},
    note = {Department of Meteorology at Stockholm University},
    doi = {10.1088/978-0-7503-1052-9},
}

@online{temp_in_trop,
    title = {Temperature in the Troposphere},
    author = {Randy Russell},
    year = {2009},
    note = {accessed 2019-04-28},
    url = {https://www.windows2universe.org/earth/Atmosphere/troposphere_temperature.html&edu=high},
}

@online{troposphere,
    title = {Troposphere},
    author = {Global Climate },
    year = {2019},
    note = {accessed 2019-04-29},
    url = {https://www.climate-policy-watcher.org/global-climate-2/troposphere.html},
}

@online{alpha,
    title = {alpha version},
    author = {Vangie Beal},
    note = {accessed 2019-04-29},
    url = {https://www.webopedia.com/TERM/A/alpha_version.html},
}

@online{little_g,
    title = {Effect of Shape of Earth and Latitude of a Place on Acceleration Due to Gravity},
    author = {Education of Science},
    note = {accessed 2019-04-30},
    url = {https://hemantmore.org/physics-1/p11202004/3882/},
}

@online{mit,
    title = {The Earth's Atmosphere},
    author = {MIT Haystack Observatory},
    note = {accessed 2019-04-30},
    url = {https://www.haystack.mit.edu/edu/pcr/climate_CHANGE/Earth},
}

@online{stratosphere,
    title = {The Stratosphere - Overview},
    author = {UCAR Center for Science Education},
    year = {2011},
    note = {accessed 2019-04-30},
    url = {https://scied.ucar.edu/shortcontent/stratosphere-overview},
}

@Inbook{state_equation,
    title="Dynamics of the Troposphere and Stratosphere",
    bookTitle="Stratosphere Troposphere Interactions: An Introduction",
    year="2008",
    publisher="Springer Netherlands",
    address="Dordrecht",
    pages="103--147",
    abstract="Dynamics of the troposphere and stratosphere are fundamentally inseparable. However, the mechanism involved in the generation and maintenance of the circulation in the troposphere and stratosphere are different. Large-scale circulation in the troposphere is primarily driven by the differential absorption of solar energy at the surface, whereas in the stratosphere, eddies are as fundamental to the circulation as the differential solar heating.",
    isbn="978-1-4020-8217-7",
    doi="10.1007/978-1-4020-8217-7_3",
    url="https://doi.org/10.1007/978-1-4020-8217-7_3"
}

@online{ideal_gas,
    title = {What is the ideal gas law?},
    author = {Khan Academy},
    note = {accessed 2019-05-01},
    url = {https://www.khanacademy.org/science/physics/thermodynamics/temp-kinetic-theory-ideal-gas-law/a/what-is-the-ideal-gas-law},
}

@online{pseudoforce,
    title = {Pseudoforces},
    note = {accessed 2019-05-01},
    author = {Physics and Astronomy, Brigham Young University},
    url = {http://www.physics.byu.edu/faculty/christensen/Physics\%20121/FTI/5\%20Newton\%27s\%20Laws\%20of\%20Motion/Pseudoforces.htm},
}

@online{coriolis_force,
    title = {UNDERSTANDING THE CORIOLIS FORCE},
    note = {accessed 2019-05-01},
    author = {Physics Department, The University of British Columbia},
    url = {https://phys420.phas.ubc.ca/p420_12/tony/Coriolis_Force/Home.html},
}

@online{iso,
    title = {ISO 2533:1975},
    year = {1975},
    note = {accessed 2019-05-02},
    author = {International Organisation for Standardisation},
    url = {https://www.iso.org/standard/7472.html},
}

@online{isa_math_model,
    title = {The Standard Atmosphere},
    year = {2007},
    note = {accessed 2019-05-02},
    author = {atmosculator.com},
    url = {https://web.archive.org/web/20070310223946/http://www.atmosculator.com/The\%20Standard\%20Atmosphere.html},
}

@online{barometric,
    title = {Barometric Formula},
    note = {accessed 2019-05-02},
    author = {Math24},
    url  = {https://www.math24.net/barometric-formula/},
}

@online{vertical_velocity,
    title = {ESCI 342 – Atmospheric Dynamics I Lesson 10 – Vertical Motion, Pressure Coordinates},
    note = {accessed 2019-05-02},
    author = {Department of Earth Sciences, Millersville University},
    url = {http://snowball.millersville.edu/~adecaria/ESCI342/esci342_lesson10_vertical_motion.pdf},
}

@online{geoid,
    title = {Geoid},
    author = {George D. Garland, Urho A. Uotila},
    year  = {2017},
    note = {accessed 2019-05-02},
    url = {https://www.britannica.com/science/geoid},
}

@online{geo,
    title = {ATMOS 5130 - Lecture 5},
    author = {Center for High Performace Computing, the University of Utah},
    note = {accessed 2019-05-02},
    url = {http://home.chpc.utah.edu/~hallar/Thermo/Lectures/Lecture5.pdf},
}

@online{wind1,
    title = {Synoptic Meteorology I: The Geostrophic Approximation},
    author = {Mathematical Sciences, University of Wisconsin - Milwaukee},
    note = {accessed 2019-05-02},
    url = {http://derecho.math.uwm.edu/classes/SynI/GeosApprox.pdf},
}

@online{wind2,
    title = {Geostrophic Winds},
    author = {Cedarville University},
    note = {accessed 2019-05-02},
    url = {http://people.cedarville.edu/Employee/gollmers/esci2410/labs/06e2410x10.pdf},
}

@online{wind_lat,
    title = {Winds: Coriolis Force},
    author = {Virginia Weather \& Climate Data},
    note = {accessed 2019-05-02},
    url = {http://colaweb.gmu.edu/dev/clim301/lectures/wind/wind-geo},
}

@article{python,
    title = {Python},
    author = {Python Software Foundation},
    note = {Version 3.7.1},
    url = {https://www.python.org},
}

@online{nwp,
    title = {Numerical Weather Prediction},
    author = {Peter Lynch},
    url = {https://maths.ucd.ie/~plynch/LECTURE-NOTES/NWP-2004/NWP-CH01-P4.pdf},
    note = {accessed 2019-11-23},
}

@book{mape,
    author = { Lewis, C. D. },
    title = { Industrial and business forecasting methods : a practical guide to exponential smoothing and curve fitting / Colin D. Lewis },
    isbn = { 0408005599 },
    publisher = { Butterworth Scientific London },
    pages = { 143 p. : },
    year = { 1982 },
    type = { Book },
    language = { English },
    subjects = { Business forecasting. },
    life-dates = { 1982 -  },
    catalogue-url = { https://nla.gov.au/nla.cat-vn1819865 },
}

@online{coverage_py,
    title = {Coverage.py},
    url = {https://coverage.readthedocs.io/en/coverage-5.0/#},
    note = {Version 5.0},
    author = {Ned Batchelder},
}

@online{codecov,
    title = {Codecov},
    url = {https://codecov.io},
    note = {Version 4.4.3},
    author = {Codecov Organisation},
}

@online{beta,
    title = {What Is Beta Software?},
    author = {Tim Fisher},
    url = {https://www.lifewire.com/what-is-beta-software-2625812},
    note = {accessed on 2019-12-19},
    date = {2019-10-14},
}

@book{quasi_future,
    title = {INTRODUCTION TO DYNAMIC METEOROLOGY},
    year = {2019},
    publisher = {ELSEVIER ACADEMIC PRESS},
    author = {James R Holton,
            Gregory J Hakim},
    url = {https://books.google.ie/books?id=hcxcqQp7XOsC&pg=PA42&redir_esc=y#v=onepage&q&f=false},
}

@article{lyapunov,
   title={Visual Analysis of Nonlinear Dynamical Systems: Chaos, Fractals, Self-Similarity and the Limits of Prediction},
   volume={4},
   ISSN={2079-8954},
   url={http://dx.doi.org/10.3390/systems4040037},
   DOI={10.3390/systems4040037},
   number={4},
   journal={Systems},
   publisher={MDPI AG},
   author={Boeing, Geoff},
   year={2016},
   month={11},
   pages={37}
}

@book{nws,
    title = {National Weather Service Forecasting Handbook: Issue 1},
    volume={1},
    url = {https://play.google.com/store/books/details?id=8jRRAAAAMAAJ&rdid=book-8jRRAAAAMAAJ&rdot=1},
    publisher = {U.S. Department of Commerce, National Oceanic and Atmospheric Administration},
    author = {National Weather Service},
    year = {1979},
    month = {12},
    pages = {356},
}

@online{insolation,
    title = {Insolation - Global heat budget},
    author = {BBC},
    note = {accessed 2019-12-22},
    url = {https://www.bbc.co.uk/bitesize/guides/z24rr82/revision/1},
}

@online{lat_energy_bal,
    title = {Latitude and energy balance - Global heat budget},
    author = {BBC},
    note = {accessed 2019-12-22},
    url = {https://www.bbc.co.uk/bitesize/guides/z24rr82/revision/2},
}

@online{three_cell,
    title = {Atmospheric circulation - Redistribution of energy by atmosphere and oceanic circulation},
    author = {BBC},
    note = {accessed 2019-12-22},
    url = {https://www.bbc.co.uk/bitesize/guides/zym77ty/revision/1},
}

@online{cells,
    title = {The Northern and Southern Hemispheres - Redistribution of energy by atmosphere and oceanic circulation},
    author = {BBC},
    note = {accessed 2019-12-22},
    url = {https://www.bbc.co.uk/bitesize/guides/zym77ty/revision/1},
}

@online{hadley_cell,
    title = {Hadley Cells},
    author = {Mark E. Piana},
    note = {accessed 2019-12-22},
    url = {https://www.seas.harvard.edu/climate/eli/research/equable/hadley.html},
}

@online{ferrel,
    title = {Ferrel cell},
    author = {The Editors of Encyclopaedia Britannica},
    date = {2012-06-26},
    note = {accessed on 2019-12-22},
    url = {https://www.britannica.com/science/Ferrel-cell},
    publisher = {Encyclopædia Britannica},
}

@online{polar,
    title = {The physical environment of the Antarctic},
    author = {British Antarctic Survey},
    url = {https://legacy.bas.ac.uk/met/momu/International_Antarctic_Weather_Forecasting_Handbook/2.1_The\%20physical\%20environment\%20of\%20the\%20Antarctic.php},
    note = {accessed on 2019-12-22},
}

@online{pressure_grad,
    title = {Pressure Gradient: Definition, Formation \& Formula},
    url = {https://study.com/academy/lesson/pressure-gradient-definition-formation-formula.html},
    note = {accessed on 2019-12-25},
    author = {Study.com},
}

@online{coriolis_effect,
    title = {Development of Geostrophic Winds},
    url = {https://study.com/academy/lesson/types-of-geostrophic-wind-flows.html},
    note = {accessed on 2019-12-25},
    author = {Study.com},
}

@online{pressuregrad_def,
    author = {Michael Allaby},
    note = {accessed on 2019-12-25},
    url = {https://www.encyclopedia.com/earth-and-environment/ecology-and-environmentalism/environmental-studies/pressure-gradient-force},
    title = {Pressure-Gradient Force},
    date = {2019-12-11},
}

@online{corioliseffect_def,
    title = {Coriolis force},
    author = {The Editors of Encyclopaedia Britannica},
    date = {2019-02-20},
    note = {accessed on 2019-12-25},
    url = {https://www.britannica.com/science/Coriolis-force},
    publisher = {Encyclopædia Britannica},
}

@online{geo_wind,
    title = {Relationship Between the Geostrophic Wind and the Real Wind: A Context},
    author = {Department of Earth \& Climate Sciences, San Francisco State University},
    url = {http://tornado.sfsu.edu/geosciences/classes/m201/Coriolis_rdg/GeostrophicApproximation.html},
    note = {accessed on 2019-12-25},
}

@online{thickness,
    title = {Constant Pressure Charts: Thickness},
    author = {National Weather Service},
    url = {https://www.weather.gov/jetstream/thickness},
    note = {accessed on 2019-12-26},
}

@online{scipy_nonlingress,
    title = {scipy.optimize.curve\_fit},
    author = {SciPy.org},
    url = {https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.curve\_fit.html},
    note = {accessed on 2019-12-26},
    date = {2019-12-19}
}

@online{scipy_integrate,
    title = {scipy.integrate.quad},
    author = {SciPy.org},
    url = {https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.quad.html},
    note = {accessed on 2019-12-26},
    date = {2019-12-19}
}

@article{nonlingress_def,
   title={Prediction Intervals for Growth Curve Forecasts},
   volume={5},
   DOI={doi:10.1002/for.3980140502},
   number={14},
   journal={Journal of Forecasting},
   author={N. Meade},
   year={1995},
   page={413-430},
}

@online{rho_primitive,
    title = {The Continuity and Additional Equations},
    author = {Dr. Alex DeCaria},
    url = {http://snowball.millersville.edu/~adecaria/ESCI342/esci342_lesson07_continuity_equation.pdf},
    note = {accessed on 2019-12-26},
}

@online{problems_with_pwv,
    title = {precipitable water},
    url = {http://glossary.ametsoc.org/wiki/Precipitable_water},
    date = {2015-01-13},
    author = {American Meteorology Society},
    note = {accessed on 2019-12-26},
}

@online{pwv_def,
    title = {Precipitable Water Definition},
    author = {Mick Pope},
    url = {https://www.youtube.com/watch?v=_SGvEnN4FsA},
    note = {accessed on 2019-12-26},
    date = {2018-06-22},
}

@article{balton,
   title={The computation of equivalent potential temperature},
   volume={108},
   DOI={10.1175/1520-0493(1980)108\%3C1046:TCOEPT\%3E2.0.CO;2.},
   page={1046-1053},
   publisher={MDPI AG},
   author={D. Balton},
   year={1980},
}

@online{pwv_error,
    title = {Diurnal variation of GPS-derived precipitable water over the Tibetan Plateau during summer},
    note = {accessed on 2019-12-26},
    url = {http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.573.4435&rep=rep1&type=pdf},
    author = {Peiming WU},
}

repository: amsimp/papers

repo_name: amsimp/papers


text:
package ftdc

import (
	"context"
	"io"
	"sync"

	"github.com/tychoish/birch"
	"github.com/tychoish/fun"
	"github.com/tychoish/fun/erc"
)

// ChunkIterator is a simple iterator for reading off of an FTDC data
// source (e.g. file). The iterator processes chunks batches of
// metrics lazily, reading form the io.Reader every time the iterator
// is advanced.
//
// Use the iterator as follows:
//
//	iter := ReadChunks(ctx, file)
//
//	for iter.Next(ctx) {
//	    chunk := iter.Chunk()
//
//	    // <manipulate chunk>
//
//	}
//
//	if err := iter.Close(ctx); err != nil {
//	    return err
//	}
//
// You MUST call the Chunk() method no more than once per iteration.
//
// You shoule check the Err() method when iterator is complete to see
// if there were any issues encountered when decoding chunks.
type ChunkIterator struct {
	*fun.Iterator[*Chunk]
	cancel  context.CancelFunc
	catcher erc.Collector
	wg      sync.WaitGroup
}

// ReadChunks creates a ChunkIterator from an underlying FTDC data
// source.
func ReadChunks(r io.Reader) *fun.Iterator[*Chunk] {
	pipe := make(chan *Chunk)
	ipc := make(chan *birch.Document)

	ec := &erc.Collector{}
	wg := &fun.WaitGroup{}
	ch := fun.Blocking(pipe)

	return ch.Producer().
		PreHook(fun.Operation(func(ctx context.Context) {
			wg.Launch(ctx, func(ctx context.Context) {
				ec.Add(readChunks(ctx, ipc, pipe))
			})
			wg.Launch(ctx, func(ctx context.Context) {
				ec.Add(readDiagnostic(ctx, r, ipc))
			})

			wg.Operation().Background(ctx)
		}).Once()).IteratorWithHook(erc.IteratorHook[*Chunk](ec))
}

// Close releases resources of the iterator. Use this method to
// release those resources if you stop iterating before the iterator
// is exhausted. Canceling the context that you used to create the
// iterator has the same effect. Close returns a non-nil error if the
// iterator encountered any errors during iteration.
func (iter *ChunkIterator) Close() error {
	iter.cancel()
	iter.wg.Wait()
	return iter.catcher.Resolve()
}

repository: tychoish/birch

license_type: permissive

repo_name: tychoish/birch

branch_name: refs/heads/main

extension: go


text:
@article{jones_understanding_2017,
 author = {Jones, M.P. and Beath, A. and Oldmeadow, C. and Attia, J.R.},
 doi = {10.5694/mja16.01022},
 issn = {1326-5377},
 journal = {MEDICAL JOURNAL OF AUSTRALIA},
 keywords = {Epidemiology, Statistics},
 month = {August},
 note = {Place: Australia
Publisher: Australasian Medical Publishing Company},
 number = {4},
 pages = {148--150},
 title = {Understanding statistical hypothesis tests and power.},
 url = {https://www.ncbi.nlm.nih.gov/pubmed/28814212},
 volume = {207},
 year = {2017}
}

license: MIT

repository: ChrisOldmeadow/academic-kickstart

repo_name: ChrisOldmeadow/academic-kickstart

branch_name: refs/heads/master

extension: bib


text:
#
# This file is the DynamoRIO recipe.
#

SUMMARY = "DynamoRIO dynamic instrumentation"
SECTION = "PETALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = "file://${BP}.tar.gz \
        "
inherit bin_package

INSANE_SKIP_${PN} += "staticdev"
INSANE_SKIP_${PN} += "dev-so"

extension: bb


text:
SUMMARY = "IPython HTML widgets for Jupyter"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=20a40995a0b2f0ae1f2a70d2dc995bbf"

SRC_URI[sha256sum] = "1a296094203309e834f2781a275214d255ac5d266bbfa602f9f6915e1806614c"

inherit pypi python_setuptools_build_meta

RDEPENDS:${PN} += " \
    ${PYTHON_PN}-ipython \
    ${PYTHON_PN}-ipykernel \
    ${PYTHON_PN}-widgetsnbextension \
    ${PYTHON_PN}-traitlets \
    "

repository: Xilinx/meta-jupyter

repo_name: Xilinx/meta-jupyter

gha_license_id: MIT

gha_language: BitBake


text:
file(REMOVE_RECURSE
  "CMakeFiles/string.dir/string.c.o"
  "string"
  "string.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang C)
  include(CMakeFiles/string.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

extension: cmake


text:
.photo-size {
  width: 320px;
  height: 220px;
}
body {
  background: #3d3a3a;
  font-family: 'Lobster', cursive;
}
.galery {
  margin-top: 60px;
}
.galery-photo {
  -webkit-opacity: 0.4;
  -moz-opacity: 0.4;
  opacity: 0.4;
  margin-right: 40px;
  width: 320px;
  height: 220px;
  background-size: cover;
  border-radius: 3px;
  padding-left: 0px;
  border: 2px solid #fff;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
}
.galery-photo:hover {
  -webkit-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.galery .form {
  position: absolute;
  top: 30px;
  left: 115px;
}
.galery .form-btn {
  background: none;
  border-radius: 50px;
  border: 2px solid #fff;
  color: #fff;
  padding: 7px 20px;
  font-size: 15px;
}
.galery .form-text {
  color: #fff;
}
.galery .form {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
  -webkit-transition: all 0.8s linear;
  transition: all 0.8s linear;
}
.galery .form:hover {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.galery .form-btn:hover {
  background: #fff;
  color: #050505;
}

extension: css


text:
@article{chiu2016named,
  author = {Chiu, Jason and Nichols, Eric},
  title = {Named Entity Recognition with Bidirectional LSTM-CNNs},
  journal = {Transactions of the Association for Computational Linguistics},
  year = {2016},
  volume = {4},
  pages = {357--370},
  url = {http://aclweb.org/anthology/Q16-1026}
}

url: https://raw.githubusercontent.com/Hugh-Shi/DL-NLP-Readings/924e4d189e5660c5b5d4854278f3df755ae2231d/Bibtex/Named Entity Recognition with Bidirectional LSTM-CNNs.bib

repository: Hugh-Shi/DL-NLP-Readings

repo_name: Hugh-Shi/DL-NLP-Readings


text:
@article{Caputi2016,
  doi = {10.1080/02791072.2016.1197989},
  url = {https://doi.org/10.1080/02791072.2016.1197989},
  year = {2016},
  month = may,
  publisher = {Informa {UK} Limited},
  volume = {48},
  number = {3},
  pages = {227--229},
  author = {Theodore L. Caputi and Kevin A. Sabet},
  title = {Commentary on {\textquotedblleft}New Perspectives on Drug Education/Prevention{\textquotedblright}},
  journal = {Journal of Psychoactive Drugs}
}

repository: tlcaputi/theodorecaputihugo-oldfork

repo_name: tlcaputi/theodorecaputihugo-oldfork


text:
@article{MultitaskWang2016,
 author = {Wang, Sen and Chang, Xiaojun and Li, Xue and Sheng, Quan Z. and Chen, Weitong},
 doi = {10.1016/j.sigpro.2014.12.012},
 journal = {Signal Processing},
 month = {mar},
 pages = {746--753},
 pmid = {18088928},
 publisher = {Elsevier},
 title = {Multi-task support vector machines for feature selection with shared knowledge discovery},
 volume = {120},
 year = {2016}
}

repository: csenw/csenw-website

repo_name: csenw/csenw-website


text:
@inbook{RN19,
 address = {Hamburg, Germany},
 author = {Stellmes, Marion and Frantz, David and Finckh, Manfred and Revermann, Rasmus and Röder, Achim and Hill, Joachim},
 geo = {Trier, Germany (1, 2, 5, 6) and Hamburg, Germany (3, 4)},
 booktitle = {Biodiversity & Ecology 5 - Special Volume: Environmental Assessments in the Okavango Region},
 doi = {10.7809/b-e.00288},
 editor = {Oldeland, Jens and Erb, Cynthia and Finckh, Manfred and Jürgens, Norbert},
 pages = {351-362},
 publisher = {University of Hamburg},
 series = {Biodiversity & Ecology},
 title = {Fire Frequency, Fire Seasonality and Fire Intensity within the Okavango Region Derived from MODIS Fire Products},
 type = {Book Section},
 year = {2013}
}

repository: davidfrantz/academic-kickstart

repo_name: davidfrantz/academic-kickstart


text:
@Book{iaml:11,
    author = {Katti Faceli and Ana Carolina Lorena and João Gama and André
Carlos Ponce de Leon Ferreira Carvalho},
    title = {Inteligência Artificial: Uma Abordagem de Aprendizado de Máquina},
    publisher = {LTC},
    year = {2011},
    edition = {1}
}

@misc{site:rtg,
    author = "Vangelis Bibakis",
    title = "Random Text Generator",
    url = "http://www.randomtextgenerator.com/",
	howpublished = "\url{http://www.randomtextgenerator.com/}"
}

@misc{site:lero,
    author = "Miguel Borges",
    title = "O Fabuloso Gerador De Lero Lero v3",
    url = "http://lerolero.miguelborges.com/",
    howpublished = "\url{http://lerolero.miguelborges.com/}"
}

@misc{site:knn,
    author = "Srishti Sawla",
    title = "K-Nearest Neighbors",
    url = "https://medium.com/@srishtisawla/k-nearest-neighbors-f77f6ee6b7f5",
    howpublished = "\url{https://medium.com/@srishtisawla/k-nearest-neighbors-f77f6ee6b7f5}"
}


text:
// Copyright 2023 flannel authors
//
// 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 retry

import (
	log "k8s.io/klog/v2"

	retry_v4 "github.com/avast/retry-go/v4"
)

// Do executes f until it does not return an error
// By default, the number of attempts is 10 with increasing delay between each
func Do(f func() error) error {

	return retry_v4.Do(f,
		retry_v4.OnRetry(func(n uint, err error) {
			log.Errorf("#%d: %s\n", n, err)
		}),
	)

}

repository: flannel-io/flannel

repo_name: flannel-io/flannel

gha_language: Go


text:
# Adapted from the version in meta-ti
SUMMARY = "Shared Transport Line Discipline User Mode initialisation Manager Daemon"
HOEMPAGE = "http://omappedia.org/wiki/Device_Driver_Interface_of_WiLink_Solution#User_Space_components"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://uim.c;beginline=1;endline=18;md5=9f0bbfbc10c67689e81a523e2976c31e"

inherit systemd update-rc.d

# Follow the Arch Linux name 'ti-uim' [1].  Systemd will prefer native
# service files over initscripts of the same name.
# [1] https://github.com/archlinuxarm/PKGBUILDs/pull/680/files
SYSTEMD_SERVICE_${PN} = "ti-uim.service"
SYSTEMD_AUTO_ENABLE = "disable"
INITSCRIPT_NAME = "ti-uim"
INITSCRIPT_PARAMS = "defaults 03"

SRC_URI[md5sum] = "369b15488303682ea86bca5345b1641d"
SRC_URI[sha256sum] = "ca8c8420f71eb2524c69cf2713dba637e5e36000cff9c22f0f2ac449ead2c420"

SRC_URI = " \
    https://s3.amazonaws.com/gumstix-misc/uim.tar.gz \
    file://0001-uim-Add-command-line-args-for-passing-sysfs-node-pat.patch \
    file://ti-uim \
    file://ti-uim.service \
"
S = "${WORKDIR}"

do_install() {
	install -d ${D}${bindir}
	install -m 0755 uim ${D}${bindir}

	# install a classic init script
	install -d ${D}${sysconfdir}/init.d
	install -m 0755 ${WORKDIR}/ti-uim ${D}${sysconfdir}/init.d

	# install systemd service
        install -d ${D}${systemd_unitdir}/system
        install -m 0644 ${WORKDIR}/ti-uim.service ${D}${systemd_unitdir}/system
}

branch_name: refs/heads/morty

gha_language: PHP


text:
@InProceedings{gamez:sii:2021,
  author    = {Gamez, Lucas and Yoshiyasu, Yusuke and Yoshida, Eiichi},
  title     = {Multi-person pose tracking with occlusion solving using motion models},
  booktitle = {IEEE/SICE International Symposium on System Integration},
  year      = {2021},
  pages     = {270--275},
  address   = {Iwaki, Japan},
  month     = {January 11-January 14},
  doi       = {10.1109/ieeeconf49454.2021.9382612}
}

gha_language: TeX


text:
@article{Harper:2007ab,
 abstract = {CONTEXT: Since the early 1980s, the black-white gap in life expectancy at birth increased sharply and subsequently declined, but the causes of these changes have not been investigated.
OBJECTIVE: To determine the contribution of specific age groups and causes of death contributing to the changes in the black-white life expectancy gap from 1983-2003.
DESIGN AND SETTING: US vital statistics data from the US National Vital Statistics System, maintained by the National Center for Health Statistics. Standard life table techniques were used to decompose the change in the black-white life expectancy gap by combining absolute changes in age-specific mortality with relative changes in the distribution of causes of death.
MAIN OUTCOME MEASURE: The gap in life expectancy at birth between blacks and whites.
RESULTS: Among females, the black-white life expectancy gap increased 0.5 years in the period 1983-1993, primarily due to increased mortality from human immunodeficiency virus (HIV) (0.4 years) and slower declines in heart disease (0.1 years), which were somewhat offset by relative improvements in stroke (-0.1 years). The gap among males increased by 2 years in the period 1983-1993, principally because of adverse changes in HIV (1.1 years), homicide (0.5 years), and heart disease (0.3 years). Between 1993 and 2003, the female gap decreased by 1 year (from 5.59 to 4.54 years). Half of the total narrowing of the gap among females was due to relative mortality improvement among blacks in heart disease (-0.2 years), homicide (-0.2 years), and unintentional injuries (-0.1 years). The decline in the life expectancy gap was larger among males, declining by 25% (from 8.44 to 6.33 years). Nearly all of the 2.1-year decline among males was due to relative mortality improvement among blacks at ages 15 to 49 years (-2.0 years). Three causes of death accounted for 71% of the narrowing of the gap among males (homicide [-0.6 years], HIV [-0.6 years], and unintentional injuries [-0.3 years]), and lack of improvement in heart disease at older ages kept the gap from narrowing further.
CONCLUSIONS: After widening during the late 1980s, the black-white life expectancy gap has declined because of relative mortality improvements in homicide, HIV, unintentional injuries, and, among females, heart disease. Further narrowing of the gap will require concerted efforts in public health and health care to address the major causes of the remaining gap from cardiovascular diseases, homicide, HIV, and infant mortality.},
 author = {Harper, Sam and Lynch, John and Burris, Scott and Davey Smith, George},
 bdsk-url-1 = {https://doi.org/10.1001/jama.297.11.1224},
 date-added = {2020-09-24 17:41:08 -0400},
 date-modified = {2020-09-24 17:41:08 -0400},
 doi = {10.1001/jama.297.11.1224},
 journal = {JAMA},
 journal-full = {JAMA},
 mesh = {Adolescent; Adult; African Continental Ancestry Group; Aged; Aged, 80 and over; Cause of Death; Child; Child, Preschool; European Continental Ancestry Group; Female; Humans; Infant; Life Expectancy; Male; Middle Aged; United States},
 month = {Mar},
 number = {11},
 pages = {1224-32},
 pmid = {17369405},
 pst = {ppublish},
 title = {Trends in the black-white life expectancy gap in the United States, 1983-2003},
 volume = {297},
 year = {2007}
}


text:
import React from 'react';
import { Header } from 'semantic-ui-react';

export default class Page404 extends React.Component {
  render() {
    return (
      <div className="Page404">
        <Header
          as="h1"
          textAlign="center"
          color="white"
          content="Page Not Found"
          subheader="You can put your sample message here"
        />
      </div>
    );
  }
}

repository: thecodingwhale/sample-chrome-extension

repo_name: thecodingwhale/sample-chrome-extension

gha_language: JavaScript

extension: jsx


text:
@INPROCEEDINGS{Sun2003a,
  author = {Lisong Sun and Steve Smith and Thomas Preston Caudell},
  title = {{FROTH} -- A force-directed representation of tree hierarchies},
  pages = {108--109},
  abstract = {FROTH is the implementation of a low complexity force-directed tree layout algorithm based on the Lennard-Jones potential. The recursive method lays out sub-trees as small disks contained in their parent disk. Inside each disk, children disks are dynamically laid out using a new force directed simulation. Unlike most other force-directed layout methods which run in quadratic time for each simulation step, this algorithm runs in $O(n^{m+1/m})$ time per each step for a tree with $n$ nodes, depth $m$ and all the nodes having uniform number of children. The layout uses space efficiently and reflects both global structure and local detail. The method supports runtime insertion and deletion. Both operations and the evolving process are rendered with smooth animation to preserve visual continuity. The method could be used to monitor in real time, visualize and analyze a wide variety of data which has a rooted tree structure, e.g. internet hosts could be laid out by domain name (DNS) hierarchies.},
  url = {http://conferences.computer.org/infovis/files/compendium2003.pdf},
  year = {2003},
  booktitle = {InfoVis'03: Poster Compendium of the IEEE Symposium on Information Visualization},
}

repository: vis-au/treevisnet

repo_name: vis-au/treevisnet


text:
DESCRIPTION = "Atmel QT home automation demo"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://main.cpp;endline=40;md5=ade79b42cecba4adb92be7b0e83bad33"

PACKAGES = "${PN}-dbg ${PN}"

PR = "r2"

DEPENDS = "qtbase qtquick1"
inherit qmake5

SRC_URI = "ftp://ftp.linux4sam.org/pub/demo/qtdemo/minehunt-${PV}.tar.gz"

SRC_URI[md5sum] = "4590076f5293ec54269e149c15399889"
SRC_URI[sha256sum] = "511f0a03df50629f16d45ca2bb6236e8395576423f39076a8d33a1d674bb76e1"

S = "${WORKDIR}/minehunt-${PV}"

inherit pkgconfig

FILES_${PN}-dbg = " \
  /opt/minehunt/.debug \
  /opt/minehunt/.debug/* \
  /usr/* \
  /opt/minehunt/minehunt.h \
  /opt/minehunt/minehunt.qmlproject \
  /opt/minehunt/minehunt.cpp \
  /opt/minehunt/main.cpp \
  /opt/minehunt/minehunt.pro \
  /opt/minehunt/qrc_minehunt.cpp \
  /opt/minehunt/moc_minehunt.cpp \
  /opt/minehunt/moc_qmlapplicationviewer.cpp \
"

FILES_${PN} = " \
  /opt/minehunt/minehunt \
  /opt/minehunt/resources/minehunt.sh \
  /opt/minehunt/qml/* \
  /opt/ApplicationL* \
"

do_install() {
	make INSTALL_ROOT=${D} install
}

repository: rousis/meta-atmel

repo_name: rousis/meta-atmel


text:
% Developers
@misc{jklontz,
	Author = {Joshua C. Klontz},
	Howpublished = {https://github.com/jklontz},
	Title = {jklontz at ieee.org}}

@misc{mburge,
	Author = {Dr. Mark J. Burge},
	Howpublished = {https://github.com/mburge},
	Title = {mburge at gmail.com}}

@misc{bklare,
	Author = {Dr. Brendan F. Klare},
	Howpublished = {https://github.com/bklare},
	Title = {brendan.klare at ieee.org}}

@misc{mmtaborsky,
	Author = {M. M. Taborsky},
	Howpublished = {https://github.com/mmtaborsky},
	Title = {mmtaborsky at gmail.com}}

@misc{sklum,
	Author = {Scott J. Klum},
	Howpublished = {https://github.com/sklum},
	Title = {scott.klum at gmail.com}}

@misc{caotto,
	Author = {Charles A. Otto},
	Howpublished = {https://github.com/caotto},
	Title = {ottochar at gmail.com}}

@misc{lbestrowden,
	Author = {Lacey S. Best-Rowden},
	Howpublished = {https://github.com/lbestrowden},
	Title = {bestrow1 at msu.edu}}

% Software
@misc{OpenBR,
	Author = {Joshua C. Klontz and Dr. Mark J. Burge},
	Title = {{OpenBR} - {Open} {Biometric} {Recognition}},
	Year = {2012}}

@misc{CT8,
	Author = {Cognitec},
	Howpublished = {www.cognitec-systems.de/FaceVACS-SDK.19.0.html},
	Title = {{FaceVACS-SDK} 8.5},
	Year = {2012}}

@misc{NEC3,
	Author = {NEC},
	Howpublished = {http://www.nec.com/en/global/solutions/security/product/neoface.html},
	Title = {NEC {NeoFace} {SDK} 3.1.1},
	Year = {2012}}

@misc{NT4,
	Author = {Neurotechnology},
	Howpublished = {www.neurotechnology.com/megamatcher.html},
	Title = {Neurotec {Biometric} {SDK} 4.2},
	Year = {2012}}

@misc{PP4,
	Author = {PittPatt},
	Howpublished = {www.pittpatt.com},
	Title = {PittPatt {SDK} 4.2.2},
	Year = {2010}}

@misc{PP5,
	Author = {PittPatt},
	Howpublished = {www.pittpatt.com},
	Title = {PittPatt {SDK} 5.2.2},
	Year = {2011}}

% Datasets
@misc{GBU,
	Author = {NIST},
	Howpublished = {www.nist.gov/itl/iad/ig/focs.cfm},
	Title = {Face and Ocular Challenge Series ({FOCS})},
	Year = {2010}}

@misc{MEDS,
	Author = {NIST},
	Howpublished = {www.nist.gov/itl/iad/ig/sd32.cfm},
	Title = {{NIST} Special Database 32 - Multiple Encounter Dataset ({MEDS})},
	Year = {2011}}

% Papers
@ inproceedings{Arandjelovic12,
	Author={Arandjelovic, R. and Zisserman, A.},
	Booktitle={Computer Vision and Pattern Recognition (CVPR), 2012 IEEE Conference on},
	Title={Three things everyone should know to improve object retrieval},
	Month={June},
	Year={2012}
	Pages={2911-2918}}

@inproceedings{belhumeur11,
	Author = {Belhumeur, P.N. and Jacobs, D.W. and Kriegman, D.J. and Kumar, N.},
	Booktitle = {Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on},
	Month = {jun},
	Pages = {545-552},
	Title = {Localizing parts of faces using a consensus of exemplars},
	Year = {2011}}

@inproceedings{bolme09,
	Author = {Bolme, D.S. and Draper, B.A. and Beveridge, J.R.},
	Booktitle = {Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on},
	Month = {jun},
	Pages = {2105-2112},
	Title = {Average of Synthetic Exact Filters},
	Year = {2009}}

@article{jegou11,
	Author = {J{\'e}gou, H. and Douze, M. and Schmid, C.},
	Journal = {Pattern Analysis and Machine Intelligence, IEEE Transactions on},
	Month = {jan},
	Number = {1},
	Pages = {117-128},
	Title = {Product Quantization for Nearest Neighbor Search},
	Volume = {33},
	Year = {2011}}

@inproceedings{klare11,
	Author = {Klare, B.},
	Booktitle = {Michigan State University Technical Report, {MSU-CSE-11-16}},
	Title = {Spectrally Sampled Structural Subspace Features ({4SF})},
	Year = {2011}}

@inproceedings{klare12,
	Author={Klare, B.F. and Jain, A.K.},
	Booktitle={Biometrics: Theory, Applications and Systems (BTAS), 2012 IEEE Fifth International Conference on},
	Title={Face recognition: Impostor-based measures of uniqueness and quality},
	Year={2012},
	Month={sept.},
	Pages={237-244}}

@article{meyers08,
	Author = {Meyers, E. and Wolf, L.},
	Journal = {Int. Journal of Computer Vision},
	Number = {1},
	Pages = {93-104},
	Title = {Using biologically inspired features for face processing},
	Volume = {76},
	Year = {2008}}

@article{milborrow08,
	Author = {S. Milborrow and F. Nicolls},
	Journal = {ECCV},
	Note = {www.milbo.users.sonic.net/stasm},
	Title = {Locating Facial Features with an Extended Active Shape Model},
	Year = {2008}}

@article{moghaddam97,
	Author = {Moghaddam, B. and Pentland, A.},
	Journal = {Pattern Analysis and Machine Intelligence, IEEE Transactions on},
	Month = {jul},
	Number = {7},
	Pages = {696-710},
	Title = {Probabilistic Visual Learning for Object Representation},
	Volume = {19},
	Year = {1997}}

@inproceedings{phillips11,
	Author = {Phillips, P.J. and Beveridge, J.R. and Draper, B.A. and Givens, G. and O'Toole, A.J. and Bolme, D.S. and Dunlop, J. and Yui Man Lui and Sahibzada, H. and Weimer, S.},
	Booktitle = {Automatic Face Gesture Recognition and Workshops (FG 2011), 2011 IEEE International Conference on},
	Month = {mar},
	Pages = {346-353},
	Title = {An Introduction to the Good, the Bad, and the Ugly Face Recognition Challenge Problem},
	Year = {2011}}

@article{weiss08,
	Author = {Weiss, Y. and Torralba A. and Fergus, J.},
	Journal = {Advances in Neural Information Processing Systems},
	Title = {Spectral Hashing},
	Year = {2008}}

@inproceedings{wolf11,
	author={Wolf, L. and Hassner, T. and Maoz, I.},
	booktitle={Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on},
	title={Face recognition in unconstrained videos with matched background similarity},
	year={2011},
	month={june},
	pages={529-534}}

@mastersthesis{zauner10,
	Author = {Zauner, C.},
	School = {Upper Austria University of Applied Sciences, Hagenberg Campus},
	Title = {Implementation and Benchmarking of Perceptual Image Hash Functions},
	Year = {2010}}

@inproceedings{zhu11,
	Author = {Zhu, C. and Wen, F. and Sun J.},
	Booktitle = {Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on},
	Month = {jun},
	Pages = {481-488},
	Title = {A Rank-Order Distance Based Clustering Algorithm for Face Tagging},
	Year = {2011}}

repository: emillundh/openbr

repo_name: emillundh/openbr


text:
@incollection{packrat_is_it_worth_it,
  year={2008},
  isbn={978-3-540-77441-9},
  booktitle={Practical Aspects of Declarative Languages},
  volume={4902},
  series={Lecture Notes in Computer Science},
  editor={Hudak, Paul and Warren, David S.},
  doi={10.1007/978-3-540-77442-6_13},
  title={DCGs + Memoing = Packrat Parsing but Is It Worth It?},
  url={http://dx.doi.org/10.1007/978-3-540-77442-6_13},
  publisher={Springer Berlin Heidelberg},
  keywords={Mercury; parsing; packrat; recursive descent; DCG; memoing; tabling},
  author={Becket, Ralph and Somogyi, Zoltan},
  pages={182-196},
  language={English}
}

@article{yakker1,
 author = {Jim, Trevor and Mandelbaum, Yitzhak and Walker, David},
 title = {Semantics and Algorithms for Data-dependent Grammars},
 journal = {SIGPLAN Not.},
 issue_date = {January 2010},
 volume = {45},
 number = {1},
 month = jan,
 year = {2010},
 issn = {0362-1340},
 pages = {417--430},
 numpages = {14},
 url = {http://doi.acm.org/10.1145/1707801.1706347},
 doi = {10.1145/1707801.1706347},
 acmid = {1706347},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {ambiguous grammars, automata, context-sensitive grammars, data-dependent grammars, earley parsing, ebnf, l-attributed grammars, regular expressions, regular right-sides, scannerless parsing, semantic predicates, transducers},
}

@inproceedings{yakker2,
 author = {Jim, Trevor and Mandelbaum, Yitzhak},
 title = {A New Method for Dependent Parsing},
 booktitle = {Proceedings of the 20th European Conference on Programming Languages and Systems: Part of the Joint European Conferences on Theory and Practice of Software},
 series = {ESOP'11/ETAPS'11},
 year = {2011},
 isbn = {978-3-642-19717-8},
 location = {Saarbr\&\#252;cken, Germany},
 pages = {378--397},
 numpages = {20},
 url = {http://dl.acm.org/citation.cfm?id=1987211.1987231},
 acmid = {1987231},
 publisher = {Springer-Verlag},
 address = {Berlin, Heidelberg},
}

@book{grune_jacobs,
  title={Parsing Techniques: A Practical Guide},
  author={Grune, D. and Jacobs, C.},
  isbn={9780387202488},
  lccn={2007936901},
  series={Monographs in Computer Science},
  url={https://encrypted.google.com/books?id=lgtNmAEACAAJ},
  year={2008},
  publisher={Springer}
}

@article{1V_AGs,
  year={1981},
  issn={0001-5903},
  journal={Acta Informatica},
  volume={16},
  number={3},
  doi={10.1007/BF00289307},
  title={The formal power of one-visit attribute grammars},
  url={http://dx.doi.org/10.1007/BF00289307},
  publisher={Springer-Verlag},
  author={Engelfriet, Joost and Filè, Gilberto},
  pages={275-302},
  language={English}
}

@manual{marpa,
  year={2013},
  title={Marpa, a Practical General Parser: the Recognizer},
  author={Jeffrey Kegler},
  month=jun,
  url={https://docs.google.com/file/d/0B9_mR_M2zOc4Ni1zSW5IYzk3TGc/edit?usp=sharing}
}

@article{lr-regular,
 author = {Karel {Čulik II} and Rina Cohen},
 title = {LR-regular Grammars-an Extension of LR(K) Grammars},
 journal = {J. Comput. Syst. Sci.},
 issue_date = {February, 1973},
 volume = {7},
 number = {1},
 month = feb,
 year = {1973},
 issn = {0022-0000},
 pages = {66--96},
 numpages = {31},
 url = {http://dx.doi.org/10.1016/S0022-0000(73)80050-9},
 doi = {10.1016/S0022-0000(73)80050-9},
 acmid = {1739987},
 publisher = {Academic Press, Inc.},
 address = {Orlando, FL, USA},
}

@article{leo,
 author = {Leo, Joop M. I. M.},
 title = {A General Context-free Parsing Algorithm Running in Linear Time on Every LR(K) Grammar Without Using Lookahead},
 journal = {Theor. Comput. Sci.},
 issue_date = {May 22, 1991},
 volume = {82},
 number = {1},
 month = may,
 year = {1991},
 issn = {0304-3975},
 pages = {165--176},
 numpages = {12},
 url = {http://dx.doi.org/10.1016/0304-3975(91)90180-A},
 doi = {10.1016/0304-3975(91)90180-A},
 acmid = {113998},
 publisher = {Elsevier Science Publishers Ltd.},
 address = {Essex, UK},
}

@article{ll-regular,
  title={Properties of LL-Regular Languages},
  author={Poplawski, David A},
  year={1977}
}

@article{antlr3,
 author = {Parr, Terence and Fisher, Kathleen},
 title = {LL(*): The Foundation of the ANTLR Parser Generator},
 journal = {SIGPLAN Not.},
 issue_date = {June 2011},
 volume = {46},
 number = {6},
 month = jun,
 year = {2011},
 issn = {0362-1340},
 pages = {425--436},
 numpages = {12},
 url = {http://doi.acm.org/10.1145/1993316.1993548},
 doi = {10.1145/1993316.1993548},
 acmid = {1993548},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {augmented transition networks, backtracking, context-sensitive parsing, deterministic finite automata, glr, memoization, nondeterministic parsing, peg, semantic predicates, subset construction, syntactic predicates},
}

@article{antlr4,
 author = {Parr, Terence and Harwell, Sam and Fisher, Kathleen},
 title = {Adaptive LL(*) Parsing: The Power of Dynamic Analysis},
 journal = {SIGPLAN Not.},
 issue_date = {October 2014},
 volume = {49},
 number = {10},
 month = oct,
 year = {2014},
 issn = {0362-1340},
 pages = {579--598},
 numpages = {20},
 url = {http://doi.acm.org/10.1145/2714064.2660202},
 doi = {10.1145/2714064.2660202},
 acmid = {2660202},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {all(*), augmented transition networks, dfa, gll, glr, grammar, ll(*), nondeterministic parsing, peg},
}

@article{gll1,
 author = {Scott, Elizabeth and Johnstone, Adrian},
 title = {GLL Parsing},
 journal = {Electron. Notes Theor. Comput. Sci.},
 issue_date = {September, 2010},
 volume = {253},
 number = {7},
 month = sep,
 year = {2010},
 issn = {1571-0661},
 pages = {177--189},
 numpages = {13},
 url = {http://dx.doi.org/10.1016/j.entcs.2010.08.041},
 doi = {10.1016/j.entcs.2010.08.041},
 acmid = {1860320},
 publisher = {Elsevier Science Publishers B. V.},
 address = {Amsterdam, The Netherlands, The Netherlands},
 keywords = {RNGLR and RIGLR parsing, context free languages, generalised parsing, recursive descent},
}

@incollection{gll2,
  title={Modelling GLL parser implementations},
  author={Johnstone, Adrian and Scott, Elizabeth},
  booktitle={Software Language Engineering},
  pages={42--61},
  year={2011},
  publisher={Springer}
}

@article{spiewak,
  title={Generalized Parser Combinators},
  author={Spiewak, Daniel},
  year={2010}
}

@book{tomita1985efficient,
  title={Efficient parsing for natural language: A fast algorithm for practical systems},
  author={Tomita, Masaru},
  volume={8},
  year={1985},
  publisher={Springer Science \& Business Media}
}

@inproceedings{afroozeh_izmaylova,
  title={Faster, Practical GLL Parsing},
  author={Afroozeh, Ali and Izmaylova, Anastasia},
  booktitle={Compiler Construction},
  pages={89--108},
  year={2015},
  organization={Springer}
}

@incollection{koopman_plasmeijer,
  title={Efficient combinator parsers},
  author={Koopman, Pieter and Plasmeijer, Rinus},
  booktitle={Implementation of Functional Languages},
  pages={120--136},
  year={1999},
  publisher={Springer}
}

repository: ceridwen/combinators

repo_name: ceridwen/combinators


text:
@article{Smith-2021-Developing,
    title = "Developing understanding of the fate and behaviour of silver in fresh waters and waste waters",
    author = "Smith, D. Scott  and
      Nasir, R.  and
      Parker, Wayne  and
      Peters, A.  and
      Merrington, G.  and
      van Egmond, R.  and
      Lofts, S.",
    journal = "Science of The Total Environment, Volume 757",
    volume = "757",
    year = "2021",
    publisher = "Elsevier BV",
    url = "https://aclanthology.org/G21-30001",
    doi = "10.1016/j.scitotenv.2020.143648",
    pages = "143648",
}

repository: gwf-uwaterloo/gwf-publications

repo_name: gwf-uwaterloo/gwf-publications

gha_language: Python


text:
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

# Install compiler on debian using:
# apt-get install -y gcc-x86-64-linux-gnu g++-x86-64-linux-gnu binutils-x86-64-linux-gnu pkg-config-x86-64-linux-gnu

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR amd64)

set(CMAKE_C_COMPILER x86_64-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER x86_64-linux-gnu-g++)
set(CMAKE_STRIP x86_64-linux-gnu-strip)
set(PKG_CONFIG_EXECUTABLE x86_64-linux-gnu-pkg-config CACHE PATH "Path to amd64 pkg-config")

repository: openvinotoolkit/openvino

repo_name: openvinotoolkit/openvino


text:
package main

import (
	"log"
	"os"
	"os/exec"
	"path"

	"github.com/dddpaul/golang-evdev/evdev"
	"github.com/spf13/viper"
)

func main() {

	var (
		dev    *evdev.InputDevice
		events []evdev.InputEvent
		err    error
	)

	pkgpath := path.Join(os.Getenv("GOPATH"), "src", "github.com", "jeromenerf", "noisy")

	viper.SetDefault("device", "/dev/input/event0")
	viper.SetDefault("location", path.Join(pkgpath, "samples"))
	viper.SetDefault("sounds", map[string]string{"hi": "hi.mp3", "lo": "lo.mp3", "default": "default.mp3"})

	viper.SetConfigName("config")
	viper.AddConfigPath("$HOME/.config/noisy")
	viper.AddConfigPath(".")
	viper.ReadInConfig()

	device := viper.GetString("device")
	location := viper.GetString("location")
	sounds := viper.GetStringMapString("sounds")

	dev, err = evdev.Open(device)
	if err != nil {
		log.Fatalf("unable to open input device")
	}

	log.Printf("Listening for events ...\n")

	ch := make(chan string, 12)
	go worker(ch, location, sounds)

	for {
		events, err = dev.Read()
		for _, ev := range events {
			var codeName string
			code := int(ev.Code)
			evType := int(ev.Type)
			if m, ok := evdev.ByEventType[evType]; ok {
				codeName = m[code]
			}
			if evType == evdev.EV_KEY && ev.Value == 1 {
				ch <- codeName
			}
		}
	}
}

func worker(ch <-chan string, location string, sounds map[string]string) {
	key := "default"

	for codename := range ch {
		switch codename {
		case "KEY_ENTER",
			"KEY_SPACE",
			"KEY_BACKSPACE",
			"KEY_DELETE",
			"KEY_ESC":
			key = "lo"

		case "KEY_TAB",
			"KEY_RIGHT",
			"KEY_LEFT",
			"KEY_UP",
			"KEY_DOWN",
			"KEY_RIGHTSHIFT",
			"KEY_LEFTSHIFT",
			"KEY_CAPSLOCK",
			"KEY_WAKEUP",
			"KEY_LEFTALT",
			"KEY_RIGHTALT",
			"KEY_RIGHTCTRL",
			"KEY_LEFTCTRL",
			"KEY_LEFTMETA",
			"KEY_COMPOSE":
			key = "hi"

		default:
			key = "default"

		}
		sound := path.Join(location, sounds[key])
		go func(sound string) {
			_, err := exec.Command("mpg123", "-q", sound).CombinedOutput()
			if err != nil {
				log.Println(err)
			}
		}(sound)
	}
}

repository: jeromenerf/noisy

repo_name: jeromenerf/noisy


text:
var Chain = new Class({

	$chain:		[],

	chain:		function()
	{
		this.$chain.append(Array.flatten(arguments));
		return this;
	},

	callChain:	function()
	{
		return (
			this.$chain.length
			?
			this.$chain.shift().apply(this, arguments)
			:
			false
		);
	},

	clearChain:	function()
	{
		this.$chain.empty();
		return this;
	},

	wait:		function(duration)
	{
		return this.chain(function()
		{
			this.callChain.delay((empty(duration) ? 500 : duration), this);
			return this;
		}.bind(this));
	}

});

repository: revnode/todo

repo_name: revnode/todo

extension: js


text:
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL
                                           "Clang")
  option(MELT_ENABLE_COVERAGE "Enable coverage reporting for gcc/clang" OFF)

  if(ENABLE_COVERAGE)
    target_compile_options(_melt_options INTERFACE --coverage -O0 -g)
    target_link_libraries(_melt_options INTERFACE --coverage)
  endif()

  set(SANITIZERS "")

  option(MELT_ENABLE_SANITIZER_ADDRESS "Enable address sanitizer" OFF)
  if(MELT_ENABLE_SANITIZER_ADDRESS)
    list(APPEND SANITIZERS "address")
  endif()

  option(MELT_ENABLE_SANITIZER_MEMORY "Enable memory sanitizer" OFF)
  if(ENABLE_SANITIZER_MEMORY)
    list(APPEND SANITIZERS "memory")
  endif()

  option(MELT_ENABLE_SANITIZER_UNDEFINED_BEHAVIOR
         "Enable undefined behavior sanitizer" OFF)
  if(MELT_ENABLE_SANITIZER_UNDEFINED_BEHAVIOR)
    list(APPEND SANITIZERS "undefined")
  endif()

  option(MELT_ENABLE_SANITIZER_THREAD "Enable thread sanitizer" OFF)
  if(MELT_ENABLE_SANITIZER_THREAD)
    list(APPEND SANITIZERS "thread")
  endif()

  list(JOIN SANITIZERS "," LIST_OF_SANITIZERS)

endif()

if(LIST_OF_SANITIZERS)
  if(NOT "${LIST_OF_SANITIZERS}" STREQUAL "")
    target_compile_options(_melt_options
                           INTERFACE -fsanitize=${LIST_OF_SANITIZERS})
    target_link_libraries(_melt_options
                          INTERFACE -fsanitize=${LIST_OF_SANITIZERS})
  endif()
endif()


text:
import React from 'react';
import {View, StyleSheet, Text, ImageBackground} from 'react-native';

export const ProfileScreen = ({navigation, route}) => {
  return (
    <ImageBackground
      style={styles.imageBackground}
      source={require('../icons/background.png')}>
      <View style={styles.container}>
        <Text styles={styles.titleText}>PROFILE</Text>
      </View>
    </ImageBackground>
  );
};

const styles = StyleSheet.create({
  container: {
    flex: 1,
    display: 'flex',
  },
  titleText: {
    color: 'white',
    fontSize: 50,
    fontWeight: 'bold',
    alignSelf: 'center',
    marginTop: 20,
  },
  imageBackground: {
    width: '100%',
    height: '100%',
  },
});

repository: Sunrise-Integration/MobX-Example

repo_name: Sunrise-Integration/MobX-Example


text:
require optee-test.inc

SRCREV = "f2eb88affbb7f028561b4fd5cbd049d5d704f741"

repository: liyapenggo/openbmc

repo_name: liyapenggo/openbmc


text:
require gpe-timesheet.inc

PR = "r1"

SRC_URI[md5sum] = "402b0dcfff28bc5d2bfbcf7b1f644afe"
SRC_URI[sha256sum] = "1200fd739898ce71303c758149150910faa803722bd790811b754a48e0ef944d"

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
"use strict";

$(document).ready(function() {
    var res;

    function getBillById(id) {
        $.post({
            url: '/bill',
            type: 'POST',
            contentType: 'application/json',
            data: JSON.stringify({bill_id: id})
        }, function(data) {
            if (data) {
                $('#tracker').show();
                $('#search-div').hide();
                $('#select-other').show();

                data = JSON.parse(data);
                res = data;
                setBillState(res.state)
            }
            else
                console.log('invalid query :(')// invalid query :(
        })
    }

    function setBillState(state) {

    }

    // $('[data-toggle="tooltip"]').tooltip()
});

repository: vincihb/bill-website

repo_name: vincihb/bill-website


text:
@article{arnett_etal_2014,
  title={Detecting stand-replacing disturbance using rapideye imagery: a tasseled cap transformation and modified disturbance index},
  author={Arnett, John TTR and Coops, Nicholas C and Gergel, Sarah E and Falls, Robert W and Baker, Russell H},
  journal={Canadian Journal of Remote Sensing},
  volume={40},
  number={1},
  pages={1--14},
  year={2014},
  publisher={Taylor \& Francis}
}

@article{baig_etal_2014,
  title={Derivation of a tasselled cap transformation based on {L}andsat 8 at-satellite reflectance},
  author={Baig, Muhammad Hasan Ali and Zhang, Lifu and Shuai, Tong and Tong, Qingxi},
  journal={Remote Sensing Letters},
  volume={5},
  number={5},
  pages={423--431},
  year={2014},
  publisher={Taylor \& Francis}
}

@article{huang_etal_2002,
  title={Derivation of a tasselled cap transformation based on {L}andsat 7 at-satellite reflectance},
  author={Huang, Chengquan and Wylie, Bruce and Yang, Limin and Homer, Collin and Zylstra, Gregory},
  journal={International journal of remote sensing},
  volume={23},
  number={8},
  pages={1741--1748},
  year={2002},
  publisher={Taylor \& Francis}
}

@article{lobser_cohen_2007,
  title={{MODIS} tasselled cap: land cover characteristics expressed through transformed {MODIS} data},
  author={Lobser, SE and Cohen, WB},
  journal={International Journal of Remote Sensing},
  volume={28},
  number={22},
  pages={5079--5101},
  year={2007},
  publisher={Taylor \& Francis}
}

@inproceedings{pereira_2006,
  title={Modeling flammability in disturbed tropical forests using an {IKONOS} tasseled cap transform},
  author={Pereira, Gary M},
  booktitle={American Society of Photogrammetry and Remote Sensing (ASPRS) 2006 Annual Conference Proc., Reno, Nevada, May},
  pages={1--5},
  year={2006}
}

@article{sheng_etal_2011,
  title={A tasseled cap transformation for {CBERS-02B} {CCD} data},
  author={Sheng, Li and Huang, Jing-feng and Tang, Xiao-lu},
  journal={Journal of Zhejiang University Science B},
  volume={12},
  number={9},
  pages={780},
  year={2011},
  publisher={Springer}
}

@inproceedings{yajuan_danfeng_2005,
  title={The {ASTER} tasseled cap interactive transformation using {G}ramm-{S}chmidt method},
  author={Wang, Yajuan and Sun, Danfeng},
  booktitle={MIPPR 2005: SAR and Multispectral Image Processing},
  volume={6043},
  pages={60430R},
  year={2005},
  organization={International Society for Optics and Photonics}
}

@inproceedings{yarbrough_etal_2005,
  title={{Q}uickBird 2 tasseled cap transform coefficients: a comparison of derivation methods},
  author={Yarbrough, Lance D and Easson, Greg and Kuszmaul, Joel S},
  booktitle={Pecora},
  volume={16},
  pages={23--27},
  year={2005}
}

repository: jgrss/geowombat

repo_name: jgrss/geowombat

gha_language: Jupyter Notebook


text:
package main

import (
	"bufio"
	"flag"
	"fmt"
	"log"
	"os"
	"strconv"
	"strings"
)

// Read a fasta alignment from an infile
// The header is used as the key for the dictionary
// No sanity checks are performed as of now
func ReadFastaAlignment(fname string) map[string]string {

	f, err := os.Open(fname)
	if err != nil {
		log.Fatal(err)
	}
	defer f.Close()

	var id string
	aln := make(map[string]string)
	scanner := bufio.NewScanner(f)

	for scanner.Scan() {
		if strings.HasPrefix(scanner.Text(), ">") {
			id = strings.Fields(scanner.Text()[1:])[0]
			aln[id] = ""
		} else {
			// Remove potential space characters with nothing
			seq := strings.Replace(strings.ToUpper(scanner.Text()), " ", "", -1)
			aln[id] = aln[id] + seq
		}

	}

	return aln
}

type Protein struct {
	PID, GID, TID string
	Length        int
	Domains       []Domain
}

type Domain struct {
	ID, Name    string
	Start, Stop int
}

func ReadDomtblout(fname string) map[string]*Protein {

	f, err := os.Open(fname)
	if err != nil {
		log.Fatal(err)
	}
	defer f.Close()

	proteins := make(map[string]*Protein)
	scanner := bufio.NewScanner(f)

	for scanner.Scan() {
		// # denotes the start of a comment and can be ignored
		if strings.HasPrefix(scanner.Text(), "#") {
			continue
		} else {
			fields := strings.Fields(scanner.Text())
			pid := fields[0]
			start, _ := strconv.Atoi(fields[17])
			stop, _ := strconv.Atoi(fields[18])
			domain := Domain{
				ID:    fields[4],
				Name:  fields[3],
				Start: start,
				Stop:  stop,
			}
			if protein, ok := proteins[pid]; ok {
				protein.Domains = append(protein.Domains, domain)
			} else {
				proteins[pid] = new(Protein)
				proteins[pid].PID = pid
				proteins[pid].GID = strings.Split(fields[24], ":")[1]
				proteins[pid].TID = strings.Split(fields[25], ":")[1]
				proteins[pid].Domains = append(proteins[pid].Domains, domain)
			}
		}

	}

	return proteins
}

func GetNucleotidePosition(proteins map[string]*Protein, seqs map[string]string) map[string]string {

	nucleotideDomains := make(map[string]string)
	var nucID string
	usedGenes := make(map[string]bool)

	for _, p := range proteins {
		// Ignore genes that have been used already. Happens because of different splice variants.
		if usedGenes[p.GID] {
			continue
		}
		for _, domain := range p.Domains {
			// fmt.Println(nucID)
			nucID = p.TID + " " + strconv.Itoa(domain.Start) + ":" + strconv.Itoa(domain.Stop)
			nucleotideDomains[nucID] = seqs[p.TID][domain.Start*3 : domain.Stop*3]
		}
		usedGenes[p.GID] = true
	}

	return nucleotideDomains
}

// Takes a map with header/sequences and writes a sequential Phylip formated
// output file. Currently, illegal characters are replaced from the header,
// but the header is not truncated at 10 characters
func WriteFasta(fname string, seqs map[string]string) {

	f, err := os.Create(fname)
	if err != nil {
		log.Fatal(err)
	}
	defer f.Close()

	for id, s := range seqs {
		f.WriteString(">" + id + "\n")
		f.WriteString(s + "\n")
	}
	return
}

func main() {
	var (
		domtblout = flag.String("domtbl", "", "A domtblout formated file produced by HMMER3 hmmsearch. Must contain *peptide* information.")
		cdna      = flag.String("cdna", "", "ENSEMBL cdna fasta file. Must correspond the species that was searched with hmmsearch.")
		nucl      = flag.String("nucl", "", "Fasta formated output file storing the nucleotide sequences corresponding to domains detected and provided via the domtblout file.")
	)
	flag.Parse()
	log.SetOutput(os.Stdout)
	log.SetFlags(log.Lmicroseconds)

	fmt.Println("Reading domain input...")
	proteins := ReadDomtblout(*domtblout)
	fmt.Println("Reading cdna input...")
	seqs := ReadFastaAlignment(*cdna)
	nucldomainseqs := GetNucleotidePosition(proteins, seqs)
	WriteFasta(*nucl, nucldomainseqs)
}


text:
SECTION = "devel/chicken"
DESCRIPTION = "Bindings to the ISAAC CSPRNG"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://isaac.meta;md5=de98043a07249c8f46c5a31920d66603"
DEPENDS_append_class-cross = " chicken-egg-module-declarations-cross"
DEPENDS_append_class-crosssdk = " chicken-egg-module-declarations-crosssdk"
DEPENDS_append_class-nativesdk = " nativesdk-chicken-egg-module-declarations chicken-egg-module-declarations-crosssdk"
DEPENDS = " chicken-egg-module-declarations chicken-egg-module-declarations-cross"
RDEPENDS_${PN} = " chicken-egg-module-declarations"

SRC_URI = "http://code.call-cc.org/egg-tarballs/4/isaac/isaac-${PV}.tar.gz"

SRC_URI[md5sum] = "6e8982ba4723377c8ae7530f7b91891c"
SRC_URI[sha256sum] = "6cc2fcd9f221ffcdd6d9c6e81fa6c6f01dad63862c5251a3fcac2df4f4624335"

S = "${WORKDIR}/isaac-${PV}"

inherit chicken_install

BBCLASSEXTEND = "cross crosssdk nativesdk"

repository: OSSystems/meta-chicken

repo_name: OSSystems/meta-chicken


text:
DESCRIPTION = "GNOME Structured File Library"
LICENSE = "GPLv2 & LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=dc7371b50816c96e145fa0f8ade8e24d \
                    file://COPYING.LIB;md5=61464cfe342798eeced82efe9ae55f63"

PR = "r3"

SECTION = "libs"

DEPENDS= "libxml2 bzip2 glib-2.0 zlib"

inherit autotools pkgconfig gnome gconf

SRC_URI[archive.md5sum] = "2b702648b853402554c97d75405c60d3"
SRC_URI[archive.sha256sum] = "eef0a9d6eca4e6af6c16b208947e3c958c428b94d22792bdd0b80c08a4b301db"

EXTRA_OECONF = "\
		--without-python \
		--without-gnome-vfs --without-bonobo \
		--disable-gtk-doc \
		--with-bz2"

RDEPENDS_${PN} = "gconf"


text:
@inproceedings{butz2015darwinian,
 author = {Butz, C.J. and Oliveira, J.S. and dos Santos, A.E.},
 booktitle = {Twenty-eighth Canadian Conference on Artificial Intelligence (AI)},
 pages = {16--29},
 title = {Darwinian Networks},
 year = {2015}
}


text:
---
---

@INPROCEEDINGS{DSK2021a,
	abbr		= {KONVENS},
	author	= {Niclas Hildebrandt and Benedikt Bönninghoff and Dennis Orth and Christopher Schymura},
	booktitle	= {Konferenz zur Verarbeitung natürlicher Sprache/Conference on Natural Language Processing (KONVENS)},
	publisher = {German Society for Computational Linguistics & Language Technology},
	title	= {Data Science Kitchen at GermEval 2021: A Fine Selection of Hand-Picked Features, Delivered Fresh from the Oven},
	year		= {2021},
	abstract	= {This paper presents the contribution of the Data Science Kitchen at GermEval 2021 shared task on the identification of toxic, engaging, and fact-claiming comments. The task aims at extending the identification of offensive language, by including additional subtasks that identify comments which should be prioritized for fact-checking by moderators and community managers. Our contribution focuses on a feature-engineering approach with a conventional classification backend. We combine semantic and writing style embeddings derived from pre-trained deep neural networks with additional numerical features, specifically designed for this task. Ensembles of Logistic Regression classifiers and Support Vector Machines are used to derive predictions for each subtask via a majority voting scheme. Our best submission achieved macro-averaged F1-scores of 66.8%, 69.9% and 72.5% for the identification of toxic, engaging, and fact-claiming comments.},
	pdf		= {https://netlibrary.aau.at/obvukloa/content/pageview/6435304}
}

@InProceedings{boenninghoff:2021b,
  author =              {Benedikt Bönninghoff and Robert M. Nickel and Dorothea Kolossa},
  booktitle =           {CLEF 2021 Labs and Workshops, Notebook Papers},
  crossref =            {pan:2021},
  month =               sep,
  publisher =           {CEUR-WS.org},
  title =               {O2D2: Out-Of-Distribution Detector to Capture Undecidable Trials in Authorship Verification (1st place at PAN@CLEF 2021 Authorship Identification Challenge)},
  year =                2021,
  pdf       	= {https://arxiv.org/pdf/2106.15825.pdf},
  abstract= "The PAN 2021 authorship verification (AV) challenge is part of a three-year strategy, moving from a cross-topic/closed-set AV task to a cross-topic/open-set AV task over a collection of fanfiction texts. In this work, we present a novel hybrid neural-probabilistic framework that is designed to tackle the challenges of the 2021 task. Our system is based on our 2020 winning submission, with updates to significantly reduce sensitivities to topical variations and to further improve the system's calibration by means of an uncertainty-adaptation layer. Our framework additionally includes an out-of-distribution detector (O2D2) for defining non-responses. Our proposed system outperformed all other systems that participated in the PAN 2021 AV task."
}

@InProceedings{boenninghoff:2021a,
author = {Benedikt Bönninghoff and Dorothea Kolossa and Robert M. Nickel},
booktitle = {12th International Conference of the CLEF Association (CLEF 2021)},
publisher = {Springer},
title = {Self-Calibrating Neural-Probabilistic Model for Authorship Verification Under Covariate Shift},
abstract= {We are addressing two fundamental problems in authorship verification (AV): Topic variability and miscalibration. Variations in the topic of two disputed texts are a major cause of error for most AV systems. In addition, it is observed that the underlying probability estimates produced by deep learning AV mechanisms oftentimes do not match the actual case counts in the respective training data. As such, probability estimates are poorly calibrated. We are expanding our framework from PAN 2020 to include Bayes factor scoring (BFS) and an uncertainty adaptation layer (UAL) to address both problems. Experiments with the 2020/21 PAN AV shared task data show that the proposed method significantly reduces sensitivities to topical variations and significantly improves the system's calibration.},
year = 2021,
pdf= {https://arxiv.org/pdf/2106.11196.pdf},
}

@INPROCEEDINGS{Schymura2021,
	abbr		= {INTERSPEECH},
	author	= {Christopher Schymura and Benedikt Bönninghoff and Tsubasa Ochiai and Marc Delcroix and Keisuke Kinoshita and Tomohiro Nakatani and Shoko Araki and Dorothea Kolossa},
	booktitle	= {Annual Conference of the International Speech Communication Association (INTERSPEECH)},
	title	= {PILOT: Introducing Transformers for Probabilistic Sound Event Localization},
	year		= {2021},
	arxiv	= {2106.03903},
	abstract	= {Sound event localization aims at estimating the positions of sound sources in the environment with respect to an acoustic receiver (e.g. a microphone array). Recent advances in this domain most prominently focused on utilizing deep recurrent neural networks. Inspired by the success of transformer architectures as a suitable alternative to classical recurrent neural networks, this paper introduces a novel transformer-based sound event localization framework, where temporal dependencies in the received multi-channel audio signals are captured via self-attention mechanisms. Additionally, the estimated sound event positions are represented as multivariate Gaussian variables, yielding an additional notion of uncertainty, which many previously proposed deep learning-based systems designed for this application do not provide. The framework is evaluated on three publicly available multi-source sound event localization datasets and compared against state-of-the-art methods in terms of localization error and event detection accuracy. It outperforms all competing systems on all datasets with statistical significant differences in performance.}
}

@INPROCEEDINGS{Wissing2021,
	abbr		= {ICASSP},
	author	= {Julio Wissing and Benedikt Bönninghoff and Dorothea Kolossa and Tsubasa Ochiai and Marc Delcroix and Keisuke Kinoshita and Tomohiro Nakatani and Shoko Araki and Christopher Schymura},
	booktitle	= {IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
	title	= {Data Fusion for Audiovisual Speaker Localization: Extending Dynamic Stream Weights to the Spatial Domain},
	year		= {2021},
	arxiv	= {2102.11588},
	code	= {https://github.com/rub-ksv/spatial-stream-weights},
    pdf		= {https://ieeexplore.ieee.org/document/9413399},
	abstract	= {Estimating the positions of multiple speakers can be helpful for tasks like automatic speech recognition or speaker diarization. Both applications benefit from a known speaker position when, for instance, applying beamforming or assigning unique speaker identities. Recently, several approaches utilizing acoustic signals augmented with visual data have been proposed for this task. However, both the acoustic and the visual modality may be corrupted in specific spatial regions, for instance due to poor lighting conditions or to the presence of background noise. This paper proposes a novel audiovisual data fusion framework for speaker localization by assigning individual dynamic stream weights to specific regions in the localization space. This fusion is achieved via a neural network, which combines the predictions of individual audio and video trackers based on their time- and location-dependent reliability. A performance evaluation using audiovisual recordings yields promising results, with the proposed fusion approach outperforming all baseline models.}
}

@inproceedings{boenninghoff-etal-2020-variational,
    title = "Variational Autoencoder with Embedded Student-t Mixture Model for Authorship Attribution",
    author = "Bönninghoff, Benedikt  and Zeiler, Steffen  and Nickel, Robert  and Kolossa, Dorothea",
    booktitle = "Proceedings of the 28th International Conference on Computational Linguistics (COLING)",
    month = dec,
    year = "2020",
    address = "Barcelona, Spain (Online)",
    publisher = "International Committee on Computational Linguistics",
    url = "https://www.aclweb.org/anthology/2020.coling-main.45",
    pages = "519--529",
    abstract = "Traditional computational authorship attribution describes a classification task in a closed-set scenario. Given a finite set of candidate authors and corresponding labeled texts, the objective is to determine which of the authors has written another set of anonymous or disputed texts. In this work, we propose a probabilistic autoencoding framework to deal with this supervised classification task. Variational autoencoders (VAEs) have had tremendous success in learning latent representations. However, existing VAEs are currently still bound by limitations imposed by the assumed Gaussianity of the underlying probability distributions in the latent space. In this work, we are extending a VAE with an embedded Gaussian mixture model to a Student-t mixture model, which allows for an independent control of the {``}heaviness{''} of the respective tails of the implied probability densities. Experiments over an Amazon review dataset indicate superior performance of the proposed method.",
    pdf={https://arxiv.org/pdf/2005.13930.pdf}
}

@InProceedings{boenninghoff:2020,
  author =              {Benedikt Bönninghoff and Julian Rupp and Robert M. Nickel and Dorothea Kolossa},
  booktitle =           {CLEF 2020 Labs and Workshops, Notebook Papers},
  crossref =            {pan:2020},
  editor =              {Linda Cappellato and Carsten Eickhoff and Nicola Ferro and Aur{\'e}lie N{\'e}v{\'e}ol},
  month =               sep,
  publisher =           {CEUR-WS.org},
  title =               {Deep Bayes Factor Scoring for Authorship Verification (1st place at PAN@CLEF 2020 Authorship Identification Challenge)},
  url =                 {http://ceur-ws.org/Vol-2696/},
  year =                2020,
  pdf = {https://arxiv.org/pdf/2008.10105.pdf},
  abstract = "The PAN 2020 authorship verification (AV) challenge focuses on a cross-topic/closed-set AV task over a collection of fanfiction texts. Fanfiction is a fan-written extension of a storyline in which a so-called fandom topic describes the principal subject of the document. The data provided in the PAN 2020 AV task is quite challenging because authors of texts across multiple/different fandom topics are included. In this work, we present a hierarchical fusion of two well-known approaches into a single end-to-end learning procedure: A deep metric learning framework at the bottom aims to learn a pseudo-metric that maps a document of variable length onto a fixed-sized feature vector. At the top, we incorporate a probabilistic layer to perform Bayes factor scoring in the learned metric space. We also provide text preprocessing strategies to deal with the cross-topic issue."
}

@INPROCEEDINGS{9005650,
  author={Bönninghoff, Benedikt and Hessler, Steffen and Kolossa, Dorothea and Kucharczik, Kerstin and Nickel, Robert M. and Pittner, Karin},
  booktitle={Datenschutz und Datensicherheit - DuD},
  title={Autorschaftsanalyse- Verstellungsstrategien und Möglichkeiten der automatisierten Erkennung},
  year={2019},
  volume={43},
  pages={691–699},
  doi={10.1007/s11623-019-1191-6},
  abstract={Der Austausch von Informationen findet zunehmend über soziale Medien und Online-Nachrichtendienstestatt. Daraus kann ein hohes Schadenspotential erwachsen, wenn es gelingt, für kriminelle Absichteneine andere Identität vorzutäuschen oder im Schutze der Anonymität Fake News bzw. Hate Speechzu verbreiten. Zum Schutz vor solchen Angriffen untersucht die Forensische Linguistik Textsammlungen hinsichtlichder Urheberschaft und möglicher biographischer Aussagen. Doch der Umfang der über das Internetveröffentlichten Daten verlangt automatisierte Verfahren, die die Analyse unterstützen.},
  pdf = {https://link.springer.com/article/10.1007/s11623-019-1191-6}
  }

@INPROCEEDINGS{9005650,
  author={Bönninghoff, Benedikt and Hessler, Steffen and Kolossa, Dorothea and Nickel, Robert M.},
  booktitle={2019 IEEE International Conference on Big Data (Big Data)},
  title={Explainable Authorship Verification in Social Media via Attention-based Similarity Learning},
  year={2019},
  pages={36-45},
  doi={10.1109/BigData47090.2019.9005650},
  abstract = "Authorship verification is the task of analyzing the linguistic patterns of two or more texts to determine whether they were written by the same author or not. The analysis is traditionally performed by experts who consider linguistic features, which include spelling mistakes, grammatical inconsistencies, and stylistics for example. Machine learning algorithms, on the other hand, can be trained to accomplish the same, but have traditionally relied on so-called stylometric features. The disadvantage of such features is that their reliability is greatly diminished for short and topically varied social media texts. In this interdisciplinary work, we propose a substantial extension of a recently published hierarchical Siamese neural network approach, with which it is feasible to learn neural features and to visualize the decision-making process. For this purpose, a new large-scale corpus of short Amazon reviews for text comparison research is compiled and we show that the Siamese network topologies outperform state-of-the-art approaches that were built up on stylometric features. Our linguistic analysis of the internal attention weights of the network shows that the proposed method is indeed able to latch on to some traditional linguistic categories. ",
  pdf = {https://arxiv.org/pdf/1910.08144.pdf},
  }

@INPROCEEDINGS{8683405,
  author={Bönninghoff, Benedikt and Nickel, Robert M. and Zeiler, Steffen and Kolossa, Dorothea},
  booktitle={ICASSP 2019 - 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
  title={Similarity Learning for Authorship Verification in Social Media},
  year={2019},
  pages={2457-2461},
  doi={10.1109/ICASSP.2019.8683405},
  abstract = "Authorship verification tries to answer the question if two documents with unknown authors were written by the same author or not. A range of successful technical approaches has been proposed for this task, many of which are based on traditional linguistic features such as n-grams. These algorithms achieve good results for certain types of written documents like books and novels. Forensic authorship verification for social media, however, is a much more challenging task since messages tend to be relatively short, with a large variety of different genres and topics. At this point, traditional methods based on features like n-grams have had limited success. In this work, we propose a new neural network topology for similarity learning that significantly improves the performance on the author verification task with such challenging data sets. ",
  pdf= {https://arxiv.org/pdf/1908.07844.pdf},
  }

@inproceedings{glarner17_interspeech,
  author={Thomas Glarner and Benedikt Bönninghoff and Oliver Walter and Reinhold Haeb-Umbach},
  title={Leveraging Text Data for Word Segmentation for Underresourced Languages},
  year=2017,
  booktitle={Proc. Interspeech 2017},
  pages={2143--2147},
  doi={10.21437/Interspeech.2017-1262},
  pdf = {https://www.isca-speech.org/archive/pdfs/interspeech_2017/glarner17_interspeech.pdf},
  abstract = {In this contribution we show how to exploit text data to support word discovery from audio input in an underresourced target language. Given audio, of which a certain amount is transcribed at the word level, and additional unrelated text data, the approach is able to learn a probabilistic mapping from acoustic units to characters and utilize it to segment the audio data into words without the need of a pronunciation dictionary. This is achieved by three components: an unsupervised acoustic unit discovery system, a supervisedly trained acoustic unit-to-grapheme converter, and a word discovery system, which is initialized with a language model trained on the text data. Experiments for multiple setups show that the initialization of the language model with text data improves the word segmentation performance by a large margin.}
  }

@INPROCEEDINGS{7776144,
  author={Bönninghoff, Benedikt and Nickel, Robert M. and Zeiler, Steffen and Kolossa, Dorothea},
  booktitle={Speech Communication; 12. ITG Symposium},
  title={Unsupervised Classification of Voiced Speech and Pitch Tracking Using Forward-Backward Kalman Filtering},
  year={2016},
  pages={1-5},
  abstract = {The detection of voiced speech, the estimation of the fundamental frequency, and the tracking of pitch values over time are crucial subtasks for a variety of speech processing techniques. Many different algorithms have been developed for each of the three subtasks. We present a new algorithm that integrates the three subtasks into a single procedure. The algorithm can be applied to pre-recorded speech utterances in the presence of considerable amounts of background noise. We combine a collection of standard metrics, such as the zero-crossing rate, for example, to formulate an unsupervised voicing classifier. The estimation of pitch values is accomplished with a hybrid autocorrelation-based technique. We propose a forward-backward Kalman filter to smooth the estimated pitch contour. In experiments, we are able to show that the proposed method compares favorably with current, state-of-the-art pitch detection algorithms. },
  pdf = {https://arxiv.org/pdf/2103.01173.pdf},
  }


text:
SUMMARY = "Configure Bluetooth Power Out Level to Class 2"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=80209e4ca0ac81578c117cf3e33eb3c0"

SRC_URI = "file://wcnss-bt-pout-config.service \
           file://LICENSE"
COMPATIBLE_MACHINE = "dragonboard-410c"

S = "${WORKDIR}"

inherit systemd allarch

do_install () {
    install -d ${D}${systemd_unitdir}/system
    install -m 0644 ${S}/wcnss-bt-pout-config.service ${D}${systemd_unitdir}/system
}

RDEPENDS_${PN} += "bluez5 bluez5-noinst-tools"

SYSTEMD_SERVICE_${PN} = "wcnss-bt-pout-config.service"
SYSTEMD_AUTO_ENABLE_${PN} = "enable"

repository: ADVANTECH-Corp/meta-advantech

repo_name: ADVANTECH-Corp/meta-advantech

branch_name: refs/heads/krogoth

gha_language: Shell


text:
# Copyright 2020 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

include("${ZEPHYR_BASE}/cmake/compiler/clang/target.cmake")

set(CMAKE_C_COMPILER "${CROSS_COMPILE}clang")
set(CMAKE_CXX_COMPILER "${CROSS_COMPILE}clang++")

repository: coreboot/chrome-ec

repo_name: coreboot/chrome-ec


text:
---
---

@collection{farron_pierre_2003,
	Date = {2003},
	Date-Added = {2018-07-16 15:10:50 +0000},
	Date-Modified = {2018-07-16 15:10:50 +0000},
	Editor = {Farron, Ivan and K{\"u}rt{\"o}s, Karl},
	Isbn = {978-3-03910-106-1},
	Keywords = {Criticism and interpretation, Michon, Pierre, Critique et interpr{\'e}tation},
	Location = {Bern ; New York},
	Note = {{OCLC}: ocm54045792},
	Number = {v. 4},
	Pagetotal = {162},
	Publisher = {Peter Lang},
	Series = {Variations},
	Shorttitle = {Pierre Michon, entre pinacoth{\`e}que et biblioth{\`e}que},
	Title = {Pierre Michon, entre pinacoth{\`e}que et biblioth{\`e}que: actes de la journ{\'e}e d'{\'e}tude organis{\'e}e {\`a} l'Universit{\'e} de Zurich le 31 janvier 2002}}

@article{simotas_entrees_2018,
	Abstract = {A number of current literary projects of French literature are published in the format of ABC-books. Why has this format, related to the learning of reading, become so popular today? In a society dominated by electronic apparatuses and pervasive technologies, is it imperative to relearn how to read and write? In this article, I attempt to answer these questions by looking at two recent publications (2014) by authors Fran{\c c}ois Bon and {\'E}ric Chevillard who are also known for their online presence and their appropriation of new communicative tools for their own creative purposes. With the use of free, textual analysis software, such as Voyant Tools, I seek to explore the centrality of the confessional-autobiographical modalities in these ABC-book projects arguing that the ``abandonment'' to an aleatory navigation based on serendipity constitutes their guiding principle.},
	Author = {Simotas, Spyridon},
	Date-Added = {2018-07-16 15:10:39 +0000},
	Date-Modified = {2018-07-16 15:14:02 +0000},
	Doi = {10.1080/17409292.2017.1432336},
	Journal = {Contemporary French and Francophone Studies},
	Number = {4},
	Pages = {414--420},
	Title = {Entr{\'e}es par ordre alphab{\'e}tique dans l'espace du dedans},
	Url = {https://doi.org/10.1080/17409292.2017.1432336},
	Volume = {21},
	Year = {2018},
	Bdsk-Url-1 = {https://doi.org/10.1080/17409292.2017.1432336}}

@book{collective_19_2009,
	Address = {Ath{\=e}na},
	Author = {Collective},
	Date-Added = {2018-07-16 15:10:30 +0000},
	Date-Modified = {2018-07-16 15:10:30 +0000},
	Isbn = {978-960-200-138-7},
	Language = {Greek, Modern},
	Note = {OCLC: 880473791},
	Publisher = {Eleutheroudak{\=e}s},
	Title = {19 nea v{\=e}mata},
	Year = {2009}}

@book{einstein1956investigations,
  title={Investigations on the Theory of the Brownian Movement},
  author={Einstein, Albert},
  year={1956},
  publisher={Courier Corporation,}
}

@article{einstein1950meaning,
  title={The meaning of relativity},
  author={Einstein, Albert and Taub, AH},
  journal={American Journal of Physics,},
  volume={18},
  number={6},
  pages={403--404},
  year={1950},
  publisher={American Association of Physics Teachers,}
}

@article{PhysRev.47.777,
  title={Can Quantum-Mechanical Description of Physical Reality Be Considered Complete?},
  author={Einstein, A. and Podolsky, B. and Rosen, N.},
  abstract={In a complete theory there is an element corresponding to each element of reality. A sufficient condition for the reality of a physical quantity is the possibility of predicting it with certainty, without disturbing the system. In quantum mechanics in the case of two physical quantities described by non-commuting operators, the knowledge of one precludes the knowledge of the other. Then either (1) the description of reality given by the wave function in quantum mechanics is not complete or (2) these two quantities cannot have simultaneous reality. Consideration of the problem of making predictions concerning a system on the basis of measurements made on another system that had previously interacted with it leads to the result that if (1) is false then (2) is also false. One is thus led to conclude that the description of reality as given by a wave function is not complete.},
  journal={Phys. Rev.,},
  volume={47},
  issue={10},
  pages={777--780},
  numpages={0},
  year={1935},
  month={May},
  publisher=aps,
  doi={10.1103/PhysRev.47.777},
  url={http://link.aps.org/doi/10.1103/PhysRev.47.777}
}

@article{einstein1905molekularkinetischen,
  title={{\"U}ber die von der molekularkinetischen Theorie der W{\"a}rme geforderte Bewegung von in ruhenden Fl{\"u}ssigkeiten suspendierten Teilchen},
  author={Einstein, A.},
  journal={Annalen der physik,},
  volume={322},
  number={8},
  pages={549--560},
  year={1905},
  publisher={Wiley Online Library}
}

@article{einstein1905movement,
  title={Un the movement of small particles suspended in statiunary liquids required by the molecular-kinetic theory 0f heat},
  author={Einstein, A.},
  journal={Ann. Phys.,},
  volume={17},
  pages={549--560},
  year={1905}
}

@article{einstein1905electrodynamics,
  title={On the electrodynamics of moving bodies},
  author={Einstein, A.},
  year={1905}
}


text:
export XCURSOR_PATH=@KDE_INSTALL_PREFIX@/share/icons::~/.icons:/usr/share/icons:/usr/share/pixmaps:/usr/X11R6/lib/X11/icons
export XCURSOR_THEME=plasmamobilemouse


text:
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR mips32el)

set(CMAKE_C_COMPILER "mips-linux-gnu-gcc")
set(CMAKE_CXX_COMPILER "mips-linux-gnu-g++")

set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

set(CMAKE_C_FLAGS "-march=mips32r2 -mabi=32 -mnan=2008 -mfp64")
set(CMAKE_CXX_FLAGS "-march=mips32r2 -mabi=32 -mnan=2008 -mfp64")

# cache flags
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c flags")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" CACHE STRING "c++ flags")

repository: Tencent/ncnn

repo_name: Tencent/ncnn

gha_license_id: NOASSERTION


text:
package components

import (
	"strconv"
	"testing"
	"time"

	"github.com/relloyd/halfpipe/logger"
	"github.com/relloyd/halfpipe/stream"
)

func TestNewChannelCombiner(t *testing.T) {
	log := logger.NewLogger("channel combiner test", "info", true)

	c1 := make(chan stream.Record, 1)
	c2 := make(chan stream.Record, 1)

	r1 := stream.NewRecord()
	r2 := stream.NewRecord()

	r1.SetData("fred", "1")
	r2.SetData("fred", "2")

	c1 <- r1
	c2 <- r2

	close(c1)
	close(c2)

	// Test 1.
	log.Info("Test 1: confirm the number of output rows is the sum of input rows...")
	cfg := &ChannelCombinerConfig{
		StepWatcher: nil,
		Log:         log,
		Name:        "Test1 ChannelCombiner",
		Chan1:       c1,
		Chan2:       c2}
	outputChan, _ := NewChannelCombiner(cfg)
	sum := 0
	expected := 3
	for rec := range outputChan {
		x, err := strconv.Atoi(rec.GetDataAsStringPreserveTimeZone(log, "fred"))
		if err != nil {
			t.Fatal(err)
		}
		sum += x
	}
	if sum != expected {
		t.Fatalf("ChannelCombiner received unexpected records: expected %v; got %v", expected, sum)
	}

	// Test 2.
	log.Info("Test 2: confirm ChannelCombiner respects shutdown requests...")
	cfg = &ChannelCombinerConfig{
		StepWatcher: nil,
		Log:         log,
		Name:        "Test2 ChannelCombiner",
		Chan1:       make(chan stream.Record, 1),
		Chan2:       make(chan stream.Record, 1)}
	_, controlChan := NewChannelCombiner(cfg)
	// Send a shutdown request.
	responseChan := make(chan error, 1)
	controlChan <- ControlAction{Action: Shutdown, ResponseChan: responseChan}
	select { // confirm shutdown response...
	case <-time.After(3 * time.Second):
		t.Fatal("timeout waiting for ChannelCombiner to shutdown.")
	case <-responseChan: // if ChannelCombiner confirmed shutdown...
		// continue
	}
	// End OK.
}

repository: relloyd/halfpipe

repo_name: relloyd/halfpipe


text:
DESCRIPTION = "Bluetooth configuration applet"
LICENSE = "GPL+LGPL"

DEPENDS = "dbus-glib gconf libnotify gtk+"
RRECOMMENDS = "gnome-icon-theme"

PR = "r4"

SRC_URI = "http://bluez.sourceforge.net/download/${P}.tar.gz"

inherit autotools pkgconfig gconf mime

FILES_${PN} += "${datadir}/gconf ${datadir}/icons ${datadir}/mime/packages"


text:
package database

import "github.com/jinzhu/gorm"

func addressScope(address string) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("address = ?", address)
	}
}

func networkScope(network string) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("network = ?", network)
	}
}

func userIDScope(userID uint) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("user_id = ?", userID)
	}
}

func idScope(id uint) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("id = ?", id)
	}
}

func pagination(limit, offset uint) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		if limit > 0 {
			db = db.Limit(limit)
		}
		if limit > 0 {
			db = db.Offset(offset)
		}
		return db
	}
}

func contract(address, network string) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("address = ? AND network = ?", address, network)
	}
}

func createdAtDesc(db *gorm.DB) *gorm.DB {
	return db.Order("created_at desc")
}

func loginScope(login string) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("login = ?", login)
	}
}


text:
SUMMARY = "System service to manage, install and generate color profiles to color manage input and output devices"
HOMEPAGE ="https://www.freedesktop.org/software/colord/"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

SRC_URI = "https://www.freedesktop.org/software/colord/releases/colord-${PV}.tar.xz \
           file://0001-remove-gobject-introspection.patch \
           "
SRC_URI[md5sum] = "f457be5b7c44827e6c747ec80a6dc69a"
SRC_URI[sha256sum] = "2b068fc8298265a7a3b68e7516c7a263394cff57579af0d1c0fb6b7429230555"

DEPENDS = "glib-2.0-native lcms libgusb libgudev polkit"
EXTRA_OEMESON = "-Denable-argyllcms-sensor=false -Denable-man=false -Denable-docs=false -Dwith-daemon-user=colord -Denable-bash-completion=false -Denable-systemd=true -Denable-tests=false -Denable-print-profiles=false --buildtype=release"

PACKAGES += "${PN}-plugins"

FILES_${PN} += "\
    ${datadir}/glib-2.0/schemas \
    ${datadir}/polkit-1 \
    ${datadir}/dbus-1 \
    ${datadir}/color/icc/colord \
    ${libdir}/tmpfiles.d \
    ${systemd_user_unitdir}/colord-session.service \
"
SYSTEMD_SERVICE_${PN} = "colord.service"

FILES_${PN}-plugins = "\
    ${libdir}/colord-plugins \
    ${libdir}/colord-sensors \
"

# This probably belongs in meson.bbclass
#
# 1) write out a wrapper script that can execute target binaries
#
# 2) add exe_wrapper line to the end of [binaries] section in the
#    meson.cross file that meson.bbclass generated
#
setup_wrapper() {
    if [ ! -e ${B}/wrapper ]; then
        cat > ${B}/wrapper << EOF
#!/bin/sh
${STAGING_LIBDIR}/ld-linux-x86-64.so.2 --library-path ${STAGING_LIBDIR} \$@
EOF
        chmod +x ${B}/wrapper
    fi

    if ! grep -q "^exe_wrapper" ${WORKDIR}/meson.cross; then
        cat ${WORKDIR}/meson.cross | sed "/pkgconfig/ a\
exe_wrapper = '${B}/wrapper'" > ${WORKDIR}/meson.cross.tmp
        mv ${WORKDIR}/meson.cross.tmp ${WORKDIR}/meson.cross
    fi
}

do_configure_prepend() {
    setup_wrapper
}

USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --home /var/lib/colord --no-create-home --shell /bin/false --user-group colord"
inherit meson systemd useradd gettext

repository: nicepixels/citadel

repo_name: nicepixels/citadel


text:
SUMMARY = "libpldm shared library"
DESCRIPTION = "PLDM library implementing various PLDM specifications"
HOMEPAGE = "https://github.com/openbmc/libpldm"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
SRCREV = "486d85d2d57d8af58d9d9a1592171851d00b620b"
LIBPLDM_ABI_DEVELOPMENT = "deprecated,stable,testing"
LIBPLDM_ABI_MAINTENANCE = "stable,testing"
LIBPLDM_ABI_PRODUCTION = "deprecated,stable"
PACKAGECONFIG ??= "abi-production"
PACKAGECONFIG[abi-development] = "-Dabi=${LIBPLDM_ABI_DEVELOPMENT},,,"
PACKAGECONFIG[abi-maintenance] = "-Dabi=${LIBPLDM_ABI_MAINTENANCE},,,"
PACKAGECONFIG[abi-production] = "-Dabi=${LIBPLDM_ABI_PRODUCTION},,,"
PACKAGECONFIG[oem-ibm] = "-Doem-ibm=enabled,-Doem-ibm=disabled,,"

PV = "git${SRCPV}"
PR = "r1"
SRC_URI = "git://github.com/openbmc/libpldm;branch=main;protocol=https"

S = "${WORKDIR}/git"

inherit meson

EXTRA_OEMESON:append = " -Dtests=disabled"

repository: openbmc/openbmc

repo_name: openbmc/openbmc


text:
#
# presets.cmake
#
# Copyright (c) 2013 - 2023 Marius Zwicker
# All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
# 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.
#

##################################################
#
# BUILD/PRESETS.CMAKE
#
#   Include in your project or through global.cmake to automatically
#   populate CMakePresets.txt with info on your configured build tree
#
########################################################################

# determine preset id and location
get_filename_component(PRESET_NAME "${CMAKE_BINARY_DIR}" NAME)
set(PRESET_JSON ${CMAKE_BINARY_DIR}/CMakePresets.json)
if(CONAN_EXPORTED)
    mz_message("Presets disabled during Conan export")
    return()
endif()
if(MZ_WINDOWS)
    set(_MZ_PATH_SEP ";")
else()
    set(_MZ_PATH_SEP ":")
endif()

# collect other presets included previously
if(EXISTS ${CMAKE_SOURCE_DIR}/CMakePresets.json)
    file(READ ${CMAKE_SOURCE_DIR}/CMakePresets.json _PRESET_JSON)
    string(JSON _PRESET_INCLUDE_LEN ERROR_VARIABLE _PRESET_DISCARD LENGTH "${_PRESET_JSON}" include)
    if(_PRESET_INCLUDE_LEN GREATER 0)
        foreach(_PRESET_INCLUDE_INDEX RANGE 1 ${_PRESET_INCLUDE_LEN})
            math(EXPR _PRESET_INCLUDE_INDEX "${_PRESET_INCLUDE_INDEX} - 1")
            string(JSON _PRESET_INCLUDE GET "${_PRESET_JSON}" include ${_PRESET_INCLUDE_INDEX})
            list(APPEND PRESET_INCLUDES "\"${_PRESET_INCLUDE}\"")
        endforeach()
    endif()
endif()

# collect any active VS environment
# No smart way to simply iterate the environment in CMake :(
macro(presetEnvAdd VAR)
    if(DEFINED ENV{${VAR}})
        string(REPLACE ";" "$<SEMICOLON>" _TMP "$ENV{${VAR}}" )
        string(REPLACE "\\" "\\\\" _TMP "${_TMP}" )
        list(APPEND PRESET_ENV "\"${VAR}\": \"${_TMP}\"")
    endif()
endmacro()
presetEnvAdd(ExtensionSdkDir)
presetEnvAdd(INCLUDE)
presetEnvAdd(LIB)
presetEnvAdd(LIBPATH)
presetEnvAdd(UCRTVersion)
presetEnvAdd(UniversalCRTSdkDir)
presetEnvAdd(VCIDEInstallDir)
presetEnvAdd(VCINSTALLDIR)
presetEnvAdd(VCToolsInstallDir)
presetEnvAdd(VCToolsRedistDir)
presetEnvAdd(VCToolsVersion)
presetEnvAdd(VisualStudioVersion)
presetEnvAdd(VS160COMNTOOLS)
presetEnvAdd(VSCMD_ARG_app_plat)
presetEnvAdd(VSCMD_ARG_HOST_ARCH)
presetEnvAdd(VSCMD_ARG_TGT_ARCH)
presetEnvAdd(VSCMD_VER=16.11.21)
presetEnvAdd(VSINSTALLDIR)
presetEnvAdd(windir)
presetEnvAdd(WindowsLibPath)
presetEnvAdd(WindowsSdkBinPath)
presetEnvAdd(WindowsSdkDir)
presetEnvAdd(WindowsSDKLibVersion)
presetEnvAdd(WindowsSdkVerBinPath)
presetEnvAdd(WindowsSDKVersion)

# collect env and cmake variables
if(CMAKE_C_COMPILER)
    list(APPEND PRESET_VARIABLES "\"CMAKE_C_COMPILER\": \"${CMAKE_C_COMPILER}\"")
endif()
if(CMAKE_CXX_COMPILER)
    list(APPEND PRESET_VARIABLES "\"CMAKE_CXX_COMPILER\": \"${CMAKE_CXX_COMPILER}\"")
endif()
if(CMAKE_TOOLCHAIN_FILE)
    list(APPEND PRESET_VARIABLES "\"CMAKE_TOOLCHAIN_FILE\": \"${CMAKE_TOOLCHAIN_FILE}\"")
endif()
if(CMAKE_BUILD_TYPE)
    list(APPEND PRESET_VARIABLES "\"CMAKE_BUILD_TYPE\": \"${CMAKE_BUILD_TYPE}\"")
endif()
if(_MZ_CONAN_PATH)
    string(REPLACE ";" "$<SEMICOLON>" _TMP "${_MZ_CONAN_PATH}" )
    list(APPEND PRESET_ENV "\"PATH\": \"${_TMP}$<SEMICOLON>\$penv{PATH}\"")
endif()
list(APPEND PRESET_INCLUDES "\"${PRESET_JSON}\"")
list(REMOVE_DUPLICATES PRESET_VARIABLES)
list(JOIN PRESET_VARIABLES ",\n                " PRESET_VARIABLES)
list(REMOVE_DUPLICATES PRESET_ENV)
list(JOIN PRESET_ENV ",\n                " PRESET_ENV)
string(REPLACE "$<SEMICOLON>" "${_MZ_PATH_SEP}" PRESET_ENV "${PRESET_ENV}" )
list(REMOVE_DUPLICATES PRESET_INCLUDES)
list(JOIN PRESET_INCLUDES ",\n        " PRESET_INCLUDES)

# write the binary dir specific presets
file(WRITE ${PRESET_JSON}
"{
    \"version\": 6,
    \"cmakeMinimumRequired\": {
        \"major\": 3,
        \"minor\": 23,
        \"patch\": 0
    },
    \"configurePresets\": [
        {
            \"name\": \"${PRESET_NAME}\",
            \"displayName\": \"${PRESET_NAME}\",
            \"generator\": \"${CMAKE_GENERATOR}\",
            \"binaryDir\": \"${CMAKE_BINARY_DIR}\",
            \"cacheVariables\": {
                ${PRESET_VARIABLES}
            },
            \"environment\": {
                ${PRESET_ENV}
            }
        }
    ],
    \"buildPresets\": [
        {
            \"name\": \"${PRESET_NAME}\",
            \"configurePreset\": \"${PRESET_NAME}\",
            \"inheritConfigureEnvironment\": true
        }
    ],
    \"testPresets\": [
        {
            \"name\": \"${PRESET_NAME}\",
            \"configurePreset\": \"${PRESET_NAME}\",
            \"output\": {\"outputOnFailure\": true},
            \"execution\": {\"stopOnFailure\": true},
            \"inheritConfigureEnvironment\": true
        }
    ]
}"
)

# make sure the presets get included from the toplevel
file(WRITE ${CMAKE_SOURCE_DIR}/CMakePresets.json
"{
    \"version\": 6,
    \"cmakeMinimumRequired\": {
        \"major\": 3,
        \"minor\": 23,
        \"patch\": 0
    },
    \"include\": [
        ${PRESET_INCLUDES}
    ]
}")

repository: mlba-team/mz-cmaketools

repo_name: mlba-team/mz-cmaketools