text:
%% This BibTeX bibliography file was created using BibDesk.
%% http://bibdesk.sourceforge.net/

%% Created for Kruse, Michael Karl Gerhard at 2014-12-23 14:57:57 -0800

%% Saved with string encoding Unicode (UTF-8)

%% Bohr and Mottelson reference
@book{Bohr69-vol2,
  title={Nuclear Structure: Volume 2, Nuclear deformations},
  author={Bohr, A. and Mottelson, B.R.},
  isbn={9780805310160},
  lccn={lc68057860},
  series={Nuclear Structure},
  url={http://books.google.com/books?id=dRhRAAAAMAAJ},
  year={1969},
  publisher={Benjamin}}

%% NCSMC
@article{Baroni13-PRL,
  title = {\textit{Ab~Initio}   Description of the Exotic Unbound $^{7}\mathrm{He}$ Nucleus},
  author = {Baroni, Simone and Navr\'atil, Petr and Quaglioni, Sofia},
  journal = {Phys. Rev. Lett.},
  volume = {110},
  issue = {2},
  pages = {022505},
  numpages = {5},
  year = {2013},
  month = {Jan},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevLett.110.022505},
  url = {http://link.aps.org/doi/10.1103/PhysRevLett.110.022505}}

@article{Baroni13-PRC,
  title = {Unified     \textit{ab initio}   approach to bound and unbound states: No-core shell model with continuum and its application to ${}^{7}$He},
  author = {Baroni, Simone and Navr\'atil, Petr and Quaglioni, Sofia},
  journal = {Phys. Rev. C},
  volume = {87},
  issue = {3},
  pages = {034326},
  numpages = {14},
  year = {2013},
  month = {Mar},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevC.87.034326},
  url = {http://link.aps.org/doi/10.1103/PhysRevC.87.034326}}

%% Strength function references
@inbook{Whitehead80,
	Author = {Whitehead, R.R.},
	Date-Added = {2014-12-23 22:53:52 +0000},
	Date-Modified = {2014-12-23 22:57:56 +0000},
	Editor = {B.J. Dalton, S.M. Grimes, J.D. Vary and S.A. Williams},
	Pages = {235},
	Publisher = {Plenum, New York},
	Title = {Moment Methods in Many Fermion Systems},
	Year = {1980}}

@article{Bloom84,
	title = "Gamow-teller strength functions with the Lanczos algorithm ",
	journal = "Progress in Particle and Nuclear Physics ",
	volume = "11",
	number = "0",
	pages = "505 - 528",
	year = "1984",
	note = "",
	issn = "0146-6410",
	doi = "http://dx.doi.org/10.1016/0146-6410(84)90025-5",
	url = "http://www.sciencedirect.com/science/article/pii/0146641084900255",
	author = "S.D. Bloom"}

@article{Caurier90,
	title = "A full 0$\hbar\omega$ description of the $2\nu\beta\beta$ decay of 48Ca ",
	journal = "Physics Letters B ",
	volume = "252",
	number = "1",
	pages = "13 - 17",
	year = "1990",
	note = "",
	issn = "0370-2693",
	doi = "http://dx.doi.org/10.1016/0370-2693(90)91071-I",
	url = "http://www.sciencedirect.com/science/article/pii/037026939091071I",
	author = "E. Caurier and A. Poves and A.P. Zuker"}

@article{Caurier95,
  title = {Missing and Quenched Gamow-Teller Strength},
  author = {Caurier, E. and Poves, A. and Zuker, A. P.},
  journal = {Phys. Rev. Lett.},
  volume = {74},
  issue = {9},
  pages = {1517--1520},
  numpages = {4},
  year = {1995},
  month = {Feb},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevLett.74.1517},
  url = {http://link.aps.org/doi/10.1103/PhysRevLett.74.1517}}

@article{Caurier99,
  title = {Full 0$\hbar\omega$ shell model calculation of the binding energies of the ${1f}_{7/2}$ nuclei},
  author = {Caurier, E. and Martinez-Pinedo, G. and Nowacki, F. and Poves, A. and Retamosa, J. and Zuker, A. P.},
   journal = {Phys. Rev. C},
  volume = {59},
  issue = {4},
  pages = {2033--2039},
  numpages = {7},
  year = {1999},
  month = {Apr},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevC.59.2033},
  url = {http://link.aps.org/doi/10.1103/PhysRevC.59.2033}}

%% end of Strength function references

%% Momentum dependent operators
@article{Haxton05,
  title = {Piecewise moments method: Generalized Lanczos technique for nuclear response surfaces},
  author = {Haxton, Wick C. and Nollett, Kenneth M. and Zurek, Kathryn M.},
  journal = {Phys. Rev. C},
  volume = {72},
  issue = {6},
  pages = {065501},
  numpages = {16},
  year = {2005},
  month = {Dec},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevC.72.065501},
  url = {http://link.aps.org/doi/10.1103/PhysRevC.72.065501}}

%% Nuclear deformation parameter
@article{Neyens03,
  author={Gerda Neyens},
  title={Nuclear magnetic and quadrupole moments for nuclear structure research on exotic nuclei},
  journal={Reports on Progress in Physics},
  volume={66},
  number={4},
  pages={633},
  url={http://stacks.iop.org/0034-4885/66/i=4/a=205},
  year={2003}}

%% Experimental data for A=8 -- A=10
@article{Tilley04,
title = "Energy levels of light nuclei ",
journal = "Nuclear Physics A ",
volume = "745",
number = "3–4",
pages = "155 - 362",
year = "2004",
note = "",
issn = "0375-9474",
doi = "http://dx.doi.org/10.1016/j.nuclphysa.2004.09.059",
url = "http://www.sciencedirect.com/science/article/pii/S0375947404010267",
author = "D.R. Tilley and J.H. Kelley and J.L. Godwin and D.J. Millener and J.E. Purcell and C.G. Sheu and H.R. Weller"
}

%% RMS charge radius of B10 from electron scattering
@article{Cichocki95,
  title = {Electron scattering from $^{10}\mathrm{B}$},
  author = {Cichocki, A. and Dubach, J. and Hicks, R. and Peterson, G. and de Jager, C. and de Vries, H. and Kalantar-Nayestanaki, N. and Sato, T.},
  journal = {Phys. Rev. C},
  volume = {51},
  issue = {5},
  pages = {2406--2426},
  numpages = {21},
  year = {1995},
  month = {May},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevC.51.2406},
  url = {http://link.aps.org/doi/10.1103/PhysRevC.51.2406}
}

%% Brink hypothesis
@phdthesis{Brink55,
  author       = {David Brink},
  title	       = {},
  school       = {University of Oxford},
  year	       = 1955,
  address      = {},
  month	       = 7,
  note	       = {unpublished}}

%% Initial GDR observation
@article{Baldwin47,
  title = {Photo-Fission in Heavy Elements},
  author = {Baldwin, G. C. and Klaiber, G. S.},
  journal = {Phys. Rev.},
  volume = {71},
  issue = {1},
  pages = {3--10},
  numpages = {8},
  year = {1947},
  month = {Jan},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRev.71.3},
  url = {http://link.aps.org/doi/10.1103/PhysRev.71.3}}

%% Goldhaber Teller
@article{Goldhaber48,
  title = {On Nuclear Dipole Vibrations},
  author = {Goldhaber, M. and Teller, E.},
  journal = {Phys. Rev.},
  volume = {74},
  issue = {9},
  pages = {1046--1049},
  numpages = {4},
  year = {1948},
  month = {Nov},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRev.74.1046},
  url = {http://link.aps.org/doi/10.1103/PhysRev.74.1046}}

%% Steinwedel, Jensen
@article{Steinwedel50,
  title = {Hydrodynamik von Kerndipolschwingungen},
  author = {Steinwedel, H. and Jensen, J. Hans. D.},
  journal = {Z. Naturforsch. A},
  volume = {5},
  issue = {8},
  pages = {413--420},
  numpages = {8},
  year = {1950},
  publisher = {Verlag Zeitschrifft fuer Naturforschung},
  url = {http://zfn.mpdl.mpg.de/data/Reihe_A/5/ZNA-1950-5a-0413.pdf}}

%% dampening of resonances
@article{Bertsch83,
  title = {Damping of nuclear excitations},
  author = {Bertsch, G. F. and Bortignon, P. F. and Broglia, R. A.},
  journal = {Rev. Mod. Phys.},
  volume = {55},
  issue = {1},
  pages = {287--314},
  numpages = {28},
  year = {1983},
  month = {Jan},
  publisher = {American Physical Society},
  doi = {10.1103/RevModPhys.55.287},
  url = {http://link.aps.org/doi/10.1103/RevModPhys.55.287}}

@article{Speth81,
  author={J Speth and A van der Woude},
  title={Giant resonances in nuclei},
  journal={Reports on Progress in Physics},
  volume={44},
  number={7},
  pages={719},
  url={http://stacks.iop.org/0034-4885/44/i=7/a=002},
  year={1981},
  abstract={A review is given of the present situation of electric giant resonances in nuclei. Starting with the properties of the well-known electric dipole resonances the authors summarise the known experimental facts on resonances with other angular momenta and parities. They mainly discuss the giant quadrupole and giant monopole resonances which are known best. The difficulties connected with the extraction of nuclear structure information from the experimental cross sections are discussed in detail. They also review the theoretical developments in this field and emphasise especially microscopic models and the corresponding results. As far as possible the experimental facts are compared with the theoretical results.}
}

% LIT references

@article{Efros94,
title = "Response functions from integral transforms with a Lorentz kernel ",
journal = "Physics Letters B ",
volume = "338",
number = "2–3",
pages = "130 - 133",
year = "1994",
note = "",
issn = "0370-2693",
doi = "http://dx.doi.org/10.1016/0370-2693(94)91355-2",
url = "http://www.sciencedirect.com/science/article/pii/0370269394913552",
author = "Victor D. Efros and Winfred Leidemann and Giuseppina Orlandini"}

@article{Efros07,
  author={V D Efros and W Leidemann and G Orlandini and N Barnea},
  title={The Lorentz integral transform (LIT) method and its applications to perturbation-induced reactions},
  journal={Journal of Physics G: Nuclear and Particle Physics},
  volume={34},
  number={12},
  pages={R459},
  url={http://stacks.iop.org/0954-3899/34/i=12/a=R02},
  year={2007},
  abstract={The LIT method has allowed ab initio calculations of electroweak cross sections in light nuclear systems. This review presents a description of the method from both a general and a more technical point of view, as well as a summary of the results obtained by its application. The remarkable features of the LIT approach, which make it particularly efficient in dealing with a general reaction involving continuum states, are underlined. Emphasis is given on the results obtained for electroweak cross sections of few-nucleon systems. Their implications for the present understanding of microscopic nuclear dynamics are discussed.}
}

% Hyperspherical harmonics

@article{Barnea01,
title = "State-dependent effective interaction for the hyperspherical formalism with noncentral forces ",
journal = "Nuclear Physics A ",
volume = "693",
number = "3–4",
pages = "565 - 578",
year = "2001",
note = "",
issn = "0375-9474",
doi = "http://dx.doi.org/10.1016/S0375-9474(01)00794-1",
url = "http://www.sciencedirect.com/science/article/pii/S0375947401007941",
author = "Nir Barnea and Winfried Leidemann and Giuseppina Orlandini",
keywords = "Few-body",
keywords = "Hyperspherical harmonics",
keywords = "Effective interaction "
}

@article{Fenin72,
title = "",
journal = "Sov. J. Nucl. Phys.",
volume = "15",
number = "",
pages = "497",
year = "1972",
author = "Y. I. Fenin and V. D. Efros",
keywords = "Few-body",
keywords = "Hyperspherical harmonics",
keywords = "Effective interaction "
}

%% He4 photonuclear cross section
@article{Efros97,
  title = {Is There a Pronounced Giant Dipole Resonance in $^{4}He$?},
  author = {Efros, Victor D. and Leidemann, Winfried and Orlandini, Giuseppina},
  journal = {Phys. Rev. Lett.},
  volume = {78},
  issue = {21},
  pages = {4015--4018},
  numpages = {4},
  year = {1997},
  month = {May},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevLett.78.4015},
  url = {http://link.aps.org/doi/10.1103/PhysRevLett.78.4015}}

@article{Stetcu07,
title = "Benchmark calculation of inclusive electromagnetic responses in the four-body nuclear system ",
journal = "Nuclear Physics A ",
volume = "785",
number = "3–4",
pages = "307 - 321",
year = "2007",
note = "",
issn = "0375-9474",
doi = "http://dx.doi.org/10.1016/j.nuclphysa.2006.12.047",
url = "http://www.sciencedirect.com/science/article/pii/S0375947406009778",
author = "Ionel Stetcu and Sofia Quaglioni and Sonia Bacca and Bruce R. Barrett and Calvin W. Johnson and Petr Navrátil and Nir Barnea and Winfried Leidemann and Giuseppina Orlandini"}

%% He6/Li6 (next two papers)
@article{Bacca02,
  title = {Microscopic Calculation of Six-Body Inelastic Reactions with Complete Final State Interaction: Photoabsorption of $\text{ }{\text{ }}^{6}\mathrm{H}\mathrm{e}$ and $\text{ }{\text{ }}^{6}\mathrm{L}\mathrm{i}$},
  author = {Bacca, Sonia and Marchisio, Mario Andrea and Barnea, Nir and Leidemann, Winfried and Orlandini, Giuseppina},
  journal = {Phys. Rev. Lett.},
  volume = {89},
  issue = {5},
  pages = {052502},
  numpages = {4},
  year = {2002},
  month = {Jul},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevLett.89.052502},
  url = {http://link.aps.org/doi/10.1103/PhysRevLett.89.052502}}

@article{Bacca04,
  title = {Effect of $P$-wave interaction in $^{6}\mathrm{He}$ and $^{6}\mathrm{Li}$ photoabsorption},
  author = {Bacca, Sonia and Barnea, Nir and Leidemann, Winfried and Orlandini, Giuseppina},
  journal = {Phys. Rev. C},
  volume = {69},
  issue = {5},
  pages = {057001},
  numpages = {4},
  year = {2004},
  month = {May},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevC.69.057001},
  url = {http://link.aps.org/doi/10.1103/PhysRevC.69.057001}}

% Li7 photonuclear
@article{Bacca04-02,
title = "Ab initio calculation of 7Li photodisintegration ",
journal = "Physics Letters B ",
volume = "603",
number = "3–4",
pages = "159 - 164",
year = "2004",
note = "",
issn = "0370-2693",
doi = "http://dx.doi.org/10.1016/j.physletb.2004.10.025",
url = "http://www.sciencedirect.com/science/article/pii/S037026930401473X",
author = "Sonia Bacca and Hartmuth Arenhövel and Nir Barnea and Winfried Leidemann and Giuseppina Orlandini"}

% He4 with realistic forces
@article{Gazit06,
  title = {Photoabsorption on $^{4}\mathrm{He}$ with a Realistic Nuclear Force},
  author = {Gazit, Doron and Bacca, Sonia and Barnea, Nir and Leidemann, Winfried and Orlandini, Giuseppina},
  journal = {Phys. Rev. Lett.},
  volume = {96},
  issue = {11},
  pages = {112301},
  numpages = {4},
  year = {2006},
  month = {Mar},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevLett.96.112301},
  url = {http://link.aps.org/doi/10.1103/PhysRevLett.96.112301}}

@article{Quaglioni07,
title = "The 4He total photo-absorption cross section with two- plus three-nucleon interactions from chiral effective field theory ",
journal = "Physics Letters B ",
volume = "652",
number = "5–6",
pages = "370 - 375",
year = "2007",
note = "",
issn = "0370-2693",
doi = "http://dx.doi.org/10.1016/j.physletb.2007.06.082",
url = "http://www.sciencedirect.com/science/article/pii/S0370269307007642",
author = "Sofia Quaglioni and Petr Navrátil"}

% O16 with CC and LIT.
@article{Bacca13,
  title = {First Principles Description of the Giant Dipole Resonance in $^{16}\mathbf{O}$},
  author = {Bacca, S. and Barnea, N. and Hagen, G. and Orlandini, G. and Papenbrock, T.},
  journal = {Phys. Rev. Lett.},
  volume = {111},
  issue = {12},
  pages = {122502},
  numpages = {5},
  year = {2013},
  month = {Sep},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevLett.111.122502},
  url = {http://link.aps.org/doi/10.1103/PhysRevLett.111.122502}}

% SRG
@article{Bogner10,
	Author = {S.K. Bogner and R.J. Furnstahl and A. Schwenk},
	Doi = {http://dx.doi.org/10.1016/j.ppnp.2010.03.001},
	Issn = {0146-6410},
	Journal = {Progress in Particle and Nuclear Physics},
	Keywords = {Renormalization group},
	Number = {1},
	Pages = {94 - 147},
	Title = {From low-momentum interactions to nuclear structure},
	Url = {http://www.sciencedirect.com/science/article/pii/S0146641010000347},
	Volume = {65},
	Year = {2010},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0146641010000347},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/j.ppnp.2010.03.001}}

@article{Roth11,
	Author = {Roth, Robert and Langhammer, Joachim and Calci, Angelo and Binder, Sven and Navr\'atil, Petr},
	Doi = {10.1103/PhysRevLett.107.072501},
	Issue = {7},
	Journal = {Phys. Rev. Lett.},
	Month = {Aug},
	Numpages = {5},
	Pages = {072501},
	Publisher = {American Physical Society},
	Title = {Similarity-Transformed Chiral $NN+3N$ Interactions for the \textit{Ab Initio} Description of $^{12}\mathbf{C}$ and $^{16}\mathbf{O}$},
	Url = {http://link.aps.org/doi/10.1103/PhysRevLett.107.072501},
	Volume = {107},
	Year = {2011},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevLett.107.072501},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevLett.107.072501}}

% EFT
@article{Machleidt11,
	Author = {R. Machleidt and D.R. Entem},
	Doi = {http://dx.doi.org/10.1016/j.physrep.2011.02.001},
	Issn = {0370-1573},
	Journal = {Physics Reports},
	Keywords = {Nucleon--nucleon scattering},
	Number = {1},
	Pages = {1 - 75},
	Title = {Chiral effective field theory and nuclear forces},
	Url = {http://www.sciencedirect.com/science/article/pii/S0370157311000457},
	Volume = {503},
	Year = {2011},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0370157311000457},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/j.physrep.2011.02.001}}

@article{Epelbaum09,
	Author = {Epelbaum, E. and Hammer, H.-W. and Mei\ss{}ner, Ulf-G.},
	Doi = {10.1103/RevModPhys.81.1773},
	Issue = {4},
	Journal = {Rev. Mod. Phys.},
	Month = {Dec},
	Numpages = {53},
	Pages = {1773--1825},
	Publisher = {American Physical Society},
	Title = {Modern theory of nuclear forces},
	Url = {http://link.aps.org/doi/10.1103/RevModPhys.81.1773},
	Volume = {81},
	Year = {2009},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/RevModPhys.81.1773},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/RevModPhys.81.1773}}

@article{vanKolck94,
	Author = {van Kolck, U.},
	Doi = {10.1103/PhysRevC.49.2932},
	Issue = {6},
	Journal = {Phys. Rev. C},
	Month = {Jun},
	Pages = {2932--2941},
	Publisher = {American Physical Society},
	Title = {Few-nucleon forces from chiral Lagrangians},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.49.2932},
	Volume = {49},
	Year = {1994},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.49.2932},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.49.2932}}

@article{Barrett13,
	Author = {Bruce R. Barrett and Petr Navr{\'a}til and James P. Vary},
	Doi = {http://dx.doi.org/10.1016/j.ppnp.2012.10.003},
	Issn = {0146-6410},
	Journal = {Progress in Particle and Nuclear Physics},
	Keywords = {Reactions},
	Number = {0},
	Pages = {131 - 181},
	Title = {Ab initio no core shell model},
	Url = {http://www.sciencedirect.com/science/article/pii/S0146641012001184},
	Volume = {69},
	Year = {2013},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0146641012001184},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/j.ppnp.2012.10.003}}

@inproceedings{Berman73,
	Author = {B.L. Berman},
	Booktitle = {Proc. Int. Conf. on photonuclear reactions and applications},
	Date-Added = {2014-12-19 00:31:16 +0000},
	Date-Modified = {2014-12-19 00:34:47 +0000},
	Editor = {B.L. Berman},
	Pages = {175},
	Volume = {1},
	Year = {1973}}

@techreport{Berman74,
	Author = {B.L. Berman},
	Date-Added = {2014-12-19 00:24:46 +0000},
	Date-Modified = {2014-12-19 00:28:06 +0000},
	Institution = {Lawrence Livermore National Laboratory},
	Title = {Atlas of photoneutron cross sections obtained with monoenergetic photons},
	Type = {UCRL 75694},
	Year = {1974}}

@article{Hayward65,
	Author = {Evans Hayward and Tannie Stovall},
	Doi = {http://dx.doi.org/10.1016/0029-5582(65)90049-0},
	Issn = {0029-5582},
	Journal = {Nuclear Physics},
	Keywords = {measured activation curve using bremsstrahlung and obtained σ(E) with ΔE = 0.5, 1.0 MeV},
	Number = {2},
	Pages = {241 - 252},
	Title = {Photoneutron production by Li6, Li7, B10, \{B11\} and \{O16\}},
	Url = {http://www.sciencedirect.com/science/article/pii/0029558265900490},
	Volume = {69},
	Year = {1965},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/0029558265900490},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/0029-5582(65)90049-0}}

@article{Ahsan87,
	Author = {M.H. Ahsan and S.A. Siddiqui and H.H. Thies},
	Doi = {http://dx.doi.org/10.1016/0375-9474(87)90027-3},
	Issn = {0375-9474},
	Journal = {Nuclear Physics A},
	Keywords = {Nuclear reactions},
	Number = {3},
	Pages = {381 - 392},
	Title = {The photoneutron cross section of 10B},
	Url = {http://www.sciencedirect.com/science/article/pii/0375947487900273},
	Volume = {469},
	Year = {1987},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/0375947487900273},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/0375-9474(87)90027-3}}

@article{Hughes73,
	Author = {R.J. Hughes and E.G. Muirhead},
	Doi = {http://dx.doi.org/10.1016/0375-9474(73)90107-3},
	Issn = {0375-9474},
	Journal = {Nuclear Physics A},
	Keywords = {Nuclear Reactions},
	Number = {1},
	Pages = {147 - 156},
	Title = {The photoneutron cross sections of 10B and 11B},
	Url = {http://www.sciencedirect.com/science/article/pii/0375947473901073},
	Volume = {215},
	Year = {1973},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/0375947473901073},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/0375-9474(73)90107-3}}

@article{Kneissl76,
	Author = {U. Kneissl and K.H. Leister and H.O. Neidel and A. Weller},
	Doi = {http://dx.doi.org/10.1016/0375-9474(76)90142-1},
	Issn = {0375-9474},
	Journal = {Nuclear Physics A},
	Keywords = {Nuclear reactions},
	Number = {1},
	Pages = {30 - 44},
	Title = {A study of the photoneutron reactions in 10B and 11B},
	Url = {http://www.sciencedirect.com/science/article/pii/0375947476901421},
	Volume = {264},
	Year = {1976},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/0375947476901421},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/0375-9474(76)90142-1}}

@book{atlas06,
	Author = {Said. F. Mughabghab},
	Date-Added = {2014-12-04 23:45:39 +0000},
	Date-Modified = {2014-12-04 23:47:31 +0000},
	Keywords = {Neutron resonances},
	Publisher = {Elsevier},
	Title = {Atlas of Neutron Resonances: Resonance Parameters and Thermal Cross Sections},
	Year = {2006}}

@book{Brussaard,
	Author = {P.J. Brussaard and P.W.M Glaudemans},
	Date-Added = {2014-12-04 19:42:46 +0000},
	Date-Modified = {2014-12-04 19:47:28 +0000},
	Keywords = {Nuclear book},
	Publisher = {North-Holland},
	Title = {Shell-Model Applications in nuclear spectroscopy},
	Year = {1977}}

@article{Nav00,
	Author = {Navr\'atil, P. and Vary, J. P. and Barrett, B. R.},
	Doi = {10.1103/PhysRevLett.84.5728},
	Issue = {25},
	Journal = {Phys. Rev. Lett.},
	Month = {Jun},
	Pages = {5728--5731},
	Publisher = {American Physical Society},
	Title = {Properties of ${}^{12}C$ in the \textit{Ab Initio} Nuclear Shell Model},
	Url = {http://link.aps.org/doi/10.1103/PhysRevLett.84.5728},
	Volume = {84},
	Year = {2000},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevLett.84.5728},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevLett.84.5728}}

% Extrapolating to Nmax=infinity
@article{Nav04,
  publisher = {American Physical Society},
  author = {Navr\'atil, P. and Caurier, E.},
  month = {Jan},
  url = {http://link.aps.org/doi/10.1103/PhysRevC.69.014311},
  year = {2004},
  pages = {014311},
  title = {Nuclear structure with accurate chiral perturbation theory nucleon-nucleon potential: Application to $^{6}\mathrm{Li}$ and $^{10}\mathrm{B}$},
  volume = {69},
  journal = {Phys. Rev. C},
  doi = {10.1103/PhysRevC.69.014311},
  numpages = {11},
  issue = {1}
}

@article{NavRev09,
	Author = {Petr Navr\'atil and Sofia Quaglioni and Ionel Stetcu and Bruce R Barrett},
	Journal = {Journal of Physics G: Nuclear and Particle Physics},
	Number = {8},
	Pages = {083101},
	Title = {Recent developments in no-core shell-model calculations},
	Url = {http://stacks.iop.org/0954-3899/36/i=8/a=083101},
	Volume = {36},
	Year = {2009},
	Bdsk-Url-1 = {http://stacks.iop.org/0954-3899/36/i=8/a=083101}}

@article{Hagen08,
	Author = {Hagen, G. and Papenbrock, T. and Dean, D. J. and Hjorth-Jensen, M.},
	Doi = {10.1103/PhysRevLett.101.092502},
	Issue = {9},
	Journal = {Phys. Rev. Lett.},
	Month = {Aug},
	Numpages = {4},
	Pages = {092502},
	Publisher = {American Physical Society},
	Title = {Medium-Mass Nuclei from Chiral Nucleon-Nucleon Interactions},
	Url = {http://link.aps.org/doi/10.1103/PhysRevLett.101.092502},
	Volume = {101},
	Year = {2008},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevLett.101.092502},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevLett.101.092502}}

@article{Nav07,
	Author = {Navr\'atil, P. and Gueorguiev, V. G. and Vary, J. P. and Ormand, W. E. and Nogga, A.},
	Doi = {10.1103/PhysRevLett.99.042501},
	Issue = {4},
	Journal = {Phys. Rev. Lett.},
	Month = {Jul},
	Numpages = {4},
	Pages = {042501},
	Publisher = {American Physical Society},
	Title = {Structure of $A=10\char21{}13$ Nuclei with Two- Plus Three-Nucleon Interactions from Chiral Effective Field Theory},
	Url = {http://link.aps.org/doi/10.1103/PhysRevLett.99.042501},
	Volume = {99},
	Year = {2007},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevLett.99.042501},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevLett.99.042501}}

@article{CDBonn2001,
	Author = {Machleidt, R.},
	Doi = {10.1103/PhysRevC.63.024001},
	Issue = {2},
	Journal = {Phys. Rev. C},
	Month = {Jan},
	Numpages = {32},
	Pages = {024001},
	Publisher = {American Physical Society},
	Title = {High-precision, charge-dependent Bonn nucleon-nucleon potential},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.63.024001},
	Volume = {63},
	Year = {2001},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.63.024001},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.63.024001}}

@article{Av18,
	Author = {Wiringa, R. B. and Stoks, V. G. J. and Schiavilla, R.},
	Doi = {10.1103/PhysRevC.51.38},
	Issue = {1},
	Journal = {Phys. Rev. C},
	Month = {Jan},
	Pages = {38--51},
	Publisher = {American Physical Society},
	Title = {Accurate nucleon-nucleon potential with charge-independence breaking},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.51.38},
	Volume = {51},
	Year = {1995},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.51.38},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.51.38}}

@article{EM500,
	Author = {Entem, D. R. and Machleidt, R.},
	Doi = {10.1103/PhysRevC.68.041001},
	Issue = {4},
	Journal = {Phys. Rev. C},
	Month = {Oct},
	Numpages = {5},
	Pages = {041001},
	Publisher = {American Physical Society},
	Title = {Accurate charge-dependent nucleon-nucleon potential at fourth order of chiral perturbation theory},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.68.041001},
	Volume = {68},
	Year = {2003},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.68.041001},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.68.041001}}

@article{Epelbaum02,
	Author = {Epelbaum, E. and Nogga, A. and Gl\"ockle, W. and Kamada, H. and Mei\ss{}ner, Ulf-G. and Wita\l{}a, H.},
	Doi = {10.1103/PhysRevC.66.064001},
	Issue = {6},
	Journal = {Phys. Rev. C},
	Month = {Dec},
	Numpages = {17},
	Pages = {064001},
	Publisher = {American Physical Society},
	Title = {Three-nucleon forces from chiral effective field theory},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.66.064001},
	Volume = {66},
	Year = {2002},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.66.064001},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.66.064001}}

@article{Bogner03,
	Author = {S.K. Bogner and T.T.S. Kuo and A. Schwenk},
	Doi = {10.1016/j.physrep.2003.07.001},
	Issn = {0370-1573},
	Journal = {Physics Reports},
	Keywords = {Renormalization group},
	Number = {1},
	Pages = {1 - 27},
	Title = {Model-independent low momentum nucleon interaction from phase shift equivalence},
	Url = {http://www.sciencedirect.com/science/article/pii/S0370157303002953},
	Volume = {386},
	Year = {2003},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0370157303002953},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/j.physrep.2003.07.001}}

@article{Wilson93,
	Author = {G\l{}azek, Stanis\l{}aw D. and Wilson, Kenneth G.},
	Doi = {10.1103/PhysRevD.48.5863},
	Issue = {12},
	Journal = {Phys. Rev. D},
	Month = {Dec},
	Pages = {5863--5872},
	Publisher = {American Physical Society},
	Title = {Renormalization of Hamiltonians},
	Url = {http://link.aps.org/doi/10.1103/PhysRevD.48.5863},
	Volume = {48},
	Year = {1993},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevD.48.5863},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevD.48.5863}}

@article{Wilson94,
	Author = {Glazek, Stanislaw D. and Wilson, Kenneth G.},
	Doi = {10.1103/PhysRevD.49.4214},
	Issue = {8},
	Journal = {Phys. Rev. D},
	Month = {Apr},
	Pages = {4214--4218},
	Publisher = {American Physical Society},
	Title = {Perturbative renormalization group for Hamiltonians},
	Url = {http://link.aps.org/doi/10.1103/PhysRevD.49.4214},
	Volume = {49},
	Year = {1994},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevD.49.4214},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevD.49.4214}}

@article{Wegner94,
	Author = {Wegner, Franz},
	Doi = {10.1002/andp.19945060203},
	Issn = {1521-3889},
	Journal = {Annalen der Physik},
	Keywords = {Many-particle problem, Flow-equations, Diagonalization},
	Number = {2},
	Pages = {77--91},
	Publisher = {WILEY-VCH Verlag},
	Title = {Flow-equations for Hamiltonians},
	Url = {http://dx.doi.org/10.1002/andp.19945060203},
	Volume = {506},
	Year = {1994},
	Bdsk-Url-1 = {http://dx.doi.org/10.1002/andp.19945060203}}

@article{Wegner01,
	Author = {Franz J. Wegner},
	Doi = {10.1016/S0370-1573(00)00136-8},
	Issn = {0370-1573},
	Journal = {Physics Reports},
	Keywords = {Superconductivity},
	Note = {<ce:title>Renormalization group theory in the new millennium. II</ce:title>},
	Number = {1-2},
	Pages = {77 - 89},
	Title = {Flow equations for Hamiltonians},
	Url = {http://www.sciencedirect.com/science/article/pii/S0370157300001368},
	Volume = {348},
	Year = {2001},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0370157300001368},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/S0370-1573(00)00136-8}}

@article{Bogner07,
	Author = {Bogner, S. K. and Furnstahl, R. J. and Perry, R. J.},
	Doi = {10.1103/PhysRevC.75.061001},
	Issue = {6},
	Journal = {Phys. Rev. C},
	Month = {Jun},
	Numpages = {5},
	Pages = {061001},
	Publisher = {American Physical Society},
	Title = {Similarity renormalization group for nucleon-nucleon interactions},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.75.061001},
	Volume = {75},
	Year = {2007},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.75.061001},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.75.061001}}

@article{Bogner07b,
	Author = {S.K. Bogner and R.J. Furnstahl and R.J. Perry and A. Schwenk},
	Doi = {10.1016/j.physletb.2007.04.048},
	Issn = {0370-2693},
	Journal = {Physics Letters B},
	Number = {5-6},
	Pages = {488 - 493},
	Title = {Are low-energy nuclear observables sensitive to high-energy phase shifts?},
	Url = {http://www.sciencedirect.com/science/article/pii/S0370269307004820},
	Volume = {649},
	Year = {2007},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0370269307004820},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/j.physletb.2007.04.048}}

@article{Jurgenson09,
	Author = {Jurgenson, E. D. and Navr\'atil, P. and Furnstahl, R. J.},
	Date-Modified = {2014-12-23 01:55:41 +0000},
	Doi = {10.1103/PhysRevLett.103.082501},
	Issue = {8},
	Journal = {Phys. Rev. Lett.},
	Month = {Aug},
	Numpages = {4},
	Pages = {082501},
	Publisher = {American Physical Society},
	Title = {Evolution of Nuclear Many-Body Forces with the Similarity Renormalization Group},
	Url = {http://link.aps.org/doi/10.1103/PhysRevLett.103.082501},
	Volume = {103},
	Year = {2009},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevLett.103.082501},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevLett.103.082501}}

@article{Jurg09Phd,
	Archiveprefix = {arXiv},
	Author = {Jurgenson, Eric D.},
	Eprint = {arXiv:0912.2937[nucl-th]},
	Note = {Ph.D.Thesis (Advisor: R.J. Furnstahl)},
	Primaryclass = {nucl-th},
	Slaccitation = {%%CITATION = ARXIV:0912.2937;%%},
	Title = {{Applications of the Similarity Renormalization Group to the Nuclear Interaction}},
	Year = {2009}}

@article{Jurg11,
	Author = {Jurgenson, E. D. and Navr\'atil, P. and Furnstahl, R. J.},
	Doi = {10.1103/PhysRevC.83.034301},
	Issue = {3},
	Journal = {Phys. Rev. C},
	Month = {Mar},
	Numpages = {16},
	Pages = {034301},
	Publisher = {American Physical Society},
	Title = {Evolving nuclear many-body forces with the similarity renormalization group},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.83.034301},
	Volume = {83},
	Year = {2011},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.83.034301},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.83.034301}}

@article{Suzuki80,
	Author = {Kenji Suzuki and Shyh Yuan Lee},
	Doi = {10.1143/PTP.64.2091},
	Journal = {Progress of Theoretical Physics},
	Number = {6},
	Numpages = {15},
	Pages = {2091-2106},
	Publisher = {Progress of Theoretical Physics},
	Title = {Convergent Theory for Effective Interaction in Nuclei},
	Url = {http://ptp.ipap.jp/link?PTP/64/2091/},
	Volume = {64},
	Year = {1980},
	Bdsk-Url-1 = {http://ptp.ipap.jp/link?PTP/64/2091/},
	Bdsk-Url-2 = {http://dx.doi.org/10.1143/PTP.64.2091}}

@article{Okubo54,
	Author = {Susumu \^Okubo},
	Doi = {10.1143/PTP.12.603},
	Journal = {Progress of Theoretical Physics},
	Number = {5},
	Numpages = {19},
	Pages = {603-622},
	Publisher = {Progress of Theoretical Physics},
	Title = {Diagonalization of Hamiltonian and Tamm-Dancoff Equation},
	Url = {http://ptp.ipap.jp/link?PTP/12/603/},
	Volume = {12},
	Year = {1954},
	Bdsk-Url-1 = {http://ptp.ipap.jp/link?PTP/12/603/},
	Bdsk-Url-2 = {http://dx.doi.org/10.1143/PTP.12.603}}

@article{Gloeckner74,
	Author = {D.H. Gloeckner and R.D. Lawson},
	Doi = {10.1016/0370-2693(74)90390-6},
	Issn = {0370-2693},
	Journal = {Physics Letters B},
	Number = {4},
	Pages = {313 - 318},
	Title = {Spurious center-of-mass motion},
	Url = {http://www.sciencedirect.com/science/article/pii/0370269374903906},
	Volume = {53},
	Year = {1974},
	Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/0370269374903906},
	Bdsk-Url-2 = {http://dx.doi.org/10.1016/0370-2693(74)90390-6}}

@misc{ncsd,
	Author = {P. Navr\'atil},
	Howpublished = {unpublished},
	Title = {No Core Slater determinant code},
	Year = {1995-}}

@misc{mfd92,
	Author = {J.P. Vary},
	Howpublished = {(Iowa State University),unpublished},
	Title = {The Many-Fermion-Dynamics Shell-Model Code},
	Year = {1992}}

@misc{mfd94,
	Author = {J.P. Vary and D.C. Zheng},
	Howpublished = {unpublished},
	Title = {The Many-Fermion-Dynamics Shell-Model Code},
	Year = {1994}}

@misc{manyeff,
	Author = {P. Navr\'atil},
	Howpublished = {unpublished},
	Title = {manyeff code},
	Year = {1998-}}

@article{Antoine,
	Author = {E. Caurier and F. Nowacki},
	Journal = {Acta Phys. Pol. B},
	Number = {3},
	Pages = {705},
	Title = {Present Status of Shell Model Techniques},
	Url = {http://th-www.if.uj.edu.pl/acta/vol30/abs/v30p0705.htm},
	Volume = {30},
	Year = {1999},
	Bdsk-Url-1 = {http://th-www.if.uj.edu.pl/acta/vol30/abs/v30p0705.htm}}

@article{Bigstick,
title = "Factorization in large-scale many-body calculations ",
journal = "Computer Physics Communications ",
volume = "184",
number = "12",
pages = "2761 - 2774",
year = "2013",
note = "",
issn = "0010-4655",
doi = "http://dx.doi.org/10.1016/j.cpc.2013.07.022",
url = "http://www.sciencedirect.com/science/article/pii/S0010465513002518",
author = "Calvin W. Johnson and W. Erich Ormand and Plamen G. Krastev",
keywords = "Shell model",
keywords = "Configuration interaction",
keywords = "Many-body "}

@article{Caurier05,
	Author = {Caurier, E. and Mart\'inez-Pinedo, G. and Nowacki, F. and Poves, A. and Zuker, A. P.},
	Doi = {10.1103/RevModPhys.77.427},
	Issue = {2},
	Journal = {Rev. Mod. Phys.},
	Month = {Jun},
	Pages = {427--488},
	Publisher = {American Physical Society},
	Title = {The shell model as a unified view of nuclear structure},
	Url = {http://link.aps.org/doi/10.1103/RevModPhys.77.427},
	Volume = {77},
	Year = {2005},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/RevModPhys.77.427},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/RevModPhys.77.427}}

@article{Maris10-F14,
	Author = {Maris, P. and Shirokov, A. M. and Vary, J. P.},
	Doi = {10.1103/PhysRevC.81.021301},
	Issue = {2},
	Journal = {Phys. Rev. C},
	Month = {Feb},
	Numpages = {5},
	Pages = {021301},
	Publisher = {American Physical Society},
	Title = {\textit{Ab initio} nuclear structure simulations: The speculative $^{14}\mathrm{F}$ nucleus},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.81.021301},
	Volume = {81},
	Year = {2010},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.81.021301},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.81.021301}}

@article{Maris11,
	Author = {Maris, P. and Vary, J. P. and Navr\'atil, P. and Ormand, W. E. and Nam, H. and Dean, D. J.},
	Doi = {10.1103/PhysRevLett.106.202502},
	Issue = {20},
	Journal = {Phys. Rev. Lett.},
	Month = {May},
	Numpages = {4},
	Pages = {202502},
	Publisher = {American Physical Society},
	Title = {Origin of the Anomalous Long Lifetime of $^{14}\mathrm{C}$},
	Url = {http://link.aps.org/doi/10.1103/PhysRevLett.106.202502},
	Volume = {106},
	Year = {2011},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevLett.106.202502},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevLett.106.202502}}

@article{Quag08a,
	Author = {Quaglioni, Sofia and Navr{\'a}til, Petr},
	Doi = {10.1103/PhysRevLett.101.092501},
	Issue = {9},
	Journal = {Phys. Rev. Lett.},
	Month = {Aug},
	Numpages = {4},
	Pages = {092501},
	Publisher = {American Physical Society},
	Title = {\textit{Ab~Initio} Many-Body Calculations of $n\mathrm{\text{-}}^{3}\mathrm{H}$, $n\mathrm{\text{-}}^{4}\mathrm{He}$, $p\mathrm{\text{-}}^{3,4}\mathrm{He}$, and $n\mathrm{\text{-}}^{10}\mathrm{Be}$ Scattering},
	Url = {http://link.aps.org/doi/10.1103/PhysRevLett.101.092501},
	Volume = {101},
	Year = {2008},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevLett.101.092501},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevLett.101.092501}}

@article{Nollett07,
	Author = {Nollett, Kenneth M. and Pieper, Steven C. and Wiringa, R. B. and Carlson, J. and Hale, G. M.},
	Doi = {10.1103/PhysRevLett.99.022502},
	Issue = {2},
	Journal = {Phys. Rev. Lett.},
	Month = {Jul},
	Numpages = {4},
	Pages = {022502},
	Publisher = {American Physical Society},
	Title = {Quantum Monte~Carlo Calculations of Neutron-$$\alpha${}$ Scattering},
	Url = {http://link.aps.org/doi/10.1103/PhysRevLett.99.022502},
	Volume = {99},
	Year = {2007},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevLett.99.022502},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevLett.99.022502}}

@article{Quag09,
	Author = {Quaglioni, Sofia and Navr\'atil, Petr},
	Doi = {10.1103/PhysRevC.79.044606},
	Issue = {4},
	Journal = {Phys. Rev. C},
	Month = {Apr},
	Numpages = {28},
	Pages = {044606},
	Publisher = {American Physical Society},
	Title = {\textit{Ab initio} many-body calculations of nucleon-nucleus scattering},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.79.044606},
	Volume = {79},
	Year = {2009},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.79.044606},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.79.044606}}

@article{Hagen07,
	Author = {Hagen, G. and Dean, D. J. and Hjorth-Jensen, M. and Papenbrock, T. and Schwenk, A.},
	Doi = {10.1103/PhysRevC.76.044305},
	Issue = {4},
	Journal = {Phys. Rev. C},
	Month = {Oct},
	Numpages = {8},
	Pages = {044305},
	Publisher = {American Physical Society},
	Title = {Benchmark calculations for $^{3}\mathrm{H}$, $^{4}\mathrm{He}$, $^{16}\mathrm{O}$, and $^{40}\mathrm{Ca}$ with \textit{ab initio} coupled-cluster theory},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.76.044305},
	Volume = {76},
	Year = {2007},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.76.044305},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.76.044305}}

@article{Jansen11,
	Author = {Jansen, G. R. and Hjorth-Jensen, M. and Hagen, G. and Papenbrock, T.},
	Doi = {10.1103/PhysRevC.83.054306},
	Issue = {5},
	Journal = {Phys. Rev. C},
	Month = {May},
	Numpages = {9},
	Pages = {054306},
	Publisher = {American Physical Society},
	Title = {Toward open-shell nuclei with coupled-cluster theory},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.83.054306},
	Volume = {83},
	Year = {2011},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.83.054306},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.83.054306}}

@article{Jensen11,
	Author = {Jensen, \O{}. and Hagen, G. and Hjorth-Jensen, M. and Vaagen, J. S.},
	Doi = {10.1103/PhysRevC.83.021305},
	Issue = {2},
	Journal = {Phys. Rev. C},
	Month = {Feb},
	Numpages = {5},
	Pages = {021305},
	Publisher = {American Physical Society},
	Title = {Closed-shell properties of $^{24}\mathrm{O}$ with \textit{ab initio} coupled-cluster theory},
	Url = {http://link.aps.org/doi/10.1103/PhysRevC.83.021305},
	Volume = {83},
	Year = {2011},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevC.83.021305},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevC.83.021305}}

@article{Hagen12,
	Archiveprefix = {arXiv},
	Author = {Hagen, G. and Hjorth-Jensen, M. and Jansen, G.R. and Machleidt, R. and Papenbrock, T.},
	Eprint = {arXiv:1202.2839[nucl-th]},
	Primaryclass = {nucl-th},
	Slaccitation = {%%CITATION = ARXIV:1202.2839;%%},
	Title = {{Continuum effects and three-nucleon forces in neutron-rich oxygen isotopes}},
	Year = {2012}}
	@article{Jurgenson11,
  title = {Evolving nuclear many-body forces with the similarity renormalization group},
  author = {Jurgenson, E. D. and Navr\'atil, P. and Furnstahl, R. J.},
  journal = {Phys. Rev. C},
  volume = {83},
  issue = {3},
  pages = {034301},
  numpages = {16},
  year = {2011},
  month = {Mar},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevC.83.034301},
  url = {http://link.aps.org/doi/10.1103/PhysRevC.83.034301}
}
@article{Jurgenson13,
  title = {Structure of $p$-shell nuclei using three-nucleon interactions evolved with the similarity renormalization group},
  author = {Jurgenson, E. D. and Maris, P. and Furnstahl, R. J. and Navr\'atil, P. and Ormand, W. E. and Vary, J. P.},
  journal = {Phys. Rev. C},
  volume = {87},
  issue = {5},
  pages = {054312},
  numpages = {18},
  year = {2013},
  month = {May},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevC.87.054312},
  url = {http://link.aps.org/doi/10.1103/PhysRevC.87.054312}
}

@article{Bur:1957,
     author = {Burbidge, M. and Burbidge, G. and Fowler, W. and Hoyle, F.},
     journal = {Rev. Mod. Phys.},
     volume = {29},
     pages = {547},
     year = {1957}}

@article{Kas:2017,
     author = {Kasen, D. and Metzger, B. and Barnes, J. and Quataert, E.  and E. Ramirez-Ruiz, E.},
     journal = {Nature},
     volume = {551},
     pages = {80},
     year = {2017}}

@article{Hauser:1952,
     author = {Hauser, W. and Feshbach, H.},
     journal = {Phys. Rev.},
     volume = {87},
     pages = {366},
     year = {1952}}

 @techreport{STAPRE,
                Address = {Vienna, Austria},
                Author = {Uhl, M. and Strohmaier, B.},
                Institution = {Institut f{\"u}r Radiumforschung und Kernphysik},
                Number = {IRK 76/01, rev. 1978},
                Title = {STAPRE, A Computer Code for Particle Induced Activation Cross Sections and Related Quantities},
                Year = {1976}}

@article{EMPIRE,
author= {Herman, M. and Capote, R. and Carlson, B. V. and Oblo\v{z}insk\'{y}, P. and Sin, M. and Trkov, A. and Wienke, H. and Zerkin, V.},
title={EMPIRE: Nuclear Reaction Model Code System for Data Evaluation},
journal={Nucl. Data Sheets},
year={2007},
volume={108},
pages={2655}
}

@book{TALYS,
  title={``TALYS-1.0", Proceedings of the International Conference on Nuclear Data for Science and Technology, April 22-27, 2007, Nice, France},
  author={Koning, A. J. and Hilaire, S. and Duijvestijn, M. C.},
  Editor = {Bersillon, O. and Gunsing, F. and Bauge, E. and Jacqmin, R. and Leray, S.},
  publisher={EDP Sciences {\bf 211}},
  year = 2008
}

@techreport{GNASH,
                Address = {Los Alamos, NM},
                Author = {Young, P. G. and Arthur, E. D. and Chadwick, M. B.},
                Institution = {Los Alamos National Laboratory},
                Number = {LA-12343-MS},
                Title = {Comprehensive Nuclear Model Calculations:  Introduction to the Theory and Use of the GNASH Code},
                Year = {1992}
                }
@article{FRESCO,
     author = {Thompson, I. J.},
     journal = {Comp. Phys. Rep.},
     volume = {7},
     pages = {167-212},
     year = {1988}
     }

@book{GNDS,
    author = {NEA},
    title = {Specifications for the Generalised Nuclear Database Structure ({GNDS}): Version 1.9, {\rm https://doi.org/10.1787/94d5e451-en}},
    publisher = {OECD Publishing},
    address= {Paris},
    year = 2020
}

@article{Koning:2004,
     author = {Koning, A. J. and Duijvestijn, M. C.},
     journal = {Nucl. Phys. A},
     volume = {744},
     pages = {15-76},
     year = {2004}
     }

@article{Feshbach:1980,
     author = {Feshbach, H. and Kerman, A. and  Koonin, S.},
     journal = {Nucl. Phys. A},
     volume = {125},
     pages = {429},
     year = {1980}
     }

@book{Gadioli:1992,
     author = {Gadioli, E. and Hodgson. P. E.},
     title = {Pre-equilibrium Nuclear Reactions},
     publisher = {Oxford Univ. Press},
     address = {New York},
     year = {1992}
     }

@article{Blann:1996,
     author = {Blann, M.},
     journal = {Phys. Rev. C},
     volume = {54},
     pages = {1341},
     year = {1996}
     }
@article{Kalbach:1988,
     author = {Kalbach, C},
     journal = {Phys. Rev. C},
     volume = {37},
     pages = {2350},
     year = {1988}
     }
@article{Hofmann:1975,
     author = {Hofmann, H. M. and Richert, J and Tepel, J. W. and Weidenm{\" u}ller, H. A.},
     journal = {Ann. Phys. (NY)},
     volume = {90},
     pages = {403},
     year = {1975}
     }
@article{Tepel:1974,
     author = {Tepel, J. W. and Hofmann, H. M. and Weidenm{\" u}ller, H. A.},
     journal = {Phys. Lett. B},
     volume = {49},
     pages = {1},
     year = {1974}
     }
@article{Hofmann:1980,
     author = {Hofmann, H. M. and Richert, J. and Tepel, J. W. and Weidenm{\" u}ller, H. A.},
     journal = {Z. Phys. A.},
     volume = {297},
     pages = {153},
     year = {1980}
     }
@article{Moldauer:1976,
     author = {Moldauer, P. A.},
     journal = {Phys. Rev. C},
     volume = {14},
     pages = {764},
     year = {1976}
     }
@article{Moldauer:1980,
     author = {Moldauer, P. A.},
     journal = {Nucl. Phys. A},
     volume = {344},
     pages = {185},
     year = {1980}
     }
@article{Gilbert:1965,
     author = {Gilbert, A. and Cameron, A. G. W.},
     journal = {Can. J. Phys.},
     volume = {43},
     pages = {1446},
     year = {1965}
     }
@article{Bethe:1937,
     author = {Bethe, H.},
     journal = {Rev. Mod. Phys.},
     volume = {9},
     pages = {69},
     year = {1937}
     }
@article{Capote:2009,
     author = {Capote, R. and Herman, M. and Oblozzinsky P. and Young, P.G. and Goriely, S. and Belgya, T. and Ignatyuk, A. V. Koning, A. J. and Hilaire, S. and Plujko,  V. and Avrigeanu, M. and Bersillon, O. and Chadwick, M. B. and Fukahori, T. and Kailas, S. and Kopecky, J. and Maslov, V. M. and Reffo, G. and Sin, M. Soukhovitskii, E. and Talou, P. and Yinlu, H. and Zhigang, G. },
     journal = {Nucl. Data Sheets},
     volume = {110},
     pages = {3107},
     year = {2009}
     }
@article{Junghans:1998,
     author = {Junghans, A. R. and de Jong, M. and Clrec, H.-G. and Ignatyuk, A.V. and Kudyaev, G. A. and Schmidt, K.-H.},
     journal = {Nucl. Phys. A},
     volume = {629},
     pages = {635},
     year = {1998}
     }
 @article{Iljinov:1992,
     author = { Iljinov, A. S. and Mebel, M. V. and Bianchi, N. and De Sanctis, E. and Guaraldo, C. and Lucherini, V. and Muccifora, V. and Polli, E. and Reolon, A. R. and Rossi, P.},
     journal = {Nucl. Phys. A},
     volume = {543},
     pages = {517},
     year = {1992}
     }
@book{Mughabghab-1:2018,
     author = {Mughabghab, S. F.},
     title = {Atlas of Neutron Resonances Volume 1: Resonance Properties and Thermal Cross Sections Z= 1-60},
     publisher = {Elsevier},
     address = {Amsterdam},
     year = {2018}
     }
@book{Mughabghab-2:2018,
     author = {Mughabghab, S. F.},
     title = {Atlas of Neutron Resonances Volume 2: Resonance Properties and Thermal Cross Sections Z= 61-102},
     publisher = {Elsevier},
     address = {Amsterdam},
     year = {2018}
     }
 @article{Koning:2003,
     author = { Koning, A. J. and Delaroche, J. P.},
     journal = {Nucl. Phys. A},
     volume = {713},
     pages = {310},
     year = {2003}
     }
 @article{Soukhovitskii:2004,
     author = { Soukhovistkii, E. S. and Chiba, S. and Lee, J.-Y. and Iwamoto, O. and Fukahori, T.},
     journal = {J. Phys. G},
     volume = {30},
     pages = {905},
     year = {2004}
     }
 @article{Perey:1976,
     author = { Perey, C. M. and Perey, F. G.},
     journal = {At. Data and Nucl. Data Tables},
     volume = {17},
     pages = {1},
     year = {1976}
     }
 @article{Avrigeanu:1994,
     author = { Avrigeanu, V. and Hodgson, P. E. and Avrigeanu, M.},
     journal = {Phys. Rev. C},
     volume = {49},
     pages = {2136},
     year = {1994}
     }
 @article{Myers:1966,
     author = { Myers, W. D. and Swiatecki, W. J.},
     journal = {Nucl. Phys. A},
     volume = {81},
     pages = {1},
     year = {1966}
     }
 @article{Guet:1988,
     author = { Guet, C. and Strumberger, E. and Brack, M.},
     journal = {Phys. Lett. B},
     volume = {205},
     pages = {427},
     year = {1988}
     }
 @article{Moller:1988,
     author = {M\" oller,P. and Myers, W. D. and Swiatecki, W. J. and Treiner, J.},
     journal = {At. Data Nucl. Data Tables},
     volume = {39},
     pages = {225},
     year = {1988}
     }
 @article{Moller:1997,
     author = {M\"oller,P. and Nix, J. R.},
     journal = {At. Data Nucl. Data Tables},
     volume = {66},
     pages = {131},
     year = {1997}
     }
 @article{Akkermans:1985,
     author = {Akkermans, J. M. and Gruppelar, H.},
     journal = {Phys. Lett. B},
     volume = {157},
     pages = {95},
     year = {1985}
     }
@misc{RIPL-3,
     author = {Capote, R. and Herman, M. and Oblozzinsky P. and Young, P.G. and Goriely, S. and Belgya, T. and Ignatyuk, A. V. Koning, A. J. and Hilaire, S. and Plujko,  V. and Avrigeanu, M. and Bersillon, O. and Chadwick, M. B. and Fukahori, T. and Kailas, S. and Kopecky, J. and Maslov, V. M. and Reffo, G. and Sin, M. Soukhovitskii, E. and Talou, P. and Yinlu, H. and Zhigang, G. },
    howpublished = {Available at \url{https://www-nds.iaea.org/RIPL-3/} (2020/10/25)}
    }

     @article{Kopecky:1990,
     author = {Kopecky, J. and Uhl, M.},
     journal = {Phys. Rev. C},
     volume = {41},
     pages = {1941},
     year = {1990}
     }
     @article{Baba:1990,
     author = {Baba, M. and Wakabayashi, H. and Ito, N. and Kazuto
Maeda, K. and Naohiro Hirakawa, N.},
     journal = {J. Nucl. Sci. and Technol.},
     volume = {27},
     pages = {601},
     year = {1990}
     }
     @article{Cline:1983,
     author = {Cline, C. and Blann, M.},
     journal = {Nucl. Phys. A},
     volume = {172},
     pages = {225},
     year = {1983}
     }
     @article{Dobes:1983,
     author = {Dobe\v{s}, J. and. B\v{e}t\'ak, E.},
     journal = {Z. Phys. A},
     volume = {310},
     pages = {329},
     year = {1983}
     }
     @article{Betak:1976,
     author = {B\v{e}t\'ak, E. and Dobe\v{s}, J.},
     journal = {Z. Phys. A},
     volume = {279},
     pages = {319},
     year = {1976}
     }
     @article{Fu:1984,
     author = {Fu, C. Y.},
     journal = {Nucl. Sci. Eng.},
     volume = {86},
     pages = {344},
     year = {1984}
     }
     @article{Kalbach:1985,
     author = {Kalbach, C.},
     journal = {Phys. Rev. C},
     volume = {33},
     pages = {818},
     year = {1985}
     }

     @article{ENDF/B-VII.1,
     author = {Chadwick, M. B. and  Herman, M. and Oblozinsky, P. and Dunn, M. E. and Danon, Y. and Kahler, A. C. and Smith, D. L. and Pritychenko, B. and  Arbanas, G. and Arcilla, R. and Brewer, R. and Brown, D. A. and Capote, R. and Carlson, A. D. and Cho, Y. S. and Derrien, H. and Guber, K. and Hale, G. M. and Hoblit, S. and Holloway, S. and Johnson, T. D. and Kawano, T. and Kiedrowski, B. C. and Kim, H. and Kunieda, S. and Larson, N. M. and Leal, L. and Lestone, J. P and Little, R. C. and McCutchan, E. A. and MacFarlane, R. E. and MacInnes, M. and Mattoon, C. M. and McKnight, R. D. and Mughabghab, S. F. and Nobre, G. P. A. and  Palmiotti, G. and Palumbo, A. and Pigni, M. T. and  Pronyaev, V. G. and Sayer, R. O. and Sonzogni, A. A. and Summers, N. C. and Talou, P. and Thompson, I. J. and Trkov, A. and Vogt, R. L. and van der Marck, S. C. and Wallner, A. and White, M. C. and Wiarda, D. and Young, P. G.},
     journal = {Nucl. Data Sheets},
     volume = {112},
     pages = {2887},
     year = {2011}
     }

@article{Soukhovitskii:2016,
  title = {Nucleon scattering on actinides using a dispersive optical model with extended couplings},
  author = {Soukhovitski\ifmmode \tilde{\imath}\else \~{\i}\fi{}, E. Sh. and Capote, R. and Quesada, J. M. and Chiba, S. and Martyanov, D. S.},
  journal = {Phys. Rev. C},
  volume = {94},
  issue = {6},
  pages = {064605},
  numpages = {25},
  year = {2016},
  month = {Dec},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevC.94.064605},
  url = {https://link.aps.org/doi/10.1103/PhysRevC.94.064605}
}

@article{Soukhovitskii:2020,
  title = {Erratum: Nucleon scattering on actinides using a dispersive optical model with extended couplings [Phys. Rev. C 94, 064605 (2016)]},
  author = {Soukhovitski\ifmmode \tilde{\imath}\else \~{\i}\fi{}, E. Sh. and Capote, R. and Quesada, J. M. and Chiba, S. and Martyanov, D. S.},
  journal = {Phys. Rev. C},
  volume = {102},
  issue = {5},
  pages = {059901},
  numpages = {4},
  year = {2020},
  month = {Nov},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevC.102.059901},
  url = {https://link.aps.org/doi/10.1103/PhysRevC.102.059901}
}

@article{Maslov:2003,
title = {238U–nucleon–nucleus optical potential up to 200 MeV},
journal = {Nuclear Physics A},
volume = {736},
number = {1},
pages = {77-92},
year = {2004},
issn = {0375-9474},
doi = {https://doi.org/10.1016/j.nuclphysa.2004.02.021},
url = {https://www.sciencedirect.com/science/article/pii/S037594740400212X},
author = {V.M. Maslov and Yu.V. Porodzinskij and N.A. Tetereva and M. Baba and A. Hasegawa},
abstract = {Nucleon optical model potential for 238U is obtained. Rigid rotator coupled channel model reproduces experimental neutron total cross section data up to 200 MeV and produce the reaction cross section energy dependence in the range up to 200 MeV, suitable for the Hauser–Feshbach and pre-equilibrium model calculations of neutron- and proton-induced fission cross sections.}
}

repository: LLNL/Yet-Another-Hauser-Feshbach-Code

repo_name: LLNL/Yet-Another-Hauser-Feshbach-Code


text:
package main

import (
	"fmt"
	"time"

	"github.com/pinpt/worker/pkg/util"
)

const (
	SignalTimeUnit_NOW          int32 = 0
	SignalTimeUnit_MONTH        int32 = 30
	SignalTimeUnit_QUARTER      int32 = 90
	SignalTimeUnit_HALFYEAR     int32 = 180
	SignalTimeUnit_YEAR         int32 = 365
	SignalTimeUnit_THIRDQUARTER int32 = 270
	SignalTimeUnit_ALLTIME      int32 = -1
	SignalTimeUnit_BIMONTH      int32 = 60
)

func main() {
	// Current functionality

	endDate := GetSignalTime(SignalTimeUnit_NOW, time.Now())
	dateRef := time.Now().UTC()

	date := util.ShortDateFromTime(dateRef)

	startDate := GetSignalTime(30, endDate)

	fmt.Println("StartDate ", startDate)
	fmt.Println("endDate ", endDate)
	fmt.Println("date for Signal table", date)
	// OUTPUT
	// StartDate 2018-03-12 00:00:00 +0000 UTC
	// endDate   2018-04-10 23:59:59.999999999 +0000 UTC
	// date for Signal table 2018-04-11

	// In order to use them in the query we get
	sd := startDate.Unix()
	ed := endDate.Unix()
	fmt.Println("Unix Start Date", sd)
	fmt.Println("Unix End Date", ed)
	// OUTPUT
	// Unix Start Date 1520812800
	// Unix End Date 1523404799

	// In SQL we are saving dates in milliseconds
	// Lets say there are two dates as
	// 1.-
	// 2.-

}

func GetSignalTime(timeUnit int32, refDate time.Time) time.Time {
	var t time.Time
	switch timeUnit {
	case SignalTimeUnit_NOW:
		{
			return refDate.UTC().Truncate(time.Hour * 24)
		}
	case SignalTimeUnit_MONTH:
		{
			t = refDate.UTC().AddDate(0, 0, -29)
		}
	case SignalTimeUnit_BIMONTH:
		{
			t = refDate.UTC().AddDate(0, 0, -59)
		}
	case SignalTimeUnit_QUARTER:
		{
			t = refDate.UTC().AddDate(0, 0, -89)
		}
	case SignalTimeUnit_HALFYEAR:
		{
			t = refDate.UTC().AddDate(0, 0, -179)
		}
	case SignalTimeUnit_THIRDQUARTER:
		{
			t = refDate.UTC().AddDate(0, 0, -269)
		}
	case SignalTimeUnit_YEAR:
		{
			t = refDate.UTC().AddDate(0, 0, -364)
		}
	}

	return t.Truncate(time.Hour * 24)
}

// ShortDateFromTime will return a short date from a time
func ShortDateFromTime(tv time.Time) string {
	return tv.UTC().Format("2006-01-02")
}

license: MIT

license_type: permissive

branch_name: refs/heads/master

extension: go


text:
/*
Copyright 2019 The Kubernetes Authors All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
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 collector

import (
	"fmt"
	"testing"

	v1 "k8s.io/api/core/v1"
)

func TestIsHugePageSizeFromResourceName(t *testing.T) {
	testCases := []struct {
		resourceName v1.ResourceName
		expectVal    bool
	}{
		{
			resourceName: "pod.alpha.kubernetes.io/opaque-int-resource-foo",
			expectVal:    false,
		},
		{
			resourceName: "hugepages-100m",
			expectVal:    true,
		},
		{
			resourceName: "",
			expectVal:    false,
		},
	}

	for _, tc := range testCases {
		t.Run(fmt.Sprintf("resourceName input=%s, expected value=%v", tc.resourceName, tc.expectVal), func(t *testing.T) {
			v := isHugePageResourceName(tc.resourceName)
			if v != tc.expectVal {
				t.Errorf("Got %v but expected %v", v, tc.expectVal)
			}
		})
	}
}

func TestIsAttachableVolumeResourceName(t *testing.T) {
	testCases := []struct {
		resourceName v1.ResourceName
		expectVal    bool
	}{
		{
			resourceName: "pod.alpha.kubernetes.io/opaque-int-resource-foo",
			expectVal:    false,
		},
		{
			resourceName: "attachable-volumes-100m",
			expectVal:    true,
		},
		{
			resourceName: "",
			expectVal:    false,
		},
	}

	for _, tc := range testCases {
		t.Run(fmt.Sprintf("resourceName input=%s, expected value=%v", tc.resourceName, tc.expectVal), func(t *testing.T) {
			v := isAttachableVolumeResourceName(tc.resourceName)
			if v != tc.expectVal {
				t.Errorf("Got %v but expected %v", v, tc.expectVal)
			}
		})
	}
}

func TestIsExtendedResourceName(t *testing.T) {
	testCases := []struct {
		resourceName v1.ResourceName
		expectVal    bool
	}{
		{
			resourceName: "pod.alpha.kubernetes.io/opaque-int-resource-foo",
			expectVal:    false,
		},
		{
			resourceName: "kubernetes.io/resource-foo",
			expectVal:    false,
		},
		{
			resourceName: "foo",
			expectVal:    false,
		},
		{
			resourceName: "a/b",
			expectVal:    true,
		},
		{
			resourceName: "requests.foobar",
			expectVal:    false,
		},
		{
			resourceName: "c/d/",
			expectVal:    false,
		},
		{
			resourceName: "",
			expectVal:    false,
		},
	}

	for _, tc := range testCases {
		t.Run(fmt.Sprintf("resourceName input=%s, expected value=%v", tc.resourceName, tc.expectVal), func(t *testing.T) {
			v := isExtendedResourceName(tc.resourceName)
			if v != tc.expectVal {
				t.Errorf("Got %v but expected %v", v, tc.expectVal)
			}
		})
	}
}

repository: luckyfengyong/go-provider-devenv

repo_name: luckyfengyong/go-provider-devenv

gha_language: Go


text:
@inproceedings{Hu:2019:SDM:3331184.3331213,
 author = {Hu, Peng and Zhen, Liangli and Peng, Dezhong and Liu, Pei},
 title = {Scalable Deep Multimodal Learning for Cross-Modal Retrieval},
 booktitle = {Proceedings of the 42Nd International ACM SIGIR Conference on Research and Development in Information Retrieval},
 series = {SIGIR'19},
 year = {2019},
 isbn = {978-1-4503-6172-9},
 location = {Paris, France},
 pages = {635--644},
 numpages = {10},
 url = {http://doi.acm.org/10.1145/3331184.3331213},
 doi = {10.1145/3331184.3331213},
 acmid = {3331213},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {cross-modal retrieval, multimodal learning, representation learning},
}

url: https://raw.githubusercontent.com/Hugh-Shi/DL-NLP-Readings/924e4d189e5660c5b5d4854278f3df755ae2231d/Bibtex/Scalable Deep Multimodal Learning for Cross-Modal Retrieval.bib

repository: Hugh-Shi/DL-NLP-Readings

repo_name: Hugh-Shi/DL-NLP-Readings

gha_license_id: MIT

extension: bib


text:
package leetcode

import (
	"fmt"
	"testing"
)

func TestLCP(t *testing.T) {
	strs := []string{"flower", "flow", "flight"}
	fmt.Println(longestCommonPrefixDivide(strs))
}

func TestLCP1(t *testing.T) {
	strs := []string{"flower", "flow", "1flight"}
	fmt.Println(longestCommonPrefixDivide(strs))
}

func TestLCP2(t *testing.T) {
	strs := []string{"flower", "flow"}
	fmt.Println(longestCommonPrefixDivide(strs))
}

func TestLCP3(t *testing.T) {
	strs := []string{"flower"}
	fmt.Println(longestCommonPrefixDivide(strs))
}

func TestLCP4(t *testing.T) {
	strs := []string{"flower", "flow", "flight"}
	fmt.Println(longestCommonPrefixDivide(strs))
}

repository: baixiaoustc/leetcode

repo_name: baixiaoustc/leetcode


text:
require bug-app.inc

DESCRIPTION = "Take a picture, show it on the screen."
HOMEPAGE = "http://buglabs.net/applications/SuperSimpleCamera"

DEPENDS += "com.buglabs.bug.module.camera com.buglabs.osgi com.buglabs.common service-tracker com.buglabs.bug.module.lcd "

PV = "2"

SRC_LINK = "http://buglabs.net/program_version/download/700"

APIVERSION = ""

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD

extension: bb


text:
// Copyright 2020 The Go Language Server Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package protocol

import (
	"testing"

	"github.com/google/go-cmp/cmp"

	"go.lsp.dev/uri"
)

func TestToURI(t *testing.T) {
	tests := []struct {
		name string
		s    string
		want uri.URI
	}{
		{
			name: "Valid",
			s:    "/path/to/test.go",
			want: uri.URI("file:///path/to/test.go"),
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			if diff := cmp.Diff(tt.want, ToURI(tt.s)); diff != "" {
				t.Errorf("(+want, -got)\n%s", diff)
			}
		})
	}
}

func TestNewVersion(t *testing.T) {
	tests := []struct {
		name string
		i    uint64
	}{
		{
			name: "Valid",
			i:    5000,
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			want := NewVersion(tt.i)
			if got := NewVersion(tt.i); *got != *want {
				t.Errorf("NewVersion(%v) = %v, want %v", tt.i, *got, *want)
			}
		})
	}
}

repository: slzatz/protocol

repo_name: slzatz/protocol

branch_name: refs/heads/main


text:
package tablestruct

import (
	"strings"

	"bitbucket.org/pkg/inflect"
)

// ColumnMap describes a mapping between a Go struct field and a database
// column.
type ColumnMap struct {
	Field      string `json:"field"`
	Column     string `json:"column"`
	Type       string `json:"type"`
	Null       bool   `json:"null"`
	PrimaryKey bool   `json:"pk"`
}

// FieldToColumn converts a Go struct field name to a database table column
// name. It is mainly CamelCase -> snake_case, with some special cases, and is
// overridable.
func FieldToColumn(field string) string {
	if len(field) < 4 {
		return strings.ToLower(field)
	}
	return inflect.Underscore(field)
}

repository: paulsmith/tablestruct

repo_name: paulsmith/tablestruct


text:
@book{howitt_introduction_2013,
  title = {Introduction to {{Qualitative Methods}} in {{Psychology}}},
  isbn = {978-0-273-77006-0},
  abstract = {This second edition of Dennis Howitt’s Introduction to Qualitative Methods in Psychology provides a wealth of practical and theoretical advice which has made it such a trusted and valuable resource for students.    Clear explanations and examples take you through qualitative research from data collection to analysis, and dedicated sections offer guidance on ethics, quality and report writing. Methods are broken down to give step-by-step practical advice and guidance,~making sure~that you understand the theory and can carry out your own research.    All of this is achieved while providing a thorough theoretical and historical context for the various methods.},
  pagetotal = {550},
  timestamp = {2016-07-09T18:00:22Z},
  langid = {english},
  publisher = {{Pearson}},
  author = {Howitt, Dennis},
  date = {2013}
}

@article{daneman_individual_1980,
  title = {Individual Differences in Working Memory and Reading},
  volume = {19},
  timestamp = {2016-07-06T13:06:21Z},
  journaltitle = {Journal of Verbal Learning and Verbal Behavior},
  author = {Daneman, M and Carpenter, P A},
  date = {1980},
  pages = {450--466}
}

@book{howell_statistical_1997,
  location = {{California, USA}},
  title = {Statistical {{Methods}} for {{Psychology}} ({{Fourth Edition}})},
  timestamp = {2016-10-28T09:27:32Z},
  publisher = {{Wadsworth}},
  author = {Howell, D C},
  date = {1997}
}

@book{9780121790608,
  edition = {2nd},
  title = {Statistical {{Power Analysis}} for the {{Behavioral Sciences}}},
  isbn = {0-12-179060-6},
  url = {http://www.amazon.com/Statistical-Power-Analysis-Behavioral-Sciences/dp/0121790606%3FSubscriptionId%3D0JYN1NVW651KCA56C102%26tag%3Dtechkie-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0121790606},
  timestamp = {2016-09-21T10:41:30Z},
  publisher = {{Lawrence Erlbaum}},
  author = {Cohen, Jacob Willem},
  date = {1988}
}

@book{dancey_statistics_2007,
  title = {Statistics {{Without Maths}} for {{Psychology}}},
  isbn = {978-0-13-205160-6},
  abstract = {Statistics Without Maths for Psychology is an essential companion to your psychology course, guiding you through the process of using statistics without mathematical formulae. It gives you the tools to use SPSS to analyse data and provides clear but comprehensive explanations of all the statistical concepts you will need, offering you the opportunity to test your knowledge and practice your skills along the way with activities, exercises and multiple choice questions. Packed with examples, discussion points and handy tips it will enable you to enrich your understanding and avoid feeling like a fish out of water.},
  pagetotal = {652},
  timestamp = {2016-07-09T17:46:10Z},
  langid = {english},
  publisher = {{Pearson Education}},
  author = {Dancey, Christine P. and Reidy, John},
  date = {2007},
  keywords = {Psychology / Statistics}
}

@article{maxwell2004persistence,
  title = {The Persistence of Underpowered Studies in Psychological Research: Causes, Consequences, and Remedies.},
  volume = {9},
  timestamp = {2016-09-21T11:08:52Z},
  number = {2},
  journaltitle = {Psychological methods},
  author = {Maxwell, Scott E},
  date = {2004},
  pages = {147--163}
}

@article{qualtrics2014qualtrics,
  title = {Qualtrics [{{Software}}]},
  url = {http://www.qualtrics.com},
  timestamp = {2016-08-11T10:39:25Z},
  author = {Qualtrics, LLC},
  date = {2015}
}

@book{field2009discovering,
  location = {{London}},
  title = {Discovering Statistics Using {{SPSS}}},
  timestamp = {2016-10-28T09:28:33Z},
  publisher = {{Sage Publications}},
  author = {Field, Andy},
  date = {2009}
}

@book{brace_spss_2012,
  title = {{{SPSS}} for {{Psychologists}}},
  isbn = {978-1-137-01441-2},
  abstract = {With over 50,000 copies sold, this is the indispensable guide to SPSS. With its student-friendly layout, accessible style and unbeatable coverage, it provides you with a step-by-step tour and equips you with the knowledge you need to succeed in your degree. Written especially for psychology students, this book shows you how to get the most out of SPSS, and will be an essential resource no matter what your level of study is.Key features of the new edition:- Fully updated to cover SPSS version 20 and backward-compatible with other versions- New material on bivariate (simple) regression and expanded coverage of multiple regression- Two new SPSS data files for several complex statistical inferential tests- New 'how to report results' boxes guide students through their findings- Accessible layout and writing style, perfect for studentsIn addition, a number of sample exercises, datasets and other useful resources can be found at www.palgrave.com/psychology/brace},
  pagetotal = {488},
  timestamp = {2016-07-09T17:58:26Z},
  langid = {english},
  publisher = {{Palgrave Macmillan}},
  author = {Brace, Nicola and Snelgar, Rosemary and Kemp, Richard},
  date = {2012-07-19},
  keywords = {Psychology / Assessment; Testing & Measurement,Psychology / General,Psychology / Research & Methodology,Psychology / Statistics}
}

@book{langdridge2007phenomenological,
  title = {Phenomenological Psychology: {{Theory}}, Research and Method},
  timestamp = {2016-09-19T14:25:28Z},
  publisher = {{Pearson Education}},
  author = {Langdridge, Darren},
  date = {2007}
}

@book{kvale2009interviews,
  title = {{{InterViews}}: {{Learning}} the {{Craft}} of {{Qualitative Research Interviewing}}},
  isbn = {978-0-7619-2542-2},
  url = {https://books.google.co.uk/books?id=bZGvwsP1BRwC},
  timestamp = {2016-09-19T14:30:17Z},
  publisher = {{SAGE Publications}},
  author = {Kvale, S. and Brinkmann, S.},
  date = {2009},
  note = {LCCB: 2008003528}
}

@article{cumming_new_2014,
  title = {The {{New Statistics}}: {{Why}} and {{How}}},
  volume = {25},
  issn = {0956-7976, 1467-9280},
  url = {http://pss.sagepub.com/lookup/doi/10.1177/0956797613504966},
  doi = {10.1177/0956797613504966},
  shorttitle = {The {{New Statistics}}},
  timestamp = {2016-10-01T14:21:08Z},
  langid = {english},
  number = {1},
  journaltitle = {Psychological Science},
  author = {Cumming, G.},
  urldate = {2016-10-01},
  date = {2014-01-01},
  pages = {7--29},
  file = {Psychological Science-2013-Cumming-0956797613504966.pdf:/Users/ianuser/Library/Application Support/Zotero/Profiles/7tjkd6jv.default/zotero/storage/SGG97M53/Psychological Science-2013-Cumming-0956797613504966.pdf:application/pdf}
}

@book{costa1985neo,
  title = {The {{NEO}} Personality Inventory: {{Manual}}, Form {{S}} and Form {{R}}},
  timestamp = {2016-11-17T15:22:07Z},
  publisher = {{Psychological Assessment Resources}},
  author = {Costa, Paul T and McCrae, Robert R},
  date = {1985}
}

@book{smith_jonathan_a._interpretative_2009,
  location = {{Los Angeles, Calif; London}},
  title = {Interpretative Phenomenological Analysis: Theory, Method and Research},
  isbn = {978-1-4129-0834-4},
  shorttitle = {Interpretative Phenomenological Analysis},
  abstract = {This title presents a comprehensive guide to interpretative phenomenological analysis (IPA) which is an increasingly popular approach to qualitative inquiry taught to undergraduate and postgraduate students today.},
  pagetotal = {225},
  timestamp = {2016-07-09T18:48:21Z},
  langid = {english},
  publisher = {{SAGE}},
  author = {{Smith, J. A.} and Flowers, Paul and Larkin, Michael},
  date = {2009},
  keywords = {Phenomenological psychology.,Psychology Research.,Research Methodology.}
}

@article{radvansky2011walking,
  title = {Walking through Doorways Causes Forgetting: {{Further}} Explorations},
  volume = {64},
  timestamp = {2016-11-29T15:54:23Z},
  number = {8},
  journaltitle = {The Quarterly Journal of Experimental Psychology},
  author = {Radvansky, Gabriel A and Krawietz, Sabine A and Tamplin, Andrea K},
  date = {2011},
  pages = {1632--1645}
}

@article{radvansky2006walking,
  title = {Walking through Doorways Causes Forgetting: {{Situation}} Models and Experienced Space},
  volume = {34},
  timestamp = {2016-11-29T16:28:02Z},
  number = {5},
  journaltitle = {Memory \& cognition},
  author = {Radvansky, Gabriel A and Copeland, David E},
  date = {2006},
  pages = {1150--1156}
}

repository: OolonColoophid/octavo

repo_name: OolonColoophid/octavo


text:
/*
Copyright 2019 The Seldon Team.

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 v1alpha2

import (
	"crypto/md5"
	"encoding/hex"
	autoscalingv2beta2 "k8s.io/api/autoscaling/v2beta1"
	v1 "k8s.io/api/core/v1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"regexp"
	"strings"
)

const (
	Label_seldon_id  = "seldon-deployment-id"
	Label_seldon_app = "seldon-app"
	Label_svc_orch   = "seldon-deployment-contains-svcorch"

	PODINFO_VOLUME_NAME = "podinfo"
	PODINFO_VOLUME_PATH = "/etc/podinfo"

	ENV_PREDICTIVE_UNIT_SERVICE_PORT = "PREDICTIVE_UNIT_SERVICE_PORT"
	ENV_PREDICTIVE_UNIT_PARAMETERS   = "PREDICTIVE_UNIT_PARAMETERS"
	ENV_PREDICTIVE_UNIT_ID           = "PREDICTIVE_UNIT_ID"
	ENV_PREDICTOR_ID                 = "PREDICTOR_ID"
	ENV_SELDON_DEPLOYMENT_ID         = "SELDON_DEPLOYMENT_ID"

	ANNOTATION_JAVA_OPTS       = "seldon.io/engine-java-opts"
	ANNOTATION_SEPARATE_ENGINE = "seldon.io/engine-separate-pod"
	ANNOTATION_HEADLESS_SVC    = "seldon.io/headless-svc"
)

func hash(text string) string {
	hasher := md5.New()
	hasher.Write([]byte(text))
	return hex.EncodeToString(hasher.Sum(nil))
}

func containerHash(podSpec *SeldonPodSpec) string {
	s := []string{}
	for i := 0; i < len(podSpec.Spec.Containers); i++ {
		c := podSpec.Spec.Containers[i]
		s = append(s, c.Name)
		s = append(s, c.Image)
	}
	key := strings.Join(s, ":") + ";"
	return hash(key)[:7]
}

func createPredictorHash(p *PredictorSpec) string {
	s := []string{}
	for i := 0; i < len(p.ComponentSpecs); i++ {
		s = append(s, containerHash(p.ComponentSpecs[i]))
	}
	key := strings.Join(s, ",") + ","
	return hash(key)[:7]
}

func GetSeldonDeploymentName(mlDep *SeldonDeployment) string {
	name := mlDep.Spec.Name + "-" + mlDep.ObjectMeta.Name
	if len(name) > 63 {
		return "seldon-" + hash(name)
	} else {
		return name
	}
}

func GetExplainerDeploymentName(sdepName string, predictorSpec *PredictorSpec) string {
	name := sdepName + "-" + predictorSpec.Name + "-explainer"
	if len(name) > 63 {
		return "seldon-" + hash(name)
	} else {
		return name
	}
}

func GetDeploymentName(mlDep *SeldonDeployment, predictorSpec PredictorSpec, podSpec *SeldonPodSpec) string {
	if podSpec != nil && len(podSpec.Metadata.Name) != 0 {
		return podSpec.Metadata.Name
	} else {
		name := mlDep.Spec.Name + "-" + predictorSpec.Name
		if podSpec != nil {
			name = name + "-" + containerHash(podSpec)
		}
		if len(name) > 63 {
			return "seldon-" + hash(name)
		} else {
			return name
		}
	}
}

func GetServiceOrchestratorName(mlDep *SeldonDeployment, p *PredictorSpec) string {
	svcOrchName := mlDep.Spec.Name + "-" + p.Name + "-svc-orch" + "-" + createPredictorHash(p)
	if len(svcOrchName) > 63 {
		return "seldon-" + hash(svcOrchName)
	} else {
		return svcOrchName
	}
}

func GetPredictorKey(mlDep *SeldonDeployment, p *PredictorSpec) string {
	pName := mlDep.Name + "-" + mlDep.Spec.Name + "-" + p.Name
	if len(pName) > 63 {
		return "seldon-" + hash(pName)
	} else {
		return pName
	}
}

func GetPredictorServiceNameKey(c *v1.Container) string {
	return Label_seldon_app + "-" + c.Name
}

func GetPredcitiveUnit(pu *PredictiveUnit, name string) *PredictiveUnit {
	if name == pu.Name {
		return pu
	} else {
		for i := 0; i < len(pu.Children); i++ {
			found := GetPredcitiveUnit(&pu.Children[i], name)
			if found != nil {
				return found
			}
		}
		return nil
	}
}

// if engine is not separated then this tells us which pu it should go on, as the mutating webhook handler has set host as localhost on the pu
func GetEnginePredictiveUnit(pu *PredictiveUnit) *PredictiveUnit {
	if pu.Endpoint != nil && pu.Endpoint.ServiceHost == "localhost" {
		return pu
	} else {
		for i := 0; i < len(pu.Children); i++ {
			found := GetEnginePredictiveUnit(&pu.Children[i])
			if found != nil {
				return found
			}
		}
		return nil
	}
}

func GetPredictiveUnitList(p *PredictiveUnit) (list []*PredictiveUnit) {
	list = append(list, p)

	for i := 0; i < len(p.Children); i++ {
		pu := &p.Children[i]
		if pu != nil {
			list = append(list, GetPredictiveUnitList(pu)...)
		}
	}
	return list
}

func cleanContainerName(name string) string {
	var re = regexp.MustCompile("[^-a-z0-9]")
	return re.ReplaceAllString(strings.ToLower(name), "-")
}

func GetContainerServiceName(mlDep *SeldonDeployment, predictorSpec PredictorSpec, c *v1.Container) string {
	containerImageName := cleanContainerName(c.Image)
	svcName := mlDep.Spec.Name + "-" + predictorSpec.Name + "-" + c.Name
	if containerImageName != "" {
		svcName = svcName + "-" + containerImageName
	}
	if len(svcName) > 63 {
		svcName = "seldon" + "-" + containerImageName + "-" + hash(svcName)
		if len(svcName) > 63 {
			return "seldon-" + hash(svcName)
		} else {
			return svcName
		}
	} else {
		return svcName
	}
}

// EDIT THIS FILE!  THIS IS SCAFFOLDING FOR YOU TO OWN!
// NOTE: json tags are required.  Any new fields you add must have json tags for the fields to be serialized.

// SeldonDeploymentSpec defines the desired state of SeldonDeployment
type SeldonDeploymentSpec struct {
	Name        string            `json:"name,omitempty" protobuf:"string,1,opt,name=name"`
	Predictors  []PredictorSpec   `json:"predictors,omitempty" protobuf:"bytes,2,opt,name=name"`
	OauthKey    string            `json:"oauth_key,omitempty" protobuf:"string,3,opt,name=oauth_key"`
	OauthSecret string            `json:"oauth_secret,omitempty" protobuf:"string,4,opt,name=oauth_secret"`
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,5,opt,name=annotations"`
}

type PredictorSpec struct {
	Name            string                  `json:"name,omitempty" protobuf:"string,1,opt,name=name"`
	Graph           *PredictiveUnit         `json:"graph,omitempty" protobuf:"bytes,2,opt,name=predictiveUnit"`
	ComponentSpecs  []*SeldonPodSpec        `json:"componentSpecs,omitempty" protobuf:"bytes,3,opt,name=componentSpecs"`
	Replicas        int32                   `json:"replicas,omitempty" protobuf:"string,4,opt,name=replicas"`
	Annotations     map[string]string       `json:"annotations,omitempty" protobuf:"bytes,5,opt,name=annotations"`
	EngineResources v1.ResourceRequirements `json:"engineResources,omitempty" protobuf:"bytes,6,opt,name=engineResources"`
	Labels          map[string]string       `json:"labels,omitempty" protobuf:"bytes,7,opt,name=labels"`
	SvcOrchSpec     SvcOrchSpec             `json:"svcOrchSpec,omitempty" protobuf:"bytes,8,opt,name=svcOrchSpec"`
	Traffic         int32                   `json:"traffic,omitempty" protobuf:"bytes,9,opt,name=traffic"`
	Explainer       Explainer               `json:"explainer,omitempty" protobuf:"bytes,10,opt,name=explainer"`
}

type SvcOrchSpec struct {
	Resources *v1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"`
	Env       []*v1.EnvVar             `json:"env,omitempty" protobuf:"bytes,2,opt,name=env"`
}

type Explainer struct {
	Type               string            `json:"type,omitempty" protobuf:"string,1,opt,name=type"`
	ModelUri           string            `json:"modelUri,omitempty" protobuf:"string,2,opt,name=modelUri"`
	ServiceAccountName string            `json:"serviceAccountName,omitempty" protobuf:"string,3,opt,name=serviceAccountName"`
	ContainerSpec      v1.Container      `json:"containerSpec,omitempty" protobuf:"bytes,4,opt,name=containerSpec"`
	Config             map[string]string `json:"config,omitempty" protobuf:"bytes,5,opt,name=config"`
	Endpoint           *Endpoint         `json:"endpoint,omitempty" protobuf:"bytes,6,opt,name=endpoint"`
	EnvSecretRefName   string            `json:"envSecretRefName,omitempty" protobuf:"bytes,7,opt,name=envSecretRefName"`
}

type SeldonPodSpec struct {
	Metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec     v1.PodSpec        `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	HpaSpec  *SeldonHpaSpec    `json:"hpaSpec,omitempty" protobuf:"bytes,3,opt,name=hpaSpec"`
}

type SeldonHpaSpec struct {
	MinReplicas *int32                          `json:"minReplicas,omitempty" protobuf:"int,1,opt,name=minReplicas"`
	MaxReplicas int32                           `json:"maxReplicas,omitempty" protobuf:"int,2,opt,name=maxReplicas"`
	Metrics     []autoscalingv2beta2.MetricSpec `json:"metrics,omitempty" protobuf:"bytes,3,opt,name=metrics"`
}

type PredictiveUnitType string

const (
	UNKNOWN_TYPE       PredictiveUnitType = "UNKNOWN_TYPE"
	ROUTER             PredictiveUnitType = "ROUTER"
	COMBINER           PredictiveUnitType = "COMBINER"
	MODEL              PredictiveUnitType = "MODEL"
	TRANSFORMER        PredictiveUnitType = "TRANSFORMER"
	OUTPUT_TRANSFORMER PredictiveUnitType = "OUTPUT_TRANSFORMER"
)

type PredictiveUnitImplementation string

const (
	UNKNOWN_IMPLEMENTATION PredictiveUnitImplementation = "UNKNOWN_IMPLEMENTATION"
	SIMPLE_MODEL           PredictiveUnitImplementation = "SIMPLE_MODEL"
	SIMPLE_ROUTER          PredictiveUnitImplementation = "SIMPLE_ROUTER"
	RANDOM_ABTEST          PredictiveUnitImplementation = "RANDOM_ABTEST"
	AVERAGE_COMBINER       PredictiveUnitImplementation = "AVERAGE_COMBINER"
	SKLEARN_SERVER         PredictiveUnitImplementation = "SKLEARN_SERVER"
	XGBOOST_SERVER         PredictiveUnitImplementation = "XGBOOST_SERVER"
	TENSORFLOW_SERVER      PredictiveUnitImplementation = "TENSORFLOW_SERVER"
	MLFLOW_SERVER          PredictiveUnitImplementation = "MLFLOW_SERVER"
)

type PredictiveUnitMethod string

const (
	TRANSFORM_INPUT  PredictiveUnitMethod = "TRANSFORM_INPUT"
	TRANSFORM_OUTPUT PredictiveUnitMethod = "TRANSFORM_OUTPUT"
	ROUTE            PredictiveUnitMethod = "ROUTE"
	AGGREGATE        PredictiveUnitMethod = "AGGREGATE"
	SEND_FEEDBACK    PredictiveUnitMethod = "SEND_FEEDBACK"
)

type EndpointType string

const (
	REST EndpointType = "REST"
	GRPC EndpointType = "GRPC"
)

type Endpoint struct {
	ServiceHost string       `json:"service_host,omitempty" protobuf:"string,1,opt,name=service_host"`
	ServicePort int32        `json:"service_port,omitempty" protobuf:"int32,2,opt,name=service_port"`
	Type        EndpointType `json:"type,omitempty" protobuf:"int,3,opt,name=type"`
}

type ParmeterType string

const (
	INT    ParmeterType = "INT"
	FLOAT  ParmeterType = "FLOAT"
	DOUBLE ParmeterType = "DOUBLE"
	STRING ParmeterType = "STRING"
	BOOL   ParmeterType = "BOOL"
)

type Parameter struct {
	Name  string       `json:"name,omitempty" protobuf:"string,1,opt,name=name"`
	Value string       `json:"value,omitempty" protobuf:"string,2,opt,name=value"`
	Type  ParmeterType `json:"type,omitempty" protobuf:"int,3,opt,name=type"`
}

type PredictiveUnit struct {
	Name               string                        `json:"name,omitempty" protobuf:"string,1,opt,name=name"`
	Children           []PredictiveUnit              `json:"children,omitempty" protobuf:"bytes,2,opt,name=children"`
	Type               *PredictiveUnitType           `json:"type,omitempty" protobuf:"int,3,opt,name=type"`
	Implementation     *PredictiveUnitImplementation `json:"implementation,omitempty" protobuf:"int,4,opt,name=implementation"`
	Methods            *[]PredictiveUnitMethod       `json:"methods,omitempty" protobuf:"int,5,opt,name=methods"`
	Endpoint           *Endpoint                     `json:"endpoint,omitempty" protobuf:"bytes,6,opt,name=endpoint"`
	Parameters         []Parameter                   `json:"parameters,omitempty" protobuf:"bytes,7,opt,name=parameters"`
	ModelURI           string                        `json:"modelUri,omitempty" protobuf:"bytes,8,opt,name=modelUri"`
	ServiceAccountName string                        `json:"serviceAccountName,omitempty" protobuf:"bytes,9,opt,name=serviceAccountName"`
	EnvSecretRefName   string                        `json:"envSecretRefName,omitempty" protobuf:"bytes,10,opt,name=envSecretRefName"`
}

type DeploymentStatus struct {
	Name              string `json:"name,omitempty" protobuf:"string,1,opt,name=name"`
	Status            string `json:"status,omitempty" protobuf:"string,2,opt,name=status"`
	Description       string `json:"description,omitempty" protobuf:"string,3,opt,name=description"`
	Replicas          int32  `json:"replicas,omitempty" protobuf:"string,4,opt,name=replicas"`
	AvailableReplicas int32  `json:"availableReplicas,omitempty" protobuf:"string,5,opt,name=availableRelicas"`
	ExplainerFor      string `json:"explainerFor,omitempty" protobuf:"string,6,opt,name=explainerFor"`
}

type ServiceStatus struct {
	SvcName      string `json:"svcName,omitempty" protobuf:"string,1,opt,name=svcName"`
	HttpEndpoint string `json:"httpEndpoint,omitempty" protobuf:"string,2,opt,name=httpEndpoint"`
	GrpcEndpoint string `json:"grpcEndpoint,omitempty" protobuf:"string,3,opt,name=grpcEndpoint"`
	ExplainerFor string `json:"explainerFor,omitempty" protobuf:"string,4,opt,name=explainerFor"`
}

// SeldonDeploymentStatus defines the observed state of SeldonDeployment
type SeldonDeploymentStatus struct {
	State            string                      `json:"state,omitempty" protobuf:"string,1,opt,name=state"`
	Description      string                      `json:"description,omitempty" protobuf:"string,2,opt,name=description"`
	DeploymentStatus map[string]DeploymentStatus `json:"deploymentStatus,omitempty" protobuf:"bytes,3,opt,name=deploymentStatus"`
	ServiceStatus    map[string]ServiceStatus    `json:"serviceStatus,omitempty" protobuf:"bytes,4,opt,name=serviceStatus"`
}

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// SeldonDeployment is the Schema for the seldondeployments API
// +k8s:openapi-gen=true
// +kubebuilder:resource:shortName=sdep
// +kubebuilder:subresource:status
type SeldonDeployment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SeldonDeploymentSpec   `json:"spec,omitempty"`
	Status SeldonDeploymentStatus `json:"status,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// SeldonDeploymentList contains a list of SeldonDeployment
type SeldonDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SeldonDeployment `json:"items"`
}

func init() {
	SchemeBuilder.Register(&SeldonDeployment{}, &SeldonDeploymentList{})
}

repository: SeldonIO/seldon-operator

repo_name: SeldonIO/seldon-operator


text:
DESCRIPTION = "Librairie for Led Display"
LICENSE = "MIT"
DEPENDS = "rpi-rgb-led-matrix"

LIC_FILES_CHKSUM = "file://COPYING;md5=477cdc3b2e33028da88b92c481890a29"

SRC_URI = "git://github.com/PandaSB/clock.git;protocol=git"
SRCREV = "master"

PR = "r0"

S="${WORKDIR}/git"

do_compile () {
  make
}

do_install () {
  install -d ${D}/${bindir}
  install -m 0755 ${S}/clock ${D}/${bindir}
}

repository: PandaSB/meta-sbarthelemy

repo_name: PandaSB/meta-sbarthelemy


text:
// Package config configures the changelog generation.
package config

import (
	"errors"
	"fmt"
	"io"
	"io/ioutil"
	"os"
	"path/filepath"
	"sort"

	"gopkg.in/yaml.v3"
)

const (
	// FileName is the configuration file name.
	FileName = ".cc.yml"
)

// common errors
var (
	ErrNotFound = errors.New("not found")
	ErrEmpty    = errors.New("empty config")
)

// Changelog configures the changelog.
type Changelog struct {
	Sections          []Section `yaml:"sections"`
	GithubProjectPath string    `yaml:"github_project_path"`
}

// Section is a section config.
type Section struct {
	Type   string `yaml:"type"`
	Title  string `yaml:"title"`
	Hidden bool   `yaml:"hidden"`
}

// Title creates the title from the header type.
func (c Changelog) Title(headerType string) (title string, ok bool) {
	for _, s := range c.Sections {
		if s.Type == headerType {
			return s.Title, true
		}
	}

	return "", false
}

// IsHidden returns true if section should be hidden in changelog.
func (c Changelog) IsHidden(headerType string) bool {
	for _, s := range c.Sections {
		if s.Type == headerType {
			return s.Hidden
		}
	}

	return true
}

// List returns not hidden section titles.
func (c Changelog) List() []string {
	l := make([]string, 0, len(c.Sections))

	for _, s := range c.Sections {
		if !s.Hidden {
			l = append(l, s.Title)
		}
	}

	sort.Strings(l)

	l = append([]string{"Breaking Changes"}, l...)

	return l
}

// Validate validates configuration.
func (c Changelog) Validate() error {
	for _, s := range c.Sections {
		if err := s.validate(); err != nil {
			return err
		}
	}

	return nil
}

// Load is looking for a configuration file named '.cc.yml' in dir. If found
// it tries to unmarshal it into Changelog.
func Load(dir string) (*Changelog, error) {
	configPath := filepath.Join(dir, FileName)
	if _, err := os.Stat(configPath); os.IsNotExist(err) {
		return nil, ErrNotFound
	}

	r, err := os.Open(configPath) // nolint: gosec
	if err != nil {
		return nil, fmt.Errorf("open to read %s: %w", configPath, err)
	}

	c, err := Read(r)
	if err != nil {
		return nil, fmt.Errorf("failed to load config from %s: %w", configPath, err)
	}

	if len(c.Sections) == 0 {
		return nil, ErrEmpty
	}

	return c, nil
}

// Read unmarshals config.Changelog from a io.Reader.
func Read(r io.Reader) (*Changelog, error) {
	b, err := ioutil.ReadAll(r) // nolint: gosec
	if err != nil {
		return nil, err
	}

	c := Changelog{}

	if err := yaml.Unmarshal(b, &c); err != nil {
		return nil, fmt.Errorf("failed to unmarshal yaml: %w", err)
	}

	return &c, nil
}

// Write writes section configration to <dir>/.cc.yml
func Write(dir string, c Changelog) error {
	p := filepath.Join(dir, FileName)

	b, err := yaml.Marshal(c)
	if err != nil {
		return err
	}

	if err := ioutil.WriteFile(p, b, 0600); err != nil {
		return fmt.Errorf("failed to write file %s: %w", p, err)
	}

	return nil
}

// Default represents the default configuration.
var Default = Changelog{
	Sections: []Section{
		{
			Type:   "build",
			Title:  "Build System",
			Hidden: true,
		},
		{
			Type:   "docs",
			Title:  "Documentation",
			Hidden: true,
		},
		{
			Type:   "feat",
			Title:  "New Features",
			Hidden: false,
		},
		{
			Type:   "fix",
			Title:  "Bug Fixes",
			Hidden: false,
		},
		{
			Type:   "refactor",
			Title:  "Code Refactoring",
			Hidden: true,
		},
		{
			Type:   "test",
			Title:  "Test",
			Hidden: true,
		},
		{
			Type:   "chore",
			Title:  "Tasks",
			Hidden: true,
		},
	},
}

func (s Section) validate() error {
	if s.Title == "" {
		return errors.New("title cannot be empty")
	}

	if s.Type == "" {
		return errors.New("type cannot be empty")
	}

	return nil
}

repository: ghouscht/cc

repo_name: ghouscht/cc


text:
package models

type CreateRequest struct {
	Query  string `json:"query"`
	Limit  string `json:"limit,omitempty"`
	Offset string `json:"start,omitempty"`
}