Error while using prisma migrate init: The above error occurred in the  component:

I'm starting to play around with prisma. And wanted to create my db tables using prisma migrate. Following the guide from https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch-prisma-migrate-typescript-postgres
After defining my prisma.schema file, I'm trying to generate the migrations using npx prisma migrate save --name init --experimental
But it's ending up with a blunt error in my terminal as below:
Environment variables loaded from prisma/.env
The above error occurred in the <TabIndexProvider> component:
    in TabIndexProvider
    in App

React will try to recreate this component tree from scratch using the error boundary you provided, App.
Warning: App: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.

Machine/OS: Mac OS Mojave
Default Terminal Application
How to reproduce
Steps to reproduce the behavior:

Follow instructions from https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch-prisma-migrate-typescript-postgres
Execute npx prisma migrate save --name init --experimental
See error

Expected behavior
Expected a successful command execution
Environment & setup

OS: Mac OS Mojave
Database: Mysql/SQLITE
Prisma version: 2.2.2
Node.js version: v12.3.1

I am seeing the same error. I have followed the same instructions, the only difference that I am on postgres.
I used the example model definition in the startup guide.
I also see the same result with a stripped down schema.prisma file:
datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

generator client {
  provider = "prisma-client-js"
}

model Post {
  id        Int      @default(autoincrement()) @id
  title     String
}

Interestingly, the _Migrations table is created in the database, so it appears it is getting at least as far as successfully connecting to, and performing operations on the database.
Generating the client before running migrations does not appear to make a difference.
I don't see the migrations directory being created that I would expect when the migrate command succeeded.
This issue is a blocker for some work I'm doing, so I will continue to dig down and try to find a root cause and try to provide any more observations which might be relevant.

I have tried down-grading versions. I see the same error on 2.2.1. On 2.2.0 I get:
Environment variables loaded from prisma/.env
(node:19627) ExperimentalWarning: The fs.promises API is experimental
 ERROR  Oops, an unexpected error occured!
Error in migration engine.
Reason: [libs/sql-schema-describer/src/postgres.rs:484:20] querying for indices: Error { kind: QueryError(Error { kind: Closed, cause: None }), original_code: None, original_message: Some("connection closed") }

Please create an issue in the migrate repo with
your `schema.prisma` and the prisma command you tried to use 🙏:
https://github.com/prisma/migrate/issues/new

Please help us improve Prisma 2 by submitting an error report.
Error reports never contain personal or other sensitive information.
Learn more: https://pris.ly/d/telemetry

┌─ Submit error report ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                                                │
│   Yes            Send error report once                                                                                │
│ ❯ No             Don't send error report                                                                                │
│                                                                                │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Good find!
original_message: Some("connection closed")
This one sounds like a db specific error, I'm not sure. I'm guessing it should work fine for sqlite. Let me know if it works for a different DB. I should be able to proceed with sqlite then.
Thanks @timleslie

@joelewis Haven't tried it with sqlite, I'm kind of tied to postgres for my current use case.
Running with DEBUG="*" gives a bit more info that might be useful.
(base) ➜  prisma-test DEBUG="*" npx prisma migrate save --name init --experimental
Environment variables loaded from prisma/.env
(node:20299) ExperimentalWarning: The fs.promises API is experimental
  MigrateEngine:rpc starting migration engine with binary: /Users/timleslie/src/prisma-test/node_modules/@prisma/cli/migration-engine-darwin +0ms
  MigrateEngine:rpc SENDING RPC CALL {"id":1,"jsonrpc":"2.0","method":"listMigrations","params":{"projectInfo":"","sourceConfig":"datasource db {\n  provider = \"postgresql\"\n  url      = env(\"DATABASE_URL\")\n}\n\ngenerator client {\n  provider = \"prisma-client-js\"\n}\n\nmodel Post {\n  id        Int      @default(autoincrement()) @id\n  title     String\n}\n"}} +5ms
  MigrateEngine:stderr Jul 17 14:05:21.331  INFO migration_engine: Starting migration engine RPC server git_hash="a9e8c3d97ef2a0cf59256e6b26097f2a80f0a6a4" +0ms
  MigrateEngine:stderr Jul 17 14:05:21.339  INFO quaint::single: Starting a postgresql pool with 1 connections. +7ms
  MigrateEngine:stderr Jul 17 14:05:21.350  INFO ListMigrations: migration_core::commands::list_migrations: Returning 0 migrations (0 pending). +11ms
  MigrateEngine:rpc SENDING RPC CALL {"id":2,"jsonrpc":"2.0","method":"inferMigrationSteps","params":{"projectInfo":"","sourceConfig":"datasource db {\n  provider = \"postgresql\"\n  url      = env(\"DATABASE_URL\")\n}\n\ngenerator client {\n  provider = \"prisma-client-js\"\n}\n\nmodel Post {\n  id        Int      @default(autoincrement()) @id\n  title     String\n}\n","datamodel":"datasource db {\n  provider = \"postgresql\"\n  url      = env(\"DATABASE_URL\")\n}\n\ngenerator client {\n  provider = \"prisma-client-js\"\n}\n\nmodel Post {\n  id        Int      @default(autoincrement()) @id\n  title     String\n}\n","migrationId":"DUMMY_NAME","assumeToBeApplied":[]}} +31ms
  MigrateEngine:stderr Jul 17 14:05:21.535 ERROR quaint::connector::postgres: Error in PostgreSQL connection: Error { kind: Closed, cause: None } +185ms
  MigrateEngine:stderr {"is_panic":true,"message":"[libs/sql-schema-describer/src/postgres.rs:484:20] querying for indices: Error { kind: QueryError(Error { kind: Closed, cause: None }), original_code: None, original_message: Some(\"connection closed\") }","backtrace":"   0: backtrace::backtrace::trace\n   1: backtrace::capture::Backtrace::new\n   2: user_facing_errors::Error::new_in_panic_hook\n   3: user_facing_errors::panic_hook::set_panic_hook::{{closure}}\n   4: std::panicking::rust_panic_with_hook\n   5: _rust_begin_unwind\n   6: core::panicking::panic_fmt\n   7: core::result::unwrap_failed\n   8: <sql_schema_describer::postgres::SqlSchemaDescriber as sql_schema_describer::SqlSchemaDescriberBackend>::describe::__describe::{{closure}}\n   9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  10: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  11: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  12: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  13: <migration_core::commands::infer_migration_steps::InferMigrationStepsCommand as migration_core::commands::command::MigrationCommand>::execute::__execute::{{closure}}\n  14: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  15: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  16: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  17: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  18: <futures_util::compat::compat03as01::Compat<Fut> as futures::future::Future>::poll\n  19: <futures::future::lazy::Lazy<F,R> as futures::future::Future>::poll\n  20: futures::future::chain::Chain<A,B,C>::poll\n  21: <futures::future::then::Then<A,B,F> as futures::future::Future>::poll\n  22: <futures::future::map::Map<A,F> as futures::future::Future>::poll\n  23: <futures::future::either::Either<A,B> as futures::future::Future>::poll\n  24: futures::task_impl::std::set\n  25: migration_engine::main::{{closure}}\n  26: tokio::runtime::enter::Enter::block_on\n  27: tokio::runtime::context::enter\n  28: tokio::runtime::handle::Handle::enter\n  29: migration_engine::main\n  30: std::rt::lang_start::{{closure}}\n  31: std::rt::lang_start_internal\n  32: _main\n"} +6ms
The above error occurred in the <TabIndexProvider> component:
    in TabIndexProvider
    in App

React will try to recreate this component tree from scratch using the error boundary you provided, App.
Warning: App: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.
  prisma TypeError: Cannot read property 'Symbol(keypress-decoder)' of undefined
  prisma     at Object.emitKeypressEvents (readline.js:1043:13)
  prisma     at Object.useStdin (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2913327)
  prisma     at TabIndexProvider (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2313126)
  prisma     at renderWithHooks (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2706893)
  prisma     at mountIndeterminateComponent (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2736840)
  prisma     at beginWork$1 (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2752820)
  prisma     at Object._s (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2767616)
  prisma     at invokeGuardedCallback (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2770115)
  prisma     at Ou (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2812237)
  prisma     at performUnitOfWork (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2801113) +0ms

Adding more debug env vars:
(base) ➜  prisma-test export RUST_LOG_FORMAT=devel
export RUST_BACKTRACE=1
export RUST_LOG=query_engine=debug,quaint=debug,query_core=trace,query_connector=debug,sql_query_connector=debug,prisma_models=debug,engineer=info,sql_introspection_connector=debug
export LOG_QUERIES=y

# Controls Scala test kit verbosity. Levels are trace, debug, info, error, warning
export LOG_LEVEL=debug

(base) ➜  prisma-test DEBUG="*" npx prisma migrate save --name init --experimental
Environment variables loaded from prisma/.env
(node:20613) ExperimentalWarning: The fs.promises API is experimental
  MigrateEngine:rpc starting migration engine with binary: /Users/timleslie/src/prisma-test/node_modules/@prisma/cli/migration-engine-darwin +0ms
  MigrateEngine:rpc SENDING RPC CALL {"id":1,"jsonrpc":"2.0","method":"listMigrations","params":{"projectInfo":"","sourceConfig":"datasource db {\n  provider = \"postgresql\"\n  url      = env(\"DATABASE_URL\")\n}\n\ngenerator client {\n  provider = \"prisma-client-js\"\n}\n\nmodel Post {\n  id        Int      @default(autoincrement()) @id\n  title     String\n}\n"}} +6ms
  MigrateEngine:stderr Jul 17 14:17:01.447  INFO migration_engine: Starting migration engine RPC server git_hash="a9e8c3d97ef2a0cf59256e6b26097f2a80f0a6a4" +0ms
  MigrateEngine:stderr Jul 17 14:17:01.469  INFO quaint::single: Starting a postgresql pool with 1 connections. +20ms
  MigrateEngine:stderr Jul 17 14:17:01.470  INFO quaint::connector::metrics: query="SELECT 1" item_type="query" params=[] duration_ms=0 +1ms
  MigrateEngine:stderr Jul 17 14:17:01.470  INFO quaint::connector::metrics: query="CREATE SCHEMA IF NOT EXISTS \"public\";" item_type="query" params=[] duration_ms=0 +0ms
  MigrateEngine:stderr Jul 17 14:17:01.472  INFO quaint::connector::metrics: query="CREATE TABLE \"public\".\"_Migration\" (\"revision\" SERIAL PRIMARY KEY NOT NULL, \"name\" TEXT NOT NULL, \"datamodel\" TEXT NOT NULL, \"status\" TEXT NOT NULL, \"applied\" INTEGER NOT NULL, \"rolled_back\" INTEGER NOT NULL, \"datamodel_steps\" TEXT NOT NULL, \"database_migration\" TEXT NOT NULL, \"errors\" TEXT NOT NULL, \"started_at\" timestamp(3) NOT NULL, \"finished_at\" timestamp(3));" item_type="query" params=[] duration_ms=2 +3ms
  MigrateEngine:stderr Jul 17 14:17:01.483  INFO ListMigrations: quaint::connector::metrics: query="SELECT \"public\".\"_Migration\".* FROM \"public\".\"_Migration\" ORDER BY \"revision\" ASC" item_type="query" params=[] duration_ms=10 +11ms
  MigrateEngine:stderr Jul 17 14:17:01.484  INFO ListMigrations: migration_core::commands::list_migrations: Returning 0 migrations (0 pending). +0ms
  MigrateEngine:rpc SENDING RPC CALL {"id":2,"jsonrpc":"2.0","method":"inferMigrationSteps","params":{"projectInfo":"","sourceConfig":"datasource db {\n  provider = \"postgresql\"\n  url      = env(\"DATABASE_URL\")\n}\n\ngenerator client {\n  provider = \"prisma-client-js\"\n}\n\nmodel Post {\n  id        Int      @default(autoincrement()) @id\n  title     String\n}\n","datamodel":"datasource db {\n  provider = \"postgresql\"\n  url      = env(\"DATABASE_URL\")\n}\n\ngenerator client {\n  provider = \"prisma-client-js\"\n}\n\nmodel Post {\n  id        Int      @default(autoincrement()) @id\n  title     String\n}\n","migrationId":"DUMMY_NAME","assumeToBeApplied":[]}} +48ms
  MigrateEngine:stderr Jul 17 14:17:01.488  INFO InferMigrationSteps{migration_id="DUMMY_NAME"}: quaint::connector::metrics: query="SELECT \"public\".\"_Migration\".* FROM \"public\".\"_Migration\" WHERE \"status\" = $1 ORDER BY \"revision\" DESC LIMIT $2" item_type="query" params=["MigrationSuccess",2] duration_ms=2 +4ms
  MigrateEngine:stderr Jul 17 14:17:01.498  INFO InferMigrationSteps{migration_id="DUMMY_NAME"}: quaint::connector::metrics: query="SELECT start_value, sequence_name\n                  FROM information_schema.sequences\n                  WHERE sequence_schema = $1" item_type="query" params=["public"] duration_ms=9 +11ms
  MigrateEngine:stderr Jul 17 14:17:01.504  INFO InferMigrationSteps{migration_id="DUMMY_NAME"}: quaint::connector::metrics: query="SELECT t.typname as name, e.enumlabel as value\n            FROM pg_type t\n            JOIN pg_enum e ON t.oid = e.enumtypid\n            JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace\n            WHERE n.nspname = $1\n            ORDER BY name, value" item_type="query" params=["public"] duration_ms=5 +5ms
  MigrateEngine:stderr Jul 17 14:17:01.522  INFO InferMigrationSteps{migration_id="DUMMY_NAME"}: quaint::connector::metrics: query="\n            SELECT\n                table_name,\n                column_name,\n                data_type,\n                udt_name as full_data_type,\n                character_maximum_length,\n                column_default,\n                is_nullable,\n                is_identity,\n                data_type\n            FROM information_schema.columns\n            WHERE table_schema = $1\n            ORDER BY column_name\n            COLLATE \"default\"\n        " item_type="query" params=["public"] duration_ms=18 +19ms
  MigrateEngine:stderr Jul 17 14:17:01.529  INFO InferMigrationSteps{migration_id="DUMMY_NAME"}: quaint::connector::metrics: query="\n            SELECT\n                con.oid as \"con_id\",\n                att2.attname as \"child_column\",\n                cl.relname as \"parent_table\",\n                att.attname as \"parent_column\",\n                con.confdeltype,\n                conname as constraint_name,\n                child,\n                parent,\n                table_name\n            FROM\n            (SELECT\n                    unnest(con1.conkey) as \"parent\",\n                    unnest(con1.confkey) as \"child\",\n                    cl.relname AS table_name,\n                    generate_subscripts(con1.conkey, 1) AS colidx,\n                    con1.oid,\n                    con1.confrelid,\n                    con1.conrelid,\n                    con1.conname,\n                    con1.confdeltype\n                FROM\n                    pg_class cl\n                    join pg_namespace ns on cl.relnamespace = ns.oid\n                    join pg_constraint con1 on con1.conrelid = cl.oid\n                WHERE\n                    ns.nspname = $1\n                    and con1.contype = \'f\'\n                    ORDER BY colidx\n            ) con\n            JOIN pg_attribute att on\n                att.attrelid = con.confrelid and att.attnum = con.child\n            JOIN pg_class cl on\n                cl.oid = con.confrelid\n            JOIN pg_attribute att2 on\n                att2.attrelid = con.conrelid and att2.attnum = con.parent\n            ORDER BY con_id, con.colidx" item_type="query" params=["public"] duration_ms=5 +6ms
  MigrateEngine:stderr Jul 17 14:17:01.643 ERROR quaint::connector::postgres: Error in PostgreSQL connection: Error { kind: Closed, cause: None } +114ms
  MigrateEngine:stderr Jul 17 14:17:01.643  INFO InferMigrationSteps{migration_id="DUMMY_NAME"}: quaint::connector::metrics: query="\n        SELECT\n            indexInfos.relname as name,\n            columnInfos.attname AS column_name,\n            rawIndex.indisunique AS is_unique,\n            rawIndex.indisprimary AS is_primary_key,\n            tableInfos.relname AS table_name,\n            rawIndex.indkeyidx,\n            pg_get_serial_sequence(\'\"\' || $1 || \'\".\"\' || tableInfos.relname || \'\"\', columnInfos.attname) AS sequence_name\n        FROM\n            -- pg_class stores infos about tables, indices etc: https://www.postgresql.org/docs/current/catalog-pg-class.html\n            pg_class tableInfos,\n            pg_class indexInfos,\n            -- pg_index stores indices: https://www.postgresql.org/docs/current/catalog-pg-index.html\n            (\n                SELECT\n                    indrelid,\n                    indexrelid,\n                    indisunique,\n                    indisprimary,\n                    pg_index.indkey AS indkey,\n                    generate_subscripts(pg_index.indkey, 1) AS indkeyidx\n                FROM pg_index\n                GROUP BY indrelid, indexrelid, indisunique, indisprimary, indkeyidx, indkey\n                ORDER BY indrelid, indexrelid, indkeyidx\n            ) rawIndex,\n            -- pg_attribute stores infos about columns: https://www.postgresql.org/docs/current/catalog-pg-attribute.html\n            pg_attribute columnInfos,\n            -- pg_namespace stores info about the schema\n            pg_namespace schemaInfo\n        WHERE\n            -- find table info for index\n            tableInfos.oid = rawIndex.indrelid\n            -- find index info\n            AND indexInfos.oid = rawIndex.indexrelid\n            -- find table columns\n            AND columnInfos.attrelid = tableInfos.oid\n            AND columnInfos.attnum = rawIndex.indkey[rawIndex.indkeyidx]\n            -- we only consider ordinary tables\n            AND tableInfos.relkind = \'r\'\n            -- we only consider stuff out of one specific schema\n            AND tableInfos.relnamespace = schemaInfo.oid\n            AND schemaInfo.nspname = $1\n        GROUP BY tableInfos.relname, indexInfos.relname, rawIndex.indisunique, rawIndex.indisprimary, columnInfos.attname, rawIndex.indkeyidx\n        ORDER BY rawIndex.indkeyidx\n        " item_type="query" params=["public"] duration_ms=113 +0ms
  MigrateEngine:stderr {"is_panic":true,"message":"[libs/sql-schema-describer/src/postgres.rs:484:20] querying for indices: Error { kind: QueryError(Error { kind: Closed, cause: None }), original_code: None, original_message: Some(\"connection closed\") }","backtrace":"   0: backtrace::backtrace::trace\n   1: backtrace::capture::Backtrace::new\n   2: user_facing_errors::Error::new_in_panic_hook\n   3: user_facing_errors::panic_hook::set_panic_hook::{{closure}}\n   4: std::panicking::rust_panic_with_hook\n   5: _rust_begin_unwind\n   6: core::panicking::panic_fmt\n   7: core::result::unwrap_failed\n   8: <sql_schema_describer::postgres::SqlSchemaDescriber as sql_schema_describer::SqlSchemaDescriberBackend>::describe::__describe::{{closure}}\n   9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  10: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  11: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  12: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  13: <migration_core::commands::infer_migration_steps::InferMigrationStepsCommand as migration_core::commands::command::MigrationCommand>::execute::__execute::{{closure}}\n  14: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  15: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  16: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  17: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n  18: <futures_util::compat::compat03as01::Compat<Fut> as futures::future::Future>::poll\n  19: <futures::future::lazy::Lazy<F,R> as futures::future::Future>::poll\n  20: futures::future::chain::Chain<A,B,C>::poll\n  21: <futures::future::then::Then<A,B,F> as futures::future::Future>::poll\n  22: <futures::future::map::Map<A,F> as futures::future::Future>::poll\n  23: <futures::future::either::Either<A,B> as futures::future::Future>::poll\n  24: futures::task_impl::std::set\n  25: migration_engine::main::{{closure}}\n  26: tokio::runtime::enter::Enter::block_on\n  27: tokio::runtime::context::enter\n  28: tokio::runtime::handle::Handle::enter\n  29: migration_engine::main\n  30: std::rt::lang_start::{{closure}}\n  31: std::rt::lang_start_internal\n  32: _main\n"} +5ms
The above error occurred in the <TabIndexProvider> component:
    in TabIndexProvider
    in App

React will try to recreate this component tree from scratch using the error boundary you provided, App.
Warning: App: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.
  prisma TypeError: Cannot read property 'Symbol(keypress-decoder)' of undefined
  prisma     at Object.emitKeypressEvents (readline.js:1043:13)
  prisma     at Object.useStdin (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2913327)
  prisma     at TabIndexProvider (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2313126)
  prisma     at renderWithHooks (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2706893)
  prisma     at mountIndeterminateComponent (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2736840)
  prisma     at beginWork$1 (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2752820)
  prisma     at Object._s (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2767616)
  prisma     at invokeGuardedCallback (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2770115)
  prisma     at Ou (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2812237)
  prisma     at performUnitOfWork (/Users/timleslie/src/prisma-test/node_modules/@prisma/cli/build/index.js:2:2801113) +0ms

Running with DEBUG="*" gives a bit more info that might be useful.

@timleslie Never knew we this.
Once used, it revealed the actual error. I had a model with no unique id column and the migration was successful once I fixed my .schema file. The cause of failure should have been revealed even without the DEBUG flag.
Thanks for the tip.

Tracking down the postgres logs I see the following:
2020-07-17 15:34:49.966 AEST [21615] ERROR:  relation "_Migration" already exists
2020-07-17 15:34:49.966 AEST [21615] STATEMENT:  CREATE TABLE "public"."_Migration" ("revision" SERIAL PRIMARY KEY NOT NULL, "name" TEXT NOT NULL, "datamodel" TEXT NOT NULL, "status" TEXT NOT NULL, "applied" INTEGER NOT NULL, "rolled_back" INTEGER NOT NULL, "datamodel_steps" TEXT NOT NULL, "database_migration" TEXT NOT NULL, "errors" TEXT NOT NULL, "started_at" timestamp(3) NOT NULL, "finished_at" timestamp(3));
2020-07-17 15:34:50.075 AEST [112] LOG:  server process (PID 21615) was terminated by signal 9: Killed: 9
2020-07-17 15:34:50.075 AEST [112] DETAIL:  Failed process was running:
                SELECT
                    indexInfos.relname as name,
                    columnInfos.attname AS column_name,
                    rawIndex.indisunique AS is_unique,
                    rawIndex.indisprimary AS is_primary_key,
                    tableInfos.relname AS table_name,
                    rawIndex.indkeyidx,
                    pg_get_serial_sequence('"' || $1 || '"."' || tableInfos.relname || '"', columnInfos.attname) AS sequence_name
                FROM
                    -- pg_class stores infos about tables, indices etc: https://www.postgresql.org/docs/current/catalog-pg-class.html
                    pg_class tableInfos,
                    pg_class indexInfos,
                    -- pg_index stores indices: https://www.postgresql.org/docs/current/catalog-pg-index.html
                    (
                        SELECT
                            indrelid,
                            indexrelid,
                            indisunique,
                            indisprimary,
                            pg_index.indkey AS indkey,
                            generate_subscripts(pg_index.indkey, 1) AS indkeyidx
                        FROM pg_in
2020-07-17 15:34:50.075 AEST [112] LOG:  terminating any other active server processes
2020-07-17 15:34:50.075 AEST [21585] WARNING:  terminating connection because of crash of another server process
2020-07-17 15:34:50.075 AEST [21585] DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2020-07-17 15:34:50.075 AEST [21585] HINT:  In a moment you should be able to reconnect to the database and repeat your command.
2020-07-17 15:34:50.077 AEST [112] LOG:  all server processes terminated; reinitializing
2020-07-17 15:34:50.085 AEST [21616] LOG:  database system was interrupted; last known up at 2020-07-17 15:33:42 AEST
2020-07-17 15:34:50.259 AEST [21616] LOG:  database system was not properly shut down; automatic recovery in progress
2020-07-17 15:34:50.263 AEST [21616] LOG:  redo starts at 9/811F43D8
2020-07-17 15:34:50.265 AEST [21616] LOG:  redo done at 9/81231A68
2020-07-17 15:34:50.283 AEST [112] LOG:  database system is ready to accept connections

This suggests the the query causing the issue is in libs/sql-schema-describer/src/postgres.rs at line 434 with the query:
        SELECT
            indexInfos.relname as name,
            columnInfos.attname AS column_name,
            rawIndex.indisunique AS is_unique,
            rawIndex.indisprimary AS is_primary_key,
            tableInfos.relname AS table_name,
            rawIndex.indkeyidx,
            pg_get_serial_sequence('"' || $1 || '"."' || tableInfos.relname || '"', columnInfos.attname) AS sequence_name
        FROM
            -- pg_class stores infos about tables, indices etc: https://www.postgresql.org/docs/current/catalog-pg-class.html
            pg_class tableInfos,
            pg_class indexInfos,
            -- pg_index stores indices: https://www.postgresql.org/docs/current/catalog-pg-index.html
            (
                SELECT
                    indrelid,
                    indexrelid,
                    indisunique,
                    indisprimary,
                    pg_index.indkey AS indkey,
                    generate_subscripts(pg_index.indkey, 1) AS indkeyidx
                FROM pg_index
                GROUP BY indrelid, indexrelid, indisunique, indisprimary, indkeyidx, indkey
                ORDER BY indrelid, indexrelid, indkeyidx
            ) rawIndex,
            -- pg_attribute stores infos about columns: https://www.postgresql.org/docs/current/catalog-pg-attribute.html
            pg_attribute columnInfos,
            -- pg_namespace stores info about the schema
            pg_namespace schemaInfo
        WHERE
            -- find table info for index
            tableInfos.oid = rawIndex.indrelid
            -- find index info
            AND indexInfos.oid = rawIndex.indexrelid
            -- find table columns
            AND columnInfos.attrelid = tableInfos.oid
            AND columnInfos.attnum = rawIndex.indkey[rawIndex.indkeyidx]
            -- we only consider ordinary tables
            AND tableInfos.relkind = 'r'
            -- we only consider stuff out of one specific schema
            AND tableInfos.relnamespace = schemaInfo.oid
            AND schemaInfo.nspname = $1
        GROUP BY tableInfos.relname, indexInfos.relname, rawIndex.indisunique, rawIndex.indisprimary, columnInfos.attname, rawIndex.indkeyidx
        ORDER BY rawIndex.indkeyidx

Running this query from within psql gives:
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.

I spun up a completely brand new database and re-ran the init migration and everything works fine.
I'm concluding that the database I have been using for testing has somehow become internally corrupted, which is what's causing the obscure failures.
The original problem described in this issue regarding <TabIndexProvider> still stands, as it would be useful to have the panic message displayed correctly, but I think I'm now unblocked by using the new, non-corrupted DB 👍
Thanks @joelewis for letting me know that you were able to get migrate to work after seeing the error and fixing your schema, it helped point me towards something unique in my setup, rather than something wrong in the core of prisma 👍


storage: fscache: hide useless chunk map

At least, fscache doesn't have any real requirement on chunk map.
Let's drop it directly instead.
Signed-off-by: Gao Xiang<EMAIL_ADDRESS>

outdated.


SAK-41762 Moved to permissions webcomponent in Roster

Wow, I can only say...awesome work @adrianfish ! I love it, hope we can use it across tools in the future.
Is it worth reviewing the AccessLint complaints?

Awesome! thanks for this amazing work.


refactor: supervise spawned tasks

Description
This PR introduces a lightweight Supervisor for Tokio tasks.
What it does:

Monitors multiple children
Provides a single shutdown signal for everything
Supports graceful shutdown timeout before aborting a child
If a child panics, initiates shutdown and exits with an error
If a child exits before shutdown signal, also initiates shutdown and exits with an error. Note: this might not be always the desirable behaviour, but currently there are no other cases in Iroha. This behaviour could be easily extended to support refined per-child strategies.
Logs children's lifecycle and panics

What it doesn't:

Doesn't support restarting children. To implement that, we need a formal actor system.

Linked issue
Closes #4698
Related to #4516 (helps to identify failures)
Benefits

Clearer shutdown traces
Clearer Iroha lifecycle
Less unnoticed panics

Like the interface.
However i find a bit hard to track the logic of Supervisor itself maybe we can simplify it's implementation?
My idea is to handle all tasks inside SupervisorTask itself and reduce amount of task spawning, here is rough sketch of my idea.
What do you think?

However i find it a bit hard to track the logic of Supervisor itself maybe we can simplify it's implementation?
My idea is to handle all tasks inside SupervisorTask itself and reduce amount of task spawning, here is rough sketch of my idea.
What do you think?

I agree that the current implementation of Supervisor is somewhat clunky and not easy to follow.
Tried to rewrite with less amount of spawns and using FuturesUnordered, as in your sketch, but it turned out to be also very confusing when it came to shutdown timeouts. Abandoned this way. If you can implement it in a way so that all current tests will pass, and the implementation will also be easy to understand - please, welcome =)
Anyway, I found a middle ground and made the implementation simpler. Now Supervisor relies on JoinSet, and for each monitored child it spawns 2 tasks: one to report the result of the child, and one to implement child shutdown logic. Supervisor itself waits until this JoinSet finishes all tasks, and also waits for messages from with children results to initiate shutdown if something went wrong.
Please re-review!

Rebased & ran all tests locally - works except 3 extra functional.


Patch libraries

Some libraries are patched too. Patching them on image build would reduce startup time and cause less writes.

Question is if that's legimate to the GPL. On the one side these are public libraries, but on the other side those could include custom modifications.


Missing dependency: git

As a new employee running on a fresh laptop, I noticed there is a missing dependency: git.
If you don't have git installed, you will get an error when running this:
npm install -g generator-botbuilder

@kathywl , Please link to the article you noticed this in, and we'll update it.

https://docs.microsoft.com/en-us/azure/bot-service/javascript/bot-builder-javascript-quickstart?view=azure-bot-service-4.0

Thanks, I've added git to the list of prerequisites. The fix should go live in a few days.


Godot 4.1.1 can't export build ios / xcode project - a) [Export Icons]: Invalid icon (icons/iphone_120x120); B) undefined symbols;  Linker command failed with exit code 1 - Apple Silicon

Godot version
v4.1.1.stable.official [bd6af8e0e] - (without .net) - MacOs version
System information
Macbook Apple M2 Pro - MacOs  Sonoma 14.0
Issue description
Tried to export two diference projects for iOS results in "strange errors" (i tried anothers projects too).
Bug one:
* Project export for platform: ios iOS - & Failed.
•[Export Icons]: Invalid icon (icons/iphone_120x120)
Bug two:
a) Undefined symbols:
b) Linker command failed with exit code 1 (use -v to see invocation)
Steps to reproduce
Environment:
Macbook Pro M2 Pro
Xcode Version 15.0 (15A240d)
Godot 4.1.1  regular (without .net)
1- Open any minimal Godot 4.1.1 project
2- In Godot: Project > Export > Choose "iOS" updated template/preset
3- Type an valid "app store team id", i've used this method to get my free key -> Session Get the team ID in link:  https://medium.com/@phillipdev/exporting-to-ios-using-godot-4-1-for-free-ed99b8f594b7
4- type bundle identifier
5- type an Export path

6- Now, click in "Export project" > "Save", for me is the first bug found:
Bug one:
* Project export for platform: ios iOS - & Failed.
•[Export Icons]: Invalid icon (icons/iphone_120x120)

7- Now, choose an image for every field of icons, because what warning will be ocour for every field....
Do like this:

8 - Now, finally, click in "Export project" > "Save"

9- Open exported project in Xcode: open file my_file_name.xcodeproj
10- In Xcode try build and see errors like this.
Bug two:
a) Undefined symbols:
b) Linker command failed with exit code 1 (use -v to see invocation)

Attached:
Zipped Godot Project
Two image files, each one with 1024x1024 size with extensions: .png and .jpg. I tried use this images in bug step 7.
Minimal reproduction project
Tappy Plane v6.zip

Thanks for fast reply, like an ninja.
Will this problem be fixed in the next version of Godot?
For me and certainly most peoples this is a big fix that helps a lot.

Duplicate of #82454.


Fix rnn time step serialization/deserialization

LSTMTimeStep serialization/deserialization

Description
LSTMTimeStep wasn't serializing some properties related to the outputLookup.
Motivation and Context
issue
How Has This Been Tested?
const net = new brain.recurrent.LSTMTimeStep({
    inputSize: 3,
    hiddenLayers: [10],
    outputSize: 3
});

net.train([
    [
        { a: 0.1, b: 0.2, c: 0.6 },
        { a: 0.3, b: 0.7, c: 0.7 },
        { a: 0.7, b: 0.2, c: 0.8 },
        { a: 0.5, b: 0.7, c: 0 },
        { a: 0.9, b: 0, c: 0.6 }
    ],
], { log: true, errorThresh: 0.001 });

const net2 = new brain.recurrent.LSTMTimeStep();
net2.fromJSON(net.toJSON());

const output = net2.run([
    [
        { a: 0.9, b: 0.7, c: 0.1 },
        { a: 0.9, b: 0.7, c: 0.5 },
        { a: 0.9, b: 0.5, c: 0.5 },
        { a: 0.6, b: 0.2, c: 0.7 }
    ]
]);

console.log(output); // [NaN, NaN, NaN]

Screenshots (if appropriate):
Types of changes

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

Author's Checklist:

[ ] My code focuses on the main motivation and avoids scope creep.
[ ] My code passes current tests and adds new tests where possible.
[ ] My code is SOLID and DRY.
[ ] I have updated the documentation as needed.

Reviewer's Checklist:

[ ] I kept my comments to the author positive, specific, and productive.
[ ] I tested the code and didn't find any new problems.
[ ] I think the motivation is good for the project.
[ ] I think the code works to satisfies the motivation.

Ty ty ty for this PR.  It helped me find the issue, test it, and release https://www.npmjs.com/package/brain.js/v/2.0.0-alpha.9
Sorry about the conflicts.


[SPARK-24433][K8S][WIP] Initial R Bindings for SparkR on K8s

What changes were proposed in this pull request?
Introducing R Bindings for Spark R on K8s

[ ] Running SparkR Job

How was this patch tested?
This patch was tested with

[x] Unit Tests
[ ] Integration Tests

@felixcheung for initial review
There is still a need for the integration testing environment to be setup on the PRB side. But I would like community opinion on the format of the Dockerfile.

Test build #92034 has started for PR 21584 at commit 884a4e7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/281/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/4175/
Test PASSed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/281/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/281/
Test PASSed.

Test build #92034 has finished for PR 21584 at commit 884a4e7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92034/
Test PASSed.

We have a min supported version of R
https://github.com/apache/spark/blob/master/R/pkg/DESCRIPTION
But beyond that we haven’t seen much problems when new releases of R are coming up.
It might be helpful to make it configurable if any user has any particular need with R and/or R packages versio

Test build #92635 has started for PR 21584 at commit a2f2825.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/695/

Test build #92635 has finished for PR 21584 at commit a2f2825.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92635/
Test FAILed.

@felixcheung @mccheah by that logic.. should then both Python and R images be version configurable? This is all handled in the bin/docker-image-tool.sh ? Aren't those configurations just way to hard to deal with (i.e. make the build script very cumbersome with all the build-args... why can't they just create their own images with unique versions? i.e.
ARG VERSION
apk-add R-base:$VERSION R-dev:$VERSION

IMO it's fine we have one version supported in the image and stick with that.
the tricky thing is having maintainers to keep updating/testing the newer versions in the images (we have history of not able to keep up)
would it be possible for the integration test to build the image running docker-image-tool.sh -m -t testing build , and then run the integration test with it?

@felixcheung The integration tests already run docker-image-tool.sh -t testing build which build the spark-base, spark-py, and spark-r images. At which point integration tests would be run from the KubernetesSuite. As such, is this okay as an initial PR to get SparkR support, (in its current state) after integration tests are included in this PR?

yap

just wanted to briefly chime in:
TL;DR:  this build will fail until the PRB is running on our ubuntu build nodes.
we are currently blocked from testing this stuff w/the current iteration of the PRB on our jenkins for a couple of reasons:

the current pull request builder runs only on our old, ancient and crufty centos 6.9 hosts
these hosts have old, ancient and crufty installations of R (3.1.1) and associated libraries
trying to re-create (2) on our shiny, new ubuntu 16.04 boxen has, so far, been an exercise in futility.  :\
this is why we currently have a limited number of ubuntu boxes, and also why things like testing for spark/k8s integration requires an addition build on top of the standard PRB build to make things work.

i'm working now w/some folks at databricks (@weshsiao) to get this under control enough so that we can get things moving to the ubuntu hosts ASAP.

Test build #93272 has started for PR 21584 at commit 2d55f06.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1120/
Test FAILed.

Test build #93273 has started for PR 21584 at commit 5bdbc02.

Test build #93274 has started for PR 21584 at commit 24fcd9b.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93273/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93272/
Test FAILed.

Build finished. Test FAILed.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1122/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1123/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1123/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1123/
Test FAILed.

Test build #93274 has finished for PR 21584 at commit 24fcd9b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93274/
Test PASSed.

All tests pass locally. Waiting on PRB to be configured.
KubernetesSuite:
- Run SparkPi with no resources
- Run SparkPi with a very long application name.
- Use SparkLauncher.NO_RESOURCE
- Run SparkPi with a master URL without a scheme.
- Run SparkPi with an argument.
- Run SparkPi with custom labels, annotations, and environment variables.
- Run extraJVMOptions check on driver
- Run SparkRemoteFileTest using a remote data file
- Run PySpark on simple pi.py example
- Run PySpark with Python2 to test a pyfiles example
- Run PySpark with Python3 to test a pyfiles example
- Run SparkR on simple dataframe.R example

Test build #93294 has started for PR 21584 at commit d809f67.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1138/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1138/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1138/
Test FAILed.

Ready for merge upon PRB passing the tests.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1201/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1201/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1201/
Test FAILed.

Test build #93386 has finished for PR 21584 at commit 1e19374.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93386/
Test PASSed.

looks like test failed
- Run SparkR on simple dataframe.R example *** FAILED ***
  The code passed to eventually never returned normally. Attempted 70 times over 2.0071955115 minutes. Last failure message: Failure executing: GET at: https://<IP_ADDRESS>:8443/api/v1/namespaces/3346b714f192421eaae8d115154cec0e/pods/spark-test-app-da59d78dbe144e7e84581429199be99a/log?pretty=false. Message: container "spark-kubernetes-driver" in pod "spark-test-app-da59d78dbe144e7e84581429199be99a" is waiting to start: image can't be pulled. Received status: Status(apiVersion=v1, code=400, details=null, kind=Status, message=container "spark-kubernetes-driver" in pod "spark-test-app-da59d78dbe144e7e84581429199be99a" is waiting to start: image can't be pulled, metadata=ListMeta(resourceVersion=null, selfLink=null, additionalProperties={}), reason=BadRequest, status=Failure, additionalProperties={}).. (KubernetesSuite.scala:221)

@felixcheung the PRB isn’t currently configured with capability to build —r distributions. Waiting on @shaneknapp, which is why it is unable to build the image. With an R supported environment, it passes all tests.

I see. you are referring to https://github.com/apache/spark/pull/21584#issuecomment-406091994
got it.

Test build #93547 has started for PR 21584 at commit d036673.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1313/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1313/

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1313/
Test FAILed.

Test build #93547 has finished for PR 21584 at commit d036673.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93547/
Test PASSed.

SPARK-24908 went in, it should unblock R?

@felixcheung -- SPARK-24908 is just one of many layers of the onion that i'm having to peel away to get the GHPRB ported to ubuntu.  we're close to getting it to reliably pass, but not quite there yet.  there's another potential bug w/some scala unit tests that i will be creating an issue for today.
once i get the GHPRB working reliably enough for us to deem it safe enough to move to ubuntu, we'll need to start wiping the existing centos workers and reinstalling them w/ubuntu.  this will definitely take time...  and i'm guessing at the minimum a couple of weeks for this to happen.
i'm doing my best to get this done but there's no way that we'll get things finished before 2.4 is cut.

Test build #93662 has started for PR 21584 at commit 131f11f.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1399/
Test FAILed.

Test build #93662 has finished for PR 21584 at commit 131f11f.

This patch fails to build.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93662/
Test FAILed.

Test build #93663 has finished for PR 21584 at commit 1f0cba5.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait BarrierTaskContext extends TaskContext
class BarrierTaskInfo(val address: String)
class RDDBarrier[T: ClassTag](rdd: RDD[T])
case class WorkerOffer(
trait AnalysisHelper extends QueryPlan[LogicalPlan]

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93663/
Test FAILed.

retest this please

Test build #93664 has started for PR 21584 at commit 1f0cba5.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1400/
Test FAILed.

Test build #93664 has finished for PR 21584 at commit 1f0cba5.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait BarrierTaskContext extends TaskContext
class BarrierTaskInfo(val address: String)
class RDDBarrier[T: ClassTag](rdd: RDD[T])
case class WorkerOffer(
trait AnalysisHelper extends QueryPlan[LogicalPlan]

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93664/
Test FAILed.

Test build #93666 has started for PR 21584 at commit 0c43a1c.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1401/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1401/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1401/
Test FAILed.

Test build #93666 has finished for PR 21584 at commit 0c43a1c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93666/
Test PASSed.

Test build #93802 has started for PR 21584 at commit bd60d05.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1498/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/1498/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1498/
Test FAILed.

Test build #93802 has finished for PR 21584 at commit bd60d05.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93802/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/2256/

Let's merge at the end of the day pacific time (~5PM-ish) on Friday, August 17, pending any additional feedback on the mailing list thread discussing the subject of including this in 2.4.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/2256/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2256/
Test PASSed.

Test build #94862 has finished for PR 21584 at commit 6584029.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94862/
Test PASSed.

LGTM

LGTM
On Fri, Aug 17, 2018 at 12:16 AM, Felix Cheung<EMAIL_ADDRESS>wrote:

LGTM
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/spark/pull/21584#issuecomment-413779297, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABiDrNapEtXAPlZ123UtX5viDA9ymGIuks5uRm27gaJpZM4UsEQR
.

Ok I am merging this to master now. Thanks for the work on this!

I filed https://issues.apache.org/jira/browse/SPARK-25152 for the integration tests.


Allow Customization of the Element Header

HeaderClass expands on the HeaderStyle attribute of an element to allow you to define a custom class to be applied to the headers as well as changing the style.
You can now add a Header tag to either the Element or Grid that allows you to insert custom markup that is used instead of the default header markup. When this markup is used the Header level and alignment are ignored. This means the header does not just have to contain a title but can have varying test, images icons etc.

Hi @owaits,
Same here: this looks good, except for the .gitignore file.
Thanks
Stefan

I seem to be getting the following error when I use @owaits changes here, says the issue is from Grid/Element.razor Line 15. I'm using the Grid snippet from the main project readme incase that's of any help.

I seem to be getting the following error when I use @owaits changes here, says the issue is from Grid/Element.razor Line 15. I'm using the Grid snippet from the main project readme incase that's of any help.

I have tried running the test project and selecting the Grid example page but I am not seeing this error. I also pasted the example grid code bellow, is this what you where referring to?
<Grid RowGap="1em" ColumnGap="1em">
    <RowDefinition Height="1fr" />
    <RowDefinition Height="1fr" />
    <ColumnDefinition Width="auto" />
    <ColumnDefinition Width="auto" />
    <Element Column="0" Row="0">

    </Element>
    <Element Column="0" Row="1">

    </Element>
    <Element Column="1" Row="0">

    </Element>
    <Element Column="1" Row="1">

    </Element>
</Grid>

to the Grid example but that seemed to work too.
The error refers to this line
var padding_bottom_s = padding_bottom.ToString(CultureInfo.InvariantCulture) + "%";
which I do not believe I have changed so I am a little confused why this is not working.
Are you able to give me some more info or repro steps so I can try and resolve this?

I seem to be getting the following error when I use @owaits changes here, says the issue is from Grid/Element.razor Line 15. I'm using the Grid snippet from the main project readme incase that's of any help.

I have tried running the test project and selecting the Grid example page but I am not seeing this error. I also pasted the example grid code bellow, is this what you where referring to?
<Grid RowGap="1em" ColumnGap="1em">
    <RowDefinition Height="1fr" />
    <RowDefinition Height="1fr" />
    <ColumnDefinition Width="auto" />
    <ColumnDefinition Width="auto" />
    <Element Column="0" Row="0">

    </Element>
    <Element Column="0" Row="1">

    </Element>
    <Element Column="1" Row="0">

    </Element>
    <Element Column="1" Row="1">

    </Element>
</Grid>

to the Grid example but that seemed to work too.
The error refers to this line
var padding_bottom_s = padding_bottom.ToString(CultureInfo.InvariantCulture) + "%";
which I do not believe I have changed so I am a little confused why this is not working.
Are you able to give me some more info or repro steps so I can try and resolve this?

It looks like the error is actually referring to the line following, which is:
<div class="eg-elc @Grid.ElementClass @additional_class"<EMAIL_ADDRESS>@additional_style; @area @column @row padding-bottom: @padding_bottom_s; " @attributes='AdditionalAttributes?.Where(kv => kv.Key != "style" && kv.Key != "class")' @ref="ElementContainer">
I created a new Blazor WASM project and added the 'Grid' folder from this repo into that project and updated some dependencies. Everything was working using the snippet you posted above, until I added in your changes manually. It could well be an issue on my end, but given that it was working fine before I added the changes, I just wanted to make sure. Great update regardless!

@white-jacob-dev its strange because the line of code seeming to be the issue can only be reached if the Aspect Ratio is not null yet the snippet of code does not set the aspect ratio. I would be happy to take a look at your test project if you want. Maybe you could clone my repo and run the official test projects to see if you experience any issues with them.

@owaits I'm not getting a crash when cloning your branch, so I'm assuming it's something on my end, no worries. One question though, where are you defining the Header tag in your code? I'm using it inside of an element as Some markup, but the element is no longer draggable afterwards.

It should allow you to.put the header tag either on the grid or element. You need to be careful though that the contents do not block the mouse events propogating to the drag drop handlers. In my case I just put an icon and div inside the header. I will post an example tomorrow for you.

Hi @owaits,
I think a demo page would be a great addition and could help @white-jacob-dev to identify the issue they're experiencing.
Thanks
Stefan

@stefanloerwald I have added a demo page for custom headers that hopefully demonstrates why custom headers can be quite powerful. Let me know if you require anything further for this PR.

Hi @owaits,
Thanks for your patience here ;-) I just played with your demo page and it looks beautiful! I'll merge it ASAP.
Thanks for your contribution.
Stefan


Jaden/tipsetconversions

Summary of changes
Changes introduced in this pull request:

Remove result when converting from FullTipset to Tipset
Add From traits to FullTipset and Tipset to convert between the two
Remove TipsetKey struct field in Tipset in favour of having them generated only when needed

Reference issue to close (if applicable)

Closes #398

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


Add new feature: Filters for Push Replication

I propose the addition of the same feature I have found when using Couchbase Lite: Filter for Push Replications.  As you can see in its documentation this feature in pretty straightforward (http://goo.gl/JezE2X).

Thanks for reporting this, we'l hopefully get this in for 1.0.0, so we have feature parity with CDTDatastore


Collaborative blog post

Collaborative blog post! I have created a barebones doc here.  In about the organizers please fill in with your own information.
Suggested by Nina

About us, how many years we've been programming Python, how we discovered it, our favorite language feature, why we're volunteering our time for the sprints, and what we hope participants will get out of it.

If you are also comfortable sending a picture, please do.
If there is something you'd like to add about the sprints also feel free to add to the introduction or wrap up section.

@trallard Do you think this might be better suited for a google doc that we can all edit at the same time?

You might be right. Will create and start today
On Thu, 14 Mar 2019, 23:34 Nina Zakharenko<EMAIL_ADDRESS>wrote:

@trallard https://github.com/trallard Do you think this might be better
suited for a google doc that we can all edit at the same time?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pycon-mentored-sprints/organisational/issues/12#issuecomment-473104717,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWdhS_KZl6pWOiD_6otI8N3aymBpBd9Dks5vWtx8gaJpZM4bz6OV
.


Icon is not displaying

Wherever we are displaying icon in Modus control, those control icon is missing in Windows and Android.
For example, in dropdown arrow icon is missing and toast icon is missing, TMModal, alert dialogue close icon is missing

After adding the Modus nuget package to groundworks project, the alert popup close icon and dropdown arrow icon are not displaying. I have fixed this bug from Groundworks end. Please close this ticket,


build: moving rest config subscription to extensions

Risk Level: low
Testing: n/a
Docs Changes: n/a
Release Notes: inline
https://github.com/envoyproxy/envoy/issues/26450

@phlax this auto-merged with 2 broken builds.  Did your tweaks this morning remove coverage as required?
https://github.com/envoyproxy/envoy/pull/26513 fixes


Added a HoS guide to get things started

Hopefully nothing breaks?
Also it's my first time contributing to a wiki, sorry if the writing or format is inappropriate

Thanks for the contribution ParasectW! I think your guide will make for a good base to work with for the Heart of Serpentcoil Island page - I was initially planning on translating the JP wiki's page for most of the content, but had been putting it off since the JP wiki's page is kind of massive.


Provide a way to set the resource limits in the systemd unit files

Systemd has its own resource control options: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
LimitCPU=, LimitFSIZE=, LimitDATA=, LimitSTACK=, LimitCORE=, LimitRSS=, LimitNOFILE=, LimitAS=, LimitNPROC=, LimitMEMLOCK=, LimitLOCKS=, LimitSIGPENDING=, LimitMSGQUEUE=, LimitNICE=, LimitRTPRIO=, LimitRTTIME=

We need to set LimitNOFILE and LimitNPROC to something different than default values.
Also it would be great to make them configurable by user.

Added this feature in 4c66b4741b9d291f968ecd93044c2a726ed61991 for systemd and upstart exporters.
Now custom limits can be defined globally in init-exporter configuration file (10k for both by default) and can be redefined for application or service in procfile (only v2).


No twig language installed

I uninstalled https://github.com/whatwedo/vscode-twig and installed your plugin but now I don't have a Twig language to associate with files. I've tried uninstalling and reinstalling but nothing seems to work. Reinstalling https://github.com/whatwedo/vscode-twig brings it back but then I don't have the snippets that I want from your plugin. Am I missing something?

Hey @soniktrooth,
Last week based on feedback from some users, I changed the extension so that there is no longer a "TWIG" language but rather .html files are recognised as TWIG. The benefit of this, as opposed to other extensions, is that .html files automatically include intellisense and emmet shortcuts. So you don't need to do anything except open up a .twig.html/.html/.twig file and it should include snippets, formatting, hover, and syntax highlighting for TWIG.
I hope this helps :)

@mblode you should have twig language option to use another extension.
For example im using jinja2 with j2 extension.
I have to change all files to twig to get recogination.


Migrate from CircleCI to Github Actions: python codestyle, build and tests

Duplicates postgres and neon build jobs from CircleCI to Github actions.
Uses build image based on runner image with rust installed (https://github.com/neondatabase/docker-images/pull/10), for now we running it in nested docker in normal runner image.

I believe we have a problem with PRs opened by contributors who are not members of the neon github organization. The CI doesn't run correctly, for example here: https://github.com/neondatabase/neon/pull/1701. Will this PR fix that problem?
Is this ready to be pushed soon?

Will this PR fix that problem?

It will only partially: coverage-report will now use artifacts, but we still need secrets to trigger our end-to-end tests. And exposing that secret to everyone is probably not a great idea.

Otherwise, I'm curious to see the k8s set up, is it available anywhere as a config?

We use m6i.2xlarge EC2 instances (8 vCPU, 32 GiB)
https://github.com/neondatabase/cloud/blob/main/ops/infra/aws/service/eks/main.tf#L152-L157
And running 2 runners per machine (actually we should slightly decrease memory request there):
https://github.com/neondatabase/cloud/blob/main/ops/infra/workloads/values/service/actions-runner-controller-runners.yaml#L4-L10
We could try to use bigger runners and check if it improve build time.

I have not checked all the build commands in detail, there's been some changes every now and then since my branch was pushed, so might be good to ensure later we've not missed any tweaks.

Yes, I copied build command from CIrcleCI config not from your PR :-)
I just checked that latest change in config.yaml were applied here.

Cool, although it seems that neither collects code coverage for batch_others nor publishes an incomplete coverage report anywhere. Will there be another PR fixing this, or what's the plan?
Yes, I'll add it in separate PR


How to enable inbound/outbound traffic with no restrictions to a VM

System Information
Linux distribution
 Centos7
Terraform version
terraform -v

Terraform v1.3.9
on linux_amd64
+ provider registry.terraform.io/dmacvicar/libvirt v0.7.1
+ provider registry.terraform.io/hashicorp/template v2.2.0

Provider and libvirt versions
terraform-provider-libvirt -version

libvirtd (libvirt) 4.5.0

__
Description of Issue/Question
I deploy a VM with no issues. but have issues with the network connection to it as follows:
When using Bridge mode:
- VM inbound: Traffic is only allowed from the VM subnet network to the VM server.
- VM outbound: Traffic is only allowed from the VM server to the VM subnet network
- It means that I can't ping/SSH the VM if my source server is on a different network (but I can reach that VM host).
When using NAT mode:
- VM inbound: Traffic allowed, only from the Physical Host to VM
- VM outbound: The VM can ping/SSH to any address
- It means that I can't ping/SSH the VM if my source server is on a different network (but I can reach that VM host).
I notice that when using "nat" mode, the physical host gets iptables roles which block the connections. but even if deleting iptables rules, the connections are still blocked.
Setup
Relevant main.tf part (in nat mode):
resource "libvirt_network" "vm_main_network" {
  name = "${var.VM_HOSTNAME}_network"
  mode = "nat"
  domain = "${var.VM_HOSTNAME}.local"
  addresses = ["${var.VM_MAIN_RANGE}"]
  dhcp {
   enabled = false
  }
  dns {
   enabled = true
  }
}

resource "libvirt_domain" "vm" {
  count = var.VM_COUNT
  name = "${var.VM_HOSTNAME}-${count.index}"
  memory = var.VMEM
  vcpu = var.VCPU
  cloudinit = "${libvirt_cloudinit_disk.cloudinit.id}"
  network_interface {
    network_id = "${libvirt_network.vm_main_network.id}"
    network_name = "${libvirt_network.vm_main_network.name}"
    addresses      = ["${var.IP_MAIN}"]
  }

Additional information:
I'm trying to find a way, which will allows me to reach the new deployed VM from any server on my network (which has a route to the VM physical host) as well to be able to connect any server from inside the VM.
Appreciate any help.
Thanks,
Lavi

I used a wrong default gateway. in bridge mode inbound and outbound traffic is working with no restrictions.


java.lang.NoSuchFieldError: _entry

Crash Report:
https://gist.github.com/Fuzzbling/0b2c7872a4c924aaf1224729315741d0

That's what I get for not testing properly. Yay.
Will fix tomorrow, as I'm already getting ready for sleep.
From a quick glance, this should only happen on the server..? Perhaps a default initializer doesn't work well with SideOnly...

While I'm no mod dev, I did find the following that might be helpful in troubleshooting this;
https://mcforge.readthedocs.io/en/latest/concepts/sides/
https://github.com/MinecraftForge/MinecraftForge/issues/3066
https://github.com/minecraft-dev/MinecraftDev/issues/28
There were quite a few other results using this search:
https://www.google.com/search?q=%40SideOnly(Side.CLIENT)

I tried fixing it on my laptop but unfortunately I can't setup a development environment. Apparently decompiling Minecraft takes 3 GB of ram. I'm relatively sure about the cause and reason. It's just slightly weird that it acts this way. I'd assume @SideOnly on an initialized field would not cause it to be initialized, but that's alright. (I just have to get rid of the = null.)
Meanwhile, I guess I should remove the releases, as they're faulty.


Latest aktualizr with ostree ca cert fix.

Tested with Qemu, RaspPi and Minnowboard.
Successful device activation, provisioning and update.


Regent: Handle region argument in cross-check code

Fix for #1142

Thanks, merged via e97d0d3158fc563aec682f2eeb728c203878bcb0. This will appear on Github once the mirror gets around to syncing.


Smartseq2 pipeline

KCO pipeline replication.

Thanks for making those changes! A few little things:
-Could you rename the directory to something like smartseq2_single_sample? It's a little easier to read and no caps is easier to type.
-Consider putting the SRA ids directly in your readme so you don't need a separate samples.txt file.
-Formatting of the wdl file could be improved to make it more readable. Best to be consistent: currently has mixture of tabs and spaces -- let's remove tabs, have two spaces indent per level, space before brace, remove extra spaces in some places, closing brace is indented too far in some places.

Ah, thanks! Can you add a blank line between each task and between each call? I think you can also delete samples.txt now that you've pasted the ids into the readme, right?

Ah sorry just saw dave commented about some of the things I did.

Great - I think we're nearly done! Can you please add an empty line before each command and before the first call?

This is so exciting!

I'd suggest moving to the following directory structure for the docker images:
smartseq2_single_sample/docker/rsem/Dockerfile
smartseq2_single_sample/docker/star/Dockerfile
smartseq2_single_sample/docker/picard/Dockerfile

Woo!!!! Great job @jishuxu @dshiga, very exciting!!


Setup wasm couldn't install emcc

I'm using Arch Linux so I had to change python to python2 in setup.js, but then I get that error:
$ wargo build
  Setup wasm checking dependencies...
  Setup wasm emsdk not found, installing to ~/.emsdk...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 36333  100 36333    0     0  36333      0  0:00:01 --:--:--  0:00:01 41570
emsdk-portable/emsdk
emsdk-portable/emcmdprompt.bat
emsdk-portable/emsdk.bat
emsdk-portable/emsdk_manifest.json
emsdk-portable/emsdk_env.bat
emsdk-portable/README.md
emsdk-portable/binaryen-tags.txt
emsdk-portable/emscripten-tags.txt
emsdk-portable/emsdk_env.sh
  Setup wasm setting environment...
  Setup wasm installing emcc...
Fetching all tags from Emscripten Github repository...
Done. 109 tagged releases available, latest is 1.37.22.
Fetching all tags from Binaryen Github repository...
Done. 36 tagged Binaryen releases available, latest is 1.37.22.
Fetching all precompiled Nightly versions..
Downloading: /home/v/.emsdk/llvm-nightlies-32bit.txt from https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/nightly/linux_32bit/index.txt
Downloading: /home/v/.emsdk/llvm-nightlies-64bit.txt from https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/nightly/linux_64bit/index.txt, 21647 Bytes                                                                                Downloading: /home/v/.emsdk/emscripten-nightlies.txt from https://s3.amazonaws.com/mozilla-games/emscripten/packages/emscripten/nightly/linux/index.txt, 22480 Bytes                                                                                Fetching all precompiled tagged releases..
Downloading: /home/v/.emsdk/llvm-tags-32bit.txt from https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/tag/linux_32bit/index.txt
Downloading: /home/v/.emsdk/llvm-tags-64bit.txt from https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/tag/linux_64bit/index.txt, 789 Bytes                                                                                Installing SDK 'sdk-1.37.22-64bit'..
Done installing SDK 'sdk-1.37.22-64bit'.
Writing .emscripten configuration file to user home directory /home/v/
The Emscripten configuration file /home/v/.emscripten has been rewritten with the following contents:

import os
SPIDERMONKEY_ENGINE = ''
NODE_JS = 'node'
V8_ENGINE = ''
TEMP_DIR = '/tmp'
COMPILER_ENGINE = NODE_JS
JS_ENGINES = [NODE_JS]

To conveniently access the selected set of tools from the command line, consider adding the following directories to PATH, or call 'source ./emsdk_env.sh' to do this for you.

   /home/v/.emsdk
  Setup wasm couldn't install emcc. file a bug at https://github.com/lord/wargo?
/bin/sh: emcc: command not found
child_process.js:634
    throw err;
    ^

Error: Command failed: emcc -v
    at checkExecSyncError (child_process.js:591:13)
    at Object.execSync (child_process.js:631:13)
    at module.exports (/usr/lib/node_modules/wargo/src/cmd.js:30:16)
    at getos (/usr/lib/node_modules/wargo/index.js:19:26)
    at /usr/lib/node_modules/wargo/node_modules/getos/index.js:95:16
    at /usr/lib/node_modules/wargo/node_modules/async/dist/async.js:460:16
    at iteratorCallback (/usr/lib/node_modules/wargo/node_modules/async/dist/async.js:1034:13)
    at /usr/lib/node_modules/wargo/node_modules/async/dist/async.js:944:16
    at /usr/lib/node_modules/wargo/node_modules/getos/index.js:87:20
    at customLogic (/usr/lib/node_modules/wargo/node_modules/getos/index.js:123:72)

Did you change where python pointed to, or did you just modify the check in setup.js? If you just modified the check, it would fail because emsdk expects Python 2.

Ah, thanks! Indeed I just edited setup.js to point to python2, so I did the same in emsdk and now the setup is working! We can probably close this issue because it's related to #9.
The build then fail to compile one of the dependencies of my project but that's another thing ^^

Yea, once you're compiling a hello world example, you're probably on your own re: compiling dependencies. I'll close this but keep #9 open as a reminder to fix the python issue. Glad it's working now!


💡 [FEATURE] - New Resource for Front End Development

Idea Contribution

[X] I have read all the feature request issues.

Explain feature request
This resource helped me with my journey in web development.
Explain your solution
I think this resource would also help other students who want to beginning their own web development journeys.
Any alternative approaches/features
No response
Additional Context
No response

Hi @jfmartinz
I as a GSSoC'24 contributor would like to add this resource to this extremely important and helpful repository of yours. It would be if you assign this issue to me.

Hi @jfmartinz I as a GSSoC'24 contributor would like to add this resource to this extremely important and helpful repository of yours. It would be if you assign this issue to me.

Okay, but can you please provide the link of that resource and then you can start adding it to the project

Hi @jfmartinz I as a GSSoC'24 contributor would like to add this resource to this extremely important and helpful repository of yours. It would be if you assign this issue to me.

Okay, but can you please provide the link of that resource and then you can start adding it to the project

Sure
Link to the resource
https://www.youtube.com/playlist?list=PLEPye7A7EcQaCkSNNSTLdlfPm4f2fkQgG

Hi @jfmartinz I as a GSSoC'24 contributor would like to add this resource to this extremely important and helpful repository of yours. It would be if you assign this issue to me.

Okay, but can you please provide the link of that resource and then you can start adding it to the project

Sure
https://www.coursera.org/specializations/web-design?skipBrowseRedirect=true
This is a Coursera course link

@jfmartinz I'm eager to contribute to your project through GSSOC. Could you please assign me issue. there are some resources that i personally used
(free: https://www.youtube.com/watch?v=ChVE-JbtYbM&t=36231s)
(paid: https://www.codingninjas.com/mern-full-stack-development-course)

@jfmartinz I'm eager to contribute to your project through GSSOC. Could you please assign me issue. there are some resources that i personally used (free: https://www.youtube.com/watch?v=ChVE-JbtYbM&t=36231s) (paid: https://www.codingninjas.com/mern-full-stack-development-course)

Okay, sure. You can create your PR right away. You can add these resources into Tutorial or Courses under Full Stack Development. You can refer to this issue on how to add a resource


Add reference and link to kubeconfig on kubectl page

Add reference and link to kubeconfig on kubectl page

/assign cody-clark
The original CC: Can you review this?

Preview: https://deploy-preview-14059--kubernetes-io-master-staging.netlify.com/docs/reference/kubectl/overview/
It looks like the two "--" before kubeconfig are rendering as an em dash. Can you try backticks?
For example: --kubeconfig like on the kubeconfig page

It's a good thing our user names are pretty distinct :) @thecrudge
And looks great!
/lgtm
/approve


Is there a way to insert data into djangorestframework-simplejwt get_token function?

I'm trying to manipulate some behaivor about authentication process with DRF and SimpleJWT. I created a function to validated a tenant that I set it into MyTokenObtainPairSerializer class and it works fine.
Now I'm trying to get this tenant information into get_token function to insert an information into JWT.
This is what i'm trying to do:
class MyTokenObtainPairSerializer(TokenObtainPairSerializer):
    tenant = serializers.CharField()

    def validate(self, attrs):

        if validate_tenant(attrs.get('tenant'), attrs.get('username')):
            data = super().validate(attrs)
        else:
            my_attrs = {'username': None, 'password': None}
            data = super().validate(my_attrs)

        return data

    @classmethod
    def get_token(cls, user):
        token = super().get_token(user)

        token['tenant'] = cls.tenant

So, I got this message: AttributeError: type object 'MyTokenObtainPairSerializer' has no attribute 'tenant'

@darcivieira
Isn't easier to create a custom TokenClass?
so get token will remain as it is, and then you just create a custom
for_user method
https://github.com/jazzband/djangorestframework-simplejwt/blob/1b2e20e48c05f0f2975c2fafbb12146cecc32882/rest_framework_simplejwt/tokens.py#L170


Typos/unclear wording

I believe there are typos, missing words, or this paragraph needs to be re-written for clarity: "DMARC prevents spoofing examining a message's sender - the one that the user sees in their email client (in the examples above, this is service.outlook.com, outlook.com, and accountprotection.microsoft.com) - with the domain that passed SPF or DKIM. That is, the domain that the user sees has been authenticated and is therefore not spoofed. For a more complete discussion, see the section "Understanding why email authentication is not always enough to stop spoofing" later on in this article." Thanks

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

ID: e130b60f-b97b-cfb1-4857-a08e79fdfd59
Version Independent ID: 19e405c4-a6c0-7c75-b925-ff9637f1889e
Content: Anti-spoofing protection in Office 365
Content Source: microsoft-365/security/office-365-security/anti-spoofing-protection.md
Service: o365-seccomp
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@ckssaas  - Thank you for submitting feedback.
I will get this issue over to the Microsoft 365 writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

PR #731  has been created by @JohanFreelancer9 to fix and close this issue once the PR is merged.
Thank you and we appreciate your contribution to make the docs better!


fixed port in ffmpeg/stream-sd.sh script

11000 would work as well, however it's unaffected by stream pause

@dnet good catch, thank you!


Update to better refelct post 1710 Support lifecycle

Proposed change replaces text indicating 12 months of support with text referring to 18 months support beginning with the 1710 CM CB release (Aaron - similar to the change proposed earlier in the other topic )

#sign-off


[Feature request] Add keyboard shortcut support to TextField and other similar widgets

When editing a textfield or any other similar text editing widget, it is not possible to use the keyboard navigation and editing keys that most desktop users are accustomed to. I presume that this also applies to mobile devices that have built-in keyboard support.
Here are a couple of things that are missing:

Pressing the 'delete' key does not remove text in front of the cursor
Arrow key navigation doesn't work
Common key combinations don't work (Ctrl+A to select all, Ctrl+C to copy, Ctrl+V to paste, etc)

flutter --version:
Flutter 1.21.0-1.0.pre • channel unknown • unknown source
Framework • revision f25bd9c55c (6 weeks ago) • 2020-07-14 20:26:01 -0400
Engine • revision 99c2b3a245
Tools • Dart 2.9.0 (build 2.9.0-21.0.dev 20bf2fcf56)

I am not sure if this feature is already in development, but I've checked all of the recently accepted pull requests and didn't find anything similar to this.

Hi @nojusr,
I found a similar open issue, 27880.
Does that sound similar to your request ?
Thanks.

CC @gspencergoog

@darshankawar
yeah, it appears that the issue you mentioned does indeed have the same premise, but i wrote it with the intention of the issue hopefully being put to a higher priority due to the fact that as far as i can tell, the same problem also applies to desktops, which rely much more on keyboard shortcuts than phones or tablets.

This is obsolete; lots of work has happened on editing and shortcuts in the last 3.5 months. Support for shortcuts exist, arrow keys are handled on all desktop platforms, delete should work everywhere.
If you find specific issues in a current version (that aren't already filed), please file new issues for the specific cases. Please include the platform you are reporting against in those issues.


Special Action Time improvements

Fixed cancel button not working
Added Multiplier to info text
Removed Promocode button hover event because it sometimes cleared the message after inputing a real promocode, before being able to read it

It's similar to what I changed in #206. Either one will be a conflict...

It's similar to what I changed in #206. Either one will be a conflict...

Oh yeah, you're right :(
I didn't see your changes.
Be careful: your PR is called Minor Fix and contains a LOT of different things.
When possible, you should create a different branch and PR for each subject. If your branch had been called "Special Action time something", I would have seen it ;)


Create documentation from json schema

https://github.com/adobe/jsonschema2md

Closed with https://github.com/kylebarron/deckgl-style-spec/commit/2be712bd586b2eced104fa270d797fdc58f65c5c, though it's not that pretty

Try this: https://github.com/CesiumGS/wetzel


Trying to get in touch regarding a security issue

Hey there!
I'd like to report a security issue but cannot find contact instructions on your repository.
If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)

from README.md:

If you discover a security vulnerability regarding Nuxt, please send an e-mail to the team via<EMAIL_ADDRESS>All security vulnerabilities will be promptly addressed.

Thanks so much!


Double check implemented matching rules

integrity issues with mappings where two FK are not PK in junction table
cas numbers match conditions (eg. zync)
match for https://commonchemistry.cas.org/results?q=Metaldehyde

@cmutel here are a more detailed notes on the topics above.
integrity issues with mappings where two FK are not PK in junction table
I was not able to reproduce this. In the process of investigating I've added a useful summary of the mappings cardinalities in https://github.com/fjuniorr/flowmapper/commit/7f9fdb55bdd16b72942ed2a9451c891e48dcda4b:
from flowmapper.utils import read_field_mapping, read_flowlist
from flowmapper.flowmap import Flowmap
from flowmapper.flow import Flow

fields = read_field_mapping('config/simapro-ecoinvent.py')
source_flows = [Flow.from_dict(flow, fields['source']) for flow in read_flowlist('data/agribalyse-3.1.1-biosphere.json')]
target_flows = [Flow.from_dict(flow, fields['target']) for flow in read_flowlist('data/ecoinvent-3.7-biosphere.json')]

flowmap = Flowmap(source_flows, target_flows)
flowmap.mappings
flowmap.statistics()

5667 source flows...
4329 target flows...
3422 mappings (59.75% of total).
Mappings cardinalities: {'N:1': 1753, '1:1': 1598, 'N:M': 48, '1:N': 23}

cas numbers match conditions (eg. zync)
In Match - Validated CAS numbers.ipynb CAS numbers that are not valid are discarded. However, in match_identical_cas_numbers if the CAS number and the context are equal, it's considered a match.  Is this behaviour problematic?
match for https://commonchemistry.cas.org/results?q=Metaldehyde
To be honest I don't remember how or why I saw this because I'm not doing this type of verification. We have the match:
  {
    "source": {
      "name": "Metaldehyde (tetramer)",
      "categories": [
        "Emissions to soil",
        "agricultural"
      ],
      "unit": "kg"
    },
    "target": {
      "uuid": "597847df-518f-4bd6-ae50-1de01f2761a4",
      "name": "Metaldehyde",
      "context": "soil/agricultural",
      "unit": "kg"
    },
    "conversion_factor": 1.0,
    "comment": "Minor random name differences"
  }

From SimaProv9.4.csv I saw that the CAS for Metaldehyde (tetramer) is 000108-62-3 while for Metaldehyde (597847df-518f-4bd6-ae50-1de01f2761a4) it's 009002-91-9 which would indicate they are different flows? If that's the case does it make sense to enrich Simapro flows with the CAS number before doing matching with ecoinvent to find similar problems?

@cmutel if we don't need to have 100% correct mappings maybe I can close this until it becomes a problem?

In Match - Validated CAS numbers.ipynb CAS numbers that are not valid are discarded. However, in match_identical_cas_numbers if the CAS number and the context are equal, it's considered a match. Is this behaviour problematic?

 I am fine with however this is currently handled, this should be undefined behaviour. Do two wrongs make a right?

If that's the case does it make sense to enrich Simapro flows with the CAS number before doing matching with ecoinvent to find similar problems?

This is an excellent idea, let's make this an option in the config.

 I am fine with however this is currently handled, this should be undefined behaviour. Do two wrongs make a right?

:laughing:
I will leave this as is then (ie. invalid CAS numbers that are equal it's considered a match)

If that's the case does it make sense to enrich Simapro flows with the CAS number before doing matching with ecoinvent to find similar problems?

This is an excellent idea, let's make this an option in the config.

I've created https://github.com/fjuniorr/flowmapper/issues/74 to track this and I'm closing this issue.


Fix mathdefault input into tex file

This uses the already tested function in the matplotlib library to change the \mathdefault{} function that is put into the labels while plotting in \displaystyle and using the latex inline math environment \(\).

Very nice observation, thank you!


DLLs inside src folder

There are several DLLs inside the src folder of this repository. Some of them are third party libraries that do not fall under the Apache 2.0 license. These files must not be part of this repository, but might be only included in the NuGet package.
Please remove all unnecessary files.

Resolved with
https://github.com/dfensgmbh/biz.dfch.PS.Azure.ServiceBus.Client/commit/79565d8b764c1bc898f578d460c99f0f1523b1d6


Smart Plug v1 - Add MDI icons to sensors missing them

Adds MDI icons to sensors that are missing them.

-For power plug icon, to allow people to update to reflect the type of plug their country uses, adds a substitute for this mdi icon, so they can update that and have their choosen icon/plug used.

@athom-tech Aiden, any chance to review ?


Correcting typo in The Dashboard doc

Simple typo, documentation says "click on the log to return to dashboard" instead of "logo"

Hi Chris. Thanks for catching this and sending a PR!

You're welcome, Alex! Glad to contribute in such a small way.


chore: changes required for leanprover/lean4#2783

These are the changes required for leanprover/lean4#2783. Please review skeptically!

This seems to contain more than just https://github.com/leanprover/lean4/pull/2783 . Should this perhaps be a PR which targets the nightly-testing branch instead? I'm not really sure how the review process for these kind of PRs is supposed to work (or where I should push suggested changes), as they can't be merged as is to main.

We also need to restore a bunch of @[simp] attributes on List.Basic definitions and remove the named equation theorems (or keep them but remove the @[simp] attribute). This is that big attribute [simp] block in Data.List.Init.Lemmas that had to be broken up because of the issue that https://github.com/leanprover/lean4/pull/2783 fixes.

We also need to restore a bunch of @[simp] attributes on List.Basic definitions and remove the named equation theorems (or keep them but remove the @[simp] attribute). This is that big attribute [simp] block in Data.List.Init.Lemmas that had to be broken up because of the issue that leanprover/lean4#2783 fixes.

Could we please defer that? It seems this could be done optionally/later, and I am not keen for this to become a blocker for releasing a new version.

This seems to contain more than just leanprover/lean4#2783 . Should this perhaps be a PR which targets the nightly-testing branch instead? I'm not really sure how the review process for these kind of PRs is supposed to work (or where I should push suggested changes), as they can't be merged as is to main.

I've fix this so it is now relative to nightly-testing-2023-11-06, i.e. the same nightly that the Lean PR was based off. It can't actually be merged as is: I think the right thing to do is just approve, and then when I do a bump PR for main that needs to include this I'll just link to this, and close after the bump PR has been merged.

Closing this in favour of #367


If the locust support tcp client ?

I worte a locust file for tcp client, but I found the stop button on the UI web not work and when I reduce the numbers of users, it also doesn't work.
The following pic is the status that the uses is from 50 to 20.

Thanks!

Could you post the code for your client? If we should have any chance of fixing any potential issue, we need to be able to reproduce the error :).

yes, the attached file code.zip is the tcp client which is simplified.
The vfront_locust.py is the locustfile.
FrontwebServer.py is defined class which is called in  locustfile.
start.sh is the shell script to start locust, you need replace the 'x.x.x.x' to your host.
virtual_health.py is the tcp server which is simplified.
First, you need run the virtual_health.py,
then, sh start.sh
finally, Start new Locust swarm in the web and try to
code.zip
stop or reduce the users.

Also, when I reduce the user, the state of one slave is always hatching instead of running.

 (FrontwebServer.py:101)
Locust (or actually Python) can't handle that, it will block the entire process. You would need to change it the client to be async.

What I actually did in my real recv function is like this:
def _handle_recv(self):
data_body = ""
body_len = 0
handle_body = False
buffersize = 4096
recv_buff = ""
while True:
message_cnt = 0
try:
recvdata = self.sock.recv( buffersize )
logger.debug("Receive from %s:%d,%d bytes" %  (self.addr[0],self.addr[1],len(recvdata)) )
        except socket.timeout, e:
            err = e.args[0]
            if err == 'timed out':
                logger.error('recv timed out, retry later')
                break
            else:
                logger.error(e)
                break
        except socket.error, e:
            logger.error(e)
            break
        else:
            if not recvdata:
                break
            recv_buff += recvdata
            while True:
                if len(recv_buff) == 0:
                    break
                elif handle_body:
                    if len(recv_buff) >= body_len:
                        data_body = recv_buff[:body_len]
                        recv_buff = recv_buff[body_len:]
                        message_cnt = 1
                        body_len = 0
                        handle_body = False
                    else:
                        break
                else:
                    if len(recv_buff) >= 49:
                        data_header = recv_buff[36:49]
                        body_len = self._get_bidding_body_len(data_header)
                        recv_buff = recv_buff[49:]
                        handle_body = True
                    else:
                        break
        if message_cnt == 1:
            break
    return data_body

Will this process block the entire process?  I simplified the recv function in order to explain locust can not reduce the tcp client user.

What I actually did in my real recv function is like this:
def _handle_recv(self):             data_body = ""         body_len = 0         handle_body = False         buffersize = 4096         recv_buff = ""         while True:             message_cnt = 0                         try:                   recvdata = self.sock.recv( buffersize )                 logger.debug("Receive from %s:%d,%d bytes" %  (self.addr[0],self.addr[1],len(recvdata)))              except socket.timeout, e:                 err = e.args[0]                 if err == 'timed out':                     logger.error('recv timed out, retry later')                     break                 else:                     logger.error(e)                     break             except socket.error, e:                 logger.error(e)                 break             else:                 if not recvdata:                     break                 recv_buff += recvdata                 while True:                     if len(recv_buff) == 0:                         break                     elif handle_body:                         if len(recv_buff) >= body_len:                             data_body = recv_buff[:body_len]                             recv_buff = recv_buff[body_len:]                             message_cnt = 1                             body_len = 0                             handle_body = False                         else:                             break                     else:                         if len(recv_buff) >= 49:                             data_header = recv_buff[36:49]                             body_len = self._get_bidding_body_len(data_header)                             recv_buff = recv_buff[49:]                             handle_body = True                         else:                             break             if message_cnt == 1:                 break         return data_body
Will this process block the entire process?  I simplified the recv function in order to explain locust can not reduce the tcp client user and the same to stop press.

What I actually did in my real recv function is like this:

Will this process block the entire process?  I simplified the recv function in order to explain locust can not reduce the tcp client user and the same to stop press.

I have solve this issue, it doesn't matter with locust itself but my locustfile taskset "send_and_recv" is blocking the entire process, and I splite send() and recv() method in taskset, it works, so I think is it because if the gevent work in taskset not in the client you write?

I have solve this issue, it doesn't matter with locust itself but my locustfile taskset "send_and_recv" is blocking the entire process, and I splite send() and recv() method in taskset, it works, so I think is it because if the gevent work in taskset not in the client you write?

I dont quite understand what you mean but I'm happy that you got it to work!