404 when accessing frontend

Hi
I setup the docker container according to the docker-compose example file on the web and all containers seem to start without issues.
But unfortunately I always get a 404 error when I want to access the frontend. I tried both: the pre-build images and also images I built myself from the published release 2.1.18.
# curl -i http://localhost:8080
HTTP/1.1 404 Not Found
X-Powered-By: Express
Vary: Origin
Access-Control-Allow-Credentials: true
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
Content-Type: text/html; charset=utf-8
Content-Length: 139
Date: Thu, 12 Mar 2020 12:58:10 GMT
Connection: keep-alive

<!DOCTYPE html>

<meta charset="utf-8">
<title>Error</title>

Cannot GET /

Because of the X-Powered-By: Express I assume this response comes from the node frontend and not the nginx.
I can't see anything suspicuous in the container logs. Except when everything is started I see periodic calls to the frontend that (according to the log) respond with a 200, not sure what is triggering that.
 JPEG2000 files will not be processed.
pipeline0_1   | See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
pipeline0_1   | for optional dependencies.
pipeline0_1   |
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:12 ===
rabbit_1      | Starting RabbitMQ 3.6.16 on Erlang 19.2.1
rabbit_1      | Copyright (C) 2007-2018 Pivotal Software, Inc.
rabbit_1      | Licensed under the MPL.  See http://www.rabbitmq.com/
redis_1       | 1:C 12 Mar 12:57:05.409 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1       | 1:C 12 Mar 12:57:05.409 # Redis version=4.0.2, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1       | 1:C 12 Mar 12:57:05.409 # Configuration loaded
redis_1       |                 _._
redis_1       |            _.-``__ ''-._
redis_1       |       _.-``    `.  `_.  ''-._           Redis 4.0.2 (00000000/0) 64 bit
redis_1       |   .-`` .-```.  ```\/    _.,_ ''-._
redis_1       |  (    '      ,       .-`  | `,    )     Running in standalone mode
redis_1       |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
redis_1       |  |    `-._   `._    /     _.-'    |     PID: 1
redis_1       |   `-._    `-._  `-./  _.-'    _.-'
redis_1       |  |`-._`-._    `-.__.-'    _.-'_.-'|
redis_1       |  |    `-._`-._        _.-'_.-'    |           http://redis.io
redis_1       |   `-._    `-._`-.__.-'_.-'    _.-'
redis_1       |  |`-._`-._    `-.__.-'    _.-'_.-'|
redis_1       |  |    `-._`-._        _.-'_.-'    |
redis_1       |   `-._    `-._`-.__.-'_.-'    _.-'
redis_1       |       `-._    `-.__.-'    _.-'
redis_1       |           `-._        _.-'
redis_1       |               `-.__.-'
redis_1       |
redis_1       | 1:M 12 Mar 12:57:05.410 # Server initialized
redis_1       | 1:M 12 Mar 12:57:05.411 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
db_1          | 2020-03-12T12:57:05.503+0000 I -        [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
serviceapi_1  | [2020-03-12T12:57:22.352Z] SLAO api key must be specified
webapi_1      | [2020-03-12T12:57:28.098Z] SLAO api key must be specified
es_1          | [2020-03-12T12:57:09,053][INFO ][o.e.e.NodeEnvironment    ] [OxfHGkx] using [1] data paths, mounts [[/usr/share/elasticsearch/data (osxfs)]], net usable_space [800gb], net total_space [931.5gb], spins? [possibly], types [fuse.osxfs]
pipeline0_1   | Mar 12, 2020 12:57:28 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
pipeline0_1   | WARNING: Tesseract OCR is installed and will be automatically applied to image files unless
pipeline0_1   | you've excluded the TesseractOCRParser from the default parser.
pipeline0_1   | Tesseract may dramatically slow down content extraction (TIKA-2359).
pipeline0_1   | As of Tika 1.15 (and prior versions), Tesseract is automatically called.
pipeline0_1   | In future versions of Tika, users may need to turn the TesseractOCRParser on via TikaConfig.
rabbit_1      |
rabbit_1      |               RabbitMQ 3.6.16. Copyright (C) 2007-2018 Pivotal Software, Inc.
rabbit_1      |   ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
rabbit_1      |   ##  ##
rabbit_1      |   ##########  Logs: tty
rabbit_1      |   ######  ##        tty
rabbit_1      |   ##########
rabbit_1      |               Starting broker...
redis_1       | 1:M 12 Mar 12:57:05.411 * Ready to accept connections
db_1          | 2020-03-12T12:57:05.508+0000 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=2048M,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
webapi_1      | Started on :::8080
es_1          | [2020-03-12T12:57:09,053][INFO ][o.e.e.NodeEnvironment    ] [OxfHGkx] heap size [1.9gb], compressed ordinary object pointers [true]
serviceapi_1  | Started on :::8081
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:12 ===
rabbit_1      | node           : rabbit@rabbit
rabbit_1      | home dir       : /var/lib/rabbitmq
rabbit_1      | config file(s) : /etc/rabbitmq/rabbitmq.config
rabbit_1      | cookie hash    : E4I+LiBRAYNOltJMo4M6/A==
rabbit_1      | log            : tty
rabbit_1      | sasl log       : tty
rabbit_1      | database dir   : /var/lib/rabbitmq/mnesia/rabbit@rabbit
es_1          | [2020-03-12T12:57:09,901][INFO ][o.e.n.Node               ] node name [OxfHGkx] derived from node ID [OxfHGkxITK-evU9JL63x_A]; set [node.name] to override
db_1          | 2020-03-12T12:57:06.722+0000 I CONTROL  [initandlisten]
db_1          | 2020-03-12T12:57:06.722+0000 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
db_1          | 2020-03-12T12:57:06.722+0000 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
db_1          | 2020-03-12T12:57:06.722+0000 I CONTROL  [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended.
db_1          | 2020-03-12T12:57:06.722+0000 I CONTROL  [initandlisten]
pipeline0_1   | Mar 12, 2020 12:57:28 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
pipeline0_1   | WARNING: org.xerial's sqlite-jdbc is not loaded.
pipeline0_1   | Please provide the jar on your classpath to parse sqlite files.
pipeline0_1   | See tika-parsers/pom.xml for the correct version.
redis_1       | 1:M 12 Mar 12:57:10.532 # Possible SECURITY ATTACK detected. It looks like somebody is sending POST or Host: commands to Redis. This is likely due to an attacker attempting to use Cross Protocol Scripting to compromise your Redis instance. Connection aborted.
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Memory high watermark set to 1575 MiB<PHONE_NUMBER> bytes) of 3937 MiB<PHONE_NUMBER> bytes) total
db_1          | 2020-03-12T12:57:06.764+0000 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Enabling free disk space monitoring
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Disk free limit set to 50MB
es_1          | [2020-03-12T12:57:09,902][INFO ][o.e.n.Node               ] version[5.6.3], pid[1], build[1a2f265/2017-10-06T20:33:39.012Z], OS[Linux/4.19.76-linuxkit/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_151/25.151-b12]
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Limiting to approx 1048476 file handles (943626 sockets)
db_1          | 2020-03-12T12:57:06.765+0000 I NETWORK  [thread1] waiting for connections on port 27017
es_1          | [2020-03-12T12:57:09,902][INFO ][o.e.n.Node               ] JVM arguments [-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j.skipJansi=true, -XX:+HeapDumpOnOutOfMemoryError, -Xms2g, -Xmx2g, -Des.path.home=/usr/share/elasticsearch]
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | FHC read buffering:  OFF
rabbit_1      | FHC write buffering: ON
db_1          | 2020-03-12T12:57:10.679+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48492 #1 (1 connection now open)
db_1          | 2020-03-12T12:57:10.682+0000 I -        [conn1] end connection <IP_ADDRESS>:48492 (1 connection now open)
es_1          | [2020-03-12T12:57:11,443][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [aggs-matrix-stats]
es_1          | [2020-03-12T12:57:11,443][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [ingest-common]
es_1          | [2020-03-12T12:57:11,443][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [lang-expression]
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Waiting for Mnesia tables for 30000 ms, 9 retries left
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Waiting for Mnesia tables for 30000 ms, 9 retries left
db_1          | 2020-03-12T12:57:15.858+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48512 #2 (1 connection now open)
db_1          | 2020-03-12T12:57:15.859+0000 I -        [conn2] end connection <IP_ADDRESS>:48512 (1 connection now open)
es_1          | [2020-03-12T12:57:11,444][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [lang-groovy]
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Priority queues enabled, real BQ is rabbit_variable_queue
db_1          | 2020-03-12T12:57:21.039+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48536 #3 (1 connection now open)
db_1          | 2020-03-12T12:57:21.039+0000 I -        [conn3] end connection <IP_ADDRESS>:48536 (1 connection now open)
es_1          | [2020-03-12T12:57:11,444][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [lang-mustache]
db_1          | 2020-03-12T12:57:22.585+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:37560 #4 (1 connection now open)
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Starting rabbit_node_monitor
es_1          | [2020-03-12T12:57:11,444][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [lang-painless]
es_1          | [2020-03-12T12:57:11,444][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [parent-join]
db_1          | 2020-03-12T12:57:22.620+0000 I NETWORK  [conn4] received client metadata from <IP_ADDRESS>:37560 conn4: { driver: { name: "nodejs", version: "2.2.36" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "4.19.76-linuxkit" }, platform: "Node.js v8.10.0, LE, mongodb-core: 2.1.20" }
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Management plugin: using rates mode 'basic'
es_1          | [2020-03-12T12:57:11,444][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [percolator]
es_1          | [2020-03-12T12:57:11,444][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [reindex]
db_1          | 2020-03-12T12:57:26.157+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48546 #5 (2 connections now open)
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | msg_store_transient: using rabbit_msg_store_ets_index to provide index
es_1          | [2020-03-12T12:57:11,444][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [transport-netty3]
db_1          | 2020-03-12T12:57:26.157+0000 I -        [conn5] end connection <IP_ADDRESS>:48546 (2 connections now open)
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | msg_store_persistent: using rabbit_msg_store_ets_index to provide index
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | started TCP Listener on [::]:5672
es_1          | [2020-03-12T12:57:11,444][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded module [transport-netty4]
db_1          | 2020-03-12T12:57:28.325+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:47936 #6 (2 connections now open)
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Management plugin started. Port: 15672
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Statistics database started.
es_1          | [2020-03-12T12:57:11,445][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded plugin [analysis-morphology]
es_1          | [2020-03-12T12:57:11,445][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded plugin [analysis-smartcn]
es_1          | [2020-03-12T12:57:11,445][INFO ][o.e.p.PluginsService     ] [OxfHGkx] loaded plugin [analysis-stempel]
db_1          | 2020-03-12T12:57:28.362+0000 I NETWORK  [conn6] received client metadata from <IP_ADDRESS>:47936 conn6: { driver: { name: "nodejs", version: "2.2.36" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "4.19.76-linuxkit" }, platform: "Node.js v8.10.0, LE, mongodb-core: 2.1.20" }
rabbit_1      |  completed with 6 plugins.
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:17 ===
rabbit_1      | Server startup complete; 6 plugins started.
rabbit_1      |  * rabbitmq_management
rabbit_1      |  * rabbitmq_web_dispatch
rabbit_1      |  * rabbitmq_management_agent
rabbit_1      |  * amqp_client
rabbit_1      |  * cowboy
rabbit_1      |  * cowlib
es_1          | [2020-03-12T12:57:13,869][INFO ][o.e.d.DiscoveryModule    ] [OxfHGkx] using discovery type [zen]
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:22 ===
rabbit_1      | accepting AMQP connection <0.498.0> (<IP_ADDRESS>:48574 -> <IP_ADDRESS>:5672)
db_1          | 2020-03-12T12:57:31.281+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48582 #7 (3 connections now open)
es_1          | [2020-03-12T12:57:14,851][INFO ][o.e.n.Node               ] initialized
es_1          | [2020-03-12T12:57:14,851][INFO ][o.e.n.Node               ] [OxfHGkx] starting ...
db_1          | 2020-03-12T12:57:31.281+0000 I -        [conn7] end connection <IP_ADDRESS>:48582 (3 connections now open)
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:22 ===
rabbit_1      | connection <0.498.0> (<IP_ADDRESS>:48574 -> <IP_ADDRESS>:5672): user 'guest' authenticated and granted access to vhost '/'
es_1          | [2020-03-12T12:57:15,096][INFO ][o.e.t.TransportService   ] [OxfHGkx] publish_address {<IP_ADDRESS>:9300}, bound_addresses {<IP_ADDRESS>:9300}
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:28 ===
rabbit_1      | accepting AMQP connection <0.523.0> (<IP_ADDRESS>:58112 -> <IP_ADDRESS>:5672)
es_1          | [2020-03-12T12:57:15,096][INFO ][o.e.b.BootstrapChecks    ] [OxfHGkx] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:28 ===
rabbit_1      | connection <0.523.0> (<IP_ADDRESS>:58112 -> <IP_ADDRESS>:5672): user 'guest' authenticated and granted access to vhost '/'
es_1          | [2020-03-12T12:57:18,192][INFO ][o.e.c.s.ClusterService   ] [OxfHGkx] new_master {OxfHGkx}{OxfHGkxITK-evU9JL63x_A}{NQ2dlj_4TY6o3hp7pPoaFg}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
es_1          | [2020-03-12T12:57:18,234][INFO ][o.e.h.n.Netty4HttpServerTransport] [OxfHGkx] publish_address {<IP_ADDRESS>:9200}, bound_addresses {<IP_ADDRESS>:9200}
es_1          | [2020-03-12T12:57:18,234][INFO ][o.e.n.Node               ] [OxfHGkx] started
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:28 ===
rabbit_1      | accepting AMQP connection <0.528.0> (<IP_ADDRESS>:56526 -> <IP_ADDRESS>:5672)
es_1          | [2020-03-12T12:57:18,825][INFO ][o.e.g.GatewayService     ] [OxfHGkx] recovered [2] indices into cluster_state
rabbit_1      |
rabbit_1      | =INFO REPORT==== 12-Mar-2020::12:57:28 ===
rabbit_1      | connection <0.528.0> (<IP_ADDRESS>:56526 -> <IP_ADDRESS>:5672): user 'guest' authenticated and granted access to vhost '/'
es_1          | [2020-03-12T12:57:20,788][INFO ][o.e.c.r.a.AllocationService] [OxfHGkx] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[ambar_log_record_data][0]] ...]).
db_1          | 2020-03-12T12:57:36.401+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48594 #8 (3 connections now open)
db_1          | 2020-03-12T12:57:36.402+0000 I -        [conn8] end connection <IP_ADDRESS>:48594 (3 connections now open)
frontend_1    | <IP_ADDRESS> - - [12/Mar/2020:12:57:37 +0000] "GET / HTTP/1.1" 200 969 "-" "curl/7.52.1" "-"
db_1          | 2020-03-12T12:57:41.524+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48608 #9 (3 connections now open)
db_1          | 2020-03-12T12:57:41.524+0000 I -        [conn9] end connection <IP_ADDRESS>:48608 (3 connections now open)
frontend_1    | <IP_ADDRESS> - - [12/Mar/2020:12:57:42 +0000] "GET / HTTP/1.1" 200 969 "-" "curl/7.52.1" "-"
db_1          | 2020-03-12T12:57:46.613+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48622 #10 (3 connections now open)
db_1          | 2020-03-12T12:57:46.613+0000 I -        [conn10] end connection <IP_ADDRESS>:48622 (3 connections now open)
frontend_1    | <IP_ADDRESS> - - [12/Mar/2020:12:57:47 +0000] "GET / HTTP/1.1" 200 969 "-" "curl/7.52.1" "-"
db_1          | 2020-03-12T12:57:51.737+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48636 #11 (3 connections now open)
db_1          | 2020-03-12T12:57:51.737+0000 I -        [conn11] end connection <IP_ADDRESS>:48636 (3 connections now open)
frontend_1    | <IP_ADDRESS> - - [12/Mar/2020:12:57:53 +0000] "GET / HTTP/1.1" 200 969 "-" "curl/7.52.1" "-"
db_1          | 2020-03-12T12:57:56.856+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48650 #12 (3 connections now open)
db_1          | 2020-03-12T12:57:56.856+0000 I -        [conn12] end connection <IP_ADDRESS>:48650 (3 connections now open)
frontend_1    | <IP_ADDRESS> - - [12/Mar/2020:12:57:58 +0000] "GET / HTTP/1.1" 200 969 "-" "curl/7.52.1" "-"
db_1          | 2020-03-12T12:58:01.967+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48668 #13 (3 connections now open)
db_1          | 2020-03-12T12:58:01.967+0000 I -        [conn13] end connection <IP_ADDRESS>:48668 (3 connections now open)
frontend_1    | <IP_ADDRESS> - - [12/Mar/2020:12:58:03 +0000] "GET / HTTP/1.1" 200 969 "-" "curl/7.52.1" "-"
db_1          | 2020-03-12T12:58:07.083+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48682 #14 (3 connections now open)
db_1          | 2020-03-12T12:58:07.083+0000 I -        [conn14] end connection <IP_ADDRESS>:48682 (3 connections now open)
frontend_1    | <IP_ADDRESS> - - [12/Mar/2020:12:58:08 +0000] "GET / HTTP/1.1" 200 969 "-" "curl/7.52.1" "-"
db_1          | 2020-03-12T12:58:12.205+0000 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:48700 #15 (3 connections now open)
db_1          | 2020-03-12T12:58:12.205+0000 I -        [conn15] end connection <IP_ADDRESS>:48700 (3 connections now open)
redis_1       | 1:M 12 Mar 12:58:12.310 # Possible SECURITY ATTACK detected. It looks like somebody is sending POST or Host: commands to Redis. This is likely due to an attacker attempting to use Cross Protocol Scripting to compromise your Redis instance. Connection aborted.
frontend_1    | <IP_ADDRESS> - - [12/Mar/2020:12:58:13 +0000] "GET / HTTP/1.1" 200 969 "-" "curl/7.52.1" "-"

@stravag please attach your docker-compose file

version: "2.1"
networks:
  internal_network:
services:
  db:
    restart: always
    networks:
      - internal_network
    image: repo.ambar.cloud/ambar-mongodb:2.1
    environment:
      - cacheSizeGB=2
    volumes:
      - /usr/local/opt/ambar/db:/data/db
    expose:
      - "27017"
  es:
    restart: always
    networks:
      - internal_network
    image: repo.ambar.cloud/ambar-es:2.1
    expose:
      - "9200"
    environment:
      - cluster.name=ambar-es
      - ES_JAVA_OPTS=-Xms2g -Xmx2g
    ulimits:
      memlock:
        soft: -1
        hard: -1
      nofile:
        soft: 65536
        hard: 65536
    cap_add:
      - IPC_LOCK
    volumes:
      - /usr/local/opt/ambar/es:/usr/share/elasticsearch/data
  rabbit:
    restart: always
    networks:
      - internal_network
    image: repo.ambar.cloud/ambar-rabbit:2.1
    hostname: rabbit
    expose:
      - "15672"
      - "5672"
    volumes:
      - /usr/local/opt/ambar/rabbit:/var/lib/rabbitmq
  redis:
    restart: always
    sysctls:
      - net.core.somaxconn=1024
    networks:
      - internal_network
    image: repo.ambar.cloud/ambar-redis:2.1
    expose:
      - "6379"
  serviceapi:
    depends_on:
      redis:
        condition: service_healthy
      rabbit:
        condition: service_healthy
      es:
        condition: service_healthy
      db:
        condition: service_healthy
    restart: always
    networks:
      - internal_network
    image: repo.ambar.cloud/ambar-serviceapi:2.1
    expose:
      - "8081"
    environment:
      - mongoDbUrl=mongodb://db:27017/ambar_data
      - elasticSearchUrl=http://es:9200
      - redisHost=redis
      - redisPort=6379
      - rabbitHost=amqp://rabbit
      - langAnalyzer=ambar_de
  webapi:
    depends_on:
      serviceapi:
        condition: service_healthy
    restart: always
    networks:
      - internal_network
    image: repo.ambar.cloud/ambar-webapi:2.1
    expose:
      - "8080"
    ports:
      - "8080:8080"
    environment:
      - uiLang=en
      - mongoDbUrl=mongodb://db:27017/ambar_data
      - elasticSearchUrl=http://es:9200
      - redisHost=redis
      - redisPort=6379
      - serviceApiUrl=http://serviceapi:8081
      - rabbitHost=amqp://rabbit
  frontend:
    depends_on:
      webapi:
        condition: service_healthy
    image: repo.ambar.cloud/ambar-frontend:2.1
    restart: always
    networks:
      - internal_network
    ports:
      - "80:80"
    expose:
      - "80"
    environment:
      - api=http://localhost:8080
  pipeline0:
    depends_on:
      serviceapi:
        condition: service_healthy
    image: repo.ambar.cloud/ambar-pipeline:2.1
    restart: always
    networks:
      - internal_network
    environment:
      - id=0
      - api_url=http://serviceapi:8081
      - rabbit_host=amqp://rabbit
#  ${crawlerName}:
#    depends_on:
#      serviceapi:
#        condition: service_healthy
#    image: repo.ambar.cloud:443/ambar-local-crawler:2.1
#    restart: always
#    networks:
#      - internal_network
#    expose:
#      - "8082"
#    environment:
#      - name=${crawlerName}
#    volumes:
#      - ${pathToCrawl}:/usr/data

Frontend is on 80 port, and your curl command points to 8080

🤦♂🤦♂🤦♂🤦♂🤦♂


Want to Add Sign Up Page and want to write backend of Login And SignUp Page #48

-ADDED SIGNUP PAGE
-Updated Signup route logic
#48
https://github.com/sethshivam11/campus-space/assets/101548649/caa1a177-fce4-41b3-931c-7aaff7979dae

So should I remove sign up page and raise pr again ? Because previously login was also not working

@nishant0708 I don't know why but it's working in my side.

Okay then no issues 🥲🥲


⚠ Bofrost.lu has degraded performance

In 6b85ebd, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1257 ms

Resolved: Bofrost.lu performance has improved in 9907ae7 after 6 minutes.


Add setDaemonAddress API

Problem
Currently, the only way to configure the daemon address in the Java SDK is via environment variable or system property (docs). In other SDKs, you can configure it programmatically. The SDK also does not expose the daemon address once set, it is stored in a config as a private field with no getter/setter.
Solution
We should add a AWSXRay.setDaemonAddress() API that can take the same string values as the env var and sys property. We should also expose the daemon address with a getter in UDPEmitter.

After discussion, there is not truly any use case for resetting the daemon address during runtime (e.g. after recorder has initialized) so the ability to set the daemon address through the recorder builder is sufficient. However there is still a bug because setting the daemon address programmatically through the recorder builder still does not affect TCP calls done for sampling calls, which should be fixed.
The address will be exposed in this PR.


update mxnet gluon mnist to 1.4

Update training script to follow script mode.
Ran local notebook on a GPU notebook instance.
Will attach html of results.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

successful_notebook_run.zip


Fixed the typo for the ConfigMap name

Related issue

Proposed Changes

Checklist

[] I have read the contributing guidelines.
[] I have inspected the website preview for accuracy.
[] I have signed off my issue.

Policy changes need to be changed in kyverno/policies as the website just renders those. Could you open a PR or issue there?

Ohh, ok. Thank you for clarification.

Policy changes need to be changed in kyverno/policies as the website just renders those. Could you open a PR or issue there?

Ohh, ok. Thank you for clarification.


add GitLab Release badge, run all [GitLab]

Resolves #4867

Warnings

:warning:

:books: Remember to ensure any changes to config.private in services/gitlab/gitlab-base.js are reflected in the server secrets documentation

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @calebcartwright!

  Generated by :no_entry_sign: dangerJS against 84a52aff0d275bafae09e7b2c502bbd4a7f523e7

Blocked on a decision/resolution of #7167


Random, occasional crashes while in a call.

Aknowledgements

[X] I have checked that there is no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[ ] This bug affects Discord website.

[ ] This issue is confirmed to be reproduceable when WebCord is packaged
on at least all three latest supported Electron major releases.

[ ] This issue is reproduceable in Chrome, Chromium or any
Chromium-based browser, e.g Brave or Edge (please write in
Additional Context which browser you have used if it is neither
Chrome nor unmodified Chromium).

[X] There are no fixes done to master which resolves this issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).

Operating System / Platform
🐧 Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
v22.0.0
Application version
v4.1.1
Bug description
When I'm in a call with friends, WebCord will randomly crash. It usually happens later in calls, and it happens pretty consistently on calls that last more than 1-2 hours. The window freezes and then goes blank, and I have to restart WebCord.
It's been happening since at least version 3.9.0 afaik.
Here's the crash log, the crash happened at 9:42. Idk what the qt5ct crash was at 7:23 but I left it in in case it's relevant. The call started at 7:32.
log.txt
Additional context
OS: Mint 21
DE: Cinnamon 5.6.5 (X11)
Hardware: Ryzen 3 2200g, RX570, 16GB

Same here, can happen about every 30-40 minutes.
Additional context
OS: Fedora 37
DE: SwayWM v 1.7
Hardware: AMD Ryzen 7 5800U, 16GB

Sounds like a duplicate of #279, I'll close this in favor of mentioned issue.


Deprecate from_dockerhub in favor of from_registry

See MOD-1535 if that makes sense — many of the uses of these are not actually from DockerHub
Image.from_registry("nvcr.io/nvidia/pytorch:22.12-py3")
Image.from_registry("python:3.11")
Image.from_registry("ghcr.io/modal-labs/cadre:latest")
Image.from_registry("public.ecr.aws/docker/library/python:slim-bookworm")

Marking as draft until consensus


addons: Add KubeVirt

KubeVirt is a virutalization add-on for Kubernetes, by now it's pretty mature and maybe a good time to mention it on this page.

/assign @zacharysarah

makes sense to me
and
/lgtm

/approve


avoid tick calculation on axis position changes and lift

Description
Fixes # (issue)
Add a description of your PR here.
Type of change
Delete options that do not apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] Added an entry in NEWS.md (for new features and breaking changes)
[ ] Added or changed relevant sections in the documentation
[ ] Added unit tests for new algorithms, conversion methods, etc.
[ ] Added reference image tests for new plotting functions, recipes, visual options, etc.

Compile Times benchmark

Closing this for now. Will pick it up after merging https://github.com/JuliaPlots/Makie.jl/pull/1796


NIFI-12992: When updating Execution Engine of a Process Group, reset …

…the validation state for all processors/controller services so that they will re-validate

Summary
NIFI-00000
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[ ] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks for noting the failure @exceptionfactory . I pushed a new update. The code was causing processor validation to be reset ('VALIDATING') but the processor was already running. Since it was running, it would never re-validate. As a result, the system test was failing because it was waiting for a 'VALID' state. So I updated it such that when resetValidationState is called, if the component is not in a state that would allow for validation (i.e., RUNNING) it will simply log a debug message and return. When the component is stopped, the validation will automatically run again anyway.


Docs update

Thank you for your contribution to MagicScript Project.
Before submitting this PR, please make sure:

[X] Your code builds clean without any errors or warnings
[X] You are using approved terminology
[ ] You have added unit tests
[X] You have updated documentation

Codecov Report

Merging #309 into bugfix/newAPI_alignment will not change coverage.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##           bugfix/newAPI_alignment     #309   +/-   ##
========================================================
  Coverage                    98.68%   98.68%
========================================================
  Files                           49       49
  Lines                          304      304
  Branches                        25       25
========================================================
  Hits                           300      300
  Misses                           4        4

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2c9343...e5db2f6. Read the comment docs.


cant login, whatsapp web hangs

once i run the code, the log in part hanged and cant further proceed, is the code working now?

have you tried using whatsapp.login(visible=True) to see what's happening?

as it is the first time of you using it, it may take a while to load, as the new whatsapp update forces you to download all the conversations you have, it happened to me too a while ago, but as soon as the download had finished, it came back to normal

Thanks, it works now, i previously cannot login due to the multi device setting, once i switch it off, yr code works!


Failed to exec start script

Is this a bug report?
Yes

Did you try recovering your dependencies?

(Write your answer here.)
yarn --version
1.15.2
Which terms did you search for in User Guide?

(Write your answer here if relevant.)
Failed to exec start script
react-scripts
Environment

(paste the output of the command here)
System:
OS: Linux 5.0 Antergos Linux
CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Binaries:
Node: 11.14.0 - /usr/bin/node
Yarn: 1.15.2 - /usr/bin/yarn
npm: 6.9.0 - /usr/bin/npm
Browsers:
Chrome: Not Found
Firefox: 66.0.3
npmPackages:
react: ^16.8.6 => 16.8.6
react-dom: ^16.8.6 => 16.8.6
react-scripts: 3.0.0 => 3.0.0
npmGlobalPackages:
create-react-app: Not Found
Steps to Reproduce

(Write your steps here:)

I have tried to use (again) the project starter for React (react-create-app) and after following the first 3steps of the official documentation the terminal throws an error when I try to start the project

Expected Behavior

(Write what you thought would happen.)
Compiled successfully!
You can now view project in the browser.
Local:            http://localhost:3000/
On Your Network:  http://<IP_ADDRESS>:3000/
Note that the development build is not optimized.
To create a production build, use yarn build.
Actual Behavior

(Write what happened. Please add screenshots!)
Starting the development server...
events.js:170
throw er; // Unhandled 'error' event
^
Error: spawn /usr/bin/chromium ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:247:19)
at onErrorNT (internal/child_process.js:429:16)
at processTicksAndRejections (internal/process/task_queues.js:81:17)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:253:12)
at onErrorNT (internal/child_process.js:429:16)
at processTicksAndRejections (internal/process/task_queues.js:81:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/florin/.npm/_logs/2019-05-02T13_52_24_047Z-debug.log
And the log is
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/florin/WebstormProjects/project/node_modules/.bin:/home/florin/.local/bin:/home/florin/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
9 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/florin/WebstormProjects/project
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'react-scripts start' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec start script
13 verbose stack Error<EMAIL_ADDRESS>start: react-scripts start
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:193:13)
13 verbose stack     at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:193:13)
13 verbose stack     at maybeClose (internal/child_process.js:999:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:266:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /home/florin/WebstormProjects/project
16 verbose Linux 5.0.10-arch1-1-ARCH
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
18 verbose node v11.14.0
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>start: react-scripts start
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
END
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)
Since i haven't added nothing extra to the react starter project I can't share you a link, is just the starting project that it has issues on my machine.
It is working if I change the version of the "react-scripts" from 3.0.0 - to 2.1.8

I've got the same problem here on my Antergos (archlinux). I'm the only one with these error on my room (we are 30), but i'm the only one who use archlinux distro.

I've got the same problem here too i also  I change the version of the "react-scripts" from 3.0.0 - to 2.1.8
and its working

Hmm interesting. Looks like it's trying to launch Chrome but it's not available on your system...
You may want to try debugging the node_modules/react-dev-utils/openBrowser.js file. Take a look at https://github.com/facebook/create-react-app/blob/4397d069d903c29927526d6fe4e7ba1b5edb136d/packages/react-dev-utils/openBrowser.js#L100 to see what it's trying to open.
Worst case you should be able to configure the BROWSER environment variable to disable the automatic browser open logic. See https://facebook.github.io/create-react-app/docs/advanced-configuration.

I've found another solution more easy.
In your package.json, just add BROWSER=none before react-scripts start.
THis will not launch the browser, and you will not have errors
BROWSER=none react-scripts start

I think I found the issue.
1)in the file mentioned above by @ianschmitz the getBrowserEnv  function is reading the environment variable BROWSER and if, like in my case is /usr/bin/chromium and there is no such binary in the specified path it doesn't have what to open.
My Solution: set your BROWSER env variable to the right binary, in my case is
/usr/bin/google-chrome-stable with * export BROWSER=/usr/bin/google-chrome-stable*
or you can modify the file @ianschmitz  getBrowserEnv function with the binary you desire,
set the value const: const value = "/usr/bin/your-binary-here"
I am wondering if this is a react-create-app bug for not cathcing this special case or an antergros error for not setting the env variable at installing google-chrome-stable!

I'd like to add that this issue is present in WSL (Windows Sub System for Linux) as well. Setting the BROWSER env variable to none resolved the issue however. Alternatively, downgrading react-scripts to any version prior to 3.0.0 resolves the issue as well.

For me, the issue was that the Antergos installer sets the BROWSER environment variable incorrectly.
Check env | grep BROWSER.
The Antergos installer adds the environment variable in these files:
https://github.com/Antergos/Cnchi/blob/b654b10b9933ff3f94a54b67699fc01a68ee47ae/scripts/postinstall.sh#L336-L339
Check and edit/remove the BROWSER line.
Related issue in the Antergos installer: https://github.com/Antergos/Cnchi/issues/1140

In your package.json, just add BROWSER=none before react-scripts start.

I use React through Windows 10 WSL and Docker. But this bug only occurs for me when I execute npm start directly within a tmux session. Not within WSL or Docker. Don't know if it is 100% related but maybe this will help someone.

I have similar error.
My version of react-scripts is 3.2.0. I got the following error when running "yarn start"
Starting the development server...
events.js:183
throw er; // Unhandled 'error' event
^
Error: watch /home/tom/source/bigcoolge/apractice/reactjs/public ENOSPC
at _errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1382:19)
at Object.fs.watch (fs.js:1408:11)
at createFsWatchInstance (/home/tom/source/bigcoolge/apractice/reactjs/node_modules/chokidar/lib/nodefs-handler.js:38:15)
at setFsWatchListener (/home/tom/source/bigcoolge/apractice/reactjs/node_modules/chokidar/lib/nodefs-handler.js:81:15)
at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/tom/source/bigcoolge/apractice/reactjs/node_modules/chokidar/lib/nodefs-handler.js:233:14)
at FSWatcher.NodeFsHandler._handleDir (/home/tom/source/bigcoolge/apractice/reactjs/node_modules/chokidar/lib/nodefs-handler.js:429:19)
at FSWatcher. (/home/tom/source/bigcoolge/apractice/reactjs/node_modules/chokidar/lib/nodefs-handler.js:477:19)
at FSWatcher. (/home/tom/source/bigcoolge/apractice/reactjs/node_modules/chokidar/lib/nodefs-handler.js:482:16)
at FSReqWrap.oncomplete (fs.js:153:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
and then I run the "yarn build" and "yarn start" again, it is working.

I have a similar issue, on Gitlab CI.
When the pipeline works, I get exactly the same error.

Similar issue, using debian (Ubuntu 20.04).

just similar problem
2021-02-25T04_29_50_528Z-debug.log


Virus(Windows Defender

Windows Defender says 1.1.0 is Trojan:Script/Wacatac.B!ml

Uhh that's interesting

Nothing on virustotal seems to have flagged it https://www.virustotal.com/gui/file/02d6118a62db8cf99097cd6274e18b5c6899dbae31b091982337b9f1507cef3f/summary

I'm guessi ng that it's just windows giving a false positive? But I don't see what it could detect here

Did you download the mod from a safe source like from GitHub or Modrinth?

Also I mean thw code is open source so you can look through it if you want

Ah yeah, seems like this trojan is a false positive pretty often on windows defender

Okay, thx for answering!)


Feature: Please Support key codes!

All apps like this name the keys as they like, there is no standard for this, at least codes (numbers) are a little better.
I could't find the equivalent of the key Less even it's code '94' didn't work, how do I solve this issue?
I don't wanna keep using more than one app to have the same feature: I'm currently using xkbmap, keyd and now adding xremap, this is insane :laughing:

Same problem, in xkbmap the name is LSGT, but can not find it correspondingly here.

Keyd doesn't have standard key code name?
you can try showkey --scancodes to get pressed key code
or evtest ( i didn't try so not sure efficientcy)

I think the most reliable way to find key names is to start xremap in debug mode:
RUST_LOG=debug xremap config.yml

When you press keys, xremap will print the name to stdout.


feat: create shared reservation

Description
Fixes #
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist

[ ] I have followed Contributing Guidelines from CONTRIBUTING.MD
[ ] Tests pass:   go test -v ./.. (see Testing)
[ ] Code formatted:   gofmt (see Formatting)
[ ] Vetting pass:   go vet (see Formatting)
[ ] These samples need a new API enabled in testing projects to pass (let us know which ones)
[ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
[ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
[ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
[ ] Please merge this PR for me once it is approved

Hey! It was a request to do in this way, because without mocking it would be needed to set up one more project in CI
cc: @m-strzelczyk


Add permanent user delete example

Adds an example of a permanent user delete from a list, as discussed in #300

Thank you for the contribution!


using direct network check instead of callback inside refresh() of swipe refresh

Actual Behaviour
Currently, we are using NetworkStateReceiverListener() to check Network status inside swipe refresh layout's onRefresh()
Ex -
 NetworkUtils.checkConnection(new WeakReference<>(context), new NetworkUtils.NetworkStateReceiverListener() {

            @Override
            public void networkAvailable() {
                // Network is available
                DataDownloadManager.getInstance().downloadMicrolocations();
            }

            @Override
            public void networkUnavailable() {
                StrategyRegistry.getInstance().getEventBusStrategy().getEventBus().post(new MicrolocationDownloadEvent(false));
            }
        });

Expected Behaviour
A simple Direct network check would be good enough
Ex-
 if (NetworkUtils.haveNetworkConnection(getContext())) {
            DataDownloadManager.getInstance().downloadMicrolocations();
        } else {
            StrategyRegistry.getInstance().getEventBusStrategy().getEventBus().post(new MicrolocationDownloadEvent(false));
        }
    }

Would you like to work on the issue?
Yes

@iamareebjamal I have updated the issue description, Will make sure that the issue's description and title can be easily understood by the reader from next time :)


AnnotationOnSeparateLine rule on steroids

Duplicate issue from here
Could you please add field excludedAnnotations: to AnnotationOnSeparateLine rule?
Expected Behavior of the rule
example: excludedAnnotations: 'retrofit2.http.Query,retrofit2.http.Body'
So, this annotation won't be forced to move on separate line:
    @GET("/foo")
    fun bar(
        @Query("id") id: String
    ): Single<MyResponse>

For you solution would be to disable "experimental:annotation" rule.
If still want to to have this rule active, but exclude some annotations from it, you could copy the code of this rule and create your custom one.

In next release "experimental:annotation" rule will allow to have annotation on the same line.


Bugfix: ...

Describe the bug

Steps to reproduce

Screenshots or log output

Software versions

OS:                        ([e.g. macOS 10.14] the operating system you're running ArchiveBox on)
ArchiveBox version:        (git rev-parse HEAD | head -c7 [e.g. d798117] commit ID of the version you're running)
Python version:            (python3 --version [e.g. 3.7.0])
Chrome version:            (chromium-browser --version [e.g. <IP_ADDRESS>] if relevant to bug)

Please stop spamming empty issues.


GDExtension: Don't deprecate old method of getting script category

This is a follow up to PR https://github.com/godotengine/godot/pull/78995
That PR allows GDExtensions to take control over the class category used for script instances (when you're adding a scripting language from a GDExtension). However, in many (most?) cases, GDExtensions don't need this extra control and the old, default method is just fine.
So, rather than deprecating the old behavior, I think this should just be a case where there's two ways to handle this: (1) provide a get_class_category_func if you want the extra control, or (2) provide nullptr if the default behavior is fine.
This PR just removes the #ifndef DISABLE_DEPRECATED that wraps the old behavior, and adds a comment to the gdextension_interface.h.

I was at first confused by "don't deprecate the old method" because GDExtensionScriptInstanceInfo (v1) still remains deprecated after this PR. As I understood, you re-introduce allowing nullability here.

Ah, yes, sorry for the confusion. GDExtensionScriptInstanceInfo is still deprecated, it's just allowing get_class_category_func to be null "officially", not only to support the deprecated struct.

Thanks!


How to using the two-dimensional array as the attribute of an object

Code Sample, a copy-pastable example if possible
In my imagination，it's liking the format:
# Your code here
class A():
         ......
a= A(...,array[][])

Problem description
The array[][] stores int numbers.But i don't know how to achieve it with python codes.Any resolution will be apprecited
[this should explain why the current behavior is a problem and why the expected output is a better solution.]
Expected Output
Output of xr.show_versions()

# Paste the output here xr.show_versions() here

I'm a little confused. What specifically are you hoping to achieve here? array[][] is not valid Python syntax.

I want to use 2d-array to store  some numbers  of attribute  which is meaningful for  my  object.The usage  liking  "array[][]"  just mean its function  which is same as the  function  of  2d-array    "array[][]"   in C language

The point is how to create the 2d-array when defining the attributes of  an object or a class  in python

Please read through our docs on xarray data-structures (http://xarray.pydata.org/en/stable/data-structures.html) to see if that answers your question. You could potentially store a 2D array as coordinates. But I'm still not quite sure what you're trying to achieve here, or how exactly it relates to xarray.

Sorry,there is little relationship to xarray.Just because i think you could also resolve the problem

StackOverflow is a better place for general programming questions.

I am from China.Recently,i can't  visit the website  by  climbing over the internet wall.Because there are important conferences


Added 2 settings for the scrollbar height of breadcrumbs and tabs

This PR fixes #32192
It introduces two new settings:

workbench.editor.tabScrollbarHeight - Specify the size of the scrollbar used in the Tab list
breadcrumbs.scrollbarHeight - Specify the size of the scrollbar used in the breadcrumbs list

It updates in real-time, a small demo can be seen here:

Implementation wise, it's my first code change in VSCode, so I'm quite new to the architecture and I'm not sure if I chose the correct locations. Especially the constructor change in breadcrumbsWidget.ts. I'm looking forward to your feedback :)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: JohnnyCrazy sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks, this seems to work pretty well. Adding @alexdima for the changes on the scrollbar itself and @jrieken for breadcrumb.
I wonder if we should have just 1 setting for breadcrumb and tabs, however this may be challenging because after all tabs have more height available compared to breadcrumbs.
@JohnnyCrazy one early feedback I have is to add an upper limit for the scrollbar height so that people do not end up with the scrollbar taking the entire space. E.g. something like 50% of the height we set for the parent container.

Idk - this a good idea? Do we want settings for each scrollbar? What about the peek-errors - users have complaint about that one too. Isn't the better approach to have one scrollbar height setting?

@jrieken yeah but as far as I know, we use a consistent size for the scrollbar in all other places, only the editor tabs and breadcrumbs use a smaller height.
Fair though, we probably need a setting for all other scrollbars too if we wanted to be consistent.

Fair though, we probably need a setting for all other scrollbars too if we wanted to be consistent.

If breadcrumbs and tabs are really the only two special height cases that we should maybe have a setting for that, or a setting for the "special height" scrollbar. I wouldn't allow a number but something symbolic, like "small" and "default".

Yeah I like that, we could have then just have 1 setting for both scrollbars. default would be as today and large could then actually just pick the size we have in all other places of the workbench.

I think a setting for each scrollbar would be too much hassle to maintain/configure for both, the user and the developer.

If breadcrumbs and tabs are really the only two special height cases that we should maybe have a setting for that, or a setting for the "special height" scrollbar. I wouldn't allow a number but something symbolic, like "small" and "default".

I like the idea of having a symbolic setting and I could imagine most users who complained about the small tab/breadcrumbs scrollbar don't want to specify a specific pixel number; they just want it to be better grabbable. This would also remove the need of a max height boundary and different parent sizes are no problem.
The naming of such a setting is not easy though, workbench.specialScrollbarHeight could be hard to find?

Yeah I like that, we could have then just have 1 setting for both scrollbars. default would be as today and large could then actually just pick the size we have in all other places of the workbench.

Isn't the size of all other scrollbars a little bit too large for the breadcrumbs list? It would be 14px.

If we find some consent, would be happy to refactor the PR :)

Yeah, I would pick a sensible default for the larger scrollbar that works. Maybe workbench.editor.titleScrollbarSizing: default | large ?

If we limit the setting to the title bar, sounds good
@jrieken mentioned peek-errors, should they also be included in this change? then we would need a different name

I would not open the door to all the other places just yet.

I updated the PR and introduced workbench.editor.titleScrollbarSizing: default | large
Large defaults:

Thanks @JohnnyCrazy


Video Streaming API Background Change

Hi Everyone,
By reffering the source code of this SDK, I integrated HeyGen streaming API in my Unity Project.
But the generated Video Background is Green, I am trying to change the Background for the Genrated Video Stream. It seems there is no direct way to give the background image to the API.
Do we have any suggestions on how we can change Background in Unity 3D?

@HarshiniRaavula
Some public avatars output video streams with a green background. You can use canvas rendering to capture the video stream frame by frame and remove the green background.


Use object based-switch, add bench to support the idea

I've used object-based switching technique, speed of folding had gone up twice as much. Please try out

Hi Vitaly thanks for your contribution. I've incorporated the object property accessor stuff.


Login via deeplink should open modal in request money

Details

Login via deep link should open the modal in Request money
Fixed Issues

$ https://github.com/Expensify/App/issues/29115
PROPOSAL: https://github.com/Expensify/App/issues/29115#issuecomment-1754801666
Tests

Open a request money report or raise one and open it
Click on the description or merchant and copy the URL
Logout and paste the URL
Login and observe that the app opens the correct description  or merchant modal

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Open a request money report or raise one and open it
Click on the description or merchant and copy the URL
Logout and paste the URL
Login and observe that the app opens the correct description  or merchant modal

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome
https://github.com/Expensify/App/assets/129500732/4d106dc6-624b-4154-a9c1-9855a57267d2

iOS: Native
https://github.com/Expensify/App/assets/129500732/ed475b9f-23e2-4420-a308-8a0eaa1d60b1

iOS: mWeb Safari
https://github.com/Expensify/App/assets/129500732/e60bcff8-67bc-4460-bc55-c57c39991f3b

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/129500732/c0e8c2da-e2ec-4376-9d46-d1900e94f4c3

MacOS: Desktop
https://github.com/Expensify/App/assets/129500732/5f51cea0-a8d4-48ec-b9f8-e116da65b5e7

@dukenv0307 Any update on the above?

@dukenv0307 The changes doesn't seem to work properly in my testing.
https://github.com/Expensify/App/assets/46707890/ec47301f-1f73-48a9-b302-1101a01327e2
https://github.com/Expensify/App/assets/46707890/98805514-d05b-4ab4-846d-f68578c4eec1

Will take a review today

@dukenv0307 I doubt if the route is returned wrongly. I just wrapped the EditRequestPage with WithReportOrNotFound and printed the received reportID it had proper reportID. I think there could be something else happening here.
Code change I Made.
diff --git a/src/ROUTES.ts b/src/ROUTES.ts
index 49067d1c7b..f292a636b8 100644
--- a/src/ROUTES.ts
+++ b/src/ROUTES.ts
@@ -156,8 +156,8 @@ const ROUTES = {
         getRoute: (reportID: string) => `r/${reportID}` as const,
     },
     EDIT_REQUEST: {
-        route: 'r/:threadReportID/edit/:field',
-        getRoute: (threadReportID: string, field: ValueOf<typeof CONST.EDIT_REQUEST_FIELD>) => `r/${threadReportID}/edit/${field}` as const,
+        route: 'r/:reportID/edit/:field',
+        getRoute: (reportID: string, field: ValueOf<typeof CONST.EDIT_REQUEST_FIELD>) => `r/${reportID}/edit/${field}` as const,
     },
     EDIT_CURRENCY_REQUEST: {
         route: 'r/:threadReportID/edit/currency',
diff --git a/src/pages/EditRequestPage.js b/src/pages/EditRequestPage.js
index e41f30779f..855f39be4b 100644
--- a/src/pages/EditRequestPage.js
+++ b/src/pages/EditRequestPage.js
@@ -29,6 +29,7 @@ import EditRequestReceiptPage from './EditRequestReceiptPage';
 import EditRequestTagPage from './EditRequestTagPage';
 import reportActionPropTypes from './home/report/reportActionPropTypes';
 import reportPropTypes from './reportPropTypes';
+import withReportOrNotFound from './home/report/withReportOrNotFound';

 const propTypes = {
     /** Route from navigation */
@@ -285,6 +286,7 @@ EditRequestPage.displayName = 'EditRequestPage';
 EditRequestPage.propTypes = propTypes;
 EditRequestPage.defaultProps = defaultProps;
 export default compose(
+    withReportOrNotFound(),
     withOnyx({
         report: {
             key: ({route}) => `${ONYXKEYS.COLLECTION.REPORT}${route.params.threadReportID}`,
diff --git a/src/pages/home/report/withReportOrNotFound.tsx b/src/pages/home/report/withReportOrNotFound.tsx
index cf2c0d5aca..5c10e6cb81 100644
--- a/src/pages/home/report/withReportOrNotFound.tsx
+++ b/src/pages/home/report/withReportOrNotFound.tsx
@@ -73,7 +73,10 @@ export default function (

         return withOnyx<TProps & RefAttributes<TRef>, OnyxProps>({
             report: {
-                key: ({route}) => `${ONYXKEYS.COLLECTION.REPORT}${route.params.reportID}`,
+                key: ({route}) => {
+                    console.log("Abdul Test" + JSON.stringify(route))
+                    return `${ONYXKEYS.COLLECTION.REPORT}${route.params.reportID || route.params.threadReportID}`
+                },
             },
             isLoadingReportData: {

Video of testing:
https://github.com/Expensify/App/assets/46707890/34e7097c-bd45-41d2-9d27-5e1baa6ee3ac

Will check tomorrow. @dukenv0307 Meanwhile could you kindly fix the merge conflicts.

@abdulrahuman5196 I think we should hold this until EditRequestPage is removed.

Oh. This PR got missed.
Why should we wait on? If so could you share the links and reasoning?

@dukenv0307 Could you provide references of the refractor?

Checking now

Checking now

Checking again

Whenever I pick this issue I am not getting OTPs :sleepy: due to site issues I think.
https://expensify.slack.com/archives/C01GTK53T8Q/p1715879150080079

Checking now again

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/46707890/69e34225-7c7d-4f68-8a34-da012530a024

Android: mWeb Chrome

https://github.com/Expensify/App/assets/46707890/424df37a-a031-4564-b30d-00b3f53fc610

iOS: Native

https://github.com/Expensify/App/assets/46707890/b4e1878b-f394-4681-9289-58a132f1ce0d

iOS: mWeb Safari

https://github.com/Expensify/App/assets/46707890/b37c48df-1bf5-4d85-a4df-90d7d6c88a12

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/46707890/62eed0ec-ff34-415d-976c-d87138ac83d5

MacOS: Desktop

https://github.com/Expensify/App/assets/46707890/5ecb111f-5091-4d55-9ff1-3aab7775dbba

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.79-11 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Meson logo changed

[X] I'm sure this issue is not a duplicate.

[ ] I'm submitting an icon request:

Type: ``
Icon Name: ``
Sample original Icon:
Extensions: ``
Filenames: ``
Language ids: ``

Language Extensions:

More info:

Meson have announced a new logo, perhaps the file icon should reflect this?

(personally i think the old icon was better...)


Limit lines, overflow

I've got a situation where I need to display a small portion of text, say just the first couple of lines from a couple of paragraphs (that might contain markdown). I'd normally do this with a Text(maxLines=2, overflow = TextOverflow.Ellipsis) - but this currently isn't possible with Markdown().
Since the content is just text, I can display the raw text, without the markdown formatting applied - but it would be a nice to have to be able to apply these limits also after the markdown formatting has been applied, to be able to present the formatting present in these "snippets".

As the Markdown component itself is not designed to be used in such a way (each element is its own component, so the definition of 2 lines does not really apply) this is not possible in such a way.
However, as an alternative I've reworked the internal annotated string builder and added a new util function you can use to achieve your requirement.
Here's a small snippet:
Text(
                    text = "This is a paragraph with some *italic* and **bold** text. This is a paragraph with some *italic* and **bold** text. This is a paragraph with some *italic* and **bold** text.".buildMarkdownAnnotatedString(MaterialTheme.typography.body1),
                    maxLines = 2
)

Available in v0.28.0-rc01


PCIEC21Automation is missing

https://github.com/aws-samples/aws-securityhub-remediations/blob/a29120d84ec5c3a4aa3a730fc8ddfca3fb69a90b/aws-remediate-pci-securityhub/cft/aws-security-hub-pci-remediations-template2.yml#L3366

PCIEC21Automation is missing


Versions not matching between WebR repository and Quarto page

Sorry if this is not the correct place to post this. I am trying to setup a Github repository for an R package that will be used in a Quarto book. I have implemented Shiny applications within the R package (see https://github.com/jbryer/WebRBookTemplate/blob/master/R/loess_shiny.R for example). I am trying to embed this within my Quarto book site using shinylive (see this page: https://github.com/jbryer/WebRBookTemplate/blob/master/book/index.qmd).
I have a couple of Github actions here to create a WebR repository and create the Quarto book adapted from another action for pkgdown. It seems I am almost there except the Wasm build is building for version 4.4 (https://github.com/jbryer/WebRBookTemplate/tree/gh-pages/bin/emscripten/contrib/4.4) and the Quarto website is looking for version 4.3 (according to the JavaScript console preload error:Warning: unable to access index for repository https://jbryer.github.io/WebRBookTemplate/bin/emscripten/contrib/4.3:). Is there a way to either 1. Have Wasm build multiple versions or 2. Make the two actions use the same version?
Thanks so much for any help you can provide.

I think this issue over on the shinylive Github repo is related: https://github.com/posit-dev/shinylive/issues/131

I've merged #20, which allows you to select the webR image version when building your R package for Wasm.
In .github/workflows/deploy-cran-repo.yaml, update your build-rwasm job to point to the webR v0.3.3 image:
      - name: Build WASM R packages
        uses: r-wasm/actions/build-rwasm@v1
        with:
          packages: "."
          repo-path: "_site"
          webr-image: "ghcr.io/r-wasm/webr:v0.3.3"

That particular fixed version of webR is running R v4.3.3, and so the R packages compiled for wasm will be built into the repo directory /bin/emscripten/contrib/4.3.
Hopefully, this should fix the issue. Please let me know if not!

Thank you for the run log, that's very useful!
I've made a further tweak to the script, could you please try once more using the same GitHub Actions script for me?

Thank you so much George. That resolved the issue with building and loading the package. I see a different problem now, not sure if you have any idea. I am trying to embed a shiny app where the UI and server functions are defined in the package. When I load this page: https://jbryer.github.io/WebRBookTemplate/ I get this error (you can see the full context by viewing the JavaScript console):
Refused to execute a script because its hash, its nonce, or 'unsafe-inline' appears in neither the script-src directive nor the default-src directive of the Content Security Policy.

If I preview the Quarto site locally it loads just fine. Am I doing something that is not allowed?

To provide some additional context, if I deploy the app standalone to the same Github pages repo, it works:
https://jbryer.github.io/WebRBookTemplate/shiny/loess/
Seems to be something when it is embedded within Quarto. Here is the app.R source:
if(require(webr)) {
	webr::install("WebRBookTemplate", repos = c("https://jbryer.github.io/WebRBookTemplate/", "https://repo.r-wasm.org/"))
}
library(WebRBookTemplate)
library(shiny)
shiny::shinyApp(ui = WebRBookTemplate::loess_shiny_ui,
				server = WebRBookTemplate::loess_shiny_server)

Sorry to spam this thread but wanted to provide an update. It works fine in Google Chrome but not Safari.

Sorry to spam this thread but wanted to provide an update.

No worries, that's what the threads are for.

It works fine in Google Chrome but not Safari.

At the risk of using "it works on my machine", your app does seem to be running OK in Safari for me. I don't see the error in my JS console.

Perhaps you are seeing a cached version of your published Quarto document? Can you try clearing your Safari browser cache and loading the published page again?


Request works from command line, but not from within script.

If I run the following from the command line, it works fine.  If I try to run it from a script I get the AttributeError.  Why is those things I said?
import requests
r = requests.head('https://api.github.com/user')
AttributeError: 'module' object has no attribute 'head'

Is there a file named 'requests.py'? Python would try to import that file, not the module, in that case.

Nailed it!  thanks Kevin!


What to expect while running Get-Command '?'

get-command  'a particular commandlet' is  expected to return a single object. But get-command ? returns %, h, r, and ? - unexpected.  The behavior breaks our telemetry code.
PS C:\users> get-command ?

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           % -> ForEach-Object
Alias           ? -> Where-Object
Alias           h -> Get-History
Alias           r -> Invoke-History

PS C:\users> get-command h

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           h -> Get-History

Steps to reproduce

Expected behavior

Actual behavior

Environment data
PowerShell 5.1 or core
PS C:\users> $psversiontable
Name                           Value

PSVersion                      6.0.0
PSEdition                      Core
GitCommitId                    v6.0.0
OS                             Microsoft Windows 10.0.14393
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0
> $PSVersionTable

The same issue occurs when using -? parameter.
? -?

This command is expected to be same as Where-Object -?, but actually it is not.
# PowerShell Core 6.0.1
PS C:\> Where-Object -?

NAME
    Where-Object

SYNTAX
    Where-Object [-Property] <string> [[-Value] <Object>] [-InputObject <psobject>] [-EQ]  [<CommonParameters>]

...

# PowerShell Core 6.0.1
PS C:\> ? -?

Name                              Category  Module                    Synopsis
----                              --------  ------                    --------
%                                 Alias                               ForEach-Object
?                                 Alias                               Where-Object
h                                 Alias                               Get-History
r                                 Alias                               Invoke-History

The root cause is that there is no way to escape wildcard characters in Get-Command.

The same issue occurs when using Get-Help or -? parameter.
Get-Help -Name ?

? -?

These commands are expected to be same as Get-Help -Name Where-Object(Where-Object -?), but actually it is not.
# PowerShell Core 6.0.1
PS C:\> Get-Help -Name Where-Object

NAME
    Where-Object

SYNTAX
    Where-Object [-Property] <string> [[-Value] <Object>] [-InputObject <psobject>] [-EQ]  [<CommonParameters>]
...

PS C:\> Where-Object -?

NAME
    Where-Object

SYNTAX
    Where-Object [-Property] <string> [[-Value] <Object>] [-InputObject <psobject>] [-EQ]  [<CommonParameters>]
...

# PowerShell Core 6.0.1
PS C:\> Get-Help -Name ?

Name                              Category  Module                    Synopsis
----                              --------  ------                    --------
%                                 Alias                               ForEach-Object
?                                 Alias                               Where-Object
h                                 Alias                               Get-History
r                                 Alias                               Invoke-History

PS C:\> ? -?

Name                              Category  Module                    Synopsis
----                              --------  ------                    --------
%                                 Alias                               ForEach-Object
?                                 Alias                               Where-Object
h                                 Alias                               Get-History
r                                 Alias                               Invoke-History

The root cause is that there is no way to escape wildcard characters in Get-Command, Get-Help.

Get-Help -Name '`?'

Get-Help -Name "``?"

@iSazonov Thank you. but...
# Wildcard character is escaped, command returns expected result.
PS C:\> Get-Command -Name '`?'

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           ? -> Where-Object

# Wildcard character is escaped, command returns expected result?
PS C:\> Get-Help -Name '`?'

Name          : ?
Category      : Alias
Synopsis      : Where-Object
Component     :
Role          :
Functionality :

-? parameter is still left.

@SteveL-MSFT Is it still a problem with telemetry?

Close as stale issue. Feel free to continue discussion.

Close as stale issue. Feel free to continue discussion.

Dup #9308

Dup #9308


vision: broken samples on the website

I've just submitted a bug fix (PR #305) for some broken samples for the vision API. The code used in the detectDocumentText sample is used on the website as well and hence needs fixing too: https://cloud.google.com/vision/docs/detecting-fulltext

thanks! i'll get that re-published.


Added comments for easy reading to the repository

List up the contents & added description for each.

Hi @gpabon , please check my PR for adding some comments.


feat: Skip bot-comment when onboarding is skipped

Description
Skips the bot comments if user has skipped the on-boarding flow during their first comment.
Fixes #7281
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Tested on local machine
Unit tests

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Looks good. It looks like all tests have a @WithUserDetails(value = "api_user") above them. Considering the error we saw recently, can we add a test where no one is logged in, and ensure that we get a profile object, instead of an empty Mono?

@sharat87 I've added a unit test to test profile is returned when user is anonymous.


Add single value (per Epoch) logging to TensorboardLogger

I noticed that when logging to Tensorboard using TensorboardLogger a full list of per batch metrics is logged at each epoch (a lot of values). This makes visualization of training progress basically unreadable and defats the purpose of using Tensorboard.
I did a minor change to make it possible to log a single value at the end of the epoch. And it is now much more readable, and we can clearly see the progress of the training at each epoch.
I also kept the list (Per batch) logging for now (Will auto detect if single value or a list is submitted to log_stats() ). This is to keep backward compatibility with existing recipes.
But I think we need to remove it all together since it will not be very useful nor readable (lots of values) and because the steps won't represent the real training epoch number in this case.

@pplantinga are you ok with this change in the train_logger? It would be great if someone regularly using the tensorboard double check this PR.

I think that having the option to do either per-batch or per-epoch statistics is a good solution. I've seen charts made both ways and there are tasks/datasets for which one or the other makes more sense. Maybe the TODO can be removed, since I think it makes sense to support both approaches.

I think that having the option to do either per-batch or per-epoch statistics is a good solution. I've seen charts made both ways and there are tasks/datasets for which one or the other makes more sense. Maybe the TODO can be removed, since I think it makes sense to support both approaches.

Well I think it depends on the specific usage when logging per batch values (Basically the size of the batches and dataset). We can keep both if you think it is ok.
I'll remove the TODO and just keep the comment that it supports both.

Thank you @aelimame! I tested it and everything seems to work. I think we can merge it!


Update routine-maintenance.md

Adding information about resources pausing during business hours. This has just been rolled out for Stamps so reflecting that in documentation since it was specifically asked for.

@msangapu-msft
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Bumping for approval

#sign-off


Unassign request from an itinerary

Added basic v1 functionality to allow requests to be unassigned from an itinerary.
@tonysurma Need to review the business rules as we may need to further enhance this. At the moment unless a request is marked completed I allow it to be removed from an itinerary. We may want to prevent removal if the itinerary date has passed but I'm not sure if that would be correct in all use cases.
Closes #877
NOTE: No tests in the interests of getting functionality into the site for testing

For now those rules are good, thx


Stack Overflow launches Labs without announcement

What type of event change are you requesting

[x] Add new event
[ ] Update event details
[ ] Remove event

Checklist

[x] I have checked the spelling/grammar
[x] I have verified that the date of the event is correct
[x] I have verified all link references to ensure that they are not broken

If you are requesting a new event or updates to one, please provide either of the following:
A. Paste Event JSON, or
If you created/edited this event using the Event Editor,
please paste the exported event JSON between the code backticks below:
{
  "date_str": "2023-06-13",
  "title": "Stack Overflow launches Labs without announcement",
  "slug": "stack-overflow-launches-labs-without-announcement",
  "type": "experiment",
  "body": "
What is Stack Overflow Labs? Why is it sponsoring GenAI SE?
",
  "tags": [
    {
      "text": "stack-overflow-labs",
      "url": "https://meta.stackexchange.com/questions/tagged/stack-overflow-labs"
    }
  ]
},

B. Describe the event
If you don't have an event JSON, please manually provide details of the event:

Title
Date (YYYY-MM-DD)
Description
Link(s)

It'd be better if you moved the MSE post link to the list of links like this:
      "links": [
        {
          "text": "MSE post",
          "url": "https://meta.stackexchange.com/q/390241"
        }
      ],

And added a short description of the event.

Agreed, please provide a short description of the event. I don't know anything about it and why it is relevant for the timeline.

Agreed, please provide a short description of the event. I don't know anything about it and why it is relevant for the timeline.

For context, I learned of its existence from reading a blog post and its follow-up by an ex-employee of Stack Exchange, Inc. For a short description of the event, I'd probably quote the first answer to the MSE post link:

The purpose is to have a central hub to share our experiments, demos, insights, and news - across all Stack Overflow products.

It's relevant because it's part of a series of initiatives (including the GenAI site launch which I'll cover in another GitHub issue) by Stack Overflow's CEO, Prashanth Chandrasekar, and the fact that you, and even most staff at Stack Overflow, didn't know anything about it is, in my view, a testament to his dysfunctional leadership.

It'd be better if you moved the MSE post link to the list of links like this:
"links": [
    {
        "text": "MSE post",
        "url": "https://meta.stackexchange.com/q/390241"
    }
],

And added a short description of the event.

Should I put the short description of the event in the Summary field and leave the Body blank? I am not a native English speaker and don't think it's worth the effort to make this into a full-fledged Stack Overflow exemplar answer as opposed to a link-only answer.

Thanks for your contribution to the SE Timeline project.


find_git_root doesn't work for submodules

Environment (please complete the following information):

OS: Mac OS 10.15.1
(Neo)Vim version: NVIM v0.5.0-nightly-851-g6e8c5779c
vim-clap version: a2ee49ec87197dd90c4924563e6c476c8448e798
Have you reproduced with a minimal vimrc: n/a

Describe the bug
for git submodules, the .git/ folder is actually a file.
To Reproduce
Steps to reproduce the behavior:

Use any vim-clap configuration.

Create a git project git --init

Pull in your git submodule git submodule add https://github.com/liuchengxu/vim-clap

Pull in another git submodule git submodule add https://github.com/liuchengxu/vim-which-key

cd into the submodule you want to work on cd vim-clap

Open vim and search for a file Clap files - you will notice files from your other submodule

Check the git root echo clap#util#find_git_root(g:clap.start.bufnr) - the root is the parent repo. This is wrong.

Expected behavior
The git root should point to your submodule.
To fix this temporarily, I replaced the usages of clap#util#find_git_root(g:clap.start.bufnr) in autoload/clap/rooter.vim with the old clap#util#get_git_root()

Seemingly it's not easy to find the git root manually, even though that could be much faster than using the system call. If so, I think we should just stick to clap#util#get_git_root(), which talks about 200ms on my machine, I can live with that.

Please this branch fixes this issue, @gitbugr . I borrowed the strategy of vim-rooter, hoping that's robust enough, at least for the submodule case :(.


[superstruct] Add note about type-inference

Add note about type-inference with typescript and superstruct

Codecov Report

Merging #39 (4877a03) into main (3f9f3db) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   99.31%   99.31%
=======================================
  Files          37       37
  Lines         878      878
  Branches      283      283
=======================================
  Hits          872      872
  Misses          5        5
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f9f3db...4877a03. Read the comment docs.

This is a nice detail to add, thanks! If you have the time, would you mind adding a section for this on reporter-yup and reporter-zod? I understand both of them offer similar utilities. I'll need to add this to the site afterwards.

Wouldn't be a problem for Zod as I know that it works. For Yup I would have to look it up and test it, as I never used it.

@pablo-abc Updated the pr for the remaining two validators and updated the example to use the named export which was introduced with zod3. Should be ready now.


Rancher load balancer service as sidekick

Rancher Version:
Rancher: v1.1.3
Cattle: v<IP_ADDRESS>
Docker Version:
1.12.1
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu 16.04.1 LTS (4.4.0-34-generic) on a cloud provider
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node rancher with internal db
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
web-gateway:
    image: jwilder/nginx-proxy
    ports:
      - "443:443"
      - "80:80"
    labels:
      io.rancher.container.pull_image: always
      io.rancher.sidekicks: web-lb
      io.rancher.scheduler.affinity:host_label: server=gw
    volumes:
      - /var/run/docker.sock:/tmp/docker.sock:ro
      - /etc/ssl:/etc/nginx/certs:ro

  web-lb:
    image: rancher/load-balancer-service
    environment:
      - VIRTUAL_HOST=*.webs.com
      - VIRTUAL_PORT=80
    external_links:
      - webs/web:web
    expose:
      - 80:80
    stdin_open: true
    tty: true
    labels:
      io.rancher.loadbalancer.target.webs/web: 80=80

Results:
Error (Image [rancher/load-balancer-service:latest] failed to pull: Error: image rancher/load-balancer-service:latest not found)
Expected:
I would like to run a rancher loadbalancer as a side kick for our nginx proxy that handles SSL etc. So I only want to use the rancher loadbalancer to balance load between different subdomains and to different applications.

Duplicate of #5610


Selecting a single image from Google Photos does not work #58

Fix for https://github.com/miguelpruivo/plugins_flutter_file_picker/issues/58
I just added a small check if isMultipleSelection and "map" the list to a String if not.

This is should be protected in the Android side like is being already done in iOS whereas a single String is being returned if the list contains only one item.

This is should be protected in the Android side like is being already done in iOS whereas a single String is being returned if the list contains only one item.

Yep would also work for that case :+1:

This has now been fixed in 1.3.3 by protecting in the Android native callback so this PR is not longer required.
Anyhow, thank you for contributing.