text:
// Copyright 2018-2020 opcua authors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.

package ua

import (
	"testing"
)

func TestReadValueID(t *testing.T) {
	cases := []CodecTestCase{
		{
			Name: "Normal",
			Struct: &ReadValueID{
				NodeID:       NewFourByteNodeID(0, 2256),
				AttributeID:  AttributeIDValue,
				DataEncoding: &QualifiedName{},
			},
			Bytes: []byte{
				// NodeID
				0x01,
				0x00,
				0xd0, 0x08,
				// AttributeID
				0x0d, 0x00, 0x00, 0x00,
				// Index Range
				0xff, 0xff, 0xff, 0xff,
				// qualified name
				0x00, 0x00,
				0xff, 0xff, 0xff, 0xff,
			},
		},
	}
	RunCodecTest(t, cases)
}

func TestReadValueIDArray(t *testing.T) {
	cases := []CodecTestCase{
		{
			Name:   "empty",
			Struct: []*ReadValueID{},
			Bytes: []byte{
				// length
				0x00, 0x00, 0x00, 0x00,
			},
		},
		{
			Name: "Normal",
			Struct: []*ReadValueID{
				{
					NodeID:       NewStringNodeID(1, "Temperature"),
					AttributeID:  AttributeIDNodeClass,
					DataEncoding: &QualifiedName{},
				},
				{
					NodeID:       NewStringNodeID(1, "Temperature"),
					AttributeID:  AttributeIDBrowseName,
					DataEncoding: &QualifiedName{},
				},
				{
					NodeID:       NewStringNodeID(1, "Temperature"),
					AttributeID:  AttributeIDDisplayName,
					DataEncoding: &QualifiedName{},
				},
			},
			Bytes: []byte{
				// Length
				0x03, 0x00, 0x00, 0x00,

				// NodeID
				0x03,
				0x01, 0x00,
				0x0b, 0x00, 0x00, 0x00,
				0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65,
				// AttributeID
				0x02, 0x00, 0x00, 0x00,
				// IndexRange
				0xff, 0xff, 0xff, 0xff,
				// QualifiedName
				0x00, 0x00,
				0xff, 0xff, 0xff, 0xff,

				// NodeID
				0x03,
				0x01, 0x00,
				0x0b, 0x00, 0x00, 0x00,
				0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65,
				// AttributeID
				0x03, 0x00, 0x00, 0x00,
				// IndexRange
				0xff, 0xff, 0xff, 0xff,
				// QualifiedName
				0x00, 0x00,
				0xff, 0xff, 0xff, 0xff,

				// NodeID
				0x03,
				0x01, 0x00,
				0x0b, 0x00, 0x00, 0x00,
				0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65,
				// AttributeID
				0x04, 0x00, 0x00, 0x00,
				// IndexRange
				0xff, 0xff, 0xff, 0xff,
				// QualifiedName
				0x00, 0x00,
				0xff, 0xff, 0xff, 0xff,
			},
		},
	}
	RunCodecTest(t, cases)
}

repository: gopcua/opcua

repo_name: gopcua/opcua


text:
package main

import (
	"fmt"
	"math"
)

// symmetric and lower use a packed representation that stores only
// the lower triangle.

type symmetric struct {
	order int
	ele   []float64
}

type lower struct {
	order int
	ele   []float64
}

// symmetric.print prints a square matrix from the packed representation,
// printing the upper triange as a transpose of the lower.
func (s *symmetric) print() {
	const eleFmt = "%10.5f "
	row, diag := 1, 0
	for i, e := range s.ele {
		fmt.Printf(eleFmt, e)
		if i == diag {
			for j, col := diag+row, row; col < s.order; j += col {
				fmt.Printf(eleFmt, s.ele[j])
				col++
			}
			fmt.Println()
			row++
			diag += row
		}
	}
}

// lower.print prints a square matrix from the packed representation,
// printing the upper triangle as all zeros.
func (l *lower) print() {
	const eleFmt = "%10.5f "
	row, diag := 1, 0
	for i, e := range l.ele {
		fmt.Printf(eleFmt, e)
		if i == diag {
			for j := row; j < l.order; j++ {
				fmt.Printf(eleFmt, 0.)
			}
			fmt.Println()
			row++
			diag += row
		}
	}
}

// choleskyLower returns the cholesky decomposition of a symmetric real
// matrix.  The matrix must be positive definite but this is not checked.
func (a *symmetric) choleskyLower() *lower {
	l := &lower{a.order, make([]float64, len(a.ele))}
	row, col := 1, 1
	dr := 0 // index of diagonal element at end of row
	dc := 0 // index of diagonal element at top of column
	for i, e := range a.ele {
		if i < dr {
			d := (e - l.ele[i]) / l.ele[dc]
			l.ele[i] = d
			ci, cx := col, dc
			for j := i + 1; j <= dr; j++ {
				cx += ci
				ci++
				l.ele[j] += d * l.ele[cx]
			}
			col++
			dc += col
		} else {
			l.ele[i] = math.Sqrt(e - l.ele[i])
			row++
			dr += row
			col = 1
			dc = 0
		}
	}
	return l
}

func main() {
	demo(&symmetric{3, []float64{
		25,
		15, 18,
		-5, 0, 11}})
	demo(&symmetric{4, []float64{
		18,
		22, 70,
		54, 86, 174,
		42, 62, 134, 106}})
}

func demo(a *symmetric) {
	fmt.Println("A:")
	a.print()
	fmt.Println("L:")
	a.choleskyLower().print()
}

//\Cholesky-decomposition\cholesky-decomposition-1.go

license: MIT

repository: CodeFreezr/gobyes

license_type: permissive

repo_name: CodeFreezr/gobyes

branch_name: refs/heads/master

gha_language: Go

extension: go


text:
package ed25119

import (
	"errors"

	"github.com/oasislabs/ed25519"
)

type PublicKey [PublicKeySize]byte

func (publicKey PublicKey) VerifySignature(data []byte, signature Signature) bool {
	return ed25519.Verify(publicKey[:], data, signature[:])
}

func (publicKey *PublicKey) UnmarshalBinary(bytes []byte) (err error) {
	if len(bytes) < PublicKeySize {
		return errors.New("not enough bytes")
	}

	copy(publicKey[:], bytes[:])

	return
}

const PublicKeySize = 32

repository: JakeSCahill/goshimmer

repo_name: JakeSCahill/goshimmer


text:
require libubootenv.inc
SRCREV = "9e121d41113dc0313452b2c00627097c46802c10"
PV_append = "+git${SRCPV}"

DEFAULT_PREFERENCE = "-1"

repository: afreof/meta-swupdate

repo_name: afreof/meta-swupdate

gha_license_id: MIT

extension: bb


text:
package main

import (
	//"fmt"
	"./plugins/admin"
	"./plugins/badges"
	"./plugins/bing"
	"./plugins/core"
	"./plugins/home"
	"./plugins/placeholder"
)

func (a *myIris) buildPluginPublicFolders() {
	mainFolders := []string{}
	folders := admin.GetPublicFolders()
	for folder := range folders {
		mainFolders = append(mainFolders,folders[folder])
	}
	folders = badges.GetPublicFolders()
	for folder := range folders {
		mainFolders = append(mainFolders,folders[folder])
	}
	folders = bing.GetPublicFolders()
	for folder := range folders {
		mainFolders = append(mainFolders,folders[folder])
	}
	folders = core.GetPublicFolders()
	for folder := range folders {
		mainFolders = append(mainFolders,folders[folder])
	}
	folders = home.GetPublicFolders()
	for folder := range folders {
		mainFolders = append(mainFolders,folders[folder])
	}
	folders = placeholder.GetPublicFolders()
	for folder := range folders {
		mainFolders = append(mainFolders,folders[folder])
	}
	a.pluginFolders = mainFolders
}

func (a *myIris) buildPluginRoutes() {
	mainRoutes := make([]interface{}, 0)
	routes := admin.GetRoutes()
	for route := range routes {
		mainRoutes = append(mainRoutes, routes[route])
	}
	routes = badges.GetRoutes()
	for route := range routes {
		mainRoutes = append(mainRoutes, routes[route])
	}
	routes = bing.GetRoutes()
	for route := range routes {
		mainRoutes = append(mainRoutes, routes[route])
	}
	routes = core.GetRoutes()
	for route := range routes {
		mainRoutes = append(mainRoutes, routes[route])
	}
	routes = home.GetRoutes()
	for route := range routes {
		mainRoutes = append(mainRoutes, routes[route])
	}
	routes = placeholder.GetRoutes()
	for route := range routes {
		mainRoutes = append(mainRoutes, routes[route])
	}
	a.mainRoutes = mainRoutes
}


text:
SUMMARY = "Emacs is the extensible, customizable, self-documenting real-time display editor"
HOMEPAGE = "https://www.gnu.org/software/emacs/"

LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"

SRC_URI = "https://ftp.gnu.org/pub/gnu/emacs/emacs-${PV}.tar.xz \
           file://0001-largefile.m4-Update-from-latest-gnulib.patch \
          "
SRC_URI:append:class-target = " file://usemake-docfile-native.patch"

SRC_URI[sha256sum] = "ee21182233ef3232dc97b486af2d86e14042dbb65bbc535df562c3a858232488"

CVE_CHECK_STATUS[CVE-2007-6109] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."

PACKAGECONFIG[gnutls] = "--with-gnutls=yes,--with-gnutls=no,gnutls"
PACKAGECONFIG[kerberos] = "--with-kerberos=yes,--with-kerberos=no,krb5"
PACKAGECONFIG[libgmp] = "--with-libgmp=yes,--with-libgmp=no,gmp"

PACKAGECONFIG ??= "gnutls kerberos libgmp"

# We could use --without-all but its better to
# split it into several packages (size of minimal doesnt change)
EXTRA_OECONF = " --with-x=no --with-dumping=none --disable-build-details"

# Disable seccomp, as its a default dependency for gnutls but it doesnt work when cross-compiling emacs
EXTRA_OECONF:append = " ${@bb.utils.contains('PACKAGECONFIG', 'gnutls', 'ac_cv_have_decl_SECCOMP_FILTER_FLAG_TSYNC=no ac_cv_have_decl_SECCOMP_SET_MODE_FILTER=no', '', d)}"

DEPENDS = "ncurses"
DEPENDS:append:class-target = " emacs-native"

inherit autotools mime-xdg pkgconfig

# Remove build host references to avoid target pollution
do_compile:prepend () {
    sed -i -e 's|${TMPDIR}||g' ${B}/src/config.h
    sed -i -e 's|${B}||g' ${B}/src/epaths.h
}

do_compile:class-native (){
    cd ${B}/lib-src
    oe_runmake make-docfile
    oe_runmake make-fingerprint
}
do_install:class-native(){
    install -d ${D}${bindir}
    install -m 755 ${B}/lib-src/make-docfile ${D}/${bindir}/
    install -m 755 ${B}/lib-src/make-fingerprint ${D}/${bindir}/
}

do_install:append(){
    # Delete systemd stuff, extend using DISTRO_FEATURES?
    rm -rf ${D}/${libdir}
    # Extra stuff which isnt needed
    rm -rf ${D}/${datadir}/metainfo
    rm -rf ${D}/${datadir}/info
    # Emacs copies files to ${D} while building, which were unpacked
    # by a different user, we need to restore those
    chown -R root:root ${D}${datadir}
}

# Use a similar strategy to how we build python:
# Create three packages
# minimal - A working lisp based text editor
# base - What would probably work for most
# full - A fully working emacs
# The lists of files are long but are worth it
# Installing "emacs" installs the base package
PACKAGE_BEFORE_PN = "${PN}-minimal ${PN}-base ${PN}-full"
RPROVIDES:${PN}-base = "${PN}"
RDEPENDS:${PN}-base:class-target = "${PN}-minimal"
RDEPENDS:${PN}-full:class-target = "${PN}"

# A minimal version of emacs that works
# These are kept sorted in alphabetical order
FILES:${PN}-minimal = " \
    ${bindir}/emacs* \
    ${datadir}/${BPN}/${PV}/etc/charsets/ \
    ${datadir}/${BPN}/${PV}/lisp/abbrev.elc \
    ${datadir}/${BPN}/${PV}/lisp/bindings.elc \
    ${datadir}/${BPN}/${PV}/lisp/buff-menu.elc \
    ${datadir}/${BPN}/${PV}/lisp/button.elc \
    ${datadir}/${BPN}/${PV}/lisp/case-table.elc \
    ${datadir}/${BPN}/${PV}/lisp/composite.elc \
    ${datadir}/${BPN}/${PV}/lisp/cus-face.elc \
    ${datadir}/${BPN}/${PV}/lisp/cus-start.elc \
    ${datadir}/${BPN}/${PV}/lisp/custom.elc \
    ${datadir}/${BPN}/${PV}/lisp/disp-table.elc \
    ${datadir}/${BPN}/${PV}/lisp/electric.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/backquote.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/byte-opt.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/byte-run.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/bytecomp.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/cconv.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/cl-generic.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/cl-preloaded.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/easymenu.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/eldoc.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/float-sup.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/gv.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/lisp-mode.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/lisp.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/macroexp.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/map-ynp.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/map.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/nadvice.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/regexp-opt.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/seq.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/shorthands.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/subr-x.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/syntax.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/tabulated-list.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/timer.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/vc/warnings.elc \
    ${datadir}/${BPN}/${PV}/lisp/env.elc \
    ${datadir}/${BPN}/${PV}/lisp/epa-hook.elc \
    ${datadir}/${BPN}/${PV}/lisp/facemenu.elc \
    ${datadir}/${BPN}/${PV}/lisp/faces.elc \
    ${datadir}/${BPN}/${PV}/lisp/files.elc \
    ${datadir}/${BPN}/${PV}/lisp/font-core.elc \
    ${datadir}/${BPN}/${PV}/lisp/font-lock.elc \
    ${datadir}/${BPN}/${PV}/lisp/format.elc \
    ${datadir}/${BPN}/${PV}/lisp/frame.elc \
    ${datadir}/${BPN}/${PV}/lisp/help.elc \
    ${datadir}/${BPN}/${PV}/lisp/image.elc \
    ${datadir}/${BPN}/${PV}/lisp/indent.elc \
    ${datadir}/${BPN}/${PV}/lisp/international/characters.elc \
    ${datadir}/${BPN}/${PV}/lisp/international/charprop.el \
    ${datadir}/${BPN}/${PV}/lisp/international/charscript.elc \
    ${datadir}/${BPN}/${PV}/lisp/international/cp51932.elc \
    ${datadir}/${BPN}/${PV}/lisp/international/emoji-zwj.elc \
    ${datadir}/${BPN}/${PV}/lisp/international/eucjp-ms.elc \
    ${datadir}/${BPN}/${PV}/lisp/international/iso-transl.elc \
    ${datadir}/${BPN}/${PV}/lisp/international/mule-cmds.elc \
    ${datadir}/${BPN}/${PV}/lisp/international/mule-conf.elc \
    ${datadir}/${BPN}/${PV}/lisp/international/mule.elc \
    ${datadir}/${BPN}/${PV}/lisp/international/uni*.el \
    ${datadir}/${BPN}/${PV}/lisp/isearch.elc \
    ${datadir}/${BPN}/${PV}/lisp/jit-lock.elc \
    ${datadir}/${BPN}/${PV}/lisp/jka-cmpr-hook.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/burmese.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/cham.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/chinese.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/cyrillic.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/czech.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/english.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/ethiopic.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/european.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/georgian.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/greek.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/hebrew.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/indian.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/japanese.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/khmer.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/korean.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/lao.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/misc-lang.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/romanian.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/sinhala.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/slovak.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/tai-viet.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/thai.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/tibetan.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/utf-8-lang.elc \
    ${datadir}/${BPN}/${PV}/lisp/language/vietnamese.elc \
    ${datadir}/${BPN}/${PV}/lisp/ldefs-boot.el \
    ${datadir}/${BPN}/${PV}/lisp/loaddefs.el \
    ${datadir}/${BPN}/${PV}/lisp/loadup.el \
    ${datadir}/${BPN}/${PV}/lisp/menu-bar.elc \
    ${datadir}/${BPN}/${PV}/lisp/minibuffer.elc \
    ${datadir}/${BPN}/${PV}/lisp/mouse.elc \
    ${datadir}/${BPN}/${PV}/lisp/newcomment.elc \
    ${datadir}/${BPN}/${PV}/lisp/obarray.elc \
    ${datadir}/${BPN}/${PV}/lisp/paren.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/elisp-mode.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/prog-mode.elc \
    ${datadir}/${BPN}/${PV}/lisp/register.elc \
    ${datadir}/${BPN}/${PV}/lisp/replace.elc \
    ${datadir}/${BPN}/${PV}/lisp/rfn-eshadow.elc \
    ${datadir}/${BPN}/${PV}/lisp/select.elc \
    ${datadir}/${BPN}/${PV}/lisp/simple.elc \
    ${datadir}/${BPN}/${PV}/lisp/simple.elc \
    ${datadir}/${BPN}/${PV}/lisp/startup.elc \
    ${datadir}/${BPN}/${PV}/lisp/subr.elc \
    ${datadir}/${BPN}/${PV}/lisp/tab-bar.elc \
    ${datadir}/${BPN}/${PV}/lisp/term/tty-colors.elc \
    ${datadir}/${BPN}/${PV}/lisp/term/xterm.elc \
    ${datadir}/${BPN}/${PV}/lisp/textmodes/fill.elc \
    ${datadir}/${BPN}/${PV}/lisp/textmodes/page.elc \
    ${datadir}/${BPN}/${PV}/lisp/textmodes/paragraphs.elc \
    ${datadir}/${BPN}/${PV}/lisp/textmodes/text-mode.elc \
    ${datadir}/${BPN}/${PV}/lisp/tooltip.elc \
    ${datadir}/${BPN}/${PV}/lisp/uniquify.elc \
    ${datadir}/${BPN}/${PV}/lisp/vc/ediff-hook.elc \
    ${datadir}/${BPN}/${PV}/lisp/vc/vc-hooks.elc \
    ${datadir}/${BPN}/${PV}/lisp/version.elc \
    ${datadir}/${BPN}/${PV}/lisp/widget.elc \
    ${datadir}/${BPN}/${PV}/lisp/window.elc \
    ${prefix}/libexec \
"

# What works for "most" is relative, but this can be easily extended if needed
FILES:${PN}-base = " \
    ${datadir}/${BPN}/${PV}/etc/e \
    ${datadir}/${BPN}/${PV}/etc/forms \
    ${datadir}/${BPN}/${PV}/etc/srecode \
    ${datadir}/${BPN}/${PV}/etc/themes/adwaita-theme.el \
    ${datadir}/${BPN}/${PV}/etc/themes/deeper-blue-theme.el \
    ${datadir}/${BPN}/${PV}/etc/themes/light-blue-theme.el \
    ${datadir}/${BPN}/${PV}/etc/themes/misterioso-theme.el \
    ${datadir}/${BPN}/${PV}/etc/themes/tango-theme.el \
    ${datadir}/${BPN}/${PV}/etc/themes/wheatgrass-theme.el \
    ${datadir}/${BPN}/${PV}/etc/themes/wombat-theme.el \
    ${datadir}/${BPN}/${PV}/lisp/ansi-color.elc \
    ${datadir}/${BPN}/${PV}/lisp/auth-source.elc \
    ${datadir}/${BPN}/${PV}/lisp/calendar/iso8601.elc \
    ${datadir}/${BPN}/${PV}/lisp/calendar/parse-time.elc \
    ${datadir}/${BPN}/${PV}/lisp/calendar/time-date.elc \
    ${datadir}/${BPN}/${PV}/lisp/cedet \
    ${datadir}/${BPN}/${PV}/lisp/comint.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/cl-lib.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/cl-macs.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/cl-seq.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/eieio-core.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/eieio.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/inline.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/pcase.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/ring.elc \
    ${datadir}/${BPN}/${PV}/lisp/emacs-lisp/smie.elc \
    ${datadir}/${BPN}/${PV}/lisp/files-x.elc \
    ${datadir}/${BPN}/${PV}/lisp/format-spec.elc \
    ${datadir}/${BPN}/${PV}/lisp/json.elc \
    ${datadir}/${BPN}/${PV}/lisp/ls-lisp.elc \
    ${datadir}/${BPN}/${PV}/lisp/net/tramp-compat.elc \
    ${datadir}/${BPN}/${PV}/lisp/net/tramp-integration.elc \
    ${datadir}/${BPN}/${PV}/lisp/net/tramp-loaddefs.el \
    ${datadir}/${BPN}/${PV}/lisp/net/tramp-sh.elc \
    ${datadir}/${BPN}/${PV}/lisp/net/tramp.elc \
    ${datadir}/${BPN}/${PV}/lisp/net/trampver.elc \
    ${datadir}/${BPN}/${PV}/lisp/password-cache.elc \
    ${datadir}/${BPN}/${PV}/lisp/pcomplete.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/*asm* \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/*perl* \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cc-align.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cc-cmds.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cc-defs.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cc-engine.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cc-fonts.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cc-guess.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cc-menus.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cc-mode.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cc-styles.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cc-vars.elc \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/cpp* \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/executable* \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/make* \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/prog* \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/python* \
    ${datadir}/${BPN}/${PV}/lisp/progmodes/sh-script* \
    ${datadir}/${BPN}/${PV}/lisp/shell.elc \
    ${datadir}/${BPN}/${PV}/lisp/subdirs.el \
    ${datadir}/${BPN}/${PV}/site-lisp/ \
"

# Restore FILES for the full package to catch everything left
FILES:${PN}-full = "${FILES:${PN}}"
FILES:${PN}-full:append = " ${datadir}/icons"

# The following does NOT build a native emacs.
# It only builds some parts of it that are
# required to by the build for target emacs.
BBCLASSEXTEND = "native"

repository: openembedded/meta-openembedded

repo_name: openembedded/meta-openembedded

gha_language: BitBake


text:
SUMMARY = "Socket.IO integration for Flask applications"
HOMEPAGE = "https://github.com/miguelgrinberg/Flask-SocketIO/"
SECTION = "devel/python"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=38cc21254909604298ce763a6e4440a0"

inherit pypi python_setuptools_build_meta

PYPI_PACKAGE = "Flask-SocketIO"

SRC_URI[sha256sum] = "1cbd379c9bf68ac37bcc4750d01708922fa6365d13a5447d3f8893792879410c"

RDEPENDS:${PN} += "\
    ${PYTHON_PN}-flask \
    ${PYTHON_PN}-socketio \
    "


text:
DESCRIPTION = "ppp scripts for dreambox builtin modem"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Felix Domke <tmbinc@elitedvb.net>"
PV = "0.1"
PR = "r0"

#yet just usable for dm500hd modem!
#for other machines the serial port in "options" file should be fixed...

S = "${WORKDIR}"

SRC_URI = "file://options file://pap-secrets file://dial.modem \
	file://disconnect.modem file://01peerdns file://01peerdns-remove"

do_install() {
	install -d ${D}/etc/ppp
	for i in dial.modem disconnect.modem; do
		install -m 0755 ${S}/$i ${D}/etc/ppp/
	done;
	for i in options pap-secrets; do
		install -m 0644 ${S}/$i ${D}/etc/ppp/
	done;
	install -d ${D}/etc/ppp/ip-up.d
	install -m 0755 ${S}/01peerdns ${D}/etc/ppp/ip-up.d
	install -d ${D}/etc/ppp/ip-down.d
	install -m 0755 ${S}/01peerdns-remove ${D}/etc/ppp/ip-down.d
}

PACKAGE_ARCH := "${MACHINE_ARCH}"

gha_language: C


text:
DESCRIPTION = "Init scripts for use on cloud images"
HOMEPAGE = "https://launchpad.net/cloud-init"
SECTION = "devel/python"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c6dd79b6ec2130a3364f6fa9d6380408"

PR = "r0"

SRC_URI = "https://launchpad.net/cloud-init/trunk/${PV}/+download/${BPN}-${PV}.tar.gz \
           file://distros-add-windriver-skeleton-distro-file.patch"

SRC_URI[md5sum] = "7cd3ad83f18f03d1b4b5f65f67fd795b"
SRC_URI[sha256sum] = "75be8cbff1431883227c05356cb69400f20bbb2666fd05e085f846ecf1d153cb"

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

DISTUTILS_INSTALL_ARGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '--init-system=sysvinit_deb', '', d)}"
DISTUTILS_INSTALL_ARGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--init-system=systemd', '', d)}"

MANAGE_HOSTS ?= "False"
HOSTNAME ?= ""

do_install_prepend() {
    sed -e 's:/lib/${BPN}:${base_libdir}/${BPN}:' -i ${S}/setup.py
}

do_install_append() {
    ln -s ${libdir}/${BPN}/uncloud-init ${D}${sysconfdir}/cloud/uncloud-init
    ln -s ${libdir}/${BPN}/write-ssh-key-fingerprints ${D}${sysconfdir}/cloud/write-ssh-key-fingerprints
}

inherit setuptools3 update-rc.d

PACKAGES += "${PN}-systemd"

FILES_${PN} += "${sysconfdir}/* \
                ${datadir}/*"

FILES_${PN}-systemd += "${systemd_unitdir}/*"

INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME_${BPN} = "cloud-init"

RDEPENDS_${PN} = "dmidecode \
		  python3-certifi \
		  python3-chardet \
		  python3-configobj \
		  python3-idna \
		  python3-modules \
		  python3-pyyaml \
		  python3-requests \
		  python3-urllib3 \
		  python3-six \
		  python3-jinja2 \
		 "

DEPENDS += "python3-certifi-native \
	    python3-chardet-native \
	    python3-idna-native \
	    python3-jinja2-native \
	    python3-markupsafe-native \
	    python3-requests-native \
	    python3-setuptools-native \
	    python3-six-native \
	    python3-urllib3-native \
	    python3-pyyaml-native \
          "

repository: Linaro/meta-ledge

repo_name: Linaro/meta-ledge

branch_name: refs/heads/hardknott

gha_language: Shell


text:
@article{antal_iotables_2020,
	title = {{iotables R package for economic impact assessments}},
	shorttitle = {iotables R package},
	language = {English},
	url = {https://iotables.dataobservatory.eu/},
	author = {Antal, Daniel},
	publisher = {{dataobservatory.eu}},
	year = {2020}
}

branch_name: refs/heads/main

extension: bib


text:
PR = "r1"
LICENSE = "Apache-2.0 & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10 \
                    file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \
                   "

inherit systemd
inherit obmc-phosphor-systemd

DEPENDS += "systemd"
DEPENDS += "phosphor-ipmi-flash"
RDEPENDS:${PN} += "bash"

PROVIDES += "virtual/bios-update"
RPROVIDES:${PN} += "virtual/bios-update"

SRC_URI += " file://bios-verify.sh \
             file://bios-update.sh \
             file://phosphor-ipmi-flash-bios-verify.service \
             file://phosphor-ipmi-flash-bios-update.service \
             file://config-bios.json \
           "

FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-bios.json"

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

    install -d ${D}${systemd_system_unitdir}
    install -m 0644 ${WORKDIR}/phosphor-ipmi-flash-bios-verify.service ${D}${systemd_system_unitdir}
    install -m 0644 ${WORKDIR}/phosphor-ipmi-flash-bios-update.service ${D}${systemd_system_unitdir}

    install -d ${D}${datadir}/phosphor-ipmi-flash
    install -m 0644 ${WORKDIR}/config-bios.json ${D}${datadir}/phosphor-ipmi-flash
}

SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "phosphor-ipmi-flash-bios-verify.service phosphor-ipmi-flash-bios-update.service"

repository: openbmc/openbmc

repo_name: openbmc/openbmc

gha_license_id: NOASSERTION

gha_language: Python


text:
package receiver

import (
	"fmt"
	"net/url"
	"reflect"

	"gopkg.in/yaml.v2"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

	"github.com/giantswarm/microerror"

	alertmanagerconfig "github.com/giantswarm/prometheus-meta-operator/pkg/alertmanager/config"
	promcommonconfig "github.com/giantswarm/prometheus-meta-operator/pkg/prometheus/common/config"
	"github.com/giantswarm/prometheus-meta-operator/service/key"
)

func toReceiver(cfg alertmanagerconfig.Config, cluster metav1.Object, installation string, opsgenieKey string) (alertmanagerconfig.Receiver, error) {
	u, err := url.Parse(fmt.Sprintf("https://api.opsgenie.com/v2/heartbeats/%s/ping", key.HeartbeatName(cluster, installation)))
	if err != nil {
		return alertmanagerconfig.Receiver{}, microerror.Mask(err)
	}

	httpConfig := &promcommonconfig.HTTPClientConfig{}
	if cfg.Global != nil && cfg.Global.HTTPConfig != nil {
		httpConfigCp, err := cloneHttpConfig(cfg.Global.HTTPConfig)
		if err != nil {
			return alertmanagerconfig.Receiver{}, microerror.Mask(err)
		}
		httpConfig = httpConfigCp
	}
	httpConfig.BasicAuth = &promcommonconfig.BasicAuth{
		Password: promcommonconfig.Secret(opsgenieKey),
	}

	r := alertmanagerconfig.Receiver{
		Name: key.HeartbeatReceiverName(cluster, installation),
		WebhookConfigs: []*alertmanagerconfig.WebhookConfig{
			&alertmanagerconfig.WebhookConfig{
				URL: &alertmanagerconfig.URL{
					URL: u,
				},
				HTTPConfig: httpConfig,
				NotifierConfig: alertmanagerconfig.NotifierConfig{
					VSendResolved: false,
				},
			},
		},
	}

	return r, nil
}

// EnsureCreated ensure receiver exist in cfg.Receivers and is up to date. Returns true when changes have been made to cfg.
// Return untouched cfg and false when no changes are made.
func EnsureCreated(cfg alertmanagerconfig.Config, cluster metav1.Object, installation, opsgenieKey string) (alertmanagerconfig.Config, bool, error) {
	desired, err := toReceiver(cfg, cluster, installation, opsgenieKey)
	if err != nil {
		return cfg, false, microerror.Mask(err)
	}

	current, _ := getReceiver(cfg, desired)

	if current != nil {
		if !reflect.DeepEqual(*current, desired) {
			*current = desired
			return cfg, true, nil
		}
	} else {
		cfg.Receivers = append(cfg.Receivers, &desired)
		return cfg, true, nil
	}

	return cfg, false, nil
}

// EnsureDeleted ensure receiver is removed from cfg.Receivers. Returns true when changes have been made to cfg.
// Return untouched cfg and false when no changes are made.
func EnsureDeleted(cfg alertmanagerconfig.Config, cluster metav1.Object, installation, opsgenieKey string) (alertmanagerconfig.Config, bool, error) {
	desired, err := toReceiver(cfg, cluster, installation, opsgenieKey)
	if err != nil {
		return cfg, false, microerror.Mask(err)
	}

	current, index := getReceiver(cfg, desired)

	if current != nil {
		cfg.Receivers = append(cfg.Receivers[:index], cfg.Receivers[index+1:]...)
		return cfg, true, nil
	}

	return cfg, false, nil
}

func getReceiver(cfg alertmanagerconfig.Config, receiver alertmanagerconfig.Receiver) (*alertmanagerconfig.Receiver, int) {
	for index, r := range cfg.Receivers {
		if r.Name == receiver.Name {
			return r, index
		}
	}

	return nil, -1
}

func cloneHttpConfig(hc *promcommonconfig.HTTPClientConfig) (*promcommonconfig.HTTPClientConfig, error) {
	s, err := yaml.Marshal(hc)
	if err != nil {
		return nil, microerror.Mask(err)
	}
	r := &promcommonconfig.HTTPClientConfig{}
	err = yaml.Unmarshal(s, r)
	if err != nil {
		return nil, microerror.Mask(err)
	}
	return r, nil
}


text:
@article{Harrison_2008,
 author = {Harrison, Robert L. and Puttler, Benjamin and Popham, Holly J. R.},
 title = {Genomic sequence analysis of a fast-killing isolate of Spodoptera frugiperda multiple nucleopolyhedrovirus},
 journal = {Journal of General Virology},
 publisher = {Microbiology Society},
 year = {2008},
 month = {mar},
 number = {3},
 volume = {89},
 pages = {775--790},
 url = {https://doi.org/10.1099%2Fvir.0.83566-0},
 doi = {10.1099/vir.0.83566-0}
}


text:
SUMMARY = "Display dialog boxes from the commandline and shell scripts"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
DEPENDS = "gtk+ intltool-native dconf gsettings-desktop-schemas glib-2.0 startup-notification dbus-glib vte"

inherit gnomebase gettext pkgconfig

SRC_URI[archive.md5sum] = "8a450458cb833741cf52267d4a208f9a"
SRC_URI[archive.sha256sum] = "f5383060730f1de70af35e917f82d5b6a14d963ad9cfd6a0e705f90011645a23"

SRC_URI += "file://remove_yelp_macro.patch file://makefile_remove_yelp_macro.patch"

EXTRA_OECONF += "--disable-search-provider --without-nautilus-extension"

RRECOMMENDS_${PN} += "gnome-common-schemas"

FILES_${PN} += " \
    ${libdir}/systemd/user/* \
    ${datadir}/dbus-1/* \
    ${datadir}/appdata/* \
"

repository: Varcain/meta-cinnamon

repo_name: Varcain/meta-cinnamon


text:
@book{landwehrHistorischeDiskursanalyse2018,
  langid = {Deutsch},
  location = {{Frankfurt New York}},
  title = {Historische Diskursanalyse},
  edition = {2., aktualisierte},
  isbn = {978-3-593-50865-8},
  abstract = {Geschichte ist nicht nur das, was geschehen ist - Geschichte ist auch das, was zu einzelnen Ereignissen aufgezeichnet worden ist, und das, worüber man in welcher Weise kommuniziert und debattiert hat. Geschichte ist somit nur in vermittelter Form zugänglich. Achim Landwehr erklärt zunächst die Wurzeln der historischen Diskursanalyse, die sich intensiv mit diesen Fragen beschäftigt: von der Begriffsgeschichte Reinhart Kosellecks über die Arbeiten Hayden Whites bis zu den Studien Michel Foucaults. Auf dieser Grundlage zeigt er, welchen Nutzen die analytische Kategorie des Diskurses für die Geschichtswissenschaften hat. Zudem stellt er dar, wie sich empirisch fundierte historische Diskursanalysen im Studium durchführen lassen und was es dabei zu beachten gilt. Für alle, die sich mit dieser einflussreichen Theorie und Methode vertraut machen wollen, ist der Band ein unverzichtbares Standardwerk."Eine gut strukturierte und dokumentierte Einführung …für Studenten" Das Historisch-Politische Buch},
  publisher = {{Campus Verlag}},
  date = {2018-04-12},
  keywords = {201801: Programm,5402 : Geschichte / Theorie u. Methoden,Begriffsgeschichte,Discourse analysis,Diskurs,Diskursanalyse,Geschichte,Geschichtsforschung,Geschichtsschrebung,Geschichtswissenschaft,Geschichtswissenschaft ; Diskursanalyse,Historiografie,Michel Foucault,Redeanalyse,Reinhart Koselleck},
  author = {Landwehr, Achim}
}

@article{orlowReviewIndustryIdeology1989,
  title = {Review of {{Industry}} and {{Ideology}}: {{IG Farben}} in the {{Nazi Era}}},
  volume = {19},
  issn = {0022-1953},
  url = {https://www.jstor.org/stable/204379},
  doi = {10.2307/204379},
  shorttitle = {Review of {{Industry}} and {{Ideology}}},
  number = {3},
  journaltitle = {The Journal of Interdisciplinary History},
  urldate = {2019-03-05},
  date = {1989},
  pages = {509-511},
  author = {Orlow, Dietrich},
  editora = {Hayes, Peter},
  editoratype = {collaborator},
  file = {C:\\Users\\hackl\\Zotero\\storage\\M34D568F\\Orlow - 1989 - Review of Industry and Ideology IG Farben in the .pdf}
}

@book{perzVerwalteteGewaltTatigkeitsbericht2013,
  langid = {german},
  location = {{Wien}},
  title = {Verwaltete Gewalt: der Tätigkeitsbericht des Verwaltungsführers im Konzentrationslager Mauthausen 1941 bis 1944},
  isbn = {978-3-9502824-2-9},
  url = {http://d-nb.info/1030440042/04},
  shorttitle = {Verwaltete Gewalt},
  abstract = {Anmerkungen: Literaturverz. S. 289 - 305},
  pagetotal = {306},
  series = {(AT-OBV)AC02989785 8},
  publisher = {{Bundesministerium für Inneres, AbtIV/7}},
  urldate = {2019-03-05},
  date = {2013},
  keywords = {Administration,Deutsches Reich,Geschichte 1941-1944,Konzentrationslager,Konzentrationslager Mauthausen,Konzentrationslager Mauthausen ; SS ; Verwaltung ; Geschichte 1941-1944 ; Quelle,Mauthausen,Öffentliche Verwaltung,Öffentlicher Dienst,Paramilitärischer Verband,Quelle,Schutz-Staffel,Schutzstaffel,Schutzstaffeln,SS,Staatsverwaltung,Verwalten,Verwaltung,Verwaltungssystem},
  author = {Perz, Bertrand}
}

@book{freundZwangsarbeiterUndZwangsarbeiterinnen2004,
  location = {{Wien [u.a.]}},
  title = {Zwangsarbeiter Und {{Zwangsarbeiterinnen}} Auf Dem {{Gebiet}} Der {{Republik Österreich}} 1939 - 1945},
  isbn = {3-7029-0530-8 978-3-7029-0530-9 3-486-56799-3},
  series = {Zwangsarbeit Auf Dem {{Gebiet}} Der {{Republik Österreich}} ; 1; {{Veröffentlichungen}} Der {{Österreichischen Historikerkommission}} : 26,1 ; 26,1},
  publisher = {{Oldenbourg}},
  date = {2004},
  keywords = {Geschichte 1939-1945,Nationalsozialismus,Österreich,Zwangsarbeiter,Zwangsarbeiterin},
  author = {Freund, Florian, 1953- and Perz, Bertrand, 1958- and Spoerer, Mark, 1963-}
}

@book{perzKonzentrationslagerOberosterreich19382007,
  location = {{Linz}},
  title = {Konzentrationslager in {{Oberösterreich}} 1938 Bis 1945},
  isbn = {978-3-900313-86-9},
  pagetotal = {244},
  number = {8},
  series = {Oberösterreich in Der {{Zeit}} Des {{Nationalsozialismus}}},
  publisher = {{OÖLA}},
  date = {2007},
  keywords = {20th century,Austria Upper Austria,Concentration camps,History,World War; 1939-1945},
  author = {Perz, Bertrand and Freund, Florian},
  note = {OCLC: ocn192080948}
}

@book{grenvilleIdeaPerfection1999,
  langid = {english},
  location = {{Sydney}},
  title = {The Idea of Perfection},
  isbn = {978-0-330-39261-7},
  publisher = {{Picador}},
  date = {1999},
  author = {Grenville, Kate},
  note = {OCLC: 705774893}
}

@incollection{geertzReligionCulturalSystem1973,
  langid = {english},
  location = {{New York}},
  title = {Religion as a Cultural System},
  shorttitle = {The Interpretation of Cultures},
  booktitle = {The Interpretation of Cultures: Selected Essays},
  publisher = {{Basic Books}},
  date = {1973},
  author = {Geertz, Clifford},
  file = {C:\\Users\\hackl\\Zotero\\storage\\PTSFDWX2\\Geertz_1993_The interpretation of cultures.pdf},
  note = {OCLC: 611762171}
}

@book{cartwrightHowLawsPhysics1983,
  langid = {Englisch},
  location = {{Oxford}},
  title = {How the Laws of Physics Lie},
  isbn = {978-0-19-824704-3},
  abstract = {In this sequence of philosophical essays about natural science, the author argues that fundamental explanatory laws, the deepest and most admired successes of modern physics, do not in fact describe regularities that exist in nature. Cartwright draws from many real-life examples to propound a novel distinction: that theoretical entities, and the complex and localized laws that describe them, can be interpreted realistically, but the simple unifying laws of basic theory cannot.},
  pagetotal = {232},
  publisher = {{Clarendon Press}},
  date = {1983},
  author = {Cartwright, Nancy}
}

@collection{morrison1999,
  location = {{Cambridge}},
  title = {Models as {{Mediators}}: {{Perspectives}} on {{Natural}} and {{Social Science}}},
  volume = {52},
  isbn = {978-0-521-65097-7 978-0-521-65571-2},
  shorttitle = {Models as Mediators},
  pagetotal = {401},
  series = {Ideas in {{Context}}},
  publisher = {{Cambridge University Press}},
  date = {1999},
  keywords = {Mathematical models,Physics,Science},
  editor = {Morrison, Margaret and Morgan, Mary S.}
}

@incollection{leff1972,
  title = {Models {{Inherent}} in {{History}}},
  booktitle = {The Rules of the {{Game}}},
  date = {1972},
  pages = {148--74},
  author = {Leff, Gordon},
  editor = {Shanin, Theodor}
}

@book{finleyAncientHistoryEvidence1986,
  location = {{New York}},
  title = {Ancient {{History}}: {{Evidence}} and {{Models}}},
  publisher = {{Viking}},
  date = {1986},
  author = {Finley, M. I.}
}

@incollection{mironescoRoleModelsComparative2002,
  langid = {english},
  location = {{Boston}},
  title = {The Role of Models in Comparative Politics},
  booktitle = {The Explanatory Power of Models : Bridging the Gap between Empirical and Theoretical Research in the Social Sciences},
  publisher = {{Kluwer}},
  date = {2002},
  pages = {181--95},
  author = {Mironesco, Christine},
  editor = {Franck, Robert},
  file = {C:\\Users\\hackl\\Zotero\\storage\\MFE2QS3B\\AC04942283.html}
}

@online{minskyMatterMindModels1995,
  title = {Matter, {{Mind}} and {{Models}}},
  url = {http://medg.lcs.mit.edu/people/doyle/gallery/minsky.mmm.html},
  urldate = {2003-01-20},
  date = {1995},
  author = {Minsky, Marvin L.},
  note = {Rev. version of the essay
in Semantic Information Processing, ed. Marvin Minsky. Cambridge, MA: MIT Press, 1968}
}

@incollection{mccarty2002,
  location = {{Leiden}},
  title = {Network with a {{Thousand Entrances}}: {{Commentary}} in an {{Electronic Age}}?},
  booktitle = {The {{Classical Commentary}}: {{Histories}}, {{Practices}}, {{Theory}}},
  publisher = {{Brill}},
  date = {2002},
  pages = {359--40},
  author = {McCarty, Willard},
  editor = {Gibson, Roy K. and Shuttleworth Kraus, Christina}
}

@book{polanyi1966,
  langid = {english},
  location = {{New York}},
  title = {The {{Tacit Dimension}}},
  isbn = {978-0-385-06988-5},
  publisher = {{Doubleday}},
  date = {1966},
  author = {Polanyi, Michael},
  note = {OCLC: 374908}
}

@unpublished{minskyConsciousMachines1991,
  title = {Conscious {{Machines}}},
  url = {http://kuoi.asui.uidaho.edu/~kamikaze/doc/minsky.html},
  eventtitle = {Proceedings, {{National Research Council}} of {{Canada}}, 75th {{Anniversary Symposium}} on {{Science}} in {{Society}}},
  urldate = {2004-04-22},
  date = {1991},
  author = {Minsky, Marvin L.}
}

@incollection{smith1995,
  location = {{Englewood Cliffs, N.J}},
  title = {Limits of {{Correctness}} in {{Computers}}},
  isbn = {978-0-13-103110-4},
  booktitle = {Computers, {{Ethics}} \& {{Social Values}}},
  publisher = {{Prentice Hall}},
  date = {1995/1985},
  pages = {456--469},
  keywords = {Computer security,Computers and civilization},
  author = {Smith, Brian Cantwell},
  editor = {Johnson, Deborah G. and Nissenbaum, Helen Fay},
  note = {Originally published in Computers and Society (ACM SIGCAS) 14/15: 18–
26}
}

@article{fetzer1999,
  eprinttype = {jstor},
  eprint = {27903621},
  title = {The {{Role}} of {{Models}} in {{Computer Science}}},
  volume = {82},
  issn = {00269662},
  abstract = {[Taking Brian Cantwell Smith's study, "Limits of Correctness in Computers," as its point of departure, this article explores the role of models in computer science. Smith identifies two kinds of models that play an important role, where specifications are models of problems and programs are models of possible solutions. Both presuppose the existence of conceptualizations as ways of conceiving the world "in certain delimited ways." But high-level programming languages also function as models of virtual (or abstract) machines, while low-level programming languages function as models of causal (or physical) machines. The resulting account suggests that sets of models embedded within models are indispensable for computer programming.]},
  number = {1},
  journaltitle = {The Monist},
  date = {1999},
  pages = {20-36},
  author = {Fetzer, James H.}
}

@incollection{groenewold1960,
  location = {{Dordrecht}},
  title = {The {{Model}} in {{Physics}}},
  booktitle = {The {{Concept}} and the {{Role}} of the {{Model inMathematics}} and the {{Natural Sciences}}},
  publisher = {{D.Reidel}},
  date = {1960},
  pages = {98--103},
  author = {Groenewold, H. J.},
  editor = {Friedenthal, Hans},
  note = {groenewold1960}
}

@book{goodmanLanguagesArt1976,
  location = {{Indianapolis, IN}},
  title = {Languages of Art},
  shorttitle = {Languages of Art},
  publisher = {{Hackett}},
  date = {1976},
  author = {Goodman, Nelson},
  note = {OCLC: 552621437}
}

@book{achinsteinConceptsSciencePhilosophical1968,
  langid = {english},
  location = {{Baltimore}},
  title = {Concepts of {{Science}}: {{A Philosophical Analysis}}},
  isbn = {978-0-8018-1273-6},
  shorttitle = {Concepts of {{Science}}},
  abstract = {While the scientist works essentially with what he observes, with the measurable properties of nature, the philosopher of science is concerned to formulate the conceptual foundations of the scientific method. In this systematic study, Professor Achinstein analyzes such concepts as definitions, theories, and models, and contrasts his view with currently held positions that he finds inadequate.},
  pagetotal = {292},
  publisher = {{Johns Hopkins University Press}},
  date = {1968},
  keywords = {Philosophy / General,Science / Philosophy & Social Aspects},
  author = {Achinstein, Peter},
  eprinttype = {googlebooks}
}

@book{zimanRealScienceWhat2000,
  langid = {english},
  location = {{Cambridge}},
  title = {Real {{Science}}: {{What}} It {{Is}} and {{What}} It {{Means}}},
  isbn = {978-0-521-77229-7},
  shorttitle = {Real Science},
  abstract = {Literaturverz. S. 356 - 383},
  publisher = {{Cambridge University Press}},
  date = {2000},
  keywords = {Science,Gesellschaft,Naturwissenschaftliches Weltbild,Naturwissenschaftliches Weltbild; Naturwissenschaften; Weltbild,Science ; Methodology,Science ; Philosophy,Science Methodology Automatisch aus GBV_2011-10 2012-06-29,Science Philosophy Automatisch aus GBV_2011-10 2012-06-29,Scientific Community,Wissenschaft,Wissenschaft Methode,Wissenschaft; Methode ; Wissenschaftssoziologie,Wissenschaftliche Fachgemeinschaft,Wissenschaftliche Gemeinschaft,Wissenschaftsgemeinschaft,Wissenschaftssoziologie},
  author = {Ziman, John M.}
}

@book{toulminPhilosophyScienceIntroduction1953,
  langid = {english},
  location = {{London}},
  title = {The {{Philosophy}} of {{Science}} : {{An Introduction}}},
  series = {Hutchinson's {{University}} Library : {{Philosophy}}},
  publisher = {{Hutchinson University Library}},
  date = {1953},
  keywords = {Evolutionäre Erkenntnistheorie,Wissenschaftstheorie},
  author = {Toulmin, Stephen}
}

@incollection{gentner2002,
  langid = {english},
  location = {{Boston, MA}},
  title = {Analogy in {{Scientific Discovery}}: {{The Case}} of {{Johannes Kepler}}},
  isbn = {978-1-4615-0605-8},
  url = {https://doi.org/10.1007/978-1-4615-0605-8_2},
  shorttitle = {Analogy in {{Scientific Discovery}}},
  booktitle = {Model-{{Based Reasoning}}: {{Science}}, {{Technology}}, {{Values}}},
  publisher = {{Springer US}},
  urldate = {2019-03-18},
  date = {2002},
  pages = {21-39},
  keywords = {Base Domain,Conceptual Change,Motive Power,Planetary System,Scientific Discovery},
  author = {Gentner, Dedre},
  editor = {Magnani, Lorenzo and Nersessian, Nancy J.},
  note = {gentner2002}
}

@article{hoffmanMonsterAnalogies1995,
  langid = {english},
  title = {Monster {{Analogies}}},
  volume = {16},
  url = {http://www.aaai.org.Library/Magazine/Vol16.16 03/vol.16 03.html},
  number = {3},
  journaltitle = {AI Magazine},
  urldate = {2003-09-18},
  date = {1995},
  pages = {11--35},
  author = {Hoffman, Robert R},
  file = {C:\\Users\\hackl\\Zotero\\storage\\LWJQ4IW7\\Hoffman - Monster Analogies.pdf}
}

@book{williamsProblemsKnowledgeCritical2001,
  location = {{New York}},
  title = {Problems of Knowledge: A Critical Introduction to Epistemology},
  isbn = {978-0-19-289256-0},
  shorttitle = {Problems of Knowledge},
  pagetotal = {276},
  publisher = {{Oxford University Press}},
  date = {2001},
  keywords = {Knowledge; Theory of},
  author = {Williams, Michael},
  note = {OCLC: ocm44563137}
}

@book{sowaKnowledgeRepresentationLogical2000,
  langid = {english},
  location = {{Pacific Grove, CA}},
  title = {Knowledge {{Representation}}: {{Logical}}, {{Philosophical}}, and {{Computational Foundations}}},
  isbn = {978-0-534-94965-5},
  shorttitle = {Knowledge Representation},
  pagetotal = {594},
  publisher = {{Brooks/Cole}},
  date = {2000},
  author = {Sowa, John F.},
  note = {OCLC: 255310405}
}

@inreference{maxwellDiagram1911,
  title = {Diagram},
  edition = {11th edn.},
  booktitle = {Encyclopaedia {{Britannica}}},
  date = {1911},
  pages = {146--9},
  author = {Maxwell, James Clerk}
}

@book{netzShapingDeductionGreek1999,
  langid = {english},
  location = {{Cambridge}},
  title = {The Shaping of Deduction in {{Greek}} Mathematics: A Study in Cognitive History},
  isbn = {978-0-521-54120-6 978-0-521-62279-0},
  shorttitle = {The Shaping of Deduction in {{Greek}} Mathematics},
  pagetotal = {327},
  number = {51},
  series = {Ideas in Context},
  publisher = {{Cambridge Univ. Press}},
  date = {1999},
  author = {Netz, Reviel},
  file = {C:\\Users\\hackl\\Zotero\\storage\\PFEB9QXI\\Netz_2011_The shaping of deduction in Greek mathematics.pdf},
  note = {OCLC: 838313675}
}

@book{toulminUsesArgument1958,
  location = {{Cambridge, U.K. ; New York}},
  title = {The Uses of Argument},
  edition = {Updated ed},
  isbn = {978-0-521-82748-5 978-0-521-53483-3},
  pagetotal = {247},
  publisher = {{Cambridge University Press}},
  date = {1958},
  keywords = {Logic,Reasoning},
  author = {Toulmin, Stephen}
}

@article{kirschenbaumEditorIntroductionImageBased2002,
  eprinttype = {jstor},
  eprint = {30204693},
  title = {Editor's {{Introduction}}: {{Image}}-{{Based Humanities Computing}}},
  volume = {36},
  issn = {00104817},
  number = {1},
  journaltitle = {Computers and the Humanities},
  date = {2002},
  pages = {3-6},
  author = {Kirschenbaum, Matthew G.}
}

@book{simonSciencesArtificial1969,
  langid = {english},
  location = {{Cambridge (Mass.); London}},
  title = {The Sciences of the Artificial},
  isbn = {978-0-262-69023-2 978-0-262-19051-0},
  publisher = {{The MIT Press}},
  date = {1969},
  author = {Simon, Herbert Alexander},
  note = {OCLC: 490992708}
}

@incollection{burch2002,
  langid = {english},
  location = {{Dordrecht}},
  title = {Computer {{Modelling}} of {{Theory}}: {{Explanation}} for the 21st {{Century}}},
  isbn = {978-1-4020-4676-6},
  url = {https://doi.org/10.1007/978-1-4020-4676-6_12},
  shorttitle = {Computer {{Modelling}} of {{Theory}}},
  abstract = {The words theory, model, and explanation are used in different ways by different writers. Complete agreement on their meanings among natural scientists, social scientists, philosophers of science, engineers and others seems unlikely, since meaning depends partly on context and on discipline-specific conventions. Accepted meanings of these words often depend on subject matter, and on the purposes of research. In practice, a theory, model, or explanation—or a good theory, model, or explanation—for a physicist or chemist may differ in some respects from a theory, model, or explanation for a biologist, a meteorologist, or a demographer. These differences may appear all the greater if one looks at the use of models and theories in practical decision making, as in engineering or policy formation.},
  booktitle = {The {{Explanatory Power}} of {{Models}}: {{Bridging}} the {{Gap}} between {{Empirical}} and {{Theoretical Research}} in the {{Social Sciences}}},
  series = {Methodos {{Series}}},
  publisher = {{Springer Netherlands}},
  urldate = {2019-04-05},
  date = {2002},
  pages = {245-265},
  keywords = {Empirical Generalisation,Fertility Decline,Logical Inference,Modeling Dynamic Social System,Word Theory},
  author = {Burch, Thomas K.},
  editor = {Franck, Robert},
  file = {C:\\Users\\hackl\\Zotero\\storage\\UI4AW4WQ\\Burch_2002_Computer Modelling of Theory.pdf},
  note = {burch2002}
}

@article{lougeeWouldbeGentlemanHistorical1988,
  langid = {english},
  title = {The Would-Be Gentleman: A Historical Simulation of the {{France}} of {{Louis XIV}}},
  volume = {4},
  issn = {01635735},
  url = {http://portal.acm.org/citation.cfm?doid=951656.951657},
  doi = {10.1145/951656.951657},
  shorttitle = {The Would-Be Gentleman},
  journaltitle = {History Microcomputer Review},
  urldate = {2019-04-05},
  date = {1988},
  pages = {7-14},
  author = {Lougee, Carolyn C.}
}

@article{beachamPompeyProjectDigital2003,
  eprinttype = {jstor},
  eprint = {30204885},
  title = {The {{Pompey Project}}: {{Digital Research}} and {{Virtual Reconstruction}} of {{Rome}}'s {{First Theatre}}},
  volume = {37},
  issn = {00104817},
  number = {1},
  journaltitle = {Computers and the Humanities},
  date = {2003},
  pages = {129-139},
  author = {Beacham, Richard and Denard, Hugh}
}

@book{ziman2000,
  location = {{Cambridge}},
  title = {Real {{Science}}: {{What}} It {{Is}}, and {{What}} It {{Means}}},
  publisher = {{Cambridge University Press}},
  date = {2000},
  author = {Ziman, John}
}

@book{wood1992,
  location = {{London}},
  title = {The {{Power}} of {{Maps}}. {{Mappings}}: {{Society}}/{{Theory}}/{{Space}}},
  publisher = {{Guilford Press}},
  date = {1992},
  author = {Wood, Denis}
}

@book{winograd1986,
  location = {{Boston}},
  title = {Understanding {{Computers}} and {{Cognition}}: {{A New Foundation}} for {{Design}}},
  publisher = {{Addison Wesley}},
  date = {1986},
  author = {Winograd, Terry and Flores, Fernando}
}

@incollection{winograd1991,
  title = {Thinking {{Machines}}: {{Can There Be}}? {{Are We}}?},
  booktitle = {The {{Boundaries}} of {{Humanity}}: {{Humans}}, {{Animals}}, {{Machines}}},
  publisher = {{Cambridge University Press}},
  date = {1991},
  pages = {167-189},
  author = {Winograd, Terry},
  editor = {Partridge, Derek and Wilks, Yorick},
  crossref = {Sheehan:Sosna:1991aa}
}

@collection{Sheehan:Sosna:1991aa,
  location = {{Berkeley}},
  title = {The {{Boundaries}} of {{Humanity}}: {{Humans}}, {{Animals}}, {{Machines}}},
  publisher = {{University of California Press}},
  date = {1991},
  editor = {Sheehan, James J. and Sosna, Morton}
}

@article{winder1997,
  title = {Textpert {{Systems}}},
  url = {http://www.chass.utoronto.ca/epc/chwp/winder2/},
  number = {35},
  journaltitle = {Computing in the Humanities Working Papers},
  date = {1997},
  author = {Winder, William},
  note = {First published in TEXT Technology, 6.3 (1996), Wright State University}
}

@incollection{wimsatt1987,
  location = {{London}},
  title = {False {{Models}} as {{Means}} to {{Truer Theories}}},
  booktitle = {Neutral {{Models}} in {{Biology}}},
  publisher = {{Oxford University Press}},
  date = {1987},
  pages = {23-55},
  author = {Wimsatt, William C.},
  editor = {Nitecki, Matthew H. and Hoffman, Antoni},
  crossref = {Nitecki:Hoffman:1987aa}
}

@collection{Nitecki:Hoffman:1987aa,
  location = {{Oxford}},
  title = {Neutral {{Models}} in {{Biology}}},
  publisher = {{Oxford University Press}},
  date = {1987},
  editor = {Nitecki, Matthew H. and Hoffman, Antoni}
}

@book{williams2001,
  location = {{Oxford}},
  title = {Problems of {{Knowledge}}: {{A Critical Introduction}} to {{Epistemology}}},
  publisher = {{Oxford University Press}},
  date = {2001},
  author = {Williams, Michael}
}

@book{turner1996,
  location = {{Oxford}},
  title = {Literary {{Mind}}: {{The Origins}} of {{Thought}} and {{Language}}},
  publisher = {{Oxford University Press}},
  date = {1996},
  author = {Turner, Mark}
}

@book{turnbull1994,
  location = {{Chicago}},
  title = {Maps Are {{Territories}}. {{Science}} Is an {{Atlas}}},
  publisher = {{University of Chicago Press}},
  date = {1994},
  author = {Turnbull, David}
}

@book{toulmin1958,
  location = {{Cambridge}},
  title = {The {{Uses}} of {{Argument}}},
  publisher = {{Cambridge University Press}},
  date = {1958},
  author = {Toulmin, Stephen}
}

@book{toulmin1953,
  location = {{London}},
  title = {The {{Philosophy}} of {{Science}}},
  publisher = {{Hutchinson University Library}},
  date = {1953},
  author = {Toulmin, Stephen}
}

@book{sowa2000,
  location = {{Pacific Grove, CA}},
  title = {Knowledge {{Representation}}: {{Logical}}, {{Philosophical}}, and {{Computational Foundations}}},
  publisher = {{Brooks/Cole}},
  date = {2000},
  author = {Sowa, John F.}
}

@collection{Johnson:Nissenbaum:1995aa,
  location = {{Englewood Cliffs, NJ}},
  title = {Computers, {{Ethics}} \& {{Social Values}}},
  publisher = {{Prentice Hall}},
  date = {1995},
  editor = {Johnson, Deborah G. and Nissenbaum, Helen F.}
}

@incollection{Smith:1995aa,
  title = {Limits of {{Correctness}} in {{Computers}}},
  pages = {456-469},
  author = {Smith, Brian Cantwell},
  crossref = {Johnson:Nissenbaum:1995aa},
  note = {Originally published in Computers and Society (ACM SIGCAS) 14/15: 18-- 26}
}

@book{simon1969,
  location = {{Cambridge, MA}},
  title = {The {{Sciences}} of the {{Artificial}}},
  publisher = {{MIT Press}},
  date = {1969},
  author = {Simon, Herbert}
}

@incollection{shin2002,
  title = {Diagrams},
  url = {https://plato.stanford.edu/archives/win2018/entries/diagrams/},
  booktitle = {The {{Stanford Encyclopedia}} of {{Philosophy}}},
  publisher = {{Metaphysics Research Lab, Stanford University}},
  date = {2002},
  author = {Shin, Sun-Joo and Lemon, Oliver}
}

@incollection{Shanin:1972ab,
  title = {Models in {{Thought}}},
  pages = {1-22},
  author = {Shanin, Teodor},
  crossref = {Shanin:1972aa}
}

@book{rowe1994,
  location = {{Oxford}},
  title = {Theoretical {{Models}} in {{Biology}}: {{The Origin}} of {{Life}}, the {{Immune System}}, and the {{Brain}}},
  publisher = {{Oxford University Press}},
  date = {1994},
  author = {Rowe, Glenn W.}
}

@book{robinson1976,
  location = {{Chicago}},
  title = {The {{Nature}} of {{Maps}}},
  publisher = {{University of Chicago Press}},
  date = {1976},
  author = {Robinson, Arthur H. and Petchenik, Barbara}
}

@book{Popper:1979aa,
  location = {{Oxford}},
  title = {Objective {{Knowledge}}. {{An Evolutionary Approach}}},
  publisher = {{Clarendon Press}},
  date = {1979},
  author = {Popper, Karl R.}
}

@book{Popper:1959aa,
  location = {{London}},
  title = {The {{Logic}} of {{Scientific Discovery}}},
  publisher = {{Hutchinson}},
  date = {1959},
  author = {Popper, Karl R.},
  note = {Originally published as Logik der Forschung. Vienna: Verlag von Julius Springer, 1935}
}

@book{Polanyi:1966aa,
  location = {{New York}},
  title = {The {{Tacit Dimension}}},
  publisher = {{Doubleday}},
  date = {1966},
  author = {Polanyi, Michael}
}

@incollection{Nickels:2000aa,
  title = {Discovery},
  pages = {85-96},
  author = {Nickels, Thomas},
  crossref = {Newton-Smith:2000aa}
}

@collection{Morgan:Morrison:1999aa,
  location = {{Cambridge}},
  title = {Models as {{Mediators}}: {{Perspectives}} on {{Natural}} and {{Social Science}}},
  number = {52},
  series = {Ideas in {{Context}}},
  publisher = {{Cambridge University Press}},
  date = {1999},
  editor = {Morgan, Mary S. and Morrison, Margaret}
}

@incollection{morrison1998,
  location = {{London}},
  title = {Experiment},
  booktitle = {Routledge {{Encyclopedia}} of {{Philosophy}}},
  publisher = {{Routledge}},
  date = {1998},
  author = {Morrison, Margaret}
}

@book{monmonier1996,
  location = {{Chicago}},
  title = {How to {{Lie}} with {{Maps}}},
  edition = {2},
  publisher = {{University of Chicago Press}},
  date = {1996},
  author = {Monmonier, Mark}
}

@book{mitchell1993,
  location = {{Cambridge}},
  title = {Analogy-{{Making}} as {{Perception}}},
  publisher = {{MIT Press}},
  date = {1993},
  author = {Mitchell, Melanie}
}

@article{Minsky:1995aa,
  title = {Matter, {{Mind}} and {{Models}}},
  url = {http://medg.lcs.mit.edu/people/doyle/gallery/minsky.mmm.html},
  date = {1995},
  author = {Minsky, Marvin},
  note = {Rev. version of the essay in Semantic Information Processing, ed. Marvin Minsky. Cambridge, MA: MIT Press, 1968}
}

@article{Minsky:1991aa,
  title = {Conscious {{Machines}}. {{Proceedings}}, {{National Research Council}} of {{Canada}}, 75th {{Anniversary Symposium}} on {{Science}} in {{Society}}},
  url = {http://kuoi.asui.uidaho.edu/~kamikaze/doc/minsky.html},
  date = {1991},
  author = {Minsky, Marvin},
  bdsk-url-1 = {http://kuoi.asui.uidaho.edu/~kamikaze/doc/minsky.html}
}

@article{Maxwell:1911aa,
  title = {Diagram},
  journaltitle = {Encyclopædia Britannica Eleventh Edition},
  date = {1911},
  pages = {146-149},
  author = {Maxwell, James Clerk}
}

@collection{Gibson:Kraus:2002aa,
  location = {{Leiden}},
  title = {The {{Classical Commentary}}: {{Histories}}, {{Practices}}, {{Theory}}},
  publisher = {{Brill}},
  date = {2002},
  editor = {Gibson, Roy K. and Kraus, Christina S.}
}

@article{lougee1988,
  title = {The {{Would}}-{{Be Gentleman}}: A {{Historical Simulation}} of the {{France}} of {{Louis XIV}}},
  volume = {4},
  journaltitle = {History Microcomputer Review},
  date = {1988},
  pages = {7-14},
  author = {Lougee, Carolyn}
}

@incollection{lenat1998,
  location = {{Cambridge, MA}},
  title = {From 2001 to 2001: {{Common Sense}} and the {{Mind}} of {{HAL}}},
  booktitle = {{{HAL}}'s {{Legacy}}: 2001's {{Computer}} as {{Dream}} and {{Reality}}},
  publisher = {{MIT Press}},
  date = {1998},
  pages = {272-300},
  author = {Lenat, Douglas B.},
  editor = {Stork, David G.},
  crossref = {Stork:1998aa}
}

@collection{Stork:1998aa,
  location = {{Cambridge, MA}},
  title = {{{HAL}}'s {{Legacy}}: 2001's {{Computer As Dream}} and {{Reality}}},
  series = {The {{MIT Press}}},
  publisher = {{MIT Press}},
  date = {1998},
  editor = {Stork, David G.}
}

@incollection{Leff:1972aa,
  title = {Models {{Inherent}} in {{History}}},
  pages = {148-174},
  author = {Leff, Gordon},
  crossref = {Shanin:1972aa}
}

@collection{shanin1972,
  location = {{London}},
  title = {The {{Rules}} of the {{Game}}: {{Cross}}-Disciplinary {{Essays}} on {{Models}} in {{Scholarly Thought}}},
  publisher = {{Tavistock}},
  date = {1972},
  editor = {Shanin, Teodor}
}

@book{leatherdale1974,
  location = {{Amsterdam}},
  title = {The {{Role}} of {{Analogy}}, {{Model}} and {{Metaphor}} in {{Science}}},
  publisher = {{North Holland Publishing}},
  date = {1974},
  author = {Leatherdale, W. H.}
}

@article{Kuhn:1964aa,
  title = {A {{Function}} for {{Thought Experiments}}},
  volume = {2},
  journaltitle = {L'aventure de la science, Mélanges Alexandre Koyré},
  date = {1964},
  pages = {307-334},
  author = {Kuhn, Thomas},
  location = {{Paris}},
  publisher = {{Hermann}}
}

@book{korzybski1933,
  location = {{Lancaster, PA}},
  title = {Science and {{Sanity}}: {{An Introduction}} to {{NonAristotelian Systems}} and {{General Semantics}}},
  publisher = {{International Non-Aristotelian Library Publishing}},
  date = {1933},
  author = {Korzybski, Alfred}
}

@book{kent2000,
  location = {{Bloomington, IN}},
  title = {Data and {{Reality}}},
  edition = {2},
  publisher = {{1st Books}},
  date = {2000},
  author = {Kent, William},
  note = {Originally published in Amsterdam: North Holland, 1978}
}

@article{hoffmann1995,
  title = {Monster {{Analogies}}},
  volume = {16},
  url = {http://www.aaai.org.Library/Magazine/Vol16.16 03/vol.16 03.html},
  number = {1},
  journaltitle = {AI Magazine},
  date = {1995},
  pages = {11-35},
  author = {Hoffmann, Robert R.},
  bdsk-url-1 = {http://www.aaai.org.Library/Magazine/Vol16.16\%2003/vol.16\%2003.html}
}

@book{hacking1983,
  location = {{Cambridge}},
  title = {Representing and {{Intervening}}: {{Introductory Topics}} in the {{Philosophy}} of {{Natural Science}}},
  publisher = {{Cambridge University Press}},
  date = {1983},
  author = {Hacking, Ian}
}

@collection{Freudenthal:1960aa,
  location = {{Dordrecht}},
  title = {The {{Concept}} and the {{Role}} of the {{Model}} in {{Mathematics}} and {{Natural}} and {{Social Sciences}}: {{Proceedings}} of the {{Colloquium}} Sponsored by the {{Division}} of {{Philosophy}} of {{Sciences}} of the {{International Union}} of {{History}} and {{Philosophy}} of {{Sciences}} Organized at {{Utrecht}}, {{January}} 1960},
  publisher = {{D. Reidel}},
  date = {1960},
  editor = {Freudenthal, Hans}
}

@book{goodman1976,
  location = {{Indianapolis, IN}},
  title = {The {{Languages}} of {{Art}}},
  publisher = {{Hackett}},
  date = {1976},
  author = {Goodman, Nelson}
}

@book{goodman1972,
  location = {{Indianapolis, IN}},
  title = {Problems and {{Projects}}},
  publisher = {{Bobbs-Merrill}},
  date = {1972},
  author = {Goodman, Nelson}
}

@incollection{gooding2000,
  title = {Experiment},
  date = {2000},
  pages = {117-126},
  author = {Gooding, David C.},
  editor = {Newton-Smith, W. H.},
  crossref = {Newton-Smith:2000aa}
}

@book{gibbs1994,
  location = {{Cambridge}},
  title = {The {{Poetics}} of {{Mind}}: {{Figurative Thought}}, {{Language}}, and {{Understanding}}},
  publisher = {{Cambridge University Press}},
  date = {1994},
  author = {Gibbs, Raymond W. Jr.}
}

@incollection{frye1991,
  location = {{Oxford}},
  title = {Literary and {{Mechanical Models}}},
  booktitle = {Research in {{Humanities Computing}} 1. {{Papers}} from the 1989 {{ACHALLC Conference}}},
  publisher = {{Clarendon Press}},
  date = {1991},
  pages = {1-12},
  author = {Frye, Northrop},
  editor = {Lancashire, Ian},
  crossref = {Hockey:Ide:etal:1991aa}
}

@collection{Hockey:Ide:etal:1991aa,
  location = {{Oxford}},
  title = {Research {{In Humanities Computing}} 1: {{Selected Papers}} from the {{ALLC}}/{{ACH Conference}}, {{Toronto}}, {{June}} 1989},
  volume = {1},
  publisher = {{Clarendon Press}},
  date = {1991},
  editor = {Hockey, S. and Ide, N. and Lancashire, Ian}
}

@inreference{franklin2002,
  title = {Experiment in {{Physics}}},
  url = {<http://plato.stanford.edu/entries/physicsexperiment>},
  booktitle = {The {{Stanford Encyclopedia}} of {{Philosophy}}},
  urldate = {2003-09-12},
  date = {2002},
  author = {Franklin, Allan}
}

@article{fodor1995,
  title = {West {{Coast Fuzzy}}. {{Review}} of {{Paul M}}. {{Churchland}}, {{The Engine}} of {{Reason}}, the {{Seat}} of the {{Soul}}.},
  journaltitle = {Times Literary Supplement (August 25)},
  date = {1995},
  author = {Fodor, Jerry}
}

@book{Feyerabend:1993aa,
  location = {{London}},
  title = {Against {{Method}}},
  edition = {3},
  publisher = {{Verso}},
  date = {1993},
  author = {Feyerabend, Paul}
}

@incollection{dreyfus1985,
  location = {{Los Altos, CA}},
  title = {From {{MicroWorlds}} to {{Knowledge Representation}}: {{AI}} at an {{Impasse}}},
  booktitle = {Readings in {{Knowledge Representation}}},
  publisher = {{Morgan Kaufmann}},
  date = {1985},
  pages = {71-94},
  author = {Dreyfus, Hubert L.},
  editor = {Brachman, Ronald J. and Levesque, Hector J.},
  crossref = {Brachman:Levesque:1985aa}
}

@collection{Brachman:Levesque:1985aa,
  location = {{Los Altos, CA}},
  title = {Readings in {{Knowledge Representation}}},
  publisher = {{Morgan Kaufmann}},
  date = {1985},
  editor = {Brachman, Ronald J. and Levesque, Hector J.}
}

@book{dening1998,
  location = {{Melbourne}},
  title = {Readings/{{Writings}}},
  publisher = {{University of Melbourne Press}},
  date = {1998},
  author = {Dening, Greg}
}

@book{dening1996,
  location = {{Chicago}},
  title = {Performances},
  publisher = {{University of Chicago Press}},
  date = {1996},
  author = {Dening, Greg}
}

@article{delre2000,
  title = {Models and {{Analogies}} in {{Science}}},
  volume = {6},
  url = {http://www.hyle.Org/journal/issues/6/delre.htm},
  number = {1},
  journaltitle = {Hyle - International Journal for the Philosophy of Chemistry},
  date = {2000},
  pages = {5-15},
  author = {Del Re, Giuseppe}
}

@article{davis1993,
  title = {What {{Is Knowledge Representation}}?},
  volume = {14},
  url = {https://www.aaai.org/ojs/index.php/aimagazine/article/view/1029},
  number = {1},
  journaltitle = {AI Magazine (Spring)},
  date = {1993},
  pages = {17-33},
  author = {Davis, Randall and Shrobe, Howard and Szolovits, Peter}
}

@incollection{clarke1972,
  location = {{London}},
  title = {Models and {{Paradigms}} in {{Contemporary Archaeology}}},
  booktitle = {Models in {{Archaeology}}},
  publisher = {{Methuen}},
  date = {1972},
  pages = {1-60},
  author = {Clarke, David L.},
  editor = {Clarke, David L.},
  crossref = {Clarke:1972aa}
}

@collection{Clarke:1972aa,
  location = {{London}},
  title = {Models in {{Archaeology}}},
  publisher = {{Methuen}},
  date = {1972},
  editor = {Clarke, David L.}
}

@article{Brown:2002aa,
  title = {Thought {{Experiments}}. {{The Stanford Encyclopedia}} of {{Philosophy}}.},
  url = {http://plato.stanford.edu/entries/thoughtexperiment/},
  date = {2002},
  author = {Brown, James Robert}
}

@incollection{Brown:2000aa,
  location = {{Oxford}},
  title = {Thought {{Experiments}}},
  booktitle = {A {{Companion}} to the {{Philosophy}} of {{Science}}},
  publisher = {{Blackwell}},
  date = {2000},
  pages = {528-531},
  author = {Brown, James Robert},
  editor = {Newton-Smith, W. H.},
  crossref = {Newton-Smith:2000aa}
}

@collection{Newton-Smith:2000aa,
  location = {{Oxford}},
  title = {A {{Companion}} to the {{Philosophy}} of {{Science}}},
  publisher = {{Blackwell}},
  date = {2000},
  editor = {Newton-Smith, W. H.}
}

@collection{Ortony:1979aa,
  title = {Metaphor and {{Thought}}},
  series = {Cambridge},
  publisher = {{Cambridge University Press}},
  date = {1979},
  editor = {Ortony, Andrew}
}

@article{beacham2003,
  title = {The {{Pompey Project}}: {{Digital Research}} and {{Virtual Reconstruction}} of {{Rome}}'s {{First Theatre}}},
  volume = {37},
  issn = {00104817},
  number = {1},
  journaltitle = {Computers and the Humanities},
  date = {2003},
  pages = {129-139},
  author = {Beacham, Richard and Denard, Hugh}
}

@book{bateson2002,
  location = {{Cresskill, NJ}},
  title = {Mind and {{Nature}}: {{A Necessary Unity}}},
  publisher = {{Hampton Press}},
  date = {2002},
  author = {Bateson, Gregory}
}

@incollection{Barr:Feigenbaum:1981ab,
  location = {{Los Altos, CA}},
  title = {Representation of {{Knowledge}}},
  volume = {1},
  booktitle = {The {{Handbook}} of {{Artificial Intelligence}}},
  publisher = {{Morgan Kaufmann}},
  date = {1981},
  pages = {pp. 141--222},
  author = {Barr, Avron and Feigenbaum, Edward A.},
  editor = {Barr, Avron and Feigenbaum, Edward A.},
  crossref = {Barr:Feigenbaum:1981aa}
}

@collection{barr1981,
  location = {{Los Altos, CA}},
  title = {The {{Handbook}} of {{Artificial Intelligence}}. {{Volume I}}},
  volume = {1},
  series = {Handbook of Artificial Intelligence},
  publisher = {{Morgan Kaufmann}},
  date = {1981},
  editor = {Barr, Avron and Feigenbaum, Edward A.}
}

@book{achinstein1968,
  title = {Concepts of {{Science}}: {{A Philosophical Analysis}}},
  publisher = {{Johns Hopkins University Press}},
  date = {1968},
  author = {Achinstein, Peter}
}

@incollection{bailer-jones1999,
  location = {{New York}},
  title = {Tracing the {{Development}} of {{Models}} in the {{Philosophy}} of {{Science}}},
  booktitle = {{{ModelEased Reasoning}} in {{Scientific Discovery}}.},
  publisher = {{Kluwer Academic/Plenum}},
  date = {1999},
  pages = {23-40},
  author = {Bailer-Jones, Daniela M},
  editor = {Magnani, Lorenzo and Nersessian, Nancy J. and Thagard, Paul},
  crossref = {Magnani:Nersessian:etal:1999aa}
}

@collection{Magnani:Nersessian:etal:1999aa,
  location = {{New York}},
  title = {Model-{{Based Reasoning}} in {{Scientific Discovery}}},
  publisher = {{Kluwer Academic/Plenum}},
  date = {1999},
  editor = {Magnani, Lorenco and Nersessian, Nancy J. and Thagard, Paul}
}

@collection{Magnani:Nersessian:2002aa,
  location = {{New York}},
  title = {Model-{{Based Reasoning}}: {{Science}}, {{Technology}}, {{Values}}},
  publisher = {{Kluwer Academic/Plenum}},
  date = {2002},
  editor = {Magnani, Lorenco and Nersessian, Nancy J.}
}

@incollection{Bailer-Jones:1999aa,
  title = {Tracing the {{Development}} of {{Models}} in the {{Philosophy}} of {{Science}}},
  pages = {23-40},
  author = {Bailer-Jones, Daniela M.},
  crossref = {Magnani:Nersessian:etal:1999aa}
}

@incollection{Jones:2008aa,
  title = {Models, {{Metaphors}} and {{Analogies}}},
  url = {https://doi.org/10.1002/9780470756614.ch6},
  booktitle = {The {{Blackwell Guide}} to the {{Philosophy}} of {{Science}}},
  series = {The {{Blackwell Guide}} to the {{Philosophy}} of {{Science}}},
  publisher = {{Blackwell Publishers Ltd}},
  date = {2008},
  pages = {108-127},
  author = {Jones, Daniela M. Bailer},
  doi = {10.1002/9780470756614.ch6}
}

@incollection{bailer-jones2002,
  location = {{New York}},
  title = {Modeling {{Data}}: {{Analogies}} in {{Neural Networks}}, {{Simulated Annealing}} and {{Genetic Algorithms}}},
  booktitle = {{{ModelEased Reasoning}}: {{Science}}, {{Technology}}, {{Values}}},
  publisher = {{Kluwer Academic/Plenum}},
  date = {2002},
  pages = {147-165},
  author = {Bailer-Jones, Daniela M. and Bailer-Jones, Coryn A. L.},
  editor = {Magnani, Lorenzo and Nersessian, Nancy J.},
  crossref = {Magnani:Nersessian:2002aa}
}

@incollection{black1979,
  location = {{Cambridge}},
  title = {More about Metaphor},
  booktitle = {Metaphor and {{Thought}}},
  publisher = {{Cambridge University Press}},
  date = {1979},
  pages = {19-39},
  author = {Black, Max},
  editor = {Ortony, Andrew},
  crossref = {Ortony:1979aa}
}

@article{brooks1991,
  title = {Intelligence {{Without Representation}}},
  volume = {47},
  number = {1-3},
  journaltitle = {Artificial Intelligence},
  date = {1991},
  pages = {139-159},
  author = {Brooks, Rodney A.}
}

@incollection{Burch:2002aa,
  title = {Computer {{Modelling}} of {{Theory}}: {{Explanation}} for the 21st {{Century}}},
  pages = {245-265},
  author = {Burch, Thomas K.},
  crossref = {Franck:2002aa}
}

@book{Cartwright:1983aa,
  location = {{Oxford}},
  title = {How the {{Laws}} of {{Physics Lie}}},
  publisher = {{Clarendon Press}},
  date = {1983},
  author = {Cartwright, Nancy}
}

@incollection{craig2002,
  location = {{New York}},
  title = {Perceptual {{Simulation}} in {{Analogical Problem Solving}}},
  booktitle = {{{ModelEased Reasoning}}: {{Science}}, {{Technology}}, {{Values}}},
  publisher = {{Kluwer Academic/Plenum}},
  date = {2002},
  pages = {167-189},
  author = {Craig, David L. and Nersessian, Nancy J. and Catrambone, Richard},
  editor = {Magnani, Lorenzo and Nersessian, Nancy J.},
  crossref = {Magnani:Nersessian:2002aa}
}

@incollection{davis2000,
  location = {{London}},
  title = {Simulation Theory},
  booktitle = {Routledge {{Encyclopedia}} of {{Philosophy}}},
  publisher = {{Routledge}},
  date = {2000},
  author = {Davis, Martin and Stone, Tony}
}

@incollection{elgin1998,
  location = {{London}},
  title = {Goodman, {{Nelson}}},
  booktitle = {Routledge {{Encyclopedia}} of {{Philosophy}}},
  publisher = {{Routledge}},
  date = {1998},
  author = {Elgin, Catherine Z.}
}

@article{Fetzer:1999aa,
  title = {The {{Role}} of {{Models}} in {{Computer Science}}},
  volume = {82},
  number = {1},
  journaltitle = {Monist},
  date = {1999},
  pages = {20-36},
  author = {Fetzer, James H.}
}

@book{Finley:1986aa,
  location = {{New York}},
  title = {Ancient {{History}}: {{Evidence}} and {{Models}}},
  publisher = {{Viking}},
  date = {1986},
  author = {Finley, M. I.}
}

@collection{franck2002,
  location = {{Dordrecht}},
  title = {The {{Explanatory Power}} of {{Models}}},
  volume = {1},
  series = {Methodos {{Series}}},
  publisher = {{Kluwer Academic}},
  date = {2002},
  editor = {Franck, Robert}
}

@book{galison1987,
  location = {{Chicago}},
  title = {How {{Experiments End}}.},
  publisher = {{University of Chicago Press}},
  date = {1987},
  author = {Galison, Peter}
}

@article{galison1988,
  title = {Philosophy in the {{Laboratory}}},
  volume = {85},
  number = {10},
  journaltitle = {Journal of Philosophy},
  date = {1988},
  pages = {525-527},
  author = {Galison, Peter}
}

@book{galison1997,
  location = {{Chicago}},
  title = {Image and {{Logic}}: A {{Material Culture}} of {{Microphysics}}},
  publisher = {{University of Chicago Press}},
  date = {1997},
  author = {Galison, Peter}
}

@book{Geertz:1973aa,
  location = {{New York}},
  title = {The {{Interpretation}} of {{Cultures}}: {{Selected Essays}}.},
  publisher = {{Basic Books}},
  date = {1973},
  author = {Geertz, Clifford},
  note = {Reprint: London: Fontana Press, 1993}
}

@incollection{Gentner:2002aa,
  title = {Analogy in {{Scientific Discovery}}: {{The Case}} of {{Johannes Kepler}}},
  pages = {21-39},
  author = {Gentner, Dedre},
  crossref = {Magnani:Nersessian:2002aa}
}

@incollection{Gooding:1998aa,
  location = {{London}},
  title = {Thought Experiments},
  booktitle = {Routledge {{Encyclopedia}} of {{Philosophy}}},
  publisher = {{Routledge}},
  date = {1998},
  author = {Gooding, David C.}
}

@incollection{Groenewold:1960aa,
  title = {The {{Model}} in {{Physics}}},
  pages = {98-103},
  author = {Groenewold, H. J.},
  crossref = {Freudenthal:1960aa}
}

@incollection{guala2002,
  title = {Models, {{Simulations}}, and {{Experiments}}},
  date = {2002},
  pages = {59-74},
  author = {Guala, Francesco},
  crossref = {Magnani:Nersessian:2002aa}
}

@article{hacking1988,
  title = {On the {{Stability}} of the {{Laboratory Sciences}}},
  volume = {85},
  number = {10},
  journaltitle = {Journal of Philosophy},
  date = {1988},
  pages = {507-514},
  author = {Hacking, Ian}
}

@article{heelan1988,
  title = {Experiment and {{Theory}}: {{Constitution}} and {{Reality}}},
  volume = {85},
  number = {10},
  journaltitle = {Journal of Philosophy},
  date = {1988},
  pages = {515-524},
  author = {Heelan, Patrick A.}
}

@article{holyoak1997,
  title = {The {{Analogical Mind}}.},
  volume = {52},
  number = {1},
  journaltitle = {American Psychologist},
  date = {1997},
  pages = {35-44},
  author = {Holyoak, Keith J. and Thagard, Paul}
}

@incollection{hopkins2000,
  location = {{London}},
  title = {Depiction},
  booktitle = {Routledge {{Encyclopedia}} of {{Philosophy}}},
  publisher = {{Routledge}},
  date = {2000},
  author = {Hopkins, Robert D.}
}

@incollection{johnson2002,
  location = {{Boston, MA}},
  title = {Metaphor-{{Based Values}} in {{Scientific Models}}},
  booktitle = {Model-{{Based Reasoning}}},
  publisher = {{Springer}},
  date = {2002},
  pages = {1-19},
  author = {Johnson, Mark},
  editor = {Magnani, Lorenzo and Nersessian, Nancy J.},
  crossref = {Magnani:Nersessian:2002aa}
}

@article{kirschenbaum2002,
  title = {Image-{{Based Humanities Computing}}},
  volume = {36},
  number = {1},
  journaltitle = {Computers and the Humanities},
  date = {2002},
  pages = {3-6},
  author = {Kirschenbaum, Matthew G.}
}

@incollection{lloyd1998,
  location = {{London}},
  title = {Models},
  booktitle = {Routledge {{Encyclopedia}} of {{Philosophy}}},
  publisher = {{Routledge}},
  date = {1998},
  author = {Lloyd, Elisabeth A.}
}

@incollection{McCarty:2002aa,
  title = {A {{Network}} with a {{Thousand Entrances}}: {{Commentary}} in an {{Electronic Age}}?},
  date = {2002},
  pages = {359-402},
  author = {McCarty, Willard},
  crossref = {Gibson:Kraus:2002aa}
}

@collection{Machamer:Silberstein:2002aa,
  location = {{Oxford}},
  title = {The {{Blackwell Guide To}} the {{Philosophy}} of {{Science}}},
  publisher = {{Blackwell Publishers}},
  date = {2002},
  editor = {Machamer, Peter and Silberstein, Michael}
}

@article{markman2000,
  title = {Extending the {{Classical View}} of {{Representation}}},
  volume = {4},
  number = {12},
  journaltitle = {Trends in Cognitive Sciences},
  date = {2000},
  pages = {470-475},
  author = {Markman, Arthur B. and Dietrich, Eric}
}

@incollection{Mironesco:2002aa,
  title = {The {{Role}} of {{Models}} in {{Comparative Politics}}},
  pages = {181-195},
  author = {Mironesco, Christine},
  crossref = {Franck:2002aa}
}

@incollection{Morgan:2002aa,
  title = {Model {{Experiments}} and {{Models}} in {{Experiments}}},
  pages = {41-58},
  author = {Morgan, Mary S.},
  crossref = {Magnani:Nersessian:2002aa}
}

@book{netz1999,
  location = {{Cambridge}},
  title = {The {{Shaping}} of {{Deduction}} in {{Greek Mathematics}}},
  number = {51},
  series = {Ideas in {{Context}}},
  publisher = {{Cambridge University Press}},
  date = {1999},
  author = {Netz, Reviel}
}

@book{Reichenbach:1938aa,
  location = {{Chicago}},
  title = {Experience and {{Prediction}}: {{An Analysis}} of the {{Foundations}} and the {{Structure}} of {{Knowledge}}},
  publisher = {{University of Chicago Press}},
  date = {1938},
  author = {Reichenbach, Hans},
  note = {A transcription of Chapter 1 is available at http://www.ditext.com/reichenbach/reicho.html. Accessed September 12, 2003}
}

@article{shelley2002,
  title = {Analogy {{Counterarguments}} and the {{Acceptability}} of {{Analogical Hypotheses}}},
  volume = {53},
  number = {4},
  journaltitle = {The British Journal for the Philosophy of Science},
  date = {2002},
  pages = {477-496},
  author = {Shelley, C.}
}

@article{turner1995,
  title = {Raymond {{W}}. {{Gibbs}}, {{Jr}}., {{The Poetics}} of {{Mind}}: {{Figurative Thought}}, {{Language}}, and {{Understanding}}},
  volume = {3},
  number = {1},
  journaltitle = {Pragmatics and Cognition},
  date = {1995},
  pages = {181-187},
  author = {Turner, Mark}
}

@article{winsberg2001,
  title = {Simulations, {{Models}}, and {{Theories}}: {{Complex Physical Systems}} and {{Their Representations}}},
  volume = {68},
  number = {S3},
  journaltitle = {Philosophy of Science},
  date = {2001},
  pages = {S442-S454},
  author = {Winsberg, Eric}
}

@book{2002,
  langid = {german},
  location = {{Boston, MA}},
  title = {Model-Based Reasoning Science, Technology, Values},
  isbn = {978-1-4615-0605-8},
  url = {http://nbn-resolving.de/urn:nbn:de:1111-2011060197},
  publisher = {{Springer US}},
  urldate = {2019-04-07},
  date = {2002},
  note = {OCLC: 863672467}
}

@online{zotero-189,
  type = {online}
}


text:
@misc{zhang2019email,
    title={This Email Could Save Your Life: Introducing the Task of Email Subject Line Generation},
    author={Rui Zhang and Joel Tetreault},
    year={2019},
    eprint={1906.03497},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

repository: tensorflow/datasets

repo_name: tensorflow/datasets


text:
#
# Jailhouse, a Linux-based partitioning hypervisor
#
# Copyright (c) Siemens AG, 2018-2019
#
# Authors:
#  Jan Kiszka <jan.kiszka@siemens.com>
#
# SPDX-License-Identifier: MIT
#

require jailhouse.inc

SRCREV = "58052a7a9d1f5904d72b1637282c877172ee69f6"

repository: cevatbostancioglu/meta-orangepi

repo_name: cevatbostancioglu/meta-orangepi


text:
package offchain

import "github.com/leverwwz/go-substrate-rpc-client/client"

// Offchain exposes methods for retrieval of off-chain data
type Offchain struct {
	client client.Client
}

// NewOffchain creates a new Offchain struct
func NewOffchain(c client.Client) *Offchain {
	return &Offchain{client: c}
}

repository: leverwwz/go-substrate-rpc-client

repo_name: leverwwz/go-substrate-rpc-client


text:
@article{Br_ck_2005,
	doi = {10.1088/0022-3727/38/23/r01},
	url = {https://doi.org/10.1088%2F0022-3727%2F38%2F23%2Fr01},
	year = 2005,
	month = {nov},
	publisher = {{IOP} Publishing},
	volume = {38},
	number = {23},
	pages = {R381--R391},
	author = {Ekkes Brück},
	title = {Developments in magnetocaloric refrigeration},
	journal = {Journal of Physics D: Applied Physics},
	abstract = {Modern society relies on readily available refrigeration. Magnetic refrigeration has three prominent advantages compared with compressor-based refrigeration. First, there are no harmful gases involved; second, it may be built more compactly as the working material is a solid; and third, magnetic refrigerators generate much less noise. Recently a new class of magnetic refrigerant-materials for room-temperature applications was discovered. These new materials have important advantages over existing magnetic coolants: they exhibit a large magnetocaloric effect (MCE) in conjunction with a magnetic phase-transition of first order. This MCE is larger than that of Gd metal, which is used in the demonstration refrigerators built to explore the potential of this evolving technology. In the present review we compare the different materials considering both scientific aspects and industrial applicability. Because fundamental aspects of MCE are not so widely discussed, we also give some theoretical considerations.}
}

gha_language: Jupyter Notebook


text:
@inproceedings{kim2017numerical,
 author = {Kim, Kukjin and Hickey, Jean-Pierre and Scalo, Carlo},
 booktitle = {55th AIAA Aerospace Sciences Meeting},
 pages = {1711},
 title = {Numerical investigation of transcritical-T heat-and-mass-transfer dynamics in compressible turbulent channel flow},
 year = {2017}
}

repository: mpilab-uw/mpilab

repo_name: mpilab-uw/mpilab


text:
%%% -*-BibTeX-*-
@inproceedings{ICML13a,
    author      = {Xi Li and Guosheng Lin and Chunhua Shen and Anton
        {van den Hengel} and Anthony Dick},
    title       = {Learning Hash Functions Using Column Generation},
    year        = {2013},
    month       = {},
    booktitle   = {International Conference on Machine Learning (ICML'13)},
    address     = {Atlanta, USA},
    venue       = {ICML},
    pages       = {},
    volume      = {},
    publisher   = {},
    note        = {Oral presentation},
    eprint      = {1303.0339},
    url         = {},
    project     = {https://bitbucket.org/guosheng/column-generation-hashing/},
    pdf         = {http://jmlr.csail.mit.edu/proceedings/papers/v28/li13a.pdf}
}


text:
@inproceedings{visualddp20sii,
  author = {Giraud-Esclasse, Kevin and Fernbach, Pierre and Buondonno, Gabriele and Mastalli, Carlos and Stasse, Olivier},
  title = {{Motion Planning for Multi-Contact Visual Servoing on Humanoid Robots}},
  booktitle = {International Symposium on System Integration (SII)},
  year = {2020}
}

license: Unlicense,MIT

detected_licenses: Unlicense MIT


text:
package tlschema

import (
	"bufio"
	"bytes"
	"fmt"
	"strconv"
	"strings"
	"unicode"
	"unicode/utf8"
)

type lexerError struct {
	msg   string
	str   string
	offs  int
	token string
}

func (e lexerError) Error() string {
	p := e.str[:e.offs]
	s := e.str[e.offs:]

	msg := strings.Replace(e.msg, "<TOKEN>", e.token, -1)
	return fmt.Sprintf("%s: %s →ERR→ %s", msg, p, s)
}

type internalToken struct {
	str   string
	start int
}

const ageLim = 4
const unadvanceLim = ageLim - 1

type lexer struct {
	str     string
	scanner *bufio.Scanner
	offs    int

	tokens [ageLim + 1]internalToken
	age    int

	err error
}

func tokenize(s string) []string {
	var lex lexer
	lex.Reset(s)

	var tokens []string
	for !lex.AtEOF() {
		tokens = append(tokens, lex.Current())
		lex.Advance()
	}

	return tokens
}

func (lex *lexer) DebugString() string {
	var b bytes.Buffer
	b.WriteString("Lexer(")
	for age, tok := range lex.tokens[:] {
		if age != 0 && tok.str == "" {
			continue
		}
		if age > 0 {
			b.WriteString(" ")
		}
		if age == lex.age {
			b.WriteString("→")
		}
		b.WriteString(strconv.Itoa(age))
		b.WriteString(":")
		b.WriteString(strconv.Quote(tok.str))
	}
	b.WriteString(")")
	return b.String()
}

func (lex *lexer) Reset(s string) {
	var newlex lexer
	newlex.str = s
	newlex.scanner = bufio.NewScanner(strings.NewReader(s))
	newlex.scanner.Split(lex.lexsplit)
	*lex = newlex
	lex.Advance()
}

func (lex *lexer) AtEOF() bool {
	return lex.Current() == ""
}

func (lex *lexer) Current() string {
	return lex.tokens[lex.age].str
}

func (lex *lexer) Advance() {
	if lex.age > 0 {
		lex.age--
		return
	}

	for i := ageLim; i >= 1; i-- {
		lex.tokens[i] = lex.tokens[i-1]
	}

	if lex.scanner.Scan() {
		lex.tokens[0].str = lex.scanner.Text()
	} else {
		lex.tokens[0] = internalToken{"", len(lex.str)}
	}
}

func (lex *lexer) Unadvance(n int) {
	if lex.age+n > unadvanceLim {
		panic("cannot unadvance beyond ageLim")
	}
	lex.age += n
	if lex.tokens[lex.age].str == "" {
		panic("no tokens this far back yet")
	}
}

func (lex *lexer) Op(token string) bool {
	if lex.Current() == token {
		lex.Advance()
		return true
	} else {
		return false
	}
}

func (lex *lexer) Ident() string {
	s := lex.Current()
	if s != "" && isIdentRune(rune(s[0])) {
		lex.Advance()
		return s
	} else {
		return ""
	}
}

func (lex *lexer) NeedIdent() string {
	s := lex.Ident()
	if s == "" {
		lex.FailNext("expected identifier, got <TOKEN>")
	}
	return s
}

func (lex *lexer) Int() (int, bool) {
	s := lex.Ident()
	if s == "" {
		return -1, false
	}
	n, err := strconv.ParseInt(s, 10, 32)
	if err != nil {
		lex.Unadvance(1)
		return -1, false
	}
	return int(n), true
}

func (lex *lexer) Hex32() (uint32, bool) {
	s := lex.Ident()
	if s == "" {
		return 0, false
	}
	n, err := strconv.ParseUint(s, 16, 32)
	if err != nil {
		lex.Unadvance(1)
		return 0, false
	}
	return uint32(n), true
}

func (lex *lexer) NeedHex32() (uint32, bool) {
	n, ok := lex.Hex32()
	if !ok {
		lex.FailNext("expected a hex number, got <TOKEN>")
	}
	return n, ok
}

func (lex *lexer) NeedOp(op string) bool {
	if !lex.Op(op) {
		lex.FailNext("expected " + op + ", got <TOKEN>")
		return false
	}
	return true
}

func (lex *lexer) Err() error {
	return lex.err
}

func (lex *lexer) FailNext(msg string) {
	if lex.err == nil {
		lex.FailErr(lexerError{msg, lex.str, lex.tokens[lex.age].start, lex.tokens[lex.age].str})
	}
}

func (lex *lexer) FailPrev(msg string) {
	if lex.err == nil {
		lex.FailErr(lexerError{msg, lex.str, lex.tokens[lex.age+1].start, lex.tokens[lex.age+1].str})
	}
}

func (lex *lexer) FailErr(err error) {
	if lex.err == nil {
		lex.err = err
	}
}

func (lex *lexer) lexsplit(data []byte, atEOF bool) (advance int, token []byte, err error) {
	var r rune
	var width int
	ln := len(data)

	start := 0
	for width = 0; start < ln; start += width {
		r, width = utf8.DecodeRune(data[start:])
		if !unicode.IsSpace(r) {
			break
		}
	}

	if start >= ln {
		lex.offs += start
		return start, nil, nil
	}

	// If not an ident char, return it
	r, width = utf8.DecodeRune(data[start:])
	if !isIdentRune(r) {
		end := start + width
		lex.tokens[0].start = lex.offs + start
		lex.offs += end
		return end, data[start:end], nil
	}

	// Scan until space, marking end of word.
	for i := start; i < ln; i += width {
		var r rune
		r, width = utf8.DecodeRune(data[i:])
		if !isIdentRune(r) {
			lex.tokens[0].start = lex.offs + start
			lex.offs += i
			return i, data[start:i], nil
		}
	}

	// If we're at EOF, we have a final, non-empty, non-terminated word. Return it.
	if atEOF && start < ln {
		lex.tokens[0].start = lex.offs + start
		lex.offs += ln
		return ln, data[start:], nil
	}

	// Request more data.
	lex.offs += start
	return start, nil, nil
}

func isIdentRune(r rune) bool {
	return unicode.IsLetter(r) || unicode.IsNumber(r) || r == '_'
}


text:
require gdb-cross.inc

SRC_URI += "file://sim-install-6.6.patch;patch=1"

inherit cross

PR = "r1"

repository: jdegges/gumstix-pip-oe

repo_name: jdegges/gumstix-pip-oe


text:
SUMMARY = "Packagegroup For our layer YB-Develop"
LICENSE = "MIT"
PR = "r1"

inherit packagegroup

RDEPENDS_${PN} = " \
	helloworld \
	pacman4console \
"

repository: YoctoForBeaglebone/meta-ybdevelop

repo_name: YoctoForBeaglebone/meta-ybdevelop


text:
package astore

import (
	"bytes"
	"fmt"
	"io"
	"io/ioutil"
	"log"
	"path"
	"sort"
	"strings"
	"testing"
)

func TestKeyTxLogAppendRead(t *testing.T) {

	testDir := mkTestDir()
	defer rmTestDir(testDir)

	var k appendableKey
	k, err := newKeyTxLog(testDir)
	if err != nil {
		t.Fatal(err)
	}

	klog := k.(*keyTxLog)
	if err = klog.validateLayout(); err != nil {
		t.Fatalf("layout validation failed: %s", err)
	}

	type fix struct {
		key          string
		val          []byte
		hasAppendErr bool
	}
	fixtures := []fix{
		// writing an empty payload is an error. The store would be fine, but when is this ever valid?
		fix{"don't save me", []byte{}, true},

		// happy path
		fix{"the key", []byte("this is the first value"), false},
		fix{"the 2nd key", []byte("this is the second value"), false},

		// duplicates are OK at this point. They are dropped later when
		// keys get committed.
		fix{"the 2nd key", []byte("this is the second value"), false},

		// keys from an empty string are OK.
		fix{"", []byte("keys from an empty string are OK - produces a valid sha1"), false},
	}

	writtenFixtures := []fix{}

	for i, f := range fixtures {
		tvalue := f.val
		tkey := f.key
		err = k.Append(newSha1Key(tkey), tvalue)

		if f.hasAppendErr && err != nil {
			continue
		}

		if f.hasAppendErr && err == nil {
			t.Errorf("Expected an error but didn't get one for fixture: %d", i)
			continue
		}

		if err != nil {
			t.Errorf("unexpected append error for fixture: %d: %s", i, err)
			continue
		}
		writtenFixtures = append(writtenFixtures, f)

	}
	if len(writtenFixtures) < 1 {
		t.Error("Must have written at least one fixture!")
	}

	readCount := 0
	err = klog.readLog(klog.writeLogName, func(key hashableKey, r io.Reader) error {

		// make sure to always consume all the bits from the reader
		v, err := ioutil.ReadAll(r)
		if err == io.EOF {
			err = nil
		}
		if err != nil {
			return fmt.Errorf("Error reading content block!!! %s", err)
		}

		if readCount >= len(writtenFixtures) {
			t.Errorf("Reading more records from log than in writtenFixtures. Key: %s. Expected: %d, got: %d",
				key, len(writtenFixtures), readCount)
			return nil
		}

		if key.String() != newSha1Key(writtenFixtures[readCount].key).String() {
			t.Errorf("Expected key: %s, got: %s", writtenFixtures[readCount].key, key)
		}

		if !bytes.Equal(v, writtenFixtures[readCount].val) {
			t.Errorf("Expected value:\n'%s'\nGot:\n'%s'", writtenFixtures[readCount].val, v)
		}
		readCount++
		return nil
	})
	if err != nil {
		t.Error("Error reading log:", err)
	}

	if len(writtenFixtures) != readCount {
		t.Errorf("Written fixtures != read count. Expected: %d, got: %d", len(writtenFixtures), readCount)
	}

}

func TestKeTxLogRotate(t *testing.T) {
	testDir := mkTestDir()
	defer rmTestDir(testDir)

	klog, err := helpMkTxLog(t, testDir)
	if err != nil {
		t.Fatalf("validation failed: %s", err)
	}

	fixtures := map[string]string{
		"one":   "p1",
		"two":   "bar, baz and bing",
		"three": "whatever",
	}

	writtenKeys, err := helpAppendTxLog(klog, fixtures)
	if err != nil {
		t.Fatal(err)
	}

	newLogName, err := klog.rotate()
	if err != nil {
		t.Fatal("Error testing rotate:", err)
	}
	if newLogName == "" {
		t.Fatal("Expected a new log name after rotate, got none")
	}

	helpValidateWrittenKeys(t, newLogName, klog, writtenKeys)
}

func TestKeyTxLogRotateMaintainsWriteSequence(t *testing.T) {

	testDir := mkTestDir()
	defer rmTestDir(testDir)

	klog, err := helpMkTxLog(t, testDir)
	if err != nil {
		t.Fatalf("validation failed: %s", err)
	}

	fixtures := []map[string]string{
		map[string]string{"one": "p1"},
		map[string]string{"two": "p2"},
		map[string]string{"three": "p2"},
	}

	logNames := []string{}
	for i := range fixtures {
		_, err := helpAppendTxLog(klog, fixtures[i])
		if err != nil {
			t.Fatal(err)
		}
		newLogName, err := klog.rotate()
		if err != nil {
			t.Fatal(err)
		}
		logNames = append(logNames, path.Base(newLogName))
	}

	log.Printf("Log names:\n%s", strings.Join(logNames, "\n"))
	if !sort.StringsAreSorted(logNames) {
		t.Errorf("Expected the log names to be sorted. Got:\n%s", strings.Join(logNames, "\n"))
	}

}

func TestKeyTxLogRotateBeforeWrite(t *testing.T) {
	testDir := mkTestDir()
	defer rmTestDir(testDir)

	klog, err := helpMkTxLog(t, testDir)
	if err != nil {
		t.Fatalf("validation failed: %s", err)
	}

	// The first rotate should rotate the empty tx file that is created when the
	// log is initialized. There should be no errors in this case.
	_, err = klog.rotate()
	if err != nil {
		t.Fatal(err)
	}

	// The subsequent rotates (without am append) should fail because the tx log
	// file doesn't exist yet. This should return errMissingTxLog.
	_, err = klog.rotate()
	if err != errMissingTxLog {
		t.Fatal(err)
	}

}

func helpMkTxLog(t *testing.T, dir string) (*keyTxLog, error) {

	k, err := newKeyTxLog(dir)
	if err != nil {
		t.Fatal(err)
	}

	klog := k.(*keyTxLog)
	if err = klog.validateLayout(); err != nil {
		t.Fatalf("layout validation failed: %s", err)
	}
	return klog, nil
}

func helpAppendTxLog(kt *keyTxLog, fixtures map[string]string) ([]string, error) {

	keys := []string{}
	for k, v := range fixtures {
		err := kt.Append(newSha1Key(k), []byte(v))
		if err != nil {
			return keys, err
		}
		keys = append(keys, k)
	}
	return keys, nil
}

func helpValidateWrittenKeys(t *testing.T, logFile string, kt *keyTxLog, writtenKeys []string) {

	readCount := 0
	err := kt.readLog(logFile, func(key hashableKey, r io.Reader) error {
		_, err := ioutil.ReadAll(r)
		if err != nil && err != io.EOF {
			return err
		}

		if newSha1Key(writtenKeys[readCount]).String() != key.String() {
			t.Errorf("Keys don't match for read record: %d. Expected: %s, got: %s",
				readCount, writtenKeys[readCount], key)
		}
		readCount++
		return nil
	})

	if err != nil {
		t.Error("Error reading new transaction log:", err)
	}

	if readCount != len(writtenKeys) {
		t.Errorf("Expected %d reads, got: %d", len(writtenKeys), readCount)
	}

}

repository: skyec/astore

repo_name: skyec/astore


text:
@Article{yoshiyasu:compg:2016,
  author    = {Yoshiyasu, Yusuke and Yoshida, Eiichi and Guibas, Leonidas},
  title     = {Symmetry Aware Embedding for Shape Correspondence},
  journal   = {Computer\&Graphics},
  year      = {2016},
  volume    = {60},
  pages     = {9--22},
  month     = {November},
  doi       = {https://doi.org/10.1016/j.cag.2016.07.002},
  url       = {https://www.researchgate.net/publication/305750848\_Symmetry\_Aware\_Embedding\_for\_Shape\_Correspondence},
  keywords  = {Shape correspondence, Embedding, Symmetry},
  abstract  = {In this paper, we present symmetry-aware embedding for shape correspondence, which is robust against symmetric (left\textendash right) flips and rotational (front\textendash back) flips. Unlike previous embedding approaches that embed surfaces into a high-dimensional space, our technique is based on a low dimensional (3D) embedding. Our method can solve left\textendash right flips by finding a 3D rigid transformation between two embedding surfaces without reflections. Using the global reflectional symmetry plane to align two surfaces, we can further reduce the problem to that of finding the rotation that corrects the signs of the front\textendash back and up\textendash down directions (there are four possible solutions). We exploit this simple problem formulation and alleviate the front\textendash back flips, by explicitly comparing the front and back of embedding surfaces based on the global and local extrinsic shape characteristics. Consequently, reasonably accurate point-to-point correspondences can be established simply by performing the nearest neighbor search in our embedding space. Experimental results based on a shape correspondence benchmark showed that our method produces stable matching results.},
  publisher = {ScienceDirect}
}

gha_language: TeX


text:
@INPROCEEDINGS{nakamura14,
  author = {Nakamura, Atsuyoshi},
  title = {A {UCB}-Like Strategy of Collaborative Filtering},
  pages = {315-329},
  abstract = {We consider a direct mail problem in which a system repeats the following
	process every day during some period: select a set of user-item pairs
	(u,i), send a recommendation mail of item i to user u for each selected
	pair (u,i), and receive a response from each user. We assume that
	each response can be obtained before the next process and through
	the response, the system can know the user's evaluation of the recommended
	item directly or indirectly. Each pair (u,i) can be selected at most
	once during the period. If the total number of selections is very
	small compared to the number of entries in the whole user-item matrix,
	what selection strategy should be used to maximize the total sum
	of users' evaluations during the period? We consider a UCB-like strategy
	for this problem, and show two methods using the strategy. The effectiveness
	of our methods are demonstrated by experiments using synthetic and
	real datasets.},
}

repository: mreid/papersite

repo_name: mreid/papersite


text:
%%% -*-BibTeX-*-
@article{Tian2021Adversarial,
    author  = {Lei Tian  and  Peng Wang  and  Guoqiang Liang  and  Chunhua Shen},
    title   = {An Adversarial Human Pose Estimation Network Injected with Graph Structure},
    journal = {Pattern Recognition},
    year    = {2021},
    eprint  = {},
    project = {},
    venue   = {PR},
}


text:
import React, {useEffect, useState} from 'react';
import './admin.css';
import {Link} from "react-router-dom";
import {Redirect} from "react-router-dom";

function Admin() {
    const [loaded,setLoaded] = useState(false);
    const [isLogged,setIsLogged] = useState(false);

    async function alreadyLogged(){
        const response = await fetch(`https://localhost:3001/checkAdminToken`, {
                    method: 'Get',
                    mode: "cors",
                    // cache: "default",
                    // credentials: "include",
                    // headers: {
                    //     'Content-Type': 'application/json'
                    // }
                    credentials: 'include', // <- this is mandatory to deal with cookies
                }
            );
        if(response.status === 200)
            setIsLogged(true);
        setLoaded(true);
    }

    useEffect(()=>{
        alreadyLogged(); //This function is used in order to avoid continuously logins. If we refresh or close the site without logging out, we will immediately login after visiting it again.
    },[]);

    const adminLinks = (

 Welcome Admin!

                    <Link style={{ textDecoration: 'none', color: 'black' }} to={`/admin/users`}>

Users list

Click here

                    </Link>

                    <Link style={{ textDecoration: 'none', color: 'black' }} to={`/admin/pendusers`}>

Pending users list

Click here

                    </Link>

);

    const guestLinks = (
        <Redirect to='/'/>
    );

    const condition1 = loaded===true && isLogged ===true;
    const condition2 = loaded===true && isLogged ===false;
    return(

            {condition1 ? adminLinks
                :condition2 ? guestLinks
                    :(
Loading...
)}

    )
}
export default Admin;

repository: dsoumis/BidPoint

repo_name: dsoumis/BidPoint

gha_language: JavaScript

extension: js