Different components are sometimes unavailable and sometimes available after reboot (flapping)

Home Assistant release with the issue: 0.83.2 and 0.82.0

Last working Home Assistant release (if known): not a single one. Having these problems since the beginning.
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io

Component/platform: Raspberry Pi 3 Model B

Description of problem:
I'm having these problems since a year right now and I can't find the solution. I have a  home assistant client running trough Hass.io on my raspberry Pi with the following components enabled:

Tado smart thermostat
Philips Hue lights
Ring Pro video doorbell
Z-wave network with lots of sensors
Sony Bravia TV
Apple TV (suddenly stopped working at the moment)
Spotify
Xiaomi air quality monitor
Gogogate 2 garage door trough a custom cover component
Asus router with device_tracker

I'm very happy with home assistant and it is wonderful software to build your own smart home. However there are always components who aren't working after a reboot. In some home assistant versions it's worse than in others. This last one is again terrible so I reloaded a snapshot with HA 0.82.0 which also has these problems but less serious.
When i reboot my system one of the following components isn't loading and giving errors:

Tado smart thermostat → I've noticed that sometimes the climate component loads but none of the sensors and vice versa. But they do not load all at the same time.
Philips Hue lights → lights suddenly don't load anymore without warning.
Ring pro video doorbell → I get an error with unable to load ring component.

It is a very strange problem because every time I reboot HA, one of the components work while the other two don't load or partially load (in case of tado). When I do a reboot of the hass.io host system (and I am very lucky or the stars align or something) then everything loads like it should. I have a lot of errors during booting but I don't know how to handle them. I'm getting  desperate because I would really love to have a stable system. Maybe the raspberry Pi isn't heavy enough to handle everything? I don't know anymore.
Could you guys please take a look at my setup because I suppose that other users are also having the same problems if they start with expanding their system and building more complex automations.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: LOCATION
  longitude: LOCATION
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 19
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: LOCATION

# Show links to resources in log and frontend

# Enables the frontend
frontend:

recorder:
  purge_interval: 2
  purge_keep_days: 4
  include:
    domains:
      - switch
      - media_player
      - climate
      - light
      - device_tracker
      - binary_sensor
      - sun
      - cover
    entities:
      - sensor.wasmachine_power
      - sensor.woonkamer_humidity
      - sensor.woonkamer_heating
      - sensor.woonkamer_temperature
      - sensor.heiman_temperature_humidity_sensor_hs1htz_temperature
      - sensor.heiman_temperature_humidity_sensor_hs1htz_relative_humidity
      - sensor.wasmachine_exporting
      - sensor.temp_koelkast
      - sensor.xiaomi_air_quality_monitor
      - sensor.luchtkwaliteit_stat_mean
      - sensor.br_symbol
      - sensor.werk

# Enables configuration UI
config:

http:
  # Uncomment this to add a password (recommended!)
  api_password: !secret api_password
  # Uncomment this if you are using SSL or running in Docker etc
  # base_url: hassio.local:8123
  base_url: http://hassio.local:8123
  cors_allowed_origins:
    - http://<IP_ADDRESS>:7080

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:

# Discover some devices automatically
discovery:
#  ignore:
#    - philips_hue

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time.
history:

# View all events in a logbook
logbook:

homekit:
  pincode: !secret homekit

# Track the sun
sun:

# IOS
ios:

# ASUS router
device_tracker:
  - platform: asuswrt
    host: <IP_ADDRESS>
    username: filip
    password: !secret asus

  - platform: bluetooth_tracker
    interval_seconds: 15
    consider_home: 150
    track_new_devices: yes

#  - platform: icloud
#    username: !secret email
#    password: !secret icloud
#    account_name: Filip

tts:
  - platform: google
    language: 'nl'
    cache: true
    cache_dir: /tmp/
    time_memory: 300

# ZWAVE

zwave:
  usb_path: /dev/ttyACM0

# IFTTT

ifttt:
  key: !secret ifttt

# custom_components

battery_state:

# CLOUD

cloud:
  alexa:
    filter:
      include_entities:
        - input_select.was
        - input_boolean.schuifdeur_tado
        - cover.garage
      include_domains:
        - switch
        - media_player
        - binary_sensor
#      exclude_domains:
#        - script

group: !include groups.yaml

# TADO

tado:
  username: !secret email
  password: !secret tado

#tado_v1:
#  username: !secret email
#  password: !secret tado

climate:
  platform: tado

#RING
ring:
  username: !secret email
  password: !secret ring

#TV
media_player:
  - platform: braviatv
    host: <IP_ADDRESS>

  - platform: spotify
    client_id: !secret spotify_cl
    client_secret: !secret spotify

  - platform: alexa
    email: !secret amazon_user
    password: !secret amazon_password
    url: amazon.com

apple_tv:
  - host: <IP_ADDRESS>
    login_id: !secret appletv_login
    credentials: !secret appletv

#pushover
notify:
  - name: pushover
    platform: pushover
    api_key: !secret pushover_api
    user_key: !secret pushover

  - name: notifications
    platform: file
    filename: notifications.csv
    timestamp: true

# Grafieken

history_graph:
  gr1:
    name: Vervuiling
    entities:
      - sensor.xiaomi_air_quality_monitor
    hours_to_show: 24
    refresh: 60

# Cameras

#camera:
#  - platform: ffmpeg
#    name: Garage
#    input: -rtsp_transport tcp -i rtsp://<IP_ADDRESS>:554/onvif1 \

# DATA

#influxdb:
#  host: <IP_ADDRESS>

# SENSORS
sensor:
  - platform: yr
    monitored_conditions:
      - temperature
      - symbol
      - precipitation
      - windSpeed
      - pressure
      - windDirection
      - humidity
      - fog
      - cloudiness
      - lowClouds
      - mediumClouds
      - highClouds
      - dewpointTemperature
      - precipitation

  - platform: darksky
    api_key: **HIDDEN**
    forecast:
      - 1
    monitored_conditions:
      - summary
      - icon
      - nearest_storm_distance
      - apparent_temperature
      - temperature_high
      - apparent_temperature_high
      - cloud_cover
      - precip_intensity

  - platform: ring
    monitored_conditions:
      - battery
      - last_activity
      - last_ding
      - last_motion
      - volume
      - wifi_signal_category

  - platform: time_date
    display_options:
      - 'time'
      - 'date'
      - 'date_time'
      - 'time_date'
      - 'time_utc'
      - 'beat'

  - platform: template
    sensors:
      geluid_bravia:
        value_template: '{{ states.media_player.sony_bravia_tv.attributes.is_volume_muted }}'
        friendly_name: 'Geluid bravia mute?'

  - platform: buienradar
    latitude: 51.166531
    longitude: 4.456499
    monitored_conditions:
      - symbol
      - windspeed
      - pressure
      - precipitation

  - platform: wunderground
    api_key: 1cd5e57fad7fe83b
    pws_id: IHOVE81
    lang: NL
    monitored_conditions:
      - alerts
      - precip_1hr_metric

#  - platform: pi_hole

  - platform: template
    sensors:
      temp_koelkast:
        friendly_name: "Temperatuur koelkast adj"
        unit_of_measurement: "°C"
        value_template: >-
          {{ (states.sensor.heiman_temperature_humidity_sensor_hs1htz_temperature.state | float - 7) | round(2) }}

  - platform: xiaomi_miio
    name: Xiaomi Air Quality Monitor
    host: <IP_ADDRESS>
    token: !secret xiaomi

  - platform: statistics
    entity_id: sensor.xiaomi_air_quality_monitor
    name: luchtkwaliteit_stat
    sampling_size: 5000
    max_age:
      hours: 24

  - platform: waze_travel_time
    name: 'drukte in Mortsel'
    origin: 51.168707, 4.451513
    destination: 51.170369, 4.453144
    region: 'EU'

  - platform: waze_travel_time
    name: 'Werk'
    origin: 51.166537, 4.456295
    destination: 51.158627, 4.405611
    region: 'EU'

  - platform: systemmonitor
    resources:
      - type: disk_use_percent
        arg: /home
      - type: memory_free

binary_sensor:
 - platform: template
   sensors:
     voordeur_beweging:
       friendly_name: Beweging voordeur
       value_template: '{{(as_timestamp(now()) - as_timestamp(states.sensor.ring_voordeur_last_motion.last_updated) < 240)}}'
       device_class: motion

 - platform: template
   sensors:
     voordeur_bel:
       friendly_name: Bel
       value_template: '{{(as_timestamp(now()) - as_timestamp(states.sensor.ring_voordeur_last_ding.last_updated) < 240)}}'
       device_class: motion

 - platform: ring
   monitored_conditions:
     - ding
     - motion

 - platform: threshold
   upper: 20
   entity_id: sensor.badkamer_temperature
   name: badkamer_20

 - platform: template
   sensors:
     people_home:
       value_template: >-
         {{ is_state('sensor.woonkamer_tado_mode', 'HOME')
            or is_state('device_tracker.android2647cd72fe481592', 'home')
            or is_state('input_boolean.iemand_thuis', 'on')
            or is_state('device_tracker.airvanannelies', 'home')
            or is_state('device_tracker.pcjanps4_2', 'home')
            or is_state('device_tracker.pcjanps4', 'home')
            or is_state('device_tracker.daniel', 'home')
            or is_state('device_tracker.iphonevanhilde', 'home') }}

# COUNTER

counter:
  was:
    name: "aantal keren was gedraaid"
    step: 1

# switches

input_boolean:
  test:
    name: 'test schakelaar'
    initial: off
    icon: mdi:gesture-tap

  schuifdeur_tado:
    name: 'Schuifdeur schakelaar bedient tado'
    initial: on
    icon: mdi:door-closed

  wasmachine_messages:
    name: 'Berichten wasmachine'
    initial: on
    icon: mdi:message-alert

  iemand_thuis:
    name: 'Manual override location'
    initial: off
    icon: mdi:home-account

input_select:
  wasmachine:
    name: 'Status wasmachine live'
    options:
      - Klaar
      - Wast
    initial: Klaar
  was:
    name: 'wasmachine'
    options:
      - Klaar
      - Wast
    initial: Klaar
  brievenbus:
    name: 'Brievenbus'
    options:
      - Leeg
      - Post
    initial: Leeg

# GARAGE

cover:
  - platform: gogogate2B
    username: admin
    password: !secret gogogate
    ip_address: <IP_ADDRESS>

Traceback (if applicable):

Additional information:
Errors during booting
2018-12-02 16:31:21 WARNING (MainThread) [homeassistant.components.http] legacy_api_password support has been enabled. If you don't require it, remove the 'api_password' from your http config.
2018-12-02 16:31:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for media_player.alexa which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-12-02 16:31:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for battery_state which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-12-02 16:31:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for cover.gogogate2B which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-12-02 16:31:31 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at <IP_ADDRESS>
2018-12-02 16:31:31 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at <IP_ADDRESS>. Retrying in 2 seconds
2018-12-02 16:31:40 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform tado
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/urllib/request.py", line 1318, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/usr/local/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/usr/local/lib/python3.6/http/client.py", line 1392, in connect
    super().connect()
  File "/usr/local/lib/python3.6/http/client.py", line 936, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/usr/local/lib/python3.6/socket.py", line 704, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/local/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/tado.py", line 64, in setup_platform
    tado, hass, zone, zone['name'], zone['id'])
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/tado.py", line 75, in create_climate_device
    capabilities = tado.get_capabilities(zone_id)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/tado.py", line 114, in get_capabilities
    return self.tado.getCapabilities(tado_id)
  File "/usr/local/lib/python3.6/site-packages/PyTado/interface.py", line 205, in getCapabilities
    data = self._apiCall(cmd)
  File "/usr/local/lib/python3.6/site-packages/PyTado/interface.py", line 81, in _apiCall
    response = self.opener.open(req)
  File "/usr/local/lib/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/usr/local/lib/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.6/urllib/request.py", line 1361, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/usr/local/lib/python3.6/urllib/request.py", line 1320, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Try again>
2018-12-02 16:31:41 WARNING (MainThread) [homeassistant.setup] Setup of counter is taking over 10 seconds.
2018-12-02 16:31:42 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform wunderground is taking over 10 seconds.
2018-12-02 16:31:42 ERROR (MainThread) [homeassistant.components.sensor.wunderground] Error fetching WUnderground data: TimeoutError()
2018-12-02 16:31:42 WARNING (MainThread) [homeassistant.components.sensor] Platform wunderground not ready yet. Retrying in 30 seconds.
2018-12-02 16:31:47 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform ring is taking over 10 seconds.
2018-12-02 16:31:47 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform spotify is taking over 10 seconds.
2018-12-02 16:31:52 WARNING (MainThread) [homeassistant.components.climate] Setup of platform tado is taking over 10 seconds.
2018-12-02 16:31:58 ERROR (MainThread) [homeassistant.components.media_player] spotify: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/local/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac642978>: Failed to establish a new connection: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/me/player/devices (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac642978>: Failed to establish a new connection: [Errno -3] Try again',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/media_player/spotify.py", line 176, in update
    player_devices = self._player.devices()
  File "/usr/local/lib/python3.6/site-packages/spotipy/client.py", line 848, in devices
    return self._get("me/player/devices")
  File "/usr/local/lib/python3.6/site-packages/spotipy/client.py", line 148, in _get
    return self._internal_call('GET', url, payload, kwargs)
  File "/usr/local/lib/python3.6/site-packages/spotipy/client.py", line 110, in _internal_call
    r = self._session.request(method, url, headers=headers, proxies=self.proxies, **args)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 524, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 637, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/me/player/devices (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac642978>: Failed to establish a new connection: [Errno -3] Try again',))
2018-12-02 16:31:59 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform tado is taking over 10 seconds.
2018-12-02 16:32:08 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A <class 'concurrent.futures._base.TimeoutError'> error occurred:
2018-12-02 16:32:30 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A <class 'concurrent.futures._base.TimeoutError'> error occurred:
2018-12-02 16:32:51 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A <class 'concurrent.futures._base.TimeoutError'> error occurred:
2018-12-02 16:33:02 ERROR (SyncWorker_4) [homeassistant.components.device_tracker.bluetooth_tracker] Error looking up Bluetooth device
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py", line 99, in update_bluetooth_once
    result = bluetooth.lookup_name(mac, timeout=5)
  File "/usr/local/lib/python3.6/site-packages/bluetooth/bluez.py", line 59, in lookup_name
    raise BluetoothError ("%s is not a valid Bluetooth address" % address)
bluetooth.btcommon.BluetoothError: _40:98:AD:AF:05:1A is not a valid Bluetooth address
2018-12-02 16:33:02 WARNING (MainThread) [homeassistant.components.binary_sensor.template] Could not render template Beweging voordeur, the state is unknown
2018-12-02 16:33:02 WARNING (MainThread) [homeassistant.components.binary_sensor.template] Could not render template Bel, the state is unknown
2018-12-02 16:33:02 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Temperatuur koelkast adj, the state is unknown.
2018-12-02 16:33:04 WARNING (SyncWorker_19) [homeassistant.components.homekit] You have exceeded the device limit, which might cause issues. Consider using the filter option.
2018-12-02 16:33:04 WARNING (MainThread) [homeassistant.core] Unable to find service hue/hue_activate_scene
2018-12-02 16:33:12 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/local/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac57a128>: Failed to establish a new connection: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.waze.com', port=443): Max retries exceeded with url: /SearchServer/mozi?q=51.158627%2C+4.405611&lang=eng&origin=livemap&lon=19.04&lat=47.498 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac57a128>: Failed to establish a new connection: [Errno -3] Try again',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/waze_travel_time.py", line 74, in <lambda>
    EVENT_HOMEASSISTANT_START, lambda _: sensor.update())
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/waze_travel_time.py", line 203, in update
    self._origin, self._destination, self._region)
  File "/usr/local/lib/python3.6/site-packages/WazeRouteCalculator/WazeRouteCalculator.py", line 37, in __init__
    self.end_coords = self.address_to_coords(end_address)
  File "/usr/local/lib/python3.6/site-packages/WazeRouteCalculator/WazeRouteCalculator.py", line 57, in address_to_coords
    response = requests.get(self.WAZE_URL + get_cords, params=url_options)
  File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 524, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 637, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.waze.com', port=443): Max retries exceeded with url: /SearchServer/mozi?q=51.158627%2C+4.405611&lang=eng&origin=livemap&lon=19.04&lat=47.498 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac57a128>: Failed to establish a new connection: [Errno -3] Try again',))
2018-12-02 16:33:14 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A <class 'concurrent.futures._base.TimeoutError'> error occurred:
2018-12-02 16:33:14 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform wunderground is taking over 10 seconds.
2018-12-02 16:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.master_bedroom is taking over 10 seconds
2018-12-02 16:33:15 ERROR (MainThread) [homeassistant.components.sensor.wunderground] Error fetching WUnderground data: TimeoutError()
2018-12-02 16:33:15 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-12-02 16:33:16 WARNING (MainThread) [homeassistant.components.sensor] Platform wunderground not ready yet. Retrying in 60 seconds.
2018-12-02 16:33:18 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 16:33:24 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.master_bedroom fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/urllib/request.py", line 1318, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/usr/local/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/usr/local/lib/python3.6/http/client.py", line 1392, in connect
    super().connect()
  File "/usr/local/lib/python3.6/http/client.py", line 936, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/usr/local/lib/python3.6/socket.py", line 704, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/local/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
    await self.async_device_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/tado.py", line 245, in update
    self._store.update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 324, in wrapper
    result = method(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/tado.py", line 81, in update
    data = self.tado.getState(sensor['id'])
  File "/usr/local/lib/python3.6/site-packages/PyTado/interface.py", line 197, in getState
    data = self._apiCall(cmd)
  File "/usr/local/lib/python3.6/site-packages/PyTado/interface.py", line 81, in _apiCall
    response = self.opener.open(req)
  File "/usr/local/lib/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/usr/local/lib/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.6/urllib/request.py", line 1361, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/usr/local/lib/python3.6/urllib/request.py", line 1320, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Try again>

#18643 will solve this

Hi, the problem isn't solve, I got problems with

Google calendar
darsky
life 360(custom component)
python script (custom component)
I can confirm that it's a hassio problem, because all works in a homeassistant docker installation with a nuc, now I'm on hassio that I like most, but unfortunately this components not loading, I have to reboot several times, and even with that, there are components that don't work, hope someone helps, I'm on hassio 0.87.1 docker in a nuc


Fix TexturePreview crash when creating an invalid image

Fix https://github.com/godotengine/godot/issues/78358

Thanks!


How to open a particular menu programmatically if more than one menu elementhelp([COMPONENT]): [TITLE]

I want to get ViewChild dynamically to open the menu.
Here is my html code:
<button mat-menu-item [matMenuTriggerFor]="animals" (mouseover)="openOnMouseOver1()">Animal index
Birds
Mammals
<button mat-menu-item [matMenuTriggerFor]="test" #clickHoverMenuTrigger="matMenuTrigger" (mouseover)="openOnMouseOver()">Test index
.ts file code:
@ViewChild(MatMenuTrigger, { static: false }) contextMenu: MatMenuTrigger;
@ViewChild('clickHoverMenuTrigger',{ static: false }) clickHoverMenuTrigger: MatMenuTrigger;
Currently I am getting @ViewChild individually, is there anyway to get this dynamically? I want to open the menu using  this.contextMenu.openMenu() dynamically and close other menu items.
PLease if possible provide StackBlitz example.

Please re-open your troubleshooting issue with a stackblitz showing what you have and what you want it to do. That way we can point you in the right direction


[type:bugfix] fix customized menu invalid bug #1898

What's changed?

fix customized menu invalid bug #1898
Checklist

[x]  I have read the Contributing Guide
[x]  I have written the necessary doc or comment.
[x]  I have added the necessary unit tests and all cases have passed.

Add or update API

[x] I have added the necessary e2e tests and all cases have passed.

/bugfix #1898


Modify source and add build script for IWA compatibility

Add a build script that will generate signed web bundle for IWA..
Modify the source code to allow for IWA CSP restriction compatibilities.

Codecov Report
Patch coverage has no change and project coverage change: -11.19% :warning:

Comparison is base (d867647) 60.56% compared to head (9124fb8) 49.38%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #46       +/-   ##
===========================================
- Coverage   60.56%   49.38%   -11.19%
===========================================
  Files          16       10        -6
  Lines         213       81      -132
  Branches       23        6       -17
===========================================
- Hits          129       40       -89
+ Misses         84       41       -43

see 6 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Updated the commit message to specify what CSP restriction is broken and how the CL should solve it.

Is there any tracking ticket?
Generally LGTM. Could you mention the changes of localized assets(roboto fonts) in the conversation?
IIUC, these localized assets and updates for CSP concerns are required to build IWA.


background-color of selected item is not changed at right timing when using Select with multiple

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

I think Select with multiple and button should change the background color when an item is selected.

Current Behavior

in mobile(width: xs), selected item is not changed immediately when selected. (now changed when next one is selected)

Steps to Reproduce

Link: https://material-ui.com/demos/selects/#multiple-select
Please see this using developer's tool with mobile mode.
Context

Your Environment

Tech
Version

Material-UI
v3.1.0

React
v16.4.1

Browser
Google Chrome 69

@ryusaka Thank you for reporting the issue! It's a regression introduced by #12602. The following diff fixes the problem.
    textAlign: 'left',
    paddingTop: 12,
    paddingBottom: 12,
-   '&$selected': {
+   '&$selected, &$selected:hover': {
      backgroundColor: theme.palette.action.selected,
    },
  },

https://github.com/mui-org/material-ui/blob/2802a1c9c39343e21f6e372c0cf255bc3b82b2f2/packages/material-ui/src/ListItem/ListItem.js#L18-L24
Do you want to work on it :)?


Request - Unable to request money after a refresh

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Click on FAB > Request money > Scan
Upload a receipt > Choose a user
Refresh the page
Click on the Request Button

Expected Result:
Able to request money after the refresh
Actual Result:
Unable to request money after the refresh
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Build: v1.3.74-2
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/54a22fa8-ebc8-4367-b8cd-da1ca786d7ee
https://github.com/Expensify/App/assets/93399543/260dd111-b3fb-49e9-935e-77494bec1c54
https://github.com/Expensify/App/assets/93399543/2a30c7be-ac91-4c35-9470-6ab0ff51897b
https://github.com/Expensify/App/assets/93399543/bdc0b620-ade0-468e-952b-84ef9e20aff7
Expensify/Expensify Issue URL:
Issue reported by: @daveSeife
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695786807078109
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Able to reproduce on staging, not on production

@luacmartins @danieldoglas - I think reverting https://github.com/Expensify/App/pull/27224 fixes the issue, it seems to be on this line:
https://github.com/Expensify/App/blob/main/src/pages/iou/steps/MoneyRequestConfirmPage.js#L222
Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'state')
    at eval (MoneyRequestConfirmPage.js:153:1)

Going to let @luacmartins decide if he wants to CP a fix or CP a revert here, happy to help but don't want to spin up a revert if we want to move this forward.

I don't think this is a blocker. Although you can proceed with the flow on prod, the request also fails with 405 invalid amount because the local blob receipt file is gone after the refresh. Additionally, I think we already fixed it on main since I'm getting redirected back to the receipt selector page upon refresh. Trying to find where we fixed it though to be sure.

I'm not really sure what changed, but I'm always hitting this code on main and being navigated back to the receipt selector.
I'm gonna demote this to NAB since the request also fails on prod (on a different line but same root cause). I'll verify that this is resolved on staging after the next deploy.

It seems like the latest deploy did not fix the issue and the user is no longer redirected to the beginning of the flow. I think we can make this external since it's a navigation issue.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Request - Unable to request money after a refresh
What is the root cause of that problem?
https://github.com/Expensify/App/blob/0aafbf5e450e907947c6d76090d68756c049a7a6/src/pages/iou/steps/MoneyRequestConfirmPage.js#L221-L222
When reloading file will be undefined and receipt also be undefined so the App can't read state of undefined
What changes do you think we should make in order to solve the problem?
we should check if the receipt is valuable before reading state attribute
What alternative solutions did you explore? (Optional)

@luacmartins It seems this issue and https://github.com/Expensify/App/issues/28347 have same RCA.

Thanks for the link @DylanDylann. I agree that they have the same RCA. I'm gonna close this issue in favor of https://github.com/Expensify/App/issues/28347 since it has more details.


cmd/compile: building mips* hangs

Reproduce:
$ GOOS=linux GOARCH=mipsle go build runtime

Introduced by https://go-review.googlesource.com/38801 (cmd/compile: automatically handle commuting ops in rewrite rules). Also shows up on build.golang.org as a blank mipsle column. I presume there's an infinite loop somewhere in one of the mips build rules.
This is currently blocking me, so I'll take a look now.
cc @randall77

Looks like the builder is still wedged, based on build.golang.org. Re-opening until the dashboard is functional again. I still can't remember who runs the mipsle builder, and https://github.com/golang/go/wiki/DashboardBuilders doesn't say.
Whoever runs the mipsle builder, can you kill all the old compilation processes that are spinning, and please update the wiki so I can find you in the future? Thanks.
cc @minux because maybe he knows who runs the builder.

@josharian, the page you linked to references http://farmer.golang.org/builders at the top, and http://farmer.golang.org/builders says who owns it. (Brendan Kirby, imgtec.com)

The owner of the builder is @MIPSbkirby, as per comments in #19641.

Thanks @bradfitz. I edited the wiki to make that section stand out a bit more and filed #19848 as a follow-up.
Thanks, @cherrymui, for pinging Brendan.

I'm killing the build processes that are building commits before fc327a1 to get this cleaned up.  When it starts builds at or after that commit, I'll leave it alone.

Thanks, @MIPSbkirby! Looks like the build dashboard is slowly recovering.


[v1.0.0] ssh key not being created

docker-machine : v0.7.0
docker-machine-vmwareworkstation: v 1.0.0
VMWare Workstation: Licensed v 10.0.7
Windows 7 64-bit
VM is created and started but server.pem ssh key is never created.  Rand create with --debug and nothing was output in regards to the ssh key.  Keep receiving message, waiting on ssh service.  Below is the full output of the log.

Start interactive shell
me@mymachine MINGW64 ~
$ docker-machine ls
NAME      ACTIVE   DRIVER       STATE     URL                         SWARM   DOCKER    ERRORS
default   *        virtualbox   Running   tcp://<IP_ADDRESS>:2376           v1.11.1
me@mymachine MINGW64 ~
$ docker-machine --debug create --driver=vmwareworkstation dev
Docker Machine Version:  0.7.0, build a650a40
Found binary path at X:\Programs\Docker Toolbox\docker-machine-driver-vmwareworkstation.exe
Launching plugin server for driver vmwareworkstation
Plugin server listening at address <IP_ADDRESS>:26935
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at X:\Programs\Docker Toolbox\docker-machine-driver-vmwareworkstation.exe
Launching plugin server for driver vmwareworkstation
Plugin server listening at address <IP_ADDRESS>:26939
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(dev) Calling .GetMachineName
(dev) Calling .DriverName
(dev) Calling .GetCreateFlags
(dev) Calling .SetConfigFromFlags
Running pre-create checks...
(dev) Calling .PreCreateCheck
(dev) DBG | local Boot2Docker ISO version:  v1.11.1
(dev) Calling .GetConfigRaw
Creating machine...
(dev) Calling .Create
(dev) DBG | local Boot2Docker ISO version:  v1.11.1
(dev) Copying X:\myhome.docker\machine\cache\boot2docker.iso to X:\myhome.docker\machine\machines\dev\boot2docker.iso...
(dev) Creating SSH key...
(dev) Creating VM...
(dev) Creating disk 'X:\myhome.docker\machine\machines\dev\dev.vmdk'
(dev) DBG | VixDiskLib: Invalid configuration file parameter.  Failed to read configuration file.
(dev) Virtual disk creation successful.
(dev) Starting dev...
(dev) DBG | executing: X:/Programs/VMware/VMware Workstation/vmrun.exe start X:\myhome.docker\machine\machines\dev\dev.vmx nogui
(dev) Waiting for VM to come online...
(dev) DBG | MAC address in VMX: 00:0c:29:e5:84:5c
(dev) DBG | IP found in DHCP lease table: <IP_ADDRESS>
(dev) DBG | Got an ip: <IP_ADDRESS>
(dev) DBG | SSH Daemon not responding yet: dial tcp <IP_ADDRESS>:22: ConnectEx tcp: i/o timeout
.......
(dev) DBG | MAC address in VMX: 00:0c:29:e5:84:5c
(dev) DBG | IP found in DHCP lease table: <IP_ADDRESS>
(dev) DBG | Got an ip: <IP_ADDRESS>
(dev) DBG | SSH Daemon not responding yet: dial tcp <IP_ADDRESS>:22: ConnectEx tcp: i/o timeout
me@mymachine MINGW64 ~
$ docker-machine ls
NAME      ACTIVE   DRIVER              STATE     URL                          SWARM   DOCKER    ERRORS
default   *        virtualbox          Running   tcp://<IP_ADDRESS>:2376            v1.11.1
dev       -        vmwareworkstation   Running   tcp://<IP_ADDRESS>:2376           Unknown   Unable to query docker version: Unable to read TLS config: open X:\myhome.docker\machine\machines\dev\server.pem: The system cannot find the file
specified.
me@mymachine MINGW64 ~
$

Attempted regenerate certs and still no go:

Docker Machine Version:  0.7.0, build a650a40
Regenerate TLS machine certs?  Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Found binary path at X:\Programs\Docker Toolbox\docker-machine-driver-vmwareworkstation.exe
Launching plugin server for driver vmwareworkstation
Plugin server listening at address <IP_ADDRESS>:27467
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
command=configureAuth machine=dev
Waiting for SSH to be available...
Getting to WaitForSSH function...
(dev) Calling .GetSSHHostname
(dev) DBG | executing: X:/Programs/VMware/VMware Workstation/vmrun.exe list
(dev) DBG | MAC address in VMX: 00:0c:29:e5:84:5c
(dev) DBG | IP found in DHCP lease table: <IP_ADDRESS>
(dev) Calling .GetSSHPort
(dev) Calling .GetSSHKeyPath
(dev) Calling .GetSSHKeyPath
(dev) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o Co
titiesOnly=yes -i X:\myhome.docker\machine\machines\dev\id_rsa -p 22] C:\Program Files\Git\usr\bin\ssh.exe }
About to run SSH command:
exit 0
SSH cmd err, output: exit status 255:
Error getting ssh command 'exit 0' : Something went wrong running an SSH command!
command : exit 0
err     : exit status 255
output  :

You are running this from mingw and from X: drive correct?
Could you try:

mingw from C: drive
powershell X:
powershell C:

I believe it could be related to it running from a different drive.
Thanks

I am running from the C drive, I just obfuscated the paths to my home directory before posting the issue.

Closing issue due to vmware network configuration issue, unless you want to add a check on the ip address of the host.


Help Wanted!!!

Hello iProgramMC i need u help and answer in Gmail or give me a chance to PM you in Discord.
Discord - Amaneck
Mail -<EMAIL_ADDRESS>Sorry to bother you, looking for any opportunity to contact you.

This is definitely NOT the place to contact me about that.


docs: fix type vs. field in comment

Issue number:
Summary
This change addresses an inconsistency in the getting started example of the GraphQL resolver. The docs state:

A type would be a top-level GraphQL Type like Query, Mutation, Todo. A GraphQL Field would be listTodos under Query, createTodo under Mutation, etc.

Changes
The example schema mixed up "type" and "field" - it used field for both the Query type and the getTodo field. Or maybe it was meant to read "field: listTodos, field: getTodo"?
User experience
Due to the mixup I was slightly confused. This change will prevent that from happening in the fture.
Checklist
If your change doesn't seem to apply, please leave them unchecked.

[x] Meet tenets criteria
[x] I have performed a self-review of this change
[ ] Changes have been tested
[ ] Changes are documented
[x] PR title follows conventional commit semantics

Is this a breaking change?
RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Thanks for the contribution @avonengel!


Statement Template "requirements"

In the example for Statement Template, the member "requirements" is used.  Is this the specific name we are using for this member, just a best practice, a generic name of which any can be used, or a typo?  Supporting text would be good :)

This is an editing leftover, it should be rules


modify mcp log outout

https://github.com/istio/istio/issues/10382

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ayj, irisdingbj
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/mcp/OWNERS [ayj]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm
/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ayj, irisdingbj, ozevren
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/mcp/OWNERS [ayj,ozevren]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@irisdingbj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
fdf0504a74a0c8122f41a7aef2151aca15399423
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Validator: Add deprecated tag rule for cooling_tower, waterfall

see corresponding ticket here: https://josm.openstreetmap.de/ticket/17383

@sun-geo I added the waterfall one but for cooling tower the "new tags" don't even have more usage than the "old tag". We can reconsider it later if the numbers/consensus move.


Strike through menu button shortcut should use "S" instead of "X"

Hello, just noticed this small issue. Thought Id push a quick fix.
Thank you for this. You're a hero for building it.

Thanks for opening the merge request. I'd seen it mentioned in the release notes a while back that they'd changed the shortcut (https://github.com/ueberdosis/tiptap/releases/tag/v2.1.0), but had forgotten about updating it. I think it's probably best to just update the default shortcut as you've done here, and anyone can override it with <MenuButtonStrikethrough tooltipShortcutKeys={["mod", "Shift", "X"]} /> if they're using an old version of tiptap (but latest of mui-tiptap). Before merging, I would want to bump the internal dev dependencies for tiptap to at least 2.1.0 so that the demo itself is in alignment with the shortcut being displayed by default. I can come back to this after doing that separately.
In the meantime, you can use <MenuButtonStrikethrough tooltipShortcutKeys={["mod", "Shift", "S"]} /> in your own app.

I also opened an alternative implementation PR https://github.com/sjdemartini/mui-tiptap/pull/314 which checks what keyboard shortcut is configured in the extension, as a way to be backwards compatible and still show mod+Shift+X for users of Tiptap <2.1.0, but I don't think it's worth the complexity/overhead of that implementation, so I'll go ahead and merge this.
Thanks again!

(Oh and I did update the dev dependencies for mui-tiptap in https://github.com/sjdemartini/mui-tiptap/pull/312, as I mentioned I wanted to do first.)

Thank you for the thoughtful review @sjdemartini. Happy to see that you ended up merging this.
Happy new years :)


Slave lag query returning NaN

The following query keeps returning NaN
SELECT extract(epoch from now() - pg_last_xact_replay_timestamp())::int AS last_replay_time

I'm able to run this query as a non-superuser in the database and get results back, but I checked using a security definer function and it returns NaN as well
CREATE OR REPLACE FUNCTION monitor.replica_replay_time_lag() RETURNS TABLE (last_replay_time int)
    LANGUAGE SQL SECURITY DEFINER
AS $$
    SELECT extract(epoch from now() - pg_last_xact_replay_timestamp())::int AS last_replay_time
    $$;

Current master has a few logging enhancements for this problem. At the moment we don't handle timestampy values well (they're consistent enough that it should be possible to do so and PG10 adds a bunch we'd like to collect anyway).


Paste list directly into search and select matched taxa

Here's an idea that I'd like to propose.
Say you have a small list of species and you want to search for occurrences. I for example do this quite often when looking for images to use for the data use stories. I would have this, e.g.
Amatitlania nigrofasciata
Arapaima gigas
Carassius auratus
Channa micropeltes
Hemichromis guttatus
Misgurnus anguillicaudatus
Pangasianodon hypophthalmus
Parachromis managuensis
Poecilia reticulata
Pterygoplichthys disjunctivus

Wouldn't it be cool if I could simply paste the entire list into the Scientific name box, and have it select all perfect matches?
So from here:

magically to here:

in one copy and paste action.
Come to think of it, it might be interesting for other searchable fields too (e.g. countries).

I think it is a nice idea and you are not the first to request it. We can only do it for fairly short lists as the API is currently (correct me if I'm wrong @timrobertson100 ). I was thinking of a settings on the search where you could save previous searches? That might take you some of the way as well - I get that it wouldn't help much when doing the initial query.
The saved filters could also help with preferred datasets, countries and issue filters that some might always apply anyhow.

Hey @MortenHofft - just revisiting old ideas. What about implementing this for a number we know would work, say 50 taxa?

Just to add that there is an entire 2.b.2 activity in 2020 @fmendezh. Is very important for filtering by GRIIS, IUCN, any other more or less formal list. I heard there is script in DP that work this way, but not yet through the website.


Feature: Removed Bundles

Resolved / Related Issues

[x] Were these changes approved in an issue or discussion with the project maintainers? In order to prevent extra work, feature requests and changes to the codebase must be approved before the pull request will be reviewed. This prevents extra work for the contributors and maintainers.
Closes #issue...

Validation
How did you test these changes?

[ ] Did you build the app and test your changes?
[ ] Did you check for accessibility? You can use Accessibility Insights for this.
[x] Did you remove any strings from the en-us resource file?

[ ] Did you search the solution to see if the string is still being used?

[ ] Did you implement any design changes to an existing feature?

[ ] Was this change approved?

[ ] Are there any other steps that were used to validate these changes?

Open app ...
Click settings button ...

Screenshots (optional)
Add screenshots here.

@d2dyno1 did I miss anything?

I think you've got everyting


mongomock uses random.random(), losing a seed value

Hi All,
Great package!  I have a nitpicky corner case.  Feel free to close this issue if it's not actually a problem.
If I understand correctly, mongomock generates random numbers from the global random.Random instance.  Some users may with to preserve the state of the random number generator (if they're doing Monte-Carlo simulation, for example).  mongomock could instantiate a local instance to preserve the global random generator's state.  Maybe inserting a single line
random = random.Random()

would be sufficient.
Thanks!
Test code:
#!/usr/bin/env python

import random
import mongomock
import pymongo

client1 = pymongo.MongoClient("localhost",tz_aware=True)
client2 = mongomock.MongoClient("localhost",tz_aware=True)

local_random = random.Random()

def gen_print_post_random(client, private_random=False):
    if private_random:
        myrandom = local_random
    else:
        myrandom = random
    collection = client["test"]["random_collection"]
    myrandom.seed(1)
    for a in xrange(5):
        value = myrandom.random()
        key = str(a)
        doc = {key:value}
        collection.insert(doc)
        print doc[key]

if __name__=="__main__":
    print "I expected the following trials to have the same result"
    print "real client:"
    gen_print_post_random(client1,False)
    print "mock client:"
    gen_print_post_random(client2,False)

    print "Using a local random instance"
    print "real client:"
    gen_print_post_random(client1,True)
    print "mock client:"
    gen_print_post_random(client2,True)

output:

I expected the following trials to have the same result
real client:
0.134364244112
0.763774618977
0.495435087092
0.651592972723
0.0938595867742
mock client:
0.134364244112
0.847433736937
0.763774618977
0.255069025739
0.495435087092
Using a local random instance
real client:
0.134364244112
0.847433736937
0.763774618977
0.255069025739
0.495435087092
mock client:
0.134364244112
0.847433736937
0.763774618977
0.255069025739
0.495435087092

Feel free to format a PR and I'll gladly merge it.

I actually don't see were mongomock uses the random library at all (besides in one unittest).

True we don't use random (at least not yet, as #430 wants to introduce it. I'll make sure we use a local random numbers generator there).


fix(board): show border to selected card

[test]

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1992-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1992-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1992-fabric8-planner.int.rdu2c.fabric8.io


why get useSequenceIdForxxxxConversation config  from diff config way

In im.turms.service.storage.redis.RedisConfig.java  useSequenceIdForxxxxConversation from localProperties

In im.turms.service.domain.message.service.MessageService.java  useSequenceIdForxxxxConversation from globalProperties

We prefer to design business-related properties to be mutable and global while server properties (e.g. RPC port) to be immutable and local based on the common use cases.
But some immutable properties can be mutable in the future, it's just a balance between development cost and user requirements.


Build Design System and Site ADA Compliance

Please build a design system for the UI components used for the website.
Find a free Figma template to reuse.

[ ] Include the Classes in the Figma document following HFLA's Figma design (See in comments).
[ ] Develop a system to check that any design changes are in-line with the Design System

Related Issues

#1152
#1144
#1033
#993
#828
#711
#673
#195
#178
#125
#82
#1122

In Progress:

[ ] Test WCAG compliance with site colors.
[ ] Live video or audio content includes captions
[ ] Text on pages can be resized to 200% while still maintaining form
[ ] Images are not used where text can achieve the same purpose
[ ] Pages on the site can be accessed in multiple ways
[ ] Keyboard focus is visible and clear
[ ] The language of content is identified in code with any language changes
[ ] Menus and buttons are used consistently regardless of the user’s location in the site
[ ] Users are given suggestions on how to solve input errors
[ ] An error prevention technique is used whenever the user is entering sensitive data
[ ] Underlined text that does not provide a link is removed
[ ] Redundant links on the same page are eliminated or minimized

Still in process. Some desktop screens are still being stylized to meet contrast and font size standards.

@mealthebear @chalimar @ayusheeaithal to discuss grid system and breakpoint definitions for developers

@ExperimentsInHonesty and @chalimar to discuss #141 and #87

I currently have a WIP of a new type system based on what was gathered from the Figma file and a combination of recommended sizing from material.io.

[ ] Font sizing no longer is below 14px
[ ] Class names have been created
[ ] Will provide rem units to style guide

I currently have a WIP of a new type system based on what was gathered from the Figma file and a combination of recommended sizing from material.io.

[ ] Font sizing no longer is below 14px
[ ] Class names have been created
[ ] Will provide rem units to style guide

1/10/21
Currently testing new font sizes in all screen sizes (mobile still pending). Also defining padding within container spaces and spacers in style guide.

1/10/21
Currently testing new font sizes in all screen sizes (mobile still pending). Also defining padding within container spaces and spacers in style guide.

1/14/21
Met with the HfLA UI/UX community for best practices for style guide development. Below are screenshots of WIP.

1/14/21
Met with the HfLA UI/UX community for best practices for style guide development. Below are screenshots of WIP.

1/17/2021
1:Progress: Still incorporating styling, grid and component usage for the CTI.
2:Blocks: Need to continue adding finalized elements to the design system.
3:Availability: Will be traveling out of state to Montana, will be back after 1/23. Reachable on Slack when I have internet.
4 ETA: On going process, aiming for a solid system by the end of February once reviewed and approved.

1/17/2021
1:Progress: Still incorporating styling, grid and component usage for the CTI.
2:Blocks: Need to continue adding finalized elements to the design system.
3:Availability: Will be traveling out of state to Montana, will be back after 1/23. Reachable on Slack when I have internet.
4 ETA: On going process, aiming for a solid system by the end of February once reviewed and approved.

1/24/2021
1:Progress: I have not been able to work on the Figma file while out of town.
2:Blocks: None, just time and availability to add onto the system.
3:Availability: Will make time after today's meeting to add onto the file.
4 ETA: On going process, aiming for a solid system by the end of February once reviewed and approved.

1/24/2021
1:Progress: I have not been able to work on the Figma file while out of town.
2:Blocks: None, just time and availability to add onto the system.
3:Availability: Will make time after today's meeting to add onto the file.
4 ETA: On going process, aiming for a solid system by the end of February once reviewed and approved.

Currently working on site layout and margins. Next step for this would be gathering all of the iconography and components and listing where and how they are used.

Currently working on site layout and margins. Next step for this would be gathering all of the iconography and components and listing where and how they are used.

1/31/2021 Update
More pages have been created. Still designing and prioritizing all existing components and their usage into this document.

1/31/2021 Update
More pages have been created. Still designing and prioritizing all existing components and their usage into this document.

2/4/2021
Currently undergoing site audit for UI components. List can be viewed here.
The design system will evolve as we refine our content, but this will help ensure that we have at least MVP components created.

Currently reviewing comment left by @kevinashworth
Question: Should I now redo the wireframes to match 600, 960 and 1280 pixel width?

@chalimar will finalize columns before Sunday

@chalimar will finalize columns before Sunday

Layouts using 1280 (12), 960 (6) and 600 (4) width for review.

@FarzanaPrianka will take a pass at the search card and show its display for desktop, tablet and mobile.

3.4.21
Been a busy week, have not worked on my issue. Sorry!

still working on gathering components and documentation.

@chalimar What portions are left and how can we help you to finish this? If there is any part that we can break out for others to work on, please let Product know.

Still pending on my end. I need to go through my components checklist and ensure all the elements I have noted are added at the very least.
WIll have a more accurate update for sunday.

Still gathering all components and placing documentation with usage.
Components checklist can be viewed here

@chalimar and @meismith We need to add a Modal as UI design component as well.

Added in some additional components (we're about 80% done).
Need to create an inventory of any new components from updated pages after this. (Index Contributors, organizations, etc).

7.1.21
On-going work on the design system. I am trying to wrap it up and create an interactive ToC that will lead all designers to the appropriate reference.

Reviewing design file again to gather remaining components for documentation and current MVP styling.

#1152
#1144
#1033
#993
#828
#711
#673
#195
#178
#125
#82

Reference: (HFLA's Design System )[https://www.figma.com/file/0RRPy1Ph7HafI3qOITg0Mr/Hack-for-LA-Website?node-id=3686%3A93]

Need a check so we can confirm all design changes being made are in line with the Design System. We can make a new issue about this and make a check-list that can be added to the comments to make this process seamless in the future


PowerShell 7 to allow displayed existing mapped drives

Summary of the new feature/enhancement

Just a feature request to allow the cmdlet Get-PSdrive to also list existing mapped network drive(s).
In the scenario where I'm using trying to assign a letter in New-PSDrive and I want to make sure is available without opening the file explorer. SO, I'm eliminating an extra step to find out if the it already exist.
It would be nice!

Proposed technical implementation details (optional)

I am not quite sure - but this seems to work here.  See here

Or am I misunderstanding your use case?

@doctordns
Try to first manually create map a network drive using the "File Explorer", not PowerShell, not using "net use ...". At the same time, I'm trying to access my existing Z: drive from within PowerShell session, but it's not possible.
The Get-PSDrive cmdlet won't display already existing mapped drives.
That's what I'm trying to show in the screenshot.
:)

@MaximoTrinidad,  you're seeing an OS limitation, not one of PowerShell.
Get-PSDrive does list the mapped drives that the current user sees.
However, the same account running as administrator (elevated, as your screen shot suggests) does not see the same mappings as its non-elevated incarnation.
Essentially, non-elevated and elevated processes started by a given user account behave like different accounts with respect to net use / File Explorer drive mappings: neither sees the other's, and they must be managed independently.
The only way to make a drive show up in both contexts is to define it as a PS drive persistently, via $PROFILE.

Ah! That's the reason I created this feature request.
Many companies possibly will have mapped some network drives during the login process.  So, why should I map again the drives in PowerShell?
Of course, knowing this limitation makes you creative.  Right!
I think it would be a nice feature to have if it's possible!
:)

I agree that the behavior is surprising and inconvenient, but I don't think it's PowerShell's job to change it (which couldn't be done safely / predictably, given that this separation has always existed and users may have adjusted by explicitly managing separate mappings for elevated processes).
Your best bet is to put net use statements into your $PROFILE.

@mklement0
I understand! We can always change the way to map drives at login time.
:)

If the drives are mapped under a different account (and elevated vs non-elevated is considered different), then the OS prevents the other user context from seeing it (you can verify this with net use to show the mapped drives).  There isn't anything PowerShell can do differently here.

@MaximoTrinidad: https://github.com/gerardog/gsudo (a sudo implementation for Windows) has a --copyns switch that tries to recreate the drive mappings in an elevated session.


Getting started instructions do not work on a Nexus 5

Following https://github.com/domokit/sky_engine/blob/master/sky/sdk/README.md#getting-started-with-sky
On a Nexus 5, with latest lollipop installed, I get this error:
./packages/sky/sky_tool start
Dart VM version: 1.12.0-dev.3.1 (Tue Jul 14 08:45:03 2015) on "macos_x64"
Serving HTTP on <IP_ADDRESS> port 9888 ...
Starting: Intent { act=android.intent.action.VIEW dat=sky://localhost:9888/lib/main.dart }
Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=sky://localhost:9888/lib/main.dart flg=0x10000000 }

https://github.com/domokit/sky_engine/commit/ce5b798ed9cbbb72a3afa0da54a0d31bd7b64823 should fix the issue.  I'll push the fix in a new Sky package to pub in the morning.
If you want to get this fix before then, you can replace your local copy of sky_tool with the version on master: https://github.com/domokit/sky_engine/blob/master/sky/sdk/lib/sky_tool

Works!  Thanks Adam


Build failing M_PI

Hello, i am getting this error when running make:
/home/ivan/Projects/Private/Craft/deps/glfw/examples/boing.c: In function ‘deg2rad’:
/home/ivan/Projects/Private/Craft/deps/glfw/examples/boing.c:129:28: error: ‘M_PI’ undeclared (first use in this function)
    return deg / 360 * (2 * M_PI);
                            ^

I am using arch linux, i have cmake, make, glfw, tried to install other deps...
Any idea why is failing?

Same here, using Ubuntu 14.04 with all dependencies installed.

same here again - ubuntu 14.04

Why don't one of you put this in an appropriate place and submit a pull request?
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

it looks like its a c99 thing, i think adding gcc -lm will fix it .. testing it now

yeah POSIX doesnt include M_PI, we need a #define _GNU_SOURCE added to the files that need M_PI.  I'll see if i can get a PR together

I see this in the GLFW files that use M_PI, probably an appropriate place to add another...
#if defined(_MSC_VER)
 // Make MS math.h define M_PI
 #define _USE_MATH_DEFINES
#endif

yeah im bsically changing that to
'''
#if defined(_MSC_VER)
// Make MS math.h define M_PI
#define _USE_MATH_DEFINES
#elif GNUC
#define _GNU_SOURCE
#endif
'''


Fix cam3d update

Fix point 1. of https://github.com/JuliaPlots/Makie.jl/issues/1572.

[x] Bug fix (non-breaking change which fixes an issue)

I think the update_cam! should go into the constructor of Camera3D, here: https://github.com/JuliaPlots/Makie.jl/blob/651a8b8501f1c300b7b2299cf03d1c0a284e3577/src/camera/camera3d.jl#L225
@ffreyer what do you think?


Photon facade with zeit now

After the implementation of https://github.com/prisma/photonjs/issues/261
I tried deploying a package to now and I run into the following runtime errors:
2019-12-09T12:45:29.934Z	undefined	ERROR	Error: @prisma/photon did not initialize yet. Please run "prisma2 generate" and try to import it again.
    at new Photon (/var/task/api/node_modules/@prisma/photon/index.js:3:11)
    at Object.<anonymous> (/var/task/api/index.js:7:16)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/var/task/___now_launcher.js:21:18)
Duration: 379.72 ms  Billed Duration: 400 ms  Memory Size: 1024 MB  Max Memory Used: 32 MB
RequestId: 2f38c67f-5074-44bf-a977-4eda84a796c0 Error: Runtime exited with error: exit status 1
Runtime.ExitError
2019-12-09T12:46:30.877Z	undefined	ERROR	Error: @prisma/photon did not initialize yet. Please run "prisma2 generate" and try to import it again.
    at new Photon (/var/task/api/node_modules/@prisma/photon/index.js:3:11)
    at Object.<anonymous> (/var/task/api/index.js:7:16)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/var/task/___now_launcher.js:21:18)
Duration: 367.03 ms  Billed Duration: 400 ms  Memory Size: 1024 MB  Max Memory Used: 32 MB
RequestId: 3e563d22-52da-49a9-88d3-2f2d2984148f Error: Runtime exited with error: exit status 1
Runtime.ExitError

Reproduction repository: https://github.com/divyenduz/photonjs-323
Reproduction build: https://zeit.co/divyenduz/express-photon/cqgr17uaf (Divy has access)

Thanks a lot for reporting 🙏
This issue is fixed in the latest alpha version of prisma2.
You can try it out with npm i -g prisma2@alpha.
In case it’s not fixed for you - please let us know and we’ll reopen this issue!


Add more robust messaging capabilities (e.g. ActiveMQ, etc)

Feature Request
Description of Problem:
The basic MVP of TraderX included a 'quick-and-dirty' WebSocket-friendly messaging system based on NodeJS called SocketIO which allowed a single process to handle server-to-server messaging and client pub-sub and streaming messaging with very little code using native JSON.
This will not scale as we try to add more sophisticated high-frequency flows to the project, and therefore we should look at alternatives which are simple enough to allow minimal learning curves, yet powerful enough to allow for higher frequency messaging.
The goal here is to keep the TraderX process as simple as possible, while allowing elements of it to scale as needed by developers.
Requirements:

This must listen on a port that can be connected to by other TraderX components which require messaging.
There must be a way for web GUIs to subscribe to updates - typically delivered over this messaging system, presumably via websockets. (This can either be the same process, or a separate process)
If the gui/websocket connects from a separate process other than the messaging system, ideally there should be a way for NodeJS (hosting the web gui) to connect to the messaging system and proxy connectivity to the GUI using websockets.

Potential Solutions:
Options include kafka, activeMQ/Artemis, perhaps apache pulsar standalone.

As of now, the option which seems like the simplest to adopt is to go with Apache Pulsar, in embedded mode, with webSocketServiceEnabled=true to allow a single message bus to supply messaging for both web and server-side components.
Spring Boot has a good pulsar-starter reference, with annotation-driven custom message type bindings which work on top of JSON (which could work until we shift to a binary format)
https://docs.spring.io/spring-pulsar/docs/current-SNAPSHOT/reference/html/#_message_production
Pulsar runs in standalone mode for easy local development and self-contained environment.
https://pulsar.apache.org/docs/3.1.x/getting-started-standalone/
Websockets can be enabled via a config option:
https://pulsar.apache.org/docs/3.1.x/client-libraries-websocket/


impl: fully qualify default hostname for EndpointOption

As part of implementing DetermineServiceEndpoint, it was suggested that default hostnames should be fully qualified. In order to ease the transition of moving defaulting EndpointOption from PopulateCommonOptions to DetermineServiecEndpoint, this PR adds full qualification to PopulateCommonOptions.

This change is

I can do the bigtable update, which doesn't go through PopulateCommonOptions()


Shows warnings when go install

Ran -
go install github.com/ayoisaiah/focus/cmd/focus@latest

Output -
go: downloading github.com/ayoisaiah/focus v1.2.0
go: downloading github.com/adrg/xdg v0.3.3
go: downloading github.com/pterm/pterm v0.12.28
go: downloading github.com/urfave/cli/v2 v2.3.0
go: downloading github.com/faiface/beep v1.0.2
go: downloading github.com/gen2brain/beeep v0.0.0-20210529141713-5586760f0cc1
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading go.etcd.io/bbolt v1.3.6
go: downloading github.com/atomicgo/cursor v0.0.1
go: downloading github.com/gookit/color v1.4.2
go: downloading github.com/mattn/go-runewidth v0.0.13
go: downloading golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b
go: downloading github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading github.com/hajimehoshi/go-mp3 v0.1.1
go: downloading github.com/mewkiz/flac v1.0.5
go: downloading github.com/hajimehoshi/oto v0.3.1
go: downloading github.com/jfreymuth/oggvorbis v1.0.0
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/jfreymuth/vorbis v1.0.0
# github.com/hajimehoshi/oto
go/pkg/mod/github.com/hajimehoshi/oto@v0.3.1/driver_openal.go:35:22: warning: 'alcOpenDevice' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/alc.h:209:38: note: 'alcOpenDevice' has been explicitly marked deprecated here
go/pkg/mod/github.com/hajimehoshi/oto@v0.3.1/driver_openal.go:39:11: warning: 'alcCloseDevice' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/alc.h:211:38: note: 'alcCloseDevice' has been explicitly marked deprecated here
go/pkg/mod/github.com/hajimehoshi/oto@v0.3.1/driver_openal.go:43:22: warning: 'alcCreateContext' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/alc.h:191:38: note: 'alcCreateContext' has been explicitly marked deprecated here
go/pkg/mod/github.com/hajimehoshi/oto@v0.3.1/driver_openal.go:47:11: warning: 'alcGetError' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/alc.h:218:38: note: 'alcGetError' has been explicitly marked deprecated here
go/pkg/mod/github.com/hajimehoshi/oto@v0.3.1/driver_openal.go:51:4: warning: 'alcMakeContextCurrent' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/alc.h:193:38: note: 'alcMakeContextCurrent' has been explicitly marked deprecated here
go/pkg/mod/github.com/hajimehoshi/oto@v0.3.1/driver_openal.go:55:4: warning: 'alcDestroyContext' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/alc.h:199:38: note: 'alcDestroyContext' has been explicitly marked deprecated here
cgo-gcc-prolog:152:2: warning: 'alBufferData' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:601:25: note: 'alBufferData' has been explicitly marked deprecated here
cgo-gcc-prolog:166:2: warning: 'alDeleteBuffers' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:595:25: note: 'alDeleteBuffers' has been explicitly marked deprecated here
cgo-gcc-prolog:180:2: warning: 'alDeleteSources' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:501:25: note: 'alDeleteSources' has been explicitly marked deprecated here
cgo-gcc-prolog:194:2: warning: 'alGenBuffers' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:592:25: note: 'alGenBuffers' has been explicitly marked deprecated here
cgo-gcc-prolog:208:2: warning: 'alGenSources' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:498:25: note: 'alGenSources' has been explicitly marked deprecated here
cgo-gcc-prolog:222:2: warning: 'alGetSourcei' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:530:25: note: 'alGetSourcei' has been explicitly marked deprecated here
cgo-gcc-prolog:238:35: warning: 'alGetString' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:382:34: note: 'alGetString' has been explicitly marked deprecated here
cgo-gcc-prolog:254:2: warning: 'alSourcePlay' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:558:25: note: 'alSourcePlay' has been explicitly marked deprecated here
cgo-gcc-prolog:268:2: warning: 'alSourceQueueBuffers' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:572:25: note: 'alSourceQueueBuffers' has been explicitly marked deprecated here
cgo-gcc-prolog:281:2: warning: 'alSourceRewind' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:564:25: note: 'alSourceRewind' has been explicitly marked deprecated here
cgo-gcc-prolog:294:2: warning: 'alSourceStop' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:561:25: note: 'alSourceStop' has been explicitly marked deprecated here
cgo-gcc-prolog:308:2: warning: 'alSourceUnqueueBuffers' is deprecated: first deprecated in macOS 10.15 - OpenAL is deprecated in favor of AVAudioEngine [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/Headers/al.h:574:25: note: 'alSourceUnqueueBuffers' has been explicitly marked deprecated here

I have the same issue 😩

I can't even get it to install at all

I got the same warnings on mac m1, but focus works great


Parsing OUTCAR from an incomplete vasp run

Dear @flokno ,
Thank you for these amazing set of tools. I have one query - when I try to parse an OUTCAR file from a long incomplete AIMD run into "tdep_read_outcar" if the vasp run is not complete it gives an error
TIMINGS NOT FOUND, OUTPUT FILE BROKEN?
The issue is that vasp runs does not finish cleanly due to walltime limit of my super computers :(.  Say if I am requesting 5000 steps it has info about only 4000 steps, however the info from OUTCAR is still useful to continue with the TDEP simulations.
I was wondering if it was possible to enable parsing of incomplete OUTCAR files in tdep_read_outcar. This is similar to the behavior of the tdep script process_outcar_5.3.py.
Thanks for your time and contributions to open source.
Best,
Alex

My bad - I should be using tdep_parse_output.  I will close this.

@akentphonon I updated the script name to reflect that its purpose was to parse out the lotosplitting file at this point. As you already noticed the script to parse our everything is tdep_parse_output. Thanks for reporting and happy computing!


fix: handle encoding errors in mysql obfuscation

😭
ArgumentError: invalid byte sequence in UTF-8
gems/opentelemetry-instrumentation-mysql2-0.21.0/lib/opentelemetry/instrumentation/mysql2/patches/client.rb:76 gsub
gems/opentelemetry-instrumentation-mysql2-0.21.0/lib/opentelemetry/instrumentation/mysql2/patches/client.rb:76 obfuscate_sql
gems/opentelemetry-instrumentation-mysql2-0.21.0/lib/opentelemetry/instrumentation/mysql2/patches/client.rb:59 query

I mean technically true is not nil.
https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/cbcad7656e7552ad00d479ce76e37d801e170a7f/instrumentation/mysql2/lib/opentelemetry/instrumentation/mysql2/patches/client.rb#L98-L112

Ya'll need to stop approving my failing PR lol

@robertlaurin this is merely a reflection of how high your trust battery charge is with me


chore: release 1.2.280

:robot: I have created a release *beep* *boop*
1.2.280 (2024-01-16)
Bug Fixes

disable dependabot (76998e9)
switch to go 1.21 (2624b32)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.280 :sunflower:


Ensure asset container contents folder check finishes with /

This PR updates the asset container contents folder filtering to ensure the folder finishes with /, which resolves any issues with folders starting with the same string.
Closes #355

Yes, this update appears to resolve the issue on my local build.

Great - glad I was understanding the issue properly. I'll write up some test coverage and get it merged and released later this week.


Use TC_DEFAULT_VIEWPORT_WIDTH env var to allow overriding of DEFAULT_VIEWPORT_WIDTH

Purpose
Fixes https://github.com/DevExpress/testcafe/issues/5919
Approach
trivial
References
https://github.com/DevExpress/testcafe/issues/5919
Pre-Merge TODO

[ ] Write tests for your proposed changes
[X] Make sure that existing tests do not fail

I didn't find any tests that have coverage on get-viewport-width.ts, so I assumed that tests weren't necessary for this. If it makes you feel any better, it's trivially easy to test manually.

Thank you for your contribution! We will update this pull request once we complete our review.

Thank you for your contribution. Don't you think that it would be better to just set the viewport width to Infinity if the output stream is not a TTY? This way you won't have to configure your environment variables to get decent reports in CI - since every CI system I know can scroll report output.
While we don't have unit tests for this module, I assume that it was not a decision. I would like to add some test at least for the new functionality.

@AndreyBelym that would be fine as well. Just let me know what you guys decide and I'll update it.
As for tests: I'm somewhat confused by the test setup here. I'm not a frontend developer, but am I correct in my observation that there are no unittests whatsoever for TC?
If this needs an integration/e2e test, then I'm not sure how to go about it. I'd have to familiarize myself with the test setup, and that might take quite a while.

Thank you for your contribution. We are ready to approve of your pull request. Please set Infinity if the output stream is not a TTY. We'll add tests ourselves.


Unable to use bot with graph api to call a user on teams whose user id I provided in the calls api

Expected behavior
Using bot and graph api, I want to call a user on teams whose user id I provided in the calls api
I followed this example https://docs.microsoft.com/en-us/microsoftteams/platform/sbs-calling-and-meeting
These are the steps I have done.
Registered an App in Azure using demo tenant
Created a policy for a demo tenant user for creating the online meeting on behalf of that user
Added following Graph API Applications permissions to my Azure App*

CallRecords.Read.All
Calls.Initiate.All
Calls.AccessMedia.All
Calls.InitiateGroupCall.All
Calls.JoinGroupCall.All
OnlineMeetings.ReadWrite.All
OnlineMeetings.Read.All
Calls.JoinGroupCallAsGuest.All

Granted Admin consent for the above permissions
Created a Bot Channel Registeration in Azure account which have subscription enabled.
While registering the bot, used https://<my_ngrok_url>/api/messages as the messaging endpoint.
Enabled the Teams Channel
Provided App-Name, Resource Group and other required information
I did Select the Calling tab on the Teams channel page. Select Enable calling, and then updated the Webhook (for calling) with  (https://yourNgrok/callback.
I am receiving the notifications.So this part works.
For bot my manifest is
{
  "$schema": "https://github.com/OfficeDev/microsoft-teams-app-schema/blob/preview/DevPreview/MicrosoftTeams.schema.json",
  "manifestVersion": "devPreview",
  "version": "1.0.0",
  "id": "<<app-id>>",
  "packageName": "com.acs.sample",
  "developer": {
    "name": "Contoso",
    "websiteUrl": "https://example.azurewebsites.net",
    "privacyUrl": "https://teams.microsoft.com",
    "termsOfUseUrl": "https://teams.microsoft.com"
  },
  "icons": {
    "color": "color.png",
    "outline": "outline.png"
  },
  "name": {
    "short": "Calling bot",
    "full": "Calling bot"
  },
  "description": {
    "short": "Calling bot",
    "full": "Calling bot"
  },
  "accentColor": "#FFFFFF",
  "bots": [
    {
      "botId": "<<app-id>>",
      "scopes": [ "personal", "team", "groupchat" ],
      "supportsFiles": false,
      "isNotificationOnly": false,
      "supportsCalling": true,
      "supportsVideo": true
    }
  ],
  "permissions": [ "identity", "messageTeamMembers" ],
  "validDomains": [ "*.ngrok.io" ]
}

Installed Calling Bot in Teams. Installed without any error. I can make calls from the bot and see the notifications on my calling endpoints. One strange behavior is Its message text-box become disabled after a while but I can still make call from the bot.
Now I want to make call to a user from an endpoint.
From my python code. I used this code to get access token.
def getToken():
    url = "https://login.microsoftonline.com/tenant_id/oauth2/v2.0/token"
    type = 'post'
    data={
        "client_id": 'client_id',
        "client_secret": 'client_secret',
        "scope": 'https://graph.microsoft.com/.default',
        "grant_type": 'client_credentials',
    }

    resp = requests.request(
        method = type,
        url = url,
        data = data
    )
    resp_data = resp.json()
    return resp_data['access_token'];

This access token is correct because I used the token to get users list etc using graph api to see if I can use the api or not.
Then using this token I call calls endpoint
def call_user():
    accessToken = getToken();
    url = "https://graph.microsoft.com/beta/communications/calls"
    type = 'post'

    data={
<EMAIL_ADDRESS>"#microsoft.graph.call",
  "callbackUri": "https://my_ngrok_url/call",
  "targets": [
    {
<EMAIL_ADDRESS>"#microsoft.graph.invitationParticipantInfo",
      "identity": {
<EMAIL_ADDRESS>"#microsoft.graph.identitySet",
        "user": {
<EMAIL_ADDRESS>"#microsoft.graph.identity",
          "displayName": "John",
          "id": "user_id_to_whom_i_want_to_call"
        }
      }
    }
  ],
  "requestedModalities": [
    "audio"
  ],
  "mediaConfig": {
<EMAIL_ADDRESS>"#microsoft.graph.serviceHostedMediaConfig"
  }
}

    resp = requests.request(
        method = type,
        url = url,
        data = data,
        headers={"Authorization": "Bearer " + accessToken},
    )
    resp_data = resp.json()
    return resp_data

It gives internal server error as response. Please help what i am doing wrong.

Does your callback endpoint /call receive anything?

I got exception in response 'Internal server Error'


fix publishing when connecting wallet on publish form

Fixes #1659 .

Changes proposed in this PR:

fix connection issue when the user connects the wallet on the publish form

Something odd happens. After connecting my account on the submit tab, it sends me back to the price tab. It's a bit disorienting. Publishing seems to work well though.
Screen recording:
https://www.loom.com/share/0afa79aa70bd40dab3189e645fa22b42

Something odd happens. After connecting my account on the submit tab, it sends me back to the price tab. It's a bit disorienting. Publishing seems to work well though.
Screen recording: https://www.loom.com/share/0afa79aa70bd40dab3189e645fa22b42

yeah, it shouldn't happen. It seems from the video that the form lost track of the price. I'll check 👍🏽

Something odd happens. After connecting my account on the submit tab, it sends me back to the price tab. It's a bit disorienting. Publishing seems to work well though.

Hi @jamiehewitt15 , please test it again now.

So what we need to test is as follow:
Issue:

Go to market and fill out the form without wallet. Connect the wallet ONLY at the end. You should get an error Cannot read properties of null (reading 'address'). This because the object pricing.baseToken is not form correctly:

PR solution:

Repeat the process above in this branch, this time you should be able to run the tx. The pricing object should be filled correctly. For some reason before we're emptying the pricing baseToken address.

Go to market and fill out the form without wallet. Connect the wallet ONLY at the end. You should get an error Cannot read properties of null (reading 'address'). This because the object pricing.baseToken is not form correctly:

Yep, managed to recreate that error on the market.

Repeat the process above in this branch, this time you should be able to run the tx. The pricing object should be filled correctly. For some reason we were emptying the pricing baseToken address when changing network.

Yeah it worked, looks like this solved now

Just a note: please ALWAYS test the code you are changing against what the code was actually doing. Not just for the issue you are trying to solve.
Just by looking at this changeset, so is the basetoken correctly reset when I change the network? How if that code is fully removed? Cause every network has different approved basetokens.

Just a note: please ALWAYS test the code you are changing/removing against what the code was actually doing. Not just for the issue you are trying to solve.
Just by looking at this changeset, so is the basetoken correctly reset when I change the network? How exactly would that work if that code is fully removed? Cause every network has different approved basetokens.

Yes, I spent some time trying to understand why this baseToken 'reset' was put in place, as the baseToken actually updates correctly when we change network:
Rinbeby:

Matic:

I'm still not sure why this was added to the codebase in PR #1516


Need more clarity on the incremental changes

Team,
This document talks about loading the fresh template.json from the cloud explorer. We really need to know how to make the incremental changes to a single logic app. Lets say I have created 10 logic apps using visual studio by using the approach mentioned in this guide.  Now I want to change the 2nd logic app so I go to visual and make the changes in the second logic app. What is the procedure to push the changes for that only one logic app that I changed with the current approach in that article, it appears that its going to publish all the logic apps. Please suggest.
[Enter feedback here]

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

ID: 2650bd13-3b48-c09d-e0bc-bcad6605a4b7
Version Independent ID: 644aabda-c85b-88b9-deb8-4cb38b49ad4f
Content: Edit and manage logic apps by using Visual Studio with Cloud Explorer - Azure Logic Apps
Content Source: articles/logic-apps/manage-logic-apps-with-visual-studio.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

Hi @amsuprith,
Thank you for your question. To clarify, selecting Publish on the designer publishes all your logic apps?

Thanks @ecfan for your swift response. I don't have a publish option on my logic app designer because I am using my original template json that I used to create this logic app (This is the approach I used to create that).  I am modifying the original template json under the Azure Resource group deployment project. In order to deploy that modified template to azure I had to right click on the project and select deploy. When I did that it will deploy all the logic apps that were part of that template again.

@amsuprith, let me check with the engineering team whether they have a solution for you.

@amsuprtih, the team responded that the an Azure Resource Manager template is a "unit of deployment". So ideally, you should have one logic app per template. Your project can have multiple templates, or you can have one template per project.
Does this address your question?

Thank you very much, that is what I conclude.

I created a work item to add this best practice to the docs.

Thanks I am so glad to hear this.


fix(bin/next:inspect): Allow node inspect flag to be used

This accepts arguments to a node --inspect flag as well as other debugging node flags.
Resolves #4151

@timneutkens I would love to hear your thoughts on this PR when you have a chance