Helm install gives 404 Not Found

Hi, I've been trying to get trow running on a bare-metal Kubernetes cluster, but I seem to get stuck at receiving a 404 page from Ingress.
I installed trow with the following command:
helm install trow -f values.yaml trow/trow
values.yaml
ingress:
    enabled: true
    annotations:
        cert-manager.io/issuer: letsencrypt-prod
        kubernetes.io/ingress.class: nginx
    tls:
    - hosts:
      - <trow.domain.tld>
      secretName: trow-ingress-tls
trow:
    domain: <trow.domain.tld>
    user: <user>
    password: <pass>

The certificate is generated, ingress is up:
kubectl describe ingress trow
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
Name:             trow
Namespace:        default
Address:          <IP_ADDRESS>
Default backend:  default-http-backend:80 (<error: endpoints "default-http-backend" not found>)
TLS:
  trow-ingress-tls terminates <trow.domain.tld>
Rules:
  Host               Path  Backends
  ----               ----  --------
  <trow.domain.tld>
                     /*   trow:8000   <IP_ADDRESS>:8000)
Annotations:         cert-manager.io/issuer: letsencrypt-prod
                     kubernetes.io/ingress.class: nginx
                     meta.helm.sh/release-name: trow
                     meta.helm.sh/release-namespace: default
Events:
  Type    Reason             Age    From                      Message
  ----    ------             ----   ----                      -------
  Normal  CREATE             6m35s  nginx-ingress-controller  Ingress default/trow
  Normal  CreateCertificate  6m35s  cert-manager              Successfully created Certificate "trow-ingress-tls"
  Normal  UPDATE             5m36s  nginx-ingress-controller  Ingress default/trow

curl -vvv <IP_ADDRESS>:8000 -H "Host: <trow.domain.tld>"
*   Trying <IP_ADDRESS>:8000...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8000 (#0)
> GET / HTTP/1.1
> Host: <trow.domain.tld>
> User-Agent: curl/7.72.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Connection: close
< Content-Type: text/html; charset=utf-8
< Server: Rocket
< Docker-Distribution-API-Version: registry/2.0
< Content-Length: 89
< Date: Thu, 03 Sep 2020 10:22:51 GMT
<
<!DOCTYPE html>

Welcome to Trow, the cluster registry

* Closing connection 0

curl -vvv https://<trow.domain.tld>
*   Trying <IP_ADDRESS>:443...
* Connected to <trow.domain.tld> (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=<trow.domain.tld>
*  start date: Sep  2 06:35:09 2020 GMT
*  expire date: Dec  1 06:35:09 2020 GMT
*  subjectAltName: host "<trow.domain.tld>" matched cert's "<trow.domain.tld>"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x556f313b09f0)
> GET / HTTP/2
> Host: <trow.domain.tld>
> user-agent: curl/7.72.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 404
< server: nginx/1.19.2
< date: Thu, 03 Sep 2020 10:28:26 GMT
< content-type: text/html
< content-length: 153
< strict-transport-security: max-age=15724800; includeSubDomains
<

<title>404 Not Found</title>

404 Not Found

nginx/1.19.2

* Connection #0 to host <trow.domain.tld> left intact

curl -vvv https://<IP_ADDRESS> -H "host: <trow.domain.tld>"
*   Trying <IP_ADDRESS>:443...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
* Could not resolve host: =H
* Closing connection 1
curl: (6) Could not resolve host: =H
* Closing connection -1
curl: (3) URL using bad/illegal format or missing URL

helm get all trow gives:
NAME: trow
LAST DEPLOYED: Thu Sep  3 12:18:25 2020
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
USER-SUPPLIED VALUES:
ingress:
  annotations:
    cert-manager.io/issuer: letsencrypt-prod
    kubernetes.io/ingress.class: nginx
  enabled: true
  tls:
  - hosts:
    - <trow.domain.tls>
    secretName: trow-ingress-tls
trow:
  domain: <trow.domain.tls>
  password: <pass>
  user: <user>

COMPUTED VALUES:
affinity: {}
fullnameOverride: ""
image:
  pullPolicy: Always
  repository: containersol/trow
imagePullSecrets: []
ingress:
  annotations:
    cert-manager.io/issuer: letsencrypt-prod
    kubernetes.io/ingress.class: nginx
  enabled: true
  gke: false
  hosts:
  - host: null
    paths:
    - /*
  tls:
  - hosts:
    - <trow.domain.tls>
    secretName: trow-ingress-tls
nameOverride: ""
nodeSelector: {}
replicaCount: 1
resources: {}
service:
  port: 8000
  type: NodePort
tolerations: []
trow:
  domain: <trow.domain.tls>
  password: <pass>
  user: <user>
  validatingWebhooks:
    enabled: false
volumeClaim:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 20Gi

HOOKS:
MANIFEST:
---
# Source: trow/templates/secret.yaml
apiVersion: v1
data:
  pass: <pass>
kind: Secret
metadata:
  name: trow-password
---
# Source: trow/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
  name: trow
  labels:
    helm.sh/chart: trow-0.3.0
    app.kubernetes.io/name: trow
    app.kubernetes.io/instance: trow
    app.kubernetes.io/version: "0.3.0"
    app.kubernetes.io/managed-by: Helm
spec:
  type: NodePort
  ports:
    - port: 8000
      targetPort: http
  selector:
    app.kubernetes.io/name: trow
    app.kubernetes.io/instance: trow
---
# Source: trow/templates/statefulset.yaml
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: trow
  labels:
    helm.sh/chart: trow-0.3.0
    app.kubernetes.io/name: trow
    app.kubernetes.io/instance: trow
    app.kubernetes.io/version: "0.3.0"
    app.kubernetes.io/managed-by: Helm
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: trow
      app.kubernetes.io/instance: trow
  serviceName: trow
  template:
    metadata:
      labels:
        app.kubernetes.io/name: trow
        app.kubernetes.io/instance: trow
    spec:
      containers:
      - name: trow-pod
        image: "containersol/trow:0.3.0"
        imagePullPolicy: Always
        args:
          - "--no-tls"
          - "-n"
          - "<trow.domain.tls>"
          - "-u"
          - "<user>"
          - "--password-file"
          - "/etc/trow/pass"
        ports:
        - name: http
          containerPort: 8000
        volumeMounts:
        - name: data-vol
          mountPath: /data
        - name: trow-pass
          mountPath: /etc/trow
          readOnly: true
      volumes:
        - name: trow-pass
          secret:
            secretName: trow-password
            items:
              - key: pass
                path: pass
      securityContext:
        runAsUser: 333333
        runAsGroup: 333333
        fsGroup: 333333
  volumeClaimTemplates:
    - metadata:
        name: data-vol
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 20Gi
---
# Source: trow/templates/ingress.yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: trow
  labels:
    helm.sh/chart: trow-0.3.0
    app.kubernetes.io/name: trow
    app.kubernetes.io/instance: trow
    app.kubernetes.io/version: "0.3.0"
    app.kubernetes.io/managed-by: Helm
  annotations:
    cert-manager.io/issuer: letsencrypt-prod
    kubernetes.io/ingress.class: nginx
spec:
  tls:
    - hosts:
        - "<trow.domain.tls>"
      secretName: trow-ingress-tls
  rules:
    - host: <trow.domain.tls>
      http:
        paths:
          - path: /*
            backend:
              serviceName: trow
              servicePort: 8000

NOTES:
Welcome to Trow:

Setup your DNS to point at Trow

If you are running Trow on http, there will need to be a TLS ingress in front of it as Trow needs to be run over TLS.
Please see the examples found on the docs at https://github.com/ContainerSolutions/trow/blob/master/docs/HELM_INSTALL.md

To test you can run and login with the credentials for <user>

$ docker login https://<trow.domain.tls>

Please Contribute To the Trow Project at https://github.com/ContainerSolutions/trow/

Thanks for the report.
From looking at your output it doesn't seem than the ingress is forwarding to the pod correctly. I think there may be a mistake in the chart somewhere. I'll try to recreate this.

Great. I did see the same thing and wonder, apologies for not posting it earlier. I'll get the chart updated.
Thanks a lot for the report.

Great, but when working on that could you add the annotation for ingress:
nginx.ingress.kubernetes.io/proxy-body-size: "0"
I think that can be the standard for the helm chart no?

Hi and thanks for repoting this issue!

Great, but when working on that could you add the annotation for ingress:
nginx.ingress.kubernetes.io/proxy-body-size: "0"
I think that can be the standard for the helm chart no?
I think the idea is that we are refraining from doing any tech-specific suggestions as this annotation is only for nginx ingress and not for any of the other ingresses that are available for use (traefik, envoy, etc)

I think the idea is that we are refraining from doing any tech-specific suggestions as this annotation is only for nginx ingress and not for any of the other ingresses that are available for use (traefik, envoy, etc)

Yeah, I agree with not generating side effects of installing this package. Good that you have it mentioned in the manual a few times so it is easy to solve. I think there is not more that can be done than that.

Fix merged for /* issue in #180.
I'm going to close this, but I think we should do some more work to make sure the correction ingress annotations are added automatically or strongly suggested.
Thanks for the report @sab24 .


Convert tensorflow save to keras save

Hello,
I want to use the Udacity simulator with my network which is written in tensorflow and pretty_tensor.

I wanted to ask if there is a convert code or another way to convert (X.meta,X.index,X.data to->X.json,X.h5)
Thanks
Yossi

Hi,
These links to any simulators can't be opened.  Are there any other useful links to downloads these simulators?  In the Meanwhile, the datasets can't be downloaded according to your links. Can you fix this errors?
Thanks
Jason


Crash on Android when calling init()

This issue was also opened and closed here https://github.com/geektimecoil/react-native-onesignal/issues/490#issuecomment-403284564 but this issue still exists, as the comments (mine included) show. I am opening this as a new issue to bring attention to it again.
Description:
When I call the function OneSignal.init(), my app crashes immediately. This only happens on Android builds. There are no issues on iOS builds.
Environment
my dependencies are as follows:
  "dependencies": {
    "color": "1.0.3",
    "lodash": "4.13.1",
    "moment": "2.13.0",
    "native-base": "2.6.1",
    "react": "16.3.1",
    "react-native": "0.55.4",
    "react-native-onesignal": "^3.2.5",
    "react-navigation": "^2.5.5"
  }

Steps to Reproduce Issue:
my root build.gradle:
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.3'
    }

}

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}

my /app build.gradle:
buildscript {
   repositories {
       maven { url 'https://plugins.gradle.org/m2/' } // Gradle Plugin Portal
   }
   dependencies {
       classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.99.99]'
   }
}

apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'

apply plugin: "com.android.application"

import com.android.build.OutputFile

project.ext.react = [
    entryFile: "index.js"
]

apply from: "../../node_modules/react-native/react.gradle"

def enableSeparateBuildPerCPUArchitecture = false

/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = false

android {
    compileSdkVersion 27
    buildToolsVersion "27.0.3"

    defaultConfig {
        applicationId "com.nativebasekitchensink"
        minSdkVersion 16
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    }
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "x86"
        }
    }
    buildTypes {
        release {
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
        }
    }
    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
            def versionCodes = ["armeabi-v7a":1, "x86":2]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
            }
        }
    }
}

dependencies {
    compile project(':react-native-onesignal')
    compile project(':react-native-vector-icons')
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.compile
    into 'libs'
}

@joeyscarim I was having same issue. Then what I found that the OneSignal.getTags() was firing multiple times very rapidly from my js file. Then I applied a check in my js file to not fire getTags() more than once very rapidly. After that it is working fine.

@ashokkumar88 where did you see OneSignal.getTags() firing? I don't see it firing anywhere and can't seem to reach it for a console log since my app crashes right away when init happens.

I had the same error as you, but followed the solution found in #515 . Not it works!

@joeyscarim I noticed that your com.android.support:appcompat version (23) is older than your compileSdkVersion (27).
Can you try replacing it with this?
compile "com.android.support:appcompat-v7:27.1.0"

@joeyscarim Closing due to no response - did you get your issue fixed? If not please reply and I'll be happy to reopen and help investigate.


[ENH] Add build-id to the UI

Adding some build-id to the UI to show which commit the live tool is currently running off of.

I think having the release version would be enough here - and that could be hardcoded for now if there is no simple way to get it during the build on GH actions.


Hello

Hi

Please close this issue.
As this is not related to any purpose and irrelevant.
Best regards,
@NitkarshChourasia


Can I create default users at startup?

EMQ version
emqx/emqx:latest --> 3.1.1
Docker version
Which docker-engine version?
Docker version 18.09.5-ce, build e8ff056dbc
How docker info?
Containers: 21
Running: 1
Paused: 0
Stopped: 20
Images: 916
Server Version: 18.09.5-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb.m
runc version: 69ae5da6afdcaaf38285a10b36f362e41cb298d6
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.19.36-1-MANJARO
Operating System: Manjaro Linux
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.494GiB
Name: superasus
ID: JAUE:7XYH:PR6U:YWPS:BOHG:JENZ:N2OK:KHJH:5JGI:NDBT:IZN2:UEUR
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false
Question
I'm sorry for my english.
Hi, I'm starting to use emqx recently, is there a way to create default users via docker-compose env?
I searched the official guide and saw that the tool to do this should be
emqx_ctl admins add root public test
This command should create a new admin user with name "root", password "public" and tagged with "test" tag if I understand correctly.
Is there a way to do this via docker?

@Ciruxx Sorry to reply so late
We don't currently support creating admins via environment variables. If you need to, you can edit start.sh and build your own docker image.


snapshot does not work

I just generating a snapshot on grafana 4, but it just showed an empty panel.
Has this feature been added?
also , does it  work on grafana 5?

yes, works in grafana 5.  snapshots is still on the todo list... see #35


CLI deploy fails if a Network Watcher already exists in another RG and is enabled

Commandline deploy fails to set the Flow Log Configuration if the Network Watcher exists in the non-default resource group and is enabled.
Steps to Reproduce
Steps to reproduce the behavior:

Create a placeholder resource group named (e.g. "repro")
Create and enable a network watcher instance in that non-default RG
az network watcher configure --resource-group repro --locations usgovvirginia --enabled
Start the deployment:
az cloud set -n AzureUSGovernment
az login
src/deploy.sh -s {your_subscription_id}
--location usgovvirginia
--tf-environment usgovernment

Expected behavior
The deployment should either check early in the deployment script if a network watcher already exists in a non-default resource group location and enabled (e.g. az network watcher list --query "[].location") and handle before provisioning any resources.
This could also be handled with a custom configuration option that uses a variable for the network watcher name and associated RG in /modules/subnet/main.tf, such as the following.
resource "azurerm_network_watcher_flow_log" "nsgfl" {
network_watcher_name = "${var.network_watcher_name}"
resource_group_name  = "${var.network_watcher_rg_name}"
The failure message should then tell the user that the default RG "NetworkWatcherRG" is required (or, if a configuration variable is added, the deployment could automatically update these variables or fail with instructions for the user to set these variables and retry the deployment).
Actual behavior
The following error occurs when provisioning the Flow Log Configuration. This leads to a loop to "destroy" and retry to create the resources again. The root error occurs on ../../modules/subnet/main.tf line 89 for resource "azurerm_network_watcher_flow_log"
Error: Code="ResourceGroupNotFound"
Message="Resource group 'NetworkWatcherRG' could not be found."
Example error text:

Error: Error setting Flow Log Configuration for target "/subscriptions/-my-sub-id/resourceGroups/rg-t0-mlz/providers/
Microsoft.Network/networkSecurityGroups/tier0vmsnsg" (Network Watcher "NetworkWatcher_usgovvirginia"/Resource Group
"NetworkWatcherRG"): network.WatchersClient#SetFlowLogConfiguration: Failure sending request: StatusCode=0 -- Original
Error: Code="ResourceGroupNotFound" Message="Resource group 'NetworkWatcherRG' could not be found."
on ../../modules/subnet/main.tf line 89, in resource "azurerm_network_watcher_flow_log" "nsgfl": 89: resource
"azurerm_network_watcher_flow_log" "nsgfl" {

Screenshots

Additional context
Operating System: n/a
Terraform Version: n/a
Cloud (public, Azure Government, etc.): Encountered in Azure Gov, but I did not test in commercial (so unsure if this is specific to environment)

The team discussed a workaround is to introduce whatever the Network Watcher resource's Resource Group name is manually into the relevant resources like Flow Logs.


chore(deps): don't request ineffective ssh_key_from_memory feature from git2-rs

The ssh_key_from_memory feature has had no effect in the last 6 years. It will be removed in the next major release (https://github.com/rust-lang/git2-rs/pull/1087) and it will thus be an error to request it.

Thanks for your contribution!


Could this be built using Vagrant?

I'm curious if you ever tried to write a Vagrant script for this.  I've seen some other people have done it.

Additionally this script seems to handle the entire creation process.


Investigate integration with f.lux

this idea is so cool! would love to see that!

It might be possible to listen for Night Shift events: https://github.com/elanini/NightShifter


Get data from web to server

Hello @tananaev I want to try to fetch the data of combobox from web to server. do you think it possible to do it? http://prntscr.com/fwjgg6

It is definitely possible to do. Check extjs documentation for more info.

okay @tananaev thank you ,I'll be use the selenium libraries for webelement.

I thought Selenium is an automation framework. Also, I'm not sure how it's related to your original question which seems to be about ExtJS.


Envisalink (sometimes) prevents HA from starting

Home Assistant release (hass --version):
0.61.1
Python release (python3 --version):
3.6.4
Component/platform:
Envisalink
Description of problem:
Envisalink crashes with a "connect call failed" error and HA fails to start.
Problem-relevant configuration.yaml entries and steps to reproduce:
envisalink:
  host: <IP_ADDRESS>
  panel_type: !secret evl_panel
  user_name: !secret evl_user
  password: !secret evl_password
  code: !secret evl_code
  partitions:
    1:
      name: 'Alarm'

Traceback (if applicable):
cwhits:~/.homeassistant $ hass
Config directory: /Users/cwhits/.homeassistant
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=homeassistant, service=turn_off>
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=homeassistant, service=turn_on>
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=homeassistant, service=toggle>
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=homeassistant, service=stop>
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=homeassistant, service=restart>
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=homeassistant, service=check_config>
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=homeassistant, service=reload_core_config>
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=persistent_notification, service=create>
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=persistent_notification, service=dismiss>
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.loader] Loaded mqtt from homeassistant.components.mqtt
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.loader] Loaded api from homeassistant.components.api
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.loader] Loaded logger from homeassistant.components.logger
2018-01-17 11:31:37 INFO (MainThread) [homeassistant.setup] Setting up logger
2018-01-17 11:31:37 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/tasks.py", line 182, in _step
    result = coro.throw(exc)
  File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 777, in create_connection
    raise exceptions[0]
  File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 764, in create_connection
    yield from self.sock_connect(sock, address)
  File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/selector_events.py", line 450, in sock_connect
    return (yield from fut)
  File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/futures.py", line 327, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
    future.result()
  File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/futures.py", line 243, in result
    raise self._exception
  File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/selector_events.py", line 480, in _sock_connect_cb
    raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionResetError: [Errno 54] Connect call failed ('<IP_ADDRESS>', 4025)
/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
2018-01-17 11:31:47 WARNING (MainThread) [homeassistant.setup] Setup of envisalink is taking over 10 seconds.

Additional info:
If I wait a few mins, cancel, and restart it'll eventually start without an issue.

The problem still remains when communications fail to the envisalink. HA fails to start,


fix(web): keep title in sync with iframe

This PR adds a new listener that updates document title to keep in sync with the inner iframe.
Fixes #908

not sure but i assume this must also be rebased on the latest release? @randombenj

not sure but i assume this must also be rebased on the latest release? @randombenj

I believe there's no conflict and can be rebased right on merge? I'd like to hear some feedback before I can reach to my dev laptop if a rebase is required.


[feat request] Square-crop Notification Albumart

I wonder if anyone else would find this issue helpful, or if devs are interested in implementing this/pulling my changes?
I unfortunately uses Samsung as my main phone and OneUI's android 13 doesnt have the new mediaSession notification style. What we got is the old school squared album art on the left, and metadata on the right. While I do try to keep all my album arts to be as square as possible, occasionally there are landscape or portrait album arts mixed in. The squared album art does a "contain" instead of "cover" so annoying white spaces will show. My solution is to crop any loading album art to squares: https://github.com/doublesymmetry/KotlinAudio/commit/c514071bde3636302eabbd51e6dfd50aa0bc87d3
Although is this a good idea to push a PR or better kept in my own repo?
Samsung's media notification looks like:
https://www.reddit.com/r/oneui/comments/x46hbm/concept_one_ui_5_what_couldve_been_notifications/

im using a 1280*720 pic https://i.ytimg.com/vi/5IOVkstxkdE/maxresdefault.jpg
cropped pixel ->not cropped pixel -> cropped samsung -> not cropped samsung

i guess its better to make it as an option...
and very unfortunately oneUI6 still (partly) has this square notification


Is it safe to remove asterisks from keywords in NCBI BioSample templates?

The mandatory keywords/column headings in the NCBI BioSample template are usually prefixed with an asterisk. Those were removed in 5d75d77af9aa33ed8d83e9dc568507809ae69c67. @ahmadchan is it save to do this or could this break the submission process?

No, it will not disturb the regular submission process. Here are the example that I have tested and these are without *   https://github.com/airr-community/airr-standards/tree/master/NCBI_implementation/Filled_NCBI_Templates. Moreover, I have added new examples in the NCBI filled templates in the development branch.


Update av2-series.md

Adding pricing calculator to A series page

@rishabv90 : Thanks for your contribution! The author(s) have been notified to review your proposed change. @migerdes

#sign-off I am the PM owner of AV2 series. Adding a link to pricing information.

@rishabv90: I'm sorry - only the author of this article, @migerdes, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Hi  @rishabv90 - Contributors who work in the Product Manager role should work in the private repository for advanced quality validations and staging (you also can sign off directly in the private repo). To edit an article in the private repo from within the documentation, after you select Edit on an article page,  add “-pr” to the URL. Would you make the updates in the private repo? We'll close this PR. Thanks!


Update experimental test code mixed_sp_wrr_traffic_test.go

Update the DSCP mapping based on on the test plan

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 50.147%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
854

Relevant Lines:
1703

💛  - Coveralls

Close this PR and open a new PR to fix the build and rebase errors

https://github.com/openconfig/featureprofiles/pull/1026


Metrics of http client may have memory/size problem

https://github.com/line/armeria/pull/261 has some problem if client access path is like
http://localhost/parameter?=${variable}  or http://localhost/parameter/${variable}
It's not suitable when variable has lots variation.

I think both server and client are affected by this issue.

For the server-side, we could use some string representation of PathMapping of a Service instead of a path. We may want to make it configurable.
For the client-side, I'm not sure. Maybe we should make it configurable?

Yes, I think maybe both client/server need to be configurable if it's not RPC.
ex:
(path, method)->{
  if(path.matches("/foo/.*/bar"){
    return "/foo/${id}/var";
  }
 return null; //null means don't log.
}

or just provide patterns array and log when matched.

Will fix this today. Stay tuned for a PR.

Fixed via #280


Outdated info

Windows 10 1803 includes more Per-user services than listed in the article.
Example: CaptureService
List should be updated

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: aaa890d7-00c3-8e74-54af-3f3aa2aeb4c4
Version Independent ID: 0ad75b5c-a4e1-a954-163a-fd8922b8f760
Content: Per-user services in Windows 10 and Windows Server
Content Source: windows/application-management/per-user-services-in-windows.md
Product: w10
GitHub Login: @lizap
Microsoft Alias: elizapo

@andlommy Thanks for the heads up. We are confirming some info with engineering then we will update the topic.

@andlommy the list is updated.


Crash in dma-buf on kernel 5.14 (and possibly 5.11/5.12/5.13, can't confirm)

Are you using the latest driver?
Yes

Are you using the latest EVDI version?
Yes. Tried both the version bundled with DLM and a pull from the devel branch.

If you are using a DisplayLink device, have you checked 'troubleshooting' on DisplayLink's website?
Yes

Is this issue related to evdi/kernel?
Yes

Linux distribution and its version
Debian Bookworm

Linux kernel version
5.14.0-1 (5.14.6)

Xorg version (if used)
1.20.11

Desktop environment in use
XFCE 4.16.1

Trigger:
Happens when unplugging, resizing, or repositioning a DisplayLink device. Initial connection + mirror works fine.

 I don't have copies of 5.11/5.12/5.13 to test with.

hi @ApeironTsuka ,
can you guide me what exactly i need to do in order to use the patch?
i have the same issue with kernel 5.11

Patch worked for me as well with 5.14.15-arch1-1 kernel.

This question isn't really related to the issue, but I'm not sure where else to ask to rule out if this is a "doesn't work on my machine" issue or something related to nvidia.
Does your DisplayLink screen update correctly when any transform (rotation/reflection) is applied? In my case, the screen only redraws when the cursor is being moved (regardless of which display it's being moved on) if there's a rotation and/or reflection applied, but works fine when not. I'm not sure if this is an nvidia issue, a me issue, or something that affects more than nvidia.

@groovyman
I have no idea what you mean by this: how does the daemon process behave (CPU usage)
Here are my CPU details as well as my GPU details. I am also using Dell Docking Station D3100

+-----------------------------------------------------------------------------+
Sorry for my unclear question.  I like to know, if your system also shows a DisplayLink daeman, that runs with a high cpu consumption. see https://displaylink.org/forum/showthread.php?s=35ed3da47fb401dcdedb472d024f57bf&t=65983
On my old notebook i traced that process and found out, that it does nothing in the user space. Do we still have that situation?

@groovyman  I have seen that before many times that my DisplayLink daemon peaking on CPU, but haven't noticed that recently. One more thing, since applied the patch, the issue is fixed, but I experienced the following issue three times over the past two weeks:
My laptop was unplugged and was up and logged in. I plugged in the docking station and experienced an issue with graphic rendering on all plugged in monitors, but not the laptop one. The mouse was working, could see the mouse moving, everything was working perfectly fine. Unplugging and plugging the cable back did not help solve the rendering issue and I had to reboot the machine each time to fix the issue. This only happened three times so far and it is not something I know how to reproduce.

Salut @mortezaalizadeh
that sounds interesting to me. I hope that i can test your changes on my Ryzen Notebook and another (but a bit) older Intel hardware.
I noticed on both devices a high CPU consumption that took place inside the kernel, cause itrace did not reportet any activity in the user space.

@groovyman  I take it back, I think the reason I did not notice the high CPU usage was because I have got recently a better laptop. DisplayLinkManager still uses lots of CPU:

This was fixed in eb1ff68 and is part of 1.10.0/the upstream beta release. Forgot to close when the commit landed.


Update aws-core, http-client-spi, ... to 2.17.238

Updates

software.amazon.awssdk:aws-core
software.amazon.awssdk:http-client-spi
software.amazon.awssdk:netty-nio-client

from 2.17.104 to 2.17.238.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #224.


Remove all stdlib dependencies from the tbi test.

This should eliminate any deployment target issues that we may run into when
using this test.
rdar://24370377

@swift-ci smoke test and merge


[bug] Multichain Error: Browser Freezes When Wallet Network Differs from AppKit

Link to minimal reproducible example
https://appkit-lab.reown.com/library/multichain-ethers-solana/
Summary
When using multichain with MetaMask or Phantom, if the network in the wallet differs from the one selected in AppKit, instead of prompting a network switch, the application throws an error (as shown in the image below, selected network on appkit is ethereum and on wallet its base). Within a few minutes, the browser becomes unresponsive due to the frequency of the error, and I am unable to switch networks or disconnect from the wallet. Even manually disconnecting from the wallet does not stop the error. However, when the wallet and AppKit networks are the same, everything functions correctly.

List of related npm package versions
 "@reown/appkit": "^1.0.7",
 "@reown/appkit-adapter-ethers": "^1.0.7",
 "@reown/appkit-adapter-solana": "^1.0.7",
 "@solana/wallet-adapter-wallets": "^0.19.32",

Hi, I have the same issue.
I use base as the network, when I join metamask which is linked to ethereum, I have infinite loop of errors.


fix: repository URL in Cargo.toml

Change the repository from denoland/deno to denoland/deno_core to fix the
information shown by https://crates.io/crates/deno_core
BTW is there a reason why Deno crates don't publish their API docs to https://docs.rs/?

BTW is there a reason why Deno crates don't publish their API docs to https://docs.rs/?

Nevermind. I see the docs are available at https://docs.rs/deno_core/0.205.0/deno_core/, it's just Crates.io that does not link there 🤷🏻


Google Summer of Code

OpenStreetMap is taking part in Google Summer of Code (GSoC) this year, and I was thinking a Tegola project might be possible.
A good scope would be issues which apply to using OpenStreetMap data with Tegola. In particular, those which touch on some combination of

world-wide data;
continually updating data; or
tools to make queries easier to write against standard OSM PostGIS schemas (e.g. #127)

Is there any interest in this from Tegola developers?

I would/could help out. Never done something like this before. What would be needed from out side?

There's two parts - proposals, then doing the work. We're in the first part right now, so what's needed is a project idea. There are some others at https://wiki.openstreetmap.org/wiki/Google_Summer_of_Code/2018/Project_Ideas.
An idea needs to be

software development, not pure documentation or other similar activities, although a good project should include documenting it;
about three months of coding for a student;
doable without expert knowledge of the subject; and
something that will get merged and used if done properly.

It can consist of multiple sub-issues.
Once the project idea is listed, it's a matter of answering questions from potential students.
If a student is interested and submits a proposal, it can be selected. This depends on the quality of the proposal, the number of slots OSM gets assigned, and other factors.
During the coding period, the mentor needs to be in regular communication with the student, making sure that they're progressing, not getting stuck, etc. What this means varies from project to project. Some do emails, some do blog posts on osm.org, some do other means. You can treat it similarly to an internship or co-op student. How much help they need to get started depends a great deal on how much technical debt a project has and the quality of its documentation.
The mentor is also responsible for filling out two evaluations of the student, one at mid-term, the other at the end.
https://google.github.io/gsocguides/mentor/ has the full mentors guide.

@pnorman absolutely interested! Lots of possible projects a student could work on. Just a couple off the top of my mind:

data providers: we have a backlog of data providers that could be implemented for various geospatial data stores.
performance profiling: we're always looking for performance gains. learning to analyze programs via pprof and then implementing the changes is rewarding and valuable.
continually updating data: like you mentioned, deploying OSM data and keeping it up to date requires stitching together several technologies. R&D on this task and documenting it would be valuable to to numerous parties.

Looks like the student application period starts March 12th. When do you need proposals by?

data providers: we have a backlog of data providers that could be implemented for various geospatial data stores.

Realistically the only non-PostGIS provider that would get used in an OSM setup would be shapefiles, for the coastlines. Other spatial data stores tend not to be used with OSM.

performance profiling: we're always looking for performance gains. learning to analyze programs via pprof and then implementing the changes is rewarding and valuable.

This would be difficult to wrap into a proposal. I'm not saying it couldn't be turned into a good project, but it's hard to distill down into a statement of what work is intended.

continually updating data: like you mentioned, deploying OSM data and keeping it up to date requires stitching together several technologies. R&D on this task and documenting it would be valuable to to numerous parties.

Do we have a good grasp of what is missing from Tegola for this?  If all that's missing is documentation then there's not enough for a project. I suspect there are features missing, but we have to identify what. I know that the other parts of the toolchain have all the code required - after all, that's what the standard raster setup does.

Looks like the student application period starts March 12th. When do you need proposals by?

Soon ;) Interested students are already asking questions about projects, and the ones that ask early are more likely to succeed in my experience.

data providers: we have a backlog of data providers that could be implemented for various geospatial data stores.

Realistically the only non-PostGIS provider that would get used in an OSM setup would be shapefiles, for the coastlines. Other spatial data stores tend not to be used with OSM.

This was something that has been suggested. #160 There is already a library that can read and write shapefiles in go. The main thing would be to figure out the indexing strategy, whether r-index makes sense or the system @murphy214 is proposing.
The surface area is nice, there is a need, and any code they create will be used.
Even creating an initial dumb provider that is slow and does not use an index is a good a start.

I think an imposm + postgis + golang/geo would be a nice experiment that could yield a single binary that looks at a protobuf file and gets you vector tiles.

This was something that has been suggested. #160 There is already a library that can read and write shapefiles in go. The main thing would be to figure out the indexing strategy, whether r-index makes sense or the system @murphy214 is proposing.
The surface area is nice, there is a need, and any code they create will be used.
Even creating an initial unindexed provider that is slow is a good a start.

How many weeks of work do you think that would be for a student?

@pnorman I would estimate a month to end to end depending on the foundational knowledge the student has. If we need to bring the student up to speed on the world of GIS then we should consider some additional time.
The task may require sending in code to the Go Shapefile package depending on what is discovered during the implementation. There are also a few r-tree indexes packages out there but I have not had time to review them. A ground up implementation would be a fun and challenging project. Additionally we could use the r-tree implementation for the planned geo json provider (#162)

@pnorman Do you think #160 idea makes sense, should we add that to the list of project for OSM?

I'm worried that it's not enough work, otherwise yes. On the other hand, it's characteristic to underestimate time required...
For it I'd draw the connection between coastlines and other preprocessed data and shapefiles, and how all OSM styles use data that comes from shapefiles.
Another idea that would be useful for debugging and flexibility would be geojson output as well as mvt.

We are going to be doing some major rework on the generation part of the stack; at current it's not nicely set up for generating other formats. @ARolek and I still have to come up with how we want to architect that piece, so I don't think it would be a good spot, as it will change quite a bit.

I'd add #338 as another that's necessary, and it doesn't look like a large amount of work.

Another detail to note about the Shapefile provider is that we have two approaches that have been discussed:

Reading in the features on startup of the server and building a spatial index that lives in memory.
Reading the .sbn file which MAY come alongside the shapefile.

In memory spatial indexes will be helpful for other providers (i.e. geojson) but there is a UX cost to generating those indexes on init of the server. Ideally we could use both strategies, leveraging the sbn file if it exists. It would also be nice to help add support for sbn file generation to the go-shp package (https://github.com/jonas-p/go-shp/issues/23).

@pnorman as for #338, I don't think this one is actually, more than two or three weeks worth of work for someone who is new to the codebase. Most of that time will be spent on getting to know the code base, with the fix being three days or so. The big part of that is what do we do when the number is not there before we were assigning it a new random number. I actually post an issue about this on MVT because the spec claims it's a should, but the proto file says it's required... I'll go more into this in the actual issue, instead of side tracking this one.

We had no students apply for the Tegola-related projects this year. Interestingly, we did have one student submit a proposal for a project in Go that's related to the API, so I'm now looking for a mentor for it.


The Second Image doesn't fit in the well

Render Images from Data Sources

https://www.freecodecamp.com/challenges/render-images-from-data-sources
Issue Description

It's not a big deal, but the second image is outside of the well and doesn't look so neat.
Browser Information

Browser Name, Version: Google Chrome, Version 52.0.2743.116 (64-bit)
Operating System: Mac OS X Version El Capitan 10.11.6
Mobile, Desktop, or Tablet: Desktop

Your Code

Cat Photo Finder

      The message will go here

      <button id = "getMessage" class = "btn btn-primary">
        Get Message
      </button>

Screenshot

I realised that it's probably intentional after doing the next challenge.
Doh!


Consistencies with scaling

Update some text for consistency and corrected "scaled down" to "scaled in"

@andresnava : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@andresnava : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@andresnava : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Change git submodule to point to the https url

so brew install doesn't blow up if you don't have github public ssh key setup

:facepalm: thanks finney


parsing MWSError

Hi all,
If I make a simple MWS call and get an error like the one below, is it possible right now to just do something like this:
except mws.mws.MWSError as e:
    print(e.code+':'+e.message)

Here's a sample MWS Error:
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<console>", line 2, in <module>
  File "/usr/local/lib/python3.6/site-packages/mws/utils.py", line 250, in _wrapped_func
    return request_func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/mws/mws.py", line 724, in list_marketplace_participations
    return self.make_request(data)
  File "/usr/local/lib/python3.6/site-packages/mws/mws.py", line 259, in make_request
    raise error
mws.mws.MWSError: <?xml version="1.0"?>
<ErrorResponse xmlns="https://mws.amazonservices.com/Sellers/2011-07-01">
  <Error>
    <Type>Sender</Type>
    AccessDenied
    <Message>AuthToken is not valid for SellerId and AWSAccountId.</Message>
  </Error>
  <RequestID>2e0a27e6-d3fe-4390-8019-03fabe6ce00a</RequestID>
</ErrorResponse>

You are not guaranteed to get those attributes:
>>> from mws import MWSError
>>> MWSError
<class 'mws.errors.MWSError'>
>>> dir(MWSError)
['__cause__', '__class__', '__context__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', '__suppress_context__', '__traceback__', '__weakref__', 'args', 'response', 'with_traceback']
>>>

You can see there are no .text or .code attributes on there.
MWSError declaration:
https://github.com/python-amazon-mws/python-amazon-mws/blob/develop/mws/mws.py#L61
see we only add the response attribute.
Example usage:
https://github.com/python-amazon-mws/python-amazon-mws/blob/develop/mws/mws.py#L143

Hi @Bobspadger

see we only add the response attribute.

Thanks for the reply. I used the response object here and I'm able to get the status code using response.status_code and all other attributes of this object, very helpful.

cool stuff 👍


[feature]  #3468: Server-side cursor

Description

disallow deserialization of queries with incorrect signature
return iterator over query execution result instead of Vec (iterator is lazy evaluated)
add server-side cursor to return query result in batches

Linked issue

Closes #3468

Benefits

Checklist

[ ] I've read CONTRIBUTING.md
[ ] I've used the standard signed-off commit format (or will squash just before merging)
[ ] All applicable CI checks pass (or I promised to make them pass later)
[ ] (optional) I've written unit tests for the code changes
[ ] I replied to all comments after code review, marking all implemented changes with thumbs up

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

244 of 899 (27.14%)  changed or added relevant lines in 41 files are covered.
2964 unchanged lines in 69 files lost coverage.
Overall coverage decreased (-1.8%) to 57.636%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cli/src/stream.rs
0
1
0.0%

cli/src/torii/utils.rs
0
1
0.0%

core/src/smartcontracts/isi/domain.rs
1
2
50.0%

tools/kagami/src/docs.rs
0
1
0.0%

version/derive/src/lib.rs
29
30
96.67%

client/src/http.rs
2
4
50.0%

core/src/kura.rs
4
6
66.67%

data_model/src/query/sorting.rs
1
4
25.0%

client_cli/src/main.rs
0
4
0.0%

core/src/smartcontracts/isi/triggers/mod.rs
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

client_cli/src/main.rs
1
0%

client/src/http_default.rs
1
0%

cli/src/main.rs
1
0%

config/base/src/runtime_upgrades.rs
1
51.72%

core/src/smartcontracts/isi/account.rs
1
20.59%

core/src/smartcontracts/isi/asset.rs
1
26.01%

core/src/smartcontracts/mod.rs
1
67.86%

core/src/sumeragi/network_topology.rs
1
96.76%

crypto/src/merkle.rs
1
96.23%

data_model/src/account.rs
1
52.21%

Totals

Change from base Build<PHONE_NUMBER>:
-1.8%

Covered Lines:
19825

Relevant Lines:
34397

💛  - Coveralls


Alternate fix for react components

None of the react components made by discord use the valid lifecycle function UNSAFE_componentWillMount so by patching it onto the base component that all other components extend, the function is called during the lifecycle and we can get their constructor. Not the most elegant solution but it does work and does not require tree traversal on channel switch.

Elegant as long as discord has no plans to override this lifecycle function) which I don't think they will)

I've updated my own PR


"save & execute" does not react after recent pull in

I updated to the most recent nightly build and pulling the most recent contents from master branch this afternoon. After that, clicking the "save & execute" button of the configuration window of a view node (e.g. ) does not react and hence, does not load a visualization map.

it worked until yesterday (prior recent pull of master branch) though


Icecast live stream (http/MP3) hangs after a while (Android)

Hi! I've got some trouble playing an icecast live stream in background in Android. After a while it just hangs without firing any events. Remote play of MP3 files works, on iOS both Icecast and remote files sources work good. Any hints? Thank you :)

Is there any error or stack trace that you can provide us? What is icecast live stream?

Unfortunately no error or stack trace... It simply stop consuming the stream. It is a normal MP3 stream served by an icecast media server (http://icecast.org) the only difference from a standalone MP3 is that the live stream does not have a fixed duration
On iOS it works with no issues, only Android seems affected
On Android i've temporarly switch to flutter_radio to workaround the problem
Have a nice day :)

closed in favour of #383


Improve datetime support for linecharts

Currently we provide as "x" type date which converted to datetime on zafira level.
It would be nice to be able to convert to day/month/quarter/year etc.
"axes": {
"x": {
"key": "CREATED_AT",
"type": "date",
"ticks": "functions(value) {return 'wow!'}"
}
}
Example:
"type": "datetime" - existing approach
"type": "date" - only date without time
all the rest - TBD

Only 3 explicitly defined params could be set to n3-charts axes "type" property:  "linear", "log" or "date", further customization seems not possible.


[bug 1195747] Handle "unknown" for country field in hb post

This is a stop gap fix to handle "unknown" as a value for the country
field for HB posts. What's going on now is that it throws an HTTP 400
error. This fixes it so that "unknown" gets changed to "UNK" which is a
valid value.
Ultimately we should fix this in HB. There's a PR to fix it there. Once
it's fixed there, we can undo this change.
r?

@mythmon This is sort of an emergency fix. Can you look at this soon?

/me looks

I commented on some oddities. They aren't bad, I just want to make sure I am interpreting things correctly. Assuming my understanding is correct, r+.

^^^ That fixes the test. I'll wait for Travis and then land it.

Thank you!


SAM++: Enhancing Anatomic Matching using Semantic Information and Structural Inference

In SAM++, for the semantic branch, there should be a label (e.g., lesion, kidney). As a result, is it supervised or not self-supervised?
What's more, query inference using fixed-points based structural inference seems also an average of the mapping of 3 fixed points, isn' it? (Am I understand right?)

The original SAM is purely self-supervised, but we found it may be confused when two organs are adjacent and without clear borders, so we added semantic organ masks as supervision to enhance the embedding. Now it has supervision, but I think it is not "supervised" in the traditional way, because our goal is universal landmark detection, but we did not use landmark supervison. Maybe kind of weakly supervised.

About the fixed-points based structural inference, please refer to our paper: https://arxiv.org/pdf/2306.13988.pdf and our code: https://github.com/alibaba-damo-academy/self-supervised-anatomical-embedding-v2/blob/main/tools/demo_semantic_stable_points.py
We first use the mapping of fixed points to estimate a transform matrix, then use it to transfer the point.

In SAM++, for the semantic branch, there should be a label (e.g., lesion, kidney). As a result, is it supervised or not self-supervised? What's more, query inference using fixed-points based structural inference seems also an average of the mapping of 3 fixed points, isn' it? (Am I understand right?)

The three fixed points displayed in the figure are used for demonstration purposes only. If we select a 5x5x5 cubic region around the template point, the total number of points is 125, and we can expect to obtain dozens of fixed points. These fixed points are employed to estimate the transform matrix $\mathbf{T}$. Finally, the query point location is computed from the transform matrix $q=Tt$.


using include() function with Query fails on Pointer collection CLP restriction

Please read the following instructions carefully.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[X ] You've met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.

[X ] You're running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases

[ X] You've searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=✓&q=is%3Aissue Chances are that your issue has been reported or resolved before.

[ X] You have filled out every section below. Issues without sufficient information are more likely to be closed.

--
Issue Description
I currently have the following code which was migrated from and currently works without a problem on Parse.com
            var Truck = Parse.Object.extend("Truck");
            var truckObject = new Truck();
            truckObject.id = requestParams.truckId;
            query.equalTo("truck", truckObject);

            query.include('vendor', 'truck', 'overrideMenu');
            query.limit(1000);

            return query.find()
            .then(function(scheduleResults){});

The query.find() call fails with the following exception
{"message":"Permission denied for this action.","code":119}
When trouble shooting this issues I noticed that if I remove VENDOR from the INCLUDE function then everything works fine. The VENDOR field is a pointer to a record in the collection called vendor .
The CLP for collection vendor is as follows:

I noticed that when I check the box for FIND permission on the CLP the error goes away. However I feel that this behavior is incorrect since it is a direct pointer load and should be treated as a GET read rather then a FIND read.
Also passing in useMasterKey also fixes the issue and while in this case it is an acceptable work around I believe the core behavior is wrong when using an include function to load pointer objects with a CLP of GET = false
Steps to reproduce
Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.

Create a collection object called collection1 with a pointer field to collection2
Uncheck the GET permission on the CLP of collection 2
Run a QUERY on collection1 and include a call to the include function so that the full row of collection2 is loaded as well.

The call will fail with a permission error.
Expected Results
Since I assume that the include does a GET I don't see why the query would fail. My assumption is the the collection2 pointer field would load successfully
{"message":"Permission denied for this action.","code":119}
[FILL THIS OUT]
Environment Setup

Server

parse-server version: 2.15.5
Operating System:    Mac OS X (nodeJS running locally)
Hardware:             Macbook Air
Localhost or remote server? local

Database

MongoDB version: [3.1.0-1.5
Storage engine:  Dont know
Hardware:       AWS
Localhost or remote server? Remote server running on AWS

Logs/Trace
You can turn on additional logging by configuring VERBOSE=1 in your environment.
[FILL THIS OUT]

I have not had this problem. FWIW, in my code (at least with an older version of the JSSDK), it would complain if I tried to do:
query.include('vendor', 'truck', 'overrideMenu')
My structure is more like...
query.include(["vendor", "truck", "overrideMenu"])
Don't know if that was corrected in later versions of the SDK and I just have the array formatting in there due to legacy reasons, but thought I would share.

Thanks for your comments. I did try putting it in an array like you suggested.
In your code, does "vendor" have a CLP where FIND is unchecked? When I check that box on "vendor" CLP the issue is resolved.

@araskin Was the column in question added after you did the Parse migration. I remember earlier on, I did notice something off about one of my columns... and it was related to permissions.

I can successfully replicate your problem. I believe the issue is due to Parse internally using FIND instead of GET when executing query includes.

@sprabs No the column was part of the original collection prior to the migration.
Thanks @tarekskr . That analysis makes sense. For now, I am just using the masterKey flag to work around the problem but I guess it should be fixed.

@araskin Just make sure you're never using the masterKey outside of Cloud Code. Never on the client side of course.

@tarekskr absolutely. I try to avoid any direct REST API calls (though I do have some). Almost all of the calls from the front end or to specifically created cloud code functions.


set the background transparent

Hi,
I'm trying to integrate this module in my project and I want to set the background transparent with the self.backgroundColor = [UIColor clearColor], but every time I got the black background, can anyone figure it out?
Thanks

Would this be useful to you?
https://github.com/zhxnlai/ZLSinusWaveView/blob/master/EZAudioPlayFileExample/EZAudioPlayFileExample/PlayFileViewController.m#L55

Same result with black background.

Hey folks - I had the same issue, resolved by setting Opaque to NO.
self.audioPlot.opaque = NO;


added image support for Ticker

Now we just have to make pictures upload and storing from the admin interface


DKPY2: Update vagrant build file for new version

As per heading. The current file seems to work, so action is to review the dependencies and confirm nothing should change.

@hamishwillee Reviewed the dependencies. Can confirm nothing needs to change (how fortunate!)


Request for .so library in AMD64 Platform

Thank you for providing CUDA implementation with PCL.
Can you please share the .so library in AMD64 platform?

I would also appreciate this one.

+1