text:
---
---

@inproceedings{acns2023,
abbr = {ACNS},
  author    = {Luke Harmon and
  Gaetan Delavignette and
  Arnab Roy and
  David Silva},
  title     = {PIE: p-adic Encoding for High-Precision Arithmetic in Homomorphic Encryption},
  booktitle = {ACNS},
  year = {2023},
}

@inproceedings{eurocrypt2021,
abbr = {EUROCRYPT},
  author    = {Elena Andreeva and
  Rishiraj Bhattacharyya and
  Arnab Roy},
  title     = {Compactness of Hashing Modes and Efficiency beyond Merkle Tree},
  booktitle = {Eurocrypt},
  year = {2021},
}
@inproceedings{usenix2021,
abbr = {USENIX},
  author    = {Lorenzo Grassi and
  Dmitry Khovratovich and
  Arnab Roy and
  Christian Rechberger and
  Markus Schofnegger},
  title     = {Poseidon: A New Hash Function for Zero-Knowledge Proof Systems},
  booktitle = {USENIX Security Symposium, USENIX Proceedings},
  year = {2021},
}

@inproceedings{DBLP:conf/asiacrypt/0001LPR0V19,
abbr = {SAC},
  author    = {Arnab Roy and
               Elena Andreeva and
               Ferdinand Sauer},
  title     = {Interpolation Cryptanalysis of UFNs with Low Degree Round Functions},
  booktitle = {Selected Areas in Cryptography - SAC},
  year      = {2020}
}

@inproceedings{DBLP:conf/asiacrypt/0001LPR0V19,
abbr = {ASIACRYPT},
  author    = {Elena Andreeva and
               Virginie Lallemand and
               Antoon Purnal and
               Reza Reyhanitabar and
               Arnab Roy and
               Damian Viz{\'{a}}r},
  editor    = {Steven D. Galbraith and
               Shiho Moriai},
  title     = {Forkcipher: {A} New Primitive for Authenticated Encryption of Very
               Short Messages},
  booktitle = {Advances in Cryptology - {ASIACRYPT} 2019 Proceedings},
  series    = {Lecture Notes in Computer Science},
  year      = {2019},
pdf={https://eprint.iacr.org/2019/1004.pdf}
}

@inproceedings{NIST/LWC19,
abbr = {NIST LWC},
  author    = {Elena Andreeva and
               Virginie Lallemand and
               Antoon Purnal and
               Reza Reyhanitabar and
               Arnab Roy and
               Damian Viz{\'{a}}r},
  editor    = {Steven D. Galbraith and
               Shiho Moriai},
  title     = {ForkAE v.1.0},
  booktitle = {NIST LW Crypto Competition, Currently at Round 2,},
  year      = {2019}
}

@inproceedings{DBLP:conf/ctrsa/GaoRO19,
abbr = {CT-RSA},
  author    = {Si Gao and
               Arnab Roy and
               Elisabeth Oswald},
  editor    = {Mitsuru Matsui},
  title     = {Constructing TI-Friendly Substitution Boxes Using Shift-Invariant
               Permutations},
  booktitle = {Topics in Cryptology - {CT-RSA} 2019,
               Proceedings},
  series    = {Lecture Notes in Computer Science},
  volume    = {11405},
  pages     = {433--452},
  publisher = {Springer},
  year      = {2019},
  timestamp = {Tue, 14 May 2019 10:00:52 +0200},
  biburl    = {https://dblp.org/rec/conf/ctrsa/GaoRO19.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}
@inproceedings{DBLP:conf/esorics/Albrecht0PRRR0S19,
abbr = {ESORICS},
  author    = {Martin R. Albrecht and
               Lorenzo Grassi and
               L{\'{e}}o Perrin and
               Sebastian Ramacher and
               Christian Rechberger and
               Dragos Rotaru and
               Arnab Roy and
               Markus Schofnegger},
  title     = {Feistel Structures for MPC, and More},
  booktitle = {Computer Security - {ESORICS} 2019 - European Symposium on Research
               in Computer Security, Proceedings,
               Part {II}},
  series    = {Lecture Notes in Computer Science},
  year      = {2019},
  timestamp = {Fri, 07 Aug 2020 17:57:31 +0200},
  biburl    = {https://dblp.org/rec/conf/esorics/Albrecht0PRRR0S19.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org},

pdf={https://eprint.iacr.org/2019/397.pdf}
}
@inproceedings{DBLP:conf/cardis/Green0O18,
abbr = {CARDIS},
  author    = {Joey Green and
               Arnab Roy and
               Elisabeth Oswald},
  editor    = {Beg{\"{u}}l Bilgin and
               Jean{-}Bernard Fischer},
  title     = {A Systematic Study of the Impact of Graphical Models on Inference-Based
               Attacks on {AES}},
  booktitle = {Smart Card Research and Advanced Applications, International
               Conference, {CARDIS}},
  series    = {Lecture Notes in Computer Science},
  publisher = {Springer},
  year      = {2018},
  timestamp = {Tue, 18 Jun 2019 17:00:20 +0200},
  biburl    = {https://dblp.org/rec/conf/cardis/Green0O18.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}
@inproceedings{DBLP:conf/asiacrypt/Albrecht0R0T16,
abbr = {ASIACRYPT},
  author    = {Martin R. Albrecht and
               Lorenzo Grassi and
               Christian Rechberger and
               Arnab Roy and
               Tyge Tiessen},
  editor    = {Jung Hee Cheon and
               Tsuyoshi Takagi},
  title     = {MiMC: Efficient Encryption and Cryptographic Hashing with Minimal
               Multiplicative Complexity},
  booktitle = {Advances in Cryptology - {ASIACRYPT} 2016, Proceedings, Part {I}},
  series    = {Lecture Notes in Computer Science},
  volume    = {10031},
  pages     = {191--219},
  year      = {2016},
  timestamp = {Tue, 14 May 2019 10:00:40 +0200},
  biburl    = {https://dblp.org/rec/conf/asiacrypt/Albrecht0R0T16.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org},

 pdf={https://link.springer.com/content/pdf/10.1007%2F978-3-662-53887-6_7.pdf}
}
@inproceedings{DBLP:conf/lightsec/Kolbl016,
abbr = {LightSec},
  author    = {Stefan K{\"{o}}lbl and
               Arnab Roy},
  editor    = {Andrey Bogdanov},
  title     = {A Brief Comparison of Simon and Simeck},
  booktitle = {Lightweight Cryptography for Security and Privacy - 2016, Selected Papers},
  series    = {Lecture Notes in Computer Science},
  volume    = {10098},
  pages     = {69--88},
  publisher = {Springer},
  year      = {2016},
  timestamp = {Tue, 14 May 2019 10:00:42 +0200},
  biburl    = {https://dblp.org/rec/conf/lightsec/Kolbl016.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org},

pdf={https://eprint.iacr.org/2015/706.pdf}
}
@article{DBLP:journals/jce/Coron0V15,
abbr = {J. Cryptogr. Eng.},
  author    = {Jean{-}S{\'{e}}bastien Coron and
               Arnab Roy and
               Srinivas Vivek},
  title     = {Fast evaluation of polynomials over binary finite fields and application
               to side-channel countermeasures},
  journal   = {Journal of Cryptographic Engineering.},
  volume    = {5},
  number    = {2},
  pages     = {73--83},
  year      = {2015},
  timestamp = {Mon, 11 Jan 2021 16:56:31 +0100},
  biburl    = {https://dblp.org/rec/journals/jce/Coron0V15.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}
@inproceedings{DBLP:conf/ches/Coron0V14,
abbr = {CHES},
  author    = {Jean{-}S{\'{e}}bastien Coron and
               Arnab Roy and
               Srinivas Vivek},
  editor    = {Lejla Batina and
               Matthew Robshaw},
  title     = {Fast Evaluation of Polynomials over Binary Finite Fields and Application
               to Side-Channel Countermeasures},
  booktitle = {Cryptographic Hardware and Embedded Systems - {CHES} 2014. Proceedings},
  series    = {Lecture Notes in Computer Science},
  volume    = {8731},
  pages     = {170--187},
  publisher = {Springer},
  year      = {2014},
  timestamp = {Mon, 11 Jan 2021 16:56:31 +0100},
  biburl    = {https://dblp.org/rec/conf/ches/Coron0V14.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org},

pdf={https://eprint.iacr.org/2014/890.pdf}
}
@inproceedings{DBLP:conf/fse/Biryukov0V14,
abbr = {FSE},
  author    = {Alex Biryukov and
               Arnab Roy and
               Vesselin Velichkov},
  editor    = {Carlos Cid and
               Christian Rechberger},
  title     = {Differential Analysis of Block Ciphers {SIMON} and {SPECK}},
  booktitle = {Fast Software Encryption, {FSE}},
  series    = {Lecture Notes in Computer Science},
  volume    = {8540},
  pages     = {546--570},
  publisher = {Springer},
  year      = {2014},
  timestamp = {Sun, 25 Oct 2020 23:06:50 +0100},
  biburl    = {https://dblp.org/rec/conf/fse/Biryukov0V14.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org},

pdf={https://eprint.iacr.org/2014/922.pdf}
}
@inproceedings{DBLP:conf/ches/RoyV13,
abbr = {CHES},
  author    = {Arnab Roy and
               Srinivas Vivek},
  editor    = {Guido Bertoni and
               Jean{-}S{\'{e}}bastien Coron},
  title     = {Analysis and Improvement of the Generic Higher-Order Masking Scheme
               of {FSE} 2012},
  booktitle = {Cryptographic Hardware and Embedded Systems - {CHES}. Proceedings},
  series    = {Lecture Notes in Computer Science},
  volume    = {8086},
  pages     = {417--434},
  publisher = {Springer},
  year      = {2013},
  timestamp = {Mon, 11 Jan 2021 16:56:31 +0100},
  biburl    = {https://dblp.org/rec/conf/ches/RoyV13.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org},

pdf={https://eprint.iacr.org/2013/345.pdf}
}
@inproceedings{DBLP:conf/fse/BhattacharyyaR13,
abbr = {FSE},
  author    = {Rishiraj Bhattacharyya and
               Arnab Roy},
  editor    = {Shiho Moriai},
  title     = {Secure Message Authentication Against Related-Key Attack},
  booktitle = {Fast Software Encryption, {FSE}},
  series    = {Lecture Notes in Computer Science},
  volume    = {8424},
  pages     = {305--324},
  publisher = {Springer},
  year      = {2013},
  timestamp = {Tue, 14 May 2019 10:00:54 +0200},
  biburl    = {https://dblp.org/rec/conf/fse/BhattacharyyaR13.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org},

pdf={https://www.iacr.org/archive/fse2013/84240283/84240283.pdf}

}
@inproceedings{DBLP:conf/ctrsa/LeurentR12,
abbr = {CT-RSA},
  author    = {Ga{\"{e}}tan Leurent and
               Arnab Roy},
  editor    = {Orr Dunkelman},
  title     = {Boomerang Attacks on Hash Function Using Auxiliary Differentials},
  booktitle = {Topics in Cryptology - {CT-RSA} 2012 - The Cryptographers' Track at
               the {RSA} Conference. Proceedings},
  series    = {Lecture Notes in Computer Science},
  volume    = {7178},
  pages     = {215--230},
  publisher = {Springer},
  year      = {2012},
  timestamp = {Sat, 19 Oct 2019 20:25:45 +0200},
  biburl    = {https://dblp.org/rec/conf/ctrsa/LeurentR12.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/sacrypt/BiryukovL012,
abbr = {SAC},
  author    = {Alex Biryukov and
               Ga{\"{e}}tan Leurent and
               Arnab Roy},
  editor    = {Lars R. Knudsen and
               Huapeng Wu},
  title     = {Cryptanalysis of the "Kindle" Cipher},
  booktitle = {Selected Areas in Cryptography, International Conference, {SAC}},
  series    = {Lecture Notes in Computer Science},
  volume    = {7707},
  pages     = {86--103},
  publisher = {Springer},
  year      = {2012},
  timestamp = {Sun, 25 Oct 2020 22:46:42 +0100},
  biburl    = {https://dblp.org/rec/conf/sacrypt/BiryukovL012.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}
@inproceedings{DBLP:conf/fse/BiryukovNR11,
abbr = {FSE},
  author    = {Alex Biryukov and
               Ivica Nikolic and
               Arnab Roy},
  editor    = {Antoine Joux},
  title     = {Boomerang Attacks on {BLAKE-32}},
  booktitle = {Fast Software Encryption, {FSE}},
  series    = {Lecture Notes in Computer Science},
  volume    = {6733},
  pages     = {218--237},
  publisher = {Springer},
  year      = {2011},
  timestamp = {Sun, 25 Oct 2020 23:06:49 +0100},
  biburl    = {https://dblp.org/rec/conf/fse/BiryukovNR11.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

gha_language: HTML


text:
@article{LeClainche2017.bib,
  title={Higher order dynamic mode decomposition},
  author={Le Clainche, Soledad and Vega, Jos{\'e} M},
  journal={SIAM Journal on Applied Dynamical Systems},
  volume={16},
  number={2},
  pages={882--925},
  year={2017},
  publisher={SIAM}
}

license: MIT

repository: PyDMD/PyDMD

license_type: permissive

repo_name: PyDMD/PyDMD

branch_name: refs/heads/master

gha_license_id: MIT

gha_language: Python

extension: bib


text:
SUMMARY = "A simple Go server"
DESCRIPTION = "Recipe created by bitbake-layers"
LICENSE = "MIT"

inherit go

FILESEXTRAPATHS_prepend := "${THISDIR}/go_src:"
export GOARCH="amd64"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

S = "${WORKDIR}"
SRC_URI += " \
  file://server.go \
"

do_compile() {
  ${GO} build -o ${S}/go_server ${S}/server.go
}

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

extension: bb


text:
DESCRIPTION = "Machine vision demo descriptions for Matrix v2"
HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"

require recipes-core/matrix/matrix-gui-apps-git.inc

PR = "${INC_PR}.4"

PACKAGE_ARCH = "${MACHINE_ARCH}"

S = "${WORKDIR}/git/machinevision_apps"

# Make sure machinevision submenu and app images has been installed
MACHINEVISION_RDEPENDS += "matrix-gui-apps-images matrix-gui-submenus-machinevision"

FILES_${PN} += "${MATRIX_BASE_DIR}/*"

PACKAGES = "matrix-machinevision-demo-dlp3dscanner \
            matrix-machinevision-demo-barcoderoi \
            matrix-machinevision-demo-barcoderoi-f2f \
            matrix-machinevision-demo-simplepeopletracking \
"

RDEPENDS_matrix-machinevision-demo-dlp3dscanner = " \
    ${MACHINEVISION_RDEPENDS} \
"

RDEPENDS_matrix-machinevision-demo-dlp3dscanner_append_dra7xx = " \
    ${@bb.utils.contains('MACHINE_FEATURES','gpu','point-cloud-viewer','',d)} \
"

RDEPENDS_matrix-machinevision-demo-barcoderoi = " \
    ${MACHINEVISION_RDEPENDS} \
    barcode-roi \
"

RDEPENDS_matrix-machinevision-demo-barcoderoi-f2f = " \
    ${MACHINEVISION_RDEPENDS} \
    barcode-roi \
"

RDEPENDS_matrix-machinevision-demo-simplepeopletracking = " \
    ${MACHINEVISION_RDEPENDS} \
"

FILES_matrix-machinevision-demo-dlp3dscanner    = "${MATRIX_APP_DIR}/machinevision_dlp_3d_scanner/*"
FILES_matrix-machinevision-demo-dlp3dscanner   += "${bindir}/runDlp3DScanner.sh"

FILES_matrix-machinevision-demo-barcoderoi    = "${MATRIX_APP_DIR}/machinevision_barcode_roi/*"
FILES_matrix-machinevision-demo-barcoderoi   += "${bindir}/runBarcodeRoi.sh"
FILES_matrix-machinevision-demo-barcoderoi-f2f = "${MATRIX_APP_DIR}/machinevision_barcode_roi_f2f/*"
FILES_matrix-machinevision-demo-barcoderoi-f2f += "${bindir}/runBarcodeRoiSave2File.sh"

FILES_matrix-machinevision-demo-simplepeopletracking   = "${MATRIX_APP_DIR}/machinevision_simple_people_tracking/*"
FILES_matrix-machinevision-demo-simplepeopletracking   += "${bindir}/runSimplePeopleTracking.sh"


text:
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR i386)
set(CMAKE_SYSTEM_VERSION gnu)

set(CMAKE_C_COMPILER gcc)
set(CMAKE_C_COMPILER_ARG1 "-m32")
set(CMAKE_CXX_COMPILER g++)

set(BEECTL_HOST i386-pc-linux-gnu)

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_FIND_ROOT_PATH_MODE_PACKAGE ONLY)

repository: rosmanov/bee-host

repo_name: rosmanov/bee-host

gha_language: C

extension: cmake


text:
DESCRIPTION = "Kernel module for the Intel FPGA PLL IP."
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=801f80980d171dd6425610833a22dbe6"

inherit module

PV = "1.0+gitr${SRCPV}"

SRCREV = "a79a6430f44ec22ffafa0a4619facf276090782b"
SRC_URI = "\
	git://github.com/tes-gfx/intel-fpga-pll.git;protocol=https;branch=4.14.130-ltsi \
"

S = "${WORKDIR}/git"

KERNEL_MODULE_AUTOLOAD += "intel-pll"

repository: c-thaler/meta-tes

repo_name: c-thaler/meta-tes


text:
@ONLINE{Lobelle:2013:Online,
	author = {Lobelle, Marc},
	title = {Foditic Website: SORTES Course},
	year = {2013},
	url = {http://foditic.org/SORTES_13/}
}

repository: KULeuven-CS/SORTES

repo_name: KULeuven-CS/SORTES

gha_language: TeX


text:
SUMMARY = "Intel DBus Interfaces"
DESCRIPTION = "Generated bindings, using sdbus++, for the Intel YAML"
PR = "r1"
PV = "1.0+git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

S = "${WORKDIR}/git"

inherit autotools pkgconfig
inherit python3native
inherit phosphor-dbus-yaml

DEPENDS += "autoconf-archive-native"
DEPENDS += "${PYTHON_PN}-sdbus++-native"

SRC_URI = "git://github.com/openbmc/intel-dbus-interfaces"
SRCREV = "b5f2dd444c5d3808d005452417e4ae2ea28624ff"

PACKAGECONFIG ??= "libintel_dbus"
PACKAGECONFIG[libintel_dbus] = " \
        --enable-libintel_dbus, \
        --disable-libintel_dbus, \
        systemd sdbusplus, \
        libsystemd \
        "

PACKAGECONFIG_remove_class-native = "libintel_dbus"
PACKAGECONFIG_remove_class-nativesdk = "libintel_dbus"

BBCLASSEXTEND += "native nativesdk"

repository: ampere-openbmc/openbmc

repo_name: ampere-openbmc/openbmc

gha_license_id: NOASSERTION


text:
SUMMARY = "C++ bindings for the glib library"
HOMEPAGE = "http://www.gtkmm.org/"
SECTION = "libs"
LICENSE = "LGPL-2.1-only & GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=42dfffebc56fec7527aac53b7a89d1d8 \
                    file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"

DEPENDS = "mm-common glib-2.0 libsigc++-2.0 glib-2.0-native"

GNOMEBASEBUILDCLASS = "meson"

inherit gnomebase

SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"

SRC_URI[archive.sha256sum] = "b2a4cd7b9ae987794cbb5a1becc10cecb65182b9bb841868625d6bbb123edb1d"

FILES:${PN} = "${libdir}/lib*.so.*"
FILES:${PN}-dev += "${datadir}/glibmm-* ${libdir}/glibmm-2.4/include/ ${libdir}/glibmm-2.4/proc/ ${libdir}/giomm-2.4/include/"

RDEPENDS:${PN}-dev = "perl"

EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross -Dmaintainer-mode=false"

do_write_config:append() {
    cat >${WORKDIR}/meson-${PN}.cross <<EOF
[binaries]
m4 = '${bindir}/m4'
perl = '${bindir}/perl'
EOF
}

repository: openembedded/meta-openembedded

repo_name: openembedded/meta-openembedded

gha_language: BitBake


text:
SUMMARY = "Debian's start-stop-daemon utility extracted from the dpkg \
package"
LICENSE = "PD"
LIC_FILES_CHKSUM = "file://utils/start-stop-daemon.c;endline=21;md5=8fbd0497a7d0b01e99820bffcb58e9ad"
DEPENDS = "zlib bzip2 perl ncurses"
# start-stop-daemon is usually shipped by dpkg
RCONFLICTS_${PN} = "dpkg"

SRC_URI = " \
    ${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz \
    file://0001-dpkg-start-stop-daemon-Accept-SIG-prefixed-signal-na.patch \
    file://noman.patch \
    file://remove-tar-no-timestamp.patch \
    file://arch_pm.patch \
    file://add_armeb_triplet_entry.patch \
    file://0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch \
    file://0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch \
    file://0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch \
    file://0005-dpkg-compiler.m4-remove-Wvla.patch \
    file://0006-add-musleabi-to-known-target-tripets.patch \
    file://0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch \
    file://0001-dpkg-Support-muslx32-build.patch \
"
SRC_URI[md5sum] = "e463f58b04acb23659df23d2a7a05cff"
SRC_URI[sha256sum] = "c49c371953aea03f543814dcae37c069e86069333fb2e24e9252e76647663492"

inherit autotools gettext perlnative pkgconfig perl-version

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

EXTRA_OECONF = "\
                --disable-dselect \
                --enable-start-stop-daemon \
                --with-libz \
                --with-libbz2 \
                --without-libselinux \
                "

PACKAGECONFIG = "liblzma"
PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz"

export PERL = "${bindir}/perl"
export PERL_LIBDIR = "${libdir}/perl/${@get_perl_version(d)}"
EXTRA_OECONF += "TAR=tar"

EXTRA_OECONF_append_class-target = " DEB_HOST_ARCH=${DPKG_ARCH}"

DPKG_ARCH ??= "${@deb_arch_map(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'))}"

def deb_arch_map(arch, tune):
    tune_features = tune.split()
    if arch == "allarch":
        return "all"
    if arch in ["i586", "i686"]:
        return "i386"
    if arch == "x86_64":
        if "mx32" in tune_features:
            return "x32"
        return "amd64"
    if arch.startswith("mips"):
        endian = ["el", ""]["bigendian" in tune_features]
        if "n64" in tune_features:
            return "mips64" + endian
        if "n32" in tune_features:
            return "mipsn32" + endian
        return "mips" + endian
    if arch == "powerpc":
        return arch + ["", "spe"]["spe" in tune_features]
    if arch == "aarch64":
        return "arm64"
    if arch == "arm":
        return arch + ["el", "hf"]["callconvention-hard" in tune_features]
    return arch

do_install_append () {
    # remove everything that is not related to start-stop-daemon, since there
    # is no explicit rule for only installing ssd
    find ${D} -type f -not -name "*start-stop-daemon*" -exec rm {} \;
    find ${D} -depth -type d -empty -exec rmdir {} \;

    # support for buggy init.d scripts that refer to an alternative
    # explicit path to start-stop-daemon
    if [ "${base_sbindir}" != "${sbindir}" ]; then
        mkdir -p ${D}${base_sbindir}
        ln -sf ${sbindir}/start-stop-daemon ${D}${base_sbindir}/start-stop-daemon
    fi
}

repository: eigendude/meta-openembedded

repo_name: eigendude/meta-openembedded

branch_name: refs/heads/warrior


text:
package vector

import (
	logging "github.com/openshift/cluster-logging-operator/pkg/apis/logging/v1"
	. "github.com/openshift/cluster-logging-operator/pkg/generator"
	corev1 "k8s.io/api/core/v1"
)

//nolint:govet // using declarative style
func Conf(clspec *logging.ClusterLoggingSpec, secrets map[string]*corev1.Secret, clfspec *logging.ClusterLogForwarderSpec, op Options) []Section {
	return []Section{
		{
			Sources(clfspec, op),
			"Set of all input sources",
		},
	}
}

repository: sradco/cluster-logging-operator

repo_name: sradco/cluster-logging-operator

extension: go


text:
require bug-app.inc

DESCRIPTION = "Converts latitude and longitude values to nearest zip codes."
HOMEPAGE = "http://buglabs.net/applications/LatLonConverter"

DEPENDS += "com.buglabs.common "

PV = "1"

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

APIVERSION = ""

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
set(_compiler_id_pp_test "defined(__clang__) && defined(__INTEL_CLANG_COMPILER)")

include("${CMAKE_CURRENT_LIST_DIR}/Clang-DetermineCompilerInternal.cmake")

string(APPEND _compiler_id_version_compute "
# define @PREFIX@COMPILER_VERSION_TWEAK @MACRO_DEC@(__INTEL_CLANG_COMPILER)")

repository: havogt/cmake

repo_name: havogt/cmake


text:
@ARTICLE{un1,
  AUTHOR	    = {John AAA},
  YEAR		    = {1994},
}
% Always good to have a repeated labelname entry as this is often an edge case
@ARTICLE{un1a,
  AUTHOR	    = {John AAA},
  YEAR		    = {1999},
}

@ARTICLE{un2,
  AUTHOR	    = {J. AAA},
  YEAR		    = {1999},
}

% Per-namelist uniquename
@ARTICLE{un3,
  AUTHOR	    = {uniquename=false and K. AAA},
  YEAR		    = {1939},
}

@ARTICLE{un4,
  AUTHOR	    = {Edward AAA},
  YEAR		    = {1934},
}

@ARTICLE{un4a,
  OPTIONS     = {uniquename=false},
  AUTHOR	    = {Edward AAA},
  YEAR		    = {1934},
}

@ARTICLE{un5,
  AUTHOR	    = {Jane AAA},
  YEAR		    = {1983},
}

% uniquelist not set because it's not ambiguous with un1 with max/minnames=1 because
% un1 is "AAA" and un6 is "AAA et al".
@ARTICLE{un6,
  AUTHOR	    = {John AAA and Mike BBB},
  YEAR		    = {1921},
}

@ARTICLE{un7,
  SHORTAUTHOR = {Chaps},
  AUTHOR	    = {John AAA and Mike BBB},
  YEAR		    = {1921},
}

% test2 should have un=0 because minnames makes Brian Jones invisible
@BOOK{test1,
  AUTHOR = {Paul Smith and Brian Jones and Peter Brown},
  YEAR = {1900}
}

% Per-name uniquename
@BOOK{test2,
  AUTHOR = {uniquename=false, given={Henry}, family={Jones}},
  YEAR = {1903}
}

@MISC{test3,
  AUTHOR	  = {John Blether and John Doe},
  DATE		  = {2011}
}

@MISC{test4,
  AUTHOR	  = {John Blether and Jane Doe},
  DATE		  = {2011}
}

@MISC{test5,
  AUTHOR	  = {John Blether and Edward Doe},
  DATE		  = {2011}
}

% Testing repeated entries for un=1
@MISC{unt1,
  AUTHOR	  = {Jeremy Alton and Alan Rattle},
  TITLE		  = {Title},
  DATE		  = {2011}
}

@MISC{unt2,
  AUTHOR	  = {Jeremy Alton and Andrew Rattle},
  TITLE		  = {Title},
  DATE		  = {2011}
}

@MISC{unt3,
  AUTHOR	  = {Jeremy Alton and Edward Rattle},
  TITLE		  = {Title},
  DATE		  = {2011}
}

@MISC{unt4,
  AUTHOR	  = {Meredith Williams},
  TITLE		  = {Title},
  DATE		  = {2011}
}

@MISC{unt5,
  AUTHOR	  = {Michael Williams},
  TITLE		  = {Title},
  DATE		  = {2011}
}

% Testing repeated entries for un=2
@MISC{untf1,
  AUTHOR	  = {Simon Monocle and Walter Ripple},
  TITLE		  = {Title},
  DATE		  = {2011}
}

@MISC{untf2,
  AUTHOR	  = {Simon Monocle and Walter Ripple},
  TITLE		  = {Title},
  DATE		  = {2011}
}

@MISC{untf3,
  AUTHOR	  = {Simon Monocle and William Ripple},
  TITLE		  = {Title},
  DATE		  = {2011}
}

% Testing prefices/suffices
@MISC{sp1,
  AUTHOR      = {Greaves, Jr., Percy L.},
  TITLE       = {Title},
  DATE		    = {2011}
}

@MISC{sp2,
  AUTHOR      = {Greaves, Jr., Percy L.},
  TITLE       = {Title2},
  DATE		    = {2012}
}

@MISC{sp3,
  AUTHOR      = {von Greaves, Jr., Percy L.},
  TITLE       = {Title1},
  DATE		    = {2012}
}

@MISC{sp4,
  AUTHOR      = {von Greaves, Jr., Percy L.},
  TITLE       = {Title2},
  DATE		    = {2012}
}

% This counts as the same as sp1 and sp2 because of the useprefix=false
@MISC{sp5,
  OPTIONS     = {useprefix=false},
  AUTHOR      = {von Greaves, Jr., Percy L.},
  TITLE       = {Title2},
  DATE		    = {2012}
}

@MISC{sp6,
  AUTHOR      = {von Mises, Jr., Percy L.},
  TITLE       = {Title1},
  DATE		    = {2010}
}

@MISC{sp7,
  AUTHOR      = {von Mises, Jr., Paul L.},
  TITLE       = {Title1},
  DATE		    = {2010}
}

@MISC{sp8,
  AUTHOR      = {Ralley, Percy L.},
  TITLE       = {Title1},
  DATE		    = {2010}
}

@MISC{sp9,
  AUTHOR      = {Ralley, Jr., Percy L.},
  TITLE       = {Title1},
  DATE		    = {2010}
}

repository: FlamingTempura/bibtex-tidy

repo_name: FlamingTempura/bibtex-tidy


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

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

@article{Amira;TORRES2018,
abstract = {Ebola virus is one of the most virulent pathogens for humans. We present a mathematical description of different Susceptible-Exposed-Infectious-Recovered (SEIR) models. By using mathematical modeling and analysis, the latest major outbreak of Ebola virus in West Africa is described. Our aim is to study and discuss the properties of SEIR models with respect to Ebola virus, the information they provide, and when the models make sense. We added to the basic SEIR model demographic effects in order to analyze the equilibria with vital dynamics. Numerical simulations confirm the theoretical analysis. The control of the propagation of the virus through vaccination is investigated and the case study of Liberia is discussed in detail.},
archivePrefix = {arXiv},
arxivId = {1705.01079},
author = {{Amira; TORRES}, RACHAH},
doi = {10.1501/commua1_0000000841},
eprint = {1705.01079},
file = {:Users/sepmein/Qsync/Papers/Amira TORRES{\_}2018{\_}Analysis, simulation and optimal control of a seir model for ebola virus with demographic effects.pdf:pdf},
issn = {1303-5991},
journal = {Communications Faculty Of Science University of Ankara Series A1Mathematics and Statistics},
number = {1},
pages = {179--197},
title = {{Analysis, simulation and optimal control of a seir model for ebola virus with demographic effects}},
volume = {67},
year = {2018}
}

license: Unlicense

repository: sepmein/references

repo_name: sepmein/references


text:
package aws

import (
	"github.com/infracost/infracost/internal/resources/aws"
	"github.com/infracost/infracost/internal/schema"
)

func getEC2ClientVPNEndpointRegistryItem() *schema.RegistryItem {
	return &schema.RegistryItem{
		Name:  "aws_ec2_client_vpn_endpoint",
		RFunc: NewEc2ClientVpnEndpoint,
	}
}
func NewEc2ClientVpnEndpoint(d *schema.ResourceData, u *schema.UsageData) *schema.Resource {
	r := &aws.EC2ClientVPNEndpoint{
		Address: d.Address,
		Region:  d.Get("region").String(),
	}

	r.PopulateUsage(u)
	return r.BuildResource()
}

repository: aliscott/infracost

repo_name: aliscott/infracost

gha_language: Go


text:
@article{bidzh17,
  title = {Out-of-equilibrium dynamics in a quantum impurity model: Numerics for particle transport and entanglement entropy},
  author = {Bidzhiev, Kemal and Misguich, Gr\'egoire},
  journal = {Phys. Rev. B},
  volume = {96},
  issue = {19},
  pages = {195117},
  numpages = {12},
  year = {2017},
  month = {Nov},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevB.96.195117},
  url = {https://link.aps.org/doi/10.1103/PhysRevB.96.195117}
}

@article{paeckel19,
title = {Time-evolution methods for matrix-product states},
journal = {Annals of Physics},
volume = {411},
pages = {167998},
year = {2019},
issn = {0003-4916},
doi = {https://doi.org/10.1016/j.aop.2019.167998},
url = {http://www.sciencedirect.com/science/article/pii/S0003491619302532},
author = {Sebastian Paeckel and Thomas Koehler and Andreas Swoboda and Salvatore R. Manmana and Ulrich Schollwoeck and Claudius Hubig},
}

@article{1367-2630-12-2-025005,
	author = {S R Clark and J Prior and M J Hartmann and D Jaksch and M B Plenio},
	title = {Exact matrix product solutions in the Heisenberg picture of an open quantum spin chain},
	journal = {New Journal of Physics},
	volume = {12},
	number = {2},
	pages = {025005},
	year = {2010},
}

@article{1705.05578,
	title = {Matrix product state techniques for two-dimensional systems at finite temperature},
	author = {Benedikt Bruognolo and Zhenyue Zhu and Steven R. White and E. Miles Stoudenmire},
	year = {2017},
	eprint = {1705.05578},
	owner = {Swoboda.Andreas},
	timestamp = {2018.09.22}
}

@article{Chen:2016qpx,
	author = {Chen, Xiao and Zhou, Tianci and Huse, David A. and Fradkin, Eduardo},
	title = {Out-of-time-order correlations in many-body localized and thermal phases},
	journal = {Annalen Phys.},
	volume = {529},
	year = {2017},
	number = {7},
	pages = {1600332},
	doi = {10.1002/andp.201600332},
	eprint = {arXiv:1610.00220},
}

@article{DMRG_Heisenbergpicture,
	title = {Density Matrix Renormalization Group in the Heisenberg Picture},
	author = {Hartmann, Michael J. and Prior, Javier  and Clark, Stephen R. and Plenio, Martin B.},
	journal = {Phys. Rev. Lett.},
	volume = {102},
	number = {5},
	pages = {057202},
	numpages = {4},
	year = {2009},
	month = {Feb},
	doi = {10.1103/PhysRevLett.102.057202},
	publisher = {American Physical Society}
}

@article{FeigWhite05:Finite_temp_DMRG_u_enlarged_HS,
	title = {Finite-temperature density matrix renormalization using an enlarged Hilbert space},
	author = {Feiguin, Adrian E. and White, Steven R.},
	journal = {Phys. Rev. B},
	volume = {72},
	issue = {22},
	pages = {220401},
	numpages = {4},
	year = {2005},
	month = {Dec},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.72.220401}
}

@article{Hochbruck1997,
	title = {On Krylov Subspace Approximations to the Matrix Exponential Operator},
	author = {Marlis Hochbruck and Christian Lubich},
	journal = {SIAM} Journal on Numerical Analysis},
	year = {1997},
	month = {oct},
	number = {5},
	pages = {1911--1925},
	volume = {34},
	doi = {10.1137/s0036142995280572},
	owner = {Swoboda.Andreas},
	publisher = {Society for Industrial & Applied Mathematics (SIAM)},
}

@article{Jeckelmann_review_dynamics,
	title = {Density-Matrix Renormalization Group Methods for Momentum- and Frequency-Resolved Dynamical Correlation Functions},
	author = {Eric Jeckelmann},
	journal = {Progress of Theoretical Physics Supplement},
	volume = {176},
	number = {},
	pages = {143-164},
	numpages = {21},
	year = {2008},
	doi = {10.1143/PTPS.176.143},
	publisher = {Progress of Theoretical Physics}
}

@article{Keyserlingk18:otocs,
	title = {Operator Hydrodynamics, OTOCs, and Entanglement Growth in Systems without Conservation Laws},
	author = {von Keyserlingk, C. W. and Rakovszky, Tibor and Pollmann, Frank and Sondhi, S. L.},
	journal = {Phys. Rev. X},
	volume = {8},
	issue = {2},
	pages = {021013},
	numpages = {19},
	year = {2018},
	month = {Apr},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevX.8.021013}
}

@misc{Manin,
	title = {Computable and uncomputable (in Russian); Moscow, Sovetskoye Radio 1980. See appendix of arXiv:quant-ph/9903008 for an english translation.},
	author = {Yuri I. Manin},
	journal = {Moscow, Sovetskoye Radio; see appendix of arXiv:quant-ph/9903008 for an english translation.},
	optyear = {1980}
}

@article{Rakovszky18:otocs,
	title = {Diffusive Hydrodynamics of Out-of-Time-Ordered Correlators with Charge Conservation},
	author = {Rakovszky, Tibor and Pollmann, Frank and von Keyserlingk, C. W.},
	journal = {Phys. Rev. X},
	volume = {8},
	issue = {3},
	pages = {031058},
	numpages = {28},
	year = {2018},
	month = {Sep},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevX.8.031058}
}

@article{Stoudenmire:2013eq,
	author = {Stoudenmire, E M and White, Steven R},
	title = {Real-space parallel density matrix renormalization group},
	journal = {Phys. Rev. B},
	year = {2013},
	volume = {87},
	number = {15},
	pages = {155137},
	month = apr
}

@article{Tiegel2014,
	title = {Matrix product state formulation of frequency-space dynamics at finite temperatures},
	author = {Tiegel, Alexander C. and Manmana, Salvatore R. and Pruschke, Thomas and Honecker, Andreas},
	journal = {Phys. Rev. B},
	volume = {90},
	issue = {6},
	pages = {060406},
	numpages = {5},
	year = {2014},
	month = {Aug},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.90.060406}
}

@article{andergassen,
	author = {Iztok Pizorn and Viktor Eisler and Sabine Andergassen and Matthias Troyer},
	title = {Real time evolution at finite temperatures with operator space matrix product states},
	journal = {New Journal of Physics},
	volume = {16},
	number = {7},
	pages = {073007},
	url = {http://stacks.iop.org/1367-2630/16/i=7/a=073007},
	year = {2014},
}

@article{anders:196801,
	author = {Frithjof B. Anders and Avraham Schiller},
	title = {Real-Time Dynamics in Quantum-Impurity Systems: A Time-Dependent Numerical Renormalization-Group Approach},
	publisher = {APS},
	year = {2005},
	journal = {Phys. Rev. Lett.},
	volume = {95},
	number = {19},
	eid = {196801},
	numpages = {4},
	pages = {196801},
}

@article{barnett87:_liouv,
	author = {S M Barnett and B J Dalton},
	title = {Liouville space description of thermofields and their generalisations},
	journal = {Journal of Physics A: Mathematical and General},
	volume = {20},
	number = {2},
	pages = {411},
	doi = {10.1088/0305-4470/20/2/026},
	year = {1987},
}

@book{barrett94:_templ_solut_linear_system,
	author = {Barrett, R. and Berry, M. and Chan, T. and Demmel, J. and Donato, J. and Dongarra, J. and Eijkhout, V. and Pozo, R. and Romine, C. and van der Vorst, H.},
	title = {Templates for the Solution of Linear Systems: Building Blocks for Iterative Methods},
	publisher = {Society for Industrial and Applied Mathematics},
	year = {1994},
	doi = {10.1137/1.9781611971538},
}

@article{barthel09:_spect,
	title = {Spectral functions in one-dimensional quantum systems at finite temperature using the density matrix renormalization group},
	author = {Barthel, Thomas and Schollwoeck, Ulrich and White, Steven R.},
	journal = {Phys. Rev. B},
	volume = {79},
	issue = {24},
	pages = {245101},
	numpages = {6},
	year = {2009},
	month = {Jun},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.79.245101}
}

@article{barthel13:_precis,
	author = {Thomas Barthel},
	title = {Precise evaluation of thermal response functions by optimized density matrix renormalization group schemes},
	journal = {New Journal of Physics},
	volume = {15},
	number = {7},
	pages = {073010},
	year = {2013},
	doi = {10.1088/1367-2630/15/7/073010}
}

@article{barthel16:_matrix,
	title = {Matrix product purifications for canonical ensembles and quantum number distributions},
	author = {Barthel, Thomas},
	journal = {Phys. Rev. B},
	year = {2016},
	month = {Sep},
	pages = {115157},
	volume = {94},
	doi = {10.1103/PhysRevB.94.115157},
	issue = {11},
	numpages = {9},
	publisher = {American Physical Society}
}

@article{barthel17:_one,
	author = {Barthel}, Thomas},
	title = {One-dimensional quantum systems at finite temperatures can be simulated efficiently on classical computers},
	year = 2017,
	month = Aug,
	eprint = {arXiv:1708.09349}
}

@article{barthel19:_optim_lie_trott_suzuk,
	author = {Barthel, Thomas and Zhang, Yikang},
	title = {Optimized Lie-Trotter-Suzuki decompositions for two and three non-commuting terms},
	year = 2019,
	month = Jan,
	eprint = {arXiv:1901.04974},
}

@article{bauernfeind17:_fork_tensor_produc_states,
	title = {Fork Tensor-Product States: Efficient Multiorbital Real-Time DMFT Solver},
	author = {Bauernfeind, Daniel and Zingl, Manuel and Triebl, Robert and Aichhorn, Markus and Evertz, Hans Gerd},
	journal = {Phys. Rev. X},
	year = {2017},
	month = {Jul},
	pages = {031013},
	volume = {7},
	doi = {10.1103/PhysRevX.7.031013},
	issue = {3},
	numpages = {15},
	publisher = {American Physical Society}
}

@article{benthien:256401,
	author = {Holger Benthien and Florian Gebhard and Eric Jeckelmann},
	title = {Spectral Function of the One-Dimensional Hubbard Model away from Half Filling},
	publisher = {APS},
	year = {2004},
	journal = {Phys. Rev. Lett.},
	volume = {92},
	number = {25},
	eid = {256401},
	numpages = {4},
	pages = {256401},
}

@article{bera17:_spinon_heisen,
	title = {Spinon confinement in a quasi-one-dimensional anisotropic Heisenberg magnet},
	author = {Bera, A. K. and Lake, B. and Essler, F. H. L. and Vanderstraeten, L. and Hubig, C. and Schollwoeck, U. and Islam, A. T. M. N. and Schneidewind, A. and Quintero-Castro, D. L.},
	journal = {Phys. Rev. B},
	volume = {96},
	issue = {5},
	pages = {054423},
	numpages = {16},
	year = {2017},
	month = {Aug},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.96.054423}
}

@article{binder15:_minim,
	title = {Minimally entangled typical thermal states versus matrix product purifications for the simulation of equilibrium states and time evolution},
	author = {Binder, Moritz and Barthel, Thomas},
	journal = {Phys. Rev. B},
	volume = {92},
	issue = {12},
	pages = {125119},
	numpages = {15},
	year = {2015},
	month = Sep,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.92.125119}
}

@article{binder18:_infin,
	title = {Infinite boundary conditions for response functions and limit cycles within the infinite-system density matrix renormalization group approach demonstrated for bilinear-biquadratic spin-1 chains},
	author = {Binder, Moritz and Barthel, Thomas},
	journal = {Phys. Rev. B},
	volume = {98},
	issue = {23},
	pages = {235114},
	numpages = {11},
	year = {2018},
	month = {Dec},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.98.235114},
	url = {https://link.aps.org/doi/10.1103/PhysRevB.98.235114}
}

@article{bohrdt17:_scram,
	author = {A Bohrdt and C B Mendl and M Endres and M Knap},
	title = {Scrambling and thermalization in a diffusive quantum many-body system},
	journal = {New Journal of Physics},
	volume = {19},
	number = {6},
	pages = {063001},
	doi = {10.1088/1367-2630/aa719b},
	year = {2017}
}

@article{brockt15:_matrix,
	title = {Matrix-product-state method with a dynamical local basis optimization for bosonic systems out of equilibrium},
	author = {Brockt, C. and Dorfner, F. and Vidmar, L. and Heidrich-Meisner, F. and Jeckelmann, E.},
	journal = {Phys. Rev. B},
	volume = {92},
	issue = {24},
	pages = {241106},
	numpages = {5},
	year = {2015},
	month = Dec,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.92.241106}
}

@article{cazalilla:256403,
	author = {M. A. Cazalilla and J. B. Marston},
	title = {Time-Dependent Density-Matrix Renormalization Group: A Systematic Method for the Study of Quantum Many-Body Out-of-Equilibrium Systems},
	publisher = {APS},
	year = {2002},
	journal = {Phys. Rev. Lett.},
	volume = {88},
	number = {25},
	eid = {256403},
	numpages = {4},
	pages = {256403},
}

@article{crosswhite08:_apply,
	title = {Applying matrix product operators to model systems with long-range interactions},
	author = {Crosswhite, Gregory M. and Doherty, A. C. and Vidal, Guifre},
	journal = {Phys. Rev. B},
	volume = {78},
	issue = {3},
	pages = {035116},
	numpages = {7},
	year = {2008},
	month = Jul,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.78.035116}
}

@article{crosswhite08:_finit,
	title = {Finite automata for caching in matrix product algorithms},
	author = {Crosswhite, Gregory M. and Bacon, Dave},
	journal = {Phys. Rev. A},
	volume = {78},
	issue = {1},
	pages = {012356},
	numpages = {13},
	year = {2008},
	month = Jul,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevA.78.012356}
}

@article{daley04:_time_hilber,
	title = {Time-dependent density-matrix renormalization-group using adaptive effective Hilbert spaces},
	author = {A J Daley and C Kollath and U Schollwoeck and G Vidal},
	journal = {J. Stat. Mech.},
	year = {2004},
	number = {04},
	pages = {P04005},
	volume = {2004},
	doi = {10.1088/1742-5468/2004/04/P04005}
}

@article{dargel12:_lancz,
	title = {Lanczos algorithm with matrix product states for dynamical correlation functions},
	author = {Dargel, P. E. and Woellert, A. and Honecker, A. and McCulloch, I. P. and Schollwoeck, U. and Pruschke, T.},
	journal = {Phys. Rev. B},
	year = {2012},
	month = May,
	pages = {205119},
	volume = {85},
	doi = {10.1103/PhysRevB.85.205119},
	issue = {20},
	numpages = {11},
	publisher = {American Physical Society}
}

@article{dissipative_tDMRG_quantumtrajectories,
	title = {Nonequilibrium dynamics of bosonic atoms in optical lattices: Decoherence of many-body states due to spontaneous emission},
	author = {Pichler, H. and Daley, A. J. and Zoller, P.},
	journal = {Phys. Rev. A},
	volume = {82},
	issue = {6},
	pages = {063605},
	numpages = {15},
	year = {2010},
	month = {Dec},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevA.82.063605}
}

@book{dmrgbook,
	editor = {Ingo Peschel and Xiaoqun Wang and Matthias Kaulke and Karen Hallberg},
	title = {Density Matrix Renormalization - A New Numerical Method in Physics},
	publisher = {Springer Verlag},
	address = {Berlin},
	year = {1999}
}

@article{dolfi12:_multig_algor_tensor_networ_states,
	title = {Multigrid Algorithms for Tensor Network States},
	author = {Dolfi, Michele and Bauer, Bela and Troyer, Matthias and Ristivojevic, Zoran},
	journal = {Phys. Rev. L},
	year = {2012},
	month = Jul,
	pages = {020604},
	volume = {109},
	doi = {10.1103/PhysRevLett.109.020604},
	issue = {2},
	numpages = {5},
	publisher = {American Physical Society}
}

@phdthesis{dorfner17:_numer,
	author = {Florian Dorfner},
	title = {Numerical methods for strongly correlated many-body systems with bosonic degrees of freedom},
	school = {LMU Munich},
	year = {2017},
	url = {http://nbn-resolving.de/urn:nbn:de:bvb:19-205528}
}

@article{dukelsky98:_equiv,
	author = {J. Dukelsky and M. A. Mart\'in-Delgado and T. Nishino and G. Sierra},
	title = {Equivalence of the variational matrix product method and the density matrix renormalization group applied to spin chains},
	journal = {Europhysics Letters},
	volume = {43},
	number = {4},
	pages = {457},
	year = {1998},
	doi = {10.1209/epl/i1998-00381-x}
}

@article{eisert10:_colloq,
	title = {Colloquium: Area laws for the entanglement entropy},
	author = {Eisert, J. and Cramer, M. and Plenio, M. B.},
	journal = {Rev. Mod. Phys.},
	volume = {82},
	issue = {1},
	pages = {277--306},
	numpages = {0},
	year = {2010},
	month = Feb,
	publisher = {American Physical Society},
	doi = {10.1103/RevModPhys.82.277}
}

@article{fano57:_descr_states_quant_mechan_densit,
	title = {Description of States in Quantum Mechanics by Density Matrix and Operator Techniques},
	author = {Fano, U.},
	journal = {Rev. Mod. Phys.},
	volume = {29},
	issue = {1},
	pages = {74--93},
	numpages = {0},
	year = {1957},
	month = {Jan},
	publisher = {American Physical Society},
	doi = {10.1103/RevModPhys.29.74}
}

@article{feiguin05:_time,
	title = {Time-step targeting methods for real-time dynamics using the density matrix renormalization group},
	author = {Feiguin, Adrian E. and White, Steven R.},
	journal = {Phys. Rev. B},
	year = {2005},
	month = {Jul},
	pages = {020404},
	volume = {72},
	doi = {10.1103/PhysRevB.72.020404},
	issue = {2},
	numpages = {4},
	publisher = {American Physical Society}
}

@article{ganahl14:_cheby,
	title = {Chebyshev expansion for impurity models using matrix product states},
	author = {Ganahl, Martin and Thunstroem, Patrik and Verstraete, Frank and Held, Karsten and Evertz, Hans Gerd},
	journal = {Phys. Rev. B},
	volume = {90},
	issue = {4},
	pages = {045144},
	numpages = {12},
	year = {2014},
	month = {Jul},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.90.045144}
}

@article{ganahl15:_effic_dmft,
	title = {Efficient DMFT impurity solver using real-time dynamics with matrix product states},
	author = {Ganahl, Martin and Aichhorn, Markus and Evertz, Hans Gerd and Thunstroem, Patrik and Held, Karsten and Verstraete, Frank},
	journal = {Phys. Rev. B},
	volume = {92},
	issue = {15},
	pages = {155132},
	numpages = {12},
	year = {2015},
	month = {Oct},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.92.155132}
}

@article{garcia-ripoll06:_time_matrix_produc_states,
	title = {Time evolution of Matrix Product States},
	author = {Garcia-Ripoll, J. J.},
	journal = {New J. Phys.},
	year = {2006},
	number = {12},
	pages = {305},
	volume = {8},
	doi = {10.1088/1367-2630/8/12/305}
}

@article{georges96:_dynam,
	title = {Dynamical mean-field theory of strongly correlated fermion systems and the limit of infinite dimensions},
	author = {Georges, Antoine and Kotliar, Gabriel and Krauth, Werner and Rozenberg, Marcelo J.},
	journal = {Rev. Mod. Phys.},
	volume = {68},
	issue = {1},
	pages = {13--125},
	numpages = {0},
	year = {1996},
	month = {Jan},
	publisher = {American Physical Society},
	doi = {10.1103/RevModPhys.68.13}
}

@article{gobert_timeevolve,
	author = {Dominique Gobert and Corinna Kollath and Ulrich Schollwoeck and Gunter Schuetz},
	title = {Real-time dynamics in spin-(1/2) chains with adaptive time-dependent density matrix renormalization group},
	publisher = {APS},
	year = {2005},
	journal = {Phys. Rev. E},
	optjournal = {cond-mat/0409692},
	volume = {71},
	number = {3},
	eid = {036102},
	numpages = {14},
	pages = {036102}
}

@article{goto18:_perfor,
	author = {Goto, S. and Danshita, I.},
	title = {Performance of the time-dependent variational principle for matrix product states in long time evolution of a pure state},
	eprint = {arXiv:1809.01400},
	year = 2018,
	month = sep
}

@article{greene17:_tensor_train_split_operat_fourier,
	author = {Greene, Samuel M. and Batista, Victor S.},
	title = {Tensor-Train Split-Operator Fourier Transform (TT-SOFT) Method: Multidimensional Nonadiabatic Quantum Dynamics},
	journal = {Journal of Chemical Theory and Computation},
	volume = {13},
	number = {9},
	pages = {4034-4042},
	year = {2017},
	doi = {10.1021/acs.jctc.7b00608},
	note = {PMID: 28763215}
}

@article{gunst18:_t3ns,
	title = {T3NS: Three-Legged Tree Tensor Network States},
	author = {Gunst, Klaas and Verstraete, Frank and Wouters, Sebastian and Legeza, OErs and Van Neck, Dimitri},
	journal = {Journal of Chemical Theory and Computation},
	year = {2018},
	note = {PMID: 29481743},
	number = {4},
	pages = {2026-2033},
	volume = {14},
	doi = {10.1021/acs.jctc.8b00098}
}

@article{guo12:_critic_stron_coupl_phases_one,
	title = {Critical and Strong-Coupling Phases in One- and Two-Bath Spin-Boson Models},
	author = {Guo, Cheng and Weichselbaum, Andreas and von Delft, Jan and Vojta, Matthias},
	journal = {Phys. Rev. Lett.},
	volume = {108},
	issue = {16},
	pages = {160401},
	numpages = {5},
	year = {2012},
	month = {Apr},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.108.160401}
}

@article{haegeman11:_time_depen_variat_princ_quant_lattic,
	title = {Time-Dependent Variational Principle for Quantum Lattices},
	author = {Haegeman, Jutho and Cirac, J. Ignacio and Osborne, Tobias J. and Pizorn, Iztok and Verschelde, Henri and Verstraete, Frank},
	journal = {Phys. Rev. Lett.},
	volume = {107},
	issue = {7},
	pages = {070601},
	numpages = {5},
	year = {2011},
	month = {Aug},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.107.070601}
}

@article{haegeman12:_variat,
	title = {Variational matrix product ansatz for dispersion relations},
	author = {Haegeman, Jutho and Pirvu, Bogdan and Weir, David J. and Cirac, J. Ignacio and Osborne, Tobias J. and Verschelde, Henri and Verstraete, Frank},
	journal = {Phys. Rev. B},
	year = {2012},
	month = {Mar},
	pages = {100408},
	volume = {85},
	doi = {10.1103/PhysRevB.85.100408},
	issue = {10},
	numpages = {5},
	publisher = {American Physical Society}
}

@article{haegeman13:_post,
	title = {Post-matrix product state methods: To tangent space and beyond},
	author = {Haegeman, Jutho and Osborne, Tobias J. and Verstraete, Frank},
	journal = {Phys. Rev. B},
	volume = {88},
	issue = {7},
	pages = {075133},
	numpages = {35},
	year = {2013},
	month = Aug,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.88.075133}
}

@article{haegeman16:_unify,
	title = {Unifying time evolution and optimization with matrix product states},
	author = {Haegeman, Jutho and Lubich, Christian and Oseledets, Ivan and Vandereycken, Bart and Verstraete, Frank},
	journal = {Phys. Rev. B},
	year = {2016},
	month = Oct,
	pages = {165116},
	volume = {94},
	doi = {10.1103/PhysRevB.94.165116},
	issue = {16},
	numpages = {10},
	publisher = {American Physical Society}
}

@article{halimeh15:_cheby,
	title = {Chebyshev} matrix product state approach for time evolution},
	author = {Halimeh, Jad C. and Kolley, Fabian and McCulloch, Ian P.},
	journal = {Phys. Rev. B},
	year = {2015},
	month = Sep,
	pages = {115130},
	volume = {92},
	doi = {10.1103/PhysRevB.92.115130},
	issue = {11},
	numpages = {13},
	publisher = {American Physical Society}
}

@inproceedings{hallberg,
	author = {Karen Hallberg},
	title = {Density Matrix Renormalization},
	editor = {David Senechal and Andre-Marie Tremblay and Claude Bourbonnais},
	booktitle = {Theoretical Methods for Strongly Correlated Electrons},
	publisher = {Springer Verlag},
	year = {2004},
	optkey = {},
	optvolume = {},
	optnumber = {},
	series = {CRM Series in Mathematical Physics},
	opttype = {},
	optaddress = {},
	optedition = {},
	optmonth = {},
	pages = {3-38},
	optnote = {},
	optannote = {}
}

@article{hallberg06,
	author = {Karen Hallberg},
	collaboration = {},
	title = {New Trends in Density Matrix Renormalization},
	publisher = {},
	year = {2006},
	journal = {Adv. Phys.},
	volume = {55},
	number = {5-6},
	eid = {142002},
	numpages = {},
	pages = {477},
}

@article{hallberg95:_densit,
	title = {Density-matrix algorithm for the calculation of dynamical properties of low-dimensional systems},
	author = {Hallberg, Karen A.},
	journal = {Phys. Rev. B},
	volume = {52},
	issue = {14},
	pages = {R9827--R9830},
	numpages = {0},
	year = {1995},
	month = {Oct},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.52.R9827}
}

@article{hartmann09:_densit_matrix_renor_group_heisen_pictur,
	title = {Density Matrix Renormalization Group in the Heisenberg Picture},
	author = {Hartmann, Michael J. and Prior, Javier and Clark, Stephen R. and Plenio, Martin B.},
	journal = {Phys. Rev. Lett.},
	volume = {102},
	issue = {5},
	pages = {057202},
	numpages = {4},
	year = {2009},
	month = {Feb},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.102.057202}
}

@article{hashizume18:_dynam_phase_trans_two_dimen,
	author = {Tomohiro Hashizume and Ian P. McCulloch and Jad C. Halimeh},
	title = {Dynamical Phase Transitions in the Two-Dimensional Transverse-Field Ising Model},
	year = {2018},
	eprint = {arXiv:1811.09275}
}

@article{hauke13:_spread_correl_long_range_inter_quant_system,
	title = {Spread of Correlations in Long-Range Interacting Quantum Systems},
	author = {Hauke, P. and Tagliacozzo, L.},
	journal = {Phys. Rev. Lett.},
	volume = {111},
	issue = {20},
	pages = {207202},
	numpages = {6},
	year = {2013},
	month = {Nov},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.111.207202}
}

@article{hauschild18:_findin,
	title = {Finding purifications with minimal entanglement},
	author = {Hauschild, Johannes and Leviatan, Eyal and Bardarson, Jens H. and Altman, Ehud and Zaletel, Michael P. and Pollmann, Frank},
	journal = {Phys. Rev. B},
	volume = {98},
	issue = {23},
	pages = {235163},
	numpages = {7},
	year = {2018},
	month = {Dec},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.98.235163}
}

@unpublished{hemery19,
	author = {Kevin Hemery and Frank Pollmann and David J. Luitz},
	title = {Tensor network approaches to operator spreading in ergodic quantum systems},
	note = {in prep.}
}

@article{holzner11:_cheby,
	title = {Chebyshev} matrix product state approach for spectral functions},
	author = {Holzner, Andreas and Weichselbaum, Andreas and McCulloch, Ian P. and Schollwoeck, Ulrich and von Delft, Jan},
	journal = {Phys. Rev. B},
	year = {2011},
	month = {May},
	pages = {195115},
	volume = {83},
	doi = {10.1103/PhysRevB.83.195115},
	issue = {19},
	numpages = {20},
	publisher = {American Physical Society}
}

@article{huang16:_lancz,
	title = {A generalized Lanczos method for systematic optimization of tensor network states},
	author = {Huang, R.-Z. and Liao, H.-J. and Liu, Z.-Y. and Xie, H.-D. and Xie, Z.-Y. and Zhao, H.-H. and Chen, J. and Xiang, T. },
	year = {2016},
	month = nov,
	eprint = {arXiv:1611.09574},
}

@article{hubig15:_stric_dmrg,
	title = {Strictly single-site DMRG algorithm with subspace expansion},
	author = {Hubig, C. and McCulloch, I. P. and Schollwoeck, U. and Wolf, F. A.},
	journal = {Phys. Rev. B},
	volume = {91},
	issue = {15},
	pages = {155115},
	numpages = {10},
	year = {2015},
	month = Apr,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.91.155115}
}

@article{hubig17:_gener,
	title = {Generic construction of efficient matrix product operators},
	author = {Hubig, C. and McCulloch, I. P. and Schollwoeck, U.},
	journal = {Phys. Rev. B},
	volume = {95},
	issue = {3},
	pages = {035129},
	numpages = {12},
	year = {2017},
	month = Jan,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.95.035129}
}

@phdthesis{hubig17:_symmet_protec_tensor_networ,
	author = {Claudius Hubig},
	title = {Symmetry-Protected Tensor Networks},
	school = {LMU Muenchen},
	year = {2017},
	url = {https://edoc.ub.uni-muenchen.de/21348/}
}

@article{hubig18:_abelian,
	title = {Abelian and non-abelian symmetries in infinite projected entangled pair  states},
	author = {Claudius Hubig},
	journal = {SciPost Phys.},
	volume = {5},
	issue = {5},
	pages = {47},
	year = {2018},
	publisher = {SciPost},
	doi = {10.21468/SciPostPhys.5.5.047}
}

@article{hubig18:_error,
	title = {Error estimates for extrapolations with matrix-product states},
	author = {Hubig, C. and Haegeman, J. and Schollwoeck, U.},
	journal = {Phys. Rev. B},
	year = {2018},
	month = {Jan},
	pages = {045125},
	volume = {97},
	doi = {10.1103/PhysRevB.97.045125},
	issue = {4},
	numpages = {9},
	publisher = {American Physical Society}
}

@misc{hubig:_syten_toolk,
	title = {The SYTEN Toolkit},
	author = {Claudius Hubig and Felix Lachenmaier and Nils-Oliver Linden and Teresa Reinhard and Leo Stenzel and Andreas Swoboda},
	url = {https://syten.eu}
}

@misc{paeckel:_symmps_toolk,
	title = {The SymMPS Toolkit},
	author = {Sebastian Paeckel and Thomas Koehler},
	url = {https://symmps.eu}
}

@article{jeckelmann02:_dynam,
	title = {Dynamical density-matrix renormalization-group method},
	author = {Jeckelmann, Eric},
	journal = {Phys. Rev. B},
	volume = {66},
	issue = {4},
	pages = {045114},
	numpages = {16},
	year = {2002},
	month = {Jul},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.66.045114}
}

@article{karrasch12:_finit_temper_dynam_densit_matrix,
	title = {Finite-Temperature Dynamical Density Matrix Renormalization Group and the Drude Weight of Spin-$1/2$ Chains},
	author = {Karrasch, C. and Bardarson, J. H. and Moore, J. E.},
	journal = {Phys. Rev. Lett.},
	volume = {108},
	issue = {22},
	pages = {227206},
	numpages = {5},
	year = {2012},
	month = {May},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.108.227206}
}

@article{karrasch13:_reduc,
	author = {C Karrasch and J H Bardarson and J E Moore},
	title = {Reducing the numerical effort of finite-temperature density matrix renormalization group calculations},
	journal = {New Journal of Physics},
	volume = {15},
	number = {8},
	pages = {083031},
	year = {2013},
}

@article{keller75:_feynm_integ,
	author = {J. B. Keller and D. W. McLaughlin},
	title = {The Feynman Integral},
	journal = {The American Mathematical Monthly},
	volume = {82},
	number = {5},
	pages = {451-465},
	year = {1975},
	publisher = {Taylor & Francis},
	doi = {10.1080/00029890.1975.11993855}
}

@article{kennes16:_exten,
	title = {Extending the range of real time density matrix renormalization group simulations},
	journal = {Computer Physics Communications},
	volume = {200},
	pages = {37 - 43},
	year = {2016},
	issn = {0010-4655},
	doi = {10.1016/j.cpc.2015.10.019},
	author = {D.M. Kennes and C. Karrasch},
}

@article{kin-lic16:_matrix_produc_operat_matrix_produc,
	author = {Garnet Kin-Lic Chan and Anna Keselman and Naoki Nakatani and Zhendong Li and Steven R. White},
	title = {Matrix product operators, matrix product states, and ab initio density matrix renormalization group algorithms},
	journal = {J. Chem. Phys.},
	volume = {145},
	number = {1},
	pages = {014102},
	year = {2016},
	doi = {10.1063/1.4955108}
}

@article{kloss18:_time,
	title = {Time-dependent variational principle in matrix-product state manifolds: Pitfalls and potential},
	author = {Kloss, Benedikt and Lev, Yevgeny Bar and Reichman, David},
	journal = {Phys. Rev. B},
	volume = {97},
	issue = {2},
	pages = {024307},
	numpages = {5},
	year = {2018},
	month = {Jan},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.97.024307}
}

@article{koffel12:_entan_entrop_long_range_ising,
	title = {Entanglement Entropy for the Long-Range Ising Chain in a Transverse Field},
	author = {Koffel, Thomas and Lewenstein, M. and Tagliacozzo, Luca},
	journal = {Phys. Rev. Lett.},
	volume = {109},
	issue = {26},
	pages = {267203},
	numpages = {5},
	year = {2012},
	month = {Dec},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.109.267203}
}

@article{kosloff88:_time,
	author = {Kosloff, Ronnie},
	title = {Time-dependent quantum-mechanical methods for molecular dynamics},
	journal = {The Journal of Physical Chemistry},
	volume = {92},
	number = {8},
	pages = {2087-2100},
	year = {1988},
	doi = {10.1021/j100319a003}
}

@article{kramer15:_scipal,
	author = {Kramer, Stephan C. and Hagemann, Johannes},
	title = {SciPAL: Expression Templates and Composition Closure Objects for High Performance Computational Physics with CUDA and OpenMP},
	journal = {ACM Trans. Parallel Comput.},
	issue_date = {January 2015},
	volume = {1},
	number = {2},
	month = feb,
	year = {2015},
	issn = {2329-4949},
	pages = {15:1--15:31},
	articleno = {15},
	numpages = {31},
	doi = {10.1145/2686886},
	acmid = {2686886},
	publisher = {ACM},
	address = {New York, NY, USA},
}

@article{kuehner99:_dynam,
	title = {Dynamical correlation functions using the density matrix renormalization group},
	author = {Kuehner, Till D. and White, Steven R.},
	journal = {Phys. Rev. B},
	volume = {60},
	issue = {1},
	pages = {335--343},
	numpages = {0},
	year = {1999},
	month = {Jul},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.60.335}
}

@book{lanczos50,
	title = {An iteration method for the solution of the eigenvalue problem of linear differential and integral operators},
	author = {Lanczos, Cornelius},
	year = {1950},
	publisher = {United States Governm. Press Office Los Angeles, CA}
}

@article{leviatan17:_quant_matrix_produc_states,
	author = {Leviatan, E. and Pollmann, F. and Bardarson, J. H. and Huse, D. A. and Altman, E.},
	title = {Quantum thermalization dynamics with Matrix-Product States},
	eprint = {arXiv:1702.08894},
	year = 2017,
	month = feb
}

@article{luo:049701,
	author = {H. G. Luo and T. Xiang and X. Q. Wang},
	title = {Comment on 'Time-Dependent Density-Matrix Renormalization Group: A Systematic Method for the Study of Quantum Many-Body Out-of-Equilibrium Systems'},
	publisher = {APS},
	year = {2003},
	journal = {Phys. Rev. Lett.},
	volume = {91},
	number = {4},
	eid = {049701},
	numpages = {1},
	pages = {049701},
}

@article{manmana05:_time_quant_many_body_system,
	author = {Manmana, Salvatore R.  and Muramatsu,Alejandro  and Noack, Reinhard M. },
	title = {Time evolution of one-dimensional Quantum Many Body Systems},
	journal = {AIP Conference Proceedings},
	volume = {789},
	number = {1},
	pages = {269-278},
	year = {2005},
	doi = {10.1063/1.2080353}
}

@article{mcculloch02:_abelian,
	author = {I. P. McCulloch and M. Gulacsi},
	title = {The non-Abelian density matrix renormalization group algorithm},
	journal = {Europhysics Letters},
	volume = {57},
	number = {6},
	pages = {852},
	doi = {10.1209/epl/i2002-00393-0},
	year = {2002},
}

@phdthesis{mcculloch02:_collec_phenom_stron_correl_elect_system,
	title = {Collective Phenomena in Strongly Correlated Electron Systems},
	author = {McCulloch, I. P.},
	url = {http://physics.uq.edu.au/people/ianmcc/aachen/public_html/thesis.pdf},
	year = {2002},
	publisher = {Australian National University},
	school = {Australian National University},
	urldate = {2016-11-19}
}

@article{mcculloch07:_from,
	author = {Ian P McCulloch},
	title = {From density-matrix renormalization group to matrix product states},
	journal = {J. Stat. Mech.},
	volume = {2007},
	number = {10},
	pages = {P10014},
	year = {2007},
	doi = {10.1088/1742-5468/2007/10/P10014}
}

@article{moler03:_ninet_dubious_ways_comput_expon,
	author = {Moler, C. and Van Loan, C.},
	title = {Nineteen Dubious Ways to Compute the Exponential of a Matrix, Twenty-Five Years Later},
	journal = {SIAM Review},
	volume = {45},
	number = {1},
	pages = {3-49},
	year = {2003},
	doi = {10.1137/S00361445024180}
}

@article{noack2005NO,
	title = {Diagonalization- and Numerical Renormalization-Group-Based Methods for Interacting Quantum Systems},
	doi = {doi:10.1063/1.2080349},
	optjournal = {cond-mat/0510321},
	author = {Reinhard M Noack and Salvatore R Manmana},
	optmonth = oct,
	year = {2005},
	optnote = {AIP} Conf. Proc. 789, 93-163 (2005)},
	journal = {AIP Conf. Proc.},
	volume = {789},
	pages = {93--163},
}

@article{oseledets11:_tensor_train_decom,
	author = {I. V. Oseledets},
	title = {Tensor-Train Decomposition},
	journal = {SIAM Journal on Scientific Computing},
	volume = {33},
	number = {5},
	pages = {2295-2317},
	year = {2011},
	doi = {10.1137/090752286}
}

@article{paeckel17:_autom,
	title = {Automated construction of $U(1)$-invariant matrix-product operators from  graph representations},
	author = {Sebastian Paeckel and Thomas Koehler and Salvatore R. Manmana},
	journal = {SciPost Phys.},
	volume = {3},
	issue = {5},
	pages = {035},
	year = {2017},
	publisher = {SciPost},
	doi = {10.21468/SciPostPhys.3.5.035}
}

@article{paige:_approx_krylov,
	author = {Paige, Chris C. and Parlett, Beresford N. and van der Vorst, Henk A.},
	title = {Approximate solutions and eigenvalue bounds from Krylov subspaces},
	journal = {Numerical Linear Algebra with Applications},
	year = {1995},
	volume = {2},
	number = {2},
	pages = {115-133},
	doi = {10.1002/nla.1680020205},
}

@article{park86:_unitar_lancz,
	author = {Park,Tae Jun  and Light,J. C. },
	title = {Unitary quantum time evolution by iterative Lanczos reduction},
	journal = {The Journal of Chemical Physics},
	volume = {85},
	number = {10},
	pages = {5870-5876},
	year = {1986},
	doi = {10.1063/1.451548}
}

@article{phien12:_infin,
	title = {Infinite boundary conditions for matrix product state calculations},
	author = {Phien, Ho N. and Vidal, Guifre and McCulloch, Ian P.},
	journal = {Phys. Rev. B},
	volume = {86},
	issue = {24},
	pages = {245107},
	numpages = {10},
	year = {2012},
	month = Dec,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.86.245107}
}

@article{prosen09:_matrix,
	author = {Tomaz Prosen and Marko Znidaric},
	title = {Matrix product simulations of non-equilibrium steady states of quantum spin chains},
	journal = {Journal of Statistical Mechanics: Theory and Experiment},
	volume = {2009},
	number = {02},
	pages = {P02035},
	year = {2009}
}

@article{raas04:_high_ander,
	title = {High-energy dynamics of the single-impurity Anderson model},
	author = {Raas, Carsten and Uhrig, Goetz S. and Anders, Frithjof B.},
	journal = {Phys. Rev. B},
	volume = {69},
	issue = {4},
	pages = {041102},
	numpages = {4},
	year = {2004},
	month = {Jan},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.69.041102}
}

@article{rodriguez06,
	author = {K Rodriguez and S R Manmana and M Rigol and R M Noack and A Muramatsu},
	title = {Coherent matter waves emerging from Mott-insulators},
	journal = {New Journal of Physics},
	volume = {8},
	number = {8},
	pages = {169},
	doi = {10.1088/1367-2630/8/8/169},
	year = {2006},
}

@article{rommer,
	author = {Stellan OEstlund and Stefan Rommer},
	title = {Thermodynamic Limit of Density Matrix Renormalization},
	publisher = {APS},
	year = {1995},
	journal = {Phys. Rev. Lett.},
	volume = {75},
	number = {19},
	numpages = {4},
	pages = {3537}
}

@article{rommer97:_class,
	title = {Class of ansatz wave functions for one-dimensional spin systems and their relation to the density matrix renormalization group},
	author = {Rommer, Stefan and OEstlund, Stellan},
	journal = {Phys. Rev. B},
	volume = {55},
	issue = {4},
	pages = {2164--2181},
	numpages = {0},
	year = {1997},
	month = Jan,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.55.2164}
}

@article{ronca17:_time_step_target_time_depen,
	title = {Time-Step Targeting Time-Dependent and Dynamical Density Matrix Renormalization Group Algorithms with ab Initio Hamiltonians},
	author = {Ronca, Enrico and Li, Zhendong and Jimenez-Hoyos, Carlos A. and Chan, Garnet Kin-Lic},
	journal = {J. Chem. Theory Comput.},
	year = {2017},
	volume = {13},
	issue = {11},
	pages = { 5560 - 5571},
	doi = {10.1021/acs.jctc.7b00682}
}

@book{saad03:_iterat_method_spars_linear_system,
	author = {Yousef Saad},
	title = {Iterative Methods for Sparse Linear Systems},
	publisher = {SIAM},
	year = {2003},
	edition = {2},
	url = {http://www-users.cs.umn.edu/~saad/IterMethBook_2ndEd.pdf}
}

@article{sandvik91:_quant_monte_carlo,
	title = {Quantum Monte Carlo simulation method for spin systems},
	author = {Sandvik, Anders W. and Kurkijaervi, Juhani},
	journal = {Phys. Rev. B},
	volume = {43},
	issue = {7},
	pages = {5950--5961},
	numpages = {0},
	year = {1991},
	month = {Mar},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.43.5950}
}

@article{schmidt_decomposition,
	author = {E. Schmidt},
	journal = {Math. Annalen},
	volume = {63},
	pages = {433},
	year = {1907}
}

@article{schmitteckert04:_noneq,
	title = {Nonequilibrium electron transport using the density matrix renormalization group method},
	author = {Schmitteckert, Peter},
	journal = {Phys. Rev. B},
	volume = {70},
	issue = {12},
	pages = {121302},
	numpages = {4},
	year = {2004},
	month = {Sep},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.70.121302}
}

@article{schollwoeck05,
	title = {The density-matrix renormalization group},
	author = {Schollwoeck, U.},
	journal = {Rev. Mod. Phys.},
	volume = {77},
	issue = {1},
	pages = {259--315},
	numpages = {0},
	year = {2005},
	month = Apr,
	publisher = {American Physical Society},
	doi = {10.1103/RevModPhys.77.259}
}

@article{schollwoeck11,
	title = {The density-matrix renormalization group in the age of matrix product states},
	journal = {Ann. Phys.},
	volume = {326},
	number = {1},
	pages = {96 - 192},
	year = {2011},
	issn = {0003-4916},
	doi = {10.1016/j.aop.2010.09.012},
	author = {Ulrich Schollwoeck},
}

@article{schroeder16:_simul,
	title = {Simulating open quantum dynamics with time-dependent variational matrix product states: Towards microscopic correlation of environment dynamics and reduced system evolution},
	author = {Schroeder, Florian A. Y. N. and Chin, Alex W.},
	journal = {Phys. Rev. B},
	volume = {93},
	issue = {7},
	pages = {075105},
	numpages = {10},
	year = {2016},
	month = {Feb},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.93.075105}
}

@article{schuch08:_entrop_scalin_simul_matrix_produc_states,
	title = {Entropy Scaling and Simulability by Matrix Product States},
	author = {Schuch, Norbert and Wolf, Michael M. and Verstraete, Frank and Cirac, J. Ignacio},
	journal = {Phys. Rev. L},
	volume = {100},
	issue = {3},
	pages = {030504},
	numpages = {4},
	year = {2008},
	month = Jan,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.100.030504}
}

@article{singh10:_tensor,
	title = {Tensor network decompositions in the presence of a global symmetry},
	author = {Singh, Sukhwinder and Pfeifer, Robert N. C. and Vidal, Guifre},
	journal = {Phys. Rev. A},
	volume = {82},
	issue = {5},
	pages = {050301},
	numpages = {4},
	year = {2010},
	month = Nov,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevA.82.050301}
}

@article{singh11:_tensor_u,
	title = {Tensor network states and algorithms in the presence of a global U(1) symmetry},
	author = {Singh, Sukhwinder and Pfeifer, Robert N. C. and Vidal, Guifre},
	journal = {Phys. Rev. B},
	volume = {83},
	issue = {11},
	pages = {115125},
	numpages = {22},
	year = {2011},
	month = Mar,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.83.115125}
}

@phdthesis{singh12:_tensor_networ_states_algor_abelian_abelian_symmet,
	author = {Sukhbinder Singh},
	title = {Tensor Network States and Algorithms in the presence of Abelian and non-Abelian Symmetries},
	school = {The University of Queensland},
	year = {2012},
	eprint = {https://arxiv.org/abs/1203.2222}
}

@article{singh12:_tensor_su,
	title = {Tensor network states and algorithms in the presence of a global SU(2) symmetry},
	author = {Singh, Sukhwinder and Vidal, Guifre},
	journal = {Phys. Rev. B},
	volume = {86},
	issue = {19},
	pages = {195114},
	numpages = {31},
	year = {2012},
	month = Nov,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.86.195114}
}

@article{stoudenmire10:_minim,
	author = {E M Stoudenmire and Steven R White},
	title = {Minimally entangled typical thermal state algorithms},
	journal = {New J. Phys.},
	volume = {12},
	number = {5},
	pages = {055026},
	year = {2010},
	doi = {10.1088/1367-2630/12/5/055026}
}

@unpublished{stoudenmire18:_densit,
	author = {Stoudenmire}, E. M.},
	title = {MPO-MPS Multiplication: Density Matrix Algorithm},
	url = {http://tensornetwork.org/mps/algorithms/denmat_mpo_mps/}
}

@article{suzuki76:_gener_trott,
	title = {Generalized Trotter's formula and systematic approximants of exponential operators and inner derivations with applications to many-body problems},
	author = {Suzuki, Masuo},
	journal = {Comm. Math. Phys.},
	year = {1976},
	number = {2},
	pages = {183--190},
	volume = {51},
	doi = {10.1007/BF01609348},
	issn = {1432-0916}
}
@article{uli_timeevolution_review,
	author = {Ulrich Schollwoeck},
	title = {Time-dependent Density-Matrix Renormalization-Group Methods},
	year = {2005},
	journal = {J. Phys. Soc. Jpn. (Suppl.)},
	volume = {74},
	pages = {246},
	optnote = {cond-mat/0502470}
}

@article{urbanek16:_paral_bose_hubbar,
	title = {Parallel implementation of the time-evolving block decimation algorithm for the Bose-Hubbard model},
	author = {Miroslav Urbanek and Pavel Soldan},
	journal = {Comp. Phys. Comm.},
	year = {2016},
	pages = {170 - 177},
	volume = {199},
	doi = {10.1016/j.cpc.2015.10.016},
	issn = {0010-4655},
}

@book{vaidyanathan08:_theor_linear_predic,
	title = {The Theory of Linear Prediction},
	author = {Vaidyanathan, P.P.},
	isbn = {9781598295757},
	series = {Synthesis Lectures on Engineering Series},
	year = {2008},
	publisher = {Morgan & Claypool}
}

@phdthesis{vanderstraeten16:_tensor,
	author = {Vanderstraeten, Laurens},
	language = {eng},
	pages = {188},
	publisher = {Ghent University. Faculty of Sciences},
	school = {Ghent University},
	title = {Tensor network states and effective particles for low-dimensional quantum spin systems},
	year = {2016}
}

@phdthesis{vanderstraeten17:_tensor_networ_states_effec_partic,
	author = {Vanderstraeten, Laurens},
	title = {Tensor Network States and Effective Particles for Low-Dimensional Quantum Spin Systems},
	school = {University of Ghent},
	year = {2017},
	doi = {10.1007/978-3-319-64191-1_4}
}

@article{vanderstraeten18:_simul,
	author = {Vanderstraeten, L. and Haegeman, J. and Verstraete, F.},
	title = {Simulating excitation spectra with projected entangled-pair states},
	eprint = {arXiv:1809.06747},
	year = 2018,
	month = sep
}

@article{vanderstraeten18:_tangen,
	author = {Vanderstraeten, L. and Haegeman, J. and Verstraete, F.},
	title = {Tangent-space methods for uniform matrix product states},
	eprint = {arXiv:1810.07006},
	year = 2018,
	month = oct
}

@article{vanderstraeten19:_tangen,
	title = {Tangent-space methods for uniform matrix product states},
	author = {Laurens Vanderstraeten and Jutho Haegeman and Frank Verstraete},
	journal = {SciPost Phys. Lect. Notes},
	pages = {7},
	year = {2019},
	publisher = {SciPost},
	doi = {10.21468/SciPostPhysLectNotes.7}
}

@article{verstraete04:_matrix_produc_densit_operat,
	title = {Matrix Product Density Operators: Simulation of Finite-Temperature and Dissipative Systems},
	author = {Verstraete, F. and Garcia-Ripoll, J. J. and Cirac, J. I.},
	journal = {Phys. Rev. L},
	volume = {93},
	issue = {20},
	pages = {207204},
	numpages = {4},
	year = {2004},
	month = {Nov},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.93.207204}
}

@article{vidal03:_effic_class_simul_sligh_entan_quant_comput,
	title = {Efficient Classical Simulation of Slightly Entangled Quantum Computations},
	author = {Vidal, Guifre},
	journal = {Phys. Rev. Lett.},
	year = {2003},
	month = Oct,
	pages = {147902},
	volume = {91},
	doi = {10.1103/PhysRevLett.91.147902},
	issue = {14},
	numpages = {4},
	publisher = {American Physical Society}
}

@article{vidal03:_entan_quant_critic_phenom,
	title = {Entanglement in Quantum Critical Phenomena},
	author = {Vidal, G. and Latorre, J. I. and Rico, E. and Kitaev, A.},
	journal = {Phys. Rev. Lett.},
	year = {2003},
	month = Jun,
	pages = {227902},
	volume = {90},
	doi = {10.1103/PhysRevLett.90.227902},
	issue = {22},
	numpages = {4},
	publisher = {American Physical Society}
}

@article{vidal04:_effic_simul_one_dimen_quant,
	title = {Efficient Simulation of One-Dimensional Quantum Many-Body Systems},
	author = {Vidal, Guifre},
	journal = {Phys. Rev. Lett.},
	year = {2004},
	month = Jul,
	pages = {040502},
	volume = {93},
	doi = {10.1103/PhysRevLett.93.040502},
	issue = {4},
	numpages = {4},
	publisher = {American Physical Society}
}

@article{vidal07:_class_simul_infin_size_quant,
	title = {Classical Simulation of Infinite-Size Quantum Lattice Systems in One Spatial Dimension},
	author = {Vidal, G.},
	journal = {Phys. Rev. Lett.},
	year = {2007},
	month = {Feb},
	pages = {070201},
	volume = {98},
	doi = {10.1103/PhysRevLett.98.070201},
	issue = {7},
	numpages = {4},
	publisher = {American Physical Society}
}

@article{wall12:_out,
	title = {Out-of-equilibrium dynamics with matrix product states},
	author = {M L Wall and Lincoln D Carr},
	journal = {New J. Phys.},
	year = {2012},
	number = {12},
	pages = {125015},
	volume = {14},
	doi = {10.1088/1367-2630/14/12/125015}
}

@article{wall16:_simul,
	title = {Simulating generic spin-boson models with matrix product states},
	author = {Wall, Michael L. and Safavi-Naini, Arghavan and Rey, Ana Maria},
	journal = {Phys. Rev. A},
	volume = {94},
	issue = {5},
	pages = {053637},
	numpages = {16},
	year = {2016},
	month = {Nov},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevA.94.053637}
}

@article{weichselbaum12:_non,
	title = {Non-abelian symmetries in tensor networks: A quantum symmetry space approach},
	journal = {Ann. Phys.},
	volume = {327},
	number = {12},
	pages = {2972 - 3047},
	year = {2012},
	issn = {0003-4916},
	doi = {10.1016/j.aop.2012.07.009},
	author = {Andreas Weichselbaum},
}

@article{white04:_real_time_evolut_using_densit,
	title = {Real-Time Evolution Using the Density Matrix Renormalization Group},
	author = {White, Steven R. and Feiguin, Adrian E.},
	journal = {Phys. Rev. Lett.},
	year = {2004},
	month = Aug,
	pages = {076401},
	volume = {93},
	doi = {10.1103/PhysRevLett.93.076401},
	issue = {7},
	numpages = {4},
	publisher = {American Physical Society}
}

@article{white08:_spect_heisen,
	title = {Spectral function for the $S=1$ Heisenberg antiferromagetic chain},
	author = {White, Steven R. and Affleck, Ian},
	journal = {Phys. Rev. B},
	volume = {77},
	issue = {13},
	pages = {134437},
	numpages = {11},
	year = {2008},
	month = {Apr},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.77.134437}
}

@article{white18:_quant,
	title = {Quantum dynamics of thermalizing systems},
	author = {White, Christopher David and Zaletel, Michael and Mong, Roger S. K. and Refael, Gil},
	journal = {Phys. Rev. B},
	volume = {97},
	issue = {3},
	pages = {035127},
	numpages = {14},
	year = {2018},
	month = {Jan},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.97.035127}
}

@article{white92:_densit,
	title = {Density matrix formulation for quantum renormalization groups},
	author = {White, Steven R.},
	journal = {Phys. Rev. L},
	volume = {69},
	issue = {19},
	pages = {2863--2866},
	numpages = {0},
	year = {1992},
	month = Nov,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.69.2863}
}

@article{white93:_densit,
	title = {Density-matrix algorithms for quantum renormalization groups},
	author = {White, Steven R.},
	journal = {Phys. Rev. B},
	volume = {48},
	issue = {14},
	pages = {10345--10356},
	numpages = {0},
	year = {1993},
	month = Oct,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.48.10345}
}

@article{wietek18:_sublat,
	title = {Sublattice coding algorithm and distributed memory parallelization for large-scale exact diagonalizations of quantum many-body systems},
	author = {Wietek, Alexander and Laeuchli, Andreas M.},
	journal = {Phys. Rev. E},
	volume = {98},
	issue = {3},
	pages = {033309},
	numpages = {10},
	year = {2018},
	month = {Sep},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevE.98.033309}
}

@article{wolf14:_cheby,
	title = {Chebyshev matrix product state impurity solver for dynamical mean-field theory},
	author = {Wolf, F. Alexander and McCulloch, Ian P. and Parcollet, Olivier and Schollwoeck, Ulrich},
	journal = {Phys. Rev. B},
	volume = {90},
	issue = {11},
	pages = {115124},
	numpages = {17},
	year = {2014},
	month = Sep,
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevB.90.115124}
}

@article{wolf15:_imagin_time_matrix_produc_state,
	title = {Imaginary-Time Matrix Product State Impurity Solver for Dynamical Mean-Field Theory},
	author = {Wolf, F. Alexander and Go, Ara and McCulloch, Ian P. and Millis, Andrew J. and Schollwoeck, Ulrich},
	journal = {Phys. Rev. X},
	volume = {5},
	issue = {4},
	pages = {041032},
	numpages = {15},
	year = {2015},
	month = {Nov},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevX.5.041032}
}

@article{xie18:_reort_cheby,
	title = {Reorthonormalization of Chebyshev matrix product states for dynamical correlation functions},
	author = {Xie, H. D. and Huang, R. Z. and Han, X. J. and Yan, X. and Zhao, H. H. and Xie, Z. Y. and Liao, H. J. and Xiang, T.},
	journal = {Phys. Rev. B},
	year = {2018},
	month = {Feb},
	pages = {075111},
	volume = {97},
	doi = {10.1103/PhysRevB.97.075111},
	issue = {7},
	numpages = {8},
	publisher = {American Physical Society}
}

@article{zaletel15:_time,
	title = {Time-evolving a matrix product state with long-ranged interactions},
	author = {Zaletel, Michael P. and Mong, Roger S. K. and Karrasch, Christoph and Moore, Joel E. and Pollmann, Frank},
	journal = {Phys. Rev. B},
	year = {2015},
	month = Apr,
	pages = {165112},
	volume = {91},
	doi = {10.1103/PhysRevB.91.165112},
	issue = {16},
	numpages = {8},
	publisher = {American Physical Society}
}

@article{zhang98:_densit_matrix_approac_local_hilber_space_reduc,
	title = {Density Matrix Approach to Local Hilbert Space Reduction},
	author = {Zhang, Chunli and Jeckelmann, Eric and White, Steven R.},
	journal = {Phys. Rev. Lett.},
	volume = {80},
	issue = {12},
	pages = {2661--2664},
	numpages = {0},
	year = {1998},
	month = {Mar},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.80.2661}
}

@article{zwolak04,
	title = {Mixed-State Dynamics in One-Dimensional Quantum Lattice Systems: A Time-Dependent Superoperator Renormalization Algorithm},
	author = {Zwolak, Michael and Vidal, Guifre},
	journal = {Phys. Rev. Lett.},
	volume = {93},
	issue = {20},
	pages = {207205},
	numpages = {4},
	year = {2004},
	month = {Nov},
	publisher = {American Physical Society},
	doi = {10.1103/PhysRevLett.93.207205}
}

@article{RevModPhys.78.275,
   title = {The kernel polynomial method},
   author = {Weisse, Alexander and Wellein, Gerhard and Alvermann, Andreas and Fehske, Holger},
   journal = {Rev. Mod. Phys.},
   volume = {78},
   issue = {1},
   pages = {275--306},
   numpages = {0},
   year = {2006},
   month = {Mar},
   publisher = {American Physical Society},
   doi = {10.1103/RevModPhys.78.275},
}

@article{PhysRevB.66.045114,
 title = {Dynamical density-matrix renormalization-group method},
 author = {Jeckelmann, Eric},
 journal = {Phys. Rev. B},
 volume = {66},
 issue = {4},
 pages = {045114},
 numpages = {16},
 year = {2002},
 month = {Jul},
 publisher = {American Physical Society},
 doi = {10.1103/PhysRevB.66.045114},
}

@article{10.1143/PTPS.176.143,
 author = {Jeckelmann, Eric},
 title = {Density-Matrix Renormalization Group Methods for Momentum- and Frequency-Resolved Dynamical Correlation Functions},
 journal = {Progress of Theoretical Physics Supplement},
 volume = {176},
 pages = {143-164},
 year = {2008},
 month = {06},
 issn = {0375-9687},
 doi = {10.1143/PTPS.176.143},
}


text:
package nais_io_v1

import (
	"strconv"
	"time"

	hash "github.com/mitchellh/hashstructure"
	corev1 "k8s.io/api/core/v1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/runtime/schema"
)

const LastSyncedHashAnnotation = "nais.io/lastSyncedHash"

func init() {
	SchemeBuilder.Register(
		&Alert{},
		&AlertList{},
	)
}

type Slack struct {
	// The channel or user to send notifications to.
	// Can be specified with and without `#`.
	Channel string `json:"channel"`
	// Text to prepend every Slack message with severity `danger`.
	PrependText string `json:"prependText,omitempty"`
	// Whether or not to notify about resolved alerts.
	SendResolved *bool `json:"send_resolved,omitempty"`
	// Set your bot's user name.
	Username string `json:"username,omitempty"`
	// URL to an image to use as the icon for this message
	IconUrl string `json:"icon_url,omitempty"`
	// Emoji to use as the icon for this message
	IconEmoji string `json:"icon_emoji,omitempty"`
}

type Email struct {
	To string `json:"to"`
	// Whether or not to notify about resolved alerts.
	SendResolved bool `json:"send_resolved,omitempty"`
}

type SMS struct {
	Recipients string `json:"recipients"`
	// Whether or not to notify about resolved alerts.
	SendResolved *bool `json:"send_resolved,omitempty"`
}

type Receivers struct {
	// Slack notifications are sent via Slack webhooks.
	Slack Slack `json:"slack,omitempty"`
	// Alerts via e-mails
	Email Email `json:"email,omitempty"`
	// Alerts via SMS
	SMS SMS `json:"sms,omitempty"`
}

type Rule struct {
	// The name of the alert.
	// +kubebuilder:validation:Required
	Alert string `json:"alert"`
	// Simple description of the triggered alert.
	Description string `json:"description,omitempty"`
	// Prometheus expression that triggers an alert.
	// +kubebuilder:validation:Required
	Expr string `json:"expr"`
	// Duration before the alert should trigger.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern="^\\d+[smhdwy]$"
	For string `json:"for"`
	// What human actions are needed to resolve or investigate this alert.
	// +kubebuilder:validation:Required
	Action string `json:"action"`
	// URL for documentation for this alert.
	Documentation string `json:"documentation,omitempty"`
	// Time before the alert should be resolved.
	SLA string `json:"sla,omitempty"`
	// Alert level for Slack messages.
	// +kubebuilder:validation:Pattern="^$|good|warning|danger|#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})"
	Severity string `json:"severity,omitempty"`
	// Not in use
	Priority string `json:"priority,omitempty"`
}

type InhibitRules struct {
	// Matchers that have to be fulfilled in the alerts to be muted.
	// These are key/value pairs.
	Targets map[string]string `json:"targets,omitempty"`
	// Regex matchers that have to be fulfilled in the alerts to be muted.
	// These are key/value pairs, where the value can be a regex.
	TargetsRegex map[string]string `json:"targetsRegex,omitempty"`
	// Matchers for which one or more alerts have to exist for the inhibition to take effect.
	Sources map[string]string `json:"sources,omitempty"`
	// Regex matchers for which one or more alerts have to exist for the inhibition to take effect.
	// These are key/value pairs.
	SourcesRegex map[string]string `json:"sourcesRegex,omitempty"`
	// Labels that must have an equal value in the source and target alert for the inhibition to take effect.
	// These are key/value pairs, where the value can be a regex.
	Labels []string `json:"labels,omitempty"`
}

type Route struct {
	// How long to initially wait to send a notification for a group of alerts.
	// Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.)
	// +kubebuilder:validation:Pattern="([0-9]+(ms|[smhdwy]))?"
	GroupWait string `json:"groupWait,omitempty"`
	// How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.)
	// +kubebuilder:validation:Pattern="([0-9]+(ms|[smhdwy]))?"
	GroupInterval string `json:"groupInterval,omitempty"`
	// How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more).
	// +kubebuilder:validation:Pattern="([0-9]+(ms|[smhdwy]))?"
	RepeatInterval string `json:"repeatInterval,omitempty"`
	// The labels by which incoming alerts are grouped together. For example,
	// multiple alerts coming in for cluster=A and alertname=LatencyHigh would
	// be batched into a single group.
	//
	// To aggregate by all possible labels use '...' as the sole label name.
	// This effectively disables aggregation entirely, passing through all
	// alerts as-is. This is unlikely to be what you want, unless you have
	// a very low alert volume or your upstream notification system performs
	// its own grouping. Example: group_by: [...]
	GroupBy []string `json:"group_by,omitempty"`
}

type AlertSpec struct {
	Route Route `json:"route,omitempty"`
	// A list of notification recievers. You can use one or more of: e-mail, slack, sms.
	// There needs to be at least one receiver.
	// +kubebuilder:validation:Required
	Receivers Receivers `json:"receivers,omitempty"`
	// +kubebuilder:validation:Required
	Alerts []Rule `json:"alerts,omitempty"`
	// A list of inhibit rules. Read more about it at [prometheus.io/docs](https://prometheus.io/docs/alerting/latest/configuration/#inhibit_rule).
	InhibitRules []InhibitRules `json:"inhibitRules,omitempty"`
}

// AlertStatus defines the observed state of Alerterator
type AlertStatus struct {
	SynchronizationTime  int64  `json:"synchronizationTime,omitempty"`
	SynchronizationState string `json:"synchronizationState,omitempty"`
	SynchronizationHash  string `json:"synchronizationHash,omitempty"`
}

// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Slack channel",type="string",JSONPath=".spec.receivers.slack.channel"
// +kubebuilder:object:root=true
type Alert struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AlertSpec   `json:"spec"`
	Status AlertStatus `json:"status,omitempty"`
}

// +kubebuilder:object:root=true
type AlertList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Alert `json:"items"`
}

func (in *Alert) CreateEvent(reason, message, typeStr string) *corev1.Event {
	return &corev1.Event{
		ObjectMeta: metav1.ObjectMeta{
			GenerateName: "alerterator-event",
			Namespace:    in.Namespace,
		},
		ReportingController: "alerterator",
		ReportingInstance:   "alerterator",
		Action:              reason,
		Reason:              reason,
		InvolvedObject:      in.GetObjectReference(),
		Source:              corev1.EventSource{Component: "alerterator"},
		Message:             message,
		EventTime:           metav1.MicroTime{Time: time.Now()},
		FirstTimestamp:      metav1.Time{Time: time.Now()},
		LastTimestamp:       metav1.Time{Time: time.Now()},
		Type:                typeStr,
	}
}

func (in *Alert) GetObjectKind() schema.ObjectKind {
	return in
}

func (in *Alert) GetObjectReference() corev1.ObjectReference {
	return corev1.ObjectReference{
		APIVersion:      "v1",
		UID:             in.UID,
		Name:            in.Name,
		Kind:            "Alert",
		ResourceVersion: in.ResourceVersion,
		Namespace:       in.Namespace,
	}
}

func (in *Alert) GetOwnerReference() metav1.OwnerReference {
	return metav1.OwnerReference{
		APIVersion: "v1",
		Kind:       "Alert",
		Name:       in.Name,
		UID:        in.UID,
	}
}

// NilFix initializes all slices from their nil defaults.
//
// This is done in order to workaround the k8s client serializer
// which crashes when these fields are uninitialized.
func (in *Alert) NilFix() {
	if in.Spec.Alerts == nil {
		in.Spec.Alerts = make([]Rule, 0)
	}
	if in.Spec.InhibitRules == nil {
		in.Spec.InhibitRules = make([]InhibitRules, 0)
	}
}

func (in Alert) Hash() (string, error) {
	// struct including the relevant fields for
	// creating a hash of an Application object
	relevantValues := struct {
		Spec   AlertSpec
		Labels map[string]string
	}{
		in.Spec,
		in.Labels,
	}

	h, err := hash.Hash(relevantValues, nil)
	return strconv.FormatUint(h, 10), err
}

func (in *Alert) LastSyncedHash() string {
	a := in.GetAnnotations()
	if a == nil {
		a = make(map[string]string)
	}
	return a[LastSyncedHashAnnotation]
}

func (in *Alert) SetLastSyncedHash(hash string) {
	a := in.GetAnnotations()
	if a == nil {
		a = make(map[string]string)
	}
	a[LastSyncedHashAnnotation] = hash
	in.SetAnnotations(a)
}

repository: aasehaa/liberator

repo_name: aasehaa/liberator

branch_name: refs/heads/main


text:
package config

import (
	"bytes"
	"testing"
)

var data = []byte(`[server]
development = true
listen_address = ":8080"
csrf_auth_key = "secr"
signing_key = "secret"
mapbox_access_token = "abc"

[db]
driver = "postgres"
dsn = "dbname=tracklog"
`)

func TestRead(t *testing.T) {
	c, err := Read(bytes.NewReader(data))
	if err != nil {
		t.Fatal(err)
	}

	if expected := true; c.Server.Development != expected {
		t.Errorf("expected Server.Development = %v; got %v", expected, c.Server.Development)
	}
	if expected := ":8080"; c.Server.ListenAddress != expected {
		t.Errorf("expected Server.ListenAddress = %q; got %q", expected, c.Server.ListenAddress)
	}
	if expected := "secr"; c.Server.CSRFAuthKey != expected {
		t.Errorf("expected Server.CSRFAuthKey = %q; got %q", expected, c.Server.CSRFAuthKey)
	}

	if expected := "postgres"; c.DB.Driver != expected {
		t.Errorf("expected DB.Driver = %q; got %q", expected, c.DB.Driver)
	}
	if expected := "dbname=tracklog"; c.DB.DSN != expected {
		t.Errorf("expected DB.DSN = %q; got %q", expected, c.DB.DSN)
	}
}

repository: thcyron/tracklog

repo_name: thcyron/tracklog