text:
Suryakanth R. Gurudu and
               Michael B. Gotway and
               Jianming Liang},
  title     = {Fine-Tuning Convolutional Neural Networks for Biomedical Image Analysis:
               Actively and Incrementally},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {4761--4772},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.506},
  doi       = {10.1109/CVPR.2017.506},
  timestamp = {Sat, 05 Sep 2020 01:00:00 +0200},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhouSZGGL17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhouWWGZ17,
  author    = {Sanping Zhou and
               Jinjun Wang and
               Jiayun Wang and
               Yihong Gong and
               Nanning Zheng},
  title     = {Point to Set Similarity Based Deep Feature Learning for Person Re-Identification},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {5028--5037},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.534},
  doi       = {10.1109/CVPR.2017.534},
  timestamp = {Fri, 28 Aug 2020 01:00:00 +0200},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhouWWGZ17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhouYQJ17,
  author    = {Yanzhao Zhou and
               Qixiang Ye and
               Qiang Qiu and
               Jianbin Jiao},
  title     = {Oriented Response Networks},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {4961--4970},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.527},
  doi       = {10.1109/CVPR.2017.527},
  timestamp = {Tue, 14 Nov 2017 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhouYQJ17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhouYWWZHL17,
  author    = {Xinyu Zhou and
               Cong Yao and
               He Wen and
               Yuzhi Wang and
               Shuchang Zhou and
               Weiran He and
               Jiajun Liang},
  title     = {{EAST:} An Efficient and Accurate Scene Text Detector},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {2642--2651},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.283},
  doi       = {10.1109/CVPR.2017.283},
  timestamp = {Tue, 14 Nov 2017 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhouYWWZHL17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhouZPFB017,
  author    = {Bolei Zhou and
               Hang Zhao and
               Xavier Puig and
               Sanja Fidler and
               Adela Barriuso and
               Antonio Torralba},
  title     = {Scene Parsing through {ADE20K} Dataset},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {5122--5130},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.544},
  doi       = {10.1109/CVPR.2017.544},
  timestamp = {Tue, 14 Nov 2017 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhouZPFB017.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuAD17,
  author    = {Alex Zihao Zhu and
               Nikolay Atanasov and
               Kostas Daniilidis},
  title     = {Event-Based Visual Inertial Odometry},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {5816--5824},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.616},
  doi       = {10.1109/CVPR.2017.616},
  timestamp = {Tue, 14 Nov 2017 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuAD17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuFBH17,
  author    = {Lei Zhu and
               Chi{-}Wing Fu and
               Michael S. Brown and
               Pheng{-}Ann Heng},
  title     = {A Non-local Low-Rank Framework for Ultrasound Speckle Reduction},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {493--501},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.60},
  doi       = {10.1109/CVPR.2017.60},
  timestamp = {Tue, 29 Dec 2020 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuFBH17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuLF17,
  author    = {Yuke Zhu and
               Joseph J. Lim and
               Li Fei{-}Fei},
  title     = {Knowledge Acquisition for Visual Question Answering via Iterative
               Querying},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {6146--6155},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.651},
  doi       = {10.1109/CVPR.2017.651},
  timestamp = {Mon, 22 Jul 2019 01:00:00 +0200},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuLF17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuLOYW17,
  author    = {Feng Zhu and
               Hongsheng Li and
               Wanli Ouyang and
               Nenghai Yu and
               Xiaogang Wang},
  title     = {Learning Spatial Regularization with Image-Level Supervisions for
               Multi-label Image Classification},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {2027--2036},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.219},
  doi       = {10.1109/CVPR.2017.219},
  timestamp = {Sat, 05 Sep 2020 01:00:00 +0200},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuLOYW17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuTMD17,
  author    = {Yan Zhu and
               Yuandong Tian and
               Dimitris N. Metaxas and
               Piotr Doll{\'{a}}r},
  title     = {Semantic Amodal Segmentation},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {3001--3009},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.320},
  doi       = {10.1109/CVPR.2017.320},
  timestamp = {Thu, 11 Jan 2018 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuTMD17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuXDYW17,
  author    = {Xizhou Zhu and
               Yuwen Xiong and
               Jifeng Dai and
               Lu Yuan and
               Yichen Wei},
  title     = {Deep Feature Flow for Video Recognition},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {4141--4150},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {http://doi.ieeecomputersociety.org/10.1109/CVPR.2017.441},
  doi       = {10.1109/CVPR.2017.441},
  timestamp = {Tue, 14 Nov 2017 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuXDYW17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuXY17,
  author    = {Linchao Zhu and
               Zhongwen Xu and
               Yi Yang},
  title     = {Bidirectional Multirate Reconstruction for Temporal Modeling in Videos},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {1339--1348},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.147},
  doi       = {10.1109/CVPR.2017.147},
  timestamp = {Sun, 25 Oct 2020 01:00:00 +0200},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuXY17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuYZH17,
  author    = {Xinliang Zhu and
               Jiawen Yao and
               Feiyun Zhu and
               Junzhou Huang},
  title     = {{WSISA:} Making Survival Prediction from Whole Slide Histopathological
               Images},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {6855--6863},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.725},
  doi       = {10.1109/CVPR.2017.725},
  timestamp = {Tue, 14 Nov 2017 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuYZH17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuZW17,
  author    = {Hao Zhu and
               Qi Zhang and
               Qing Wang},
  title     = {4D Light Field Superpixel and Segmentation},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {6709--6717},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.710},
  doi       = {10.1109/CVPR.2017.710},
  timestamp = {Thu, 09 Apr 2020 01:00:00 +0200},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuZW17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuangLLSR17,
  author    = {Bohan Zhuang and
               Lingqiao Liu and
               Yao Li and
               Chunhua Shen and
               Ian D. Reid},
  title     = {Attend in Groups: {A} Weakly-Supervised Deep Learning Framework for
               Learning from Web Data},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {2915--2924},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.311},
  doi       = {10.1109/CVPR.2017.311},
  timestamp = {Sat, 05 Sep 2020 01:00:00 +0200},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuangLLSR17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZhuoSHL17,
  author    = {Wei Zhuo and
               Mathieu Salzmann and
               Xuming He and
               Miaomiao Liu},
  title     = {Indoor Scene Parsing with Instance Segmentation, Semantic Labeling
               and Support Relationship Inference},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {6269--6277},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.664},
  doi       = {10.1109/CVPR.2017.664},
  timestamp = {Wed, 23 Dec 2020 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZhuoSHL17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZuffiKJB17,
  author    = {Silvia Zuffi and
               Angjoo Kanazawa and
               David W. Jacobs and
               Michael J. Black},
  title     = {3D Menagerie: Modeling the 3D Shape and Pose of Animals},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {5524--5532},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.586},
  doi       = {10.1109/CVPR.2017.586},
  timestamp = {Tue, 14 Nov 2017 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZuffiKJB17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/ZweigW17,
  author    = {Shay Zweig and
               Lior Wolf},
  title     = {InterpoNet, a Brain Inspired Neural Network for Optical Flow Dense
               Interpolation},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {6363--6372},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.674},
  doi       = {10.1109/CVPR.2017.674},
  timestamp = {Tue, 14 Nov 2017 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/ZweigW17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DBLP:conf/cvpr/sangBS17,
  author    = {Jan Hendrik Hosang and
               Rodrigo Benenson and
               Bernt Schiele},
  title     = {Learning Non-maximum Suppression},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  pages     = {6469--6477},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://doi.org/10.1109/CVPR.2017.685},
  doi       = {10.1109/CVPR.2017.685},
  timestamp = {Wed, 15 Nov 2017 00:00:00 +0100},
  biburl    = {https://dblp.org/rec/conf/cvpr/sangBS17.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@proceedings{DBLP:conf/cvpr/2017,
  title     = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
               {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
  url       = {https://ieeexplore.ieee.org/xpl/conhome/8097368/proceeding},
  isbn      = {978-1-5386-0457-1},
  timestamp = {Wed, 16 Oct 2019 01:00:00 +0200},
  biburl    = {https://dblp.org/rec/conf/cvpr/2017.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

license: MIT

license_type: permissive

branch_name: refs/heads/main

gha_license_id: MIT

extension: bib


text:
SUMMARY = "i18n and l10n support for Flask based on babel and pytz"
DESCRIPTION = "Implements i18n and l10n support for Flask. This is based on \
the Python babel module as well as pytz both of which are installed \
automatically for you if you install this library."
HOMEPAGE = "http://github.com/python-babel/flask-babel"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9"

SRC_URI[md5sum] = "fcf2f360ff279d3133e40974804efd72"
SRC_URI[sha256sum] = "316ad183e42003f3922957fa643d0a1e8e34a0f0301a88c3a8f605bc37ba5c86"

PYPI_PACKAGE = "Flask-Babel"

inherit pypi setuptools

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

SKIP_RECIPE[python-flask-babel] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"

branch_name: refs/heads/jansa/master

gha_language: BitBake

extension: bb


text:
@book{Harper2010,
 abstract = {Web accessibility conjures the vision of designers, technologists, and researchers valiantly making the World-Wide-Web (Web) open to disabled users. While this maybe true in part, the reality is a little different. Indeed, Web accessibility is actually about correcting our past mistakes by making the current Web fulfill the original Web vision of access for all. It just so happens that in the process of trying to re-engineer these corrections, that have for the most part ignored, we may solve a number of 'larger- scale' usability issues faced by every Web user. Indeed, by understanding disabled-user's interaction we enhance our understanding of all users operating in constrained modalities where the user is disabled by both environment and technology. It is for this reason that Web accessibility is a natural preface to wider Web usability and universal accessibility, it is also why 'main-stream' technologist take it so seriously and understand its cross-over benefits. © 2011, IGI Global.},
 author = {Harper, S. and Yesilada, Y.},
 booktitle = {Handbook of Research on Personal Autonomy Technologies and Disability Informatics},
 doi = {10.4018/978-1-60566-206-0.ch011},
 isbn = {9781605662060},
 title = {Web accessibility: Current trends},
 year = {2010}
}

repository: sharpic/academic-kickstart

repo_name: sharpic/academic-kickstart

branch_name: refs/heads/master


text:
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.

package locale // import "miniflux.app/locale"

// AvailableLanguages returns the list of available languages.
func AvailableLanguages() map[string]string {
	return map[string]string{
		"en_US": "English",
		"zh_CN": "简体中文",
	}
}

repository: xqin/miniflux

repo_name: xqin/miniflux

gha_language: Go

extension: go


text:
package sshd

import (
	"bytes"
	"fmt"
	log "github.com"
	"io"
	"io/ioutil"
	"net"
	"os"
	"os/exec"
	"strings"
	"sync"
	"time"

	"github.com/kr/pty"
	"golang.org/x/crypto/ssh"
)

//Server is a simple SSH Daemon
type Server struct {
	config  *Config
	sconfig *ssh.ServerConfig
}

//NewServer creates a new Server
func NewServer(config *Config) (*Server, error) {

	sconfig := &ssh.ServerConfig{}
	server := &Server{config: config, sconfig: sconfig}

	if exec.Command("bash").Run() != nil {
		if exec.Command("sh").Run() != nil {
			return nil, fmt.Errorf("Failed to find shell: %server", config.Shell)
		} else {
			config.Shell = "sh"
		}
	} else {
		config.Shell = "bash"
	}
	server.debugf("Using shell '%s'", config.Shell)

	var private ssh.Signer
	if config.KeyFile != "" {
		//user provided key (can generate with 'ssh-keygen -t rsa')
		privateBytes, err := ioutil.ReadFile(config.KeyFile)
		if err != nil {
			return nil, fmt.Errorf("Failed to load keyfile(%s)", config.KeyFile)
		}
		private, err = ssh.ParsePrivateKey(privateBytes)
		if err != nil {
			return nil, fmt.Errorf("Failed to parse private key(keyfile:%s)", config.KeyFile)
		}
		log.Log.Info("Key from file %s", config.KeyFile)
	} else {
		//generate key now
		privateBytes, err := generateKey(config.KeySeed)
		if err != nil {
			return nil, fmt.Errorf("Failed to generate private key")
		}
		private, err = ssh.ParsePrivateKey(privateBytes)
		if err != nil {
			return nil, fmt.Errorf("Failed to parse private key")
		}
		if config.KeySeed == "" {
			log.Log.Info("Key from system rng")
		} else {
			log.Log.Info("Key from seed")
		}
	}

	sconfig.AddHostKey(private)
	log.Log.Info("Fingerprint %s", fingerprint(private.PublicKey()))

	//setup auth
	if strings.Contains(config.AuthType, ":") {
		pair := strings.SplitN(config.AuthType, ":", 2)
		u := pair[0]
		p := pair[1]
		sconfig.PasswordCallback = func(conn ssh.ConnMetadata, pass []byte) (*ssh.Permissions, error) {
			if conn.User() == u && string(pass) == p {
				server.debugf("User '%s' authenticated with password", u)
				return nil, nil
			}
			server.debugf("Authentication failed '%s:%s'", conn.User(), pass)
			return nil, fmt.Errorf("denied")
		}
		log.Log.Info("Authentication enabled (user '%s')", u)
	} else if config.AuthType != "" {

		//initial key parse
		keys, last, err := server.parseAuth(time.Time{})
		if err != nil {
			return nil, err
		}

		//setup checker
		sconfig.PublicKeyCallback = func(conn ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error) {

			//update keys
			if ks, t, err := server.parseAuth(last); err == nil {
				keys = ks
				last = t
				server.debugf("Updated authorized keys")
			}

			k := string(key.Marshal())
			if cmt, exists := keys[k]; exists {
				server.debugf("User '%s' authenticated with public key %s", cmt, fingerprint(key))
				return nil, nil
			}
			server.debugf("User authentication failed with public key %s", fingerprint(key))
			return nil, fmt.Errorf("denied")
		}
		log.Log.Info("Authentication enabled (public keys #%d)", len(keys))
	} else {
		return nil, fmt.Errorf("Missing auth-type")
	}

	return server, nil
}

//Starts listening on port
func (server *Server) Start() error {
	h := server.config.Host
	p := server.config.Port
	var listener net.Listener
	var err error

	//listen
	listener, err = net.Listen("tcp", h+":"+p)
	if err != nil {
		return fmt.Errorf("Failed to listen on %v", p)
	}

	// Accept all connections
	log.Log.Info("Listening on %s:%s...", h, p)
	for {
		tcpConn, err := listener.Accept()
		if err != nil {
			log.Log.Info("Failed to accept incoming connection (%s)", err)
			continue
		}
		//todo(wuheng):socket超时断开（或者判断客户端已断开）
		tcpConn.SetReadDeadline(time.Now().Add(time.Duration(300) * time.Second))
		// Before use, a handshake must be performed on the incoming net.Conn.
		sshConn, chans, reqs, err := ssh.NewServerConn(tcpConn, server.sconfig)
		if err != nil {
			if err != io.EOF {
				log.Log.Info("Failed to handshake (%s)", err)
			}
			continue
		}

		server.debugf("New SSH connection from %s (%s)", sshConn.RemoteAddr(), sshConn.ClientVersion())
		// Discard all global out-of-band Requests
		go ssh.DiscardRequests(reqs)
		// Accept all channels
		go server.handleChannels(chans)
	}
}

func (server *Server) handleChannels(chans <-chan ssh.NewChannel) {
	// Service the incoming Channel channel in go routine
	for newChannel := range chans {
		go server.handleChannel(newChannel)
	}
}

func (server *Server) handleChannel(newChannel ssh.NewChannel) {
	// Since we're handling the execution of a shell, we expect a
	// channel type of "session". However, there are also: "x11", "direct-tcpip"
	// and "forwarded-tcpip" channel types.
	if t := newChannel.ChannelType(); t != "session" {
		newChannel.Reject(ssh.UnknownChannelType, fmt.Sprintf("unknown channel type: %s", t))
		return
	}

	channel, requests, err := newChannel.Accept()
	if err != nil {
		server.debugf("Could not accept channel (%s)", err)
		return
	}

	shell := exec.Command(server.config.Shell)
	// Allocate a terminal for this channel
	shellf, err := pty.Start(shell)
	close := func() {
		channel.Close()

		delay := true
		//强制结束进程,默认shell会清理进程组
		go func() {
			time.Sleep(time.Second * 3)
			if delay {
				log.Log.Info("shell killed!!!")
				shell.Process.Kill()
			}
		}()
		_, err := shell.Process.Wait()
		if err != nil {
			log.Log.Info("Failed to exit shell (%s)", err)
			shell.Process.Release()
		}
		delay = false
		server.debugf("Session closed")
	}
	if err != nil {
		server.debugf("Could not start pty (%s)", err)
		close()
		return
	}

	//pipe session to shell and visa-versa
	var once sync.Once
	go func() {
		//todo(wuheng): socket断开无法被处理
		io.Copy(channel, shellf)
		once.Do(close)
	}()
	go func() {
		io.Copy(shellf, channel)
		once.Do(close)
	}()

	// Sessions have out-of-band requests such as "shell", "pty-req" and "env"
	go func(in <-chan *ssh.Request) {
		for req := range in {
			ok := false
			switch req.Type {
			case "shell":
				// We only accept the default shell
				// (i.e. no command in the Payload)
				if len(req.Payload) == 0 {
					ok = true
				}
			case "pty-req":
				// Responding true (OK) here will let the client
				// know we have a pty ready for input
				ok = true
				// Parse body...
				termLen := req.Payload[3]
				termEnv := string(req.Payload[4 : termLen+4])
				w, h := parseDims(req.Payload[termLen+4:])
				SetWinsize(shellf.Fd(), w, h)
				log.Log.Info("pty-req '%s'", termEnv)
			case "window-change":
				w, h := parseDims(req.Payload)
				SetWinsize(shellf.Fd(), w, h)
				continue //no response
			case "exec":
				//putty need this
				ok = true
			}
			if !ok {
				log.Log.Info("declining %s request???", req.Type)
			}
			req.Reply(ok, nil)
		}
	}(requests)
}

func (server *Server) parseAuth(last time.Time) (map[string]string, time.Time, error) {

	info, err := os.Stat(server.config.AuthType)
	if err != nil {
		return nil, last, fmt.Errorf("Missing auth keys file")
	}

	t := info.ModTime()
	if t.Before(last) || t == last {
		return nil, last, fmt.Errorf("Not updated")
	}

	//grab file
	b, _ := ioutil.ReadFile(server.config.AuthType)
	lines := bytes.Split(b, []byte("\n"))
	//parse each line
	keys := map[string]string{}
	for _, l := range lines {
		if key, cmt, _, _, err := ssh.ParseAuthorizedKey(l); err == nil {
			keys[string(key.Marshal())] = cmt
		}
	}
	//ensure we got something
	if len(keys) == 0 {
		return nil, last, fmt.Errorf("No keys found in %s", server.config.AuthType)
	}
	return keys, t, nil
}

func (server *Server) debugf(f string, args ...interface{}) {
	if server.config.LogVerbose {
		log.Log.Info(f, args...)
	}
}


text:
TOOLCHAIN_OUTPUTNAME ?= "${SDK_ARCH}-createrepo-nativesdk-standalone-${DISTRO_VERSION}"

require recipes-core/meta/buildtools-tarball.bb

TOOLCHAIN_TARGET_TASK = ""
TOOLCHAIN_HOST_TASK = "nativesdk-sdk-provides-dummy meta-environment-${MACHINE} nativesdk-createrepo-c"

SDK_TITLE = "DNF Repository Indexing"

repository: fullstackfpga/meta-petalinux

repo_name: fullstackfpga/meta-petalinux


text:
@online{Syllabus,
    title = {Конспект за ДИ за спец. статистика},
    year = {2018},
    url = {https://intranet.fmi.uni-sofia.bg/index.php/s/KOTdUnmqbrnd0sX},
    urldate = {2019-03-24}
}

@online{SESummer2011,
    title = {Задачи за ДИ за спец. статистика},
    subtitle = {Поправителен изпит},
    year = {2011},
    url = {https://intranet.fmi.uni-sofia.bg/index.php/s/PkgnO0jOEGYtu7N},
    urldate = {2019-06-23}
}

@online{SEAutumn2016,
    title = {Задачи за ДИ за спец. статистика},
    subtitle = {Редовен изпит},
    year = {2016},
    url = {https://intranet.fmi.uni-sofia.bg/index.php/s/OWBtwZQdIgcnoAS},
    urldate = {2019-06-23}
}

@book{Borovkov,
  author = {Александр Александрович Боровков},
  title = {Теория вероятностей},
  edition = {Третье издание},
  year = {1999},
  isbn = {5901006666},
  publisher = {Едиториал УРСС}
}

@book{DimitrovYanev,
  author = {Боян Димитров and Николай Янев},
  title = {Вероятности и статистика},
  edition = {Второ издание},
  year = {2007},
  isbn = {9789548495332},
  publisher = {Софтех}
}

gha_license_id: NOASSERTION


text:
# Compatible with GNU Classpath 0.95 only!

require cacao-cldc.inc

PR = "r1"

SRC_URI += "\
  http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2;md5sum=8b8907c8b925761c9410bcadb9705346 \
	file://midpath.patch;patch=1 \
	file://offsets_make.patch;patch=1 \
	file://classpath_var.patch;patch=1 \
	file://libmath.patch;patch=1 \
	file://arm_mmap.patch;patch=1 \
	"

SRC_URI_append_arm = "file://offset.h_arm.patch;patch=1"


text:
if (javascriptLoaderVersion == 2) {
	var jsDir = '/authored_framework/include/js/v2/'
	document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer-common.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'collapsemenu.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'items.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'mouseevents.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'elsevier2.js" type="text/javascript"></script>')
} else if (javascriptLoaderVersion == 3) {
	var jsDir = '/authored_framework/include/js/v3/'
	document.write('<script language="JavaScript" src="' + jsDir + 'elsevier2.js" type="text/javascript"></script>')
	var isHome = false
	if (location.pathname.indexOf('/homepage.cws_home') > -1) isHome = true
	if (!isHome) {
		jsDir = '/authored_framework/include/js/v3/menu/'
		document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer.js" type="text/javascript"></script>')
		document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer-common.js" type="text/javascript"></script>')
		document.write('<script language="JavaScript" src="' + jsDir + 'collapsemenu.js" type="text/javascript"></script>')
		document.write('<script language="JavaScript" src="' + jsDir + 'items.js" type="text/javascript"></script>')
		document.write('<script language="JavaScript" src="' + jsDir + 'mouseevents.js" type="text/javascript"></script>')
	} else {
		jsDir = '/authored_framework/include/js/v3/homemenu/'
		document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer.js" type="text/javascript"></script>')
		document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer-common.js" type="text/javascript"></script>')
		document.write('<script language="JavaScript" src="' + jsDir + 'collapsemenu.js" type="text/javascript"></script>')
		document.write('<script language="JavaScript" src="' + jsDir + 'homeItems.js" type="text/javascript"></script>')
		document.write('<script language="JavaScript" src="' + jsDir + 'mouseevents.js" type="text/javascript"></script>')

	}
} else if (javascriptLoaderVersion == 4) {
	var jsDir = '/authored_framework/include/js/v4/'
	document.write('<script language="JavaScript" src="' + jsDir + 'elsevier2.js" type="text/javascript"></script>')
	jsDir = '/authored_framework/include/js/v4/menu/'
	document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer-common.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'collapsemenu.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'mouseevents.js" type="text/javascript"></script>')
} else if (javascriptLoaderVersion == 5) {
	var jsDir = '/authored_framework/include/js/v5/menu/'
	document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer-common.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'mouseevents.js" type="text/javascript"></script>')
	jsDir = '/authored_framework/include/js/v5/'
	document.write('<script language="JavaScript" src="' + jsDir + 'elsevier2.js" type="text/javascript"></script>')
} else if (javascriptLoaderVersion == 99) {
	var jsDir = '/authored_framework/include/js/v99/menu/'
	document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer-common.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'collapsemenu.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'mouseevents.js" type="text/javascript"></script>')
	jsDir = '/authored_framework/include/js/v99/'
	document.write('<script language="JavaScript" src="' + jsDir + 'elsevier2.js" type="text/javascript"></script>')
} else {
	var jsDir = '/authored_framework/include/js/'
	document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'dynlayer-common.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'collapsemenu.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'items.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'mouseevents.js" type="text/javascript"></script>')
	document.write('<script language="JavaScript" src="' + jsDir + 'elsevier2.js" type="text/javascript"></script>')
}

repository: ngphloc/agmagic

repo_name: ngphloc/agmagic

extension: js


text:
SUMMARY = "StHelens board wiring"
DESCRIPTION = "Board wiring information for the StHelens system."
HOMEPAGE = "https://github.com/foxconn-ingrasys-bmc/skeleton"
PR = "r1"

SRCREV = "e2e709c8794bdb18628df5f0e65a5a475a7ebd2d"
inherit config-in-skeleton
inherit obmc-phosphor-license

repository: rivestpeng/openbmc

repo_name: rivestpeng/openbmc


text:
package server

import (
	"context"
	"fmt"
	"strconv"
	"time"

	"github.com/go-masonry/mortar/interfaces/log"
	"github.com/go-masonry/mortar/interfaces/monitor"
	"github.com/go-masonry/mortar/utils"
	"go.uber.org/fx"
	"google.golang.org/grpc"
	"google.golang.org/grpc/status"
)

const (
	gRPCCodeTagName = "code"
	grpcNamePrefix  = "grpc_"
)

type gRPCMetricInterceptorsDeps struct {
	fx.In

	Logger  log.Logger
	Metrics monitor.Metrics `optional:"true"`
}

// MonitorGRPCInterceptor sends gRPC method invocation metrics to the configured Metrics server (Prometheus, Datadog)
func MonitorGRPCInterceptor(deps gRPCMetricInterceptorsDeps) grpc.UnaryServerInterceptor {
	return func(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error) {
		start := time.Now()
		resp, err = handler(ctx, req)
		if deps.Metrics != nil {
			_, methodName := utils.SplitMethodAndPackage(info.FullMethod)
			// fetch one from registry or create new
			timer := deps.Metrics.WithTags(monitor.Tags{
				gRPCCodeTagName: gRPCCodeTagValue(err),
			}).Timer(grpcNamePrefix+methodName, fmt.Sprintf("time api calls for %s", info.FullMethod))

			timer.Record(time.Since(start))
		}
		return
	}
}

func gRPCCodeTagValue(err error) string {
	s, _ := status.FromError(err)
	return strconv.Itoa(int(s.Code()))
}

repository: go-masonry/mortar

repo_name: go-masonry/mortar


text:
@InProceedings{finn16,
  supplementary = {Supplementary:finn16-supp.pdf},
  title = {Guided Cost Learning: Deep Inverse Optimal Control via Policy Optimization},
  author = {Chelsea Finn and Sergey Levine and Pieter Abbeel},
  pages = {49-58},
  abstract = {Reinforcement learning can acquire complex behaviors from high-level specifications. However, defining a cost function that can be optimized effectively and encodes the correct task is challenging in practice. We explore how inverse optimal control (IOC) can be used to learn behaviors from demonstrations, with applications to torque control of high-dimensional robotic systems. Our method addresses two key challenges in inverse optimal control: first, the need for informative features and effective regularization to impose structure on the cost, and second, the difficulty of learning the cost function under unknown dynamics for high-dimensional continuous systems. To address the former challenge, we present an algorithm capable of learning arbitrary nonlinear cost functions, such as neural networks, without meticulous feature engineering. To address the latter challenge, we formulate an efficient sample-based approximation for MaxEnt IOC. We evaluate our method on a series of simulated tasks and real-world robotic manipulation problems, demonstrating substantial improvement over prior methods both in terms of task complexity and sample efficiency.},
}

repository: mreid/papersite

repo_name: mreid/papersite

gha_language: TeX


text:
@INPROCEEDINGS{Bess1904:GNU,
AUTHOR="Lilian Besson and R{\'e}mi Bonnefoi and Christophe Moy",
TITLE={{GNU} Radio Implementation of {MALIN:} {{"}Multi-Arm} bandits Learning for
Internet-of-things Networks{"}},
BOOKTITLE="2019 IEEE Wireless Communications and Networking Conference (WCNC) (IEEE
WCNC 2019)",
ADDRESS="Marrakech, Morocco",
DAYS=14,
MONTH=apr,
YEAR=2019,
KEYWORDS="IoT; GNU Radio; Multi-Armed Bandit; Machine Learning",
ABSTRACT="We implement an IoT network the following way: one gateway, one or several
intelligent (ie, learning) objects, embedding the proposed solution, and a
traffic generator that emulates radio interferences from many other
objects. Intelligent objects communicate with the gateway with a wireless
ALOHA-based protocol, which does not require any specific overhead for the
learning. We model the network access as a discrete sequential decision
making problem, and using the framework and algorithms from Multi-Arm
Bandit (MAB) learning, we show that intelligent objects can improve their
access to the network by using low complexity and decentralized algorithms,
such as UCB and Thompson Sampling. This solution could be added in a
straightforward and costless manner in LoRaWAN networks, just by adding
this feature in some or all the devices, without any modification on
network side."
}

repository: syamms/phd-thesis

repo_name: syamms/phd-thesis


text:
SUMMARY = "Qt Lottie"
DESCRIPTION = "Creates a QtLottie library."

inherit qmake5 qmake5_paths

S = "${WORKDIR}/git/"

LICENSE = "(GPL-3.0 & The-Qt-Company-GPL-Exception-1.0) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
    file://${S}/LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
    file://${S}/LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
"

DEPENDS += "qtbase qtdeclarative"

FILES_${PN} += "${bindir} ${libdir}"

SRC_URI = "git://github.com/qt/qtlottie.git;branch=dev;protocol=git"
SRCREV = "03f115744229f841d42c37b1a699e9b8da7873fc"
SRC_URI[md5sum] = "7b22bdba2af35789489ff256c14dc155"

do_compile () {
    oe_runmake all
}

repository: reworled/meta-qtlottie

repo_name: reworled/meta-qtlottie


text:
DESCRIPTION = "Gtk+ WebCore - reference browser"
HOMEPAGE = "http://gtk-webcore.sourceforge.net/"
SECTION = "gpe"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "osb-nrcit gtk+ glib-2.0 libglade"
RRECOMMENDS_${PN} = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-ico gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png"
SRCREV = "125"
PV = "0.5.0+svnr${SRCPV}"
PR = "r1"

inherit autotools

SRC_URI = "svn://gtk-webcore.svn.sourceforge.net/svnroot/gtk-webcore/trunk;module=osb-browser;proto=https"

S = "${WORKDIR}/osb-browser"

DEFAULT_PREFERENCE = "-1"

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
@InProceedings{mcmahan12,
  title = {Open Problem: Better Bounds for Online Logistic Regression},
  author = {H.   Brendan McMahan and Matthew Streeter},
  pages = {44.1--44.3},
  abstract = {Known algorithms applied to online logistic regression on a feasible set of \emph{L}_{2} diameter \emph{D} achieve regret bounds like \emph{O}(\emph{e^{D}} log \emph{T}) in one dimension, but we show a bound of \emph{O}(√\emph{D}  + log \emph{T}) is possible in a binary 1-dimensional problem. Thus, we pose the following question: Is it possible to achieve a regret bound for online logistic regression that is \emph{O}(poly(\emph{D}) log(\emph{T}))? Even if this is not possible in general, it would be interesting to have a bound that reduces to our bound in the one-dimensional case.},
  pdf = {http://jmlr.org/proceedings/papers/v23/mcmahan12/mcmahan12.pdf},
}


text:
@article{Shapiro_2000,
 author = {Shapiro, Martin},
 title = {Effect of Two Granulosis Viruses on the Activity of the Gypsy Moth (Lepidoptera: Lymantriidae) Nuclear Polyhedrosis Virus},
 journal = {Journal of Economic Entomology},
 publisher = {Oxford University Press ({OUP})},
 year = {2000},
 month = {dec},
 number = {6},
 volume = {93},
 pages = {1633--1637},
 url = {https://doi.org/10.1603%2F0022-0493-93.6.1633},
 doi = {10.1603/0022-0493-93.6.1633}
}


text:
package px500

import (
	"encoding/json"

	"github.com/pihao/desktop500px/src/app"
	"github.com/pihao/go-oauth/oauth"
)

type API struct {
	Client      oauth.Client
	AccessToken oauth.Credentials
}

type PX500Error struct {
	Error  string
	Status int
}

func ResponseHasError(body []byte) bool {
	var o PX500Error
	json.Unmarshal(body, &o)
	if (o == PX500Error{}) {
		return false
	} else {
		app.Trace(string(body))
		return true
	}
}


text:
@article{jaehnig15-commun-envir,
 abstract = {Chinese rivers are both highly biodiverse and highly
under pressure, hence an urgent need exists to
understand ecological drivers and disentangle
different scales of stressors to support water
management. Our aims were to (1) determine the most
influential variables for benthic invertebrate
occurrence, (2) compare results related to
communities as opposed to metrics and (3) examine
the role of spatial scales with relevance to
management. Benthic invertebrate sampling was
performed at 37 sites in selected tributaries of the
middle reaches of the Yangtze, covering an
environmental gradient with a focus on organic
pollution (stratified sampling design). Ten metrics
commonly used in biomonitoring were derived and
analysed in parallel to assemblage
data. Environmental variables covered 74 parameters
from three different spatial scales, namely local,
reach and catchment scale. We ran a CCA with each of
the three subsets to find out the significant
determining/explanatory variables, followed by pCCA
and pRDA (for metric data) with these variables with
forward selection to determine single variables
important for each subset; we further used variation
portioning for benthic invertebrate data. A high
percentage of overall variability (70 %) of the
assemblage structure was explained, with catchment-
and local-scale variables being almost equally
important. Small-scale variables tended to be more
important than large-scale variables for the
metric-based approach but not for the assemblage
approach. Our results emphasise the need for
spatially explicit regional studies in freshwater
systems and suggest testing multi-metric assessment
approaches to tackle water management and
environmental health questions in China.},
 author = {Jähnig, S.C. and Shah, D.N. and Tachamo Shah,
R.D. and Li, F. and Cai, Q. and Sundermann, A. and
Tonkin, J.D. and Stendera, S.},
 author_keywords = {Biomonitoring; Hubei; Land use; Spatial scale;
Variation partitioning},
 doi = {10.1007/s12665-015-4466-8},
 journal = {Environmental Earth Sciences},
 keywords = {Catchments; Land use; Runoff; Water management,
Biomonitoring; Environmental gradient; Environmental
variables; Hubei; Invertebrate communities; Spatial
scale; Stratified sampling design; Variation
partitioning, River pollution, benthos;
biomonitoring; environmental gradient; invertebrate;
land use change; nature-society relations; organic
pollutant; river system; spatial analysis; species
occurrence; variance analysis; water management,
China; Yangtze River, Invertebrata},
 number = {8},
 pages = {6431-6442},
 title = {Community-environment relationships of riverine
invertebrate communities in central Chinese streams},
 url = {https://doi.org/10.1007/s12665-015-4466-8},
 volume = {74},
 year = {2015}
}

repository: tonkinlab/tonkinlab

repo_name: tonkinlab/tonkinlab


text:
@inproceedings{Apel:2013,
 author = {Apel, Sven and Rhein, Alexander von and Wendler, Philipp and Gr{\"o}{\ss}linger, Armin and Beyer, Dirk},
 title = {Strategies for Product-line Verification: Case Studies and Experiments},
 booktitle = {Proceedings of the 2013 International Conference on Software Engineering},
 series = {ICSE '13},
 year = {2013},
 isbn = {978-1-4673-3076-3},
 location = {San Francisco, CA, USA},
 pages = {482--491},
 numpages = {10},
 url = {http://dl.acm.org/citation.cfm?id=2486788.2486852},
 acmid = {2486852},
 publisher = {IEEE Press},
 address = {Piscataway, NJ, USA},
}

@book{Bertot:2010,
 author = {Bertot, Yves and Castran, Pierre},
 title = {Interactive Theorem Proving and Program Development: Coq'Art The Calculus of Inductive Constructions},
 year = {2010},
 isbn = {3642058809, 9783642058806},
 edition = {1st},
 publisher = {Springer Publishing Company, Incorporated},
}

@inproceedings{Bodden:2013,
 author = {Bodden, Eric and Tol\^{e}do, T\'{a}rsis and Ribeiro, M\'{a}rcio and Brabrand, Claus and Borba, Paulo and Mezini, Mira},
 title = {SPLLIFT: Statically Analyzing Software Product Lines in Minutes Instead of Years},
 booktitle = {Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation},
 series = {PLDI '13},
 year = {2013},
 isbn = {978-1-4503-2014-6},
 location = {Seattle, Washington, USA},
 pages = {355--364},
 numpages = {10},
 url = {http://doi.acm.org/10.1145/2491956.2491976},
 doi = {10.1145/2491956.2491976},
 acmid = {2491976},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {context sensitive, flow sensitive, inter-procedural static analysis, software product lines},
}

@inproceedings{Classen:2010,
 author = {Classen, Andreas and Heymans, Patrick and Schobbens, Pierre-Yves and Legay, Axel and Raskin, Jean-Fran\c{c}ois},
 title = {Model Checking Lots of Systems: Efficient Verification of Temporal Properties in Software Product Lines},
 booktitle = {Proceedings of the 32Nd ACM/IEEE International Conference on Software Engineering - Volume 1},
 series = {ICSE '10},
 year = {2010},
 isbn = {978-1-60558-719-6},
 location = {Cape Town, South Africa},
 pages = {335--344},
 numpages = {10},
 url = {http://doi.acm.org/10.1145/1806799.1806850},
 doi = {10.1145/1806799.1806850},
 acmid = {1806850},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {features, software product lines, specification},
}

@article{Classen:2013,
 author = {Classen, Andreas and Cordy, Maxime and Schobbens, Pierre-Yves and Heymans, Patrick and Legay, Axel and Raskin, Jean-Francois},
 title = {Featured Transition Systems: Foundations for Verifying Variability-Intensive Systems and Their Application to LTL Model Checking},
 journal = {IEEE Trans. Softw. Eng.},
 issue_date = {August 2013},
 volume = {39},
 number = {8},
 month = aug,
 year = {2013},
 issn = {0098-5589},
 pages = {1069--1089},
 numpages = {21},
 url = {http://dx.doi.org/10.1109/TSE.2012.86},
 doi = {10.1109/TSE.2012.86},
 acmid = {2516486},
 publisher = {IEEE Press},
 address = {Piscataway, NJ, USA},
 keywords = {Unified modeling language,Semantics,Software,Labeling,Automata,Quality assurance,software product lines,Formal methods,model checking,verification,variability,features},
}

@inproceedings{Gazzillo:2012,
 author = {Gazzillo, Paul and Grimm, Robert},
 title = {SuperC: Parsing All of C by Taming the Preprocessor},
 booktitle = {Proceedings of the 33rd ACM SIGPLAN Conference on Programming Language Design and Implementation},
 series = {PLDI '12},
 year = {2012},
 isbn = {978-1-4503-1205-9},
 location = {Beijing, China},
 pages = {323--334},
 numpages = {12},
 url = {http://doi.acm.org/10.1145/2254064.2254103},
 doi = {10.1145/2254064.2254103},
 acmid = {2254103},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {c, fork-merge lr parsing, lr parsing, preprocessor, superc},
}

@inproceedings{Kastner:2011,
 author = {K\"{a}stner, Christian and Giarrusso, Paolo G. and Rendel, Tillmann and Erdweg, Sebastian and Ostermann, Klaus and Berger, Thorsten},
 title = {Variability-aware Parsing in the Presence of Lexical Macros and Conditional Compilation},
 booktitle = {Proceedings of the 2011 ACM International Conference on Object Oriented Programming Systems Languages and Applications},
 series = {OOPSLA '11},
 year = {2011},
 isbn = {978-1-4503-0940-0},
 location = {Portland, Oregon, USA},
 pages = {805--824},
 numpages = {20},
 url = {http://doi.acm.org/10.1145/2048066.2048128},
 doi = {10.1145/2048066.2048128},
 acmid = {2048128},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {\#ifdef, c, conditional compilation, linux, parsing, preprocessor, software product lines, variability},
}

@article{Kastner:2012,
 author = {K\"{a}stner, Christian and Apel, Sven and Th\"{u}m, Thomas and Saake, Gunter},
 title = {Type Checking Annotation-based Product Lines},
 journal = {ACM Trans. Softw. Eng. Methodol.},
 issue_date = {June 2012},
 volume = {21},
 number = {3},
 month = jul,
 year = {2012},
 issn = {1049-331X},
 pages = {14:1--14:39},
 articleno = {14},
 numpages = {39},
 url = {http://doi.acm.org/10.1145/2211616.2211617},
 doi = {10.1145/2211616.2211617},
 acmid = {2211617},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {\#ifdef, CFJ, CIDE, Featherweight Java, conditional compilation, software product lines, type system},
}

@inproceedings{Liebig:2013,
 author = {Liebig, J\"{o}rg and von Rhein, Alexander and K\"{a}stner, Christian and Apel, Sven and D\"{o}rre, Jens and Lengauer, Christian},
 title = {Scalable Analysis of Variable Software},
 booktitle = {Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering},
 series = {ESEC/FSE 2013},
 year = {2013},
 isbn = {978-1-4503-2237-9},
 location = {Saint Petersburg, Russia},
 pages = {81--91},
 numpages = {11},
 url = {http://doi.acm.org/10.1145/2491411.2491437},
 doi = {10.1145/2491411.2491437},
 acmid = {2491437},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {C Preprocessor, Liveness Analysis, Software Product Lines, Type Checking, Variability-aware Analysis},
}

@article{Midtgaard:2015,
 author = {Midtgaard, Jan and Dimovski, Aleksandar S. and Brabrand, Claus and W\k{a}sowski, Andrzej},
 title = {Systematic Derivation of Correct Variability-aware Program Analyses},
 journal = {Sci. Comput. Program.},
 issue_date = {July 2015},
 volume = {105},
 number = {C},
 month = jul,
 year = {2015},
 issn = {0167-6423},
 pages = {145--170},
 numpages = {26},
 url = {http://dx.doi.org/10.1016/j.scico.2015.04.005},
 doi = {10.1016/j.scico.2015.04.005},
 acmid = {2797555},
 publisher = {Elsevier North-Holland, Inc.},
 address = {Amsterdam, The Netherlands, The Netherlands},
 keywords = {Abstract interpretation, Software Product Lines, Software variability, Static analysis, Verification},
}

@book{Pierce:2002,
 author = {Pierce, Benjamin C.},
 title = {Types and Programming Languages},
 year = {2002},
 isbn = {0262162091, 9780262162098},
 edition = {1st},
 publisher = {The MIT Press},
}

@inproceedings{Reps:1995,
 author = {Reps, Thomas and Horwitz, Susan and Sagiv, Mooly},
 title = {Precise Interprocedural Dataflow Analysis via Graph Reachability},
 booktitle = {Proceedings of the 22Nd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages},
 series = {POPL '95},
 year = {1995},
 isbn = {0-89791-692-1},
 location = {San Francisco, California, USA},
 pages = {49--61},
 numpages = {13},
 url = {http://doi.acm.org/10.1145/199448.199462},
 doi = {10.1145/199448.199462},
 acmid = {199462},
 publisher = {ACM},
 address = {New York, NY, USA},
}

@inproceedings{Salay:2014,
 author = {Salay, Rick and Famelis, Michalis and Rubin, Julia and Di Sandro, Alessio and Chechik, Marsha},
 title = {Lifting Model Transformations to Product Lines},
 booktitle = {Proceedings of the 36th International Conference on Software Engineering},
 series = {ICSE 2014},
 year = {2014},
 isbn = {978-1-4503-2756-5},
 location = {Hyderabad, India},
 pages = {117--128},
 numpages = {12},
 url = {http://doi.acm.org/10.1145/2568225.2568267},
 doi = {10.1145/2568225.2568267},
 acmid = {2568267},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {Model Driven Engineering, Model Transformations, Software Product Lines},
}

@online{SPLStrategies,
  title = {Analyses Strategies for Software Product Lines},
  url = {http://fosd.net/spl-strategies/}
}
@article{Thum:2014,
 author = {Th\"{u}m, Thomas and Apel, Sven and K\"{a}stner, Christian and Schaefer, Ina and Saake, Gunter},
 title = {A Classification and Survey of Analysis Strategies for Software Product Lines},
 journal = {ACM Comput. Surv.},
 issue_date = {July 2014},
 volume = {47},
 number = {1},
 month = jun,
 year = {2014},
 issn = {0360-0300},
 pages = {6:1--6:45},
 articleno = {6},
 numpages = {45},
 url = {http://doi.acm.org/10.1145/2580950},
 doi = {10.1145/2580950},
 acmid = {2580950},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {Product-line analysis, model checking, program family, software analysis, software product line, static analysis, theorem proving, type checking},
}

repository: disconcision/ProductLineAnalysis

repo_name: disconcision/ProductLineAnalysis


text:
DESCRIPTION = "Task to build and install header and libs into the sdk"
LICENSE = "MIT"
PR = "r14"

PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit packagegroup

TISDK_TOOLCHAIN_BASE_TARGET = "\
    packagegroup-arago-standalone-sdk-target \
    packagegroup-arago-tisdk-multimedia-sdk-target \
"

TISDK_TOOLCHAIN_EXTRA_TARGET = "\
    packagegroup-arago-tisdk-connectivity-sdk-target \
    packagegroup-arago-tisdk-crypto-sdk-target \
"
TISDK_TOOLCHAIN_EXTRA_TARGET:omapl138 = ""

RDEPENDS:${PN} = "\
    ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-qte-toolchain-target','',d)} \
    ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk-sdk-target','',d)} \
    ${TISDK_TOOLCHAIN_BASE_TARGET} \
    ${TISDK_TOOLCHAIN_EXTRA_TARGET} \
    ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics-sdk-target','',d)} \
    ${@['','packagegroup-arago-tisdk-opencl-sdk-target'][oe.utils.all_distro_features(d, 'opencl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \
    packagegroup-arago-tisdk-addons-sdk-target \
"

repository: rcn-ee/meta-arago

repo_name: rcn-ee/meta-arago


text:
@article{Shoer2010,
annote = {Section III is the math behind quirk - p. 6-8},
author = {Shoer, J and Peck, M},
file = {:Users/Zaaron/Library/Application Support/Mendeley Desktop/Downloaded/Shoer, Peck - 2010 - Simulation of Multibody Spacecraft Reconfiguration through Sequential Dynamic Equilibria.pdf:pdf},
journal = {AIAA Guidance, Navigation, and Control Conference, \ldots},
keywords = {dynamics,kinematics,modeling,spacecraft reconfiguration},
mendeley-tags = {dynamics,kinematics,modeling,spacecraft reconfiguration},
number = {August},
pages = {1--15},
title = {{Simulation of Multibody Spacecraft Reconfiguration through Sequential Dynamic Equilibria}},
url = {http://arc.aiaa.org/doi/pdf/10.2514/6.2010-8068},
year = {2010}
}
@article{Ohji2010,
annote = {Results to replicate

- increasing amplitude sinusoid as you increase i\_23/i\_1 FIG 7

-as you increase i\_23 at phase\_max force (theta = -75), force increases linearly with i\_1, but with diminishing returns (d\_slope/d\_i1 < 0) FIG 8a

-as you increase i\_23 at phase\_min force (theta = 105 degrees) force decreases linearly with i\_1 with increasing returns (d\_slope/di\_1 > 1) FIG 8b

-increasing excitation frequency increases amplitude of force, but decrease offset of the sine wave with phase difference FIG 9

-increasing plate thickness has the same effect as increasing excitation frequency - increasing amplitude of force with phase difference but decreaing offset FIG 10

      },
author = {Ohji, Takahisa and Sato, Masaaki and Amei, Kenji and Sakui, Masaaki},
doi = {10.1002/eej.20905},
file = {:Users/Zaaron/Library/Application Support/Mendeley Desktop/Downloaded/Ohji et al. - 2010 - Generation of method AC Ampere force using eddy current inside a nonmagnetic thin plate and its effect on electrody.pdf:pdf},
issn = {04247760},
journal = {Electrical Engineering in Japan},
keywords = {ampere,eddy current,electrodynamic,magnetic levitation,nonmagnetic thin plate,suspension},
month = feb,
number = {3},
pages = {48--56},
title = {{Generation of method AC Ampere force using eddy current inside a nonmagnetic thin plate and its effect on electrodynamic suspension}},
url = {http://doi.wiley.com/10.1002/eej.20905},
volume = {170},
year = {2010}
}
@article{Thompson2000,
author = {Thompson, Marc T},
chapter = {336},
file = {:Users/Zaaron/Library/Application Support/Mendeley Desktop/Downloaded/Thompson - 2000 - Electrodynamic Magnetic Suspension—Models, Scaling Laws, and Experimental Results.pdf:pdf},
journal = {IEEE TRANSACTIONS ON EDUCATION},
number = {3},
pages = {336--342},
title = {{Electrodynamic Magnetic Suspension—Models,
Scaling Laws, and Experimental Results}},
volume = {43},
year = {2000}
}
@article{Sodano2008,
abstract = {There exist many methods of adding damping to a vibrating structure; however eddy current damping is one of few that can function without ever coming into contact with that structure. This magnetic damping scheme functions due to the eddy currents that are generated in a conductive material when it is subjected to a time changing magnetic field. Due to the circulation of these currents, a magnetic field is generated, which interacts with the applied field resulting in a force. In this manuscript, an active damper will be theoretically developed that functions by dynamically modifying the current flowing through a coil, thus generating a time-varying magnetic field. By actively controlling the strength of the field around the conductor the induced eddy currents and the resulting damping force can be controlled. This actuation method is easy to apply and allows significant magnitudes of forces to be applied without ever coming into contact with the structure. Therefore, vibration control can be applied without inducing mass loading or added stiffness, which are downfalls of other methods. This manuscript will provide a theoretical derivation of the equations defining the electric fields generated and the dynamic forces induced in the structure. This derivation will show that when eddy currents are generated due to a variation in the strength of the magnetic source, the resulting force occurs at twice the frequency of the applied current. This frequency doubling effect will be experimentally verified. Furthermore, a feedback controller will be designed to account for the frequency doubling effect and a simulation performed to show that significant vibration suppression can be achieved with this technique.},
annote = {284MX
Times Cited:0
Cited References Count:23},
author = {Sodano, H A and Inman, D J},
doi = {10.1115/1.2837436},
file = {:Users/Zaaron/Library/Application Support/Mendeley Desktop/Downloaded/Sodano, Inman - 2008 - Modeling of a new active eddy current vibration control system.pdf:pdf},
isbn = {0022-0434},
journal = {Journal of Dynamic Systems Measurement and Control-Transactions of the Asme},
keywords = {active control,beam,current damper,deflection,dynamic-behavior,eddy current damper,magnetic damping,magnetic-field,thin-plate,vibration},
language = {English},
number = {2},
title = {{Modeling of a new active eddy current vibration control system}},
url = {<Go to ISI>://000254711600009},
volume = {130},
year = {2008}
}

gha_language: HTML


text:
@BOOK{Pardo2018-ou,
  title     = "{Statistical Inference Based on Divergence Measures}",
  author    = "Pardo, Leandro",
  abstract  = "The idea of using functionals of Information Theory, such as
               entropies or divergences, in statistical inference is not new.
               However, in spite of the fact that",
  publisher = "Chapman and Hall/CRC",
  month     =  nov,
  year      =  2018,
  isbn      = "9780429148521, 9780429148521",
  doi       = "10.1201/9781420034813"
}

@ARTICLE{Ben-Tal2013-kw,
  title     = "{Robust Solutions of Optimization Problems Affected by Uncertain
               Probabilities}",
  author    = "Ben-Tal, Aharon and den Hertog, Dick and De Waegenaere, Anja and
               Melenberg, Bertrand and Rennen, Gijs",
  abstract  = "In this paper we focus on robust linear optimization problems
               with uncertainty regions defined by ?-divergences (for example,
               chi-squared, Hellinger, Kullback?Leibler). We show how
               uncertainty regions based on ?-divergences arise in a natural
               way as confidence sets if the uncertain parameters contain
               elements of a probability vector. Such problems frequently occur
               in, for example, optimization problems in inventory control or
               finance that involve terms containing moments of random
               variables, expected utility, etc. We show that the robust
               counterpart of a linear optimization problem with ?-divergence
               uncertainty is tractable for most of the choices of ? typically
               considered in the literature. We extend the results to problems
               that are nonlinear in the optimization variables. Several
               applications, including an asset pricing example and a numerical
               multi-item newsvendor example, illustrate the relevance of the
               proposed approach. This paper was accepted by G{\'e}rard P.
               Cachon, optimization.",
  journal   = "Manage. Sci.",
  publisher = "INFORMS",
  volume    =  59,
  number    =  2,
  pages     = "341--357",
  month     =  feb,
  year      =  2013,
  issn      = "0025-1909",
  doi       = "10.1287/mnsc.1120.1641"
}

@ARTICLE{Ben-Tal1998-ic,
  title     = "{Robust Convex Optimization}",
  author    = "Ben-Tal, A and Nemirovski, A",
  abstract  = "We study convex optimization problems for which the data is not
               specified exactly and it is only known to belong to a given
               uncertainty set U, yet the constraints must hold for all
               possible values of the data from U. The ensuing optimization
               problem is called robust optimization. In this paper we lay the
               foundation of robust convex optimization. In the main part of
               the paper we show that if U is an ellipsoidal uncertainty set,
               then for some of the most important generic convex optimization
               problems (linear programming, quadratically constrained
               programming, semidefinite programming and others) the
               corresponding robust convex program is either exactly, or
               approximately, a tractable problem which lends itself to
               efficient algorithms such as polynomial time interior point
               methods.",
  journal   = "Mathematics of OR",
  publisher = "INFORMS",
  volume    =  23,
  number    =  4,
  pages     = "769--805",
  month     =  nov,
  year      =  1998,
  issn      = "0364-765X",
  doi       = "10.1287/moor.23.4.769"
}

@book{pardo2018statistical,
  title={Statistical inference based on divergence measures},
  author={Pardo, Leandro},
  year={2018},
  publisher={CRC press}
}

@ARTICLE{Liese2006-iv,
  author={F. {Liese} and I. {Vajda}},
  journal={IEEE Transactions on Information Theory},
  title={On Divergences and Informations in Statistics and Information Theory},
  year={2006},
  volume={52},
  number={10},
  pages={4394-4412}
}

@article{ben2015deriving,
  title={Deriving robust counterparts of nonlinear uncertain inequalities},
  author={Ben-Tal, Aharon and Den Hertog, Dick and Vial, Jean-Philippe},
  journal={Mathematical programming},
  volume={149},
  number={1-2},
  pages={265--299},
  year={2015},
  publisher={Springer}
}

@article{ben2002robust,
  title={Robust optimization--methodology and applications},
  author={Ben-Tal, Aharon and Nemirovski, Arkadi},
  journal={Mathematical programming},
  volume={92},
  number={3},
  pages={453--480},
  year={2002},
  publisher={Springer}
}

@misc{enwiki:1025193696,
  author = "{Wikipedia contributors}",
  title = "Bloom filter --- {Wikipedia}{,} The Free Encyclopedia",
  year = "2021",
  howpublished = "\url{https://en.wikipedia.org/w/index.php?title=Bloom_filter&oldid=1025193696}",
  note = "[Online; accessed 8-June-2021]"
}

@misc{github-repo,
  author = "{Anonymous Authors}",
  title = "Robust LSM Tuning",
  year = "2021",
  url = {https://anonymous.4open.science/r/robust-lsm-tuning-E212}
}

@article{2020SciPy-NMeth,
  author  = {Virtanen, Pauli and Gommers, Ralf and Oliphant, Travis E. and Haberland, Matt and Reddy, Tyler and Cournapeau, D, et al.},
  title   = {{{SciPy} 1.0: Fundamental Algorithms for Scientific Computing in Python}},
  journal = {Nature Methods},
  year    = {2020},
  volume  = {17},
  pages   = {261--272},
  adsurl  = {https://rdcu.be/b08Wh},
  doi     = {10.1038/s41592-019-0686-2},
}

repository: chdhr-harshal/endure-robust-lsm

repo_name: chdhr-harshal/endure-robust-lsm


text:
@article{halpern2006sa,
 abstract = {In their Report “Strong top-down control in southern California kelp forest ecosystems” (26 May, p. [1230][1]), B. S. Halpern et al. conclude that these forests show strong top-down (consumer-driven) control and that bottom-up (resource-driven) control in such systems may often be overestimated.

These conclusions run counter to most of the extensive literature ([1][2]–[4][3]) on the ecology and natural history of kelp forests in southern California. There are numerous examples of the importance of storms and low nutrients over large spatial and temporal scales, especially during El Niños ([3][4], [5][5]–[7][6]) but also from decadal climate shifts ([8][7]). Halpern et al. used a short-term data set that did not include El Niño-Southern Oscillation or decadal climate shifts. Moreover, they used satellite-derived offshore chlorophyll a concentration data as a measure of “resources” without establishing that these data were a good proxy for nutrients or primary production in nearshore kelp forests and despite evidence to the contrary [e.g., ([9][8], [10][9])].

The primary evidence for top-down effects was correlations interpreted by Halpern et al. as showing that spiny lobsters and Kellet's whelks were “significantly important species, likely due to their strong impacts on key grazers of kelp (urchins) and algae (limpets and snails).” There is indirect evidence that lobsters may affect urchins ([11][10], [12][11]), but Kellet's whelk is primarily a scavenger ([13][12]) whose abundance has been negatively correlated with kelp forests ([14][13]). Neither animal has been shown to have “strong” impacts on their prey species in California kelp forests. Halpern et al. could think of no mechanism by which the two other significant species “control” algae. The diets of these fish indicate no such mechanism; the correlations likely result from habitat preferences ([15][14]). The lack of significant correlation between kelp and urchins is counter to their hypothesis but was not discussed. The analytical results may be generally misleading due to weak trophic links [e.g., many of the grazers eat other algae in addition to kelp, and commonly eat drift, not attached plants ([3][4])]. Thus, neither bottom-up nor top-down effects were tested and the conclusions, therefore, are unsubstantiated.

1.  1.[↵][15] 1.   W. J. North

, Nova Hedwigia 32, 1 (1971).

[OpenUrl][16]

2.  2. 1.   P. K. Dayton

, Annu. Rev. Ecol. Syst. 16, 215 (1985).

[OpenUrl][17][CrossRef][18][Web of Science][19]

3.  3.[↵][20] 1.   M. S. Foster,
2.   D. R. Schiel

, The Ecology of Giant Kelp Forests in California: A Community Profile (U.S. Fish and Wildlife Service, Washington, DC, 1985).

4.  4.[↵][21] 1.   M. H. Graham,
2.   J.A. Vásquez,
3.   A. H. Buschmann

, Oceanogr. Mar. Biol. Annu. Rev. in press.

5.  5.[↵][22] 1.   R. C. Zimmerman,
2.   D. L. Robertson

, Limnol. Oceanogr. 30, 1298 (1985).

[OpenUrl][23][CrossRef][24][Web of Science][25]

6.  6. 1.   P. K. Dayton,
2.   M. J. Tegner,
3.   P. B. Edwards,
4.   K. L. Riser

, Ecol. Monogr. 69, (1999).

7.  7.[↵][26] 1.   M. S. Edwards

, Oecologia 138, 436 (2004).

[OpenUrl][27][CrossRef][28][PubMed][29][Web of Science][30]

8.  8.[↵][31] 1.   S. J. Holbrook,
2.   R. J. Schmitt,
3.   J. S. Stephens

, Ecol. Appl. 7, 299 (1997).

[OpenUrl][32]

9.  9.[↵][33] 1.   C. A. Blanchette,
2.   B. R. Broitman,
3.   S. D. Gaines

,  Mar. Biol. DOI 10.1007/s00227-005-0239-3 (2006).

10. 10.[↵][34] 1.   R. C. Zimmerman,
2.   J. N. Kremer

, J. Mar. Res. 42, 591 (1984).

[OpenUrl][35][CrossRef][36][Web of Science][37]

11. 11.[↵][38] 1.   M. J. Tegner,
2.   L. A. Levin

, J. Exp. Mar. Biol. Ecol. 73, 125 (1983).

[OpenUrl][39][CrossRef][40][Web of Science][41]

12. 12.[↵][42] 1.   K. D. Lafferty

, Ecol. Appl. 14, 1566 (2004).

[OpenUrl][43][CrossRef][44]

13. 13.[↵][45] 1.   R. J. Rosenthal

, Fish. Bull. 69, 669 (1971).

[OpenUrl][46]

14. 14.[↵][47] 1.   M. D. Behrens,
2.   K. D. Lafferty

, Mar. Ecol. Prog. Ser. 279, 129 (2004).

[OpenUrl][48][CrossRef][49][Web of Science][50]

15. 15.[↵][51] 1.   S. J. Holbrook,
2.   R. J. Schmitt,
3.   R. F. Ambrose

, Aust. J. Ecol. 15, 489 (1990).

[OpenUrl][52][CrossRef][53]

#  \#article-title-2\

In their Report “Strong top-down control in southern California kelp forest ecosystems” (26 May, p. [1230][1]), B. S. Halpern et al. conclude that top-down (predatory) effects are strong and more important than bottom-up (nutrient) effects in setting kelp forest community structure. They reach this conclusion through a statistical technique that examines mathematical associations among variables. Like any statistical technique that tests for correlations, it is unable to assign causality or deal effectively with highly correlated explanatory variables (“multicolinearity”). By including several highly intercorrelated predictor variables in their statistical model, it is essentially impossible to estimate bottom-up effects ([1][54], [2][55]). For example, because nutrient concentrations are tightly correlated with water temperature in southern California ([3][56]), it is probably impossible to separate temperature from bottom-up effects. Furthermore, their exclusion of sites from the warmest and most nutrient-poor waters ([4][57]) limits the ability to detect bottom-up effects.

Statistical associations between predator abundance and aspects of community structure lead Halpern and colleagues to conclude that predators drive community structure, but they offer few plausible mechanisms. A more likely causal link, bottom-up effects driving kelp forest community structure (including predator abundance) ([5][58]–[7][59]), would produce identical statistical results. For example, the predatory kelp rockfish was identified as exerting significant “top-down control,” but this fish is found almost exclusively with kelp because it is dependent on it, not vice versa ([7][59]).

Finally, the purported top-down effects are weak, explaining at most 20% of the variation in community structure. Other variables (e.g., water temperature and geographic location) explained 2 to 27 times more of the variation in community structure for all trophic levels but kelps ([4][57]). Modern statistical tests give us unprecedented ability to discover patterns in complex data sets, but such patterns can only be interpreted when combined with a sound understanding of the natural history of the system.

1.  1.[↵][60] 1.   B. G. Tabachnick,
2.   L. S. Fidell

, Using Multivariate Statistics (HarperCollins, New York, 1996).

2.  2.[↵][61] 1.   M. H. Graham

, Ecology 84, 2809 (2003).

[OpenUrl][62][CrossRef][63][Web of Science][64]

3.  3.[↵][65] 1.   P. K. Dayton,
2.   M. J. Tegner,
3.   P. B. Edwards,
4.   K. L. Riser

, Ecol. Monogr. 69, 219 (1999).

[OpenUrl][66][CrossRef][67][Web of Science][68]

4.  4.[↵][69] 1.   B. S. Halpern
2.  et al.

, 's Supporting Online Material at [www.sciencemag.org/cgi/content/full/312/5777/1230/DC1][70].

5.  5.[↵][71] 1.   P. K. Dayton

, Annu. Rev. Ecol. Syst. 16, 215 (1985).

[OpenUrl][17][CrossRef][18][Web of Science][19]

6.  6. 1.   M. H. Graham

, Ecosystems 7, 341 (2004).

[OpenUrl][72]

7.  7.[↵][73] 1.   M. H. Carr

, J. Exp. Mar. Biol. Ecol. 59, 126 (1989).

[OpenUrl][74]

# Response \#article-title-3\

Foster et al. and Steele et al. raise a number of concerns about our recent study. An important aspect of our analyses is that our dependent variables were species abundances, not the aggregate trophic values that are traditionally used. Our approach enhances the possibility of detecting either bottom-up or top-down patterns for individual or groups of species because assumptions about the nature (direct or indirect) of the relationships between species and trophic levels are unnecessary, and because it can detect compensatory dynamics within a trophic level that could eliminate aggregate top-down or bottom-up effects. Foster et al. 's concern about the species highlighted by our analyses likely arises from their expectation that direct trophic links must exist for the results to be valid. We were not assessing whether a “trophic cascade” existed, but instead evaluating the direction of control within communities. Indeed, our results may not have emerged from traditional approaches, and they highlight the potential importance of indirect effects in controlling community structure.

Both Letters express concern that we suggest cause and effect through correlations and not experiments. Despite reliance on correlational relationships, large-scale studies like ours have a long record of providing new insight through analysis over spatial and temporal scales beyond the reach and budget of experimental study. We focused on the hypothesized mechanisms that would be responsible for either bottom-up or top-down control—nutrient availability and predator abundance—and then determined the amount of variation explained by these two different groups of variables for algal and mid-trophic level abundances. The expected cause and effect are certainly implicit in our study, but will require significant resources before they can be tested experimentally.

Steele et al. are correct in noting that multicolinearity can create problems ([1][75]). However, our principal objective was to construct the best predictive model for both top-down and bottom-up variables, a situation in which “multicolinearity can be effectively ignored” [([1][75]), p. 2811]. Nevertheless, we limited multicolinearity problems within each different predictor group by eliminating highly multicolinear variables, an approach ([1][75]) that acts to conservatively decrease significant results (top-down control, in our case). Furthermore, we reported “pure” top-down and bottom-up effects in table S2 and Fig. 3, which are the amounts of explained variation after eliminating the multicolinearities between the different predictor groups. Contrary to Steele et al. 's expectations, top-down and spatial or temperature variables were colinear while bottom-up and temperature variables were not (see [table][76]), such that adding multicolinearity to our results would have suggested even stronger top-down effects.

View this table:

In addition, the results from our cited companion paper ([2][77]) show that the combination of wave disturbance and El Niño-Southern Oscillation (ENSO) explains only 6% of the variance, and in situ temperature explains less than 1% of the variance in kelp forest community structure based on 18 years of data spanning several strong and weak ENSO events. As we noted (see SOM), the use of satellite-derived productivity data in coastal waters has been extensively validated in our study region [(see also ([3][78])]. Importantly, the variation in primary production ([4][79]) is sufficient to detect potential bottom-up effects, despite missing the extreme nutrient limitation encountered at the southern limit of M. pyrifera .

Other variables such as geographic location are, indeed, at least as important as the top-down variables we identified ([2][77]). However, explaining 20% of variation in community structure is a notable result ([5][80]), and these “other” variables are largely outside the human influence and so less useful for management purposes.

The claim that our results run counter to the literature on kelp forest ecology is untrue [see, for example, ([6][81]–[9][82])], and we disagree with the suggestion that bottom-up effects offer a more parsimonious explanation of our results. Also, the referenced bottom-up associations are not tests of nutrient versus predator effects on entire kelp forest communities and counter examples exist, as with the monitoring of extreme eutrophication of kelp forests off San Diego that found no effect on kelp forest communities ([10][83]). Consequently, compensatory mechanisms among species are likely more important than a simple trophic cascade framework would suggest, with these effects driven by top-down forces. Our novel approach allowed us to uncover these results and to open up the quest for the mechanisms driving them.

1.  1.[↵][84] 1.   M. H. Graham

, Ecology 84, 2809 (2003).

[OpenUrl][62][CrossRef][63][Web of Science][64]

2.  2.[↵][85] 1.   B. S. Halpern,
2.   K. Cottenie

, Global Change Biol. in press.

3.  3.[↵][86] 1.   B. R. Broitman,
2.   B. P. Kinlan

, Mar. Ecol. Prog. Ser. in press.

4.  4.[↵][87] 1.   D. M. Ware,
2.   R. E. Thomson

, Science 308, 1280 (2005).

[OpenUrl][88][Abstract/FREE Full Text][89]

5.  5.[↵][90] 1.   K. Cottenie

, Ecol. Lett. 8, 1175 (2005).

[OpenUrl][91][CrossRef][92][PubMed][93][Web of Science][94]

6.  6.[↵][95] 1.   J. A. Estes,
2.   J. F. Palmisano

, Science 185, 1058 (1974).

[OpenUrl][96][Abstract/FREE Full Text][97]

7.  7. 1.   J. A. Estes,
2.   N. S. Smith,
3.   J. F. Palmisano

, Ecology 59, 822 (1978).

[OpenUrl][98][CrossRef][99][Web of Science][100]

8.  8. 1.   J. T. Wootton

, Ecoscience 2, 321 (1995).

[OpenUrl][101][Web of Science][102]

9.  9.[↵][103] 1.   N. T. Shears,
2.   R. C. Babcock

, Mar. Ecol. Prog. Ser. 246, 1 (2003).

[OpenUrl][104][CrossRef][105][Web of Science][106]

10. 10.[↵][107] 1.   M. J. Tegner
2.  et al.

, Mar. Environ. Res. 40, 181 (1995).

[OpenUrl][108][CrossRef][109][Web of Science][110]

[1]: /lookup/doi/10.1126/science.1128613
[2]: #ref-1
[3]: #ref-4
[4]: #ref-3
[5]: #ref-5
[6]: #ref-7
[7]: #ref-8
[8]: #ref-9
[9]: #ref-10
[10]: #ref-11
[11]: #ref-12
[12]: #ref-13
[13]: #ref-14
[14]: #ref-15
[15]: #xref-ref-1-1 "View reference 1. in text"
[16]: \openurl\?query=rft.jtitle%253DNova%2BHedwigia%26rft.volume%253D32%26rft.spage%253D1%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[17]: \openurl\?query=rft.jtitle%253DAnnual%2BReview%2Bof%2BEcology%2Band%2BSystematics%26rft.stitle%253DAnnu.%2BRev.%2BEcol.%2BSyst.%26rft.aulast%253DDayton%26rft.auinit1%253DP.%26rft.volume%253D16%26rft.issue%253D1%26rft.spage%253D215%26rft.epage%253D245%26rft.atitle%253DEcology%2Bof%2BKelp%2BCommunities%26rft_id%253Dinfo%253Adoi%252F10.1146%252Fannurev.es.16.110185.001243%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[18]: /lookup/external-ref?access_num=10.1146/annurev.es.16.110185.001243&link_type=DOI
[19]: /lookup/external-ref?access_num=A1985AUL3900009&link_type=ISI
[20]: #xref-ref-3-1 "View reference 3. in text"
[21]: #xref-ref-4-1 "View reference 4. in text"
[22]: #xref-ref-5-1 "View reference 5. in text"
[23]: \openurl\?query=rft.jtitle%253DLimnol.%2BOceanogr.%26rft.volume%253D30%26rft.spage%253D1298%26rft_id%253Dinfo%253Adoi%252F10.4319%252Flo.1985.30.6.1298%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[24]: /lookup/external-ref?access_num=10.4319/lo.1985.30.6.1298&link_type=DOI
[25]: /lookup/external-ref?access_num=A1985AVJ1000016&link_type=ISI
[26]: #xref-ref-7-1 "View reference 7. in text"
[27]: \openurl\?query=rft.jtitle%253DOecologia%26rft.volume%253D138%26rft.spage%253D436%26rft.atitle%253DOECOLOGIA%26rft_id%253Dinfo%253Adoi%252F10.1007%252Fs00442-003-1452-8%26rft_id%253Dinfo%253Apmid%252F14673640%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[28]: /lookup/external-ref?access_num=10.1007/s00442-003-1452-8&link_type=DOI
[29]: /lookup/external-ref?access_num=14673640&link_type=MED&atom=%2Fsci%2F313%2F5794%2F1737.3.atom
[30]: /lookup/external-ref?access_num=000188387100014&link_type=ISI
[31]: #xref-ref-8-1 "View reference 8. in text"
[32]: \openurl\?query=rft.jtitle%253DEcol.%2BAppl.%26rft.volume%253D7%26rft.spage%253D299%26rft.atitle%253DECOL%2BAPPL%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[33]: #xref-ref-9-1 "View reference 9. in text"
[34]: #xref-ref-10-1 "View reference 10. in text"
[35]: \openurl\?query=rft.jtitle%253DJ.%2BMar.%2BRes.%26rft.volume%253D42%26rft.spage%253D591%26rft.atitle%253DJ%2BMAR%2BRES%26rft_id%253Dinfo%253Adoi%252F10.1357%252F002224084788506031%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[36]: /lookup/external-ref?access_num=10.1357/002224084788506031&link_type=DOI
[37]: /lookup/external-ref?access_num=A1984TF14300008&link_type=ISI
[38]: #xref-ref-11-1 "View reference 11. in text"
[39]: \openurl\?query=rft.jtitle%253DJ.%2BExp.%2BMar.%2BBiol.%2BEcol.%26rft.volume%253D73%26rft.spage%253D125%26rft_id%253Dinfo%253Adoi%252F10.1016%252F0022-0981%252883%252990079-5%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[40]: /lookup/external-ref?access_num=10.1016/0022-0981(83)90079-5&link_type=DOI
[41]: /lookup/external-ref?access_num=A1983RV79300003&link_type=ISI
[42]: #xref-ref-12-1 "View reference 12. in text"
[43]: \openurl\?query=rft.jtitle%253DEcol.%2BAppl.%26rft.volume%253D14%26rft.spage%253D1566%26rft_id%253Dinfo%253Adoi%252F10.1890%252F03-5088%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[44]: /lookup/external-ref?access_num=10.1890/03-5088&link_type=DOI
[45]: #xref-ref-13-1 "View reference 13. in text"
[46]: \openurl\?query=rft.jtitle%253DFish.%2BBull.%26rft.volume%253D69%26rft.spage%253D669%26rft.atitle%253DFISH%2BBULL%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[47]: #xref-ref-14-1 "View reference 14. in text"
[48]: \openurl\?query=rft.jtitle%253DMar.%2BEcol.%2BProg.%2BSer.%26rft.volume%253D279%26rft.spage%253D129%26rft_id%253Dinfo%253Adoi%252F10.3354%252Fmeps279129%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[49]: /lookup/external-ref?access_num=10.3354/meps279129&link_type=DOI
[50]: /lookup/external-ref?access_num=000224800400014&link_type=ISI
[51]: #xref-ref-15-1 "View reference 15. in text"
[52]: \openurl\?query=rft.jtitle%253DAust.%2BJ.%2BEcol.%26rft.volume%253D15%26rft.spage%253D489%26rft.atitle%253DAUST%2BJ%2BECOL%26rft_id%253Dinfo%253Adoi%252F10.1111%252Fj.1442-9993.1990.tb01473.x%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[53]: /lookup/external-ref?access_num=10.1111/j.1442-9993.1990.tb01473.x&link_type=DOI
[54]: #ref-16
[55]: #ref-17
[56]: #ref-18
[57]: #ref-19
[58]: #ref-20
[59]: #ref-22
[60]: #xref-ref-16-1 "View reference 1. in text"
[61]: #xref-ref-17-1 "View reference 2. in text"
[62]: \openurl\?query=rft.jtitle%253DEcology%26rft.volume%253D84%26rft.spage%253D2809%26rft_id%253Dinfo%253Adoi%252F10.1890%252F02-3114%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[63]: /lookup/external-ref?access_num=10.1890/02-3114&link_type=DOI
[64]: /lookup/external-ref?access_num=000187363200001&link_type=ISI
[65]: #xref-ref-18-1 "View reference 3. in text"
[66]: \openurl\?query=rft.jtitle%253DEcol.%2BMonogr.%26rft.volume%253D69%26rft.spage%253D219%26rft_id%253Dinfo%253Adoi%252F10.1890%252F0012-9615%25281999%2529069%255B0219%253ATASSOK%255D2.0.CO%253B2%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[67]: /lookup/external-ref?access_num=10.1890/0012-9615(1999)069[0219:TASSOK]2.0.CO;2&link_type=DOI
[68]: /lookup/external-ref?access_num=000080175600005&link_type=ISI
[69]: #xref-ref-19-1 "View reference 4. in text"
[70]: http://www.sciencemag.org/cgi/content/full/312/5777/1230/DC1
[71]: #xref-ref-20-1 "View reference 5. in text"
[72]: \openurl\?query=rft.jtitle%253DEcosystems%26rft.volume%253D7%26rft.spage%253D341%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[73]: #xref-ref-22-1 "View reference 7. in text"
[74]: \openurl\?query=rft.jtitle%253DJ.%2BExp.%2BMar.%2BBiol.%2BEcol.%26rft.volume%253D59%26rft.spage%253D126%26rft.atitle%253DJ%2BEXP%2BMAR%2BBIOL%2BECOL%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[75]: #ref-23
[76]: #T1
[77]: #ref-24
[78]: #ref-25
[79]: #ref-26
[80]: #ref-27
[81]: #ref-28
[82]: #ref-31
[83]: #ref-32
[84]: #xref-ref-23-1 "View reference 1. in text"
[85]: #xref-ref-24-1 "View reference 2. in text"
[86]: #xref-ref-25-1 "View reference 3. in text"
[87]: #xref-ref-26-1 "View reference 4. in text"
[88]: \openurl\?query=rft.jtitle%253DScience%26rft_id%253Dinfo%253Adoi%252F10.1126%252Fscience.1109049%26rft_id%253Dinfo%253Apmid%252F15845876%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[89]: /lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6Mzoic2NpIjtzOjU6InJlc2lkIjtzOjEzOiIzMDgvNTcyNi8xMjgwIjtzOjQ6ImF0b20iO3M6MjU6Ii9zY2kvMzEzLzU3OTQvMTczNy4zLmF0b20iO31zOjg6ImZyYWdtZW50IjtzOjA6IiI7fQ==
[90]: #xref-ref-27-1 "View reference 5. in text"
[91]: \openurl\?query=rft.jtitle%253DEcol.%2BLett.%26rft.volume%253D8%26rft.spage%253D1175%26rft_id%253Dinfo%253Adoi%252F10.1111%252Fj.1461-0248.2005.00820.x%26rft_id%253Dinfo%253Apmid%252F21352441%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[92]: /lookup/external-ref?access_num=10.1111/j.1461-0248.2005.00820.x&link_type=DOI
[93]: /lookup/external-ref?access_num=21352441&link_type=MED&atom=%2Fsci%2F313%2F5794%2F1737.3.atom
[94]: /lookup/external-ref?access_num=000232535300006&link_type=ISI
[95]: #xref-ref-28-1 "View reference 6. in text"
[96]: \openurl\?query=rft.jtitle%253DScience%26rft.stitle%253DScience%26rft.issn%253D0036-8075%26rft.aulast%253DEstes%26rft.auinit1%253DJ.%2BA.%26rft.volume%253D185%26rft.issue%253D4156%26rft.spage%253D1058%26rft.epage%253D1060%26rft.atitle%253DSea%2BOtters%253A%2BTheir%2BRole%2Bin%2BStructuring%2BNearshore%2BCommunities%26rft_id%253Dinfo%253Adoi%252F10.1126%252Fscience.185.4156.1058%26rft_id%253Dinfo%253Apmid%252F17738247%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[97]: /lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6Mzoic2NpIjtzOjU6InJlc2lkIjtzOjEzOiIxODUvNDE1Ni8xMDU4IjtzOjQ6ImF0b20iO3M6MjU6Ii9zY2kvMzEzLzU3OTQvMTczNy4zLmF0b20iO31zOjg6ImZyYWdtZW50IjtzOjA6IiI7fQ==
[98]: \openurl\?query=rft.jtitle%253DEcology%26rft.volume%253D59%26rft.spage%253D822%26rft_id%253Dinfo%253Adoi%252F10.2307%252F1938786%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[99]: /lookup/external-ref?access_num=10.2307/1938786&link_type=DOI
[100]: /lookup/external-ref?access_num=A1978GB33300024&link_type=ISI
[101]: \openurl\?query=rft.jtitle%253DEcoscience%26rft.volume%253D2%26rft.spage%253D321%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[102]: /lookup/external-ref?access_num=A1995TK48700003&link_type=ISI
[103]: #xref-ref-31-1 "View reference 9. in text"
[104]: \openurl\?query=rft.jtitle%253DMar.%2BEcol.%2BProg.%2BSer.%26rft.volume%253D246%26rft.spage%253D1%26rft_id%253Dinfo%253Adoi%252F10.3354%252Fmeps246001%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[105]: /lookup/external-ref?access_num=10.3354/meps246001&link_type=DOI
[106]: /lookup/external-ref?access_num=000181085100001&link_type=ISI
[107]: #xref-ref-32-1 "View reference 10. in text"
[108]: \openurl\?query=rft.jtitle%253DMar.%2BEnviron.%2BRes.%26rft.volume%253D40%26rft.spage%253D181%26rft.atitle%253DMAR%2BENVIRON%2BRES%26rft_id%253Dinfo%253Adoi%252F10.1016%252F0141-1136%252894%252900008-D%26rft.genre%253Darticle%26rft_val_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Ajournal%26ctx_ver%253DZ39.88-2004%26url_ver%253DZ39.88-2004%26url_ctx_fmt%253Dinfo%253Aofi%252Ffmt%253Akev%253Amtx%253Actx
[109]: /lookup/external-ref?access_num=10.1016/0141-1136(94)00008-D&link_type=DOI
[110]: /lookup/external-ref?access_num=A1995RM92700005&link_type=ISI},
 author = {Halpern, Benjamin S. and Cottenie, Karl and Broitman, Bernardo R.},
 copyright = {© 2006 American Association for the Advancement of Science},
 doi = {10.1126/science.313.5794.1737c},
 file = {foster_2006_top-down_vs._bottom-up_effects_in_kelp_forests.pdf:/Users/karlcottenie/Google Drive/zotero-library/2006/foster_2006_top-down_vs._bottom-up_effects_in_kelp_forests.pdf:application/pdf},
 issn = {0036-8075, 1095-9203},
 journal = {Science},
 language = {en},
 month = {September},
 number = {5794},
 pages = {1737--1739},
 pmid = {16990533},
 title = {Top-Down Vs. Bottom-Up Effects in Kelp Forests},
 url = {http://science.sciencemag.org/content/313/5794/1737.3},
 urldate = {2019-03-21},
 volume = {313},
 year = {2006}
}

repository: karl-cottenie/academic-kickstart

repo_name: karl-cottenie/academic-kickstart


text:
import React from 'react';
import ReactDOM from 'react-dom';
import MetroMap from '../src/index';
import './style.css';

class Window extends React.Component {
  constructor(props) {
    super(props);
    this.state = {overlay: ''};
    this.hoveredId = -1;
  }

  onMouseEnterStation(station, scale) {
    const position = {
      left: station.center.x + 10,
      top: station.center.y - 10,
    };
    this.hoveredId = station.id;
    this.setState({
      overlay: (

      ),
    });
    setTimeout(() => {
      const data1 = [10, 110, 210, 310].map(tmp => [
        tmp,
        (10 + (Math.random() * (310 - 10 + 1) + 20)) << 0,
      ]);
      const line1 = data1.reduce(
        (acc, cur) => `${acc} ${cur[0]},${cur[1]}`,
        '',
      );
      const data2 = [10, 110, 210, 310].map(tmp => [
        tmp,
        (10 + (Math.random() * (310 - 10 + 1) + 20)) << 0,
      ]);
      const line2 = data2.reduce(
        (acc, cur) => `${acc} ${cur[0]},${cur[1]}`,
        '',
      );
      this.setState({
        overlay: (

            <svg height="350" width="350">
              <text
                x="30"
                y="30"
                fontSize="24px"
                fontFamily="serif"
                textAnchor="start">
                Example OnMouseEnterStation
              </text>
              <polyline
                fill="none"
                stroke="#0074d9"
                strokeWidth="3"
                points={line1}
              />
              <polyline
                fill="none"
                stroke="red"
                strokeWidth="3"
                points={line2}
              />
            </svg>

        ),
      });
    }, 500);
  }

  onMouseLeaveStation(station, scale) {
    this.hoveredId = -1;
    this.setState({overlay: ''});
  }

  onClickStation(station, scale, e) {
    alert(station.name.zh + ' clicked.');
  }

  // Customized rendering
  renderUserData(station, scale) {
    return (
      <text
        key={station.id}
        x={station.center.x}
        y={station.center.y}
        fontSize={10 * scale}
        fill={this.textColor}
        fontWeight="bold"
        dominantBaseline="middle"
        textAnchor="middle">
        {station.name.en.length}
      </text>
    );
  }

  render() {
    return (

        <MetroMap
          width={1600}
          height={1800}
          style={{zIndex: -1, position: 'absolute'}}
          showStationName={true}
          showUserData={true}
          onMouseEnterStation={(station, scale) =>
            this.onMouseEnterStation(station, scale)
          }
          onMouseLeaveStation={(station, scale) =>
            this.onMouseLeaveStation(station, scale)
          }
          onClickStation={(station, scale, e) =>
            this.onClickStation(station, scale, e)
          }
          renderUserData={(station, scale) =>
            this.renderUserData(station, scale)
          }
        />

{this.state.overlay}

    );
  }
}

ReactDOM.render(<Window />, document.getElementById('root'));

gha_language: JavaScript


text:
SUMMARY = "AMD OpenCL Fft Library"
DESCRIPTION = "AMD OpenCL Fft Library"
LICENSE = "Proprietary"

LIC_FILES_CHKSUM = "file://../clAmdFft-EULA.txt;md5=1b3158b1bef329c24a776cf76fb0c718"
INSANE_SKIP_${PN} = "ldflags"

PR = "r2"

SRC_URI = "http://developer.amd.com/wordpress/media/files/clAmdFft-${PV}.tar.gz"
SRC_URI[md5sum] = "f2b08c34a72719546ab290428e79e2b9"
SRC_URI[sha256sum] = "1a91cf96a2a766129ba396e389fafd09766d72cc27a97fea1749bc34c9b38019"

DEPENDS += "virtual/libgl"

S = "${WORKDIR}/clAmdFft"

do_unpack_amd(){
	tar xzvf ${WORKDIR}/clAmdFft-${PV}-Linux.tar.gz -C ${WORKDIR}/clAmdFft
}
addtask unpack_amd after do_unpack before do_patch

do_compile(){
}

do_install(){
	install -d -m 0755		${D}${bindir}
	install -m 0755  ${S}/bin${@bb.utils.contains("TARGET_ARCH", "x86_64", "64", "32", d)}/clAmdFft.Client-${PV} ${D}${bindir}/clAmdFft.Client
	install -d -m 0755		${D}${includedir}
	install -m 0644 		${S}/include/* ${D}${includedir}/
	install -d -m 0755		${D}${libdir}
	install -m 0755  ${S}/lib${@bb.utils.contains("TARGET_ARCH", "x86_64", "64", "32", d)}/libclAmdFft.Runtime.so.${PV} ${D}${libdir}/
	ln -sf libclAmdFft.Runtime.so.${PV} ${D}${libdir}/libclAmdFft.Runtime.so.1
	ln -sf libclAmdFft.Runtime.so.1 ${D}${libdir}/libclAmdFft.Runtime.so
}

repository: qtec/meta-qtec-core

repo_name: qtec/meta-qtec-core


text:
SUMMARY = "Local debug interface webapplication using ngnix"
LICENSE = "CLOSED"

DEPENDS = "nginx"
RDEPENDS_${PN} = "nginx"

SRC_URI = "git://gitlab.fh-ooe.at/smart_systems_lab/debug_if.git;protocol=https;user=gitlab+deploy-token-4:S9BosPfxPpq3HLctEqHz;branch=master"

SRCREV = "${AUTOREV}"

SRC_URI += "file://debugif"

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

do_install() {
    #install necessary directories
    install -d ${D}${sysconfdir}/nginx/sites-available
    install -d ${D}${sysconfdir}/nginx/sites-enabled

    # add siteconfig
    install -m 644 ${WORKDIR}/debugif ${D}${sysconfdir}/nginx/sites-available
    ln -s -r ${D}${sysconfdir}/nginx/sites-available/debugif ${D}${sysconfdir}/nginx/sites-enabled/debugif

    # copy website
    mkdir -p ${D}${localstatedir}/www/debugif
    install -d ${D}${localstatedir}/www/debugif
    cp -r ${S}/. ${D}${localstatedir}/www/debugif
}

repository: skaupper/SmartSystemsLab-Yocto

repo_name: skaupper/SmartSystemsLab-Yocto


text:
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

SRC_URI = ""
ALLOW_EMPTY_${PN} = "1"

inherit allarch useradd

USERADD_PACKAGES = "${PN}"

GROUPADD_PARAM_${PN} = "-g 100 users; -g 5000 app; -g 54 lock; -g 190 systemd-journal; --system -g 192 weston-launch "

GROUPADD_PARAM_${PN} += "; --system -g 6001 db_alarm "
GROUPADD_PARAM_${PN} += "; --system -g 6002 db_browser "
GROUPADD_PARAM_${PN} += "; --system -g 6003 db_calendar "
GROUPADD_PARAM_${PN} += "; --system -g 6004 db_cc_list "
GROUPADD_PARAM_${PN} += "; --system -g 6005 db_contact "
GROUPADD_PARAM_${PN} += "; --system -g 6006 db_email_service "
GROUPADD_PARAM_${PN} += "; --system -g 6007 db_java_runtime "
GROUPADD_PARAM_${PN} += "; --system -g 6008 db_logs "
GROUPADD_PARAM_${PN} += "; --system -g 6009 db_memo "
GROUPADD_PARAM_${PN} += "; --system -g 6010 db_menu "
GROUPADD_PARAM_${PN} += "; --system -g 6011 db_msg_service "
GROUPADD_PARAM_${PN} += "; --system -g 6012 db_mtp "
GROUPADD_PARAM_${PN} += "; --system -g 6013 db_spkmgr "
GROUPADD_PARAM_${PN} += "; --system -g 6014 db_t9buffer "
GROUPADD_PARAM_${PN} += "; --system -g 6015 db_worldclock "
GROUPADD_PARAM_${PN} += "; --system -g 6016 db_sns "
GROUPADD_PARAM_${PN} += "; --system -g 6017 db_filemanager "
GROUPADD_PARAM_${PN} += "; --system -g 6018 db_daily_briefing "
GROUPADD_PARAM_${PN} += "; --system -g 6019 db_always "
GROUPADD_PARAM_${PN} += "; --system -g 6020 db_media_browser "
GROUPADD_PARAM_${PN} += "; --system -g 6021 db_music "
GROUPADD_PARAM_${PN} += "; --system -g 6022 db_drm "
GROUPADD_PARAM_${PN} += "; --system -g 6023 db_lbs_landmark "
GROUPADD_PARAM_${PN} += "; --system -g 6024 db_comm "
GROUPADD_PARAM_${PN} += "; --system -g 6025 db_quickpanel "
GROUPADD_PARAM_${PN} += "; --system -g 6026 db_wrt "

USERADD_PARAM_${PN} += "   -u 116 -d /home/genivi -m -g users -G users,input,tty,video,weston-launch -r -s /bin/sh genivi  "
USERADD_PARAM_${PN} += ";  -u 5000 -d /home/app    -m -g users -G users,weston-launch,tty -r -s /bin/sh app  "
USERADD_PARAM_${PN} += ";          -d /usr/apps -m -g root  --system  -s /bin/false tizenglobalapp "

repository: rzr/meta-tizen

repo_name: rzr/meta-tizen

gha_language: PHP