Deploy fails on Railway.app with error "Template compiler process exited; recreating now."

EdgeDB Version: 1.4+ffe1237
OS Version: Unknown Linux (Docker container)

Steps to Reproduce:

Fork emme1444/edgedb-railway-repro.
Login to Railway.app
Connect your GitHub account to Railway (under <Profile Avatar> -> Account Settings).
Create a new Railway project.
Provision a new PostgreSQL service (under Provision PostgreSQL or New -> Database -> PostgreSQL).
Create a new service using the forked repository (under New -> GitHub Repo). Wait for the service to build and deploy.
Optionally, when the service starts spewing out errors: Remove the deployment (under <Ellipse> -> Remove).

 Getting started: https://docs.timescale.com/getting-started
2. API reference documentation: https://docs.timescale.com/api
3. How TimescaleDB is designed: https://docs.timescale.com/introduction/architecture

Note: TimescaleDB collects anonymous reports to better understand and assist our users.
For more information and how to disable, please see our docs https://docs.timescaledb.com/using-timescaledb/telemetry.
| | | |  _ ` _ \ / _ \/ __|/ __/ _` | |/ _ \ | | | ___ \
| | | | | | | | |  __/\__ \ (_| (_| | |  __/ |/ /| |_/ /
|_| |_|_| |_| |_|\___||___/\___\__,_|_|\___|___/ \____/
Running version 2.1.1
For more information on TimescaleDB, please visit the following links:
1. Getting started: https://docs.timescale.com/getting-started
2. API reference documentation: https://docs.timescale.com/api
3. How TimescaleDB is designed: https://docs.timescale.com/introduction/architecture
Note: TimescaleDB collects anonymous reports to better understand and assist our users.
For more information and how to disable, please see our docs https://docs.timescaledb.com/using-timescaledb/telemetry.

2022-07-10 11:17:42.065 UTC [54] CONTEXT:  PL/pgSQL function inline_code_block line 12 at RAISE
2022-07-10 11:17:42.071 UTC [56] ERROR:  TimescaleDB background worker connected to template database, exiting
2022-07-10 11:17:42.071 UTC [55] WARNING:  telemetry error: HTTP connection read error
CREATE EXTENSION
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/001_timescaledb_tune.sh
2022-07-10 11:17:42.072 UTC [35] LOG:  background worker "TimescaleDB Background Worker Scheduler" (PID 56) exited with exit code 1
Using postgresql.conf at this path:
/var/lib/postgresql/data/postgresql.conf
Writing backup to:
effective_cache_size = 366MB
maintenance_work_mem = 61MB
work_mem = 64kB
timescaledb.max_background_workers = 8
/tmp/timescaledb_tune.backup202207101117
Recommendations based on 488.00 MB of available memory and 32 CPUs for PostgreSQL 13
max_worker_processes = 43
max_parallel_workers_per_gather = 16
max_parallel_workers = 32
wal_buffers = 3747kB
min_wal_size = 512MB
default_statistics_target = 500
random_page_cost = 1.1
checkpoint_completion_target = 0.9
max_connections = 200
max_locks_per_transaction = 64
autovacuum_max_workers = 10
autovacuum_naptime = 10
effective_io_concurrency = 200
timescaledb.last_tuned = '2022-07-10T11:17:42Z'
timescaledb.last_tuned_version = '0.11.0'
Saving changes to: /var/lib/postgresql/data/postgresql.conf
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
CREATE DATABASE
waiting for server to shut down...2022-07-10 11:17:42.239 UTC [35] LOG:  received fast shutdown request
.2022-07-10 11:17:42.241 UTC [35] LOG:  aborting any active transactions
2022-07-10 11:17:42.241 UTC [52] LOG:  terminating TimescaleDB job scheduler due to administrator command
2022-07-10 11:17:42.241 UTC [52] FATAL:  terminating connection due to administrator command
2022-07-10 11:17:42.241 UTC [42] LOG:  terminating TimescaleDB background worker launcher due to administrator command
2022-07-10 11:17:42.241 UTC [42] FATAL:  terminating connection due to administrator command
2022-07-10 11:17:42.241 UTC [52] LOG:  terminating TimescaleDB job scheduler due to administrator command
2022-07-10 11:17:42.242 UTC [35] LOG:  background worker "TimescaleDB Background Worker Launcher" (PID 42) exited with exit code 1
2022-07-10 11:17:42.242 UTC [35] LOG:  background worker "logical replication launcher" (PID 43) exited with exit code 1
2022-07-10 11:17:42.242 UTC [35] LOG:  background worker "TimescaleDB Background Worker Scheduler" (PID 52) exited with exit code 1
2022-07-10 11:17:42.242 UTC [37] LOG:  shutting down
2022-07-10 11:17:42.259 UTC [35] LOG:  database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
2022-07-10 11:17:42.368 UTC [1] LOG:  starting PostgreSQL 13.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.2.1_pre1) 10.2.1 20201203, 64-bit
2022-07-10 11:17:42.368 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2022-07-10 11:17:42.368 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2022-07-10 11:17:42.372 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-07-10 11:17:42.378 UTC [80] LOG:  database system was shut down at 2022-07-10 11:17:42 UTC
2022-07-10 11:17:42.386 UTC [1] LOG:  database system is ready to accept connections
2022-07-10 11:17:42.388 UTC [86] LOG:  TimescaleDB background worker launcher connected to shared catalogs
2022-07-10 11:17:43.017 UTC [90] LOG:  the "timescaledb" extension is not up-to-date
2022-07-10 11:17:43.017 UTC [90] HINT:  The most up-to-date version is 2.7.0, the installed version is 2.1.1.
2022-07-10 11:18:29.179 UTC [107] FATAL:  database "template0" is not currently accepting connections
2022-07-10 11:18:29.180 UTC [1] LOG:  background worker "TimescaleDB Background Worker Scheduler" (PID 107) exited with exit code 1
2022-07-10 11:18:39.165 UTC [114] ERROR:  TimescaleDB background worker connected to template database, exiting
2022-07-10 11:18:39.166 UTC [1] LOG:  background worker "TimescaleDB Background Worker Scheduler" (PID 114) exited with exit code 1
2022-07-10 11:18:39.452 UTC [117] ERROR:  TimescaleDB background worker connected to template database, exiting
2022-07-10 11:18:39.454 UTC [1] LOG:  background worker "TimescaleDB Background Worker Scheduler" (PID 117) exited with exit code 1
2022-07-10 11:18:46.058 UTC [125] LOG:  could not receive data from client: Connection reset by peer
2022-07-10 11:18:46.058 UTC [120] LOG:  could not receive data from client: Connection reset by peer
2022-07-10 11:19:12.860 UTC [134] LOG:  could not receive data from client: Connection reset by peer
2022-07-10 11:19:12.860 UTC [135] LOG:  could not receive data from client: Connection reset by peer

EdgeDB service logs
================================================================
WARNING
-------

EDGEDB_SERVER_DEFAULT_AUTH_METHOD is set to 'Trust'.  This will
allow unauthenticated access to this EdgeDB instance for all who
have access to the database port! This might include other
containers or processes on the same host and, if port 5656
is bound to an accessible interface on the host, other machines
on the network.

Use only for DEVELOPMENT and TESTING in a known environment
without sensitive data.  Otherwise, it is strongly recommended
to use password authentication via the EDGEDB_SERVER_PASSWORD
or EDGEDB_SERVER_PASSWORD_HASH environment variables.
================================================================
Bootstrapping EdgeDB instance on remote Postgres cluster...
INFO 41 2022-07-10T11:18:27.130 edb.server: starting EdgeDB server 1.4+ffe1237, built on 2022-05-16T18:45Z from revision e4c6e5f1c (2022-05-16T01:08Z) for x86_64-unknown-linux-gnu
INFO 41 2022-07-10T11:18:29.040 edb.server: Detected 197 backend connections available.
INFO 41 2022-07-10T11:18:29.087 edb.server: Creating template database...
INFO 41 2022-07-10T11:18:29.688 edb.server: Creating the necessary PostgreSQL extensions...
INFO 41 2022-07-10T11:18:29.823 edb.server: Initializing the standard library...
INFO 41 2022-07-10T11:18:38.883 edb.server: Creating database: __edgedbsys__
INFO 41 2022-07-10T11:18:39.205 edb.server: Creating database: edgedb
INFO 41 2022-07-10T11:18:40.384 edb.server: Connection established to backend database: edgedb
INFO 41 2022-07-10T11:18:40.852 edb.server: generating self-signed TLS certificate in "/tmp/edgedb/edbtlscert.pem"
INFO 41 2022-07-10T11:18:44.186 edb.server: started 1 compiler worker process
INFO 41 2022-07-10T11:18:44.187 edb.server: Serving on <IP_ADDRESS>:41957
INFO 41 2022-07-10T11:18:44.188 edb.server: Serving admin on /tmp/tmp.35Um97RMT6/.s.EDGEDB.admin.41957
================================================================
NOTICE
------

A self-signed TLS certificate has been generated and placed in
'/tmp/edgedb/edbtlscert.pem' in this container.

If you have the EdgeDB CLI installed on the host system, you can
persist the authentication credentials and the certificate by
running:

edgedb -P <published-port> instance link --trust-tls-cert my_instance

You can then connect to the instance by running:

edgedb -I my_instance

If you wish to use the generated certificate manually, it is
printed below.  Please remember to include the BEGIN and END
CERTIFICATE lines.

INFO 41 2022-07-10T11:18:45.818 edb.server: Connection established to backend database: edgedb
-----BEGIN CERTIFICATE-----
<cert redacted>
-----END CERTIFICATE-----

================================================================
INFO 41 2022-07-10T11:18:45.820 edb.server: Received signal: Signals.SIGTERM.
INFO 41 2022-07-10T11:18:45.821 edb.server: Shutting down.
INFO 1 2022-07-10T11:18:50.527 edb.server: starting EdgeDB server 1.4+ffe1237, built on 2022-05-16T18:45Z from revision e4c6e5f1c (2022-05-16T01:08Z) for x86_64-unknown-linux-gnu
INFO 1 2022-07-10T11:18:52.537 edb.server: Detected 197 backend connections available.
INFO 1 2022-07-10T11:18:53.736 edb.server: Connection established to backend database: edgedb
ERROR 1 2022-07-10T11:18:57.681 edb.server: Template compiler process exited; recreating now.
---- Exception occurred: [Errno 104] Connection reset by peer ----
1. ConnectionResetError: [Errno 104] Connection reset by peer
---- Traceback ----
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 221, in _attach_worker
> await worker._attach(init_args_pickled)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 111, in _attach
> await self.call(
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 128, in call
> data = await self._con.request(msg)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/amsg.py, line 141, in request
> return await waiter
ConnectionResetError: [Errno 104] Connection reset by peer
ERROR 1 2022-07-10T11:18:59.361 asyncio: Task exception was never retrieved
future: <Task finished name='Task-22' coro=<BasePool._attach_worker() done, defined at /usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py:212> exception=ConnectionResetError(104, 'Connection reset by peer')>
---- Exception occurred: [Errno 104] Connection reset by peer ----
1. ConnectionResetError: [Errno 104] Connection reset by peer
---- Traceback ----
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 221, in _attach_worker
> await worker._attach(init_args_pickled)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 111, in _attach
> await self.call(
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 128, in call
> data = await self._con.request(msg)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/amsg.py, line 141, in request
> return await waiter
ConnectionResetError: [Errno 104] Connection reset by peer
ERROR 1 2022-07-10T11:18:59.428 asyncio: Task exception was never retrieved
future: <Task finished name='Task-12' coro=<BasePool._attach_worker() done, defined at /usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py:212> exception=ConnectionResetError(104, 'Connection reset by peer')>
---- Exception occurred: [Errno 104] Connection reset by peer ----
1. ConnectionResetError: [Errno 104] Connection reset by peer
---- Traceback ----
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 221, in _attach_worker
> await worker._attach(init_args_pickled)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 111, in _attach
> await self.call(
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 128, in call
> data = await self._con.request(msg)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/amsg.py, line 141, in request
> return await waiter
ConnectionResetError: [Errno 104] Connection reset by peer
ERROR 1 2022-07-10T11:19:00.049 asyncio: Task exception was never retrieved
future: <Task finished name='Task-21' coro=<BasePool._attach_worker() done, defined at /usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py:212> exception=ConnectionResetError(104, 'Connection reset by peer')>
---- Exception occurred: [Errno 104] Connection reset by peer ----
1. ConnectionResetError: [Errno 104] Connection reset by peer
---- Traceback ----
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 221, in _attach_worker
> await worker._attach(init_args_pickled)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 111, in _attach
> await self.call(
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 128, in call
> data = await self._con.request(msg)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/amsg.py, line 141, in request
> return await waiter
ConnectionResetError: [Errno 104] Connection reset by peer
ERROR 1 2022-07-10T11:19:01.650 asyncio: Task exception was never retrieved
future: <Task finished name='Task-25' coro=<BasePool._attach_worker() done, defined at /usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py:212> exception=ConnectionResetError(104, 'Connection reset by peer')>
---- Exception occurred: [Errno 104] Connection reset by peer ----
1. ConnectionResetError: [Errno 104] Connection reset by peer
---- Traceback ----
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 221, in _attach_worker
> await worker._attach(init_args_pickled)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 111, in _attach
> await self.call(
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 128, in call
> data = await self._con.request(msg)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/amsg.py, line 141, in request
> return await waiter
ConnectionResetError: [Errno 104] Connection reset by peer
ERROR 1 2022-07-10T11:19:02.946 asyncio: Task exception was never retrieved
future: <Task finished name='Task-18' coro=<BasePool._attach_worker() done, defined at /usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py:212> exception=ConnectionResetError(104, 'Connection reset by peer')>
---- Exception occurred: [Errno 104] Connection reset by peer ----
1. ConnectionResetError: [Errno 104] Connection reset by peer
---- Traceback ----
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 221, in _attach_worker
> await worker._attach(init_args_pickled)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 111, in _attach
> await self.call(
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 128, in call
> data = await self._con.request(msg)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/amsg.py, line 141, in request
> return await waiter
ConnectionResetError: [Errno 104] Connection reset by peer
ERROR 1 2022-07-10T11:19:03.364 asyncio: Task exception was never retrieved
future: <Task finished name='Task-17' coro=<BasePool._attach_worker() done, defined at /usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py:212> exception=ConnectionResetError(104, 'Connection reset by peer')>
---- Exception occurred: [Errno 104] Connection reset by peer ----
1. ConnectionResetError: [Errno 104] Connection reset by peer
---- Traceback ----
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 221, in _attach_worker
> await worker._attach(init_args_pickled)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 111, in _attach
> await self.call(
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 128, in call
> data = await self._con.request(msg)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/amsg.py, line 141, in request
> return await waiter
ConnectionResetError: [Errno 104] Connection reset by peer
ERROR 1 2022-07-10T11:19:03.365 asyncio: Task exception was never retrieved
future: <Task finished name='Task-16' coro=<BasePool._attach_worker() done, defined at /usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py:212> exception=ConnectionResetError(104, 'Connection reset by peer')>
---- Exception occurred: lost connection to the worker during a call ----
1. ConnectionError: lost connection to the worker during a call
---- Traceback ----
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 221, in _attach_worker
> await worker._attach(init_args_pickled)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 111, in _attach
> await self.call(
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 128, in call
> data = await self._con.request(msg)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/amsg.py, line 141, in request
> return await waiter
ConnectionError: lost connection to the worker during a call
ERROR 1 2022-07-10T11:19:03.367 asyncio: Task exception was never retrieved
future: <Task finished name='Task-11' coro=<BasePool._attach_worker() done, defined at /usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py:212> exception=ConnectionError('lost connection to the worker during a call')>
---- Exception occurred: lost connection to the worker during a call ----
1. ConnectionError: lost connection to the worker during a call
---- Traceback ----
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 221, in _attach_worker
> await worker._attach(init_args_pickled)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 111, in _attach
> await self.call(
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 128, in call
> data = await self._con.request(msg)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/amsg.py, line 141, in request
> return await waiter
ConnectionError: lost connection to the worker during a call
ERROR 1 2022-07-10T11:19:05.148 asyncio: Task exception was never retrieved
future: <Task finished name='Task-24' coro=<BasePool._attach_worker() done, defined at /usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py:212> exception=ConnectionError('lost connection to the worker during a call')>
---- Exception occurred: lost connection to the worker during a call ----
1. ConnectionError: lost connection to the worker during a call
---- Traceback ----
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 221, in _attach_worker
> await worker._attach(init_args_pickled)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 111, in _attach
> await self.call(
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py, line 128, in call
> data = await self._con.request(msg)
/usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/amsg.py, line 141, in request
> return await waiter
ConnectionError: lost connection to the worker during a call
ERROR 1 2022-07-10T11:19:11.544 asyncio: Task exception was never retrieved
future: <Task finished name='Task-20' coro=<BasePool._attach_worker() done, defined at /usr/lib/x86_64-linux-gnu/edgedb-server-1/lib/python3.10/site-packages/edb/server/compiler_pool/pool.py:212> exception=ConnectionError('lost connection to the worker during a call')>

I may have missed something. Please notify me if you think I did.
I should also note that I have tried spinning up a local Docker container on my host that successfully points to the PostgreSQL instance on Railway. This works great. Maybe this is something to do with Railway?
Anyway, thanks!

This looks like an out-of-memory situation.  How much RAM is there?

Ah, had not thought about that. 512 MB I think it's capped at, since I'm using the free tier. Is it tweakable? Or straight up not usable/doable?

Hey, I tried deploying the 2.0rc on Railway with the free tier (512 MB Ram), after getting this answer in the discord:

But I get the same errors as outlined in the issue.

@ReinhardtR yeah. From my tests deploying 2.0rc (.3 in my case, at the time) still using the Developer plan it was sitting at a constant 1.9-2.0 GB of RAM. And like you said it would not start at all on the free plan. But I haven't tried the latest 2.0 release. Maybe that fixes it?

Tried on the 2.0 release it failed with these logs:
Bootstrapping EdgeDB instance on the local volume... INFO 37 2022-08-04T13:00:29.117 edb.server: starting EdgeDB server 2.0+59694c0, built on 2022-07-28T04:20Z from revision 7af373f99 (2022-07-27T02:03Z) for x86_64-unknown-linux-gnu INFO 37 2022-08-04T13:00:29.117 edb.server: instance name: '_unknown' INFO 37 2022-08-04T13:00:31.222 edb.server: Using 1208 max backend connections based on total memory. INFO 37 2022-08-04T13:00:31.251 edb.pgcluster: Initializing database cluster in /var/lib/edgedb/data INFO 71 2022-08-04T13:00:32.900 postgres: starting PostgreSQL 14.4 on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit INFO 71 2022-08-04T13:00:32.904 postgres: listening on Unix socket "/tmp/tmp.26wLLgaQYx/.s.PGSQL.7791" INFO 71 2022-08-04T13:00:32.917 postgres: database system was shut down at 2022-08-04 13:00:32 UTC INFO 71 2022-08-04T13:00:32.928 postgres: database system is ready to accept connections INFO 37 2022-08-04T13:00:33.913 edb.server: Creating template database... INFO 37 2022-08-04T13:00:34.717 edb.server: Creating the necessary PostgreSQL extensions... INFO 37 2022-08-04T13:00:34.792 edb.server: Initializing the standard library... INFO 71 2022-08-04T13:00:43.836 postgres: function edgedb.__rh_09bef9deed149c843e49fee68e6c914d2bb4099d(json,json) does not exist, skipping INFO 71 2022-08-04T13:00:43.837 postgres: SQL statement "DROP FUNCTION IF EXISTS edgedb.__rh_09bef9deed149c843e49fee68e6c914d2bb4099d(__classname json, __version json)" INFO 71 2022-08-04T13:00:43.837 postgres: 	PL/pgSQL function inline_code_block line 25 at SQL statement INFO 37 2022-08-04T13:00:44.133 edb.server: Creating database: __edgedbsys__ INFO 37 2022-08-04T13:00:44.986 edb.server: Creating database: edgedb INFO 37 2022-08-04T13:00:45.504 edb.server: Restarting server to reload configuration... INFO 71 2022-08-04T13:00:45.528 postgres: received fast shutdown request INFO 71 2022-08-04T13:00:45.532 postgres: aborting any active transactions INFO 71 2022-08-04T13:00:45.534 postgres: background worker "logical replication launcher" (PID 78) exited with exit code 1 INFO 71 2022-08-04T13:00:45.534 postgres: shutting down INFO 71 2022-08-04T13:00:45.620 postgres: database system is shut down INFO 86 2022-08-04T13:00:45.754 postgres: starting PostgreSQL 14.4 on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit INFO 86 2022-08-04T13:00:45.758 postgres: listening on Unix socket "/tmp/tmp.26wLLgaQYx/.s.PGSQL.7791" INFO 86 2022-08-04T13:00:45.774 postgres: database system was shut down at 2022-08-04 13:00:45 UTC CRITICAL 86 2022-08-04T13:00:45.774 postgres: the database system is starting up INFO 86 2022-08-04T13:00:45.782 postgres: database system is ready to accept connections INFO 37 2022-08-04T13:00:48.225 edb.server: introspecting extensions for database '__edgedbsys__' INFO 37 2022-08-04T13:00:48.226 edb.server: introspecting extensions for database 'edgedb' INFO 37 2022-08-04T13:00:48.238 edb.server: Connection established to backend database: __edgedbsys__ INFO 37 2022-08-04T13:00:48.297 edb.server: Connection established to backend database: edgedb INFO 37 2022-08-04T13:00:48.325 edb.server: generating self-signed TLS certificate in "/var/lib/edgedb/data/edbtlscert.pem" INFO 37 2022-08-04T13:00:48.466 edb.server: generating JOSE key pair in "/var/lib/edgedb/data/edbjwskeys.pem" INFO 37 2022-08-04T13:00:48.467 edb.server: generating JOSE key pair in "/var/lib/edgedb/data/edbjwekeys.pem" CRITICAL 86 2022-08-04T13:00:50.449 postgres: terminating connection due to unexpected postmaster exit CRITICAL 86 2022-08-04T13:00:50.450 postgres: terminating connection due to unexpected postmaster exit CRITICAL 86 2022-08-04T13:00:50.450 postgres: terminating connection due to unexpected postmaster exit INFO 37 2022-08-04T13:01:48.492 edb.server: Shutting down.

Hmm, now it fails with this:

INFO 87 2022-08-04T13:22:32.249 postgres: terminating connection due to administrator command
INFO 87 2022-08-04T13:22:32.249 postgres: terminating connection due to administrator command
INFO 87 2022-08-04T13:22:32.249 postgres: background worker "logical replication launcher" (PID 94) exited with exit code 1


Add full console example to console documentation

Added example of event queue handling for full console.

looks good, thanks for improving our docs!


Win+arrow works between monitors

Right now the win+arrow hotkeys only cycle between zones on the monitor the window is on.
Need to make sure this has a setting too.

This has been implemented in 0.16


ArmnnConverter Segmentation Fault

after I run command ./ArmnnConverter -f onnx.binary -m xx -o xx -p xx -i xx
I just get segmentation fault (core dumped) without other information
using gdb I get to know that error is happening at  converter.CreateNetwork<armnnOnnxParser::IOnnexParser>()
I am so disappointed because I get nothing after a long time of compilation

Hi,
That particular line should be:
converter.CreateNetwork<armnnOnnxParser::IOnnxParser>
Was that just a typo in your issue description or did gdb say "IOnnexParser"?
Regards,
Francis.

Sorry ,  that is my mistake, I typed it instead of copying from terminal

Can you post us the model so we can try?

Hi @kl456123 ,
I think this issue is resolved now, could you close if it is please?
Cheers,
James


What's means about this error log when I execute command import makrdown to confluence.

2022-08-11 20:22:13.425 FATAL specified file doesn't contain metadata and URL is not specified via command line or doesn't contain pageId GET-parameter

@superlzs0476 Can you share the command you used to generate this error?

Hey I encountered a similar error when I had a macro at the very top of my file; moving the macro to the bottom, after the space, title, and parent fixed it for me.

--trace --debug often don't work for this because it is looking for a parameter that is missing.
Right now I'm not having any issues if I put metadata into my .md files, however when attempting to use the command line, it frequently doesn't like what I've provided.
It would be helpful to know what meta data is in your .md file, what command you're running from the CLI, and possibly what your config file contains.
I will post back here if I have more to offer wrt bad formatting of base URL /  edit location which is what I'm currently working through.

The format of your URL matters if you don't have meta data in your headers. This is not super clearly documented, I'd like more examples of this.
This URL format with no meta-data :
/pages/viewpage.action?pageId=
Throws this this error:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x20 pc=0x100b5ecf4]

goroutine 1 [running]:
main.processFile({0x1400001c780, 0x48}, 0x1008860f8?, {{0x16f5af560, 0x2d}, 0x0, 0x0, 0x0, 0x1, 0x1, ...}, ...)
        github.com/kovetskiy/mark/main.go:208 +0x1f4
main.main()
        github.com/kovetskiy/mark/main.go:159 +0x51


fix: remove debug logging from the manager auth proxy patch

Signed-off-by: Nitin Goyal<EMAIL_ADDRESS>

/cherry-pick release-4.12


Error on all files after upgrading to v3.5.0

Problem
Hi! I recently did a lazy-upgrade. After which I get the following error when opening vim:
Error executing vim.schedule lua callback: ...l/share/nvim/lazy/indent-blankline.nvim/lua/ibl/init.lua:478: invalid key: virt_text_repeat_linebreak
stack traceback:
        [C]: in function 'nvim_buf_set_extmark'
        ...l/share/nvim/lazy/indent-blankline.nvim/lua/ibl/init.lua:478: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

My configuration looks like this (and previously worked perfectly:
  {
  'lukas-reineke/indent-blankline.nvim',
  main = 'ibl',
  opts = {}
  }

When I open a specific file, I get:
[Neo-tree ERROR] Error opening file: vim/_editor.lua:0: nvim_exec2()..BufReadPost Autocommands for "*": Vim(append):Error executing lua callback: .../Applications/nvim-macos/share/nvim/runtime/filetype.lua:30: Er
ror executing lua: .../Applications/nvim-macos/share/nvim/runtime/filetype.lua:31: nvim_exec2()..BufReadPost Autocommands for "*"..FileType Autocommands for "*": Vim(append):Error executing lua callback: ...l/sha
re/nvim/lazy/indent-blankline.nvim/lua/ibl/init.lua:478: invalid key: virt_text_repeat_linebreak
stack traceback:
^I[C]: in function 'nvim_buf_set_extmark'
^I...l/share/nvim/lazy/indent-blankline.nvim/lua/ibl/init.lua:478: in function 'refresh'
^I...l/share/nvim/lazy/indent-blankline.nvim/lua/ibl/init.lua:128: in function 'debounced_refresh'
^I...l/share/nvim/lazy/indent-blankline.nvim/lua/ibl/init.lua:144: in function 'debounced_refresh'
^I...are/nvim/lazy/indent-blankline.nvim/lua/ibl/autocmds.lua:27: in function <...are/nvim/lazy/indent-blankline.nvim/lua/ibl/autocmds.lua:26>
^I[C]: in function 'nvim_cmd'
^I.../Applications/nvim-macos/share/nvim/runtime/filetype.lua:31: in function <.../Applications/nvim-macos/share/nvim/runtime/filetype.lua:30>
^I[C]: in function 'nvim_buf_call'
^I.../Applications/nvim-macos/share/nvim/runtime/filetype.lua:30: in function <.../Applications/nvim-macos/share/nvim/runtime/filetype.lua:10>
^I[C]: in function 'nvim_exec2'
^Ivim/_editor.lua: in function <vim/_editor.lua:0>
^I[C]: in function 'pcall'
^I...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:837: in function 'open_file'
^I...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:727: in function 'open'
^I...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:751: in function 'open_with_cmd'
^I...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:850: in function 'open_with_window_picker'
^I...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:203: in function <...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:202>
stack traceback:
^I[C]: in function 'nvim_cmd'
^I.../Applications/nvim-macos/share/nvim/runtime/filetype.lua:31: in function <.../Applications/nvim-macos/share/nvim/runtime/filetype.lua:30>
^I[C]: in function 'nvim_buf_call'
^I.../Applications/nvim-macos/share/nvim/runtime/filetype.lua:30: in function <.../Applications/nvim-macos/share/nvim/runtime/filetype.lua:10>
^I[C]: in function 'nvim_exec2'
^Ivim/_editor.lua: in function <vim/_editor.lua:0>
^I[C]: in function 'pcall'
^I...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:837: in function 'open_file'
^I...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:727: in function 'open'

Steps to reproduce

Run nvim (initial error is shown)
Open a file (detailed error is shown)

Expected behavior
Prior to the upgrade, opening vim and a file would produce no errors, and the indent line would be visible
Neovim version (nvim -v)
NVIM v0.10.0-dev-1927+g089b93435

Same issue here, had to completely disable the plugin. It was on every keystroke

Please update your Neovim version.
Only stable and latest nightly is supported, you are using an old nightly version.

I was on NVIM v0.10.0-dev-1703+gb6e339eb9-Homebrew.
I updated to NVIM v0.10.0-dev-1988+g1ef60ea65-Homebrew and the issue is gone

Only stable and latest nightly is supported
Good to know, thanks

THANK YOU!


Sort changing Rows Per Page to default

My default row per page is 10. But when I set it to a 100 and sort by clicking the column header, it returned to my default row per page of 10, instead of showing the 100 rows.
Why does this.currentPerPage go back to default after sort?
sort: function(index) {
      if (!this.sortable) return;
      if (this.sortColumn === index) {
        this.sortType = this.sortType === "asc" ? "desc" : "asc";
      } else {
        this.sortType = "asc";
        this.sortColumn = index;
      }
    },

Looks like its from
computed: {
...
        this.currentPerPage = options[0];
...
}

I change the above to this.currentPerPage = this.currentPerPage as a work around but not sure what will it affect.

My default row per page is 10. But when I set it to a 100 and sort by clicking the column header, it returned to my default row per page of 10.
Why does this.currentPerPage go back to default after sort?
sort: function(index) {
if (!this.sortable) return;
if (this.sortColumn === index) {
this.sortType = this.sortType === "asc" ? "desc" : "asc";
} else {
this.sortType = "asc";
this.sortColumn = index;
}
},

I couldn't reproduce this issue. However, I suspect it happens because your per-page options are changing right after sorting for some reason, causing resetting this.currentPerPage internally as you mentioned.
While I have removed that piece of code and replaced it with a watcher, it may still occur for you if you have some issues in your own code.


arch:xtensa: remove chip_marcos.h from common code

Summary
arch:xtensa:
move HANDLER_SECTION/xtensa_intstack_xxx from src/chip/.h to include/chip/.h
and remove chip_marco.h in common , as it is in src/chip/ and should not
be used by common code
Impact
Testing

ok, setinstack  and so on is provided by the chip vendors, but put those marcos in chip.h is more suitable than src/chipxx.h, do you think so?


[Bug]: Subscription use aliases to observe external resource

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)
azure.upbound.io/v1beta1 - Subscription
Resource MRs required to reproduce the bug
---
apiVersion: azure.upbound.io/v1beta1
kind: Subscription
metadata:
  annotations:
    crossplane.io/external-name: subscription-id
spec:
  managementPolicies:
  - Observe
  providerConfigRef:
    name: provider-subscription-id
  forProvider: {}

Steps to Reproduce
First case:

Create a subscription without alias.

Second case:

Create a subscription with an alias and link to an Enterprise Agreement. The creation of the subscription is delegated to an enrolment account.
Setup another user (SP) with the Owner role on the subscription, which will be use for the ProviderConfig identity.

What happened?
First case:
The subscription has no alias, cannot be retrieved.
ReconcileError: observe failed: external resource does not exist
Second case:
The owner of the subscription do not have the required permissions Microsoft.Subscription/aliases/write
ReconcileError: observe failed: failed to observe the resource: [{0 reading Subscription Alias "alias_name": subscriptions.SubscriptionsClient#AliasGet: Failure responding to request: StatusCode=401 -- Original Error: autorest/azure: Service returned an error. Status=401 Code="UserNotAuthorized" Message="User does not have access Microsoft.Subscription/aliases/write over scope providers/Microsoft.Subscription/aliases/alias_name" []}]
Relevant Error Output Snippet
No response
Crossplane Version
1.15.1
Provider Version
1.0.1
Kubernetes Version
1.29
Kubernetes Distribution
AKS
Additional Info
There are many ways of creating subscription in Azure, either with an Enterprise agreement, Pay-as-you-go, Customer Agreement, and they differ on how the delegation of the permissions to a user is done. For example, EA agreement, you need to delegate the creation of the subscription to an enrolment account, but in Pay-as-you-go, you can assign directly a user.
I think an Owner or even a Reader should be able to read the subscription without have to give them the Microsoft.Subscription/aliases/write permission.
There is also the possibility to create a subscription without an alias, so in that case MR does not work.
In externalname.go, azurerm_subscription should not use the alias but the subscription id as the external name.

Hi @chatelain-io, thank you for this issue. Please correct me if I'm wrong, you can not import existing resources by setting managementPolicies only to Observe, right?

Indeed, to import it requires an alias

Yes, this is the same as the underlying provider, resource_id is used for import and there is an alias in the ID.

Alright, I guess this is not a bug then. Thank you


roc docs add feature to focus search box using ⌘F, CTRL F, or F3

I thought it maybe helpful to focus the search box in Docs. I find I am constantly scrolling back and forth so being able to immediately focus the search box helps to find the function I am looking for.

Cool! I like the idea but I'm reluctant to override the browser's default behavior in this case...is there another key combination we could use? 🤔
(We could make it discoverable via the placeholder text in the search input box)

Github uses s or / keypresses and Jira uses / for quick search. I think we should adopt / as a reasonable middle ground. I'll update my PR.


Strider Riding

If a player decides to ride someone with the strider origin, the player who is the strider cannot see when someone is riding them, but the player riding can see.

anyone who isn't the strider themselves can see

I also have the same issue. The player that rides on the strider appears to be in the same spot where they stood when they clicked on the strider. Is there a way to fix this?


Helper methods in samediff for TF graphs

It would be nice to have a helper method in DL4J that would scan a TF pb for iterators and replace them with placeholders.
Also would be nice to have a helper method that would handle dropout related subgraph surgery in TF for inference easily

Porting this would be a good start.


Sanddance Vue Beta2 example

Hi team,
Congrats on getting a Beta2 released! :) I'm trying to create a Sanddance Vue to test Treemap visualisation, but I can't get the component to display anything at all. I'm using this element:
<sand-dance-vue :data="sanddancedata.data" :insight="sanddancecfg.insight" />
with this Insight configuration:
              sanddancecfg: {
                insight: {
                  chart: "treemap",
                  size: {height: 400 , width: 400},
                  columns: {
                    x: "name"
                    ,y: "value"
                  }
                }
              },

and this JSON data:
[{
		"name": "10Mb to 100Mb",
		"value": 1
	}, {
		"name": "1Mb to 5Mb",
		"value": 15
	}, {
		"name": "0 Kb",
		"value": 71
	}, {
		"name": "100Kb to 1Mb",
		"value": 99
	}, {
		"name": "10Kb to 50Kb",
		"value": 394
	}, {
		"name": "< 10Kb",
		"value": 5572
	}, {
		"name": "0 Kb",
		"value": 16921
	}
]

which is assigned to the sanddance-vue component via:
this.sanddancedata.data = sanddancejson;
However my Vue page displays this:

There are no javascript errors on the page so it seems the sanddance-vue component is registered correctly. I have saved JSON separately and can successfully load it into the online Sanddance demo.
Any ideas what I am doing wrong here?

Hi Gavin, I think you need to add the stylesheet from @msrvida/sanddance/dist/css, and set a size for .sanddance-VueViewer.
I'm not a Vue expert, but here's a working example:
<template>
  <div id="app">
    <SandDanceVue v-bind:data="data" v-bind:insight="insight" />
  </div>
</template>

<script>
import * as deck from<EMAIL_ADDRESS>import * as layers from<EMAIL_ADDRESS>import * as luma from<EMAIL_ADDRESS>import * as vega from "vega";
import SandDanceVue, { SandDance } from "@msrvida/sanddance-vue";

SandDance.use(vega, deck, layers, luma);

const data = [{ a: 1 }, { a: 2 }, { a: 3 }];

const insight = {
  chart: "barchartV",
  columns: {
    x: "a",
    z: "a"
  },
  size: {
    height: 500,
    width: 500
  },
  view: "3d"
};

export default {
  name: "App",
  components: {
    SandDanceVue
  },
  data: () => {
    return {
      data,
      insight
    };
  }
};
</script>

<style>
.sanddance-VueViewer {
  height: 700px;
  border: 1px solid black;
}
</style>

<style<EMAIL_ADDRESS>/>

If there's a better syntax for templating, please let me know 🤓
Also, you package.json will need these for beta.2:
<EMAIL_ADDRESS>"^8.1.9",
<EMAIL_ADDRESS>"^8.1.9",
<EMAIL_ADDRESS>"^8.1.3",
    "@msrvida/sanddance-vue": "^3.0.0-beta.2",
    "vega": "^5.13.0",

These should be added to the readme

Thanks Dan! I'll try this configuration, I just have to get past this @luma.gl upgrade error:

which looks like some npm fun in the background, then I'll try the configuration above.

Hi Dan,
Looks like it is something else, the sample you provided above worked straight away:

I'll run some more tests and report back...

Fixed - I checked the insights configuration for the TreemapTest demo and saw I had the columns configuration completely wrong, should be the following for Treemap (for my data):
insight: {
            chart: "treemap",
            size: { height: 400, width: 400 },
            **columns: {
              color: 'name',
              size: 'value',
              uid: 'name'
            },**
            scheme: 'category10'
          }

just got a bit ambitious with the graphing options :)

CSS battles ahead, but looks great to me!


OpenGL port

I have just pushed a commit which includes a complete recode of the program (+ some new features ;) )
Though, there are some things that are currently broken:

HLSL geometry shaders

Not sure if this is my bug or theirs bug, or if HLSL geometry shaders now have to be coded in a specific way. A problem that I have stumbled upon is that it is quite impossible to send a variable (through output) from vertex shader to geometry shader. I think this is the issue: link but apparently it seems fixed (?).

MatrixReflect and MatrixShadow system variables currently do nothing and need to be reimplemented

glm, unlike DirectXMath, doesnt have a simple function to generate such matrices - so for now they will stay removed

CMake adds unnecessary parts of the glslang to the build pipeline

glslang-default-resource-limits, SPVRemapper, glslangValidator, spirv-remap executables are being built even though they are not used anywhere...

Please report all the bugs that you stumble upon! :D

Fixed CMake issue with commit https://github.com/dfranx/SHADERed/commit/ad6014b9ee22b0f0b1b2a57d8c1d3bd4325e076c

Was waiting for it for a long time.
Thx dude.
Will test it right away on my Arch box.

No problem!
Also please reply back with your thoughts and/or if you find any issues or think something should change.

It seems like SDL2 is not properly linked (or included in main.cpp)
/usr/bin/ld: CMakeFiles/SHADERed.dir/main.cpp.o: in function `setIcon(SDL_Window*)':
main.cpp:(.text+0x185): undefined reference to `SDL_CreateRGBSurfaceWithFormatFrom'
/usr/bin/ld: main.cpp:(.text+0x26c): undefined reference to `SDL_SetWindowIcon'
/usr/bin/ld: main.cpp:(.text+0x278): undefined reference to `SDL_FreeSurface'
/usr/bin/ld: CMakeFiles/SHADERed.dir/main.cpp.o: in function `main':
main.cpp:(.text+0x738): undefined reference to `SDL_Init'
/usr/bin/ld: main.cpp:(.text+0xad6): undefined reference to `SDL_GetCurrentDisplayMode'
/usr/bin/ld: main.cpp:(.text+0xd08): undefined reference to `SDL_GL_SetAttribute'
/usr/bin/ld: main.cpp:(.text+0xd17): undefined reference to `SDL_GL_SetAttribute'
/usr/bin/ld: main.cpp:(.text+0xd26): undefined reference to `SDL_GL_SetAttribute'
/usr/bin/ld: main.cpp:(.text+0xd35): undefined reference to `SDL_GL_SetAttribute'
/usr/bin/ld: main.cpp:(.text+0xd9a): undefined reference to `SDL_CreateWindow'
/usr/bin/ld: main.cpp:(.text+0xdba): undefined reference to `SDL_SetWindowMinimumSize'
/usr/bin/ld: main.cpp:(.text+0xde1): undefined reference to `SDL_MaximizeWindow'
/usr/bin/ld: main.cpp:(.text+0xdfe): undefined reference to `SDL_SetWindowFullscreen'
/usr/bin/ld: main.cpp:(.text+0xe0d): undefined reference to `SDL_GL_CreateContext'
/usr/bin/ld: main.cpp:(.text+0xe2d): undefined reference to `SDL_GL_MakeCurrent'
/usr/bin/ld: main.cpp:(.text+0x136a): undefined reference to `SDL_PollEvent'
/usr/bin/ld: main.cpp:(.text+0x149c): undefined reference to `SDL_GetWindowFlags'
/usr/bin/ld: main.cpp:(.text+0x151b): undefined reference to `SDL_GetWindowPosition'
/usr/bin/ld: main.cpp:(.text+0x1555): undefined reference to `SDL_GetWindowSize'
/usr/bin/ld: main.cpp:(.text+0x1652): undefined reference to `SDL_GL_SwapWindow'
/usr/bin/ld: main.cpp:(.text+0x1962): undefined reference to `SDL_GL_DeleteContext'
/usr/bin/ld: main.cpp:(.text+0x1971): undefined reference to `SDL_DestroyWindow'
/usr/bin/ld: main.cpp:(.text+0x1976): undefined reference to `SDL_Quit'
/usr/bin/ld: CMakeFiles/SHADERed.dir/GUIManager.cpp.o: in function `ed::GUIManager::GUIManager(ed::InterfaceManager*, SDL_Window*, void**)':
GUIManager.cpp:(.text+0x5364): undefined reference to `SDL_GL_SetSwapInterval'
/usr/bin/ld: GUIManager.cpp:(.text+0x5aa0): undefined reference to `SDL_GetWindowDisplayIndex'
/usr/bin/ld: GUIManager.cpp:(.text+0x5ac4): undefined reference to `SDL_GetDisplayDPI'
/usr/bin/ld: CMakeFiles/SHADERed.dir/GUIManager.cpp.o: in function `ed::GUIManager::Update(float)':
GUIManager.cpp:(.text+0x72ed): undefined reference to `SDL_DestroyWindow'
/usr/bin/ld: GUIManager.cpp:(.text+0x7d6c): undefined reference to `SDL_GetWindowSize'
/usr/bin/ld: GUIManager.cpp:(.text+0x934a): undefined reference to `SDL_SetWindowTitle'
/usr/bin/ld: GUIManager.cpp:(.text+0x94e7): undefined reference to `SDL_SetWindowTitle'
/usr/bin/ld: CMakeFiles/SHADERed.dir/GUIManager.cpp.o: in function `ed::GUIManager::SaveAsProject(bool)':
GUIManager.cpp:(.text+0xafeb): undefined reference to `SDL_SetWindowTitle'
/usr/bin/ld: CMakeFiles/SHADERed.dir/GUIManager.cpp.o: in function `ed::GUIManager::Open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
GUIManager.cpp:(.text+0xb490): undefined reference to `SDL_SetWindowTitle'
/usr/bin/ld: CMakeFiles/SHADERed.dir/GUIManager.cpp.o: in function `ed::GUIManager::m_setupShortcuts()::{lambda()#24}::operator()() const':
GUIManager.cpp:(.text+0xc338): undefined reference to `SDL_DestroyWindow'
/usr/bin/ld: CMakeFiles/SHADERed.dir/Objects/KeyboardShortcuts.cpp.o: in function `ed::KeyboardShortcuts::Load()':
KeyboardShortcuts.cpp:(.text+0x3b4): undefined reference to `SDL_GetKeyFromName'
/usr/bin/ld: KeyboardShortcuts.cpp:(.text+0x423): undefined reference to `SDL_GetKeyFromName'
/usr/bin/ld: CMakeFiles/SHADERed.dir/Objects/KeyboardShortcuts.cpp.o: in function `ed::KeyboardShortcuts::Save()':
KeyboardShortcuts.cpp:(.text+0x816): undefined reference to `SDL_GetKeyName'
/usr/bin/ld: KeyboardShortcuts.cpp:(.text+0x85a): undefined reference to `SDL_GetKeyName'
/usr/bin/ld: CMakeFiles/SHADERed.dir/Objects/KeyboardShortcuts.cpp.o: in function `ed::KeyboardShortcuts::GetString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
KeyboardShortcuts.cpp:(.text+0x1062): undefined reference to `SDL_GetKeyName'
/usr/bin/ld: KeyboardShortcuts.cpp:(.text+0x1133): undefined reference to `SDL_GetKeyName'
/usr/bin/ld: CMakeFiles/SHADERed.dir/UI/OptionsUI.cpp.o: in function `ed::OptionsUI::m_getShortcutString[abi:cxx11]()':
OptionsUI.cpp:(.text+0x896): undefined reference to `SDL_GetKeyName'
/usr/bin/ld: CMakeFiles/SHADERed.dir/UI/OptionsUI.cpp.o:OptionsUI.cpp:(.text+0x936): more undefined references to `SDL_GetKeyName' follow
/usr/bin/ld: CMakeFiles/SHADERed.dir/UI/OptionsUI.cpp.o: in function `ed::OptionsUI::m_renderGeneral()':
OptionsUI.cpp:(.text+0xfef): undefined reference to `SDL_GL_SetSwapInterval'
/usr/bin/ld: OptionsUI.cpp:(.text+0x2059): undefined reference to `SDL_GetWindowDisplayIndex'
/usr/bin/ld: OptionsUI.cpp:(.text+0x207d): undefined reference to `SDL_GetDisplayDPI'
/usr/bin/ld: CMakeFiles/SHADERed.dir/UI/PreviewUI.cpp.o: in function `ed::PreviewUI::OnEvent(SDL_Event const&)':
PreviewUI.cpp:(.text+0xa3b): undefined reference to `SDL_CaptureMouse'
/usr/bin/ld: CMakeFiles/SHADERed.dir/UI/PreviewUI.cpp.o: in function `ed::PreviewUI::Update(float)':
PreviewUI.cpp:(.text+0x24b4): undefined reference to `SDL_CaptureMouse'
/usr/bin/ld: PreviewUI.cpp:(.text+0x24cd): undefined reference to `SDL_GetMouseState'
/usr/bin/ld: PreviewUI.cpp:(.text+0x27be): undefined reference to `SDL_GetMouseState'
/usr/bin/ld: PreviewUI.cpp:(.text+0x2946): undefined reference to `SDL_WarpMouseInWindow'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/ImGuiColorTextEdit/TextEditor.cpp.o: in function `TextEditor::HandleKeyboardInputs()':
TextEditor.cpp:(.text+0x3296): undefined reference to `SDL_GetScancodeFromKey'
/usr/bin/ld: TextEditor.cpp:(.text+0x32c4): undefined reference to `SDL_GetScancodeFromKey'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_GetClipboardText(void*)':
imgui_impl_sdl.cpp:(.text+0x23): undefined reference to `SDL_free'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x28): undefined reference to `SDL_GetClipboardText'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_SetClipboardText(void*, char const*)':
imgui_impl_sdl.cpp:(.text+0x54): undefined reference to `SDL_SetClipboardText'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_ProcessEvent(SDL_Event const*)':
imgui_impl_sdl.cpp:(.text+0x25e): undefined reference to `SDL_GetModState'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x275): undefined reference to `SDL_GetModState'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x28e): undefined reference to `SDL_GetModState'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x2a7): undefined reference to `SDL_GetModState'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x2ed): undefined reference to `SDL_GetWindowFromID'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_Init(SDL_Window*, void*)':
imgui_impl_sdl.cpp:(.text+0x4bf): undefined reference to `SDL_CreateSystemCursor'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x4d0): undefined reference to `SDL_CreateSystemCursor'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x4e1): undefined reference to `SDL_CreateSystemCursor'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x4f2): undefined reference to `SDL_CreateSystemCursor'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x503): undefined reference to `SDL_CreateSystemCursor'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o:imgui_impl_sdl.cpp:(.text+0x514): more undefined references to `SDL_CreateSystemCursor' follow
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_Shutdown()':
imgui_impl_sdl.cpp:(.text+0x62d): undefined reference to `SDL_free'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x665): undefined reference to `SDL_FreeCursor'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_UpdateMousePosAndButtons()':
imgui_impl_sdl.cpp:(.text+0x6f9): undefined reference to `SDL_WarpMouseGlobal'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x72c): undefined reference to `SDL_WarpMouseInWindow'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x76c): undefined reference to `SDL_GetMouseState'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x824): undefined reference to `SDL_GetGlobalMouseState'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x838): undefined reference to `SDL_GetKeyboardFocus'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x89b): undefined reference to `SDL_GetWindowFlags'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x8c3): undefined reference to `SDL_GetWindowPosition'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x91b): undefined reference to `SDL_CaptureMouse'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_UpdateMouseCursor()':
imgui_impl_sdl.cpp:(.text+0x977): undefined reference to `SDL_ShowCursor'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x9bf): undefined reference to `SDL_SetCursor'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x9c9): undefined reference to `SDL_ShowCursor'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_UpdateGamepads()':
imgui_impl_sdl.cpp:(.text+0xa16): undefined reference to `SDL_GameControllerOpen'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xa51): undefined reference to `SDL_GameControllerGetButton'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xa80): undefined reference to `SDL_GameControllerGetButton'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xaaf): undefined reference to `SDL_GameControllerGetButton'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xade): undefined reference to `SDL_GameControllerGetButton'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xb0d): undefined reference to `SDL_GameControllerGetButton'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o:imgui_impl_sdl.cpp:(.text+0xb3c): more undefined references to `SDL_GameControllerGetButton' follow
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_UpdateGamepads()':
imgui_impl_sdl.cpp:(.text+0xc85): undefined reference to `SDL_GameControllerGetAxis'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xd05): undefined reference to `SDL_GameControllerGetAxis'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xd85): undefined reference to `SDL_GameControllerGetAxis'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xe05): undefined reference to `SDL_GameControllerGetAxis'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_NewFrame(SDL_Window*)':
imgui_impl_sdl.cpp:(.text+0xf01): undefined reference to `SDL_GetWindowSize'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xf18): undefined reference to `SDL_GL_GetDrawableSize'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xfc1): undefined reference to `SDL_GetPerformanceFrequency'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0xfd9): undefined reference to `SDL_GetPerformanceCounter'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_CreateWindow(ImGuiViewport*)':
imgui_impl_sdl.cpp:(.text+0x113e): undefined reference to `SDL_GL_GetCurrentContext'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x1151): undefined reference to `SDL_GL_SetAttribute'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x116b): undefined reference to `SDL_GL_MakeCurrent'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x1196): undefined reference to `SDL_GetWindowFlags'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x122c): undefined reference to `SDL_CreateWindow'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x1250): undefined reference to `SDL_GL_CreateContext'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x1262): undefined reference to `SDL_GL_SetSwapInterval'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x1285): undefined reference to `SDL_GL_MakeCurrent'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_DestroyWindow(ImGuiViewport*)':
imgui_impl_sdl.cpp:(.text+0x12f8): undefined reference to `SDL_GL_DeleteContext'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x131f): undefined reference to `SDL_DestroyWindow'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_ShowWindow(ImGuiViewport*)':
imgui_impl_sdl.cpp:(.text+0x1388): undefined reference to `SDL_ShowWindow'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_GetWindowPos(ImGuiViewport*)':
imgui_impl_sdl.cpp:(.text+0x13da): undefined reference to `SDL_GetWindowPosition'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_SetWindowPos(ImGuiViewport*, ImVec2)':
imgui_impl_sdl.cpp:(.text+0x1453): undefined reference to `SDL_SetWindowPosition'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_GetWindowSize(ImGuiViewport*)':
imgui_impl_sdl.cpp:(.text+0x14a5): undefined reference to `SDL_GetWindowSize'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_SetWindowSize(ImGuiViewport*, ImVec2)':
imgui_impl_sdl.cpp:(.text+0x151e): undefined reference to `SDL_SetWindowSize'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_SetWindowTitle(ImGuiViewport*, char const*)':
imgui_impl_sdl.cpp:(.text+0x1553): undefined reference to `SDL_SetWindowTitle'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_SetWindowAlpha(ImGuiViewport*, float)':
imgui_impl_sdl.cpp:(.text+0x1589): undefined reference to `SDL_SetWindowOpacity'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_SetWindowFocus(ImGuiViewport*)':
imgui_impl_sdl.cpp:(.text+0x15b3): undefined reference to `SDL_RaiseWindow'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_GetWindowFocus(ImGuiViewport*)':
imgui_impl_sdl.cpp:(.text+0x15dd): undefined reference to `SDL_GetWindowFlags'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_GetWindowMinimized(ImGuiViewport*)':
imgui_impl_sdl.cpp:(.text+0x1610): undefined reference to `SDL_GetWindowFlags'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_RenderWindow(ImGuiViewport*, void*)':
imgui_impl_sdl.cpp:(.text+0x165d): undefined reference to `SDL_GL_MakeCurrent'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_SwapBuffers(ImGuiViewport*, void*)':
imgui_impl_sdl.cpp:(.text+0x16a3): undefined reference to `SDL_GL_MakeCurrent'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x16b2): undefined reference to `SDL_GL_SwapWindow'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_CreateVkSurface(ImGuiViewport*, unsigned long long, void const*, unsigned long long*)':
imgui_impl_sdl.cpp:(.text+0x16f3): undefined reference to `SDL_Vulkan_CreateSurface'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_UpdateMonitors()':
imgui_impl_sdl.cpp:(.text+0x173e): undefined reference to `SDL_GetNumVideoDisplays'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x1771): undefined reference to `SDL_GetDisplayBounds'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x17e4): undefined reference to `SDL_GetDisplayUsableBounds'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x1849): undefined reference to `SDL_GetDisplayDPI'
/usr/bin/ld: CMakeFiles/SHADERed.dir/libs/imgui/examples/imgui_impl_sdl.cpp.o: in function `ImGui_ImplSDL2_InitPlatformInterface(SDL_Window*, void*)':
imgui_impl_sdl.cpp:(.text+0x19c1): undefined reference to `SDL_SetHint'
/usr/bin/ld: imgui_impl_sdl.cpp:(.text+0x1a0c): undefined reference to `SDL_GetWindowID'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/SHADERed.dir/build.make:905: bin/SHADERed] Error 1
make[1]: *** [CMakeFiles/Makefile2:82: CMakeFiles/SHADERed.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I actually have previously made a small program using SDL2 but it was written in C and to find SDL2 I used pkg_config module of Cmake to do this (and it worked).
Also i need to notice that Cmake has a specialised module to handle SDL (although it is probably only SDL1).
Here is what i did in my small test program(i am not really adept at writing cmake yet)
cmake_minimum_required(VERSION 3.5)
project(sdl_test LANGUAGES C)

set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS OFF)

add_executable(sdl_test
  main.c
)

include(FindPkgConfig)

pkg_search_module(SDL2 REQUIRED sdl2)
target_link_libraries(sdl_test SDL2 m)

"m" is for math

Thanks for the report! Merged your pull request! Works now, right?

yep it does

Although it seems like a FPS limiter would be nice.
When SHADERed is open i can hear chips in my PC singing (not fans)

@Houkime there are several FPS limiters in the options:

60FPS limit when not focused
custom FPS limit when focused (can be applied specifically to Preview window only or to whole app)
VSync
And there is another one that turns on automatically when SHADERed is minimized and limits the FPS to 30.

Right, see that now))
Thanks.
It doesn't seem like custom FPS limiting with properties is very solid though.
I can limit things to 60 but still have bursts of around 1000-1500 and 200-400.
Considering that FPS monitor only runs at certain intervals this might as well indicate that bursts are more frequent and i am just seeing them when they come in sync with FPS monitor.
Vsync is more solid in this regard.

Yeah, I am aware of that. Though, I don't think I can fix that. AFAIK the sleep functions aren't that precise and doing it with some kind of loop would defeat the purpose of that feature - to lower down the CPU usage.
Although, I have never noticed big jumps to 1000-1500FPS.

Amazing that it is now available for linux! I unfortunately have some issues under Ubuntu 19.04. The binary requires libsfml-2.5 while only 2.4 is available. Maybe you could also provide a binary with statically linked libs?

../SHADERed-bin/SHADERed: error while loading shared libraries: libsfml-audio.so.2.5: cannot open shared object file: No such file or directory

Moreover, make results in an error with glm.

make
[  6%] Built target HLSL
[  8%] Built target OSDependent
[ 10%] Built target OGLCompiler
[ 36%] Built target glslang
[ 44%] Built target SPIRV
[ 44%] Building CXX object CMakeFiles/SHADERed.dir/Objects/FunctionVariableManager.cpp.o
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp: In static member function ‘static void ed::FunctionVariableManager::Update(ed::ShaderVariable*)’:
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:140:20: error: ‘identity’ is not a member of ‘glm’
matrix = glm::identityglm::mat4();
^~~~~~~~
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:140:20: note: suggested alternative: ‘int_t’
matrix = glm::identityglm::mat4();
^~~~~~~~
int_t
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:140:38: error: expected primary-expression before ‘>’ token
matrix = glm::identityglm::mat4();
^
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:140:40: error: expected primary-expression before ‘)’ token
matrix = glm::identityglm::mat4();
^
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:195:20: error: ‘identity’ is not a member of ‘glm’
matrix = glm::identityglm::mat4();
^~~~~~~~
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:195:20: note: suggested alternative: ‘int_t’
matrix = glm::identityglm::mat4();
^~~~~~~~
int_t
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:195:38: error: expected primary-expression before ‘>’ token
matrix = glm::identityglm::mat4();
^
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:195:40: error: expected primary-expression before ‘)’ token
matrix = glm::identityglm::mat4();
^
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:250:20: error: ‘identity’ is not a member of ‘glm’
matrix = glm::identityglm::mat4();
^~~~~~~~
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:250:20: note: suggested alternative: ‘int_t’
matrix = glm::identityglm::mat4();
^~~~~~~~
int_t
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:250:38: error: expected primary-expression before ‘>’ token
matrix = glm::identityglm::mat4();
^
/home/eigel/apps/SHADERed/Objects/FunctionVariableManager.cpp:250:40: error: expected primary-expression before ‘)’ token
matrix = glm::identityglm::mat4();
^
CMakeFiles/SHADERed.dir/build.make:278: recipe for target 'CMakeFiles/SHADERed.dir/Objects/FunctionVariableManager.cpp.o' failed
make[2]: *** [CMakeFiles/SHADERed.dir/Objects/FunctionVariableManager.cpp.o] Error 1
CMakeFiles/Makefile2:71: recipe for target 'CMakeFiles/SHADERed.dir/all' failed
make[1]: *** [CMakeFiles/SHADERed.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Thanks for the suggestion, I will try to compile next version with statically linked libraries (although I tried before and had some problems with SFML - I will look more into it next time).
But honestly it is much easier to compile on Linux. It just takes few commands. As for your problems with make, they probably should be fixed now. Try pulling latest commit and compiling again.

Thanks for the update! You are absolutely right that building on linux is rather simple. There unfortunately still is an issue.

[ 90%] Building CXX object CMakeFiles/SHADERed.dir/libs/pugixml/src/pugixml.cpp.o
[ 91%] Building C object CMakeFiles/SHADERed.dir/libs/nativefiledialog/nfd_gtk.c.o
[ 92%] Linking CXX executable bin/SHADERed
/usr/bin/ld: CMakeFiles/SHADERed.dir/Objects/ObjectManager.cpp.o: undefined reference to symbol '_ZNK2sf4Time9asSecondsEv'
//usr/lib/x86_64-linux-gnu/libsfml-system.so.2.4: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/SHADERed.dir/build.make:1507: recipe for target 'bin/SHADERed' failed
make[2]: *** [bin/SHADERed] Error 1
CMakeFiles/Makefile2:71: recipe for target 'CMakeFiles/SHADERed.dir/all' failed
make[1]: *** [CMakeFiles/SHADERed.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Hmmm seems like I forgot to link sfml-system library
Could you try changing this line:
find_package(SFML COMPONENTS audio)

into:
find_package(SFML COMPONENTS system audio)

I'll push a commit if that actually fixes the problem.

Same linker error I am afraid.

Would placing a FindSFML.cmake file in the SHADERed/cmake directory work? Also sorry, I am kind of new to cmake

Wait, before you place the FindSFML.cmake file try adding sfml-system on this line:
# link libraries
target_link_libraries(SHADERed ${OPENGL_LIBRARIES} ${GLM_LIBRARY_DIRS} ${SDL2_MIXER_LIBRARY} ${ASSIMP_LIBRARIES} glslang SPIRV sfml-audio)

cmake now complains about the sfml config. libsfml-dev is installed with apt and does not seem to provide cmake config files.

CMake Warning at CMakeLists.txt:125 (find_package):
By not providing "FindSFML.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SFML", but
CMake did not find one.
Could not find a package configuration file provided by "SFML" with any of
the following names:
SFMLConfig.cmake
sfml-config.cmake
Add the installation prefix of "SFML" to CMAKE_PREFIX_PATH or set
"SFML_DIR" to a directory containing one of the above files.  If "SFML"
provides a separate development package or SDK, be sure it has been
installed.

Oh right, I think the config file was introduced in the 2.5 version. I've just pushed a commit that includes FindSFML.cmake . Pull those changes and then try to compile...

This works! All fine now. Cheers!

Glad that it works now! Hopefully SHADERed also works properly. If a bug occurs please feel free to report it!

I've changed it up a bit (since now it doesn't compile on my machine...)
If someone doesn't have SFML 2.5 installed, they should define the USE_FINDSFML variable:
cmake -DUSE_FINDSFML=ON .

Otherwise, just run
cmake .

Should this issue be closed now?

Hmm... I don't know, I've opened this issue mostly because I wasn't getting the right output from glslang when transcompiling a HLSL shader. But I haven't fixed that yet. Though, I will try my best to fix it in one of the upcoming updates.
As for the MatrixReflect and MatrixShadow, I guess I will remove them now.
But yeah, not sure.. I might leave this open until I fix HLSL geometry shaders?

I've just seen that https://github.com/KhronosGroup/glslang/issues/1660 has been fixed. I guess I can finally close this issue as HLSL geometry shaders work again in SHADERed!


Docs: Stream-pull.md sentence explanation

I'm in the middle of reading and fixing some language oddities in the docs.
However I can't make heads or tails of this sentence in the first paragraph
https://github.com/druid-io/druid/blame/master/docs/content/ingestion/stream-pull.md#L15
Please note that Realtime nodes have very properties than the indexing service.
Can someone explain what this is supposed to be saying please.

I think the author wanted to say different properties than the indexing services.
Historically Druid has standalone real-time nodes to pull data from Kafka, this type of node is not used anymore.

that makes sense.
This doc continues on to talk about stream-pull as standalone real-time nodes. Is this page then totally obsolete and should be removed or at least marked as obsolete, or is it still relevant, just the implementation has changed?

@dyanarose totally agree with you druid docs need a massive revamp/restructure especially the real-time ingestion section.

hah, brilliant. Until someone else comes along, I'll see about starting that particularly hairy conversation.
Ta @b-slim, I'll close this out now


[DevTools / JS / Get Started / (5) Console Evaluation Is Correct]

Typed in
parseInt(append1) + parseInt(append2)
Got the error
VM142:1 Uncaught ReferenceError: append1 is not defined
    at eval (eval at updateLabel (get-started.js:32), <anonymous>:1:10)
    at updateLabel (get-started.js:32)
    at HTMLButtonElement.onClick (get-started.js:19)
(anonymous) @ VM142:1
updateLabel @ get-started.js:32
onClick @ get-started.js:19

Broswer: Google Chrome
Version: 59.0.3071.115 (Official Build) (64-bit)
Screenshot:

Hey @Chris-Happy7 sorry for delay, but the cause is that you were supposed to type addend1 not append1

Note to self: talk to DevSite team about tracking expandable events

Hey @kaycebasques, sorry for never responding. Thanks for pointing out my error


Add GHA for AZD and Python backend, add basic tests for API

This PR adds some automated validation to the project

Checks the AZD/bicep compilation
Checks the AZD template for best practice using Defender to DevOps
Runs a small test in Python

I noticed a couple of things in the Python code that need fixing, will submit in a separate PR

Tests are failing , it was using the VS Code Authentication locally, let me work out an authentication model that the tests can mock out.


0.1.6 release

Another update bringing large improvements and features... This time, interpolation, improvements to cursor and other components, as well as a new binding to get Base64 from a simple read file (rather than requiring ImageIO or similar to get a properly mimed type)
@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/109779
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.6 -m "<description of version>" 3355c52c030cec0cc427d9912cf2b7aa000cb6b9
git push origin v0.1.6


Propagate exception message to propose_downstream logs

There is another case of failed propose_downstream with no error message in the logs:
https://dashboard.packit.dev/results/propose-downstream/2152
This ensures that any exception raised during sync_release() is logged.
Fixes #1953.
I'm not sure if I should also revert https://github.com/packit/packit/commit/1ed4f97292ccf316db037b8cc795c8e8efb3a5fe (to prevent the error from being logged twice).

this should fix #1953 , right?

Yes, it seems so, I'll link it.

as for logging twice, is that the only place where this could happen?

I'm not sure. I'm only aware of that one instance because it was me who introduced it, but there could be more instances of exceptions being raised only after logging the error.

But since for Packit CLI users, it can be still useful, I would probably leave it as it is; having the message there twice is still a better UX than not having it at all. Thanks for taking care of this!


[core] Use pretty-quick instead of custom script

Trying out for https://github.com/mui/mui-toolpad/pull/823#issuecomment-1226006146

It seems to be working well, I think we can go ahead with this one.
Since you removed the prettier.js script, you can alos remove the listChangedFiles.js (unless it's used in other repositories, cc @mui/x).

Looks good to me!
Although I don't really use prettier scripts - I have Prettier extension for VSCode installed and it runs prettier on save automatically 👍

@cherniavskii Can you verify if you use listChangedFiles.js from the monorepo somewhere in the X codebase?

Yep, also using the vscode extension here. The main benefit of removing scripts/prettier.js and relying directly on the prettier CLI is that we would automatically adopt (in CI) any new file format prettier starts supporting as it updates.

@cherniavskii Can you verify if you use listChangedFiles.js from the monorepo somewhere in the X codebase?

We don't use it

Let me try this out on MUI X before we merge this

@Janpot let me know when it's ready to be merged.

It can be merged if https://github.com/mui/mui-x/pull/6815 can be merged


[L] Improving, debugging MVP2 lenses for MVP3

@joofio maybe I'm having a concept error, and kinda looks basic but... This is all the info that the IPS have. Where are supposed to be the codes related to each condition that the patient has?

this is not the ips. that is the patient resource.
check IPS here:
https://gravitate-health.lst.tfo.upm.es/ips/api/fhir/Patient/$summary?identifier=ips-2
or for pedro:
https://gravitate-health.lst.tfo.upm.es/ips/api/fhir/Patient/$summary?identifier=Pedro-1
The list of IPSs we have:
https://build.fhir.org/ig/hl7-eu/gravitate-health-ips/artifacts.html

as I said, a concept error by my side 👍🏻 thanks joao

Condition Lens finished - you can see the code here and it's connected meanwhile I'm thinking a way to make it more human readable. Eventually, we will create a "development library" to have all the logic that is repeated across lenses out of them. You can of course give feedback @joofio. Should I deploy it to dev?

yes it is better to deploy so i can test properly.

deployed :D

the allergy, intolerance, should be similar...

@joofio have you tried the lens? Is this what you expect?

A quick update: Pedro has no Allergy nor Intolerance.

try Helen https://build.fhir.org/ig/hl7-eu/gravitate-health-ips/Bundle-gravitate-helen.html
will test the other now

@joofio have you tried the lens? Is this what you expect?

link to do it? like name of the lens?

@joofio have you tried the lens? Is this what you expect?

link to do it? like name of the lens?

lens-selector-mvp2_conditions

Should we unify Allergy and Intolerance lenses? In FHIR it's the same typo of resource....

yes merge them

okay!

should this work ?
### condition lens
POST https://gravitate-health.lst.tfo.upm.es/focusing/focus/bundlepackageleaflet-es-94a96e39cfdcd8b378d12dd4063065f9?preprocessors=preprocessing-service-manual&lenses=lens-selector-mvp2_conditions&patientIdentifier=alicia-1

getting 500

let me check why is this happening

Fixed

can we send a preprocessed epi?instead or raw

doesnt seem to be doing that.uploaded a test so you can try.
https://github.com/hl7-eu/gravitate-health/blob/2c9cb410cbe69a2031aad191c76648d82be22e30/tests/lenses.http#L12

or did you mean a identifier for a preprocessed? and not the epi?

with the preprocessed in the folder, they do. that why i wanted to send a preprocessed epi

Ah! you mean in the body?

Ah! You mean in the body?

yes

Then the request you are trying is wrong. It's POST https://gravitate-health.lst.tfo.upm.es/focusing/focus/?preprocessors=preprocessing-service-manual&lenses=lens-selector-mvp2_conditions&patientIdentifier=alicia-1 and the example epi in the body like this
{
    "epi": <full ePI JSON>"
}

yeah it doesnt work like this. let me change the preprocessed one on the server to test

I'm 100% sure that this is due to the change we made to display the errors during the process on the headers in the response. With a quick change it should work because that way is meant to work.

ok please check that if you can. having he possibility of sending epi data will help testing

I will write here when I have it working 👍🏻

Also, I discovered that the "Accept": text/html was not working and it's also fixed

Also, I discovered that the "Accept": text/html was not working and it's also fixed

doesnt seem like it . with content-type: application/jsonreturns the html.

Nice!

let me do more testing with other codes to check the full compliance. but its looking good

meanwhile, by the end of this week, I expect to have all the other lenses working too

let me do more testing with other codes to check the full compliance. but its looking good
EDIT:
the system changes and the highlight still applies. the match should be code+system
if you think it can take some time, I would prefer to solve this after all the other lenses.
cc @aalonsolopez (made edit, not sure you get the notification)

I think I understand it

https://github.com/Gravitate-Health/lens-selector-mvp2/commit/e1a9e118356866318568b346bd295e7d7d02801c
Now you can try. I think it's what you want right?

i tested and didnt work...

okay I forgot to test a thing. let me fox it fast

Sorry, now it works (I've tested myself). Try changing the system. IDK why the automatic deploy is not working propperly.

now it works!

Go for the next lenses

First draft of AllergyIntollerance lens is in dev for you to try

error

{
  "message": "Bad request",
  "reason": "Missing parameters"
}

POST https://gravitate-health.lst.tfo.upm.es/focusing/focus/?preprocessors=preprocessing-service-manual&lenses=lens-selector-mvp2_allergyintollerance&patientIdentifier=helen-1
content-type: application/json
Accept: application/json
#Accept: text/html

< ./examples/lactose-preproc-karvea.json

Are you using in the body this structure?
example epi in the body like this
{
    "epi": <full ePI JSON>"
}

ofcourse...missing that

ofcourse...missing that

Everyone has failures, I just win in "finish things" that I'm fact are not finished xD

seems ok!

OKay, I assume that the system for ingredients and contraindications on Interaction Lens should not be checked because one is the System where the Ingredient is registered. The other is the System that says it has an interaction, and will never be equal right?

With this doubt, Interaction Lens is finished

ah if the code and system should match? yes they do. the system here is like the dictionary where the code is from. is always important.
May i suggest an additional thing to this lens? (interaction)
the extension may have:
1.
{
            "url": "http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/HtmlElementLink",
            "extension": [
              {
                "url": "elementClass",
                "valueString": "contra-indication-hypericum"
              },
              {
                "url": "concept",
                "valueCodeableReference": {
                  "concept": {
                    "coding": [
                      {
                        "code": "XK4IUX8MNB",
                        "system": "https://gsrs.ncats.nih.gov/ginas/app/beta",
                        "display": "Hypericum perforatum L."
                      }
                    ]
                  }
                }
              }
            ]
          },

          {
            "url": "http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/HtmlElementLink",
            "extension": [
              {
                "url": "elementClass",
                "valueString": "contra-indication-pregnancy"
              },
              {
                "url": "concept",
                "valueCodeableReference": {
                  "reference": {
                    "reference": "ClinicalUseDefinition/contraindication-pregnancy"
                  }
                }
              }
            ]
          },

could we lookup the clinicalusedefinition to check the code there?
the direct one (1) seems ok!

done for improving logic and making the mvp2 lenses work. bugfixing will be handled bug to bug


Refactor test dbFactory to avoid race conditions

Summary
Changes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4225

Relevant Lines:
7022

💛  - Coveralls


DuckDuckGo: npm.io filter filters out pnpm.io

pnpm.io isn't a npm package repository copycat but an alternative npm package manger

Hi,
Thanks for your contribution.
You are right, there is an issue with pnpm.io because of the contain filter a[href*="npm.io"]
I don't have an appropriate solution to that. Maybe have two filters.
I think I'm going to remove npm.io from the filter list until we find a solution.


Enable waf acquisition and provide generic scripts (2/3)

This acquires waf and bootstraps it (compile waf executable). It also adds cmake scripts to simplify the creation of new waf-based portfiles. This is inspired by jom support ;)
This is the second PR in a row of interdependent PRs pkgconfig-waf->aubio.

I think that having WAF support may be useful in the future, but until we have a library that is actively using it, I'd prefer to not merge this in.
I'll close this for now, but we can reopen the PR in the future once we have a suitable user. Thanks!

@ras0219-msft
please make WAF support
many ports from the UNIX world write to WAF

There are lots of waf use cases in LV2 (LADSPA v2) cross-platform audio plugin world:

https://gitlab.com/drobilla/serd
https://gitlab.com/drobilla/sord
https://gitlab.com/lv2/sratom
https://gitlab.com/lv2/lv2
https://gitlab.com/lv2/lilv
https://gitlab.com/drobilla/mda-lv2
https://github.com/brummer10/guitarix/tree/master/trunk
https://github.com/blablack/beatslash-lv2

I do automate builds that use waf for my Android libraries, but things are nasty and I am looking for any better approach to manage them.


[Bug]: Import application modal is not center aligned for non appsmith users

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Import application modal is not center aligned for non appsmith users

Steps To Reproduce

Go to release login with non appsmith users
Click on three dots next to organization and click on Import.

Public Sample App
No response
Version
Cloud

@shwetha-ramesh Is this a release blocker?

Had tagged it HIGH @AnaghHegde

Stats

Stat
Values

Reach
275

Effort (months)
0.25

This has been fixed.


Wrong type of the variable showed when hovering

Description:

Steps to reproduce:
Hover the cursor to the b in the line 20 c = b in the following ballerina code
function testReachableCodeWithBinaryCondition4() returns int {
    10|20 b = 10;

    if b == 10 {
        return 10;
    }

    20 c = b;

    if b  == 20 {
        return 20;
    }
}

Affected Versions:
Swan Lake beta 6
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/34449


Redirect export

I am importing from index to make sure it errors in the demo if it is not exported.


Ecovac component broken

Hass.io Supervisor version 140.
HassOS 1.13
HA 0.83.2
Ecovac component will not work. In logs, it shows
Setup of platform ecovacs is taking longer than 60 seconds. Startup will proceed without waiting any longer. 3:02 PM helpers/entity_platform.py (ERROR)
It appears to be related to this other thread here
And here is a thread with an apparent non-Hass.io solution

/move home-assistant/home-assistant


Document common processes

Link to JIRA ticket
No ticket.
Describe this PR
What is the problem we're trying to solve

Document process for debugging locally (commenting out of sccvdbcontext)
Document how we handle request validation
Add Chris and Jack as active contributors 😀

Checklist

[x] Added end-to-end (i.e. integration) tests where necessary e.g to test complete functionality of a newly added feature
[x] Added tests to cover all new production code
[x] Added comments to the README or updated relevant documentation (add link to documentation), where necessary.
[x] Checked all code for possible refactoring
[x] Code pipeline builds correctly

Not sure if this is related, but I still get System.Security.Cryptography.CryptographicException: Access is denied. when I run the tests after commenting code from the SccvDbContext class.

We should definitely look into this, solution needs to work for everyone so that everyone can run this locally and debug more efficiently.

Not sure if this is related, but I still get System.Security.Cryptography.CryptographicException: Access is denied. when I run the tests after commenting code from the SccvDbContext class.

We should definitely look into this, solution needs to work for everyone so that everyone can run this locally and debug more efficiently.

I think the tests work for windows but not for Macs but I was able to get the tests passing with a work around solution:
Commenting out the localTrustStore variable and its usages in the MongoDbTestContext.cs file. -> line 18 & lines 30 - 43
But agree that we should try and find a solution for this that works for all.


allow migration of all VMs with local storage on KVM

Description
This PR enables SVM migration on KVM local storage.

Fixes: #7651

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

manually, by migrating SSVMs and then testing console proxying them.

@blueorangutan package

@blueorangutan package

@DaanHoogland a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6282

@blueorangutan test

@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-6787)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 49494 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7656-t6787-kvm-centos7.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_migrate_VM_and_root_volume
Error
108.17
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
56.31
test_vm_life_cycle.py

LGTM

Did you test it @rohityadavcloud ?

@blueorangutan package

@vladimirpetrov a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6419

@blueorangutan test

@rohityadavcloud a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-7024)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 50217 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7656-t7024-kvm-centos7.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_migrate_VM_and_root_volume
Error
80.96
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
59.75
test_vm_life_cycle.py

Tested in my local KVM local-storage env; previously clicking this form was giving error; but now I was able to live migrate


[Question] UIImage to UIColor to Color

Is this possible? What I did results to black color.
let image = UIImage(named: "pattern")!
let color = UIColor(patternImage: image)
shape.fill = Color.rgb(r: Int(color.redValue), g: Int(color.greenValue), b: Int(color.blueValue))

extension UIColor {
    var redValue: CGFloat{ return CIColor(color: self).red }
    var greenValue: CGFloat{ return CIColor(color: self).green }
    var blueValue: CGFloat{ return CIColor(color: self).blue }
    var alphaValue: CGFloat{ return CIColor(color: self).alpha }
}

I'm guessing it's not really possible, is it? Even the color.redValue yields 0.0.
What I'm trying is to fill up the shape with a patterned png image.

Hi Glenn,
That's really weird part of UIKit API when you can use single class for both color and pattern image. In Macaw you can use Pattern class for this:
shape.fill = Pattern(content: Image(src: "pattern"), ...)

Hi Yuri, I appreciate your fast reply. However, I couldn't find a class named Pattern in Macaw. 🧐

Here it is: https://github.com/exyte/Macaw/blob/master/Source/model/draw/Pattern.swift
Make sure you're using the latest release, it was added not so long ago.

Yuri, it crashes however I try.
            func fillWithPattern(contents: Group) {
                for content in contents.contents {
                    if let shape = content as? Shape {
                        if !shape.tag.contains("background") {
                            let image = UIImage.init(named: "pattern")!
                            let mImage = Image(image: image)
                            let pattern = Pattern(content: mImage, bounds: shape.bounds!)
                            shape.fill = pattern
                        }
                    } else if let group = content as? Group {
                        fillWhite(contents: group)
                    }
                }
            }

The crash happens in renderToImage in NodeRenderer.swift line 228. img is nil. Thanks!

        let image = UIImage(named: "bla")!
        let mImage = Image(image: image)
        let pattern = Pattern(content: mImage, bounds: Rect(x: 0, y: 0, w: 50, h: 50), userSpace: true)
        let c = Shape(form: Circle(r: 100), fill: pattern, place: .move(dx: 100, dy: 100))

Can't reproduce the crash, but renderToImage doesn't take part in Pattern rendering, maybe there's something else going on in your scene?
Pattern's bounds is a size of one tile, if you use shape's bound for it - there only be one tile
You should pass userSpace parameter to Pattern's constructor, if you are using absolute coordinates for pattern construction


HTTPRequest "mimetype" parameter is deprecated

In static_views.py. As of Django 1.8, the correct parameter name is content_type (https://docs.djangoproject.com/en/1.8/ref/request-response/).

Sounds like a bug to me. Though we'll want to implement the fix in a way that bakery continues to work with older versions of Django.


Incorrect "name" parameter in PublishedPipeline.get example

** Section **
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-create-your-first-pipeline#create-a-versioned-pipeline-endpoint
** Issue **
For creating a Pipeline Endpoint, the example code snippet uses the method PublishedPipeline.get to retrieve the PublishedPipeline. In the example, it passes the parameter "name", but at least in SDK version 1.7.0, "name" is not an allowed parameter - instead it expects "id".

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

ID: c99cbeb4-d519-dfcf-c3fc-d3828d4c6f4d
Version Independent ID: a4658aec-a0e6-174c-5264-2a11eb41b6fb
Content: Create, run, & track ML pipelines - Azure Machine Learning
Content Source: articles/machine-learning/how-to-create-your-first-pipeline.md
Service: machine-learning
Sub-service: core
GitHub Login: @sanpil
Microsoft Alias: sanpil

@tarockey Thanks for the feedback. We are investigating the issue and will update you shortly.

I have raised a #https://github.com/MicrosoftDocs/azure-docs-pr/pull/120659 for the same. @sanpil Can you please check on this.


Update Python.gitignore

I made it so we are just going to track the src_w_team/*.py files, and .gitignore.
Reasons for making this change:

We are going to start with just a super-simple file structure with everything on 1 level.

I approve.

Accidentally closed with comment. It should have been approved.

My bad.
Wrong Project.


Hooks

In hyperx, someone made a module where you can do hooks through attributes:

This is cool, I would like to do something similar.
A programmatic way to set/override hooks would also be nice:
snabby.hook(vnode, 'destroy', fn)
// Or:
snabby.hook(vnode, { ...handles })

You can now use s-hook.


Timeout when query large amounts of data

Question
Hi,
I'm currently building a report for our AD which has about 85k users. When i run a query for all users, for example when try to output all users into a table, the browser crashes. I'm using Chrome Version 114.0.5735.199 (Official Build) (64-bit) on Windows Server 2022. Latest version of Pode.web
`
New-PodeWebContainer -Content @(
New-PodeWebTable -Name 'All Users' -DataColumn "Name" -Compact -SimpleFilter -ScriptBlock {
foreach ($user in (Get-ADUser -Filter * -Properties * | select-object Name, SamAccountName, UserPrincipalName, Title, Department, Mail, DistinguishedName, ObjectGUID)) {
[ordered]@{
Name = $user.Name
SamAccountName = "$($user.SamAccountName)"
UserPrincipalName = "$($user.UserPrincipalName)"
Department = "$($user.Department)"
Mail = "$($user.Mail)"
Title = "$($user.Title)"
DistinguishedName = "$($user.DistinguishedName)"
ObjectGUID = "$($user.ObjectGUID )"
                        }
                    }

        }

)
)
`
I've also set the following request limits on my server.psd1 file;
`
@{
Web = @{
Static = @{
Cache = @{
Enable = $true
}
}
}
Server = @{
Request = @{
Timeout = 3600
BodySize = 1000MB
}
}
}
`
If i run the above query on a selected OU, it works ok, its just when it runs the entire domain.
Any advice or support would be appreciated ?
Thanks

just to give an update on this. I've managed to get some data to load now by adding -Paginate option to the table. However if i then click to view the 2nd page of the navigation at the bottom of the data it tries to reload the data and times out again.
Is there a way to cache this command within Powershell Get-ADUser -Filter * or pre populate to other paginate pages so they dont try to reload when going through the table pages ?

Hi @fitzwar,
There isn't any inbuilt caching in Pode yet, I do have plans to add it though. You can mimic a cache however using Pode's State feature. When you've retrieved the users once, store them in Pode's state, and then check/retrieve the users from state in future queries - you could add a custom TTL property as well, to refresh the users at times (possibly via a Pode Schedule to prevent timeouts).
Hope that helps :)


bpf: fixes for IPv6 revNAT

Fix some minor fallout from https://github.com/cilium/cilium/pull/18414.

K8sDatapathConfig Host firewall With VXLAN flaked with https://github.com/cilium/cilium/issues/15455


Single crypto provider module instead of 3.

Merged powerauth-java-prov, powerauth-java-prov-spongycastle, powerauth-java-prov-bouncycastle modules into single one. The decision what security provider to use is made at runtime based on whichever one is registered.

Does that mean that we package both (and all possible) provider JARs into the resulting WAR / JAR despite the fact only one of them is used?

Nope. In the powerauth-java-prov module, the *castle dependencies are scoped as "provided". That means the dependency is used to compile the module, but it's not added to the classpath. Therefore the powerauth-java-server, powerauth-android, powerauth-java-cmd (the runnable artifacts) need to explicitly declare either bouncycastle or spongycastle dependency. There would be no castle at runtime otherwise.

You can build the WAR/JAR and have a look inside :)

Thank you! :)