Error installing plugin

I updated my version of mosquitto (2.0.11) and tried installing matterbridge-zigbee2mqtt again. While running matterbridge -add matterbridge-zigbee2mqtt I got the error:
Connection established
[15:35:32.542] [Zigbee2MQTT] Started
[15:35:32.544] [Zigbee2MQTT] Subscribing topic: zigbee2mqtt-1/#
undefined:1
online
^
SyntaxError: Unexpected token o in JSON at position 0
at JSON.parse ()
at Zigbee2MQTT.messageHandler (file:///usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/dist/zigbee2mqtt.js:312:31)
at MqttClient. (file:///usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/dist/zigbee2mqtt.js:164:22)
at MqttClient.emit (node:events:517:28)
at handlePublish (/usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/node_modules/mqtt/build/lib/handlers/publish.js:97:20)
at handle (/usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/node_modules/mqtt/build/lib/handlers/index.js:28:35)
at work (/usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/node_modules/mqtt/build/lib/client.js:225:40)
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
After this, Matterbridge stopped.
When I try to start it again, it gets the same error again and stops

Everything is good there. The coordinator revision is the old one but it doesn't change about the error.
Can you copy paste all the Settings Raw page please?

{
"commit": "f7c0b46b",
"config": {
"advanced": {
"adapter_concurrent": null,
"adapter_delay": null,
"availability_blacklist": [],
"availability_blocklist": [],
"availability_passlist": [],
"availability_whitelist": [],
"baudrate": 115200,
"cache_state": true,
"cache_state_persistent": true,
"cache_state_send_on_startup": true,
"channel": 11,
"elapsed": false,
"ext_pan_id": [
221,
221,
221,
221,
221,
221,
221,
221
],
"homeassistant_legacy_entity_attributes": false,
"ikea_ota_use_test_url": false,
"last_seen": "ISO_8601_local",
"legacy_api": true,
"legacy_availability_payload": true,
"log_directory": "data/",
"log_file": "log.txt",
"log_level": "info",
"log_output": [
"console",
"file"
],
"log_rotation": true,
"log_symlink_current": false,
"log_syslog": {
"app_name": "Zigbee2MQTT",
"eol": "/n",
"host": "localhost",
"localhost": "localhost",
"path": "/dev/log",
"pid": "process.pid",
"port": 123,
"protocol": "tcp4",
"type": "5424"
},
"output": "json",
"pan_id": 4567,
"report": false,
"rtscts": false,
"soft_reset_timeout": 0,
"timestamp_format": "YYYY-MM-DD HH:mm:ss"
},
"blocklist": [],
"device_options": {
"legacy": false
},
"devices": {
"0xa4c1383976c75bb7": {
"friendly_name": "test-relay"
}
},
"experimental": {
"new_api": true
},
"external_converters": [
"msh.AirQMon.js",
"8switch.8tem.sen.js",
"msh.pzem.3f.js",
"ptvo_counter_2ch.js",
"msh.ina226f.js",
"msh.pzem.js",
"msh.4ch.termo.js",
"msh.s220.psm.js",
"msh.pzem.dc.js",
"msh.ina226.js",
"msh.8ch-sw.int.js",
"8switch.vent.js",
"msh.8ch.str.js",
"msh.ext-temp.js",
"msh.4chrelay.js",
"zigbee_c6.js",
"msh.allpsm.js",
"msh.2ch.termo.js"
],
"frontend": {
"port": 8081
},
"groups": {},
"homeassistant": false,
"map_options": {
"graphviz": {
"colors": {
"fill": {
"coordinator": "#e04e5d",
"enddevice": "#fff8ce",
"router": "#4ea3e0"
},
"font": {
"coordinator": "#ffffff",
"enddevice": "#000000",
"router": "#ffffff"
},
"line": {
"active": "#009900",
"inactive": "#994444"
}
}
}
},
"mqtt": {
"base_topic": "zigbee2mqtt-1",
"force_disable_retain": false,
"include_device_information": false,
"server": "mqtt://localhost",
"user": "msh"
},
"ota": {
"disable_automatic_update_check": false,
"ikea_ota_use_test_url": false,
"update_check_interval": 1440
},
"passlist": [],
"permit_join": false,
"serial": {
"baudrate": 115200,
"disable_led": false,
"port": "/dev/ttyS2",
"rtscts": false
}
},
"config_schema": {
"definitions": {
"device": {
"properties": {
"debounce": {
"description": "Debounces messages of this device",
"title": "Debounce",
"type": "number"
},
"debounce_ignore": {
"description": "Protects unique payload values of specified payload properties from overriding within debounce time",
"examples": [
"action"
],
"items": {
"type": "string"
},
"title": "Ignore debounce",
"type": "array"
},
"disabled": {
"description": "Disables the device (excludes device from network scans, availability and group state updates)",
"requiresRestart": true,
"title": "Disabled",
"type": "boolean"
},
"filtered_attributes": {
"description": "Filter attributes with regex from published payload.",
"examples": [
"^temperature$",
"^battery$",
"^action$"
],
"items": {
"type": "string"
},
"title": "Filtered publish attributes",
"type": "array"
},
"filtered_cache": {
"description": "Filter attributes with regex from being added to the cache, this prevents the attribute from being in the published payload when the value didn't change.",
"examples": [
"^input_actions$"
],
"items": {
"type": "string"
},
"title": "Filtered attributes from cache",
"type": "array"
},
"filtered_optimistic": {
"description": "Filter attributes with regex from optimistic publish payload when calling /set. (This has no effect if optimistic is set to false).",
"examples": [
"^color_(mode|temp)$",
"color"
],
"items": {
"type": "string"
},
"title": "Filtered optimistic attributes",
"type": "array"
},
"friendly_name": {
"description": "Used in the MQTT topic of a device. By default this is the device ID",
"readOnly": true,
"title": "Friendly name",
"type": "string"
},
"homeassistant": {
"properties": {
"name": {
"description": "Name of the device in Home Assistant",
"title": "Home Assistant name",
"type": "string"
}
},
"title": "Home Assistant",
"type": [
"object",
"null"
]
},
"icon": {
"description": "The user-defined device icon for the frontend. It can be a full URL link to an image (e.g. https://SOME.SITE/MODEL123.jpg) (you cannot use a path to a local file) or base64 encoded data URL (e.g. image/svg+xml;base64,PHN2ZyB3aW....R0aD)",
"title": "Icon",
"type": "string"
},
"optimistic": {
"default": true,
"description": "Publish optimistic state after set",
"title": "Optimistic",
"type": "boolean"
},
"qos": {
"description": "QoS level for MQTT messages of this device",
"title": "QoS",
"type": "number"
},
"retain": {
"description": "Retain MQTT messages of this device",
"title": "Retain",
"type": "boolean"
},
"retention": {
"description": "Sets the MQTT Message Expiry in seconds, Make sure to set mqtt.version to 5",
"title": "Retention",
"type": "number"
}
},
"required": [
"friendly_name"
],
"type": "object"
},
"group": {
"properties": {
"devices": {
"items": {
"type": "string"
},
"type": "array"
},
"filtered_attributes": {
"items": {
"type": "string"
},
"type": "array"
},
"friendly_name": {
"type": "string"
},
"off_state": {
"default": "auto",
"description": "Control when to publish state OFF for a group. 'all_members_off': only publish state OFF when all group members are in state OFF, 'last_member_state': publish state OFF whenever one of its members changes to OFF",
"enum": [
"all_members_off",
"last_member_state"
],
"requiresRestart": true,
"title": "Group off state",
"type": [
"string"
]
},
"optimistic": {
"type": "boolean"
},
"qos": {
"type": "number"
},
"retain": {
"type": "boolean"
}
},
"required": [
"friendly_name"
],
"type": "object"
}
},
"properties": {
"advanced": {
"properties": {
"adapter_concurrent": {
"description": "Adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)",
"requiresRestart": true,
"title": "Adapter concurrency",
"type": [
"number",
"null"
]
},
"adapter_delay": {
"description": "Adapter delay",
"requiresRestart": true,
"title": "Adapter delay",
"type": [
"number",
"null"
]
},
"cache_state": {
"default": true,
"description": "MQTT message payload will contain all attributes, not only changed ones. Has to be true when integrating via Home Assistant",
"title": "Cache state",
"type": "boolean"
},
"cache_state_persistent": {
"default": true,
"description": "Persist cached state, only used when cache_state: true",
"title": "Persist cache state",
"type": "boolean"
},
"cache_state_send_on_startup": {
"default": true,
"description": "Send cached state on startup, only used when cache_state: true",
"title": "Send cached state on startup",
"type": "boolean"
},
"channel": {
"default": 11,
"description": "Zigbee channel, changing requires repairing all devices! (Note: use a ZLL channel: 11, 15, 20, or 25 to avoid Problems)",
"examples": [
15,
20,
25
],
"maximum": 26,
"minimum": 11,
"requiresRestart": true,
"title": "ZigBee channel",
"type": "number"
},
"elapsed": {
"default": false,
"description": "Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg",
"title": "Elapsed",
"type": "boolean"
},
"ext_pan_id": {
"description": "Zigbee extended pan ID, changing requires repairing all devices!",
"oneOf": [
{
"title": "Extended pan ID (string)",
"type": "string"
},
{
"items": {
"type": "number"
},
"title": "Extended pan ID (array)",
"type": "array"
}
],
"requiresRestart": true,
"title": "Ext Pan ID"
},
"last_seen": {
"default": "disable",
"description": "Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message",
"enum": [
"disable",
"ISO_8601",
"ISO_8601_local",
"epoch"
],
"title": "Last seen",
"type": "string"
},
"legacy_api": {
"default": true,
"description": "Disables the legacy api (false = disable)",
"requiresRestart": true,
"title": "Legacy API",
"type": "boolean"
},
"legacy_availability_payload": {
"default": true,
"description": "Payload to be used for device availability and bridge/state topics. true = text, false = JSON",
"requiresRestart": true,
"title": "Legacy availability payload",
"type": "boolean"
},
"log_directory": {
"description": "Location of log directory",
"examples": [
"data/log/%TIMESTAMP%"
],
"requiresRestart": true,
"title": "Log directory",
"type": "string"
},
"log_file": {
"default": "log.txt",
"description": "Log file name, can also contain timestamp",
"examples": [
"zigbee2mqtt_%TIMESTAMP%.log"
],
"requiresRestart": true,
"title": "Log file",
"type": "string"
},
"log_level": {
"default": "info",
"description": "Logging level",
"enum": [
"info",
"warn",
"error",
"debug"
],
"title": "Log level",
"type": "string"
},
"log_output": {
"description": "Output location of the log, leave empty to suppress logging",
"items": {
"enum": [
"console",
"file",
"syslog"
],
"type": "string"
},
"requiresRestart": true,
"title": "Log output",
"type": "array"
},
"log_rotation": {
"default": true,
"description": "Log rotation",
"requiresRestart": true,
"title": "Log rotation",
"type": "boolean"
},
"log_symlink_current": {
"default": false,
"description": "Create symlink to current logs in the log directory",
"requiresRestart": true,
"title": "Log symlink current",
"type": "boolean"
},
"log_syslog": {
"properties": {
"app_name": {
"default": "Zigbee2MQTT",
"description": "The name of the application (Default: Zigbee2MQTT).",
"title": "Localhost",
"type": "string"
},
"eol": {
"default": "/n",
"description": "The end of line character to be added to the end of the message (Default: Message without modifications).",
"title": "eol",
"type": "string"
},
"host": {
"default": "localhost",
"description": "The host running syslogd, defaults to localhost.",
"title": "Host",
"type": "string"
},
"localhost": {
"default": "localhost",
"description": "Host to indicate that log messages are coming from (Default: localhost).",
"title": "Localhost",
"type": "string"
},
"path": {
"default": "/dev/log",
"description": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
"examples": [
"/var/run/syslog"
],
"title": "Path",
"type": "string"
},
"pid": {
"default": "process.pid",
"description": "PID of the process that log messages are coming from (Default process.pid).",
"title": "PID",
"type": "string"
},
"port": {
"default": 514,
"description": "The port on the host that syslog is running on, defaults to syslogd's default port.",
"title": "Port",
"type": "number"
},
"protocol": {
"default": "udp4",
"description": "The network protocol to log over (e.g. tcp4, udp4, tls4, unix, unix-connect, etc).",
"examples": [
"udp4",
"tls4",
"unix",
"unix-connect"
],
"title": "Protocol",
"type": "string"
},
"type": {
"default": "5424",
"description": "The type of the syslog protocol to use (Default: BSD, also valid: 5424).",
"title": "Type",
"type": "string"
}
},
"title": "syslog",
"type": "object"
},
"network_key": {
"description": "Network encryption key, changing requires repairing all devices!",
"oneOf": [
{
"title": "Network key(string)",
"type": "string"
},
{
"items": {
"type": "number"
},
"title": "Network key(array)",
"type": "array"
}
],
"requiresRestart": true,
"title": "Network key"
},
"output": {
"description": "Examples when 'state' of a device is published json: topic: 'zigbee2mqtt/my_bulb' payload '{"state": "ON"}' attribute: topic 'zigbee2mqtt/my_bulb/state' payload 'ON' attribute_and_json: both json and attribute (see above)",
"enum": [
"attribute_and_json",
"attribute",
"json"
],
"title": "MQTT output type",
"type": "string"
},
"pan_id": {
"description": "ZigBee pan ID, changing requires repairing all devices!",
"oneOf": [
{
"title": "Pan ID (string)",
"type": "string"
},
{
"title": "Pan ID (number)",
"type": "number"
}
],
"requiresRestart": true,
"title": "Pan ID"
},
"timestamp_format": {
"description": "Log timestamp format",
"examples": [
"YYYY-MM-DD HH:mm:ss"
],
"requiresRestart": true,
"title": "Timestamp format",
"type": "string"
},
"transmit_power": {
"description": "Transmit power of adapter, only available for Z-Stack (CC253*/CC2652/CC1352) adapters, CC2652 = 5dbm, CC1352 max is = 20dbm (5dbm default)",
"requiresRestart": true,
"title": "Transmit power",
"type": [
"number",
"null"
]
}
},
"title": "Advanced",
"type": "object"
},
"availability": {
"description": "Checks whether devices are online/offline",
"oneOf": [
{
"title": "Availability (simple)",
"type": "boolean"
},
{
"properties": {
"active": {
"description": "Options for active devices (routers/mains powered)",
"properties": {
"timeout": {
"default": 10,
"description": "Time after which an active device will be marked as offline in minutes",
"requiresRestart": true,
"title": "Timeout",
"type": "number"
}
},
"requiresRestart": true,
"title": "Active",
"type": "object"
},
"passive": {
"description": "Options for passive devices (mostly battery powered)",
"properties": {
"timeout": {
"default": 1500,
"description": "Time after which an passive device will be marked as offline in minutes",
"requiresRestart": true,
"title": "Timeout",
"type": "number"
}
},
"requiresRestart": true,
"title": "Passive",
"type": "object"
}
},
"title": "Availability (advanced)",
"type": "object"
}
],
"requiresRestart": true,
"title": "Availability"
},
"ban": {
"items": {
"type": "string"
},
"readOnly": true,
"requiresRestart": true,
"title": "Ban (deprecated, use blocklist)",
"type": "array"
},
"blocklist": {
"description": "Block devices from the network (by ieeeAddr)",
"items": {
"type": "string"
},
"requiresRestart": true,
"title": "Blocklist",
"type": "array"
},
"device_options": {
"title": "Options that are applied to all devices",
"type": "object"
},
"devices": {
"patternProperties": {
"^.$": {
"$ref": "#/definitions/device"
}
},
"propertyNames": {
"pattern": "^0x[\d\w]{16}$"
},
"type": "object"
},
"external_converters": {
"description": "You can define external converters to e.g. add support for a DiY device",
"examples": [
"DIYRuZ_FreePad.js"
],
"items": {
"type": "string"
},
"requiresRestart": true,
"title": "External converters",
"type": "array"
},
"frontend": {
"oneOf": [
{
"title": "Frontend (simple)",
"type": "boolean"
},
{
"properties": {
"auth_token": {
"description": "Enables authentication, disabled by default",
"requiresRestart": true,
"title": "Auth token",
"type": [
"string",
"null"
]
},
"host": {
"description": "Frontend binding host. Binds to a unix socket when an absolute path is given instead.",
"examples": [
"<IP_ADDRESS>",
"::1",
"/run/zigbee2mqtt/zigbee2mqtt.sock"
],
"requiresRestart": true,
"title": "Bind host",
"type": [
"string",
"null"
]
},
"port": {
"default": 8080,
"description": "Frontend binding port. Ignored when using a unix domain socket",
"requiresRestart": true,
"title": "Port",
"type": "number"
},
"ssl_cert": {
"description": "SSL Certificate file path for exposing HTTPS. The sibling property 'ssl_key' must be set for HTTPS to be activated.",
"requiresRestart": true,
"title": "Certificate file path",
"type": [
"string",
"null"
]
},
"ssl_key": {
"description": "SSL key file path for exposing HTTPS. The sibling property 'ssl_cert' must be set for HTTPS to be activated.",
"requiresRestart": true,
"title": "key file path",
"type": [
"string",
"null"
]
},
"url": {
"description": "URL on which the frontend can be reached, currently only used for the Home Assistant device configuration page",
"requiresRestart": true,
"title": "URL",
"type": [
"string",
"null"
]
}
},
"title": "Frontend (advanced)",
"type": "object"
}
],
"requiresRestart": true,
"title": "Frontend"
},
"groups": {
"patternProperties": {
"^.$": {
"$ref": "#/definitions/group"
}
},
"propertyNames": {
"pattern": "^[\w].*$"
},
"type": "object"
},
"homeassistant": {
"default": false,
"description": "Home Assistant integration (MQTT discovery)",
"oneOf": [
{
"title": "Home Assistant (simple)",
"type": "boolean"
},
{
"properties": {
"discovery_topic": {
"description": "Home Assistant discovery topic",
"examples": [
"homeassistant"
],
"requiresRestart": true,
"title": "Homeassistant discovery topic",
"type": "string"
},
"legacy_entity_attributes": {
"default": true,
"description": "Home Assistant legacy entity attributes, when enabled Zigbee2MQTT will add state attributes to each entity, additional to the separate entities and devices it already creates",
"title": "Home Assistant legacy entity attributes",
"type": "boolean"
},
"legacy_triggers": {
"default": true,
"description": "Home Assistant legacy triggers, when enabled Zigbee2mqt will send an empty 'action' or 'click' after one has been send. A 'sensor_action' and 'sensor_click' will be discoverd",
"title": "Home Assistant legacy triggers",
"type": "boolean"
},
"status_topic": {
"description": "Home Assistant status topic",
"examples": [
"homeassistant/status"
],
"requiresRestart": true,
"title": "Home Assistant status topic",
"type": "string"
}
},
"title": "Home Assistant (advanced)",
"type": "object"
}
],
"requiresRestart": true,
"title": "Home Assistant integration"
},
"map_options": {
"properties": {
"graphviz": {
"properties": {
"colors": {
"properties": {
"fill": {
"properties": {
"coordinator": {
"type": "string"
},
"enddevice": {
"type": "string"
},
"router": {
"type": "string"
}
},
"type": "object"
},
"font": {
"properties": {
"coordinator": {
"type": "string"
},
"enddevice": {
"type": "string"
},
"router": {
"type": "string"
}
},
"type": "object"
},
"line": {
"properties": {
"active": {
"type": "string"
},
"inactive": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"title": "Networkmap",
"type": "object"
},
"mqtt": {
"properties": {
"base_topic": {
"default": "zigbee2mqtt",
"description": "MQTT base topic for Zigbee2MQTT MQTT messages",
"examples": [
"zigbee2mqtt"
],
"requiresRestart": true,
"title": "Base topic",
"type": "string"
},
"ca": {
"description": "Absolute path to SSL/TLS certificate of CA used to sign server and client certificates",
"examples": [
"/etc/ssl/mqtt-ca.crt"
],
"requiresRestart": true,
"title": "Certificate authority",
"type": "string"
},
"cert": {
"description": "Absolute path to SSL/TLS certificate for client-authentication",
"examples": [
"/etc/ssl/mqtt-client.crt"
],
"requiresRestart": true,
"title": "SSL/TLS certificate",
"type": "string"
},
"client_id": {
"description": "MQTT client ID",
"examples": [
"MY_CLIENT_ID"
],
"requiresRestart": true,
"title": "Client ID",
"type": "string"
},
"force_disable_retain": {
"default": false,
"description": "Disable retain for all send messages. ONLY enable if you MQTT broker doesn't support retained message (e.g. AWS IoT core, Azure IoT Hub, Google Cloud IoT core, IBM Watson IoT Platform). Enabling will break the Home Assistant integration",
"requiresRestart": true,
"title": "Force disable retain",
"type": "boolean"
},
"include_device_information": {
"default": false,
"description": "Include device information to mqtt messages",
"title": "Include device information",
"type": "boolean"
},
"keepalive": {
"default": 60,
"description": "MQTT keepalive in second",
"requiresRestart": true,
"title": "Keepalive",
"type": "number"
},
"key": {
"description": "Absolute path to SSL/TLS key for client-authentication",
"examples": [
"/etc/ssl/mqtt-client.key"
],
"requiresRestart": true,
"title": "SSL/TLS key",
"type": "string"
},
"password": {
"description": "MQTT server authentication password",
"examples": [
"ILOVEPELMENI"
],
"requiresRestart": true,
"title": "Password",
"type": "string"
},
"reject_unauthorized": {
"default": true,
"description": "Disable self-signed SSL certificate",
"requiresRestart": true,
"title": "Reject unauthorized",
"type": "boolean"
},
"server": {
"description": "MQTT server URL (use mqtts:// for SSL/TLS connection)",
"examples": [
"mqtt://localhost:1883"
],
"requiresRestart": true,
"title": "MQTT server",
"type": "string"
},
"user": {
"description": "MQTT server authentication user",
"examples": [
"johnnysilverhand"
],
"requiresRestart": true,
"title": "User",
"type": "string"
},
"version": {
"default": 4,
"description": "MQTT protocol version",
"examples": [
5
],
"requiresRestart": true,
"title": "Version",
"type": [
"number",
"null"
]
}
},
"required": [
"server"
],
"title": "MQTT",
"type": "object"
},
"ota": {
"properties": {
"disable_automatic_update_check": {
"default": false,
"description": "Zigbee devices may request a firmware update, and do so frequently, causing Zigbee2MQTT to reach out to third party servers. If you disable these device initiated checks, you can still initiate a firmware update check manually.",
"title": "Disable automatic update check",
"type": "boolean"
},
"ikea_ota_use_test_url": {
"default": false,
"description": "Use IKEA TRADFRI OTA test server, see OTA updates documentation",
"requiresRestart": true,
"title": "IKEA TRADFRI OTA use test url",
"type": "boolean"
},
"update_check_interval": {
"default": 1440,
"description": "Your device may request a check for a new firmware update. This value determines how frequently third party servers may actually be contacted to look for firmware updates. The value is set in minutes, and the default is 1 day.",
"title": "Update check interval",
"type": "number"
},
"zigbee_ota_override_index_location": {
"description": "Location of override OTA index file",
"examples": [
"index.json"
],
"requiresRestart": true,
"title": "OTA index override file name",
"type": [
"string",
"null"
]
}
},
"title": "OTA updates",
"type": "object"
},
"passlist": {
"description": "Allow only certain devices to join the network (by ieeeAddr). Note that all devices not on the passlist will be removed from the network!",
"items": {
"type": "string"
},
"requiresRestart": true,
"title": "Passlist",
"type": "array"
},
"permit_join": {
"default": false,
"description": "Allow new devices to join (re-applied at restart)",
"title": "Permit join",
"type": "boolean"
},
"serial": {
"properties": {
"adapter": {
"default": "auto",
"description": "Adapter type, not needed unless you are experiencing problems",
"enum": [
"deconz",
"zstack",
"zigate",
"ezsp",
"auto",
"ember"
],
"requiresRestart": true,
"title": "Adapter",
"type": [
"string"
]
},
"baudrate": {
"description": "Baud rate speed for serial port, this can be anything firmware support but default is 115200 for Z-Stack and EZSP, 38400 for Deconz, however note that some EZSP firmware need 57600",
"examples": [
38400,
57600,
115200
],
"requiresRestart": true,
"title": "Baudrate",
"type": "number"
},
"disable_led": {
"default": false,
"description": "Disable LED of the adapter if supported",
"requiresRestart": true,
"title": "Disable led",
"type": "boolean"
},
"port": {
"description": "Location of the adapter. To autodetect the port, set null",
"examples": [
"/dev/ttyACM0"
],
"requiresRestart": true,
"title": "Port",
"type": [
"string",
"null"
]
},
"rtscts": {
"description": "RTS / CTS Hardware Flow Control for serial port",
"requiresRestart": true,
"title": "RTS / CTS",
"type": "boolean"
}
},
"title": "Serial",
"type": "object"
},
"whitelist": {
"items": {
"type": "string"
},
"readOnly": true,
"requiresRestart": true,
"title": "Whitelist (deprecated, use passlist)",
"type": "array"
}
},
"required": [
"mqtt"
],
"type": "object"
},
"coordinator": {
"ieee_address": "0x00124b00194af0d6",
"meta": {
"maintrel": 1,
"majorrel": 2,
"minorrel": 7,
"product": 1,
"revision": 20220302,
"transportrev": 2
},
"type": "zStack3x0"
},
"log_level": "info",
"network": {
"channel": 11,
"extended_pan_id": "0x00124b00194af0d6",
"pan_id": 4567
},
"permit_join": false,
"restart_required": false,
"version": "1.36.0-dev",
"zigbee_herdsman": {
"version": "0.36.1"
},
"zigbee_herdsman_converters": {
"version": "18.46.0"
}
}

You have enabled the Legacy API:
"legacy_api": true,
"legacy_availability_payload": true,
Those must not be set. They will disapper in the next releases I guess.
I already added the correct code to not have a crash then I will think about how to tell the user that Legacy must not be set or how to deal with it.
Thank you so much!
By the way since you are reinstalling everything you can factoryReset Matterbridge deleting the matterbridge.json and the storage directory in the .matterbridge directory. Of couse after you have to pair everything too...

I modified the code in a way that it can deal with legacy.
And in any case I put try catch.
Thanks again for your contribution!
Will be in the next release.

I removed all lines from the zigbee2mqtt configuration file containing the word legacy. Did a factoryReset Matterbridge and tried to run matterbridge -add matterbridge-zigbee2mqtt again. I again received an error in the console with the command
CLI: Matterbridge.loadInstance() called
Matterbridge instance does not exists! Initializing...
[17:01:57.480] [Matterbridge] Matterbridge version 1.2.2 mode  running on Linux 4.4.143-69-rockchip-g8ccef796d27d linux arm64
CLI: Matterbridge.loadInstance() exited
[17:01:57.524] [Matterbridge] Loading plugin matterbridge-zigbee2mqtt type
MAIN: Matterbridge.loadInstance() called
MAIN: Matterbridge.loadInstance() exited
[17:01:59.128] [Matterbridge zigbee2mqtt plugin] Loaded zigbee2mqtt parameters from /home/msh/.matterbridge/matterbridge-zigbee2mqtt.config.json:
[17:01:59.139] [Zigbee2MQTT] Created new instance with host: localhost port: 1883 topic: zigbee2mqtt-1 username: msh password: *****
[17:01:59.146] [Zigbee2MQTT] Starting...
[17:01:59.671] [Zigbee2MQTT] Data directory /home/msh/Matterbridge/matterbridge-zigbee2mqtt created successfully.
[17:01:59.692] [Matterbridge] Loaded plugin matterbridge-zigbee2mqtt type DynamicPlatform (entrypoint /usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/dist/index.js)
[17:01:59.895] [Zigbee2MQTT] Connection established
[17:01:59.897] [Zigbee2MQTT] Started
[17:01:59.900] [Zigbee2MQTT] Subscribing topic: zigbee2mqtt-1/#
undefined:1
online
^
SyntaxError: Unexpected token o in JSON at position 0
at JSON.parse ()
at Zigbee2MQTT.messageHandler (file:///usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/dist/zigbee2mqtt.js:312:31)
at MqttClient. (file:///usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/dist/zigbee2mqtt.js:164:22)
at MqttClient.emit (node:events:517:28)
at handlePublish (/usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/node_modules/mqtt/build/lib/handlers/publish.js:97:20)
at handle (/usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/node_modules/mqtt/build/lib/handlers/index.js:28:35)
at work (/usr/local/lib/nodejs/node-v18.19.1-linux-arm64/lib/node_modules/matterbridge-zigbee2mqtt/node_modules/mqtt/build/lib/client.js:225:40)
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
In this case, Matterbridge does not stop, but does not add a plugin. I looked again at Settings - Raw and saw the lines there again:
"legacy_api": true,
"legacy_availability_payload": true,
which are not in my config file.
I think this is in zigbee2mqtt itself by default

Hi you cannot edit the zigbee2mqtt configuration.yaml. Just use the frontend Settings Settings Advanced. Save without legacy and restart you will see that the wrong options disappered.

I did as you wrote - it worked. The relay appeared in Home Assistant and is controlled. This is good.
I added another zigbee device to z2m - everything broke. Nothing works again.
Please write how to add new devices to z2m

In the z2m frontend turn Permit join all on. Then put your new device in pairing mode (read the instruction) and in a few seconds in the frontend you will see that it added the device.


Add repair v2.1 segment command

Add command for repair 2.1 segment-index not match meta
/kind improvement
Signed-off-by: Congqi Xia<EMAIL_ADDRESS>

/lgtm


googleApiKey is not being passed down

Your proposed fix of multipoint distance and duration calculations is fantastic but it is not working as is. You need to pass the apikey all the way into the implementation in order to get a valid result from the api. Small change but vital.
Since you changed the interface of PolylinePoints().getRouteBetweenCoordinates() you should also update the example and tests to match the new signature. This part is not vital but might help to get your PR approved.
Personally, I am not a fan of changing getRouteBetweenCoordinates() to take a PolylineRequest object rather than individual parameters, as it forces the caller to use the internal  PolylineRequest. But that's your decision. 😎

I think this is not longer needed


abstreet tries to allocate 4654951TB of memory

cd game; RUST_BACKTRACE=1 cargo run --release
    Finished release [optimized] target(s) in 1.13s
     Running `/home/mateusz/Downloads/abstreet/target/release/game`
Inner window size is PhysicalSize { width: 1920, height: 1020 }, monitor is PhysicalSize { width: 1920, height: 1080 }, scale factor is 1.0833333333333333
load map...
Loading map ../data/system/maps/montlake.bin
Reading ../data/system/maps/montlake.bin: 0/4 MB... 0.0000smemory allocation of<PHONE_NUMBER>962047971 bytes failedAborted (core dumped)

I earlier created my own map, I will now try to retry it from clean setup.

Restarting from scratch (cloning repository) fixed the issue.

For the record, you probably had run the updater, but not synced past 476e0e101f738b74c30ae1b4a40673ed6fe006f4. This is an amazing crash though.


Refactoring to BaselineOf

Renamed Cosmos-Tests -> Cosmos-SUnit-Model to comply with ba-st/Community guidelines
First refactoring to BaselineOf

Pull Request Test Coverage Report for Build 858

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

Totals

Change from base Build 856:
0.0%

Covered Lines:
7938

Relevant Lines:
7938

💛  - Coveralls

Pull Request Test Coverage Report for Build 858

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

Totals

Change from base Build 856:
0.0%

Covered Lines:
7938

Relevant Lines:
7938

💛  - Coveralls

Pull Request Test Coverage Report for Build 858

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

Totals

Change from base Build 856:
0.0%

Covered Lines:
7938

Relevant Lines:
7938

💛  - Coveralls


feat: Add page_token/next_page_token to retrieve historical bars/quotes/trades

closes https://github.com/alpacahq/alpaca-py/issues/503
Context:

we could not retrieve full range historical data due to hardcoded limit without page_token
adding page_token is suggested in the issue above

Changes:

add page_token/next_page_token for the request/response object of bars/quotes/trades

We don't need this, see my explanation here: https://github.com/alpacahq/alpaca-py/issues/503#issuecomment-2324189231

We don't need this, see my explanation here: #503 (comment)

Oh, You are right. I should have checked the code more. Thank you.


TestContainers does not wait for all services started with Docker Compose to be ready

TestContainers does not wait for all services started with Docker Compose to be ready.
This happens with JUnit 5, TestContainers 1.15.0 and a PostgreSQL container.
I have made a minimal reproducer at https://github.com/jponge/bug-testcontainers-and-docker-compose-fail-nov2020

When the @BeforeAll method is entered the connection to PostgreSQL fails.
Adding a small delay of 1s gives extra time for the connection to be ready: https://github.com/jponge/bug-testcontainers-and-docker-compose-fail-nov2020/blob/main/src/test/java/MyTest.java#L29

https://www.testcontainers.org/features/startup_and_waits/
you need to implement wait strategies

The default wait strategy is to wait for container ports to be ready. Making this explicit in the reproducer does not fix the problem:
    @Container
    private static final DockerComposeContainer CONTAINERS = new DockerComposeContainer(new File("docker-compose.yml"))
            .waitingFor("postgres", Wait.forListeningPort());

@jponge have you tried adding .withExposedService("postgres_1", 5432), as per the docs?

Indeed this works thanks @bsideup
    @Container
    private static final DockerComposeContainer CONTAINERS = new DockerComposeContainer(new File("docker-compose.yml"))
            .withExposedService("postgres_1", 5432);

That being said I find it counter-intuitive, I'd expect all containers to be waited for rather than having to manually specify all of them.
WDYT?

@jponge well, withExposedService is essential because otherwise you won't be able to access the service unless you get lucky and the host is "localhost" (not the case in case of docker-in-docker, for example) and port is not allocated yet.
We generally discourage the use of fixed host/ports because it is unreliable.
Also, we can't easily iterate all services in Docker Compose and know them in advance because there is no API for that. Docker Compose is quite limited, and I would always recommend using GenericContainers instead, even for local development.

Also, we can't easily iterate all services in Docker Compose and know them in advance because there is no API for that.

Well I think you can parse the YAML and spot service port declarations.

Closing this, works as @bsideup suggested, thanks.

Unfortunately it isn't that simple and we would end up re-implementing a major piece of Docker Compose 😅 Given how limiting it is, I would rather focus on TC's core functionality :)


fix: GH release workflow

GitHub release workflow was broken by changes made in commit 4625e3e which was intended to fix deprecation message but the usage was wrong and didn't correctly fix all warnings. This commit aims to fix all warnings and deprecation messages.
Signed-off-by: Sunil Thaha<EMAIL_ADDRESS>

Please note that engineerd/setup-kind is the only action that continues to use node 12.
May be worth switching to https://github.com/helm/kind-action since it uses node 16 https://github.com/helm/kind-action/blob/main/action.yml#L38

Tested the workflow using - https://github.com/sthaha/observability-operator/actions/runs/3366617136/jobs/5583287072

lgtm


drivers: usb: nordic: Fix for startup with USB cable attached.

Fixes bug introduced in #14875.
USBDETECTED event is be generated on cable attachment and
when cable is already attached during reset, but not when
the peripheral is re-initialized. When USB-enabled bootloader
is used, target application will not receive this event
and it needs to be generated again. This commit implements
a check against driver being enabled multiple times in case
of application without bootlader starting with cable attached
(both "fake" and "real" events are generated). Such dirty
trick allows bootloader to leave the peripheral in any state
before jumping to target application.
Fixes #15073
Signed-off-by: Paweł Zadrożniak<EMAIL_ADDRESS>

@takumiando  Could you check it with your application?

@takumiando Could you check it with your application?

I checked it.
Sorry for my mistake...


As an enthusiastic Squeak user IWLT rearrange the focused window to the right half of the screen in the image upon pressing a key combination including the right arrow

🎈🎈🎈

Switch from j-i-k-l to arrow keys.

It's now possible to change key combinations via preferences. Default values are set to arrow keys.


PLANNER-366: Workbench: Construction Heuristics solver configuration

This PR provides base for adding Solver phases in Solver configuration section. Only Construction heuristic phases are supported ATM (will be extended with Local search, etc). There might be some more UI changes as I receive feedback from UXD.

@ge0ffrey Regarding ConstructionHeuristicTypeModel enum, I do believe we can reuse OptaPlanner enum (after making it JS-friendly). I'll have a look at this.

+1 (just some minor comments, see inline)

@csadilek Thanks, fixed.


Not apparent enough whether we are recording or browsing

"When I click through to this Recorded page, it seems like it’s not as apparent as it was in old interface that I am in Replay mode. "
"do I have to click “Stop Recording” to complete the recording process, or can I just click away from the recording page, (since there are so many other links/options for moving away from the recording process?)"

We'll try Hannah's homepage treatment with the recorder top bar, the recording name on the left followed by the Url.
When in replay/browsing mode, the recording name it would become a dropdown, filtering by other recordings that have same url.

save some space by removing redundant rec/collection names
make room for autoscroll and static snapshot in both browse and record
make it possible to see all urls

Next bits

finish button in add to recording not working
when browsing recording, if we load a page that's not recorded, it goes to patch but should go to content not found
if we load a resource that's not a page, page index should show something reasonable
improve ux for add to recording and autocomplete -- ilya wants to make sure people know they can add new pages, and don't accidentally re-record


chore: add opentelemetry-otlp integration example

Motivation

Provide specific example of how to set up various opentelemetry configrations  from tracing When connecting tracing and opentelemetry ecosystems

Solution

This example aims to demonstrate the following points

tracing-opentelemetry configuration is done through the open telemetry sdk
telemetry export is done using a plugin (opentelemetry-otlp), and the plugin provides the sdk construct helper methods

Thank you, your code example helped me a lot!


[BUG] Error while closing channel

error logs:
{"name":"testnet-prod","hostname":"spring-node-0-taiwan","pid":1538910,"level":50,"msg":"[EVENT_CHANNEL_MANAGER] [closeChannel] Error while closing channel (channelId:<PHONE_NUMBER>190, message:Can't find filterIdSet (eventNode: undefined))","time":"2024-08-14T00:40:56.559Z","v":0}
{"name":"testnet-prod","hostname":"spring-node-0-taiwan","pid":1538910,"level":50,"msg":"[EVENT_CHANNEL_MANAGER] [closeChannel] Error while closing channel (channelId:<PHONE_NUMBER>190, message:Can't find filter by filter id)","time":"2024-08-14T00:51:05.663Z","v":0}
...
{"name":"testnet-prod","hostname":"spring-node-0-taiwan","pid":1538910,"level":50,"msg":"[EVENT_CHANNEL_MANAGER] [closeChannel] Error while closing channel (channelId:<PHONE_NUMBER>190, message:Can't find filter by filter id)","time":"2024-08-14T02:44:34.678Z","v":0}

Resolved.


Thermostat supports climate.turn_off service but not climate.turn_on?

I noticed after I most updated the other day to the most recent version through HACS, my dual smart thermostat I set up no longer supports climate.turn_on, which means I can no longer turn it on through google assistant. Is this intentional?
2024-03-21 03:33:06.639 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall climate.turn_on (c:01HSG94NAEVQGFEX283BTMTDAZ): entity_id=['climate.eight_sleep_thermostat']>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2335, in _run_service_call_catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 887, in entity_service_call
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Entity climate.eight_sleep_thermostat does not support this service.

Please check v0.9.5-beta.2


sync_batchnorm

I tried to set  "sync_batchnorm: True " in configs.training.trainer,  and the training just got stuck, why?

Hi!
I do not know, actually... We tried it, failed to get it to work and decided to postpone. Sync_batchnorm is managed by PytorchLightning - so it might worth updating Pytorch or PytorchLightning or post an issue to their githubs


split off product specific part of configure agents docs (#3742)

Pull request opened by the merge tool on behalf of #3742

Merged in 664e4773a473d6ef82a78b754d54efa5cc029f64


Config value

What type of PR is this? (check all applicable)

[x] Refactor
[ ] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Other: Replace this with a description of the type of this PR

Description
This PR introduces the config::value type and use it all over polybar.
Instead of reading configuration values from concatenation of string keys to form the whole key, config::value provides a [] operator used to compose new keys.

Related Issues & Documents
This is a preliminary refactor towards a new configuration format and #2391

Documentation (check all applicable)

[ ] This PR requires changes to the Wiki documentation (describe the changes)
[ ] This PR requires changes to the documentation inside the git repo (please add them to the PR).
[x] Does not require documentation changes

This looks very promising :D
I unfortunately don't really have time to review this right now, any spare time I have, I want to put into finishing the next release.
But in general, I very much agree with the concept of giving modules a view of their own section without them having to select their section every time
And of course the testing infrastructure will also be very useful ;)


Updates to thaliWifiInfrastructure

This needs to happen in parallel with the Android only work on thaliMobileNativeWrapper and just before the Android only work on thaliMobile. It will slot right now.

[ ] Make sure the USN generation logic will use the composite UUID + generation format and that we will maintain the same UUID from when startUpdateAdvertisingAndListening it called until stopAdvertisingAndListening is called. When startUpdateAdvertisingAndListening is called for the first time AFTER stopAdvertisingAndListening is called THEN we should generate a new UUID.
[ ] Change wifiPeerAvailabilityChanged to advertise the UUID in peerIdentifier and generation in the generation value.

Just started to write tests. Should be done tomorrow.

Almost ready, one test from testThaliWifiInfrastructure.js is still failing. Also updated wifi infrastructure requires some changes in node-ssdp. More details a bit later


ImportError: No module named '_C'

this is my error below,
Traceback (most recent call last):
File "run.py", line 8, in
from script.train import train
File "/storage/storage/personal/KY/jupyter_lab_2/faster-rcnn-pytorch/script/train.py", line 12, in
from lib.model.vgg16 import VGG16
File "/storage/storage/personal/KY/jupyter_lab_2/faster-rcnn-pytorch/lib/model/vgg16.py", line 4, in
from lib.model.faster_rcnn import FasterRCNN
File "/storage/storage/personal/KY/jupyter_lab_2/faster-rcnn-pytorch/lib/model/faster_rcnn.py", line 6, in
from lib.model.rpn.rpn import _RPN
File "/storage/storage/personal/KY/jupyter_lab_2/faster-rcnn-pytorch/lib/model/rpn/rpn.py", line 5, in
from lib.model.rpn.proposal_layer import _ProposalLayer
File "/storage/storage/personal/KY/jupyter_lab_2/faster-rcnn-pytorch/lib/model/rpn/proposal_layer.py", line 7, in
from _C import nms
ImportError: No module named '_C'
i can't find '-C' module

i followed this compile guide that you mention.
Compile all python extensions (NMS, ROI Pooling) for CPU and CUDA with next commands:
cd lib
python setup.py develop

If you compile process finished without errors, you must find this module in ./lib folder.
Name of the module: _C.........pyd.
Is there it?

For windows, look like this:

i work on , Linux Ubuntu 16.04.
now, i try to install and upgrade python3.5-dev.
but ,, still,,, error comes up.

Usually, exact error message you can find above text failed with exit status 1.

run.py script working on pytorch 1.3.0?

Should work, but my version is 1.4.0.
You find exact error messages from compiler?

still not solve it..

Find in text of console some string where there is a "error" keyword.

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA -I/usr/local/lib/python3.5/dist-packages/torch/include -I/usr/local/lib/python3.5/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.5/dist-packages/torch/include/TH -I/usr/local/lib/python3.5/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.5m -c /storage/storage/personal/KY/jupyter_lab_2/faster-rcnn-pytorch/lib/csrc/cpu/nms.cpp -o build/temp.linux-x86_64-3.5/storage/storage/personal/KY/jupyter_lab_2/faster-rcnn-pytorch/lib/csrc/cpu/nms.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++

Is there something else? Here, there is no errors...

this is log, when i run setup.py scripy.
Log:
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA -I/usr/local/lib/python3.5/dist-packages/torch/include -I/usr/local/lib/python3.5/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.5/dist-packages/torch/include/TH -I/usr/local/lib/python3.5/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.5m -c /storage/storage/personal/KY/jupyter_lab_2/faster-rcnn-pytorch/lib/csrc/cpu/nms.cpp -o build/temp.linux-x86_64-3.5/storage/storage/personal/KY/jupyter_lab_2/faster-rcnn-pytorch/lib/csrc/cpu/nms.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
After then:
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

May be you need to install additional dependencies like python-dev or something else?
Try this at start for python 3.x:
  $ sudo apt-get install python3-dev

i already did~ but still error.
so, i am check on 'setup.py' script and upgrade pytorch==1.4.0
because, In this script, use 'from torch.utils.cpp_extension import BuildExtension'
actually, i am using pytorch==1.3.0

Try to add in lib/csrc/cpu/roi_pool.cpp and lib/csrc/cuda/roi_pool_kernel.cu this:
#include <math.h>
#include <float.h>

I'll apply to add right away
#include <math.h>
#include <float.h>

setup was successful. 😄
Thank you so much for the quick reply and help.


How can I use with auth like username password

How can I use with auth like username password
I try this but not worked https://rubygems.org/gems/socksify-with-auth/versions/1.7.1
def tcp_socket(address, port,p_username = nil, p_password = nil) addr = TCPSocket::SOCKSConnectionPeerAddress.new("ip adress", 14193,"username","password", address) TCPSocket.open(addr, port, self.source_address)
Originally posted by @RKurcan in https://github.com/postalhq/postal/issues/605#issuecomment-638751791

Are you trying to connect to Postal from something else or connect to a proxy from Postal?

connect to a proxy from Postal?

I'm not sure thats possible, have a read of #48


Default css globally styles buttons

The default css sets a global style for button with a font-family; it should probably be removed as it affects other things on the page.

Are you willing for a PR?

Done; see #33.


🐛 [firebase_admob] Cannot load different ad unit after one ad unit is loaded

Bug report
Once one type of ad unit is loaded, I cannot load another type unless first one is watched.
For example, on homepage I give coins for watching the rewarded ads. And when user plays the game and loses, I want to load another type of ad to let user continue playing from where they left off. But as homepage is loading first with the ads for coins, I cannot load another type of rewarded ad when user loses the game.
Steps to reproduce

Load one type of rewarded ad on one screen.
Move to another screen that has different type of rewarded ad.
Try loading second type of rewarded ad with different ad unit.
Open the ad.
Reward Callback will contain reward info for first loaded ad.

Expected behavior
AdMob should discard the first loaded ad, and load the last requested ad unit and should give the reward accordingly.
Flutter doctor
Click To Expand
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-AZ)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.4)
[✓] Connected device (1 available)

Flutter dependencies
Click To Expand
Dart SDK 2.9.2
Flutter SDK 1.20.3
....

dependencies:
- bloc 5.0.0 [cubit meta]
- cached_network_image 2.3.1 [flutter flutter_cache_manager octo_image]
- connectivity 0.4.9+2 [flutter meta connectivity_platform_interface connectivity_macos connectivity_for_web]
- cupertino_icons 0.1.3
- date_format 1.0.8
- device_preview 0.4.8 [font_awesome_flutter http freezed_annotation json_annotation flutter flutter_localizations meta shared_preferences shared_preferences_macos]
- dotted_border 1.0.6 [flutter path_drawing]
- equatable 1.2.4 [collection meta]
- file_picker 1.13.3 [flutter flutter_plugin_android_lifecycle file_picker_platform_interface]
- firebase_admob 0.10.0-dev.1 [meta platform flutter firebase_core]
- firebase_analytics 6.0.0 [meta flutter firebase_core firebase_analytics_web firebase_analytics_platform_interface]
- firebase_auth 0.18.0+1 [meta firebase_core firebase_core_platform_interface firebase_auth_platform_interface firebase_auth_web flutter]
- firebase_core 0.5.0 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_crashlytics 0.1.4+1 [flutter stack_trace]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_bloc 5.0.0 [flutter flutter_cubit bloc provider]
- flutter_inapp_purchase 2.2.0 [http flutter platform meta]
- flutter_localizations 0.0.0 [flutter intl characters collection meta path typed_data vector_math]
- flutter_secure_storage 3.3.3 [meta flutter]
- flutter_statusbarcolor 0.2.3 [flutter]
- http 0.12.2 [http_parser path pedantic]
- image_picker 0.6.7+7 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_sequence_animator 1.0.6 [flutter]
- package_info 0.4.3 [flutter]
- path_provider 1.6.14 [flutter path_provider_platform_interface path_provider_macos path_provider_linux]
- percent_indicator 2.1.5 [flutter]
- permission_handler 5.0.1+1 [flutter meta permission_handler_platform_interface]
- provider 4.3.2+1 [flutter nested collection]
- share 0.6.5 [meta mime flutter]
- store_redirect 1.0.2 [flutter]
- url_launcher 5.5.2 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.4.2 [collection]
- boolean_selector 2.0.0 [source_span string_scanner]
- characters 1.0.0
- charcode 1.1.3
- clock 1.0.1 [meta]
- collection 1.14.13
- connectivity_for_web 0.3.0 [connectivity_platform_interface js flutter_web_plugins flutter]
- connectivity_macos 0.1.0+3 [flutter]
- connectivity_platform_interface 1.0.6 [flutter meta plugin_platform_interface]
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.4 [collection convert typed_data]
- cubit 0.1.2 [meta]
- fake_async 1.1.0 [clock collection]
- file 5.2.1 [intl meta path]
- file_picker_platform_interface 1.3.1 [flutter plugin_platform_interface]
- firebase 7.3.0 [http http_parser js]
- firebase_analytics_platform_interface 1.0.3 [flutter meta]
- firebase_analytics_web 0.1.1 [flutter flutter_web_plugins firebase firebase_analytics_platform_interface meta]
- firebase_auth_platform_interface 2.0.1 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.0+1 [flutter flutter_web_plugins firebase meta http_parser intl firebase_core firebase_auth_platform_interface js]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.0 [firebase firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_blurhash 0.5.0 [flutter meta]
- flutter_cache_manager 1.4.1 [flutter path_provider uuid http path sqflite pedantic clock file rxdart]
- flutter_cubit 0.1.0 [flutter cubit provider]
- flutter_plugin_android_lifecycle 1.0.8 [flutter]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- font_awesome_flutter 8.8.1 [flutter]
- freezed_annotation 0.11.0+1 [collection json_annotation meta]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image_picker_platform_interface 1.1.0 [flutter meta http plugin_platform_interface]
- intl 0.16.1 [path]
- js 0.6.2
- json_annotation 3.0.1
- matcher 0.12.8 [stack_trace]
- meta 1.1.8
- mime 0.9.7
- nested 0.0.4 [flutter]
- octo_image 0.2.1 [flutter flutter_blurhash]
- path 1.7.0
- path_drawing 0.4.1 [vector_math meta path_parsing flutter]
- path_parsing 0.1.4 [vector_math meta]
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+3 [flutter]
- path_provider_platform_interface 1.0.2 [flutter meta platform plugin_platform_interface]
- pedantic 1.8.0+1
- permission_handler_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- platform 2.2.1
- platform_detect 1.4.0 [meta pub_semver]
- plugin_platform_interface 1.0.2 [meta]
- process 3.0.13 [file intl meta path platform]
- pub_semver 1.4.4 [collection]
- quiver 2.1.3 [matcher meta]
- rxdart 0.24.1
- shared_preferences 0.5.7+3 [meta flutter shared_preferences_platform_interface shared_preferences_macos shared_preferences_web]
- shared_preferences_macos 0.0.1+10 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- sky_engine 0.0.99
- source_span 1.7.0 [charcode collection meta path term_glyph]
- sqflite 1.3.1 [flutter sqflite_common path]
- sqflite_common 1.0.2+1 [synchronized path meta]
- stack_trace 1.9.5 [path]
- stream_channel 2.0.0 [async]
- string_scanner 1.0.5 [charcode meta source_span]
- synchronized 2.2.0
- term_glyph 1.1.0
- test_api 0.2.17 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.2.0 [collection]
- url_launcher_linux 0.0.1+1 [flutter]
- url_launcher_macos 0.0.1+7 [flutter]
- url_launcher_platform_interface 1.0.8 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.3+1 [url_launcher_platform_interface platform_detect flutter flutter_web_plugins meta]
- uuid 2.2.0 [crypto convert]
- vector_math 2.0.8
- xdg_directories 0.1.0 [path process flutter]

Hi @Zeynal7,
There's another open issue related to your case 3407.
Does that resemble your issue ?
Thanks.

I don't think they are the same. That issue is about loading an ad while showing another one - and as a result, showing ads in a row. My issue is loading another ad with different ad unit and discarding first one.

I checked that again. And I think the suggested solution  for that issue - new rewarded ad api would also fix my problem.


Only some countries working

Hello there,
I just installed this module, and I can't get it work for some countries.
Here is an example of returns I get:
import { checkVAT, countries } from 'jsvat';

console.log(checkVat('FRXX999999999', countries).isValid)   // => true
console.log(checkVat('DE999999999', countries).isValid)     // => false
console.log(checkVat('BE1234567890', countries).isValid)    // => false

Did I miss something ?

Hi @Aeners ,
You've just killed my mind with the case in your example (you typed both checkVAT and checkVat, but it supposed to be checkVAT))) I literary spent an hour trying to understand how for the fucks sake checkVat could be undefined )) I guess I need a vacation...
Anyway, regarding your question.
I guess the problem with this particular line
console.log(checkVat('DE999999999', countries).isValid)     // => false

Is simple - DE999999999 Isn't a valid VAT =) Same for BE1234567890.
In other words:
console.log(checkVAT('BE1234567890', countries).isValid)    // => false
console.log(checkVAT('BE0411905847', countries).isValid)    // => true

So I assume the lib is working as expected, and I gonna close this issue )
If I didn't catch something - feel free to reopen it )


Feedback [Week 2]

Hey Fellows 👋
ReadMe
This feedback was given last week, so I won't go into many details but the readme is to describe the project. This might be on the to-do list but this is just a reminder.
There isn't anything else noticeable at the moment but I would like to emphasize what needs to be achieved next week.

[ ] Update Readme
[ ] Refactor the code
[ ] Write some tests
[ ] Make a demo video

Remember, this week is to finalize everything and to ensure everything is working correctly. So please make sure you focus on the current codebase rather than introducing new features.

@khattakdev
Thank you for the comments. For "Refactor the code", do you have a specific section in mind? Or is it something you say because you know that every project will have messy code so you insert it as a generic comment that you know always be always true?

@calvh It's more of a second point. In hackathons, people are focused on the end goal rather than writing good code. So they always end up writing messy code or just code that works.
It's a good idea to go through the whole code sample and see what parts can be improved further. Also, I believe you need to work on the folder layout as well, as the nginx folders don't make much sense.


Re-check "when to load data" idea

blocked by https://github.com/budius/pet-shop-app/issues/3

Done on https://github.com/budius/pet-shop-app/commit/ee411291809bdd352d917310d596e9a73324267e
Pet repository got united and it is repo responsibility for the first load.
Reasoning: from the ViewModel perspective it simply says "give me that", and the repo is free to reach to whichever sources it has available to fulfill the request. The loadMore() function is used only when "more" is needed.


Some NPM packages don't work

I've come across a few npm modules that don't appear to work correctly. Notably, event-emitter has issues importing es5-ext/object/assign, and debug doesn't appear to work with the chrome dev-tools. I suspect that small alterations to the module themselves (to take into account yet another working environment) may be necessary, but there could also be issues with the packager, too.

I can't get it work with lodash too.
var _ = require('lodash'); and var lodash = require('lodash'); both return an empty object.
Take a look at the bundle file generated by packager, the code for lodash is there.

I've also had a hard time getting some modules to work.  I was able to get lodash to work by using the lodash-node version. But, things like Backbone are not.
It looks like the packager thinks the exported function is a factory for creating the module, but the factory (in lodash) is not actually detecting a node environment and instead the export ends up being undefined.
I'll keep digging in the bundle and report if I find anything useful.

I had to use the lodash-cli to build a node version for React: lodash exports=node

It looks like, at least in the case of backbone (and probably regular underscore/lodash), that it checks for a define && define.amd to determine whether to use AMD versus commonJS style exports.
Why does the packager set define.amd if it's preferring commonJS exports?  Is it just because that's what the polyfill had initially?  Can we remove that?
I guess, the follow up question would be, if we do allow AMD style defines, why aren't they working for lodash, et. al.

@nicinabox The lodash-node package on npm should work for you without making a custom build; at least it has for me so far.  npm install lodash-node --save and then var _ = require('lodash-node');.

I think it's been deprecated though.

When I comment out this define.amd = {} I am able to load lodash and backbone (well, backbone is a little trickier because it depends on underscore) without a problem.

For the amd issue, here's our code responsible for it. https://github.com/facebook/react-native/blob/master/packager/react-packager/src/DependencyResolver/haste/polyfills/require.js#L597 I'm unsure why we define this global.

Woops @jgable beat me to it!

package he shows same issue.
	// Some AMD build optimizers, like r.js, check for specific condition patterns
	// like the following:
	if (
		typeof define == 'function' &&
		typeof define.amd == 'object' &&
		define.amd
	) {
		define(function() {
			return he;
		});
	}	else if (freeExports && !freeExports.nodeType) {
		if (freeModule) { // in Node.js or RingoJS v0.8.0+
			freeModule.exports = he;
		} else { // in Narwhal or RingoJS v0.7.0-
			for (var key in he) {
				has(he, key) && (freeExports[key] = he[key]);
			}
		}
	} else { // in Rhino or a web browser
		root.he = he;
	}

I have the same issue with async,
var async = require('async'); console.log(_);// {}

fixed via #581 will publish v0.3.2 soon

Naive question alert, but why not support AMD?

@broonage: we're building a new js environment (others are browser, web worker, node) and need to figure out what we support. We want to support as few things as possible so that it is easier to maintain and has less bugs overall. It turns out that the community pretty much settled on commonjs and not AMD so this is what we chose to implement. Having two things to do the same thing is usually not a great idea.
If in the future AMD makes a big comeback and there are big incentives to implement it, we could. But trying to keep it as simple as possible for now :)

@vjeux: Thanks, good to know. I'm trying to re-use some existing web modules in a project which use AMD (define), so I have to edit all the files so they are working with require() calls and module.exports=CoolReactNativeModule. I guess no other way about it. :)
Thanks again.

@cpojer would suggest you to write a codemod for this :p


Revert "move imagepullsecret to sa from deployment"

Reverts stolostron/cluster-proxy#87
lib-go will not update serviceaccount based on imagePullSecrets's changes.

/cherry-pick backplane-2.5

/override dco

/assign @qiujian16


Updating content from #376

Could not add the many properties at the root of the YAML files as many of them are not allowed as per the schema.

Docs Build status updates of commit b75f83d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/glaucia-lemos.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[FLINK-3978] [core] Add hasBroadcastVariable method to RuntimeContext

New method RuntimeContext.hasBroadcastVariable(String).

Looks good. +1

Will merge this...

This was closed in 5b0287971fa2beda360105d96e7bfbc7a110fae7


srm 1.2.15 (new formula)

Merged in https://github.com/Homebrew/homebrew-dupes/commit/ec58ec1b46a3d02d92cf14317e34f880b8331098. Thank you for your contribution to Homebrew @teslamint! :smiley_cat:


Source file rebasing textbox doesn't allow normal local file paths

C:\src\blah.cs should work, but file:/// prefix is required.

With the latest changes in Dev the user now just needs to enter the "normal" local file path ex. d:\folder\file.ext


Support non ascii

Python3 print() encodes to unicode, so changing to output as byte.
Also, the emulator shouldn't output a newline in the end (but let's do it if there's a breakpoint set do make debugging more convenient).
$ cat a.fj
startup
output_char 0xff
loop

$ git checkout main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
[lestrozi@lestrozi-fedora-PC1RGAWG flip-jump]$ python src/fja.py -w 32 a.fj -o a.fjm && python src/fji.py -s a.fjm | hexdump
  parsing:         0.123s
  macro resolve:   0.002s
  labels resolve:  0.000s
0000000 bfc3 000a
0000003

$ git checkout support_non_ascii
Switched to branch 'support_non_ascii'
Your branch is up to date with 'origin/support_non_ascii'.

$ python src/fja.py -w 32 a.fj -o a.fjm && python src/fji.py -s a.fjm | hexdump
  parsing:         0.125s
  macro resolve:   0.002s
  labels resolve:  0.000s
0000000 00ff
0000001

Thanks, @lestrozi! I accepted both of your changes. The quine is under fjms/ and I mentioned you in the Readme.
May I ask how did you get your quine? what was the process? I'm intrigued 😀.

Thanks! I didn't mean to post the quine in the same commit, but glad you moved it to a better folder :)
I'll post the source after I manage to make it understandable

Doc for the quine: https://github.com/tomhea/flip-jump/pull/142


RFC 1: Dynamic Template Loading

Compile and load templates at runtime.
Rendered

I've know spent a couple of months looking into using web assembly to solve this problem.
I had it working four months ago, just not as a macro. I now have finally figured out how this would work for sailfish.
My goal was to make it completely in-transparent when calling a render function.
Prototype
cfg attributes are used to switch between different implementations for host and guest.
When not compiling for wasm, the sailfish Template trait implementation calls a function in the web assembly vm.
This function is only compiled for wasm, because it uses a bindgen macro.
When compiling for wasm the sailfish Template trait is implemented normally.
The bind function then calls this render implementation. Then the render result is returned to the host.
The only problem with this is, that it will not work with generic struct Templates.
@Kogia-sima seems to have also not solved this problem with the "Dynamic template loading" rfc.
This means that any kind of layouting will be impossible, so Layouts can't be hot reloaded.
For me, loosing generics is a big issue. I can still finish this if there is interest, but I can't and won't use it myself. Sadly.


Default download directory and save the last used destination folder

Right now when I click on download, the destination folder is always empty, but if i click on the browse button it shows me the folder i opened last.
It would be great if the last used folder could be kept for the next download.
In general it would also be nice to have a global default download directory that is used on startup of rclone browser.

Agree. It makes sense. I will try to add this to the next release. Should not be too difficult.
Rgds
Dariusz

On 1 Oct 2019, at 03:12, danoe<EMAIL_ADDRESS>wrote:

Right now when I click on download, the destination folder is always empty, but if i click on the browse button it shows me the folder i opened last.
It would be great if the last used folder could be kept for the next download.
In general it would also be nice to have a global default download directory that is used on startup of rclone browser.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It has been added. Either you wait  for the next release or compile from my test branch (kptysky_testing). I will do next release when rlcone releases v1.50 so I can fix unmounting in windows.

Thanks so much, I'll probably wait for the v1.50 then.

Fixed in just released 1.6.0


Implement animation clips for any animation name and multiple animations

Fixes #25599
The clips method only worked if the imported model had one animation named "default".
This commit makes it work with any animation name and also implements it for any number of default animations the model imports, eg. facial animations and body animations each on their own timeline but must be split at the same frames (which is my use case).

I'll close my pr for this if there's no comments. https://github.com/godotengine/godot/pull/28362

Your commit does a lot more things though. I wonder...

@fire All I did was:

Get a list of animations in AnimationPlayer. Those I named default_animations
Iterate over said list to create the clips. No change in that logic except for
2.1 Make animation name = default_animation_name + clip_name
Remove the default_animations

I guess git diff made it a little harder to see because all the pre-existing logic is now inside a loop and it counts the extra tab as a change.

Removed some code duplication

Do you have a test project that makes it easy to verify that it works?

Sure
ClipsImportTest.zip

@akien-mga How about this PR for the next 3.2 launch

PRs should be made against the master branch, not 3.2. I'm the one to cherrypick merged and tested changes from master to stable branches, when relevant.

Fixes #25599
The clips method only worked if the imported model had one animation named "default".
This commit makes it work with any animation name and also implements it for any number of default animations the model imports, eg. facial animations and body animations each on their own timeline but must be split at the same frames (which is my use case).

I faced same issue, Is it going to be fixed any soon in release/maintenance version ?

I will try to port this to master, but I think I'll break it in two parts, one to clip one animation with any animation name and other with clipping mutiple animations, I believe the last one should go to feature proposal first and see if its a requested feature

@Juankz wow man thanks for mentioning that the animation needed to be called "default". I managed to clip my animations with the current stable and can let the animator keep his workflow.
I'll open an issue in the docs repo since I think it should be mentioned till this lands on stable.

Close in favor of #40274


User can't navigagte between different category items using keyboard

Repro step:
• Navigate to https://makecode.microbit.org/beta
• Click in the Search box
• Navigate between different category items using the keyboard
Expected result:
User can navigate between different category items using keyboard
Actual result:
User can't navigagte between different category items using keyboard

Please file microbit issues in github.com/microsoft/pxt-microbit


test: [draft] proof of concept to improve test speed

Summary
This is a proof of concept to rewrite the createMetadataFileAndCopyDatastore unit tests using mocked file operations.
Previously, the createMetadataFileAndCopyDatastore tests copied the whole Gatsby demo directory to a temporary folder and executed tests against them. Copying the Gatsby files and cleaning them up afterwards pushes each test to approximately 25 seconds even though the code being tested executes quickly. These execute more like end-to-end tests than unit tests.
I've added a draft.config.spec.ts test suite which mocks out all necessary file operations and the uuidv4 creation. This allows us to quickly execute the tests and control the flow of necessary operations. There should be 100% test coverage of this function.
Test plan
All tests should execute as previously but the new draft.config.spec.ts tests should be super speedy. 🏎
Local execution time

Test Suite
Description
Execution Time

config.spec.ts
Only createMetadataFileAndCopyDatastore tests enabled
~79.544s

draft.config.spec.ts
Only testing createMetadataFileAndCopyDatastore
~3.713s

Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal

Think this is probably a bit stale so I'm closing it. :)


Uncaught AssertionError: 509 == 0 while searching for installed package

I was checking installed packages (looking for Python Package if installed) on Atom for Mac, and after i start typing py and i got the red pop-up that invited me to open this issue:
Atom: 1.15.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.3
Thrown From: Atom Core
Stack Trace
Uncaught AssertionError: 509 == 0
At assert.js:85

AssertionError: 509 == 0
    at ClientRequest.onConnect (/app.asar/node_modules/tunnel-agent/index.js:159:14)
    at ClientRequest.g (events.js:286:16)
    at emitThree (events.js:116:13)
    at ClientRequest.emit (events.js:194:7)
    at Socket.socketOnData (_http_client.js:393:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at TCP.onread (net.js:543:20)

Commands
     -0:38.3.0 settings-view:open (input.hidden-input)

Non-Core Packages

I hope can help to solve this issue if is really a Bug...

Thanks for taking the time to contribute!
We noticed that this looks like a duplicate of https://github.com/atom/atom/issues/14074. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Invalid argument:  assertion failed: [Unable to decode bytes as JPEG, PNG, GIF, or BMP]

2020-11-19 17:13:14.386367: I tensorflow/core/kernels/data/shuffle_dataset_op.cc:172] Filling up shuffle buffer (this may take a while): 168 of 256
2020-11-19 17:13:24.373184: I tensorflow/core/kernels/data/shuffle_dataset_op.cc:172] Filling up shuffle buffer (this may take a while): 213 of 256
2020-11-19 17:13:26.240500: I tensorflow/core/kernels/data/shuffle_dataset_op.cc:221] Shuffle buffer filled.
6/83 [=>............................] - ETA: 1:13 - loss: 1.0636 - accuracy: 0.4635Traceback (most recent call last):
File "model_vgg.py", line 241, in
loss0, accuracy0 = model.evaluate(validation_dataset)
File "/gpfs/data/ahsan-lab/Sameep/tensorflow-gpu/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 108, in _method_wrapper
return method(self, *args, **kwargs)
File "/gpfs/data/ahsan-lab/Sameep/tensorflow-gpu/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 1379, in evaluate
tmp_logs = test_function(iterator)
File "/gpfs/data/ahsan-lab/Sameep/tensorflow-gpu/lib/python3.6/site-packages/tensorflow/python/eager/def_function.py", line 780, in call
result = self._call(*args, **kwds)
File "/gpfs/data/ahsan-lab/Sameep/tensorflow-gpu/lib/python3.6/site-packages/tensorflow/python/eager/def_function.py", line 807, in _call
return self._stateless_fn(*args, **kwds)  # pylint: disable=not-callable
File "/gpfs/data/ahsan-lab/Sameep/tensorflow-gpu/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 2829, in call
return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
File "/gpfs/data/ahsan-lab/Sameep/tensorflow-gpu/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 1848, in _filtered_call
cancellation_manager=cancellation_manager)
File "/gpfs/data/ahsan-lab/Sameep/tensorflow-gpu/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 1924, in _call_flat
ctx, args, cancellation_manager=cancellation_manager))
File "/gpfs/data/ahsan-lab/Sameep/tensorflow-gpu/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 550, in call
ctx=ctx)
File "/gpfs/data/ahsan-lab/Sameep/tensorflow-gpu/lib/python3.6/site-packages/tensorflow/python/eager/execute.py", line 60, in quick_execute
inputs, attrs, num_outputs)
tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found.
(0) Invalid argument:  assertion failed: [Unable to decode bytes as JPEG, PNG, GIF, or BMP]
[[{{node decode_image/cond_jpeg/else/_1/decode_image/cond_jpeg/cond_png/else/_20/decode_image/cond_jpeg/cond_png/cond_gif/else/_39/decode_image/cond_jpeg/cond_png/cond_gif/Assert/Assert}}]]
[[IteratorGetNext]]
[[IteratorGetNext/_4]]
(1) Invalid argument:  assertion failed: [Unable to decode bytes as JPEG, PNG, GIF, or BMP]
[[{{node decode_image/cond_jpeg/else/_1/decode_image/cond_jpeg/cond_png/else/_20/decode_image/cond_jpeg/cond_png/cond_gif/else/_39/decode_image/cond_jpeg/cond_png/cond_gif/Assert/Assert}}]]
[[IteratorGetNext]]
0 successful operations.
0 derived errors ignored. [Op:__inference_test_function_1802]
Function call stack:
test_function -> test_function

@Liquidten
Please, fill issue template.
Request you to share colab link or simple standalone code to reproduce the issue in our environment.It helps us in localizing the issue faster. Thanks!


More operators

4 *Assign operators and the two PartialEq ones.
Special thanks to @eddyb who found the issue with translating generic functions :)

@brson LGTM

Thanks!


Unwanted ports bound when running a docker image

Hi,
I've created a new repository by committing an existing (but not running) container to a new name (e.g. mysoft).
The problem is that when I run it as:
docker run -t -i mysoft /bin/bash
The ports that I used to bind to the older container / image by using the '-p' parameter are exposed in this new container.
Is this the expected behavior?. How can I get rid of it and run my new repo/image without exposing any of these older ports?.
Miguel

UNEXPOSE would be nice to have. When I "inherit" from another container and change the port, the old one  (here 9000/tcp) still shows up
1c4c9c9fdf08        mulle/mediawiki:wheezy   "/usr/sbin/php5-fpm    17 hours ago        Up 17 hours         **9000/tcp**, <IP_ADDRESS>:9001->9001/tcp       mediawiki

I agree UNEXPOSE is needed, even UNEXPOSE ALL (or something to that effect).

See this issue https://github.com/docker/docker/issues/3465 (and PR https://github.com/docker/docker/pull/8177) for UNSET-ing properties inherited from a parent image.
I think this should be closed as a dup of https://github.com/docker/docker/issues/3465

Thank you @thaJeztah

Closeing since it's really a dup for UNSET


Correctly wait for transitions

This PR changes two things:

Wait for transitions before adapting a light
Remove all of the unnecessary code that assumes a transition could still be happening (e.g. cnt_significant_changes)

I've named all the PRs with number headings representing the ascending order they should merge in.
Hope this simplifies the changes a bit as I totally agree that having everything in one PR was a bit too much upkeep.

I seemed to have broken something accidentally so I reverted my change. I will continue in #516.

Awesome! I believe I didn't explain the purpose of cnt_significant_changes properly. The idea is that sometimes the light changes not because of a light.turn_on event, but because the light has been changed e.g., on a dimmer in the wall, or via Google Home.
Therefore we are seeing whether a light has changed.
I think your fix is orthogonal to the cnt_significant_changes code being broken.
We need your fix regardless, but I think we shouldn't remove the cnt_significant_changes functionallity (given we still want that fixed).

Once this is implemented, I highly recommend changing the default config values.
e.g. interval: 5 transition: 60 as updating attributes isn't nearly as cpu-intensive as calling light.turn_on. A reminder that we're also checking if the service data differs from the last adapt in 1.9.1

Awesome!
I believe I didn't explain the purpose of cnt_significant_changes properly. The idea is that sometimes the light changes not because of a light.turn_on event, but because the light has been changed e.g., on a dimmer in the wall, or via Google Home.
Therefore we are seeing whether a light has changed.
I think your fix is orthogonal to the cnt_significant_changes code being broken.
We need your fix regardless, but I think we shouldn't remove the cnt_significant_changes functionality (given we still want that fixed).

I don't quite see the purpose of this? Once a transition finishes, we're updating the light's state via update_entity to see if it correctly matches the last service data.

@basnijholt I moved this here for accessibility:
The ONLY possible cases where detect_non_ha_changes can fail in this pr (ordered most to least problematic):

Light never got the light.turn_on command we sent with the last service data somehow. Haven't seen this happen in the two weeks I've been using the new significant_change code. Perhaps this could be tested in our tests?
Light went offline during the transition of the last adapt, code will currently fire the manual control event for any bulbs that go offline. This was an already outstanding issue in the old code. (see #307)
Light is improperly configured by the user and doesn't report any state changes to hass even after an update_entity() call (e.g. zigbee bulb where reporting is configured to off)
(fixed in #514) Light's entity state was correctly adapted to last_service_data but the light converted the color data (e.g. color_temp_kelvin used in our service data but was converted by the light to rgb_color)

@basnijholt What is the is_async argument used for in _fire_manual_control_event? I notice it's only False for significant_change

This is really great!
Glad you got to the bottom of this 3-year-old bug 😄
I changed the manifest.json version to 1.10.0, such that I can tag a new version right away.

I prefer to take it one at the time because those PRs are another 500+ lines of code changes.
I also don't have time today to review those anymore :-(

Good idea! Thank you SO much!!

@all-contributors please add @th3w1zard1 for bugs


Global settings for categories...

For example... I have separate categories for Game Boy, Game Boy Color, etc. It would be nice to set all my Game Boy games (which are all in the same category) to use the same color palette, without having to go into the properties of each game. Is there a way to do that already? Cuz I haven't found it. Maybe a section for settings on a per-hardware basis would be nice. Thanks!

Yeah, that is a great idea. Thanks for submitting.

I also wanted to mention, the feed document is in JSON. So, with some pretty simple code, you can perform sweeping changes. For example, the following snippet will force all Game Boy games to use the default Super Game Boy palette.
`'use strict';
const fs = require('fs');
let rawdata = fs.readFileSync('feed.json');
let feed = JSON.parse(rawdata);
let cats = feed.categories;
for (let i = 0; i < cats.length; i++) {
let cat = cats[i]
let items = cat.items;
for (let j = 0; j < items.length; j++) {
let item = items[j];
let type = item.type;
if (type === 'gb') {
let props = item.props;
props.colors = 2;
}
}
}
let data = JSON.stringify(feed);
fs.writeFileSync('feed-update.json', data);`


I need help

how can I adjust the angle of the word? I don't like horizontal or vertical.
I defined the width and height to be large, such as 1200*1200, but there are fewer words, how do I get them as clustered and centered as possible.

solve!
wordCloud.setAngleGenerator(new AngleGenerator(0));
wordCloud.setWordStartStrategy(new CenterWordStart());


rmf_demos_panel: Download of webpack to location with no permissions

Bug report
Required information:

Operating system and version:

Ubuntu Focal

OpenRMF installation type:

binaries

OpenRMF version or commit hash

1.3.0

ROS distribution and version:

galactic

ROS installation type:

binaries

Package or library, if applicable:

rmf_demos_panel

Description of the bug
When trying to run a demo on an installed version of Open-RMF rmf_demos_panel uses this function to try to download the webpack to a location that is relative to the installation of the package:
https://github.com/open-rmf/rmf_demos/blob/513550af993a9c52a55d06c853576dea4c944a86/rmf_demos_panel/rmf_demos_panel/gui_server.py#L32
when using binary packages the user does not have permissions on the installation directory, therefore this fails:
[gui_server-13] Check path  /opt/ros/galactic/lib/python3.8/site-packages/rmf_demos_panel/static/dist/app.bundle.js
[gui_server-13] BundleJS File does not exist, Download it from https://open-rmf.github.io/rmf_demos/v1.0.0/app.bundle.js
[gui_server-13] Traceback (most recent call last):
[gui_server-13]   File "/opt/ros/galactic/lib/rmf_demos_panel/gui_server", line 11, in <module>
[gui_server-13]     load_entry_point('rmf-demos-panel==0.0.0', 'console_scripts', 'gui_server')()
[gui_server-13]   File "/opt/ros/galactic/lib/python3.8/site-packages/rmf_demos_panel/gui_server.py", line 77, in main
[gui_server-13]     download_webpack()
[gui_server-13]   File "/opt/ros/galactic/lib/python3.8/site-packages/rmf_demos_panel/gui_server.py", line 51, in download_webpack
[gui_server-13]     open(bundle_path, 'wb').write(response.content)
[gui_server-13] PermissionError: [Errno 13] Permission denied: '/opt/ros/galactic/lib/python3.8/site-packages/rmf_demos_panel/static/dist/app.bundle.js'

Alternative solutions to the problem

Install the webpack somewhere in some config directory in the user's home directory.
Find alternative ways to distribute the webpack. can this be installed through system packages? any other way?

Steps to reproduce the bug

On a new Ubuntu focal machine install ros-galactic-rmf-demos-gz.
Run one of the demos, i.e. ros2 launch rmf_demos_gz office.launch.xml.

Expected behavior
The demo run as per normal and the dashboard panel should be accessible through a web browser at http://localhost:5000
Actual behavior
The dashboard panel is not found in the browser.

If we download the webpack during compile-time, and pack this within the release. Will this work?

If we do it at compile time then it will be included in the binary and installed so it will work. I'm not sure if it's ideal to ship a webpack inside the package but I guess it's a solution.


[Metric]Add common metrics

What do these changes do?
This pr adds custom defined metrics to record graph building, subtask execution time.

Metric name
Tag
Meaning
Source

mars.tileable_graph_gen_time_secs
addresssession_id
Time consuming in seconds to generate a tileable graph
drvier

mars.chunk_graph_gen_time_secs
session_idtask_id
Time consuming in seconds to generate a chunk graph
supervisor

mars.subtask_graph_gen_time_secs
session_idtask_idstage_id
Time consuming in seconds to generate a subtask graph
supervisor

mars.subtask_execution_time_secs
session_idsubtask_id
Time consuming in seconds to execute a subtask
worker subpool

mars.stage_execution_time_secs
session_idtask_idstage_id
Time consuming in seconds to execute a stage
supervisor

mars.task_execution_time_secs
session_idtask_id
Time consuming in seconds to execute a task
supervisor

And we propose a naming convention for metrics as follows:
[namespace].[component]_name[_units]

namespace could be mars, component could be supervisor or worker and can be omitted.
For example, we can naming a mars.subtask_execution_time_secs to present the subtask execution time.
Related issue number
Issue #2743
Check code requirements

[ ] tests added / passed (if needed)
[ ] Ensure all linting tests pass, see here for how to run them

Is it possible to add more metrics, like subtask prepare data time(including fetch data from other workers), subtask execution time(real execution time), subtask store time, etc?

Is it possible to add more metrics, like subtask prepare data time(including fetch data from other workers), subtask execution time(real execution time), subtask store time, etc?
Do you think shall us add them in this PR or maybe sometimes later?

Yes, we'll add more metrics like you say. This is the first pr adding custom metrics and bringing metric configs. And these metrics are basic, commonly used. It's difficult to add all metrics at once. Maybe we can add more metrics in later PRs.

Is it possible to add more metrics, like subtask prepare data time(including fetch data from other workers), subtask execution time(real execution time), subtask store time, etc?
Do you think shall us add them in this PR or maybe sometimes later?

Yes, we'll add more metrics like you say. This is the first pr adding custom metrics and bringing metric configs. And these metrics are basic, commonly used. It's difficult to add all metrics at once. Maybe we can add more metrics in later PRs.

Reasonable to me.

Besides these comments, also consider unifying implementations with #2586 for further expansion. We cannot accept metrics or profiles with different implementations.

Yes. Agree with you. Profiles and metrics are used in different scenarios, but we will keep their data unique and same.

Metrics and enable_profiling look pretty overlapped, can enable_profiling be merged into metrics some day in the near future, after all, console metric is enabled? @fyrestone , what's your opinion?
And, how about rename metric directory to metrics which looks more consistent? @zhongchun

Metrics and enable_profiling look pretty overlapped, can enable_profiling be merged into metrics some day in the near future, after all, console metric is enabled? @fyrestone , what's your opinion?
And, how about rename metric directory to metrics which looks more consistent? @zhongchun

Year,metrics is fine.
Metrics and profile may use same data, but not they are different. Perhaps we should enable them separately.

consistent

Profiling only gives general statistics info, the result of profiling should be concise. While metrics logs all the infos to metrics systems. I can remove the profiling code if metrics is enough for profiling.

Please do not submit empty commits. This will retry all tasks and block other runners. We can rerun failed tasks by hand, or you may ask a project member for help.

Please do not submit empty commits. This will retry all tasks and block other runners. We can rerun failed tasks by hand, or you may ask a project member for help.

Thank you for reminding.

Can this PR close #2743 ? I suggest so, this is the last step to introduce metrics, further issues and PRs can be submitted later.

Yes.

Can this PR close #2743 ? I suggest so, this is the last step to introduce metrics, further issues and PRs can be submitted later.

Yes.

Seems some tests cannot pass, a few timeouts, can u see what's happened there?

Seems some tests cannot pass, a few timeouts, can u see what's happened there?

Thanks for your remanding. I'll fix them.

LGTM

Why approve while left these comments, seems "request changes" is more appropriate.


make title field mandatory for quicklinks

Hi @smanivasag - can you please review this. I wasn't sure if we needed to do anything with hcm actions.

Hi @Raq-HEE - The PR looks good 👍
Since, it is a CompoundType change, it will get imported automatically as part of the deployment and so no hcm-actions would be required to reload the QuickLinks CompoundType.
Fyi - I was tempted to remove title validation on repository-data/webfiles/src/main/resources/site/freemarker/hee/macros/quick-links.ftl template as we now made title field mandatory:
                        <#if quickLinks.title?has_content>

${quickLinks.title}

                        </#if>

But, it would be good to keep the validation as there may be many QuickLinks in prod which may not have title authored. Thanks!


Make the naming more consistent

There are a lot of names involved in this project, in all the pom-s and package.json-s. At the moment, there is not really any rhyme or reason to them. We should unify them and try to avoid funny effects like #237.

Mostly closed by f9079af799a981a7205fd10712258fc5a7def51b for now.


Memory question

Is a memory footprint of ~100GiB to be expected when merging 9600 gvcfs?

Sounds about right. gvcfgenotyper is buffering 5000 lines per input gVCF file. This is not configurable in the current version but we could change this.
I assume you are not splitting by chromosome and merging in parallel?

I'm splitting by chromosome because I'm not aware that you can run the tool in parallel

Hi again,
you are right. At the moment, the only way to run gvcfgenotyper in parallel is to split the input data by chromosome.
Your memory footprint sounds about right. It is determined by several factors, some of it are out of our control such as the size of the vcf index which is loaded into RAM by htslib. In my experience, the bcftools index (extension .csi) is a bit smaller than the tabix index so indexing your input files using bcftools might help.
Another factor is the buffer size that gvcfgenotyper uses to cache entries in the input gVCF files. The default is to buffer a genomic range of 5K. I just pushed a release which allows to set this on the command line which will reduce the RAM footprint at the cost of runtime.
I will close the ticket now but please do re-open this if you have any more questions.

@mmoisse Re-indexing your input GVCFs with bcftools index can yield a huge improvement in memory usage. The reason is that some of the older versions of tabix  produced quite large .tbi files.

@jaredo Thank you for the suggestion, I could reduce the memory usage down to 15-17 GiB using .csi index files from bcftools

👍


Copy track icon into language track repository

See exercism/exercism.io#2925 for more details.

Thanks!


fix(plugins) don't call redis:select when not necessary

Summary
In plugin rate-limiting and response-ratelimiting, a redis:select is
called when connection is reused, even though the current configured
redis database is 0, to clear the previously selected database. This
will be problem for some use case like twemproxy where select is
not supported, and sending select call will cause the connection to
be closed.
The patch used a host+port+database based redis connection pool, so that
we always know the current connection is using correct database. The
behaviour of redis:auth only once is not changed.
Full changelog

Use database-based redis connection pool to reduce unnecessary select call

Issues resolved
Related to #3293

Nice catch :) Meant to request some changes, but mis-clicked. Additionally, note that the linter is failing in CI.

@thibaultcha Thank you for reviewing this, I've addressed the comments and CI is green now. Could you take another look when you got chance?

LGTM, however we should wait until our Travis CI issues are resolved before merging this.

@fffonion It should be fine if you rebase this branch on the latest master.

Running green on master!


Expose screen.Redraw() to lua

If lua code is running asynchronously, e.g. in a timer callback passed to time.AfterFunc(), micro does not automatically update the screen contents after the actions performed by this async lua code. For such cases, expose screen.Redraw() to lua (as micro.Redraw()) to let lua code explicitly request screen update when needed.
Fixes #2923

After I submitted this PR I've noticed that @X-Ryl669 has already submitted #2939 which does the same. Feel free to pick whichever looks better.

Duplicates #2939, closing this one to avoid confusion.


Acessing scheduler and modifying/removing jobs at runtime

I'm working on a project leveraging topshelf and quartz, and I find myself having the need to be able to update job triggers to apply new schedules or "pause" jobs by removing/disabling triggers, fire jobs on demand, and add or remove jobs at runtime.
Has any thought been put into providing access to the private scheduler so such things could be accomplished, or perhaps providing a facade to modify triggers or jobs while maintaining encapsulation?
Would like to hear your thoughts, thanks.

I need this capability as well for Topshelf to gracefully stop.

I'm not exactly sure where in the code you'd be doing it, but I assume it is in a class that has a constructor. Assuming you're using an IoC container, like Ninject, then if you request an instance of IScheduler you will get a singleton instance and be able to manipulate it there. Does this solve your use case?
public class ScheduleManager {
    public ScheduleManager(IScheduler scheduler) {
        // scheduler is a singleton. modify your schedule here.
    }
}

I'll give it a shot, thanks.
Sent from my Windows Phone

From: Mark<EMAIL_ADDRESS>Sent: 6/16/2015 11:05 PM
To<EMAIL_ADDRESS>Cc: Ovan<EMAIL_ADDRESS>Subject: Re: [Topshelf.Integrations] Acessing scheduler and modifying/removing jobs at runtime (#13)
I'm not exactly sure where in the code you'd be doing it, but I assume it is in a class that has a constructor. Assuming you're using an IoC container, like Ninject, then if you request an instance of IScheduler you will get a singleton instance and be able to manipulate it there. Does this solve your use case?
public class ScheduleManager {
public ScheduleManager(IScheduler scheduler) {
// scheduler is a singleton. modify your schedule here.
}
}
—
Reply to this email directly or view it on GitHubhttps://github.com/dtinteractive/Topshelf.Integrations/issues/13#issuecomment-112645167.


cmd/5g: test/bench/shootout/nbody.go produces incorrect results with arm soft float

The ../test/bench/shootout/nbody.go test produces incorrect results when compiled on linux/arm with soft float
dfc@debian:~/go/test/bench/shootout$ gcc -O2 nbody.c -lm
dfc@debian:~/go/test/bench/shootout$ ./a.out -n 50000000
-0.169075164
-0.169075164
dfc@debian:~/go/test/bench/shootout$ go run nbody.go
-0.169075164
0.902556904

Have you git bisected? Based on the comment in #10641, I wonder whether this was introduced by converting math.Sqrt into a hardware instruction (CL 8356).

Closing this in favor of #10641, since that has more detail.