text:
import React from 'react';
import TabNavbar from '../../components/TabNavbar';
import { withStyles } from '@material-ui/core/styles';
import AppBar from '@material-ui/core/AppBar';
import Toolbar from '@material-ui/core/Toolbar';
import Typography from '@material-ui/core/Typography';
import Button from '@material-ui/core/Button';
import IconButton from '@material-ui/core/IconButton';
import MenuIcon from '@material-ui/icons/Menu';
import PropTypes from 'prop-types';
import List from '@material-ui/core/List';
import ListItem from '@material-ui/core/ListItem';
import ListItemText from '@material-ui/core/ListItemText';
import Avatar from '@material-ui/core/Avatar';
import ImageIcon from '@material-ui/icons/Image';
import WorkIcon from '@material-ui/icons/Work';
import BeachAccessIcon from '@material-ui/icons/BeachAccess';
import Divider from '@material-ui/core/Divider';
import Paper from '@material-ui/core/Paper';
import styles from './styles';

import InfoIcon from '@material-ui/icons/Info';
import Icon from '@material-ui/core/Icon';
import SaveIcon from '@material-ui/icons/Save';
import AddAlert from '@material-ui/icons/AddAlert';

class InfoPageViewer extends React.Component {
  constructor (props) {
    super(props);
    this._classes = this.props.classes;
    this.state = {};
    return ;
  }
  /*
  ** TODO: Export to a single component.
  */
  _ButtonAppBar = () => (

      <AppBar
        position='static'
        color={ "default" }
      >
        <Toolbar style={{ selfAlign: 'center' }}>
          <Button color='primary'>{ "FAQ" }</Button>
          <Button color='inherit'>{ "Vaccine Basics" }</Button>
          <Button color='inherit'>{ "Infants/Children" }</Button>
          <Button color='inherit'>{ "Pre-Teens" }</Button>
          <Button color='inherit'>{ "Teens" }</Button>
          <Button color='inherit'>{ "Adults" }</Button>
          <Button color='inherit'>{ "Diseases" }</Button>
        </Toolbar>
      </AppBar>

  );
  handlerBtn1 = () => {
    window.open('https://medium.com/the-method/8-common-arguments-against-vaccines-5d45ad9c1e29');
  }
  handlerBtn2 = () => {
    window.open('https://medium.com/the-method/8-common-arguments-against-vaccines-5d45ad9c1e29');
  }
  render () {
    return (

        { <this._ButtonAppBar /> }
        { /* FAQ Container*/ }

          <Paper
            className={ this._classes.paper }
            elevation={ 1 }
          >
            { /* Title Content*/ }
            <Typography
              variant='title'
              color='inherit'
              style={{ marginLeft: 12 }}
            >
              { "Frequently Asked Questions" }
            </Typography>

            { /* FAQ List */ }
            <List>
              { /* FAQ 1 */ }
               <ListItem>
                 <Avatar className={ this._classes.faqIconBg }>
                   <Icon className={ this._classes.faqIcon }>
                     <AddAlert />
                   </Icon>
                 </Avatar>
                <ListItemText
                  primary={ "Why are vaccinations important?" }
                  secondary={"Vaccinations protect your child against serious diseases by stimulating the immune system to create antibodies against certain bacteria or viruses"}
                />
               </ListItem>

                 <Divider inset />

               { /* FAQ 2 */ }
                <ListItem>
                  <Avatar className={ this._classes.faqIconBg }>
                    <Icon className={ this._classes.faqIcon }>
                      <AddAlert />
                    </Icon>
                  </Avatar>
                 <ListItemText
                   primary={ "What diseases do vaccines protect against?" }
                   secondary={"Immunizing your baby with vaccines protects against serious viral diseases like measles, whooping cough, polio, tetanus, rotavirus, hepatitis A, hepatitis B, chickenpox, influenza, and others"}
                 />
                </ListItem>

                  <Divider inset />

                { /* FAQ 3 */ }
                 <ListItem>
                   <Avatar className={ this._classes.faqIconBg }>
                     <Icon className={ this._classes.faqIcon }>
                       <AddAlert />
                     </Icon>
                   </Avatar>
                  <ListItemText
                    primary={ "I don’t know anybody who has had these diseases. Why does my baby need these vaccines?" }
                    secondary={"While a few of these diseases have virtually disappeared because of vaccination, outbreaks of measles and whooping cough still occur in the U.S. Even if some diseases do completely disappear in the U.S., they are common in other parts of the world and are just a plane ride away. If we stop vaccinating against these diseases, many more people will become infected. Vaccinating your child will keep him or her safe."}
                  />
                 </ListItem>

                   <Divider inset />

                 { /* FAQ 4
                            TODO: Don't add "
 <Divider inset />
" at the end of the
                            last element of the list.
                   */ }
                  <ListItem>
                    <Avatar className={ this._classes.faqIconBg }>
                      <Icon className={ this._classes.faqIcon }>
                        <AddAlert />
                      </Icon>
                    </Avatar>
                   <ListItemText
                     primary={ "Are there better ways to protect my baby against these diseases?" }
                     secondary={"No. Breastfeeding offers temporary immunity against some minor infections like colds, but it is not an effective means of protecting a child from the specific diseases prevented by vaccines. Likewise, vitamins won’t protect against the bacteria and viruses that cause these serious diseases. Chiropractic remedies, naturopathy, and homeopathy are totally ineffective in preventing vaccine-preventable diseases."}
                   />
                  </ListItem>
            </List>
        </Paper>

        <Paper
          className={ this._classes.paper }
          elevation={ 1 }
        >
          <Typography
            variant='title'
            color='inherit'
            style={{ marginLeft: 12 }}
          >
            { "Common Arguments Against Vaccines Demystified" }
          </Typography>

              { 'Some parents think that getting the "natural" disease is preferable to "artificial" vaccination, leading to a "natural" immunity. Some even arrange chickenpox "parties" to ensure their child gets infected. It’s true that for some diseases, getting infected will lead to immunity, but the price paid for natural disease can include paralysis, brain injury, liver cancer, deafness, blindness, or even death. When you consider the seriousness of these risks, vaccination is definitely the better choice.' }

          { /* FAQ Button */}
          <Button
            variant="contained"
            color="primary"
            className={ this._classes.button }
            onClick={ this.handlerBtn1 }
          >
            <Icon className={ this._classes.leftIcon }>
              <InfoIcon />
            </Icon>
            { "FAQ Common Questions" }
          </Button>
          { /* Arguments Button */ }
          <Button
            variant="contained"
            color="primary"
            className={ this._classes.button }
            onClick={ this.handlerBtn1 }
          >
            <Icon className={ this._classes.leftIcon }>
              <InfoIcon />
            </Icon>
            { "Common Arguments Against Vaccines" }
          </Button>
          </Paper>

    );
  }
}

export default withStyles(styles)(InfoPageViewer);

repository: jraleman/GSKHackathon

repo_name: jraleman/GSKHackathon

gha_language: JavaScript

extension: js


text:
SUMMARY = "File manager for GNOME"
SECTION = "x11/gnome"

LICENSE="GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=36cf660aea2b8beffba7945f44a7e748 \
                    file://COPYING.EXTENSIONS;md5=7579d6678402a1868631bf82c93ff0d4 \
                    file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a"

inherit distro_features_check autotools pkgconfig gobject-introspection

MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/nautilus/${MAJ_VER}/nautilus-${PV}.tar.xz \
           file://0001-nautilus-drop-gnome-desktop-thumbnail-API-with-new-g.patch \
           "

SRC_URI[md5sum] = "0f578bda5655c0ce204befafca5803d7"
SRC_URI[sha256sum] = "60a927c0522b4cced9d8f62baed2ee5e2fd4305be4523eb5bc44805971a6cc15"

DEPENDS = "gtk+3 gnome-desktop3 gsettings-desktop-schemas glib-2.0-native intltool-native pango"

REQUIRED_DISTRO_FEATURES = "x11"

EXTRA_OECONF = " \
    --disable-gtk-doc \
    --disable-update-mimedb \
    --disable-nst-extension \
    --enable-tracker=no \
    --disable-schemas-compile \
    --enable-xmp=no \
    --enable-libexif=no \
"

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

license: MIT

repository: eigendude/meta-openembedded

license_type: permissive

repo_name: eigendude/meta-openembedded

branch_name: refs/heads/warrior

gha_license_id: MIT

gha_language: BitBake

extension: bb


text:
@article{hurlbert_pseudoreplication_1984,
	title = {Pseudoreplication and the Design of Ecological Field Experiments},
	volume = {54},
	issn = {0012-9615},
	url = {http://www.esajournals.org/doi/abs/10.2307/1942661},
	doi = {10.2307/1942661},
	abstract = {Pseudoreplication is defined as the use of inferential statistics to test for treatment effects with data from experiments where either treatments are not replicated (though samples may be) or replicates are not statistically independent. In {ANOVA} terminology, it is the testing for treatment effects with an error term inappropriate to the hypothesis being considered. Scrutiny of 176 experimental studies published between 1960 and the present revealed that pseudoreplication occurred in 27% of them, or 48% of all such studies that applied inferential statistics. The incidence of pseudoreplication is especially high in studies of marine benthos and small mammals. The critical features of controlled experimentation are reviewed. Nondemonic intrusion is defined as the impingement of chance events on an experiment in progress. As a safeguard against both it and preexisting gradients, interspersion of treatments is argued to be an obligatory feature of good design. Especially in small experiments, adequate interspersion can sometimes be assured only by dispensing with strict randomization procedures. Comprehension of this conflict between interspersion and randomization is aided by distinguishing pre<U+0097>layout (or conventional) and layout<U+0097>specific alpha (probability of type I error). Suggestions are offered to statisticians and editors of ecological journals as to how ecologists' understanding of experimental design and statistics might be improved.  See full-text article at {JSTOR}},
	pages = {187--211},
	number = {2},
	journaltitle = {Ecological Monographs},
	shortjournal = {Ecological Monographs},
	author = {Hurlbert, Stuart H.},
	urldate = {2013-08-22},
	date = {1984-06-01}
}

repository: pmean/build-website

repo_name: pmean/build-website

branch_name: refs/heads/master

extension: bib


text:
package trivy

import (
	"context"
	"fmt"
	"k8s.io/client-go/util/homedir"
	"os"
	"path/filepath"

	"github.com/alcideio/iskan/pkg/util"
	types "github.com/alcideio/iskan/pkg/vulnprovider/api"
	"google.golang.org/genproto/googleapis/grafeas/v1"
)

type imageVulnerabilitiesFinder struct {
	client Trivy
}

func NewImageVulnerabilitiesFinder(cred *types.VulnProviderAPICreds) (types.ImageVulnerabilitiesFinder, error) {
	if cred.Trivy == nil {
		return nil, fmt.Errorf("Missing Trivy config")
	}

	if cred.Trivy.CacheDir == "" {
		cred.Trivy.CacheDir = filepath.Join(homedir.HomeDir(), ".iskan/trivy/.cache")
		_ = os.MkdirAll(cred.Trivy.CacheDir, os.FileMode(0600))
	}

	if cred.Trivy.ReportsDir == "" {
		cred.Trivy.ReportsDir = filepath.Join(homedir.HomeDir(), ".iskan/trivy/.cache/reports")
		_ = os.MkdirAll(cred.Trivy.ReportsDir, os.FileMode(0600))
	}

	trivy := NewScanner(*cred.Trivy, util.DefaultCmdRunner)

	return &imageVulnerabilitiesFinder{
		client: trivy,
	}, nil
}

//Which Registry Platform it supports
func (i *imageVulnerabilitiesFinder) Type() string {
	return "trivy"
}

func (i *imageVulnerabilitiesFinder) ListOccurrences(_ context.Context, containerImage string) (*types.ImageScanResult, error) {
	findings, err := getImageScanFindings(i.client, containerImage)
	if err != nil {
		return &types.ImageScanResult{
			Findings:    findings,
			CompletedOK: false,
			Reason:      err.Error(),
		}, nil
	}

	return &types.ImageScanResult{
		Findings:    findings,
		CompletedOK: true,
		Reason:      "",
	}, nil
}

func getImageScanFindings(scanner Trivy, containerImage string) ([]*grafeas.Occurrence, error) {
	repo, tag, _, err := util.ParseImageName(containerImage)
	if err != nil {
		return nil, err
	}

	report, err := scanner.Scan(ImageRef{
		Name:     fmt.Sprintf("%v:%v", repo, tag),
		Auth:     NoAuth{},
		Insecure: false,
	})

	if err != nil {
		return nil, err
	}

	vulnOccurences, err := getFindings(report)
	if err != nil {
		return nil, err
	}

	occurrences := make([]*grafeas.Occurrence, 0)

	for _, v := range vulnOccurences {
		o := newImageScanOccurrence(containerImage, v.Vulnerability.ShortDescription)
		o.Details = v
		o.Kind = grafeas.NoteKind_VULNERABILITY
		occurrences = append(occurrences, o)
	}

	return occurrences, nil
}

func getFindings(findings ScanReport) ([]*grafeas.Occurrence_Vulnerability, error) {
	vulnerabilityDetails := make([]*grafeas.Occurrence_Vulnerability, 0)

	for _, f := range findings.Vulnerabilities {

		packageSeverity := getVulnerabilitySeverity(f.Severity)

		v := &grafeas.Occurrence_Vulnerability{
			Vulnerability: &grafeas.VulnerabilityOccurrence{
				Severity:          packageSeverity,
				CvssScore:         getCvssScore(&f),
				RelatedUrls:       getRelatedUrls(f.References),
				FixAvailable:      (f.FixedVersion != ""),
				EffectiveSeverity: packageSeverity,
				ShortDescription:  f.VulnerabilityID,
				LongDescription:   f.Description,
				PackageIssue: []*grafeas.VulnerabilityOccurrence_PackageIssue{
					{
						//AffectedCpeUri:  packageURI,
						AffectedPackage: f.PkgName,
						AffectedVersion: &grafeas.Version{
							Kind: grafeas.Version_NORMAL,
							Name: f.InstalledVersion,
						},
						FixedCpeUri:  "",
						FixedPackage: f.PkgName,
						FixedVersion: &grafeas.Version{
							Kind: grafeas.Version_NORMAL,
							Name: f.FixedVersion,
						},
						FixAvailable: (f.FixedVersion != ""),
					},
				},
			},
		}
		vulnerabilityDetails = append(vulnerabilityDetails, v)
	}

	return vulnerabilityDetails, nil
}

func getCvssScore(v *Vulnerability) float32 {
	var score float32 = 0

	for _, cvssInfo := range v.CVSS {
		if cvssInfo.V3Score > score {
			score = cvssInfo.V3Score
		}
	}

	return score
}

func getRelatedUrls(l []string) []*grafeas.RelatedUrl {
	urls := make([]*grafeas.RelatedUrl, len(l))

	for i, e := range l {
		urls[i] = &grafeas.RelatedUrl{
			Url:   e,
			Label: "",
		}
	}

	return urls
}

type ECRImageScanSeverity string

const (
	//UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL
	TrivySeverityCritical = "CRITICAL"
	TrivySeverityHigh     = "HIGH"
	TrivySeverityMedium   = "MEDIUM"
	TrivySeverityLow      = "LOW"
	TrivySeverityUnknown  = "UNKNOWN"
)

func getVulnerabilitySeverity(v string) grafeas.Severity {
	switch v {
	case TrivySeverityCritical:
		return grafeas.Severity_CRITICAL
	case TrivySeverityHigh:
		return grafeas.Severity_HIGH
	case TrivySeverityMedium:
		return grafeas.Severity_MEDIUM
	case TrivySeverityLow:
		return grafeas.Severity_LOW
	case TrivySeverityUnknown:
		fallthrough
	default:
		return grafeas.Severity_SEVERITY_UNSPECIFIED
	}
}

func newImageScanOccurrence(containerImage string, cveId string) *grafeas.Occurrence {
	o := &grafeas.Occurrence{
		ResourceUri: fmt.Sprintf("%s", containerImage),
		NoteName:    cveId,
	}

	return o
}

repository: sploving/iskan

repo_name: sploving/iskan

extension: go


text:
@article{Morosini:2016aa,
	Author = {Morosini, Fabio},
	Journal = {Proceedings of the ASIL Annual Meeting},
	Pages = {59},
	Title = {A Testimony from the Global South},
	Volume = {110},
	Year = {2016}}

@article{Ratner:2017aa,
	Author = {Ratner, Steven R.},
	Journal = {American Journal of International Law},
	Pages = {7},
	Title = {Compensation for Expropriations in a World of Investment Treaties: Beyond the Lawful/Unlawful Distinction},
	Volume = {111},
	Year = {2017}}

@article{Sharpe_2018,
	Author = {Sharpe, Jeremy K.},
	Journal = {AJIL Unbound},
	Pages = {261--265},
	Title = {Control, Capacity, and Legitimacy in Investment Treaty Arbitration},
	Volume = {112},
	Year = {2018}}

@book{Hepburn:2017aa,
	Author = {Hepburn, Jarrod},
	Publisher = {Oxford University Press},
	Title = {Domestic Law in International Investment Arbitration},
	Year = {2017}}

@book{Brown:2011aa,
	Author = {Brown, Chester and Miles, Kate},
	Publisher = {Cambridge University Press},
	Title = {Evolution in Investment Treaty Law and Arbitration},
	Year = {2011}}


text:
@article{ALMERS,
  title = {Survey of channel and radio propagation models for wireless MIMO systems},
  author = {Almers, Peter and Bonek, Ernst and Burr, A and Czink, Nicolai and Debbah, M{\'e}rouane and Degli-Esposti, Vittorio and Hofstetter, Helmut and Ky{\"o}sti, Pekka and Laurenson, Dave and Matz, Gerald and others},
  journal = {EURASIP Journal on Wireless Communications and Networking},
  volume = {2007},
  number = {1},
  pages = {56--56},
  year = {2007},
  publisher = {Hindawi Publishing Corp.}
}
@article{AARTS,
  title = {Simulated annealing and Boltzmann machines},
  author = {Aarts, Emile and Korst, Jan},
  year = {1988},
  publisher = {New York, NY; John Wiley and Sons Inc.}
}
@online{ANACONDA,
  author = {Navigator, Anaconda},
  title = {{Anaconda} The Most Popular Python Data Science Platform},
  url = {https://docs.anaconda.com/},
  urldate = {2017-10-25},
  year = {2017}
}
@article{BANERJI,
  abstract = {Network technologies are traditionally based on wireline solutions. But the introduction of the IEEE 802.11 standards have made a huge impact on the market such that laptops, PCs, printers, cellphones, and VoIP phones, MP3 players in our homes, in offices and even in public areas have incorporated the wireless LAN technology. Wireless broadband technologies nowadays provide unlimited broadband access to users which were previously offered only to wireline users. In this paper, we review and summarize one of the emerging wireless broadband technology i.e. IEEE 802.11,which is a set of physical layer standard for implementing wireless local area network computer communication in the 2.4,3.6,5 and 60GHz frequency band. They fix technology issues or add functionality which is expected to be required by future applications. Though some of the earlier versions of these technologies are obsolete (such as HiperLAN) now but still we have included them in this review for the sake of completeness.},
  author = {Banerji, Sourangsu and {Singha Chowdhury}, Rahul},
  doi = {10.5121/ijmnct.2013.3405},
  issn = {18395678},
  journal = {International Journal of Mobile Network Communications {\&} Telematics ( IJMNCT) Vol. 3, No.4, August 2013},
  keywords = {HiperLAN,IEEE 802.11,WL,Wireless Communications},
  pages = {64},
  title = {On IEEE 802.11},
  volume = {3},
  year = {2013},
  subtitle = {Wireless Lan Technology}}
}
@article{BATTITI,
  abstract = {In mobile computing scenarios, context-aware ap- plications are more effective in relieving from the mobile user the burden of introducing information that can be automatically derived from the environment. In particular, the physical position of the mobile system (and hence of the user) is fundamental for many types of applications. User position estimation methods based on strength of the radio signals received from multiple wireless access points have been recently proposed and implemented by several independent research groups. In this paper a new approach to wireless access point place- ment is proposed. While previous proposals focus on optimal coverage aimed at connectivity, the proposed method integrates coverage requirements with the reduction of the error of the user position estimate. In particular, this paper proposes a mathematical model of user localization error based on the variability of signal strength measurements. This model has been designed to be independent from the actual localization technique, therefore it is only based on generic assumptions on the behavior of the localization algorithm employed. The proposed error model is used by local search heuristic techniques, such as local search, a prohibition-based variation and simulated annealing. Near-optimal access point placements are computed for various kinds of optimization criteria: localiza- tion error minimization, signal coverage maximization, a mixture of the two. The different criteria are not expected to be compatible: maximizing signal coverage alone can lead to degradation of the average positioning error, and vice versa. Some experiments have been dedicated to quantify this phenomenon and to introduce possible trade-offs. I.},
  author = {{R. Battiti M. Brunato} and Delai, Andrea and Battiti, Roberto and Brunato, Mauro},
  doi = {10.1.1.10.6631},
  journal = {October},
  number = {October},
  pages = {1--12},
  title = {{Optimal wireless access point placement for location-dependent services}},
  year = {2004}
}
@article{BOF,
  abstract = {Em se tratando de redes wireless que {\'{e}} a nova tend{\^{e}}ncia em comunica{\c{c}}{\~{a}}o com menos necessidade de uso de cabeamento. Muitas organiza{\c{c}}{\~{o}}es t{\^{e}}m ou pretendem ter algum dia para prover mobilidade e acesso a rede para seus usu{\'{a}}rios. A facilidade de instala{\c{c}}{\~{a}}o de uma rede sem fio, aliada ao f{\'{a}}cil acesso a essa tecnologia, geram algumas implica{\c{c}}{\~{o}}es para a seguran{\c{c}}a. Muitas redes sem fio s{\~{a}}o instaladas sem nenhuma preocupa{\c{c}}{\~{a}}o com seguran{\c{c}}a ou por pessoas sem o conhecimento b{\'{a}}sico necess{\'{a}}rio, este trabalho faz uma abordagem geral do que vem, a ser a seguran{\c{c}}a da informa{\c{c}}{\~{a}}o e a gest{\~{a}}o de risco. Em seguida analisa os tipos de redes, fazendo uma classifica{\c{c}}{\~{a}}o delas e os padr{\~{o}}es de comunica{\c{c}}{\~{a}}o emitidos por cada qual. Analisa ainda a seguran{\c{c}}a dessas redes, mostrando detalhadamente as formas de se conseguir obter esta seguran{\c{c}}a e, por fim, faz uma avalia{\c{c}}{\~{a}}o dos mecanismos de seguran{\c{c}}a e preven{\c{c}}{\~{a}}o no que diz respeito a invas{\~{a}}o dessas redes. O estudo foi feito a partir de uma an{\'{a}}lise bibliogr{\'{a}}fica em materiais dispostos na internet e livros. Percebeu-se, portanto, que {\'{e}} necess{\'{a}}rio investir em solu{\c{c}}{\~{o}}es que reduzem de forma significativa a possibilidade de ataques em redes wireless.},
  author = {Bof, Edson},
  title = {{Seguran{\c{c}}a em Redes Wireless}},
  year = {2010}
}
@article{BUDGETS,
  author = {Budgets, Link},
  title = {{Log-Normal Fading, Link Budgets}},
  year = {2013}
}
@online{CUDA,
  author = {nVidia},
  title = {CUDA para Medicina},
  year = {2017},
  url = {http://www.nvidia.com.br/object/cuda_medical_br.html},
  urldate = {2017-10-20}
}
@inproceedings{DALSSOTO,
  title = {Data Analysis Module for WirelessHART Network Planning},
  author = {Dalssoto, Felipe Marcos and De Souza, Ramon Hugo and Becker, Leandro Buss},
  booktitle = {Computing and Automation for Offshore Shipbuilding (NAVCOMP), 2013 Symposium on},
  pages = {23--28},
  journal = {2013 Symposium on Computing and Automation for Offshore Shipbuilding},
  year = {2013},
  isbn = {978-0-7695-5123-4},
  url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=6686109},
  organization = {IEEE}
}
@book{FARBER,
  title = {CUDA application design and development},
  author = {Farber, Rob},
  year = {2011},
  publisher = {Elsevier}
}
@article{FRANCISCATTI,
  title = {Seguran{\c{c}}a em Redes Sem Fio},
  author = {FRANCISCATTI, Vagner},
  journal = {Trabalho de Conclus{\~a}o de Curso--Curso de Especializa{\c{c}}{\~a}o em Redes de Computadores e Comunica{\c{c}}{\~a}o de Dados, Universidade Estadual de Londrina, Londrina, Paran{\'a}},
  year = {2005}
}
@online{GUIDO,
  author = {van Rossum, Guido},
  title = {The History of Python},
  year = {2009},
  url = {http://python-history.blogspot.com.br/2009/01/introduction-and-overview.html},
  urldate = {2017-09-28}
}
@book{HOTHORN,
  title = {A handbook of statistical analyses using R},
  author = {Hothorn, Torsten and Everitt, Brian S},
  year = {2014},
  publisher = {CRC press}
}
@article{KASE,
  title = {Volume CAD—CW-complexes based approach},
  author = {Kase, Kiwamu and Teshima, Yoshinori and Usami, Shugo and Kato, Masaya and Yamazaki, Shuntaro and Ito, Masao and Makinouchi, Akitake},
  journal = {Computer-Aided Design},
  volume = {37},
  number = {14},
  pages = {1509--1520},
  year = {2005},
  publisher = {Elsevier}
}
@inproceedings{KIRK,
  title = {NVIDIA CUDA software and GPU parallel computing architecture},
  author = {Kirk, David and others},
  booktitle = {ISMM},
  volume = {7},
  pages = {103--104},
  year = {2007}
}
@inproceedings{LAM,
  title = {Numba},
  author = {Lam, Siu Kwan and Pitrou, Antoine and Seibert, Stanley},
  booktitle = {Proceedings of the Second Workshop on the LLVM Compiler Infrastructure in HPC},
  pages = {7},
  year = {2015},
  organization = {ACM},
  subtitle = {A llvm-based python jit compiler}
}
@incollection{LEDESMA,
  title = {Simulated annealing evolution},
  author = {Ledesma, Sergio and Ruiz, Jose and Garcia, Guadalupe},
  booktitle = {Simulated Annealing-Advances, Applications and Hybridizations},
  year = {2012},
  publisher = {InTech}
}
@article{LENTZ,
  title = {802.11 b wireless network visualization and radiowave propagation modeling},
  author = {Lentz, Chris},
  journal = {Hanover, NH: Dartmouth College},
  year = {2003}
}
@article{LUO,
  author = {Luo, Meiling},
  keywords = {BER,Indoor radio propagation,Propagation radio en int{\'{e}}rieur,TEB,channel modeling,mod{\'{e}}lisation de canal,qualit{\'{e}} du lien radio,radio link quality},
  title = {{Indoor radio propagation modeling for system performance prediction}},
  url = {https://hal.archives-ouvertes.fr/tel-00937481/document},
  year = {2013}
}
@online{MAGNUN,
  author = {Magnun},
  title = {A História do Python },
  year = {2014},
  url = {http://mindbending.org/pt/a-historia-do-python},
  urldate = {2017-09-30}
}
@article{MARQUES,
  title = {A regula{\c{c}}{\~a}o do acesso wireless {\`a} internet no Brasil},
  author = {Marques, Francisco Paulo Jamil Almeida},
  year = {2006},
  publisher = {Observat{\'o}rio de Economia e Comunica{\c{c}}{\~a}o (Obscom) da Universidade Federal de Sergipe (UFS)}
}
@article{MARSCHALLINGER,
  abstract = {A collection of AutoLISP programs is presented which enable the visualization and analysis of voxel models by AutoCAD rel. 12/rel. 13. The programs serve as an interactive, graphical front end for manipulating the results of three-dimensional modeling software producing block estimation data. ASCII data files describing geometry and attributes per estimation block are imported and stored as a voxel array. Each voxel may contain multiple attributes, therefore different parameters may be incorporated in one voxel array. Voxel classification is implemented on a layer basis providing flexible treatment of voxel classes such as recoloring, peeling, or volumetry. A versatile clipping tool enables slicing voxel arrays according to combinations of three perpendicular clipping planes. The programs feature an up-to-date, graphical user interface for user-friendly operation by non AutoCAD specialists. Copyright ?? 1996 Elsevier Science Ltd.},
  author = {MARSCHALLINGER, Robert},
  doi = {10.1016/0098-3004(95)00093-3},
  issn = {00983004},
  journal = {Computers and Geosciences},
  keywords = {3-D GIS,AutoCAD,CAD,Solid modeling,Voxel},
  number = {4},
  pages = {379--386},
  title = {{A voxel visualization and analysis system based on AutoCAD}},
  volume = {22},
  year = {1996}
}
@misc{MATHURANATHAN,
  author = {Mathuranathan},
  title = {{Log Distance Path Loss or Log Normal Shadowing Model}},
  url = {https://www.gaussianwaves.com/2013/09/log-distance-path-loss-or-log-normal-shadowing-model/},
  urldate = {27 abr 2017},
  year = {2013}
}
@article{NAJNUDEL,
  title = {Estudo de propaga{\c{c}}{\~a}o em ambientes fechados para o planejamento de WLANs},
  author = {Najnudel, Marcelo},
  journal = {Rio de Janeiro},
  volume = {136},
  year = {2004}
}
@book{NETO,
  title = {Planejamento e otimiza{\c{c}}{\~a}o de experimentos},
  author = {Neto, Ben{\'\i}cio Barros and Scarminio, Ieda Spacino and Bruns, Roy Edward},
  year = {1996},
  publisher = {Ed. da UNICAMP}
}
@online{NUMBA,
  author = {Numba},
  title = {{Compilation} JIT functions},
  url = {http://numba.pydata.org/numba-doc/0.17.0/reference/compilation.html#numba.jit},
  urldate = {2017-10-25},
  year = {2017}
}
@online{NVIDIA,
  author = {nVidia},
  title = {{CUDA} programa{\c{c}}{\~{a}}o paralela facilitada},
  url = {http://www.nvidia.com.br/object/cuda_home_new_br.html},
  urldate = {2017-10-18},
  year = {2017}
}
@article{PATRICK,
  title = {Optimization by simulated annealing},
  author = {Kirkpatrick, Scott and Gelatt, C Daniel and Vecchi, Mario P and others},
  journal = {science},
  volume = {220},
  number = {4598},
  pages = {671--680},
  year = {1983},
  publisher = {Washington}
}
@article{RAPPAPORT,
  author = {Rappaport, Theodore S.},
  title = {{Comunica{\c{c}}{\~{o}}es Sem fio Princ{\'{i}}pios e Pr{\'{a}}ticas}},
  volume = {2},
  pages = {412p, 102p},
  year = {2009}
}
@article{RENSBURG,
  author = {van Rensburg, Johanna Janse and Irwin, Barry},
  journal = {Proceedings of Information Security South Africa Conference},
  title = {{Wireless Network Visualization Using Radio Propagation Modelling}},
  year = {2005}
}
@inproceedings{RIGO,
  title = {Representation-based just-in-time specialization and the psyco prototype for python},
  author = {Rigo, Armin},
  booktitle = {Proceedings of the 2004 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation},
  pages = {15--26},
  year = {2004},
  organization = {ACM}
}
@article{RIVERA,
  abstract = {No mundo globalizado em que vivemos os sistemas, as aplica{\c{c}}{\~{o}}es e as pessoas precisam estar conectadas permanentemente {\`{a}} Internet, e a uma variedade de redes de comunica{\c{c}}{\~{a}}o, com v{\'{a}}rios dispositivos, simultaneamente. O ideal, devido a esse contexto, seria ter um {\'{u}}nico dispositivo com uma {\'{u}}nica interface de rede e um {\'{u}}nico programa que permitisse fazer diversas conex{\~{o}}es com diversos protocolos usados simultaneamente, tornando o sistema simples de usar e f{\'{a}}cil de instalar e operar, conseguindo, desta forma, o n{\'{i}}vel de estabilidade e confiabilidade desejadas. Por isso, as redes de {\'{a}}rea pessoal (WPAN) est{\~{a}}o crescendo em import{\^{a}}ncia desde seu aparecimento em 1991. Diversas tecnologias foram propostas para sua implementa{\c{c}}{\~{a}}o sem que haja um consenso sobre a aplicabilidade de cada op{\c{c}}{\~{a}}o. Este trabalho realiza uma avalia{\c{c}}{\~{a}}o cr{\'{i}}tica das diversas tecnologias propostas e por meio de um laborat{\'{o}}rio de prototipa{\c{c}}{\~{a}}o procurou obter dados que permitam uma avalia{\c{c}}{\~{a}}o mais objetiva dessas tecnologias. Esse documento apresenta uma descri{\c{c}}{\~{a}}o desse laborat{\'{o}}rio e apresenta a metodologia proposta para compara{\c{c}}{\~{a}}o das tecnologias para WPAN., e os resultados obtidos em laborat{\'{o}}rio. O estudo apresentado, demostra, atrav{\'{e}}s de uma avalia{\c{c}}{\~{a}}o critica, que as principais alternativas no momento s{\~{a}}o Wi-Fi e Bluetooth e que com os dados obtidos na prototipa{\c{c}}{\~{a}}o em laborat{\'{o}}rio se provou que hoje h{\'{a}} possibilidade de virtualizar dierentesredes e tipos de interface em uma {\'{u}}nica interface f{\'{i}}sica. A economia de escala, multiplicada pelo efeito da virtualiza{\c{c}}{\~{a}}o das interfaces, leva a conclus{\~{a}}o que as tecnologias Wi-Fi e Bluetooth dever{\~{a}}o dominar o mercado de WLAN e WPAN nos pr{\'{o}}ximos anos. Palavras},
  author = {Rivera, Antonio D'Acosta},
  journal = {Teses.Usp.Br},
  title = {Redes de equipamentos sem fio de uso pessoal},
  url = {http://www.teses.usp.br/teses/disponiveis/3/3142/tde-10012011-084232/en.php},
  year = {2010},
  subtitle = {compara{\c{c}}{\~{a}}o de tecnologias emergentes e an{\'{a}}lise de tend{\^{e}}ncias}}
}
@article{RUBINSTEINS,
  title = {Qualidade de servi{\c{c}}o em redes 802.11},
  author = {Rubinstein, Marcelo G and Rezende, Jos{\'e} F},
  journal = {XX Simp{\'o}sio Brasileiro de Redes de Computadores (SBRC2002)},
  year = {2002}
}
@article{SANDEEP,
  title = {Wireless network visualization and indoor empirical propagation model for a campus wi-fi network},
  author = {Sandeep, AR and Shreyas, Y and Seth, Shivam and Agarwal, Rajat and Sadashivappa, G},
  journal = {World Academy of Science, Engineering and Technology},
  volume = {42},
  pages = {730--734},
  year = {2008}
}
@article{SILVA,
  title = {Introdu{\c{c}}{\~a}o {\`a} Linguagem Python},
  author = {Silva, Jo{\~a}o Gabriel Rocha},
  journal = {Universidade Federal de Juiz de Fora},
  year = {2016}
}
@article{SOUZA,
  title = {Tecnologia CAD/CAM-Defini{\c{c}}{\~o}es e estado da arte visando auxiliar sua implanta{\c{c}}{\~a}o em um ambiente fabril},
  author = {SOUZA, Adriano Fagali de and Coelho, Reginaldo Teixeira},
  journal = {XXIII Encontro Nacional de Engenharia de Produ{\c{c}}{\~a}o--ENEGEP},
  volume = {24},
  year = {2003}
}
@article{SULAIMAN,
  abstract = {—Simulating a signal propagation of wireless cognitive network has been widely accepted by researchers in order to come out with three-dimensional (3D) representation data display. Instead of using primitive way to understand the behavior of signal propagation, 3D visualization of wireless networking could also help researchers to study the limitation and exploration of wireless cognitive network deeply. In this paper, we would like to address the requirement and the potential of using 3D representation to visualize properly the wireless cognitive network. We also performed preliminary test of our 3D visualization system using OpenGL graphic library to visualize the propagation of signal travelling in specific room with several medium. The test has been conducted in order to understand the requirement of wireless cognitive network in 3D visualization before the actual system is built.},
  author = {Sulaiman, H A and Othman, M A and Ismail, M M and Misran, M H},
  isbn = {9781467309417},
  keywords = {-signal propagation,building,contraint,depend based on cost,inside or outside the,regrettably,router life is,the longerity of the,the problem is not,virtual environment,visualization,wireless cognitive network},
  pages = {170--174},
  title = {{Wireless Network Visualization in 3D Virtual Environment Framework}},
  year = {2012}
}
@article{TORLAK,
  author = {Torlak, Murat},
  title = {{Path Loss}},
  url = {https://www.utdallas.edu/{~}torlak/courses/ee4367/lectures/lectureradio.pdf},
  year = {2016}
}
@online{TOOLKIT,
  author = {nVidia},
  title = {Develop, Optimize and Deploy GPU-accelerated Apps},
  url = {https://developer.nvidia.com/cuda-toolkit},
  urldate = {2017-10-18},
  year = {2017}
}
@article{THAKUR,
  abstract = {Automated CAD model simplification plays an important role in effectively utilizing physics-based simulation during the product realization process. Currently a rich body of literature exists that describe many successful techniques for fully-automatic or semi-automatic simplification of CAD models for a wide variety of applications. The purpose of this paper is to compile a list of the techniques that are relevant for physics-based simulations problems and to characterize them based on their attributes. We have classified them into the following four categories: techniques based on surface entity based operators, volume entity based operators, explicit feature based operators, and dimension reduction operators. This paper also presents the necessary background information in the CAD model representation to assist the new readers. We conclude the paper by outlining open research directions in this field. ?? 2009 Elsevier Ltd.},
  author = {Thakur, Atul and Banerjee, Ashis Gopal and Gupta, Satyandra K.},
  doi = {10.1016/j.cad.2008.11.009},
  isbn = {0010-4485},
  issn = {00104485},
  journal = {CAD Computer Aided Design},
  keywords = {CAD model simplification,Physics-based simulation},
  number = {2},
  pages = {65--80},
  publisher = {Elsevier Ltd},
  title = {{A survey of CAD model simplification techniques for physics-based simulation applications}},
  url = {http://dx.doi.org/10.1016/j.cad.2008.11.009},
  volume = {41},
  year = {2009}
}
@incollection{VAN,
  title = {Simulated annealing},
  author = {Van Laarhoven, Peter JM and Aarts, Emile HL},
  booktitle = {Simulated annealing: Theory and applications},
  pages = {7--15},
  year = {1987},
  publisher = {Springer}
}
@article{VALENZUELA,
  author = {Valenzuela, R.},
  journal = {IEEE 43rd Vehicular Technology Conference},
  pages = {214--218},
  title = {A ray tracing approach to predicting indoor wireless transmission},
  year = {1993}
}
@article{VINICIUS,
  title = {Software livre para Wireless Site Survey},
  author = {de Laet Duarte Batista, Vinicius},
  year = {2017},
  school = {Instituto Federal de Minas Gerais campus Formiga}
}
@phdthesis{XIE,
  title = {Indoor radio propagation modeling for system performance prediction},
  author = {Xie, Meiling},
  year = {2013},
  school = {INSA de Lyon}
}
@article{YUN,
  abstract = {This paper reviews the basic concepts of rays, ray tracing algorithms, and radio propagation modeling using ray tracing methods. We focus on the fundamental concepts and the development of practical ray tracing algorithms. The most recent progress and a future perspective of ray tracing are also discussed. We envision propagation modeling in the near future as an intelligent, accurate, and real-time system in which ray tracing plays an important role. This review is especially useful for experts who are developing new ray tracing algorithms to enhance modeling accuracy and improve computational speed.},
  author = {Yun, Zhengqing and Iskander, Magdy F.},
  doi = {10.1109/ACCESS.2015.2453991},
  issn = {21693536},
  journal = {IEEE Access},
  keywords = {Radio propagation,acceleration algorithm,propagation modeling},
  pages = {1089--1100},
  title = {Ray tracing for radio propagation modeling},
  volume = {3},
  year = {2015},
  subtitle = {Principles and applications}}
}

gha_language: TeX


text:
package hexutil

import (
	"encoding/hex"
	"errors"
	"fmt"
)

const (
	keyBitSize      = 256
	keyBytesSize    = 32
	keyStringLength = 64
	pathLength      = keyStringLength
)

var (
	// ErrInvalidKeyLength ..
	ErrInvalidKeyLength = fmt.Errorf("invalid key length: key length must be:{%d}", keyStringLength)
	// ErrInvalidPathLength ..
	ErrInvalidPathLength = fmt.Errorf("invalid path length: path length must be :{%d}", pathLength)
	// ErrInvalidPathChar ..
	ErrInvalidPathChar = fmt.Errorf("invalid path character: path characters should be valid hex char(0-f)")
	// ErrInvalidHexChar ..
	ErrInvalidHexChar = fmt.Errorf("invalid hex character: hex characters should be valid hex char(0-f)")
	// ErrOddHexLength ..
	ErrOddHexLength = fmt.Errorf("odd hex length: the length of the hex string should be even")
)

// IsValidHexKeyString validates key
func IsValidHexKeyString(key string) error {

	if len(key) != keyStringLength {
		return ErrInvalidKeyLength
	}
	return IsValidHexString(key)
}

// IsValidHexPathString validates pathStr
func IsValidHexPathString(pathStr string) error {
	if len(pathStr) != pathLength {
		return ErrInvalidPathLength
	}
	err := IsValidHexString(pathStr)
	if err != nil {
		return ErrInvalidPathChar
	}
	return nil
}

// IsValidHexString validates s
func IsValidHexString(s string) error {
	if len(s)%2 == 1 {
		return ErrOddHexLength
	}
	for _, c := range s {
		isValid := (c >= 48 && c <= 57) || (c >= 65 && c <= 70) || (c >= 97 && c <= 102)
		if !isValid {
			return ErrInvalidHexChar
		}
	}
	return nil
}

// HexStringToBytes converts string to bytes
func HexStringToBytes(s string) ([]byte, error) {
	bytes, err := hex.DecodeString(s)
	return bytes, err
}

// HexStringToBytes32 converts string to [32]bytes
func HexStringToBytes32(s string) (*[32]byte, error) {
	bytes, err := hex.DecodeString(s)
	if err != nil || len(bytes) > 32 {
		return nil, err
	}
	if len(bytes) != 32 {
		return nil, errors.New("string length cannot be different than 32 bytes")
	}
	var bytesArr [32]byte
	copy(bytesArr[:], bytes[:32])
	return &bytesArr, nil
}

repository: shvchuk/saltyrtc-server-go

repo_name: shvchuk/saltyrtc-server-go


text:
DESCRIPTION = "Internet connection library"
LICENSE = "LGPL"
DEPENDS = "dbus gconf osso-ic-oss"

PR = "r1"

SRC_URI = "http://repository.maemo.org/pool/maemo4.0/free/source/libc/${PN}/${PN}_${PV}-0.8.tar.gz"

inherit autotools pkgconfig

SRC_URI[md5sum] = "b4078390c459ae4df3acdabca36f53da"
SRC_URI[sha256sum] = "1ee5bf796367d27987098f73dad866359e188cafe32f1871c12b4469f262c846"

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
SUMMARY = "Python Qt4 Bindings"
AUTHOR = "Phil Thomson @ riverbank.co.uk"
HOMEPAGE = "http://riverbankcomputing.co.uk"
SECTION = "devel/python"
LICENSE = "GPLv2 & GPLv3 & GPL_EXCEPTION"
LIC_FILES_CHKSUM = "\
    file://GPL_EXCEPTION.TXT;md5=b73b0be471db679533dc94781c14af58 \
    file://GPL_EXCEPTION_ADDENDUM.TXT;md5=c1e04ec2aa0911061005a801abf81e40 \
    file://OPENSOURCE-NOTICE.TXT;md5=6ad9123620cc04a22c394753ad4767d7 \
    file://LICENSE.GPL2;md5=577ff65f6653562af318bfc3944b1f20 \
    file://LICENSE.GPL3;md5=feee51612c3c1191a1d5f41156fa2c75 \
"
DEPENDS = "sip sip-native qt4-x11-free python"

SRC_URI = "\
    ${SOURCEFORGE_MIRROR}/pyqt/PyQt-x11-gpl-${PV}.tar.gz \
"
SRC_URI[md5sum] = "997c3e443165a89a559e0d96b061bf70"
SRC_URI[sha256sum] = "853780dcdbe2e6ba785d703d059b096e1fc49369d3e8d41a060be874b8745686"

S = "${WORKDIR}/PyQt-x11-gpl-${PV}"

PARALLEL_MAKE = ""

inherit qmake2 pythonnative python-dir distro_features_check
# depends on qt4-x11-free
REQUIRED_DISTRO_FEATURES = "x11"

DISABLED_FEATURES = "PyQt_Desktop_OpenGL PyQt_Accessibility PyQt_SessionManager"

DISABLED_FEATURES_append_arm = " PyQt_qreal_double"

do_configure() {
    echo "py_platform = linux" > pyqt.cfg
    echo "py_inc_dir = %(sysroot)/$includedir/python%(py_major).%(py_minor)" >> pyqt.cfg
    echo "py_pylib_dir = %(sysroot)/${libdir}/python%(py_major).%(py_minor)" >> pyqt.cfg
    echo "py_pylib_lib = python%(py_major).%(py_minor)mu" >> pyqt.cfg
    echo "pyqt_module_dir = ${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> pyqt.cfg
    echo "pyqt_bin_dir = ${D}/${bindir}" >> pyqt.cfg
    echo "pyqt_sip_dir = ${D}/${datadir}/sip/PyQt4" >> pyqt.cfg
    echo "pyuic_interpreter = ${D}/${bindir}/python%(py_major).%(py_minor)" >> pyqt.cfg
    echo "pyqt_disabled_features = ${DISABLED_FEATURES}" >> pyqt.cfg
    echo "qt_shared = True" >> pyqt.cfg
    echo "[Qt 4.8]" >> pyqt.cfg
    echo "pyqt_modules = QtCore QtGui QtDeclarative QtNetwork QtSvg QtWebKit" >> pyqt.cfg
    echo yes | python configure-ng.py --verbose --qmake  ${STAGING_BINDIR_NATIVE}/qmake2 --configuration pyqt.cfg --sysroot ${STAGING_DIR_HOST}
}
do_install() {
     oe_runmake install
}

RDEPENDS_${PN} = "python-core python-sip"

FILES_${PN} += "${libdir}/${PYTHON_DIR}/site-packages ${datadir}/sip/PyQt4/"
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*/.debug/"

branch_name: refs/heads/fido


text:
require ${BPN}.inc

SRC_URI[md5sum] = "98b1ca3e0feeecf8b993f9c415ff22e5"
SRC_URI[sha256sum] = "16b8234ee763fab27071e7d708accbdb0cd43eecdfdb08775853bf380e558f8d"


text:
//
// DISCLAIMER
//
// Copyright 2017 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Copyright holder is ArangoDB GmbH, Cologne, Germany
//
// Author Ewout Prangsma
//

package test

import (
	"os"
	"testing"
	"time"
)

// TestProcessClusterLocal runs `arangodb --starter.local`
func TestProcessClusterLocal(t *testing.T) {
	removeArangodProcesses(t)
	needTestMode(t, testModeProcess)
	needStarterMode(t, starterModeCluster)
	dataDir := SetUniqueDataDir(t)
	defer os.RemoveAll(dataDir)

	start := time.Now()

	child := Spawn(t, "${STARTER} --starter.local "+createEnvironmentStarterOptions())
	defer child.Close()

	if ok := WaitUntilStarterReady(t, whatCluster, 3, child); ok {
		t.Logf("Cluster start took %s", time.Since(start))
		testCluster(t, insecureStarterEndpoint(0*portIncrement), false)
		testCluster(t, insecureStarterEndpoint(1*portIncrement), false)
		testCluster(t, insecureStarterEndpoint(2*portIncrement), false)
	}

	if isVerbose {
		t.Log("Waiting for termination")
	}
	SendIntrAndWait(t, child)
}

// TestProcessClusterLocal runs `arangodb --starter.local`, stopping it through the `/shutdown` API.
func TestProcessClusterLocalShutdownViaAPI(t *testing.T) {
	removeArangodProcesses(t)
	needTestMode(t, testModeProcess)
	needStarterMode(t, starterModeCluster)
	dataDir := SetUniqueDataDir(t)
	defer os.RemoveAll(dataDir)

	start := time.Now()

	child := Spawn(t, "${STARTER} --starter.local "+createEnvironmentStarterOptions())
	defer child.Close()

	if ok := WaitUntilStarterReady(t, whatCluster, 3, child); ok {
		t.Logf("Cluster start took %s", time.Since(start))
		testCluster(t, insecureStarterEndpoint(0*portIncrement), false)
		testCluster(t, insecureStarterEndpoint(1*portIncrement), false)
		testCluster(t, insecureStarterEndpoint(2*portIncrement), false)
	}

	waitForCallFunction(t,
		ShutdownStarterCall(insecureStarterEndpoint(0*portIncrement)))
}

// TestOldProcessClusterLocal runs `arangodb --local`
func TestOldProcessClusterLocal(t *testing.T) {
	removeArangodProcesses(t)
	needTestMode(t, testModeProcess)
	needStarterMode(t, starterModeCluster)
	dataDir := SetUniqueDataDir(t)
	defer os.RemoveAll(dataDir)

	start := time.Now()

	child := Spawn(t, "${STARTER} --local "+createEnvironmentStarterOptions())
	defer child.Close()

	if ok := WaitUntilStarterReady(t, whatCluster, 3, child); ok {
		t.Logf("Cluster start took %s", time.Since(start))
		testCluster(t, insecureStarterEndpoint(0*portIncrement), false)
		testCluster(t, insecureStarterEndpoint(1*portIncrement), false)
		testCluster(t, insecureStarterEndpoint(2*portIncrement), false)
	}

	if isVerbose {
		t.Log("Waiting for termination")
	}
	SendIntrAndWait(t, child)
}

repository: arangodb-helper/arangodb

repo_name: arangodb-helper/arangodb

gha_language: Go


text:
@Misc{vanderVelden2015,
author="van der Velden, Sjaak",
title="Number of Workers Involved in Labour Disputes",
year="2015",
publisher="IISH Dataverse",
url="http://hdl.handle.net/10622/M0PI4D"
}


text:
DESCRIPTION = "Azure IoT Hub Service Client Library"

include azure-iot-sdk-native.inc

PR = "r0"

do_install() {
    install -d ${D}${PYTHON_SITEPACKAGES_DIR}
    oe_libinstall -C ${B}/c/python_service_client/src -so iothub_service_client ${D}${PYTHON_SITEPACKAGES_DIR}
}

FILES_${PN} += "\
	${PYTHON_SITEPACKAGES_DIR}/*.so \
"

repository: derekstraka/meta-iot-cloud

repo_name: derekstraka/meta-iot-cloud


text:
package auditlog

import (
	"context"

	"github.com/kyma-incubator/compass/components/director/pkg/log"

	"github.com/kyma-incubator/compass/components/director/pkg/correlation"
	"github.com/kyma-incubator/compass/components/gateway/pkg/proxy"
)

type Worker struct {
	svc             proxy.AuditlogService
	client          Client
	auditlogChannel chan proxy.AuditlogMessage
	done            chan bool
	collector       MetricCollector
}

func NewWorker(svc proxy.AuditlogService, auditlogChannel chan proxy.AuditlogMessage, collector MetricCollector) *Worker {
	return &Worker{
		svc:             svc,
		auditlogChannel: auditlogChannel,
		collector:       collector,
	}
}

func (w *Worker) Start(ctx context.Context) {
	logger := log.C(ctx)
	for {
		select {
		case <-ctx.Done():
			logger.Infoln("Worker for auditlog message processing has finished")
			return
		case msg := <-w.auditlogChannel:
			logger.Debugf("Read from auditlog channel (size=%d, cap=%d)", len(w.auditlogChannel), cap(w.auditlogChannel))
			w.collector.SetChannelSize(len(w.auditlogChannel))
			ctx := context.WithValue(ctx, correlation.HeadersContextKey, msg.CorrelationIDHeaders)
			err := w.svc.Log(ctx, msg)
			if err != nil {
				logger.WithError(err).Errorf("while saving auditlog message: %v", err)
			}
		}
	}
}

repository: kyma-incubator/compass

repo_name: kyma-incubator/compass

branch_name: refs/heads/main


text:
DESCRIPTION = "RSM"
SECTION = "library"

LICENSE = "BSD-3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=662fd4d9d67a7f81cde6fef0f4696a80"

DEPENDS = "mosquitto icl ltd"

SRCREV = "${AUTOREV}"
SRC_URI = "git://github.com/FleX-d/RSM;branch=devMatusMCM"

S = "${WORKDIR}/git"

EXTRA_OECMAKE += "-DENABLE_TESTS=off"

inherit pkgconfig cmake

repository: FleX-d/meta-flexd

repo_name: FleX-d/meta-flexd


text:
@article{adato,
  title     = {Accessing the ‘right’kinds of material and symbolic capital: the role of cash transfers in reducing adolescent school absence and risky behaviour in South Africa},
  author    = {Adato, Michelle and Devereux, Stephen and Sabates-Wheeler, Rachel},
  journal   = {The Journal of Development Studies},
  volume    = {52},
  number    = {8},
  pages     = {1132--1146},
  year      = {2016},
  publisher = {Taylor \& Francis}
}

@article{baird2011cash,
  title     = {Cash or condition? Evidence from a cash transfer experiment},
  author    = {Baird, Sarah and McIntosh, Craig and Ozler, Berk},
  journal   = {The Quarterly journal of economics},
  volume    = {126},
  number    = {4},
  pages     = {1709--1753},
  year      = {2011},
  publisher = {MIT Press}
}

@inbook{BurkinaFaso_final,
  crossref  = {NBERafri14-2},
  title     = {Alternative Cash Transfer Delivery Mechanisms: Impacts on Routine Preventative Health Clinic Visits in Burkina Faso},
  author    = {Richard Akresh and Damien de Walque and Harounan Kazianga},
  booktitle = {African Successes, Volume II: Human Capital},
  publisher = {University of Chicago Press},
  pages     = {113-135},
  year      = {2014},
  month     = {May},
  url       = {http://www.nber.org/chapters/c13377}
}

@techreport{BurkinaFaso_School,
  title       = {Cash Transfers and Child Schooling: Evidence from a Randomized Evaluation of the Role of Conditionality},
  author      = {Akresh, Richard and de Walque, Damien and Kazianga, Harounan},
  year        = {2013},
  institution = {Oklahoma State University, Department of Economics and Legal Studies in Business},
  type        = {Economics Working Paper Series},
  number      = {1301},
  abstract    = {We conduct a randomized experiment in rural Burkina Faso to estimate the impact of alternative cash transfer delivery mechanisms on education. The two-year pilot program randomly distributed cash transfers that were either conditional (CCT) or unconditional (UCT). Families under the CCT schemes were required to have their children ages 7-15 enrolled in school and attend classes regularly. There were no such requirements under the unconditional programs. Results indicate that UCTs and CCTs have a similar impact increasing the enrollment of children who are traditionally favored by parents for school participation, including boys, older children, and higher ability children. However, CCTs are significantly more effective than UCTs in improving the enrollment of "marginal children" who are initially less likely to go to school, such as girls, younger children, and lower ability children. Thus, conditionality plays a critical role in benefiting children who are less likely to receive investments from their parents.},
  keywords    = {Cash transfers; Conditionality; Education; Africa},
  url         = {https://EconPapers.repec.org/RePEc:okl:wpaper:1301}
}

@article{CT_OVC,
  title   = {Cash transfer programme, productive activities and labour supply: Evidence from randomized experiment in Kenya.},
  author  = {Solomon Asfaw and Benjamin Davis and Josh Dewbre and Sudhanshu Handa and Paul Winters},
  journal = {The journal of development studies},
  volume  = {50},
  number  = {8},
  year    = {2014},
  page    = {1172-1196},
  doi     = {https://doi.org/10.1080/00220388.2014.919383}
}

@article{CT_OVC_HIV,
  title   = {The government of Kenya's cash transfer program reduces the risk of sexual debut among young people age 15-25},
  author  = {Sudhanshu Handa and Carolyn Tucker Halpern and Audry Pettifor and Harsha Thirumurthy},
  journal = {PLoS One},
  year    = {2014},
  volume  = {9},
  number  = {1},
  doi     = {https://doi.org/10.1371/journal.pone.0085473}
}

@techreport{CTOVC_food,
  title       = {The impact of the {Kenya CT-OVC} programme on
      productive activities and labour allocation},
  author      = {Solomon Asfaw and Benjamin Davis and Josh Dewbre and Giovanni Federighi and
      Sudhanshu Handa and Paul Winters},
  institution = {Food and Agriculture Organization},
  year        = {2012}
}

@article{daidone2014zambia,
  title   = {Zambia’s Child Grant Programme: 24-month impact report on productive activities and labour allocation},
  author  = {Daidone, Silvio and Davis, Benjamin and Dewbre, Joshua and Gonz{\'a}lez-Flores, Mario and Handa, Sudhanshu and Seidenfeld, David and Tembo, Gelson},
  journal = {Food and Agriculture Organization of the United Nations, Rome},
  year    = {2014}
}

@article{de2015heterogeneous,
  title   = {Heterogeneous impacts of an unconditional cash transfer programme on schooling: evidence from the Ghana {LEAP} programme},
  author  = {De Groot, Richard and Handa, Sudhanshu and Park, Michael and Darko, Robert Osei and Osei-Akoto, Isaac and Bhalla, Garima and Ragno, Luigi Peter},
  journal = {UNICEF Office of Research--Innocenti Working Paper WP-2015-10},
  year    = {2015}
}

@article{DSDUnicef,
  title     = {The South African Child Support Grant Impact Assessment:
      Evidence from a survey of children, adolescents and their households},
  author    = {DSD and SASSA and UNICEF},
  year      = {2012},
  publisher = {Pretoria: UNICEF South Africa}
}

@book{evans2014community,
  title     = {Community-based conditional cash transfers in Tanzania: Results from a randomized trial},
  author    = {Evans, David and Hausladen, Stephanie and Kosec, Katrina and Reese, Natasha},
  year      = {2014},
  publisher = {The World Bank}
}

@techreport{Ghana_final,
  title       = {{Ghana LEAP} 1000 Programme: Endline Evaluation Report},
  year        = {2020},
  institution = {United Nations Children's Fund (UNICEF) Office of Research},
  author      = {Tia Palermo and Sudhanshu Handa},
  url         = {https://reliefweb.int/sites/reliefweb.int/files/resources/d-4106-LEAP%201000%20Report.pdf}
}

@article{handa2014livelihood,
  title   = {Livelihood empowerment against poverty program impact evaluation, 3ie Grantee Final Report},
  author  = {Handa, S and Park, M and Darko, RO and Osei-Akoto, I and Davis, B and Diadone, S},
  journal = {New Delhi: International Initiative for Impact Evaluation (3ie)},
  year    = {2014}
}

@article{HANDA201536,
  title    = {Impact of the Kenya Cash Transfer for Orphans and Vulnerable Children on early pregnancy and marriage of adolescent girls},
  journal  = {Social Science & Medicine},
  volume   = {141},
  pages    = {36 - 45},
  year     = {2015},
  issn     = {0277-9536},
  doi      = {https://doi.org/10.1016/j.socscimed.2015.07.024},
  url      = {http://www.sciencedirect.com/science/article/pii/S027795361530040X},
  author   = {Sudhanshu Handa and Amber Peterman and Carolyn Huang and Carolyn Halpern and Audrey Pettifor and Harsha Thirumurthy},
  keywords = {Kenya, Cash transfers, Adolescent girls, Pregnancy, Early marriage},
  abstract = {There is promising evidence that poverty-targeted cash transfer programs can have positive impacts on adolescent transitions to adulthood in resource poor settings, however existing research is typically from small scale programs in diverse geographic and cultural settings. We provide estimates of the impact of a national unconditional cash transfer program, the Kenya Cash Transfer for Orphans and Vulnerable Children, on pregnancy and early marriage among females aged 12 to 24, four years after program initiation. The evaluation was designed as a clustered randomized controlled trial and ran from 2007 to 2011, capitalizing on the existence of a control group, which was delayed entry to the program due to budget constraints. Findings indicate that, among 1549 females included in the study, while the program reduced the likelihood of pregnancy by five percentage points, there was no significant impact on likelihood of early marriage. Program impacts on pregnancy appear to work through increasing the enrollment of young women in school, financial stability of the household and delayed age at first sex. The Kenyan program is similar in design to most other major national cash transfer programs in Eastern and Southern Africa, suggesting a degree of generalizability of the results reported here. Although the objective of the program is primarily poverty alleviation, it appears to have an important impact on facilitating the successful transition of adolescent girls into adulthood.}
}

@article{handa2016income,
  title     = {Income transfers and maternal health: evidence from a national randomized social cash transfer program in Zambia},
  author    = {Handa, Sudhanshu and Peterman, Amber and Seidenfeld, David and Tembo, Gelson},
  journal   = {Health economics},
  volume    = {25},
  number    = {2},
  pages     = {225--236},
  year      = {2016},
  publisher = {Wiley Online Library}
}

@article{handa2016social,
  title     = {The social and productive impacts of Zambia's child grant},
  author    = {Handa, Sudhanshu and Seidenfeld, David and Davis, Benjamin and Tembo, Gelson and Zambia Cash Transfer Evaluation Team},
  journal   = {Journal of Policy Analysis and Management},
  volume    = {35},
  number    = {2},
  pages     = {357--387},
  year      = {2016},
  publisher = {Wiley Online Library}
}

@article{kahn2015cash,
  title   = {Cash transfers to increase antenatal care utilization in Kisoro, Uganda: a pilot study},
  author  = {Kahn, Chava and Iragua, Mosesh and Baganizi, Michael and Kolenic, Giselle E and Paccione, Gerald A and Tejani, Nergesh},
  journal = {African journal of reproductive health},
  volume  = {19},
  number  = {3},
  pages   = {144--150},
  year    = {2015}
}

@article{Kenya_CT_OVC,
  author    = {The Kenya CT-OVC Evaluation Team},
  title     = {The impact of Kenya's Cash Transfer for Orphans and Vulnerable Children on human capital},
  journal   = {Journal of Development Effectiveness},
  volume    = {4},
  number    = {1},
  pages     = {38-49},
  year      = {2012},
  publisher = {Routledge},
  doi       = {10.1080/19439342.2011.653578}
}

@techreport{Kenya_HSNP_final,
  title       = {{Kenya Hunger Safety Net Programme} Monitoring and Evaluation
      Component: Impact Evaluation Final Report: 2009 to 2012"},
  author      = {Fred Merttens and Alex Hurrell and Marta Marzi and Ramla Attah and Maham Farhat and
      Andrew Kardan and Ian MacAuslan},
  year        = {2013},
  url         = {https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/284251/Kenya-Hunger-Safety-Net-Programme-2009-2012.pdf},
  institution = {Oxford Policy Management}
}

\@techreport{Kenya_UBI,
  title       = {Effects of a Universal Basic Income during the pandemic},
  author      = {Abhijit Banerjee and Michael Faye and Alan Kruger and Paul Niehaus and Tavneet Suri},
  year        = {2020},
  institution = {Massachusetts Institute of Technology}
}

@techreport{KenyaGD_domvio,
  title       = {Income Changes and Intimate Partner Violence: Evidence from Unconditional Cash Transfers in Kenya},
  author      = {Haushofer, Johannes and Ringdal, Charlotte and Shapiro, Jeremy P and Wang, Xiao Yu},
  institution = {National Bureau of Economic Research},
  type        = {Working Paper},
  series      = {Working Paper Series},
  number      = {25627},
  year        = {2019},
  month       = {March},
  doi         = {10.3386/w25627},
  url         = {http://www.nber.org/papers/w25627},
  abstract    = {In a previous study, we found an improvement in female empowerment after randomized unconditional cash transfers in Kenya (Haushofer and Shapiro 2016). Here we report detailed impacts of these transfers on physical and sexual intimate partner violence, and construct a theory to explain them. Transfers to women averaging USD 709 reduced physical and sexual violence (-0:26, -0:22 standard deviations). Transfers to men reduced physical violence (-0:18 SD). We find spillovers: physical violence towards non-recipient women in treatment villages decreased (-0:16 SD). We show theoretically that transfers to both men and women are needed to understand why violence occurs. Our theory suggests that husbands use physical violence to extract resources, but dislike it, while sexual violence is not used to extract resources, but is pleasurable.}
}

@article{Lesotho_CGP,
  title   = {Combining cash transfers with rural development interventions: an impact evaluation of {Lesotho’s Child Grants Programme} ({CGP}) and {Sustainable Poverty Reduction through Income, Nutrition and access to Government Services} ({SPRINGS}) project},
  author  = {Daidone, Silvio and Pace, Noemi and Prifti, Ervin},
  year    = {2018},
  journal = {{UNICEF}},
  url     = {https://transfer.cpc.unc.edu/wp-content/uploads/2019/01/Lesotho-CGP-SPRINGS-Impact-Report_FINAL.pdf}
}

@article{Malawi_SCTP_final,
  title   = {Malawi social cash transfer programme endline impact evaluation report},
  author  = {Sara Abdoulayi and Gustavo Angeles and Clare Barrington and Kristen Brugh and Sudhanshu Handa and Kelly Kilburn and Adria Molotsky and Frank Otchere and Susannah Zietz},
  journal = {Chapel Hill, Zomba: The University of North Carolina, University of Malawi},
  year    = {2016}
}
@article{Meta_analysis_SSA,
  author   = {Owusu-Addo, Ebenezer and Renzaho, Andre M N and Smith, Ben J},
  title    = {The impact of cash transfers on social determinants of health and health inequalities in sub-Saharan Africa: a systematic review},
  journal  = {Health Policy and Planning},
  volume   = {33},
  number   = {5},
  pages    = {675-696},
  year     = {2018},
  month    = {03},
  abstract = {Cash transfers (CTs) are now high on the agenda of most governments in low- and middle-income countries. Within the field of health promotion, CTs constitute a healthy public policy initiative as they have the potential to address the social determinants of health (SDoH) and health inequalities. A systematic review was conducted to synthesise the evidence on CTs’ impacts on SDoH and health inequalities in sub-Saharan Africa, and to identify the barriers and facilitators of effective CTs. Twenty-one electronic databases and the websites of 14 key organizations were searched in addition to grey literature and hand searching of selected journals for quantitative and qualitative studies on CTs’ impacts on SDoH and health outcomes. Out of 182 full texts screened for eligibility, 79 reports that reported findings from 53 studies were included in the final review. The studies were undertaken within 24 CTs comprising 11 unconditional CTs (UCTs), 8 conditional CTs (CCTs) and 5 combined UCTs and CCTs. The review found that CTs can be effective in tackling structural determinants of health such as financial poverty, education, household resilience, child labour, social capital and social cohesion, civic participation, and birth registration. The review further found that CTs modify intermediate determinants such as nutrition, dietary diversity, child deprivation, sexual risk behaviours, teen pregnancy and early marriage. In conjunction with their influence on SDoH, there is moderate evidence from the review that CTs impact on health and quality of life outcomes. The review also found many factors relating to intervention design features, macro-economic stability, household dynamics and community acceptance of programs that could influence the effectiveness of CTs. The external validity of the review findings is strong as the findings are largely consistent with those from Latin America. The findings thus provide useful insights to policy makers and managers and can be used to optimise CTs to reduce health inequalities.},
  issn     = {0268-1080},
  doi      = {10.1093/heapol/czy020},
  url      = {https://doi.org/10.1093/heapol/czy020},
  eprint   = {https://academic.oup.com/heapol/article-pdf/33/5/675/25086851/czy020.pdf}
}

@article{MZCTP,
  author   = {Baird, Sarah and McIntosh, Craig and Özler, Berk},
  title    = {Cash or Condition? Evidence from a Cash Transfer Experiment},
  journal  = {The Quarterly Journal of Economics},
  volume   = {126},
  number   = {4},
  pages    = {1709-1753},
  year     = {2011},
  month    = {10},
  abstract = {This article assesses the role of conditionality in cash transfer programs using a unique experiment targeted at adolescent girls in Malawi. The program featured two distinct interventions: unconditional transfers (UCT arm) and transfers conditional on school attendance (CCT arm). Although there was a modest decline in the dropout rate in the UCT arm in comparison with the control group, it was only 43\\% as large as the impact in the CCT arm at the end of the 2-year program. The CCT arm also outperformed the UCT arm in tests of English reading comprehension. However, teenage pregnancy and marriage rates were substantially lower in the UCT than the CCT arm, entirely due to the impact of UCTs on these outcomes among girls who dropped out of school.},
  issn     = {0033-5533},
  doi      = {10.1093/qje/qjr032},
  url      = {https://doi.org/10.1093/qje/qjr032},
  eprint   = {https://academic.oup.com/qje/article-pdf/126/4/1709/17088367/qjr032.pdf}
}

@article{Namibia,
  author  = {Osterkamp, Rigmar},
  year    = {2013},
  month   = {01},
  pages   = {},
  title   = {The Basic Income Grant Pilot Project in Namibia: A Critical Assessment},
  volume  = {8},
  journal = {Basic Income Studies},
  doi     = {10.1515/bis-2012-0007}
}

@article{okoli2014conditional,
  title     = {Conditional cash transfer schemes in Nigeria: potential gains for maternal and child health service uptake in a national pilot programme},
  author    = {Okoli, Ugo and Morris, Laura and Oshin, Adetokunbo and Pate, Muhammad A and Aigbe, Chidimma and Muhammad, Ado},
  journal   = {BMC pregnancy and childbirth},
  volume    = {14},
  number    = {1},
  pages     = {408},
  year      = {2014},
  publisher = {Springer}
}

@techreport{RePEc:erg:wpaper:1090,
  title       = {Cash Transfers and Labor Supply: Evidence from A Large-Scale Program in Iran},
  author      = {Salehi-Isfahani, Djavad and Mostafavi-Dehzooei, Mohammad},
  year        = {2017},
  institution = {Economic Research Forum},
  type        = {Working Papers},
  number      = {1090},
  abstract    = {We study the impact of a nation-wide unconditional cash transfer program on labor supply in Iran. In 2011, the government started monthly deposits of cash into individual family accounts amounting to 29\% of the median household income. We use panel data and fixed effects to study the causal effect of the cash transfers on labor supply using the exogenous variation in the intensity of treatment, which we define as the value of cash transfers relative to household income in the year before transfers. We also use a difference-in-differences methodology that relies on exogenous variation in the time households first started receiving transfers. With the exception of youth, who have weak ties to the labor market, we find no evidence that cash transfers reduced labor supply, while service sector workers appear to have increased their hours of work, perhaps because some used transfers to expand their business.},
  url         = {https://EconPapers.repec.org/RePEc:erg:wpaper:1090}
}

@techreport{RwandaGD,
  title       = {Benchmarking a Child Nutrition Program against Cash: Experimental Evidence from {Rwanda}},
  author      = {Craig McIntosh and Andrew Zeitlin},
  year        = {2018},
  institution = {GiveDirectly}
}

@article{SA_Duflo,
  issn      = {02586770, 1564698X},
  url       = {http://www.jstor.org/stable/3990043},
  abstract  = {This article evaluates the impact of a large cash transfer program in South Africa on children's nutritional status and investigates whether the gender of the recipient affects that impact. In the early 1990s the benefits and coverage of the South African social pension program were expanded for the black population. In 1993 the benefits were about twice the median per capita income in rural areas. More than a quarter of black South African children under age five live with a pension recipient. Estimates suggest that pensions received by women had a large impact on the anthropometric status (weight for height and height for age) of girls but little effect on that of boys. No similar effect is found for pensions received by men. This suggests that the efficiency of public transfer programs may depend on the gender of the recipient.},
  author    = {Esther Duflo},
  journal   = {The World Bank Economic Review},
  number    = {1},
  pages     = {1--25},
  publisher = {Oxford University Press},
  title     = {Grandmothers and Granddaughters: Old-Age Pensions and Intrahousehold Allocation in {South Africa}},
  volume    = {17},
  year      = {2003}
}

@techreport{SouthAfrica_CSG_final,
  title       = {The South African Child Support Grant Impact Assessment: Evidence from a survey of children,
      adolescents and their household},
  year        = {2012},
  author      = {DSD and SASSA and UNICEF},
  institution = {UNICEF South Africa},
  address     = {Pretoria}
}

@article{Tanzania_TASAF_final,
  title     = {Cash transfers and health: Evidence from {Tanzania}},
  author    = {Evans, David K and Holtemeyer, Brian and Kosec, Katrina},
  journal   = {The World Bank Economic Review},
  volume    = {33},
  number    = {2},
  pages     = {394--412},
  year      = {2019},
  publisher = {Oxford University Press}
}

@article{thornton2008demand,
  title   = {The demand for, and impact of, learning HIV status},
  author  = {Thornton, Rebecca L},
  journal = {American Economic Review},
  volume  = {98},
  number  = {5},
  pages   = {1829--63},
  year    = {2008}
}

@techreport{Uganda_GD_final,
  title       = {Cash crop: evaluating large cash transfers to coffee
      farming communities in Uganda},
  year        = {2019},
  author      = {Michael Cooke and Piali Mukhopadhyay},
  institution = {GiveDirectly}
}

@techreport{Uganda_SAGE_final,
  title       = {Evaluation of the {Uganda} Social Assistance Grants for Empowerment ({SAGE}) Programme Final report},
  author      = {Fred Merttens and
      Esméralda Sindou and Alina Lipcan, Luca Pellerano and Michele Binci, Sarah Ssewanyana and Stella Neema and Ramlatu Attah and Sope Otulana and Chris Hearle and Sabine Garbarino},
  year        = {2016},
  institution = {Oxford Policy Management}
}

@techreport{Uganda_WFP_food,
  title       = {Impact Evaluation of Cash and Food Transfers at Early Childhood Development Centers in {Karamoja, Uganda}: Final Impact Report},
  author      = {Gilligan, Daniel O and Margolies, Amy and Quinones, Esteban and Roy, Shalini},
  institution = {World Food Program},
  year        = {2013}
}

@article{unicef2014child,
  title     = {Child support grant evaluation 2010: Qualitative research report},
  author    = {UNICEF and others},
  year      = {2014},
  publisher = {Pretoria, South Africa}
}

@incollection{World_Bank_meta,
  title     = {Social Safety Nets Promote Poverty Reduction, Increase Resilience, and Expand Opportunities},
  booktitle = {Realizing the Full Potential of Social Safety Nets in Africa},
  author    = {Andrews, Colin and Hsiao, Allan and Ralston, Laura},
  year      = {2018}
}

@article{yotebieng2016conditional,
  title     = {Conditional cash transfers and uptake of and retention in prevention of mother-to-child HIV transmission care: a randomised controlled trial},
  author    = {Yotebieng, Marcel and Thirumurthy, Harsha and Moracco, Kathryn E and Kawende, Bienvenu and Chalachala, Jean Lambert and Wenzi, Landry Kipula and Ravelomanana, Noro Lantoniaina Rosa and Edmonds, Andrew and Thompson, Deidre and Okitolonda, Emile W and others},
  journal   = {The lancet HIV},
  volume    = {3},
  number    = {2},
  pages     = {e85--e93},
  year      = {2016},
  publisher = {Elsevier}
}

@techreport{Zambia_CGP_final,
  title       = {Zambia's Child	Grant	Program: 36-Month Impact	Report},
  author      = {David Seidenfeld and Sudhanshu Handa},
  institution = {American Institutes for Research},
  year        = {2014},
  address     = {Washington, DC}
}

@techreport{Zambia_MCTG_final,
  title       = {Zambia's Multiple Category Targeting Grant: 36-Month Impact Report},
  author      = {David Seidenfeld and Sudhanshu Handa},
  institution = {American Institutes for Research},
  year        = {2014},
  address     = {Washington, DC}
}

@techreport{ZCTP_medium,
  title       = {What happens once the intervention ends? The medium-term impacts of a cash transfer programme in Malawi},
  author      = {Sarah Baird and Ephraim Chirwa and Craig McIntosh and Berk Özler},
  year        = {2015},
  institution = {International Initiative for Impact Evaluation}
}

@article{Zembe_2015,
  author    = {Wanga Zembe-Mkabile and Rebecca Surender and David Sanders and Debra Jackson and Tanya Doherty},
  title     = {The experience of cash transfers in alleviating childhood poverty in South Africa: Mothers' experiences of the Child Support Grant},
  journal   = {Global Public Health},
  volume    = {10},
  number    = {7},
  pages     = {834-851},
  year      = {2015},
  publisher = {Taylor & Francis},
  doi       = {10.1080/17441692.2015.1007471}
}

@article{Zimbabwe_CCTP_Final,
  author  = {Robertson, Laura and Mushati, Phyllis and Eaton, Jeffrey and Lovemore, Dumba and Mavise, Gideon and Makoni, Jeremiah and Schumacher, Christina and Crea, Thomas and Monasch, Roeland and Sherr, Lorraine and Garnett, Geoffrey and Nyamukapa, Constance and Gregson, Simon},
  year    = {2013},
  month   = {02},
  pages   = {},
  title   = {Effects of unconditional and conditional cash transfers on child health and development in {Zimbabwe}: A cluster-randomised trial},
  volume  = {381},
  journal = {Lancet},
  doi     = {10.1016/S0140-6736(12)62168-0}
}

@techreport{Zimbabwe_HSCT_final,
  title       = {Zimbabwe’s Harmonised Social Cash
      Transfer Programme
      Endline Impact Evaluation Report},
  year        = {2018},
  author      = {Gustavo Angeles and Averi Chakrabarti and Sudhanshu Handa and Frank Otchere and Gean Spektor},
  institution = {The University of North Carolina at Chapel Hill}
}

@article{watson2019universal,
  title   = {Universal cash transfers reduce childhood obesity rates},
  author  = {Watson, Brett and Guettabi, Mouhcine and Reimer, Matthew},
  journal = {Available at SSRN 3380033},
  year    = {2019}
}

@article{aizer2016long,
  title   = {The long-run impact of cash transfers to poor families},
  author  = {Aizer, Anna and Eli, Shari and Ferrie, Joseph and Lleras-Muney, Adriana},
  journal = {American Economic Review},
  volume  = {106},
  number  = {4},
  pages   = {935--71},
  year    = {2016}
}

@article{dahl2012impact,
  title   = {The impact of family income on child achievement: Evidence from the earned income tax credit},
  author  = {Dahl, Gordon B and Lochner, Lance},
  journal = {American Economic Review},
  volume  = {102},
  number  = {5},
  pages   = {1927--56},
  year    = {2012}
}

@article{milligan2009child,
  title   = {Child benefits, maternal employment, and children's health: Evidence from {Canadian} child benefit expansions},
  author  = {Milligan, Kevin and Stabile, Mark},
  journal = {American Economic Review},
  volume  = {99},
  number  = {2},
  pages   = {128--32},
  year    = {2009}
}

@article{hoynes2016long,
  title   = {Long-run impacts of childhood access to the safety net},
  author  = {Hoynes, Hilary and Schanzenbach, Diane Whitmore and Almond, Douglas},
  journal = {American Economic Review},
  volume  = {106},
  number  = {4},
  pages   = {903--34},
  year    = {2016},
  url     = {https://www.nber.org/papers/w18535.pdf}
}

@article{whitmore2002food,
  title   = {What are food stamps worth?},
  author  = {Whitmore, Diane},
  year    = {2002},
  url     = {https://msu.edu/~dickertc/301f06/whatarefoodstampsworth.pdf},
  journal = {Princeton University Industrial Relations Section}
}

@article{hoynes2009consumption,
  title   = {Consumption responses to in-kind transfers: Evidence from the introduction of the food stamp program},
  author  = {Hoynes, Hilary W and Schanzenbach, Diane Whitmore},
  journal = {American Economic Journal: Applied Economics},
  volume  = {1},
  number  = {4},
  pages   = {109--39},
  year    = {2009}
}

@article{akee2013young,
  title   = {Young adult obesity and household income: Effects of unconditional cash transfers},
  author  = {Akee, Randall and Simeonova, Emilia and Copeland, William and Angold, Adrian and Costello, E Jane},
  journal = {American Economic Journal: Applied Economics},
  volume  = {5},
  number  = {2},
  pages   = {1--28},
  year    = {2013},
  url     = {https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3975822/}
}

@article{akee2010parents,
  title   = {Parents' incomes and children's outcomes: a quasi-experiment using transfer payments from casino profits},
  author  = {Akee, Randall KQ and Copeland, William E and Keeler, Gordon and Angold, Adrian and Costello, E Jane},
  journal = {American Economic Journal: Applied Economics},
  volume  = {2},
  number  = {1},
  pages   = {86--115},
  year    = {2010},
  url     = {https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2891175/}
}

@inproceedings{mumford2017fertility,
  title        = {Fertility Response to the Tax Treatment of Children},
  author       = {Mumford, Kevin J and Thomas, Paul},
  booktitle    = {Proceedings. Annual Conference on Taxation and Minutes of the Annual Meeting of the National Tax Association},
  volume       = {110},
  pages        = {1--18},
  year         = {2017},
  organization = {JSTOR},
  url          = {https://www.ntanet.org/wp-content/uploads/proceedings/2017/NTA2017-253.pdf}
}

@techreport{goldstein2017evaluating,
  title       = {Evaluating how child allowances and daycare subsidies affect fertility},
  author      = {Goldstein, Joshua R and Koulovatianos, Christos and Li, Jian and Schr{\"o}der, Carsten},
  year        = {2017},
  institution = {CFS Working Paper Series},
  url         = {https://www.econstor.eu/bitstream/10419/155334/1/880726970.pdf}
}

@article{riphahn2017fertility,
  title     = {Fertility effects of child benefits},
  author    = {Riphahn, Regina T and Wiynck, Frederik},
  journal   = {Journal of Population Economics},
  volume    = {30},
  number    = {4},
  pages     = {1135--1184},
  year      = {2017},
  publisher = {Springer},
  url       = {https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2941614}
}

@article{apps2020alternatives,
  title     = {Alternatives to Paying Child Benefit to the Rich: Means Testing or Higher Tax?},
  author    = {Apps, Patricia and Rees, Ray and Thoresen, Thor Olav and Vatt{\o}, Trine Engh},
  year      = {2020},
  publisher = {CESifo Working Paper}
}

@article{milligan2011child,
  title   = {Do child tax benefits affect the well-being of children? Evidence from Canadian child benefit expansions},
  author  = {Milligan, Kevin and Stabile, Mark},
  journal = {American Economic Journal: Economic Policy},
  volume  = {3},
  number  = {3},
  pages   = {175--205},
  year    = {2011}
}

@article{cooper2017does,
  title     = {Does money affect children’s outcomes? An update},
  author    = {Cooper, Kerris and Stewart, Kitty},
  year      = {2017},
  publisher = {Centre for Analysis of Social Exclusion, The London School of Economics and~…},
  journal   = {CASEpapers}
}

@article{flegal2005excess,
  title     = {Excess deaths associated with underweight, overweight, and obesity},
  author    = {Flegal, Katherine M and Graubard, Barry I and Williamson, David F and Gail, Mitchell H},
  journal   = {Jama},
  volume    = {293},
  number    = {15},
  pages     = {1861--1867},
  year      = {2005},
  publisher = {American Medical Association}
}

@incollection{deaton2001mortality,
  title     = {Mortality, education, income, and inequality among American cohorts},
  author    = {Deaton, Angus S and Paxson, Christina},
  booktitle = {Themes in the Economics of Aging},
  pages     = {129--170},
  year      = {2001},
  publisher = {University of Chicago Press}
}

@techreport{cutler2006education,
  title       = {Education and health: evaluating theories and evidence},
  author      = {Cutler, David M and Lleras-Muney, Adriana},
  year        = {2006},
  institution = {National bureau of economic research}
}

@misc{stone2018,
  author = {Stone, Lyman},
  title  = {American Women Are Having Fewer Children Than They’d Like - The New York Times},
  url    = {https://www.nytimes.com/2018/02/13/upshot/american-fertility-is-falling-short-of-what-women-want.html},
  year   = {2018},
  note   = {(Accessed on 12/13/2020)}
}


text:
SECTION = "kernel"
require opensimpad_${PV}.bb

SIMPAD_MEM = "64"
SIMPAD_RD = "0"


text:
@inproceedings{las05workflowrepo,
 acmid = {1106017},
 address = {Papeete, Tahiti, French Polynesia},
 author = {von Laszewski, Gregor and Deepti Kodeboyina},
 booktitle = {Proceedings of the Joint International Conference on Autonomic and Autonomous Systems and International Conference on Networking and Services},
 day = {23-28~},
 isbn = {0-7695-2450-8},
 month = {October},
 note = {http://dl.acm.org/citation.cfm?id=1105923.1106017},
 oldlabels = {las05workflowrepository},
 pages = {84--},
 publisher = {IEEE Computer Society, Washington, DC, USA},
 series = {ICAS-ICNS '05},
 title = {A Repository Service for Grid Workflow Components},
 url = {https://laszewski.github.io/papers/vonLaszewski-workflow-repository.pdf},
 year = {2005}
}


text:
set(FORCE_ALL_COMPONENTS OFF CACHE BOOL "Fails cmake if not all dependencies are found")

################################################################################
# jemalloc
################################################################################

if(USE_JEMALLOC)
  find_package(jemalloc 5.3.0 REQUIRED)
endif()

################################################################################
# Valgrind
################################################################################

if(USE_VALGRIND)
  find_package(Valgrind REQUIRED)
endif()

################################################################################
# SSL
################################################################################

set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
# Statically link OpenSSL to FDB, see
#    https://cmake.org/cmake/help/v3.24/module/FindOpenSSL.html
# Without the flags, OpenSSL is dynamically linked.
set(OPENSSL_USE_STATIC_LIBS TRUE)
if (WIN32)
  set(OPENSSL_MSVC_STATIC_RT ON)
endif()
find_package(OpenSSL REQUIRED)
add_compile_options(-DHAVE_OPENSSL)

################################################################################
# Swift Support
################################################################################

if (WITH_SWIFT)
  message(DEBUG "Building with Swift")
  add_definitions(-DWITH_SWIFT)
  set(WITH_SWIFT ON)
else()
  message(DEBUG "Not building with Swift")
  set(WITH_SWIFT OFF)
endif()

################################################################################
# Python Bindings
################################################################################

find_package(Python3 COMPONENTS Interpreter)
if(Python3_Interpreter_FOUND)
  set(WITH_PYTHON ON)
else()
  message(WARNING "Could not found a suitable python interpreter")
  set(WITH_PYTHON OFF)
endif()

option(BUILD_PYTHON_BINDING "build python binding" ON)
if(NOT BUILD_PYTHON_BINDING OR NOT WITH_PYTHON)
  set(WITH_PYTHON_BINDING OFF)
else()
  if(WITH_PYTHON)
    set(WITH_PYTHON_BINDING ON)
  else()
    message(WARNING "Python binding depends on Python, but a python interpreter is not found")
    set(WITH_PYTHON_BINDING OFF)
  endif()
endif()

################################################################################
# C Bindings
################################################################################

option(BUILD_C_BINDING "build C binding" ON)
if(BUILD_C_BINDING AND NOT WITH_PYTHON)
    message(WARNING "C binding depends on Python, but a python interpreter is not found")
endif()
if(BUILD_C_BINDING AND WITH_PYTHON)
  set(WITH_C_BINDING ON)
else()
  set(WITH_C_BINDING OFF)
endif()

################################################################################
# Java Bindings
################################################################################

option(BUILD_JAVA_BINDING "build java binding" ON)
if(BUILD_JAVA_BINDING AND NOT WITH_C_BINDING)
  message(WARNING "Java binding depends on C binding, but C binding is not enabled")
endif()
if(NOT BUILD_JAVA_BINDING OR NOT WITH_C_BINDING)
  set(WITH_JAVA_BINDING OFF)
else()
  set(WITH_JAVA_BINDING OFF)
  find_package(JNI 1.8)
  find_package(Java 1.8 COMPONENTS Development)
  # leave FreeBSD JVM compat for later
  if(JNI_FOUND AND Java_FOUND AND Java_Development_FOUND AND NOT (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") AND WITH_C_BINDING)
    set(WITH_JAVA_BINDING ON)
    include(UseJava)
    enable_language(Java)
  else()
    set(WITH_JAVA_BINDING OFF)
  endif()
endif()

################################################################################
# Pip
################################################################################

option(BUILD_DOCUMENTATION "build documentation" ON)
find_package(Python3 COMPONENTS Interpreter)
if (WITH_PYTHON AND Python3_Interpreter_FOUND AND BUILD_DOCUMENTATION)
  set(WITH_DOCUMENTATION ON)
else()
  set(WITH_DOCUMENTATION OFF)
endif()

################################################################################
# GO
################################################################################

option(BUILD_GO_BINDING "build go binding" ON)
if(BUILD_GO_BINDING AND NOT WITH_C_BINDING)
  message(WARNING "Go binding depends on C binding, but C binding is not enabled")
endif()
if(NOT BUILD_GO_BINDING OR NOT BUILD_C_BINDING)
  set(WITH_GO_BINDING OFF)
else()
  find_program(GO_EXECUTABLE go HINTS /usr/local/go/bin/)
  # building the go binaries is currently not supported on Windows
  if(GO_EXECUTABLE AND NOT WIN32 AND WITH_C_BINDING)
    set(WITH_GO_BINDING ON)
  else()
    set(WITH_GO_BINDING OFF)
  endif()
  if (USE_SANITIZER)
    # Disable building go for sanitizers, since _stacktester doesn't link properly
    set(WITH_GO_BINDING OFF)
  endif()
endif()

################################################################################
# Ruby
################################################################################

option(BUILD_RUBY_BINDING "build ruby binding" ON)
if(BUILD_RUBY_BINDING AND NOT WITH_C_BINDING)
  message(WARNING "Ruby binding depends on C binding, but C binding is not enabled")
endif()
if(NOT BUILD_RUBY_BINDING OR NOT BUILD_C_BINDING)
  set(WITH_RUBY_BINDING OFF)
else()
  find_program(GEM_EXECUTABLE gem)
  set(WITH_RUBY_BINDING OFF)
  if(GEM_EXECUTABLE AND WITH_C_BINDING)
    set(GEM_COMMAND ${RUBY_EXECUTABLE} ${GEM_EXECUTABLE})
    set(WITH_RUBY_BINDING ON)
  endif()
endif()

################################################################################
# RocksDB
################################################################################

set(WITH_ROCKSDB ON CACHE BOOL "Build with experimental RocksDB support")
set(PORTABLE_ROCKSDB ON CACHE BOOL "Compile RocksDB in portable mode") # Set this to OFF to compile RocksDB with `-march=native`
set(ROCKSDB_SSE42 OFF CACHE BOOL "Compile RocksDB with SSE42 enabled")
set(ROCKSDB_AVX ${USE_AVX} CACHE BOOL "Compile RocksDB with AVX enabled")
set(ROCKSDB_AVX2 OFF CACHE BOOL "Compile RocksDB with AVX2 enabled")
set(ROCKSDB_TOOLS OFF CACHE BOOL "Compile RocksDB tools")
set(WITH_LIBURING OFF CACHE BOOL "Build with liburing enabled") # Set this to ON to include liburing

################################################################################
# TOML11
################################################################################

# TOML can download and install itself into the binary directory, so it should
# always be available.
find_package(toml11 QUIET)
if(toml11_FOUND)
  add_library(toml11_target INTERFACE)
  target_link_libraries(toml11_target INTERFACE toml11::toml11)
else()
  include(ExternalProject)
  ExternalProject_add(toml11Project
    URL "https://github.com/ToruNiina/toml11/archive/v3.4.0.tar.gz"
    URL_HASH SHA256=bc6d733efd9216af8c119d8ac64a805578c79cc82b813e4d1d880ca128bd154d
    CMAKE_CACHE_ARGS
      -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
      -DCMAKE_C_COMPILER:FILEPATH=${CMAKE_C_COMPILER}
      -DCMAKE_CXX_COMPILER:FILEPATH=${CMAKE_CXX_COMPILER}
      -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/toml11
      -Dtoml11_BUILD_TEST:BOOL=OFF
    BUILD_ALWAYS ON)
  add_library(toml11_target INTERFACE)
  add_dependencies(toml11_target toml11Project)
  target_include_directories(toml11_target SYSTEM INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/toml11/include)
endif()

################################################################################
# Coroutine implementation
################################################################################

set(DEFAULT_COROUTINE_IMPL boost)
if(WIN32)
  # boost coroutine not available in windows build environment for now.
  set(DEFAULT_COROUTINE_IMPL libcoro)
elseif(NOT APPLE AND NOT USE_ASAN AND CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "^x86")
  # revert to libcoro for x86 linux while we investigate a performance regression
  set(DEFAULT_COROUTINE_IMPL libcoro)
endif()

set(COROUTINE_IMPL ${DEFAULT_COROUTINE_IMPL} CACHE STRING "Which coroutine implementation to use. Options are boost and libcoro")

################################################################################
# AWS SDK
################################################################################

set(BUILD_AWS_BACKUP OFF CACHE BOOL "Build AWS S3 SDK backup client")
if (BUILD_AWS_BACKUP)
  set(WITH_AWS_BACKUP ON)
else()
  set(WITH_AWS_BACKUP OFF)
endif()

################################################################################

file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/packages)
add_custom_target(packages)

function(print_components)
  message(STATUS "=========================================")
  message(STATUS "   Components Build Overview ")
  message(STATUS "=========================================")
  message(STATUS "Build Bindings (depends on Python):   ${WITH_PYTHON}")
  message(STATUS "Build C Bindings:                     ${WITH_C_BINDING}")
  message(STATUS "Build Python Bindings:                ${WITH_PYTHON_BINDING}")
  message(STATUS "Build Java Bindings:                  ${WITH_JAVA_BINDING}")
  message(STATUS "Build Go bindings:                    ${WITH_GO_BINDING}")
  message(STATUS "Build Ruby bindings:                  ${WITH_RUBY_BINDING}")
  message(STATUS "Build Swift (depends on Swift):       ${WITH_SWIFT}")
  message(STATUS "Build Documentation (make html):      ${WITH_DOCUMENTATION}")
  message(STATUS "Build Python sdist (make package):    ${WITH_PYTHON_BINDING}")
  message(STATUS "Configure CTest (depends on Python):  ${WITH_PYTHON}")
  message(STATUS "Build with RocksDB:                   ${WITH_ROCKSDB}")
  message(STATUS "Build with AWS SDK:                   ${WITH_AWS_BACKUP}")
  message(STATUS "=========================================")
endfunction()

if(FORCE_ALL_COMPONENTS)
  if(NOT WITH_C_BINDING OR NOT WITH_JAVA_BINDING OR NOT WITH_GO_BINDING OR NOT WITH_RUBY_BINDING OR NOT WITH_PYTHON_BINDING OR NOT WITH_DOCUMENTATION)
    print_components()
    message(FATAL_ERROR "FORCE_ALL_COMPONENTS is set but not all dependencies could be found")
  endif()
endif()

repository: apple/foundationdb

repo_name: apple/foundationdb

extension: cmake