E: Package 'iproute' has no installation candidate

When excuting the command mininet/utils/install.sh, it occurs that E: Package 'iproute' has no installation candidate.

Enviroment:

Ubuntu 18.04LTS
mininet 2.2.2

Oops!!! I solved it!!! Ubuntu 18.04, you must replace iproute in mininet/util/installl.sh by iproute2.

@ChannithAm I just use the master branch to install, it can run normally.

@ChannithAm  can help me to remove the error: package 'iproute' has no installation candidate.
while setting up the SDN Test-bed when I run this command mininet/util/install.sh -n
I have got this error E: Package 'iproute' has no installation candidate can anyone help me to fix this as I cannot proceed further. I am working on Ubuntu 18.04LTS

Hey, did you do the same as I do? " Ubuntu 18.04, you must replace iproute in mininet/util/installl.sh by iproute2" Or you just use the master branch to install. Good luck! Best Regards, Am Channith
…
-- ---------------------------------------------- Mr Channith Address : No 23, Ta Quang Buu Street, Ha Ba Trung Dist, Ha Noi, Vietnam Mobile: +8416 .4249.5664 Skype<EMAIL_ADDRESS>On Fri, Sep 14, 2018 at 3:39 PM Ayesha2788 @.***> wrote: @ChannithAm https://github.com/ChannithAm can help me to remove the error: package 'iproute' has no installation candidate. while setting up the SDN Test-bed when I run this command mininet/util/install.sh -n I have got this error E: Package 'iproute' has no installation candidate can anyone help me to fix this as I cannot proceed further. I am working on Ubuntu 18.04LTS — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#812 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/APb2PzAzBszJU5d-BpG1IYPa1co8dwgyks5ua2s4gaJpZM4U8YYm .

Hi
I did the same as you did and now it is working perfectly... great job. thank you so much for sharing here.

@ChannithAm
Hi
I did the same as you did and now it is working perfectly... great job. thank you so much for sharing here.

RUN IPERF TCP Client in h1
When I run this to h1
perf -c <IP_ADDRESS> -i 10 -t 30
it give this error
connect failed: No route to host,

Suppose you created 4 host, a single switch:
$ sudo mn --topo single,4
then run iperf to  test TCP traffic bandwidth, so
$ iperf h1 h4
mininet> iperf h1 h2
*** Iperf: testing TCP bandwidth between h1 and h2
.*** Results: ['23.9 Gbits/sec', '23.9 Gbits/sec']
anyway if you launch 2 xterm, one is client and another one is server.

For server:
$ iperf -s
For client:
$ iperf -c <IP_ADDRESS> # which <IP_ADDRESS> is an h4 's IP (server).

So for your work, you make sure that your network has connected to controller, your IP setup is right!!
Best regards!

Writing custom Tapology in Mininet, sudo python example1.py I get this error `python: can’t open file ‘example1.py’ : [Errorno 2 ] No such file or directory
can anyone guide me where I am doing mistake

Where did you save 'example1.py' file?

For example,

$ cd  # so here we'll create a file in home directory, or anywhere else you wish
$ vim example1.py
$ # run your code
$ sudo python example1.py

Where did you save 'example1.py' file?
* For example,

  * $ cd  # so here we'll create a file in home directory, or anywhere else you wish
  * $ vim example1.py
  * $ # run your code
  * $ sudo python example1.py

Thanks its working now

when I run ~/learn-sdn-with-ryu/ryu-exercises$ ryu-manager ex1_simple_switch_13.py
It gives this error
ImportError: No module named ex1_simple_switch_13.py
can anyone help with this

Not able to run ryu-manager ryu.app.simple_switch_13
Error: Already in use

Not able to run ryu-manager ryu.app.simple_switch_13
Error: Already in use

I am not able to install Spyder on Ubuntu 18.04
when I run the command
sudo pip install spyder
it gives this error
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

on pycharm when I run the code
` #!/usr/bin/env python
-- coding: UTF-8 --
from keras.datasets import mnist
from keras.models import Sequential
from keras.layers.core import Dense, Activation
from keras.utils import np_utils
Get the default MNIST data
(X_train, y_train), (X_test, y_test) = mnist.load_data()
X_train = X_train.reshape(60000, 784) / 255
X_test = X_test.reshape(10000, 784) / 255
y_train = np_utils.to_categorical(y_train)
y_test = np_utils.to_categorical(y_test)
Network
model = Sequential([
Dense(512, input_shape=(784,)),
Activation('sigmoid'),
Dense(10),
Activation('softmax')
])
Compile
model.compile(loss='categorical_crossentropy', optimizer='sgd', metrics=['accuracy'])
Learning
model.fit(X_train, y_train, batch_size=200, verbose=1, epochs=20, validation_split=0.1)
Forecast
score = model.evaluate(X_test, y_test, verbose=1)
print('test accuracy : ', score[1]) `
I get this error
line 4, in <module>     from keras.datasets import mnist ModuleNotFoundError: No module named 'keras'

Hi,
Can anyone give an example of mesh topology with RYU Controller ?????

Hi,
Can anyone give an example of mesh topology with RYU Controller ?????

@Ayesha2788 You can search in Google.

This is the fixed install.sh script for the master branch

# Mininet install script for Ubuntu (and Debian Wheezy+)
# Brandon Heller<EMAIL_ADDRESS>
# Fail on error
set -e

# Fail on unset var usage
set -o nounset

# Get directory containing mininet folder
MININET_DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd -P )"

# Set up build directory, which by default is the working directory
#  unless the working directory is a subdirectory of mininet,
#  in which case we use the directory containing mininet
BUILD_DIR="$(pwd -P)"
case $BUILD_DIR in
  $MININET_DIR/*) BUILD_DIR=$MININET_DIR;; # currect directory is a subdirectory
  *) BUILD_DIR=$BUILD_DIR;;
esac

# Location of CONFIG_NET_NS-enabled kernel(s)
KERNEL_LOC=http://www.openflow.org/downloads/mininet

# Attempt to identify Linux release

DIST=Unknown
RELEASE=Unknown
CODENAME=Unknown
ARCH=`uname -m`
if [ "$ARCH" = "x86_64" ]; then ARCH="amd64"; fi
if [ "$ARCH" = "i686" ]; then ARCH="i386"; fi

test -e /etc/debian_version && DIST="Debian"
grep Ubuntu /etc/lsb-release &> /dev/null && DIST="Ubuntu"
if [ "$DIST" = "Ubuntu" ] || [ "$DIST" = "Debian" ]; then
    # Truly non-interactive apt-get installation
    install='sudo DEBIAN_FRONTEND=noninteractive apt-get -y -q install'
    remove='sudo DEBIAN_FRONTEND=noninteractive apt-get -y -q remove'
    pkginst='sudo dpkg -i'
    # Prereqs for this script
    if ! which lsb_release &> /dev/null; then
        $install lsb-release
    fi
fi
test -e /etc/fedora-release && DIST="Fedora"
test -e /etc/redhat-release && DIST="RedHatEnterpriseServer"
if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then
    install='sudo yum -y install'
    remove='sudo yum -y erase'
    pkginst='sudo rpm -ivh'
    # Prereqs for this script
    if ! which lsb_release &> /dev/null; then
        $install redhat-lsb-core
    fi
fi
if which lsb_release &> /dev/null; then
    DIST=`lsb_release -is`
    RELEASE=`lsb_release -rs`
    CODENAME=`lsb_release -cs`
fi
echo "Detected Linux distribution: $DIST $RELEASE $CODENAME $ARCH"

# Kernel params

KERNEL_NAME=`uname -r`
KERNEL_HEADERS=kernel-headers-${KERNEL_NAME}

if ! echo $DIST | egrep 'Ubuntu|Debian|Fedora|RedHatEnterpriseServer'; then
    echo "Install.sh currently only supports Ubuntu, Debian, RedHat and Fedora."
    exit 1
fi

# More distribution info
DIST_LC=`echo $DIST | tr [A-Z] [a-z]` # as lower case

# Determine whether version $1 >= version $2
# usage: if version_ge 1.20 1.2.3; then echo "true!"; fi
function version_ge {
    # sort -V sorts by *version number*
    latest=`printf "$1\n$2" | sort -V | tail -1`
    # If $1 is latest version, then $1 >= $2
    [ "$1" == "$latest" ]
}

# Kernel Deb pkg to be removed:
KERNEL_IMAGE_OLD=linux-image-2.6.26-33-generic

DRIVERS_DIR=/lib/modules/${KERNEL_NAME}/kernel/drivers/net

OVS_RELEASE=1.4.0
OVS_PACKAGE_LOC=https://github.com/downloads/mininet/mininet
OVS_BUILDSUFFIX=-ignore # was -2
OVS_PACKAGE_NAME=ovs-$OVS_RELEASE-core-$DIST_LC-$RELEASE-$ARCH$OVS_BUILDSUFFIX.tar
OVS_TAG=v$OVS_RELEASE

OF13_SWITCH_REV=${OF13_SWITCH_REV:-""}

function kernel {
    echo "Install Mininet-compatible kernel if necessary"
    sudo apt-get update
    if ! $install linux-image-$KERNEL_NAME; then
        echo "Could not install linux-image-$KERNEL_NAME"
        echo "Skipping - assuming installed kernel is OK."
    fi
}

function kernel_clean {
    echo "Cleaning kernel..."

    # To save disk space, remove previous kernel
    if ! $remove $KERNEL_IMAGE_OLD; then
        echo $KERNEL_IMAGE_OLD not installed.
    fi

    # Also remove downloaded packages:
    rm -f $HOME/linux-headers-* $HOME/linux-image-*
}

# Install Mininet deps
function mn_deps {
    echo "Installing Mininet dependencies"
    if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then
        $install gcc make socat psmisc xterm openssh-clients iperf \
            iproute2 telnet python-setuptools libcgroup-tools \
            ethtool help2man pyflakes pylint python-pep8 python-pexpect
    else
        $install gcc make socat psmisc xterm ssh iperf iproute2 telnet \
            python-setuptools cgroup-bin ethtool help2man \
            pyflakes pylint pep8 python-pexpect
    fi

    echo "Installing Mininet core"
    pushd $MININET_DIR/mininet
    sudo make install
    popd
}

# Install Mininet developer dependencies
function mn_dev {
    echo "Installing Mininet developer dependencies"
    $install doxygen doxypy texlive-fonts-recommended
    if ! $install doxygen-latex; then
        echo "doxygen-latex not needed"
    fi
}

# The following will cause a full OF install, covering:
# -user switch
# The instructions below are an abbreviated version from
# http://www.openflowswitch.org/wk/index.php/Debian_Install
function of {
    echo "Installing OpenFlow reference implementation..."
    cd $BUILD_DIR
    $install autoconf automake libtool make gcc
    if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then
        $install git pkgconfig glibc-devel
    else
        $install git-core autotools-dev pkg-config libc6-dev
    fi
    # was: git clone git://openflowswitch.org/openflow.git
    # Use our own fork on github for now:
    git clone git://github.com/mininet/openflow
    cd $BUILD_DIR/openflow

    # Patch controller to handle more than 16 switches
    patch -p1 < $MININET_DIR/mininet/util/openflow-patches/controller.patch

    # Resume the install:
    ./boot.sh
    ./configure
    make
    sudo make install
    cd $BUILD_DIR
}

function of13 {
    echo "Installing OpenFlow 1.3 soft switch implementation..."
    cd $BUILD_DIR/
    $install  git-core autoconf automake autotools-dev pkg-config \
        make gcc g++ libtool libc6-dev cmake libpcap-dev libxerces-c2-dev  \
        unzip libpcre3-dev flex bison libboost-dev

    if [ ! -d "ofsoftswitch13" ]; then
        git clone https://github.com/CPqD/ofsoftswitch13.git
        if [[ -n "$OF13_SWITCH_REV" ]]; then
            cd ofsoftswitch13
            git checkout ${OF13_SWITCH_REV}
            cd ..
        fi
    fi

    # Install netbee
    if [ "$DIST" = "Ubuntu" ] && version_ge $RELEASE 14.04; then
        NBEESRC="nbeesrc-feb-24-2015"
        NBEEDIR="netbee"
    else
        NBEESRC="nbeesrc-jan-10-2013"
        NBEEDIR="nbeesrc-jan-10-2013"
    fi

    NBEEURL=${NBEEURL:-http://www.nbee.org/download/}
    wget -nc ${NBEEURL}${NBEESRC}.zip
    unzip ${NBEESRC}.zip
    cd ${NBEEDIR}/src
    cmake .
    make
    cd $BUILD_DIR/
    sudo cp ${NBEEDIR}/bin/libn*.so /usr/local/lib
    sudo ldconfig
    sudo cp -R ${NBEEDIR}/include/ /usr/

    # Resume the install:
    cd $BUILD_DIR/ofsoftswitch13
    ./boot.sh
    ./configure
    make
    sudo make install
    cd $BUILD_DIR
}

function install_wireshark {
    if ! which wireshark; then
        echo "Installing Wireshark"
        if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then
            $install wireshark wireshark-gnome
        else
            $install wireshark tshark
        fi
    fi

    # Copy coloring rules: OF is white-on-blue:
    echo "Optionally installing wireshark color filters"
    mkdir -p $HOME/.wireshark
    cp -n $MININET_DIR/mininet/util/colorfilters $HOME/.wireshark

    echo "Checking Wireshark version"
    WSVER=`wireshark -v | egrep -o '[0-9\.]+' | head -1`
    if version_ge $WSVER 1.12; then
        echo "Wireshark version $WSVER >= 1.12 - returning"
        return
    fi

    echo "Cloning LoxiGen and building openflow.lua dissector"
    cd $BUILD_DIR
    git clone https://github.com/floodlight/loxigen.git
    cd loxigen
    make wireshark

    # Copy into plugin directory
    # libwireshark0/ on 11.04; libwireshark1/ on later
    WSDIR=`find /usr/lib -type d -name 'libwireshark*' | head -1`
    WSPLUGDIR=$WSDIR/plugins/
    PLUGIN=loxi_output/wireshark/openflow.lua
    sudo cp $PLUGIN $WSPLUGDIR
    echo "Copied openflow plugin $PLUGIN to $WSPLUGDIR"

    cd $BUILD_DIR
}

# Install Open vSwitch specific version Ubuntu package
function ubuntuOvs {
    echo "Creating and Installing Open vSwitch packages..."

    OVS_SRC=$BUILD_DIR/openvswitch
    OVS_TARBALL_LOC=http://openvswitch.org/releases

    if ! echo "$DIST" | egrep "Ubuntu|Debian" > /dev/null; then
        echo "OS must be Ubuntu or Debian"
        $cd BUILD_DIR
        return
    fi
    if [ "$DIST" = "Ubuntu" ] && ! version_ge $RELEASE 12.04; then
        echo "Ubuntu version must be >= 12.04"
        cd $BUILD_DIR
        return
    fi
    if [ "$DIST" = "Debian" ] && ! version_ge $RELEASE 7.0; then
        echo "Debian version must be >= 7.0"
        cd $BUILD_DIR
        return
    fi

    rm -rf $OVS_SRC
    mkdir -p $OVS_SRC
    cd $OVS_SRC

    if wget $OVS_TARBALL_LOC/openvswitch-$OVS_RELEASE.tar.gz 2> /dev/null; then
        tar xzf openvswitch-$OVS_RELEASE.tar.gz
    else
        echo "Failed to find OVS at $OVS_TARBALL_LOC/openvswitch-$OVS_RELEASE.tar.gz"
        cd $BUILD_DIR
        return
    fi

    # Remove any old packages

    $remove openvswitch-common openvswitch-datapath-dkms openvswitch-pki openvswitch-switch \
            openvswitch-controller || true

    # Get build deps
    $install build-essential fakeroot debhelper autoconf automake libssl-dev \
             pkg-config bzip2 openssl python-all procps python-qt4 \
             python-zopeinterface python-twisted-conch dkms dh-python dh-autoreconf \
             uuid-runtime

    # Build OVS
    parallel=`grep processor /proc/cpuinfo | wc -l`
    cd $BUILD_DIR/openvswitch/openvswitch-$OVS_RELEASE
            DEB_BUILD_OPTIONS='parallel=$parallel nocheck' fakeroot debian/rules binary
    cd ..
    for pkg in common datapath-dkms pki switch; do
        pkg=openvswitch-${pkg}_$OVS_RELEASE*.deb
        echo "Installing $pkg"
        $pkginst $pkg
    done
    if $pkginst openvswitch-controller_$OVS_RELEASE*.deb 2>/dev/null; then
        echo "Ignoring error installing openvswitch-controller"
    fi

    /sbin/modinfo openvswitch
    sudo ovs-vsctl show
    # Switch can run on its own, but
    # Mininet should control the controller
    # This appears to only be an issue on Ubuntu/Debian
    if sudo service openvswitch-controller stop 2>/dev/null; then
        echo "Stopped running controller"
    fi
    if [ -e /etc/init.d/openvswitch-controller ]; then
        sudo update-rc.d openvswitch-controller disable
    fi
}

# Install Open vSwitch

function ovs {
    echo "Installing Open vSwitch..."

    if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then
        $install openvswitch openvswitch-controller
        return
    fi

    if [ "$DIST" = "Ubuntu" ] && ! version_ge $RELEASE 14.04; then
        # Older Ubuntu versions need openvswitch-datapath/-dkms
        # Manually installing openvswitch-datapath may be necessary
        # for manually built kernel .debs using Debian's defective kernel
        # packaging, which doesn't yield usable headers.
        if ! dpkg --get-selections | grep openvswitch-datapath; then
            # If you've already installed a datapath, assume you
            # know what you're doing and don't need dkms datapath.
            # Otherwise, install it.
            $install openvswitch-datapath-dkms
        fi
    fi

    $install openvswitch-switch
    OVSC=""
    if $install openvswitch-controller; then
        OVSC="openvswitch-controller"
    else
        echo "Attempting to install openvswitch-testcontroller"
        if $install openvswitch-testcontroller; then
            OVSC="openvswitch-testcontroller"
        else
            echo "Failed - skipping openvswitch-testcontroller"
        fi
    fi
    if [ "$OVSC" ]; then
        # Switch can run on its own, but
        # Mininet should control the controller
        # This appears to only be an issue on Ubuntu/Debian
        if sudo service $OVSC stop; then
            echo "Stopped running controller"
        fi
        if [ -e /etc/init.d/$OVSC ]; then
            sudo update-rc.d $OVSC disable
        fi
    fi
}

function remove_ovs {
    pkgs=`dpkg --get-selections | grep openvswitch | awk '{ print $1;}'`
    echo "Removing existing Open vSwitch packages:"
    echo $pkgs
    if ! $remove $pkgs; then
        echo "Not all packages removed correctly"
    fi
    # For some reason this doesn't happen
    if scripts=`ls /etc/init.d/*openvswitch* 2>/dev/null`; then
        echo $scripts
        for s in $scripts; do
            s=$(basename $s)
            echo SCRIPT $s
            sudo service $s stop
            sudo rm -f /etc/init.d/$s
            sudo update-rc.d -f $s remove
        done
    fi
    echo "Done removing OVS"
}

function ivs {
    echo "Installing Indigo Virtual Switch..."

    IVS_SRC=$BUILD_DIR/ivs

    # Install dependencies
    $install git pkg-config gcc make libnl-3-dev libnl-route-3-dev libnl-genl-3-dev

    # Install IVS from source
    cd $BUILD_DIR
    git clone git://github.com/floodlight/ivs $IVS_SRC --recursive
    cd $IVS_SRC
    make
    sudo make install
}

# Install RYU
function ryu {
    echo "Installing RYU..."

    # install Ryu dependencies"
    $install autoconf automake g++ libtool python make
    if [ "$DIST" = "Ubuntu" -o "$DIST" = "Debian" ]; then
        $install libxml2 libxslt-dev python-pip python-dev
        sudo pip install --upgrade gevent pbr webob routes paramiko \\
            oslo.config
    fi

    # if needed, update python-six
    SIX_VER=`pip show six | grep Version | awk '{print $2}'`
    if version_ge 1.7.0 $SIX_VER; then
        echo "Installing python-six version 1.7.0..."
        sudo pip install -I six==1.7.0
    fi
    # fetch RYU
    cd $BUILD_DIR/
    git clone git://github.com/osrg/ryu.git ryu
    cd ryu

    # install ryu
    sudo python ./setup.py install

    # Add symbolic link to /usr/bin
    sudo ln -s ./bin/ryu-manager /usr/local/bin/ryu-manager
}

# Install NOX with tutorial files
function nox {
    echo "Installing NOX w/tutorial files..."

    # Install NOX deps:
    $install autoconf automake g++ libtool python python-twisted \
		swig libssl-dev make
    if [ "$DIST" = "Debian" ]; then
        $install libboost1.35-dev
    elif [ "$DIST" = "Ubuntu" ]; then
        $install python-dev libboost-dev
        $install libboost-filesystem-dev
        $install libboost-test-dev
    fi
    # Install NOX optional deps:
    $install libsqlite3-dev python-simplejson

    # Fetch NOX destiny
    cd $BUILD_DIR/
    git clone https://github.com/noxrepo/nox-classic.git noxcore
    cd noxcore
    if ! git checkout -b destiny remotes/origin/destiny ; then
        echo "Did not check out a new destiny branch - assuming current branch is destiny"
    fi

    # Apply patches
    git checkout -b tutorial-destiny
    git am $MININET_DIR/mininet/util/nox-patches/*tutorial-port-nox-destiny*.patch
    if [ "$DIST" = "Ubuntu" ] && version_ge $RELEASE 12.04; then
        git am $MININET_DIR/mininet/util/nox-patches/*nox-ubuntu12-hacks.patch
    fi

    # Build
    ./boot.sh
    mkdir build
    cd build
    ../configure
    make -j3
    #make check

    # Add NOX_CORE_DIR env var:
    sed -i -e 's|# for examples$|&\nexport NOX_CORE_DIR=$BUILD_DIR/noxcore/build/src|' ~/.bashrc

    # To verify this install:
    #cd ~/noxcore/build/src
    #./nox_core -v -i ptcp:
}

# Install NOX Classic/Zaku for OpenFlow 1.3
function nox13 {
    echo "Installing NOX w/tutorial files..."

    # Install NOX deps:
    $install autoconf automake g++ libtool python python-twisted \
        swig libssl-dev make
    if [ "$DIST" = "Debian" ]; then
        $install libboost1.35-dev
    elif [ "$DIST" = "Ubuntu" ]; then
        $install python-dev libboost-dev
        $install libboost-filesystem-dev
        $install libboost-test-dev
    fi

    # Fetch NOX destiny
    cd $BUILD_DIR/
    git clone https://github.com/CPqD/nox13oflib.git
    cd nox13oflib

    # Build
    ./boot.sh
    mkdir build
    cd build
    ../configure
    make -j3
    #make check

    # To verify this install:
    #cd ~/nox13oflib/build/src
    #./nox_core -v -i ptcp:
}

# "Install" POX
function pox {
    echo "Installing POX into $BUILD_DIR/pox..."
    cd $BUILD_DIR
    git clone https://github.com/noxrepo/pox.git
}

# Install OFtest
function oftest {
    echo "Installing oftest..."

    # Install deps:
    $install tcpdump python-scapy

    # Install oftest:
    cd $BUILD_DIR/
    git clone git://github.com/floodlight/oftest
}

# Install cbench
function cbench {
    echo "Installing cbench..."

    if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then
        $install net-snmp-devel libpcap-devel libconfig-devel
    else
        $install libsnmp-dev libpcap-dev libconfig-dev
    fi
    cd $BUILD_DIR/
    # was:  git clone git://gitosis.stanford.edu/oflops.git
    # Use our own fork on github for now:
    git clone git://github.com/mininet/oflops
    cd oflops
    sh boot.sh || true # possible error in autoreconf, so run twice
    sh boot.sh
    ./configure --with-openflow-src-dir=$BUILD_DIR/openflow
    make
    sudo make install || true # make install fails; force past this
}

function vm_other {
    echo "Doing other Mininet VM setup tasks..."

    # Remove avahi-daemon, which may cause unwanted discovery packets to be
    # sent during tests, near link status changes:
    echo "Removing avahi-daemon"
    $remove avahi-daemon

    # was: Disable IPv6.  Add to /etc/modprobe.d/blacklist:
    #echo "Attempting to disable IPv6"
    #if [ "$DIST" = "Ubuntu" ]; then
    #    BLACKLIST=/etc/modprobe.d/blacklist.conf
    #else
    #    BLACKLIST=/etc/modprobe.d/blacklist
    #fi
    #sudo sh -c "echo 'blacklist net-pf-10\nblacklist ipv6' >> $BLACKLIST"
    echo "Disabling IPv6"
    # Disable IPv6
    if ! grep 'disable_ipv6' /etc/sysctl.conf; then
        echo 'Disabling IPv6'
        echo '
# Mininet: disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1' | sudo tee -a /etc/sysctl.conf > /dev/null
    fi
    # Since the above doesn't disable neighbor discovery, also do this:
    if ! grep 'ipv6.disable' /etc/default/grub; then
        sudo sed -i -e \
        's/GRUB_CMDLINE_LINUX_DEFAULT="/GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 /' \
        /etc/default/grub
        sudo update-grub
    fi
    # Disabling IPv6 breaks X11 forwarding via ssh
    line='AddressFamily inet'
    file='/etc/ssh/sshd_config'
    echo "Adding $line to $file"
    if ! grep "$line" $file > /dev/null; then
        echo "$line" | sudo tee -a $file > /dev/null
    fi

    # Enable command auto completion using sudo; modify ~/.bashrc:
    sed -i -e 's|# for examples$|&\ncomplete -cf sudo|' ~/.bashrc

    # Install tcpdump, cmd-line packet dump tool.  Also install gitk,
    # a graphical git history viewer.
    $install tcpdump gitk

    # Install common text editors
    $install vim nano emacs

    # Install NTP
    $install ntp

    # Install vconfig for VLAN example
    if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then
        $install vconfig
    else
        $install vlan
    fi

    # Set git to colorize everything.
    git config --global color.diff auto
    git config --global color.status auto
    git config --global color.branch auto

    # Reduce boot screen opt-out delay. Modify timeout in /boot/grub/menu.lst to 1:
    if [ "$DIST" = "Debian" ]; then
        sudo sed -i -e 's/^timeout.*$/timeout         1/' /boot/grub/menu.lst
    fi

    # Clean unneeded debs:
    rm -f ~/linux-headers-* ~/linux-image-*
}

# Script to copy built OVS kernel module to where modprobe will
# find them automatically.  Removes the need to keep an environment variable
# for insmod usage, and works nicely with multiple kernel versions.
#
# The downside is that after each recompilation of OVS you'll need to
# re-run this script.  If you're using only one kernel version, then it may be
# a good idea to use a symbolic link in place of the copy below.
function modprobe {
    echo "Setting up modprobe for OVS kmod..."
    set +o nounset
    if [ -z "$OVS_KMODS" ]; then
      echo "OVS_KMODS not set. Aborting."
    else
      sudo cp $OVS_KMODS $DRIVERS_DIR
      sudo depmod -a ${KERNEL_NAME}
    fi
    set -o nounset
}

function all {
    if [ "$DIST" = "Fedora" ]; then
        printf "\nFedora 18+ support (still work in progress):\n"
        printf " * Fedora 18+ has kernel 3.10 RPMS in the updates repositories\n"
        printf " * Fedora 18+ has openvswitch 1.10 RPMS in the updates repositories\n"
        printf " * the install.sh script options [-bfnpvw] should work.\n"
        printf " * for a basic setup just try:\n"
        printf "       install.sh -fnpv\n\n"
        exit 3
    fi
    echo "Installing all packages except for -eix (doxypy, ivs, nox-classic)..."
    kernel
    mn_deps
    # Skip mn_dev (doxypy/texlive/fonts/etc.) because it's huge
    # mn_dev
    of
    install_wireshark
    ovs
    # We may add ivs once it's more mature
    # ivs
    # NOX-classic is deprecated, but you can install it manually if desired.
    # nox
    pox
    oftest
    cbench
    echo "Enjoy Mininet!"
}

# Restore disk space and remove sensitive files before shipping a VM.
function vm_clean {
    echo "Cleaning VM..."
    sudo apt-get clean
    sudo apt-get autoremove
    sudo rm -rf /tmp/*
    sudo rm -rf openvswitch*.tar.gz

    # Remove sensistive files
    history -c  # note this won't work if you have multiple bash sessions
    rm -f ~/.bash_history  # need to clear in memory and remove on disk
    rm -f ~/.ssh/id_rsa* ~/.ssh/known_hosts
    sudo rm -f ~/.ssh/authorized_keys*

    # Remove SSH keys and regenerate on boot
    echo 'Removing SSH keys from /etc/ssh/'
    sudo rm -f /etc/ssh/*key*
    if ! grep mininet /etc/rc.local >& /dev/null; then
        sudo sed -i -e "s/exit 0//" /etc/rc.local
        echo '
# mininet: regenerate ssh keys if we deleted them
if ! stat -t /etc/ssh/*key* >/dev/null 2>&1; then
    /usr/sbin/dpkg-reconfigure openssh-server
fi
exit 0
' | sudo tee -a /etc/rc.local > /dev/null
    fi

    # Remove Mininet files
    #sudo rm -f /lib/modules/python2.5/site-packages/mininet*
    #sudo rm -f /usr/bin/mnexec

    # Clear optional dev script for SSH keychain load on boot
    rm -f ~/.bash_profile

    # Clear git changes
    git config --global user.name "None"
    git config --global user.email "None"

    # Note: you can shrink the .vmdk in vmware using
    # vmware-vdiskmanager -k *.vmdk
    echo "Zeroing out disk blocks for efficient compaction..."
    time sudo dd if=/dev/zero of=/tmp/zero bs=1M || true
    sync ; sleep 1 ; sync ; sudo rm -f /tmp/zero

}

function usage {
    printf '\nUsage: %s [-abcdfhikmnprtvVwxy03]\n\n' $(basename $0) >&2

    printf 'This install script attempts to install useful packages\n' >&2
    printf 'for Mininet. It should (hopefully) work on Ubuntu 11.10+\n' >&2
    printf 'If you run into trouble, try\n' >&2
    printf 'installing one thing at a time, and looking at the \n' >&2
    printf 'specific installation function in this script.\n\n' >&2

    printf 'options:\n' >&2
    printf -- ' -a: (default) install (A)ll packages - good luck!\n' >&2
    printf -- ' -b: install controller (B)enchmark (oflops)\n' >&2
    printf -- ' -c: (C)lean up after kernel install\n' >&2
    printf -- ' -d: (D)elete some sensitive files from a VM image\n' >&2
    printf -- ' -e: install Mininet d(E)veloper dependencies\n' >&2
    printf -- ' -f: install Open(F)low\n' >&2
    printf -- ' -h: print this (H)elp message\n' >&2
    printf -- ' -i: install (I)ndigo Virtual Switch\n' >&2
    printf -- ' -k: install new (K)ernel\n' >&2
    printf -- ' -m: install Open vSwitch kernel (M)odule from source dir\n' >&2
    printf -- ' -n: install Mini(N)et dependencies + core files\n' >&2
    printf -- ' -p: install (P)OX OpenFlow Controller\n' >&2
    printf -- ' -r: remove existing Open vSwitch packages\n' >&2
    printf -- ' -s <dir>: place dependency (S)ource/build trees in <dir>\n' >&2
    printf -- ' -t: complete o(T)her Mininet VM setup tasks\n' >&2
    printf -- ' -v: install Open (V)switch\n' >&2
    printf -- ' -V <version>: install a particular version of Open (V)switch on Ubuntu\n' >&2
    printf -- ' -w: install OpenFlow (W)ireshark dissector\n' >&2
    printf -- ' -y: install R(y)u Controller\n' >&2
    printf -- ' -x: install NO(X) Classic OpenFlow controller\n' >&2
    printf -- ' -0: (default) -0[fx] installs OpenFlow 1.0 versions\n' >&2
    printf -- ' -3: -3[fx] installs OpenFlow 1.3 versions\n' >&2
    exit 2
}

OF_VERSION=1.0

if [ $# -eq 0 ]
then
    all
else
    while getopts 'abcdefhikmnprs:tvV:wxy03' OPTION
    do
      case $OPTION in
      a)    all;;
      b)    cbench;;
      c)    kernel_clean;;
      d)    vm_clean;;
      e)    mn_dev;;
      f)    case $OF_VERSION in
            1.0) of;;
            1.3) of13;;
            *)  echo "Invalid OpenFlow version $OF_VERSION";;
            esac;;
      h)    usage;;
      i)    ivs;;
      k)    kernel;;
      m)    modprobe;;
      n)    mn_deps;;
      p)    pox;;
      r)    remove_ovs;;
      s)    mkdir -p $OPTARG; # ensure the directory is created
            BUILD_DIR="$( cd -P "$OPTARG" && pwd )"; # get the full path
            echo "Dependency installation directory: $BUILD_DIR";;
      t)    vm_other;;
      v)    ovs;;
      V)    OVS_RELEASE=$OPTARG;
            ubuntuOvs;;
      w)    install_wireshark;;
      x)    case $OF_VERSION in
            1.0) nox;;
            1.3) nox13;;
            *)  echo "Invalid OpenFlow version $OF_VERSION";;
            esac;;
      y)    ryu;;
      0)    OF_VERSION=1.0;;
      3)    OF_VERSION=1.3;;
      ?)    usage;;
      esac
    done
    shift $(($OPTIND - 1))
fi

this is fixed on the master branch and could therefore be closed i think


Can I call this app from my EHR with real patient context?

How can I call this app from my EHR with a real patient conext? Is it possible?

are you using Millennium? if yes, would you like to configure this in the PowerChart Table of Content section or embedded into a MPage workflow?


Python Kitchen

Changes proposed in this PR
Replace Clojure/JVM Kitchen implementation with lighter-weight Python 3 implementation.
Why are we making these changes?
The Jetty-based Kitchen app takes a non-trivial amount of time to start in Travis. This is especially true in the minikube pods used for the Kubernetes scheduler integration tests. The Kubernetes integration tests never pass using the current Kitchen, but they work with this version.

Looks like tests are failing?

I'm not sure why a couple of test flaked on the first run. I'm re-running it all a few times to see if I can tell what's going on. Everything is passing locally, so this might be something screwy with Travis. You can hold off on reviewing until it's all solidly green, or you can do a first pass now. I'll add the WIP tag back again until I've eliminated the failures.

OK, I fixed the problem. It was a non-deterministic failure where Jetty freaks out if you close its request stream before it's done writing. I just needed to ensure I slurp all of the POST data before closing the connection in Kitchen.


Add optional identity and resource context to authorizer commands

This adds optional flags to the aserto authorizer ... commands to allow passing identity and resource contexts to the authorizer.
      --identity=""                caller identity
      --identity-type="none"       type of identity [sub|jwt|none]
      --resource=STRING            a JSON object to include as resource context

It allows running more complex evaluations like:
aserto authorizer eval-decision --policy-id=<policy_id> --path=<policy_path> --decisions=allowed \
    --identity "auth0|9e86077a-25f5-11ec-bfb1-026579639f8b" --identity-type sub \
    --resource '{"tenant_id": "8e788220-8dcc-11ec-a66c-00e0b7d9882c"}'

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 47 (0.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 8.856%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/handlers/authorizer/decisiontree.go
0
6
0.0%

pkg/handlers/authorizer/is.go
0
6
0.0%

pkg/handlers/authorizer/query.go
0
8
0.0%

pkg/handlers/authorizer/params.go
0
27
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
315

Relevant Lines:
3557

💛  - Coveralls


getPetStats refactor

This is kind of the first draft of this function after I realized that additional options could be added to get the right level pet.
So obviously it could be better 😁

This refactor requires significant changes to the underlying Class. Pushing the issue to v2.0.


Keep asking for impersonate_nvim_cmp

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp and blink.compat
[X] I have read the README

Bug Description
any idea why blink.compat can't work with this ?
                      blink.compat completion source "emoji" has not registered itself.
Please try enabling `impersonate_nvim_cmp` in blink.compat `opts`

Relevant configuration
return {
  {
    "saghen/blink.cmp",
    opts_extend = { "sources.completion.enabled_providers", "sources.compat" },
    dependencies = {
      { "allaman/emoji.nvim" },
      {
        "saghen/blink.compat",
        opts = { impersonate_nvim_cmp = true, enable_events = true, debug = true },
      },
    },
    opts = {
      sources = {
        completion = {
          enabled_providers = { "emoji" },
        },
        compat = { "emoji" },
        providers = {
          emoji = {
            name = "emoji",
            module = "blink.compat.source",
            opts = { enable_cmp_integration = true },
          },
        },
      },
    },
  },
}

neovim version
NVIM v0.10.2 Build type: Release LuaJIT 2.1.1713484068 Run "nvim -V1 -v" for more info
blink.cmp version: branch, tag, or commit
0.7.2
blink.compat version: branch, tag, or commit
2.1.2

Here's a config I got to work:
return {
	{
		"allaman/emoji.nvim",
		opts = { enable_cmp_integration = true },
	},
	{
		"saghen/blink.compat",
		lazy = true,
		opts = {},
	},
	{
		"saghen/blink.cmp",
		dependencies = {},
		opts = {
			sources = {
				completion = {
					enabled_providers = { "emoji" },
				},
				providers = {
					emoji = {
						name = "emoji",
						module = "blink.compat.source",
					},
				},
			},
		},
	},
}

The main issue here is that the opts in the providers is NOT the same as the opts of the plugin spec. lazy.nvim only calls a plugin's setup if opts or config is set in their spec, so in your config above, emoji.nvim wasn't getting setup and registering itself with cmp. I'll clarify the readme.

thank your for your explanations!


resolve http post issue by getting Beth to purchase SSL cert

cert was purchased this weekend, but can't find the option to configure it... asked blueHost today

checked with BlueHost support today, no answer yet.

still waiting on final confirm from dreamhost, followed up with another ticket today. Tool is working at https://amman.clustermappinginitiative.org/geotool/geo3.html#


Failed to find trace point added by caret-rclcpp v0.4.9 -> v0.4.10

Checklist

[X] I've read the contribution guidelines.
[X] I've read document and no solution were found.

Issue type
Bug
Step where the issue is related to
Recording
Environments

Docker Base-Image: osrf/ros:humble-desktop

CARET version
CARET: v0.4.10
Target application
No response
Description
Since the update from v04.9 to v0.4.10 i can't visualize my recorded data
After Building i always check with ros2 caret check_caret_rclcpp my workspace:
Summary: 26 packages finished [3.53s]
INFO    : 2023-06-16 15:52:36 | All packages are built using caret-rclcpp.

But when running lttng = Lttng("./" + trace_name) in my jupyternotebook it returns the warning:
Failed to find trace point added by caret-rclcpp. To check whether binary are built with caret-rclcpp,run CARET CLI : ros2 caret check_caret_rclcpp.

ros2 caret check_ctf -d  returns the same warning
plot = Plot.create_frequency_timeseries_plot(app.communications) is showing nothing and the path plots are throwing an error about zero size array.
Going from main branch to v0.4.9 fixed that issue for me.
I tried to (record as the manual says)[https://tier4.github.io/CARET_doc/main/recording/recording/] but neither Starting LTTng session manually nor Starting LTTng session via ROS launch changed the failing verfication of the data after recording.
Steps to reproduce
see description
Commands
No response
Logs
No response
LTTng trace log file

launch_traces.zip
Screenshots
No response

@Tobias-Pe Thank you for your reporting.
What version of caret did you use to acquire the data you are trying to analyze with caret_analyze?
Although v0.4.10 includes modifications that affect compatibility of analysis data, but it is expected that both old and new data can be analyzed with CARET_analyze v0.4.10.
We will investigate the data you provided.

The shared trace date looks recorded with light option. Since v0.4.10, the new trace point is used and filter setting for light option needs to be modified.
If you record via launch file, please add ros2:rmw_take to the filter setting. Please refer to the updated instruction in this PR (Sorry, it's not merged yet.)
The filter setting for light option in ros2 caret record command is already updated in v0.4.10. So, you should face the problem when you manually start LTTng session using the ros2 caret record command. Please confirm the version of ~/ros2_caret_ws/src/CARET/ros2caret/ is v0.4.10 as well.

@nabetetsu the one that gets verified was recorded on 0.4.9
The other two on 0.4.10

@Tobias-Pe
The shared trace date looks recorded with light option. Since v0.4.10, the new trace point is used and filter setting for light option needs to be modified.
If you record via launch file, please add ros2:rmw_take to the filter setting. Please refer to the updated instruction in this PR (Sorry, it's not merged yet.)
The filter setting for light option in ros2 caret record command is already updated in v0.4.10. So, you should face the problem when you manually start LTTng session using the ros2 caret record command. Please confirm the version of ~/ros2_caret_ws/src/CARET/ros2caret/ is v0.4.10 as well.

@takeshi-iwanari
I'll try this, but I also tried to set caret_light variable to False in the provided advanced script, and it didn't work either. I also tried to trace manually, and that also didn't work.

@Tobias-Pe
Thank you for sharing the details. Hmm, it's weird..
Could you also share the trace date where caret_light=False? So that we can ignore caret_light case and it makes our investigation easier.

@Tobias-Pe
The following warning is our mistake. The trace point list used in check_ctf command should have been updated at v0.4.10. We will fix it soon.

Failed to find trace point added by caret-rclcpp. To check whether binary are built with caret-rclcpp,run CARET CLI : ros2 caret check_caret_rclcpp.

However, it's just a warning. So please ignore it and keep going to visualization process.
When I visualize communications using launch_trace_light_on, I got a similar one with launch_trace_20230615-193736 which I think you recorded using CARET v0.4.9.

launch_trace_20230615-193736 (v0.4.9)

launch_trace_light_off (v0.4.10 + caret_light=off)

launch_trace_light_on (v0.4.10 + caret_light=on)

comunication graph is empty, but it's as expected because the event filter is not updated

@Tobias-Pe
The following warning is our mistake. The trace point list used in check_ctf command should have been updated at v0.4.10. We will fix it soon.

Failed to find trace point added by caret-rclcpp. To check whether binary are built with caret-rclcpp,run CARET CLI : ros2 caret check_caret_rclcpp.

So please ignore the warning and move on to visualization process. When I visualize communications for launch_trace_light_off, I got a similar one with launch_trace_20230615-193736 which I think you recorded using CARET v0.4.9. I also attach the jupyter notebook script I tested. issue_096.zip

launch_trace_20230615-193736 (v0.4.9)

launch_trace_light_off (v0.4.10 + caret_light=off)

launch_trace_light_on (v0.4.10 + caret_light=on)

communication graph is empty, but it's as expected because the event filter is not updated

Yeah works
Fine then it's okay :)


hotfix: Provide content length on file put

Closes https://github.com/databricks/databricks-sql-go/issues/211

@kravets-levko kindly review this ASAP & release a new version

@candiduslynx I would like to ask you to add some tests to avoid regressions in future. Thank you!

@kravets-levko why the requirement wasn't added in the first place (when the original PR was merged)?
Anyways, the issue is that the only way to properly test this is to send the request to the backend, so it will require your team to set up a proper backend (serverless databricks?) for testing such scenarios.
That's why I think it should be done on your side (or, at least, the set up of backend & gh secrets should be done prior to creating a test that utilizes the put functionality). WDYT?

@kravets-levko I'm closing this PR in favor of https://github.com/databricks/databricks-sql-go/pull/217 (opened from the org fork instead of private one)

@kravets-levko I'm closing this PR in favor of https://github.com/databricks/databricks-sql-go/pull/217 (opened from the org fork instead of private one)


Add relocation R_RISCV_RVC_COMP for .align directives

Binutils POC patch:
https://sourceware.org/pipermail/binutils/2022-March/120252.html
This RFC introduces a relocation that stores a compressed alternative to the emitted instruction. During the processing of .align directives, RVC instructions can be compressed or uncompressed to reach alignment with the minimum amount of nops.
The assembler emits this relocation for ops that aren't explicitly compressed in the assembly file and stores the compressed alternative in the addend.
Example:
nop
.balign 4

This currently emits:
c.nop
c.nop

With the RVC_COMP relocation, the linker can emit:
nop

Which eliminates one nop.
The drawback is that unlinked object files are larger, and the linker performs linker relaxation during this uncompressed worst case. A future optimization could compress instructions/eliminate nops before linker relaxation depending on whether the worst-case alignment is achievable using RVC insns.
This is my first time editing the psabi spec, so if I missed anything, please point it out and I will happily edit.
Thank you,
Patrick

This seems pretty complicated to actually make use of and far too easy to screw up; with a long function how do you decide which instructions are the ones to not compress? Who makes that decision, assembler or compiler? Because currently compression is transparently handled by the assembler, but you need higher-level knowledge of the code structure in order to guide you in which instructions to uncompress. You want to keep loop bodies compressed and uncompress prologues and epilogues instead of them, but you also may want to keep loop bodies aligned to avoid straddling more I$ lines than needed, for example. So, how useful is it actually in practice? Have you used your PoC to benchmark things? On what kinds of cores? I'm really struggling to see how this isn't just going to create a total nightmare for toolchains to use and end up being a waste of valuable relocation encoding space.

Hi JRTC, thanks for reviewing the RFC. I agree that this needs more work. I'm going to close this pull request and move the discussion to a github issue.
Thank you!


Library page for compatible design kits

Every library needs a Design kits page.
Redline: https://www.figma.com/file/K6HobXD4KXUIdkLrVjUzwK/LibraryDetail_CarbonReact?node-id=0%3A1

[ ] Body copy that says how these are "compatible" or "related" design kits that contain the design counterpart to coded assets in this library, with a link out to the design kits catalog to view all @aubrey-oneal
[ ] Empty state for when there are no related design kits @kingtraceyj
[ ] New resource card (MDX component for design kit resource card?) with data that comes from indexed design kits

@aubrey-oneal can you provide body copy for this page?
@kingtraceyj can you provide an empty state for when there are no related design kits?

@kingtraceyj to update this image and make sure this issue links to the latest design spec for this page.

Hey team! Please add your planning poker estimate with ZenHub @alisonjoseph @andreancardona @francinelucca

update redline link and the screenshot above. will add the empty state to the redline today.

Standardized design kit page description. Note that we'll insert the library name as a variable.
The following design kits are compatible with the Carbon React library. Explore all design kits (here)[catalog link].


Error on running dotnet app

Macos Catalina 10.15.7
Narayanans-MacBook-Pro:MyApp narayanan$ dotnet run
/usr/local/share/dotnet/sdk/6.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(550,5): error NETSDK1177: Failed to sign apphost with error code 0: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun [/Users/narayanan/MyApp/MyApp.csproj]
/usr/local/share/dotnet/sdk/6.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(550,5): error NETSDK1177: /Users/narayanan/MyApp/obj/Debug/net6.0/apphost: the codesign_allocate helper tool cannot be found or used [/Users/narayanan/MyApp/MyApp.csproj]
/usr/local/share/dotnet/sdk/6.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(550,5): error NETSDK1177:  [/Users/narayanan/MyApp/MyApp.csproj]
The build failed. Fix the build errors and run again.
Narayanans-MacBook-Pro:MyApp narayanan$

Hi @nramaswa786, would it be possible to share the project that is generating this error?

cc @wli3 @dsplaisted

@vitek-karas @mateoatr @agocke @VSadov for triage

Based on a simple web-search it seems that the signing tool requires XCode to be installed. We'll need to validate this, but if true, we should tweak the error generated by the SDK (NETSDK1177 or add a new one) and handle this case reporting something like "This operation requires XCode to be installed, please go to  for more information.".


add ability to exclude rules from namespace label enforcement

fixes https://github.com/coreos/prometheus-operator/issues/2940

fixed test cases and added tests for new functionality

I didn't noticed that changed functions are also used for Thanos rules - will fix it as soon as I can

Actually now that you say it, we're going to have to add the same functionality to the Thanos ruler.

added functionality to ThanosRuler.
I adhered style of operator - by this I mean almost "copy-paste" pieces of code between prometheus/rules and thanos/rule. Shouldn't I move nsLabelEnforcementExcludeList and its methods to separate package to follow DRY principle?
If not, could you please elaborate why - just to educate myself.

Shouldn't I move nsLabelEnforcementExcludeList and its methods to separate package to follow DRY principle?

Please feel free to do so, we wanted to do so anyways.

moved namespace label enforcement to shared library. Naming suggestions are welcome

@brancz ^^

sorry looks like this needs a rebase

rebased

Awesome! Thank you so much for this!


bug: JavaBuildWorkspace no longer works

Did you check docs and existing issues?

[X] I have read all the plugin docs
[X] I have searched the existing issues
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10
Operating system/version
Windows 11 WSL
Describe the bug
I've used JavaBuildWorkspace all the time and it's always worked. With latest 2 updates, this command completely broke and I always get this error message when running the command. E492: Not an editor command: JavaBuildWorkspac
Steps To Reproduce

Have a multimodule Spring Boot project using Maven
Start the command

Expected Behavior
It should build the whole workspace as the previous version did

I have the latest plugin installed

@chetra-seng Your config in github? nvim-java is also upto date right?

This is my config for java and I've done it based on the page in Wiki And yes, everything is up to date
return {
  "nvim-java/nvim-java",
  config = false,
  dependencies = {
    {
      "neovim/nvim-lspconfig",
      opts = {
        servers = {
          jdtls = {
            -- Your custom jdtls settings goes here
            handlers = {
              -- By assigning an empty function, you can remove the notifications
              -- printed to the cmd
              ["$/progress"] = function(_, result, ctx) end,
            },
          },
        },
        setup = {
          jdtls = function()
            require("java").setup({
              -- Your custom nvim-java configuration goes here
            })
          end,
        },
      },
    },
  },
  keys = {
    {
      "<leader>jb",
      "<cmd>JavaBuildWorkspace<cr>",
      desc = "Build java workspace",
    },
  },
}

Tried this in a test container. I can't recreate this

@chetra-seng Oh wait. I did not realize I have changed the name. Now the command name is JavaBuildBuildWorkspace. Additionally you now get JavaBuildCleanWorkspace but you have to close and reopen the editor to restart the server.

Thanks for the clarification and updating the doc as well.


Should we update the ringbuffer tail here if the cmd is timedout in ringbuffer in kernel space ?

If one cmd in ringbuffer in kernel space is timedout, TCMU driver won't clean the idr node and also the ringbuffer entry for this cmd, until the ringbuffer tail is updated by tcmu-runner.
But for the case the cmd in glfs/ceph... backend stuck forever or a very long time and then there will be thousands of cmds are timedout, then will there be out of memories or memories leak?

The problem with driving cleanup in the kernel when some timer like the tcmu cmd timeout fires is that you do not know what is going on in userspace so you can't free some of the memory. If you were to free the data block memory/page and reallocated it to another cmd, userspace could still be accessing it for the previous command.
The cmd's idr value is also a issue. If we free the tcmu_cmd->cmd_id and reallocate it to another cmd, but the first instance finishes then the reallocated command is going to hit issues.
For ceph we set a ceph timeout, osd_op_timeout, in the handler, so after osd_op_timeout seconds librbd will timeout the command and the handler will fail the cmd back to the kernel.
We could just have a generic per command timer in userspace for this where when it fires tcmu-runner calls into the handler to cleanup the command in the handler and in the backend if needed, then tcmu-runenr fails the command to the kernel.

The problem with driving cleanup in the kernel when some timer like the tcmu cmd timeout fires is that you do not know what is going on in userspace so you can't free some of the memory. If you were to free the data block memory/page and reallocated it to another cmd, userspace could still be accessing it for the previous command.
The cmd's idr value is also a issue. If we free the tcmu_cmd->cmd_id and reallocate it to another cmd, but the first instance finishes then the reallocated command is going to hit issues.

Yeah, agree.

For ceph we set a ceph timeout, osd_op_timeout, in the handler, so after osd_op_timeout seconds librbd will timeout the command and the handler will fail the cmd back to the kernel.

That's cool in ceph. While there may have another case that when the network is stuck between tcmu-runner <--> ceph cluster, even there has the osd_op_timeout, we will still hitting this, right ?

We could just have a generic per command timer in userspace for this where when it fires tcmu-runner calls into the handler to cleanup the command in the handler and in the backend if needed, then tcmu-runenr fails the command to the kernel.

Yeah, and for the timer timedout value in userspace, we should keep it the same as or just a little larger than cmd_time_out in kernel space. I think the later one is a good chioce.

That's cool in ceph. While there may have another case that when the network is stuck between tcmu-runner <--> ceph cluster, even there has the osd_op_timeout, we will still hitting this, right ?

The timer is set in librbd, so it will catch issues between tcmu-runner and the ceph cluster like if the network goes down.


Updated from version 5 alpha to newest

Types of property 'createdAt' are incompatible.
      Type 'Date | undefined' is not assignable to type 'EntityDataItem<Date>'.
        Type 'undefined' is not assignable to type 'EntityDataItem<Date>'.

       permission = await this.permissionRepository.create(createPermissionDto)

Used something like that
https://github.com/n4an/nest-mikro-rom

I see you still like to ignore issue templates 🤷

and you still can't make normal orm, always troubles

that orm is not good for nest, because is not tested with nestjs i think


Filter in datagrid lists should be "fuzzy"

Currently the filter in the datagrids are only searching if the exact value matches, including case sensitivity. It's also not possible to search for multiple terms.
A possibility to create this fuzzy behavior would be to change the search term foo bar to something like %foo%bar% and %Foo%Bar%, and search for both values.

The suggested solution does not work for titles with multiple capital letters at the beginning, therefore we should realize that with ElasticSearch.


TOML parse error: Invalid table header: Duplicate key

# pyproject.toml

[tool.hatch]
version.source = "vcs"

[tool.hatch.version.raw-options]
local_scheme = "no-local-version"

Both toml and toml_edit fail to parse it:
// toml
Err(
    Error {
        inner: ErrorInner {
            kind: Custom,
            line: Some(
                5,
            ),
            col: 0,
            at: Some(
                55,
            ),
            message: "duplicate key: `version`",
            key: [
                "tool",
                "hatch",
            ],
        },
    },
)

// toml_edit
Err(
    TomlError {
        message: "TOML parse error at line 6, column 1\n  |\n6 | [tool.hatch.version.raw-options]\n  | ^\nInvalid table header\nDuplicate key `version`\n",
        line_col: Some(
            (
                5,
                0,
            ),
        ),
    },
)

while the Python tomllib has no issue with it
Python 3.11.0 (main, Oct 25 2022, 16:25:24) [Clang 14.0.0 (clang-14<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tomllib as toml
>>> s = '''# pyproject.toml
...
... [tool.hatch]
... version.source = "vcs"
...
... [tool.hatch.version.raw-options]
... local_scheme = "no-local-version"'''
>>> toml.loads(s)
{'tool': {'hatch': {'version': {'source': 'vcs', 'raw-options': {'local_scheme': 'no-local-version'}}}}}

Rust Explorer Playground
See also https://github.com/charliermarsh/ruff/issues/1894

Your TOML sample looks similar to this section in the TOML spec
[fruit]
apple.color = "red"
apple.taste.sweet = true

# [fruit.apple]  # INVALID
# [fruit.apple.taste]  # INVALID

[fruit.apple.texture]  # you can add sub-tables
smooth = true

with the accompanying rule being

The [table] form can, however, be used to define sub-tables within tables defined via dotted keys.

Looking at getting this test case upstreamed into the compliance test suite: BurntSushi/toml-test#129


windows system commands plugin does not work

Microsoft PowerToys version
0.41.4
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
1
✔ Expected Behavior
No response
❌ Actual Behavior
1
Other Software
No response

Please provide us more information.

Hi @greedyhippo
Closing this as a duplicate.
System commands plugin as been localized in 0.41.
Look at https://github.com/microsoft/PowerToys/issues/12063


v0.8.10 generates invalid magnet URLs for v2/hybrid torrents

Additionally, torrentfile magnet fails on torrent files with no trackers.
Installed from latest git master.
$ torrentfile -m --meta-version 2 ytarchive -a udp://explodie.org:6969
ytarchive                                           |██████████████████████████████████████████████████| 7/7 MiB
magnet:?xt=urn:btih:DABCEC469398E3D1A20CFFB15CC993B5FF38C3F762714E6278A24B1926A58CA4&dn=ytarchive&tr=udp%3A%2F%2Fexplodie.org%3A6969

Torrent Save Path:  /home/malloc/ytarchive.torrent

v2 hash listed as urn:btih component instead of urn:btmh, additionally v2 magnet hashes have the prefix 1220, see https://multiformats.io/multihash/. (it isn't clear to me if this was ever written down as a specification or if people just decided to do it, but qbt rejects unprefixed v2 hashes)
$ torrentfile -m --meta-version 3 ytarchive -a udp://explodie.org:6969
ytarchive                                           |██████████████████████████████████████████████████| 7/7 MiB
magnet:?xt=urn:btih:9827DDA0E0DF01194729C6ADFA4085469E67E4858F359BACF6872984CB01EA45&dn=ytarchive&tr=udp%3A%2F%2Fexplodie.org%3A6969

Torrent Save Path:  /home/malloc/ytarchive.torrent

Same issue as above, but additionally hybrid torrents should have both btih and btmh
libtorrent.org provides two test torrents on the bottom of this page with corresponding magnet URLs: https://blog.libtorrent.org/2020/09/bittorrent-v2/
torrentfile can't parse either of them:
malloc@host:~$ wget https://libtorrent.org/bittorrent-v2-hybrid-test.torrent
malloc@host:~$ torrentfile magnet bittorrent-v2-hybrid-test.torrent
Traceback (most recent call last):
  File "/home/malloc/.local/bin/torrentfile", line 8, in <module>
    sys.exit(main())
  File "/home/malloc/.local/lib/python3.9/site-packages/torrentfile/cli.py", line 655, in main
    execute()
  File "/home/malloc/.local/lib/python3.9/site-packages/torrentfile/cli.py", line 644, in execute
    return args.func(args)
  File "/home/malloc/.local/lib/python3.9/site-packages/torrentfile/commands.py", line 387, in magnet
    announce_args = ["&tr=" + quote_plus(meta["announce"])]
KeyError: 'announce'

qBittorrent 4.5.2 can load both of them and they function as expected. They don't have a tracker specified, which I think is causing the error. Using transmission-create to make a v1 torrent with no trackers specified creates files torrentfile can't parse, with the above error.

Good to know... I will fix this and add the new implementation for 0.8.11


Bug fix 3.6/reset shadowrows block on return

Backport of #10834

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/7923/

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/7935/

Relevant test blue, the Mac community test is due to hardware and this PR does not contain anything that is community/enterprise specific

http://jenkins.arangodb.biz:8080/job/arangodb-matrix-pr-mac-onlycatch/5828/

@KVS85 the linked Jenkins failed because of the system being broken.
In this PR there is no difference on Mac for Community vs. Enterprise that would not be covered by the enterprise branch.
I would consider this as good.


Turtlebot4's unable to communicate with remote pc

Robot Model
Turtlebot4 Standard
ROS distro
Humble
Networking Configuration
Simple Discovery
OS
Ubuntu 22.04
Built from source or installed?
Installed
Package version
1.0.0-1jammy.20240517.212705 (used sudo apt install ros-humble-turtlebot4-desktop)
Type of issue
Networking
Expected behaviour

ip route returns an IP from the turtlebot4 on remote pc
ros2 topic list lists topics from turtlebot4 on remote pc
ros2 multicast receive and ros2 multicast send communicates between remote pc and turtlebot4

Actual behaviour

ros2 topic list only outputs /parameterevents and /rosout on remote pc
Remote pc can ping turtlebot4, but when ssh'd into turtlebot4 it cannot ping remote pc (can ping other turtlebots)
ros2 multicast does not work between remote pc VM and turtlebot4
ip route does not give any route according to turtlebot's ip

Error messages
No response
To Reproduce

Follow steps outlined at: https://turtlebot.github.io/turtlebot4-user-manual/setup/basic.html inside a virtual machine
Attempt to ping or multicast between virtual machine and turtlebot4

Other notes
My Ubuntu environment is ran through VirtualBox. The turtlebot4 is able to ping my ip from windows when the firewall is disabled, but not from the virtual machine, even with anything firewall related disabled. I am unable to get any world data in Rviz using SLAM but I am assuming that is caused by the networking issues described.

Update: I have the bot able to ping back now that I have bridged adapter for the virtual machines network settings. I now also get the topics from the bot.
However, when I SSH into the bot I can't get anything from ros2 multicast receive when I ros2 multicast send from my non-SSH'd terminal even though the reverse works for some reason.

Hi @Nickelleee
Thanks for your question but your request is outside of the scope of our support. We don't support VM setups.
You can try posting the question here: https://robotics.stackexchange.com/
Best regards,
Rusty

Closed due to non-activity


Cost model filtering: can't remove chip by clicking 'x' button

Describe the bug
After filtering cost models, we can't remove the filter by clicking 'x' button on the chip.
To Reproduce
Steps to reproduce the behavior:

Go to cost model details
Add a filter
Try to remove the filter by clicking 'x' on the chip
See error

Expected behavior
Filter removed correctly
Screenshots

Desktop (please complete the following information):

OS: Fedora
Browser Firefox
Version 71

Additional context
CI beta

verified


Vendored JobSet does not have Coordinator field in v0.8.0-

What happened:
Seen in https://github.com/kubernetes-sigs/jobset/issues/701.  When using JobSet and Kueue in the same cluster, Kueue needs to be at v0.9.0+ for the JobSet Coordinator field to not be nilled by the Kueue JobSet mutating webhook.
What you expected to happen:
Kueue mutating webhook does not remove valid JobSet fields.
How to reproduce it (as minimally and precisely as possible):
Install kueue v0.8.0 and JobSet v0.7.0 in a cluster.  Create a JobSet with a non-nil Coordinator field.  The Kueue mutating webhook will cause the JobSet to be created with a nil Coordinator field.
Anything else we need to know?:
Kueue v0.9.0 is the first version with a copy of jobset API with coordinator field: https://github.com/kubernetes-sigs/kueue/blob/release-0.9/vendor/sigs.k8s.io/jobset/api/jobset/v1alpha2/jobset_types.go
v0.8.0 does not have the field: https://github.com/kubernetes-sigs/kueue/blob/release-0.8/vendor/sigs.k8s.io/jobset/api/jobset/v1alpha2/jobset_types.go
Environment:

Kubernetes version (use kubectl version): 1.31
Kueue version (use git describe --tags --dirty --always): v0.8.0
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

0.8.3 should have the fix

0.8.3 should have the fix. ptal https://github.com/kubernetes-sigs/kueue/releases/tag/v0.8.3

https://github.com/kubernetes-sigs/kueue/blob/v0.8.3/vendor/sigs.k8s.io/jobset/api/jobset/v1alpha2/jobset_types.go#L65 does not have Coordinator field

right, but if the root cause is that kueue webhook drops unknown field then this is fixed in 0.8.2 by a change to prevent dropping unknown fields; https://github.com/mimowo/kueue/blob/main/CHANGELOG%2FCHANGELOG-0.8.md

Ah I see

Updated https://github.com/kubernetes-sigs/jobset/pull/702 with the fixed v0.8.3+ version

For any other fixed versions please update https://github.com/kubernetes-sigs/jobset/blob/main/site/content/en/docs/concepts/_index.md?plain=1#L204

/close
I think this issue is no longer actionable. The new JobSet field can be used in 0.8.3+ and 0.9.0+.


JS code dictionaries

ZXCVBN js code should import dictionaries from files instead of hardcoding them. It would allow us to use dictionaries from other languages too (currently only english).
It would also be great to be able to choose which dicts are used when using the app.

No relevant anymore with new zxcvbn-python code. Developers can add checks of their own (other dicts).

This was implemented server-side in #95. If you need custom dictionaries on the client side, please open a new issue.


Improved resource relation and inline action

Parameters for action will now consider action's uri template if it is defined instead of resource's uri template
Parser will now give a warning if the relation identifiers are not unique for a resource
Relation identifier will now use the regex defined in RFC 5988

:+1:

@klokane I have addressed your comments.

@klokane Updated.

merged


Using the cask to install FAILED

It seems something is wrong that makes the cask getting a wrong formula , so it can't get the file from the wrong url.
>cask install github.com/iawia002/lux
Fetching github.com/iawia002/lux formula...
thread 'main' panicked at 'install package fail!: Download https://github.com/iawia002/lux/releases/download/v0.18.0/lux_0.18.0_Windows_64-bit.zip fail with http code 404 Not Found

Location:
    D:\a\cask.rs\cask.rs\crates\downloader\rustls.rs:17:20', src/main.rs:210:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The correct url should be  https://github.com/iawia002/lux/releases/download/v0.18.0/lux_0.18.0_Windows_x86_64.zip

Can you check this? https://github.com/iawia002/lux/pull/1251


Support scheme, host, and port in route generation

It would be great to be able to pass a configuration object to router.generate that would enable fully qualified URIs to be rendered. As it is now, you only get a relative path (which is fine by default).

@bryanrsmith How are we on this?

@bryanrsmith Currently, the router can track a baseUrl - but this isn't specifically a fully qualified URI. Do we want to use window.location.origin or document.URL for this? Using either of those would mean pulling in a dependency for aurelia-pal. Of note, certain browsers (IE) may have to be handled a bit differently.

I think we should add a new method to history & history-browser to get the root location. If I remember correctly, there's at least one other place in the router where we read history._baseUrl (which will break with any other history implementation). If we add a history.getRoot(), or history.getBaseUrl() we could use it here too.


Api key

Implements the API key:

The get_key, delete_key, update_key and create_key methods have been implemented with unit and doc test
The authenticate error code has been renamed into auth
6 new errors have been added: MissingParameter, InvalidApiKeyDescription, InvalidApiKeyActions, InvalidApiKeyIndexes, InvalidApiKeyExpiresAt, ApiKeyNotFound
The Key type has been moved to a different module
A KeyBuilder type has been added to eases the creation of keys
An Action enum has been created to represents all the possible action

bors merge

bors merge

bad bors

bors merge


Change plugin id from me.flibio.updatifier to updatifier

This is as per the new plugin id guidelines in 4.1.0-SNAPSHOT

Closed with f671704f657a8473200b354a7670bca76cfea48f.


missing link in opensource.md

https://github.com/SAP-samples/devtoberfest-2021/blob/main/contest/opensource.md#entries

for here no link is specified

Sorry about that. I meant to take that line out until I have the job setup to generate a page off of the submissions like last year: https://github.com/SAP-samples/sap-devtoberfest-2020/blob/main/actions/build.js
I've not had a chance to update the script and test it for usage this year yet.  But maybe later today or this weekend and then I will add the reference and link back in.


Project dead?

Sorry for appearing out of the blue - just wanted to ping, if this project going to be alive?

the project as hibernation mode for time being as people are yet to understand blockchain let alone they would get security application on it.


Incompatible with zen-mode.nvim

@vyorkin and I ran into problems using incline.nvim with zen-mode.nvim, see https://github.com/folke/zen-mode.nvim/issues/106
@b0o any ideas what's causing the hook to fail when called by zen-mode.nvim?

Hey @joshmedeski, thanks for the report. Would you mind testing the latest commit to see if it fixes this for you?

It still dosn't work, there seems to be some flashing so maybe that's part of it?
https://github.com/b0o/incline.nvim/assets/2036594/a698f18f-a7ac-40c5-84ff-ce105fd5c2bb

Okay I think I figured out the actual issue. For a moment just after disabling, Incline was handling leftover debounced events, causing the winlines to be re-created. Is it working for you now?

That was it, thank you! ❤


ssl cert expired: https://forum.wpn-xm.org/

The LE SSL cert of the https://forum.wpn-xm.org/ expired and wasn't automatically renewed.

[ ] check logs, find out what's wrong
[ ] renew cert

Certificate renew:
automatic update failed, because the cronjob failed.
meanwhile the cert expired
cronjob kicked in, tried to refresh the cert, but chain of certs was broken,
requesting a new one failed, because port 80 disabled and forwarding to https,
had to reopen 80 and request a new cert
Issue resolved: https://forum.wpn-xm.org/ - Cert is valid from 11.09.2016 to 10.12.2016


tests: Fix flaky test_raw_put_key_guard

What is changed and how it works?

Issue Number: Close #16825

What's Changed:
Fix flaky test_raw_put_key_guard.

The issue is caused by peer 0 would not be the leader of region.
Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[x] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

None

/check-issue-triage-complete

/run-check-issue-triage-complete

/run-check-issue-triage-complete

/cc @tonyxuqqi @haojinming

/cc @tonyxuqqi @haojinming

PTAL, thanks~

/merge

/cherry-pick release-7.5

/cherry-pick release-8.1

/cherry-pick release-7.1

/cherry-pick release-6.5


Develop

Huh...it's not done yet. SOON™
I know i've not been working so much in this period, i'm focusing on other stuff right now.
Please be patient, that's all i ask.

In case you're developing a new feature/fixes i'll wait if i'm wrong, as there's no description or planning written yet


PKG-4701 initial v12.4

Destination channel: defaults
Links

PKG-4701

Explanation of changes:

Part of CUDA 12.4 build, following conda-forge's pattern which was developed in conjunction with Nvidia. I don't see a need to stage these then release them all at once. They won't cause a problem released one at a time.
Please check the main branch too, this has just been forked
Changes made to adjust feedstocks for differences between conda-forge and defaults. Please see commit messages for description of changes.

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_d9fpn3jezd/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:0: no_global_test: Global tests are ignored in multi-output recipes.
clone/recipe/meta.yaml:106: license_file_overspecified: Using license_file and license_url is overspecified.
clone/recipe/meta.yaml:46: host_section_needs_exact_pinnings: output "cuda-opencl": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:46: host_section_needs_exact_pinnings: output "cuda-opencl": Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:34: outputs_not_unique: output "cuda-opencl": Output name is not unique
clone/recipe/meta.yaml:106: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:106: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:1: missing_tests: output "cuda-opencl": No tests were found.
===== Final Report: =====
4 Errors and 4 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_338y_wmafw/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:106: license_file_overspecified: Using license_file and license_url is overspecified.
clone/recipe/meta.yaml:0: no_global_test: Global tests are ignored in multi-output recipes.

===== ERRORS =====

clone/recipe/meta.yaml:34: outputs_not_unique: output "cuda-opencl": Output name is not unique
clone/recipe/meta.yaml:106: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:1: missing_tests: output "cuda-opencl": No tests were found.
clone/recipe/meta.yaml:106: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
4 Errors and 2 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_82ciqtae1e/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:106: license_file_overspecified: Using license_file and license_url is overspecified.
clone/recipe/meta.yaml:0: no_global_test: Global tests are ignored in multi-output recipes.

===== ERRORS =====

clone/recipe/meta.yaml:106: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:1: missing_tests: output "cuda-opencl": No tests were found.
clone/recipe/meta.yaml:34: outputs_not_unique: output "cuda-opencl": Output name is not unique
clone/recipe/meta.yaml:106: missing_license_family: The recipe is missing the about/license_family key.
===== Final Report: =====
4 Errors and 2 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_8ez3aljxry/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:106: license_file_overspecified: Using license_file and license_url is overspecified.
clone/recipe/meta.yaml:0: no_global_test: Global tests are ignored in multi-output recipes.

===== ERRORS =====

clone/recipe/meta.yaml:106: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:106: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:34: outputs_not_unique: output "cuda-opencl": Output name is not unique
clone/recipe/meta.yaml:1: missing_tests: output "cuda-opencl": No tests were found.
===== Final Report: =====
4 Errors and 2 Warnings were found

The loader's a broker between different OpenCL implementations and your application. It's needed if there are multiple opencl implementations on the system. Which is a common occurrence AFAIU. It's possible to build applications that link directly to the OpenCL implementation but then it will only work with that one which seems to defeat the purpose (it's supposed to allow portability between different hardware architectures). Having said that, cuda-opencl is called by the ICD loader, not the other way around. So I'm not sure if it's accurate to express the ICD loader as a dependency of cuda-opencl, rather should be up to the user to manage this aspect. Even though in practical scenarios it's needed.

This package isn't used anywhere else apart from being grouped in the cuda-libraries metapackage.
I can see why conda-forge added it. I'm open as to whether we should. The deps don't look too difficult.

@danpetry DO you have a link to some documentation that could help us understand what's at play? I'm not verry familiar with all of this (read I have zero knowledge).

https://registry.khronos.org/OpenCL/

I'll address the dependencies and come back to this discussion if it's looking like a headache for some reason

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_7de4zy8whg/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:46: host_section_needs_exact_pinnings: output "cuda-opencl": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:0: no_global_test: Global tests are ignored in multi-output recipes.
clone/recipe/meta.yaml:46: host_section_needs_exact_pinnings: output "cuda-opencl": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:106: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:34: outputs_not_unique: output "cuda-opencl": Output name is not unique
clone/recipe/meta.yaml:1: missing_tests: output "cuda-opencl": No tests were found.
clone/recipe/meta.yaml:106: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:106: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
4 Errors and 4 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_d3y63993_4/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:106: license_file_overspecified: Using license_file and license_url is overspecified.
clone/recipe/meta.yaml:46: host_section_needs_exact_pinnings: output "cuda-opencl": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:46: host_section_needs_exact_pinnings: output "cuda-opencl": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:0: no_global_test: Global tests are ignored in multi-output recipes.

===== ERRORS =====

clone/recipe/meta.yaml:1: missing_tests: output "cuda-opencl": No tests were found.
clone/recipe/meta.yaml:106: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:106: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:34: outputs_not_unique: output "cuda-opencl": Output name is not unique
===== Final Report: =====
4 Errors and 4 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_5bn5j_mkze/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:0: no_global_test: Global tests are ignored in multi-output recipes.
clone/recipe/meta.yaml:106: license_file_overspecified: Using license_file and license_url is overspecified.
clone/recipe/meta.yaml:46: host_section_needs_exact_pinnings: output "cuda-opencl": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:46: host_section_needs_exact_pinnings: output "cuda-opencl": Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:106: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:106: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:34: outputs_not_unique: output "cuda-opencl": Output name is not unique
clone/recipe/meta.yaml:1: missing_tests: output "cuda-opencl": No tests were found.
===== Final Report: =====
4 Errors and 4 Warnings were found


push notification icon

Check this: https://docs.microsoft.com/en-us/appcenter/sdk/push/android#configure-notifications-default-values

Did you re install after last release? @horpeyloaded

Yup I did but still not showing app icon.


The performance is poor. I train my dataset on 8 GPUs for 200epoches

my dataset is put the folder like cityscapes, the label is grayscale with single channel, the parameters is below:
datset:cityscapes
backbone:resnet
out_stride:16
lr:0.01
lr_scheduler:poly
loss_type:ce
epoch:200
base_size:1024
crop_size:513

@XUYUNYUN666  Trained with COCO2017, got same result with you. Have you figure out the question why the learning curve like this?

I have update the code, please try again.

So far I also encounter this problem, how could I solve it, I used the default setting in the code with freezing bn
@XUYUNYUN666 @jfzhang95
Thank u guys very much

Hi, can I get ur code for visualization of training result?


android build failed

Android build failing :
react-native-text-input-mask ==> ^3.1.4
react-native==> 0.68.2
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':react-native-text-input-mask:compileReleaseKotlin'.

Internal compiler error. See log for more details

Same configuration and the same problem...
My Kotlin Gradle plugin version is 1.6.21
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':react-native-text-input-mask' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31

I added two lines in android/build.gradle and it worked for me.
buildscript {
    ext {
        buildToolsVersion = "31.0.0"
        minSdkVersion = 21
        compileSdkVersion = 31
        targetSdkVersion = 31
        kotlin_version = '1.6.10' <<-- This line
.
.
.
    dependencies {
        classpath("com.android.tools.build:gradle:7.0.4")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("de.undercouch:gradle-download-task:4.1.2")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version") <<-- This line

I added two lines in android/build.gradle and it worked for me.
buildscript {
    ext {
        buildToolsVersion = "31.0.0"
        minSdkVersion = 21
        compileSdkVersion = 31
        targetSdkVersion = 31
        kotlin_version = '1.6.10' <<-- This line
.
.
.
    dependencies {
        classpath("com.android.tools.build:gradle:7.0.4")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("de.undercouch:gradle-download-task:4.1.2")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version") <<-- This line

Worked for me

Hi,
same problem for me but I need min kotlin_version = '1.6.20'
* What went wrong:
The Android Gradle plugin supports only kotlin-android-extensions Gradle plugin version 1.6.20 and higher.
The following dependencies do not satisfy the required version:
project ':react-native-text-input-mask' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10

I added two lines in android/build.gradle and it worked for me.
buildscript {
    ext {
        buildToolsVersion = "31.0.0"
        minSdkVersion = 21
        compileSdkVersion = 31
        targetSdkVersion = 31
        kotlin_version = '1.6.10' <<-- This line
.
.
.
    dependencies {
        classpath("com.android.tools.build:gradle:7.0.4")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("de.undercouch:gradle-download-task:4.1.2")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version") <<-- This line

For others, who are still facing the issue, This is in library's build file, not your app build file.

Here my temp solution.  Find this file in your node_modules folder https://github.com/react-native-text-input-mask/react-native-text-input-mask/blob/master/android/build.gradle and change kotlin versiyon here.

My solution was update react-native-text-input-mask to 3.2.0 from 3.1.4 and keeping (in my case) kotlin-gradle-plugin version to 1.7.10:
dependencies {         classpath("com.android.tools.build:gradle:7.1.1")         classpath("com.facebook.react:react-native-gradle-plugin")         classpath("de.undercouch:gradle-download-task:5.0.1")         classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")     }


[SpringMVC] @RequestHeader(required=true) is not rendering as required

If I create a @RequestHeader(required=true) parameter, the rendered JSON spec for the parameter is not marked as "required":true.

Fixed by PR https://github.com/kongchen/swagger-maven-plugin/pull/159


Make TelemetryDaemonEventListener and JsonTracer thread-safe and async

Ensure that modifications and enumeration of the JsonTracer::listeners collection is safe with multiple threads adding/removing listeners at the same time as we're writing messages. A ConcurrentBag is used to achieve this aim.
The 'dispose' flag of the JsonTracer has been updated to be read and compared/written atomically to prevent threading issues with listeners being added after disposal has started.
Also ensure the TelemetryDaemonEventListener does not hold up calling threads posting messages over the pipe by queuing up messages to be sent on a single background thread.
Fixes #903

@mjcheetham I have been holding off on reviewing this because it's still marked as Draft.
Let me know when you're ready for me to take a look and I'll be happy to, thanks!

@mjcheetham I have been holding off on reviewing this because it's still marked as Draft.
Let me know when you're ready for me to take a look and I'll be happy to, thanks!

Hey @wilbaker I've updated the PR to non-draft and changed to a lock-free approach in JsonTracer. The TelemetryDaemonEventListener also now does not hold up the calling threads sending the messages over the pipe – this is handled in a lock-avoiding background thread.

I think this is looking really good.  Only had a couple questions on if we should swap the events and handlers for an interface also if we can simplify the unit tests with more abstraction.


Test OAUTH with SSO Service

As a developer, I'd like to test the OAUTH support from shell/UI using the UAA running inside the PCF instance.
Acceptance:

I'm able to successfully negotiate with SSO via user/pass credentials
I'm able to successfully authenticate from shell/ui
I can see who's logged in
Logging out from the active session, redirects back to login screen

Shell/UI was verified with UAA running in a PCF installation.


It's because of this fixture, which uses subprocess to spawn an HTTP server
https://github.com/pangeo-forge/pangeo-forge/blob/71c367cc42f0696da5d08c132f9940e9964fc6ce/tests/conftest.py#L60-L74
I'm not sure how we can fix this.

This is not actually resolve. I just make the test skip on github until we have a better solution.

This is not actually resolve. I just make the test skip on github until we have a better solution.

Maybe this would help? https://pypi.org/project/pytest-httpserver/

Maybe this would help? https://pypi.org/project/pytest-httpserver/


About Page Revamp

[ ] Add "About" button to navbar
[ ] Create a popup module (similar to the notifications one but bigger) for information about the project.

Information to include

How we're maintained by ICSSC Projects
Link to Discord (discord.gg/GzF76D7UhY)
Link to GitHub

I'll get you more specific info for the About module later. For now, feel free to put dummy text and just get the functionality of the popup working.

Ok, I made a popup with dummy text at the about-page branch.

LMK what the next steps are.

AntAlmanac is a schedule planning tool for UCI students.
The website is maintained by the ICS Student Council Projects Committee.
Interested in helping out? Join our Discord or checkout the code on GitHub.


Add median method + test

NOTE!
Should be rewritten a bit when sort method will be implemented.
Solves issue #21

@RShalman Hej Roman, I'm sorry to say that I prefer PR #33 for the .median method. I think your median calculation for an even size is wrong, it calculates the average.
Your median test for an even size incidentally matches the average and that's why everything is green.
Thank you for your support and work! I really appreciate your help! I'm very likely to merge #33. Please don't put any more effort in this PR if you don't want to


If using in a sandbox, different filesystem

https://stackoverflow.com/questions/38959067/dns-lookup-issue-when-running-my-go-app-in-termux

Not related to gclone

Related to the gclone build in arm device yes

Related to the gclone build in arm device yes

Try with rclone 1st, gclone is just a copy of rclone with SA rotation for Google drive.


[Rule] Empty [Tags]

We do not cover empty [Tags]:
*** Test Cases ***
Test
    [Tags]
    Log  1

If there is empty [Tags] and:

there is no Default Tags that are being overwritten
there is Default Tags but all test cases have [Tags] (rendering Default Tags useless)
report an issue.

There could be issue if __init__.robot contain Default Tags and we're overwriting it in child robot suite.

Empty settings can use NONE to be more explicit.


Update natural-sort.js

fix javve/list.js#385

Excited to see this pending, whatever it may end up looking like upon final commit. Also running into this bug. :)

This needs to get merged! :)

👍

Also would like to see this merged

Sorry for the slowness! It's now updated as of version v1.3.0 https://github.com/javve/list.js/tree/v1.3.0

The problem is that the unicode comparison. We get divide by zero here.
if (/[^\x00-\x80]/.test(oFxNcL + oFyNcL) && oFxNcL.localeCompare) {
                        var comp = oFxNcL.localeCompare(oFyNcL);
                        return comp / Math.abs(comp);
}


Navigate directly to lineage via URL

Instead of loading the page and being presented with the top ("first") lineage beadplot, we could enable users to navigate to a specific lineage with a modified URL, e.g., https://filogeneti.ca/CoVizu/B.1.1.529.
If we're feeling ambitious, we could even do this for accession numbers.. I wonder if OICR already implemented something like this.

If the user enters an unknown lineage in the URL, should the user be redirected to an error page or just load the regular page without selecting any cluster?

I was thinking of doing this client-side, so we do a page load and then immediately run a search query.

Let's stick with the /?search=B.1.1.529 approach - this gives us room to add additional functionality like focusing on a specific sample.


Can't generate tile for overlapped polygons with intersecting borders

I have a .geojson file with 24 polygons - some of them are overlapped with each other with intersecting borders. I want to convert the .geojson file to an .mbtile file and show it on the OpenStreetMap via Leaflet. When I did this by Tippecanoe, I found that the outcome lost some features (compared to its .geojson counterpart), especially the intersecting borders - they now disappeared in the map!!
How can I keep all these overlapped borders of polygons during the generation of .mbtiles and make them all correctly shown in the map? I used the following command and options to generate the .mbtiles file:
tippecanoe -z20 -o overlapped_polygon.mbtiles -l counties input_file.geojson
PS:

I have tried using "--no-line-simplification --no-simplification-of-shared-nodes --no-tiny-polygon-reduction --no-feature-limit --no-tile-size-limit --no-tile-compression" options in Tippecanoe and they made no difference in the outcome. I still can't keep all the features of partly intersecting polygons.
Similar issues have been discussed here https://github.com/mapbox/tippecanoe/issues/311 by @ericfischer and @palmerj. But we have different goals - they wanted to simplify and combine the intersecting borders into one line,  while what I want to do is to keep the borders visually distinguishable in the map.

More examples are shown here (for small overlapped regions, tippecanoe worked well to capture the frame of polygons, i.e. the second row; but for larger area, it failed to reproduce the frame of both polygons):

I used tippecanoe v1.35.0 and tileserver-gl v2.6.0. The corresponding .geojson file is appended here: input_file.txt
How can I fix this problem? How can I preserve all the intersecting borders as well as other features of the overlapped polygons while dumping the .geojson file into .mbtiles by tippecanoe?

I have a .geojson file with 24 polygons - some of them are overlapped with each other with intersecting borders. I want to convert the .geojson file to an .mbtile file and show it on the OpenStreetMap via Leaflet. When I did this by Tippecanoe, I found that the outcome lost some features (compared to its .geojson counterpart), especially the intersecting borders - they now disappeared in the map!!
How can I keep all these overlapped borders of polygons during the generation of .mbtiles and make them all correctly shown in the map? I used the following command and options to generate the .mbtiles file:
tippecanoe -z20 -o overlapped_polygon.mbtiles -l counties input_file.geojson
PS:
1. I have tried using "_--no-line-simplification --no-simplification-of-shared-nodes --no-tiny-polygon-reduction --no-feature-limit --no-tile-size-limit --no-tile-compression_" options in Tippecanoe and they made no difference in the outcome. I still can't keep all the features of partly intersecting polygons.

2. Similar issues have been discussed here #311 by @ericfischer and @palmerj. But we have different goals - they wanted to simplify and combine the intersecting borders into one line,  while what I want to do is to keep the borders visually distinguishable in the map.

More examples are shown here (for small overlapped regions, tippecanoe worked well to capture the frame of polygons, i.e. the second row; but for larger area, it failed to reproduce the frame of both polygons):

I used tippecanoe v1.35.0 and tileserver-gl v2.6.0. The corresponding .geojson file is appended here: input_file.txt
How can I fix this problem? How can I preserve all the intersecting borders as well as other features of the overlapped polygons while dumping the .geojson file into .mbtiles by tippecanoe?

Well, I figured out what the problem is! It lies in the mistaken data type of the .geojson file. I should not use the type 'MultiPolygon' to store polygons that have overlapped regions, i.e

Instead, one should use type 'Polygon' in .geojson file to store each of the overlapped polygon!!


Errors on Splash Page

See bottom right

That's some weird behavior (in the first screenshot), most likely an issue with the font or your browser.
Mind telling me what browser this is?
Thanks for letting me know @Miserlou :+1:

OSX, Firefox 48. It only happens in one strip.

That's unusual, the second screenshot is partially fixed already, when the screen is resized to be smaller the footer and github buttons will go to the bottom.
But the font getting cut off is a little weird, any theories?
I will look into this tomorrow, as I have to sleep :zzz: right now.

Figured it out, its an issue with Firefox rendering a font, nothing I can do.


Upload fails

Hi there,
I am trying to upload a file using your action, but somehow it is not going as expected.

The file is uploaded "successfully", at least there is no error in the log, but when I check the FTP there is no file. Only the folder (which I am in) was created, but there are no files. Meanwhile on my Linux workflow it looks even worse with errors.

Manually uploading via WinSCP from my computer works, so it has nothing to do with the FTP server.
name: Build java-cef 5359

on:
  push:
    branches:
      - master
  workflow_dispatch:

jobs:
  java-cef-linux:
    runs-on: [ubuntu-20.04]
    strategy:
      matrix:
        platform: [amd64, arm64]
    steps:
      - uses: actions/checkout@v3
      - name: Install deps and build
        run: |
          sudo apt update
          sudo apt install build-essential g++ cmake ninja-build openjdk-17-jdk python3 libgtk2.0-dev -y
          mkdir jcef_build && cd jcef_build
          export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
          export JAVA_INCLUDE_PATH=/usr/lib/jvm/java-17-openjdk-amd64/include
          cmake -G "Ninja" -DPROJECT_ARCH=${{ matrix.platform }} -DCMAKE_BUILD_TYPE=Release ..
          ninja -j4
          mv native/Release linux_${{ matrix.platform }}
          strip linux_${{ matrix.platform }}/libcef.so
          tar -czf linux_${{ matrix.platform }}.tar.gz linux_${{ matrix.platform }}
          sha256sum linux_${{ matrix.platform }}.tar.gz > linux_${{ matrix.platform }}.tar.gz.sha256
      - name: Upload JCEF
        uses: bayssmekanique/action-simple-file-upload@v2
        with:
          user: ${{ secrets.FTP_USER }}
          password: ${{ secrets.FTP_PASSWORD }}
          host: ${{ secrets.FTP_HOST }}
          src: 'jcef_build/*.{tar.gz,tar.gz.sha256}'
          dest: 'java-cef-builds/${{ github.sha }}/'
          verbose: true

  java-cef-windows:
    runs-on: [windows-2022]
    strategy:
      matrix:
        platform: [amd64, arm64]
    steps:
      - uses: actions/checkout@v3
      - uses: ilammy/msvc-dev-cmd@v1
      - name: Build
        run: |
          mkdir jcef_build && cd jcef_build
          cmake -G "Ninja" -DPROJECT_ARCH=${{ matrix.platform }} -DCMAKE_BUILD_TYPE=Release ..
          ninja -j4
          cd native
          ren Release windows_${{ matrix.platform }}
          cd ..
          move native/windows_${{ matrix.platform }} windows_${{ matrix.platform }}
          tar -czf windows_${{ matrix.platform }}.tar.gz windows_${{ matrix.platform }}
          Get-FileHash -Algorithm SHA256 -Path "windows_${{ matrix.platform }}.tar.gz" | Out-File "windows_${{ matrix.platform }}.tar.gz.sha256"
      - name: Upload JCEF
        uses: bayssmekanique/action-simple-file-upload@v2
        with:
          user: ${{ secrets.FTP_USER }}
          password: ${{ secrets.FTP_PASSWORD }}
          host: ${{ secrets.FTP_HOST }}
          src: 'jcef_build/*.{tar.gz,tar.gz.sha256}'
          dest: 'java-cef-builds/${{ github.sha }}/'
          verbose: true

That is where the windows uploads went. The path is included in the folder name. But does not tell why the linux variant is not uploading at all.

@1zun4, can you help clarify, did the Linux upload from the GH Action fail, but the Windows upload succeed from the GH Action?

Not able to reproduce issue.