Issue #13: create process to upload metadata for trusted users

references Issue https://github.com/ai-cfia/nachet-metadata-format/issues/13

This looks good to me. However, I'm unsure if the issue lies within GitHub or the code itself, but I feel like some of the code isn't formatted correctly (using shift + alt + f). If you could check that, for Python, there's the Black formatter extension that works well.

The code should already be formatted by black. I'll make an update soon and double check all files

This PR offers a structure to handle all the database interaction and also took the load of responsability from the blob storage that was previously done in the backend. The main objective was to create a process to upload a set of picture directly to both storage entity, which can be accomplished by using upload_picture_set.py. Please also review the doc folder, there is a trusted-user-upload.md that explains the process that was built.

Feel free to create new issues for comments that you feel are not quick fixes.

I've opened an issue about this: https://github.com/ai-cfia/nachet-datastore/issues/22
Other than the error handling all the feedback have been resolved


Added Shell Sort

Added Shell sort in sorting algorithms
#2

Well done but it would be good if you have explained your approach too here...


Feature flag system

Closes #564
https://github.com/saving-satoshi/saving-satoshi-backend/pull/22 should be merged before this PR

hmmm ran into an issue. I completed ch. 1 but am unable to start ch. 2.
https://github.com/saving-satoshi/saving-satoshi/assets/32662508/a7ccab68-00fb-4dd0-98ae-7de5ccb5b163

@ecurrencyhodler just tested this again and going from Chapter 1 to Chapter 2

Ditto. it works!


added Ruby syntax highlighting to .podspec files

Hi,
As the PR title said, I added Ruby syntax highlighting to .podspec files.
It looked like the only change to do was to add the file extension in package.json. Let me know if it needs to be changed anywhere else :-).
disclaimer : I have not tested my changes as I don't know how to build vscode extensions and don't really have time to learn how to. The change seemed simple enough to make.
Let me know if you have any questions.

Yep! Looks good to me 💃

Shipped!


Add support for formatting files on Windows

Resolves #27.
Tested and works with code --extensionDevelopmentPath="…" . on a prisma2 starter project.

Thanks for your PR @kripod! This should work in 0.0.16.
We ended up reusing our getPlatform() logic elsewhere in the codebase: https://github.com/prisma/photonjs/blob/master/packages/get-platform

@matthewmueller Unfortunately, it still doesn't work. An exe file extension should be appended for Windows, as seen here.

Thanks for the heads up! We just confirmed the bug and will fix this ASAP.


Create plan for the week

This week Nameless_Devs will continue working on solution class implementing the required functionality, refactoring the backend to map entities so the user is attached to each resource they created, refactoring upvote button.


Fix quote/fact display for church

The 4th donor now has proper "title" display for quotes and facts.

Fixes https://github.com/oldterns/VileBot/issues/55
@itpun

cough unit test cough

I think its probably better to create unit tests for the whole church section and not just one test for this case. That will probably take awhile and should probably be a separate PR.
As for refactoring of the expression, I think it makes sense to have a method in church called is_top_donor, good call.

Closing due to #139 fixing this issue


Fix bug in GetHistoryMessages

The type of the map in request.Data is map[string]interface, not map[string]int.

There are still some bug exists, but resolved.
https://github.com/star-inc/kaguya_kernel/commit/172403053766658c710e436dcb5d586c3a6d095f
https://github.com/star-inc/kaguya_kernel/commit/d2c93106735a9f28c7547754e9ae336563834c27


chore: update node-sass to 4.9

Upgrading due to material-components/material-components-web-codelabs#30. Enables npm install to work on platforms without python installed.

Codecov Report

Merging #49 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   99.17%   99.17%
=======================================
  Files          18       18
  Lines         606      606
  Branches       49       49
=======================================
  Hits          601      601
  Misses          5        5

Continue to review full report at Codecov.

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


Fix Concurrent Error

Fix Concurrent error for updating status

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

Test name
Commit
Details
Rerun command

gencheck_operator
ff281466c07534d6b7e1c8fbd85b5b0798a5980d
link
/test gencheck_operator

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

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

Test name
Commit
Details
Rerun command

gencheck_operator
25df2dffcad09c67902d6fa2fc03ba699fba25e0
link
/test gencheck_operator

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


List Relation Filter issue just in 2.5.0

Bug description

It fails when I try to filter by any list relation
How to reproduce
build one to many relations and try to get the one by filter the many
user => posts try to get the user by his posts title or anything
DEBUG
  prisma-client Prisma Client call: +1m
  prisma-client prisma.courseContent.findMany({
  prisma-client   where: {
  prisma-client     courseType: 'TLG',
  prisma-client     pressContentXId: {
  prisma-client       endsWith: '-T'
  prisma-client     },
  prisma-client     lessonContents: {
  prisma-client       some: {
  prisma-client         id: {
  prisma-client           gte: 0
  prisma-client         }
  prisma-client       }
  prisma-client     }
  prisma-client   },
  prisma-client   select: {
  prisma-client     id: true,
  prisma-client     title: true,
  prisma-client     grade: true,
  prisma-client     pressContentXId: true,
  prisma-client     courseType: true
  prisma-client   }
  prisma-client }) +0ms
  prisma-client Generated request: +3ms
  prisma-client query {
  prisma-client   findManyCourseContent(where: {
  prisma-client     courseType: {
  prisma-client       equals: "TLG"
  prisma-client     }
  prisma-client     pressContentXId: {
  prisma-client       endsWith: "-T"
  prisma-client     }
  prisma-client     lessonContents: {
  prisma-client       is: {
  prisma-client         some: {
  prisma-client           id: {
  prisma-client             gte: 0
  prisma-client           }
  prisma-client         }
  prisma-client       }
  prisma-client     }
  prisma-client   }) {
  prisma-client     id
  prisma-client     title
  prisma-client     grade
  prisma-client     pressContentXId
  prisma-client     courseType
  prisma-client   }
  prisma-client }
  prisma-client  +0ms
  engine {
  engine   error: PrismaClientKnownRequestError: Failed to validate the query `Error occurred during query validation & transformation:
  engine   Query (object)
  engine     ↳ findManyCourseContent (field)
  engine       ↳ where (argument)
  engine         ↳ CourseContentWhereInput (object)
  engine           ↳ lessonContents (field)
  engine             ↳ LessonContentListRelationFilter (object)
  engine               ↳ is (field)
  engine                 ↳ Field does not exist on enclosing type.` at `.Query.findManyCourseContent.where.CourseContentWhereInput.lessonContents.LessonContentListRelationFilter.is`
  engine       at NodeEngine.graphQLToJSError (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:867:1)
  engine       at /Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:778:1
  engine       at process.result (internal/process/task_queues.js:93:5)
  engine       at PrismaClientFetcher.request (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:1179:15) {
  engine     code: 'P2009',
  engine     meta: {
  engine       query_validation_error: 'Error occurred during query validation & transformation:\n' +
  engine         'Query (object)\n' +
  engine         '  ↳ findManyCourseContent (field)\n' +
  engine         '    ↳ where (argument)\n' +
  engine         '      ↳ CourseContentWhereInput (object)\n' +
  engine         '        ↳ lessonContents (field)\n' +
  engine         '          ↳ LessonContentListRelationFilter (object)\n' +
  engine         '            ↳ is (field)\n' +
  engine         '              ↳ Field does not exist on enclosing type.',
  engine       query_position: '.Query.findManyCourseContent.where.CourseContentWhereInput.lessonContents.LessonContentListRelationFilter.is'
  engine     }
  engine   }
  engine } +1m
  prisma-client Error: Failed to validate the query `Error occurred during query validation & transformation:
  prisma-client Query (object)
  prisma-client   ↳ findManyCourseContent (field)
  prisma-client     ↳ where (argument)
  prisma-client       ↳ CourseContentWhereInput (object)
  prisma-client         ↳ lessonContents (field)
  prisma-client           ↳ LessonContentListRelationFilter (object)
  prisma-client             ↳ is (field)
  prisma-client               ↳ Field does not exist on enclosing type.` at `.Query.findManyCourseContent.where.CourseContentWhereInput.lessonContents.LessonContentListRelationFilter.is`
  prisma-client     at NodeEngine.graphQLToJSError (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:867:1)
  prisma-client     at /Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:778:1
  prisma-client     at process.result (internal/process/task_queues.js:93:5)
  prisma-client     at PrismaClientFetcher.request (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:1179:15) +12ms

Prisma information

Environment & setup

OS: Mac OS
Database: PostgreSQL
Node.js version: v14.7.0
Prisma version:

@prisma/cli          : 2.5.0
Current platform     : darwin
Query Engine         : query-engine 9a670138b1db276001d785a2adcba1584c869d24 (at node_modules/@prisma/cli/query-engine-darwin)
Migration Engine     : migration-engine-cli 9a670138b1db276001d785a2adcba1584c869d24 (at node_modules/@prisma/cli/migration-engine-darwin)
Introspection Engine : introspection-core 9a670138b1db276001d785a2adcba1584c869d24 (at node_modules/@prisma/cli/introspection-engine-darwin)
Format Binary        : prisma-fmt 9a670138b1db276001d785a2adcba1584c869d24 (at node_modules/@prisma/cli/prisma-fmt-darwin)
Studio               : 0.259.0

downgrade to 2.4.1 fixes the issue

Same here (#3341)

@bre7 it's happen even if we do not use insensitiveFilters

I can confirm this regression. Thanks for reporting everyone and thanks @bre7 for sharing an example in the other issue, that was very helpful.
Here is a reproduction which is ready to go: https://github.com/harshit-test-org/prisma-issue-3342

Thanks!
I can also confirm the regression and I'm working on a fix.
We will release a patch when done 😃

Not sure if this is the same issue that's happening to me but when I try to use filters like some or every I get Field does not exist on enclosing type
this is my query:
const users = await context.prisma.user.findMany({
  where: {
    disciplines: {
      some: {
        id: {
          in: [1]
        }
      }
    }
  }
});

prisma version is ^2.5.0 but it's been happening before, not sure on what version it started though.

Could you share your schema.prisma @johhansantana?
You could also try to update to the dev version 2.6.0-dev.8 to try to reproduce, there the fix was published.

@Jolg42 I can try 2.6.0-dev.8 to fix my issue?

@AhmedElywa Yes issue should be fixed in 2.6.0-dev.8 so you can try it, and official 2.5.1 is on its way asap!

there is another issue version 2.5.1-dev.1
  prisma-client Prisma Client call: +192ms
  prisma-client prisma.courseTaking.findOne({
  prisma-client   where: {
  prisma-client     id: 1
  prisma-client   },
  prisma-client   select: {
  prisma-client     id: true,
  prisma-client     lessonTakings: {
  prisma-client       where: {
  prisma-client         OR: [
  prisma-client           {
  prisma-client             assignmentTakings: {
  prisma-client               some: {
  prisma-client                 submittedAt: null,
  prisma-client                 isSkipped: false
  prisma-client               }
  prisma-client             }
  prisma-client           },
  prisma-client           {
  prisma-client             assignedDate: new Date('2020-08-19T10:02:43.353Z')
  prisma-client           },
  prisma-client           {
  prisma-client             assignedDate: new Date('2020-08-19T10:02:43.353Z')
  prisma-client           }
  prisma-client         ]
  prisma-client       },
  prisma-client       select: {
  prisma-client         id: true,
  prisma-client         assignedDate: true,
  prisma-client         day: true,
  prisma-client         lessonContent: {
  prisma-client           select: {
  prisma-client             id: true,
  prisma-client             day: true
  prisma-client           }
  prisma-client         },
  prisma-client         assignmentTakings: {
  prisma-client           select: {
  prisma-client             submittedAt: true,
  prisma-client             isSkipped: true
  prisma-client           }
  prisma-client         }
  prisma-client       }
  prisma-client     }
  prisma-client   }
  prisma-client }) +2ms
  prisma-client Generated request: +0ms
  prisma-client query {
  prisma-client   findOneCourseTaking(where: {
  prisma-client     id: 1
  prisma-client   }) {
  prisma-client     id
  prisma-client     lessonTakings(where: {
  prisma-client       OR: [
  prisma-client         {
  prisma-client           assignmentTakings: {
  prisma-client             some: {
  prisma-client               submittedAt: {
  prisma-client                 equals: null
  prisma-client               }
  prisma-client               isSkipped: {
  prisma-client                 equals: false
  prisma-client               }
  prisma-client             }
  prisma-client           }
  prisma-client         },
  prisma-client         {
  prisma-client           assignedDate: {
  prisma-client             equals: {
  prisma-client               equals: "2020-08-19T10:02:43.353Z"
  prisma-client             }
  prisma-client           }
  prisma-client         },
  prisma-client         {
  prisma-client           assignedDate: {
  prisma-client             equals: {
  prisma-client               equals: "2020-08-19T10:02:43.353Z"
  prisma-client             }
  prisma-client           }
  prisma-client         }
  prisma-client       ]
  prisma-client     }) {
  prisma-client       id
  prisma-client       assignedDate
  prisma-client       day
  prisma-client       lessonContent {
  prisma-client         id
  prisma-client         day
  prisma-client       }
  prisma-client       assignmentTakings {
  prisma-client         submittedAt
  prisma-client         isSkipped
  prisma-client       }
  prisma-client     }
  prisma-client   }
  prisma-client }
  prisma-client  +1ms
  engine {
  engine   error: PrismaClientKnownRequestError: Failed to validate the query `Error occurred during query validation & transformation:
  engine   Query (object)
  engine     ↳ findOneCourseTaking (field)
  engine       ↳ CourseTaking (object)
  engine         ↳ lessonTakings (field)
  engine           ↳ where (argument)
  engine             ↳ LessonTakingWhereInput (object)
  engine               ↳ OR (field)
  engine                 ↳ LessonTakingWhereInput (object)
  engine                   ↳ assignedDate (field)
  engine                     ↳ DateTimeNullableFilter (object)
  engine                       ↳ equals (field)
  engine                         ↳ Value types mismatch. Have: Object({"equals": String("2020-08-19T10:02:43.353Z")}), want: Scalar(DateTime)` at `.Query.findOneCourseTaking.CourseTaking.lessonTakings.where.LessonTakingWhereInput.OR.LessonTakingWhereInput.assignedDate.DateTimeNullableFilter.equals`
  engine       at NodeEngine.graphQLToJSError (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:867:1)
  engine       at /Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:778:1
  engine       at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  engine     code: 'P2009',
  engine     meta: {
  engine       query_validation_error: 'Error occurred during query validation & transformation:\n' +
  engine         'Query (object)\n' +
  engine         '  ↳ findOneCourseTaking (field)\n' +
  engine         '    ↳ CourseTaking (object)\n' +
  engine         '      ↳ lessonTakings (field)\n' +
  engine         '        ↳ where (argument)\n' +
  engine         '          ↳ LessonTakingWhereInput (object)\n' +
  engine         '            ↳ OR (field)\n' +
  engine         '              ↳ LessonTakingWhereInput (object)\n' +
  engine         '                ↳ assignedDate (field)\n' +
  engine         '                  ↳ DateTimeNullableFilter (object)\n' +
  engine         '                    ↳ equals (field)\n' +
  engine         '                      ↳ Value types mismatch. Have: Object({"equals": String("2020-08-19T10:02:43.353Z")}), want: Scalar(DateTime)',
  engine       query_position: '.Query.findOneCourseTaking.CourseTaking.lessonTakings.where.LessonTakingWhereInput.OR.LessonTakingWhereInput.assignedDate.DateTimeNullableFilter.equals'
  engine     }
  engine   }
  engine } +320ms
  prisma-client Error: Failed to validate the query `Error occurred during query validation & transformation:
  prisma-client Query (object)
  prisma-client   ↳ findOneCourseTaking (field)
  prisma-client     ↳ CourseTaking (object)
  prisma-client       ↳ lessonTakings (field)
  prisma-client         ↳ where (argument)
  prisma-client           ↳ LessonTakingWhereInput (object)
  prisma-client             ↳ OR (field)
  prisma-client               ↳ LessonTakingWhereInput (object)
  prisma-client                 ↳ assignedDate (field)
  prisma-client                   ↳ DateTimeNullableFilter (object)
  prisma-client                     ↳ equals (field)
  prisma-client                       ↳ Value types mismatch. Have: Object({"equals": String("2020-08-19T10:02:43.353Z")}), want: Scalar(DateTime)` at `.Query.findOneCourseTaking.CourseTaking.lessonTakings.where.LessonTakingWhereInput.OR.LessonTakingWhereInput.assignedDate.DateTimeNullableFilter.equals`
  prisma-client     at NodeEngine.graphQLToJSError (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:867:1)
  prisma-client     at /Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:778:1
  prisma-client     at processTicksAndRejections (internal/process/task_queues.js:93:5) +4ms

try to update @prisma/cli and @prisma/client to the same version. I had the issue and fixed it with that solution.

@AhmedElywa can you provide a minimal reproduction for the issue?

Could you share your schema.prisma @johhansantana?
You could also try to update to the dev version 2.6.0-dev.8 to try to reproduce, there the fix was published.

this update fixes my issue. thank you!

@pantharshit00 see this
my request
  prisma-client           {
  prisma-client             assignedDate: new Date('2020-08-19T10:02:43.353Z')
  prisma-client           },
  prisma-client           {
  prisma-client             assignedDate: new Date('2020-08-19T10:02:43.353Z')
  prisma-client           }

the generated query has two nested equals
  prisma-client         {
  prisma-client           assignedDate: {
  prisma-client             equals: {
  prisma-client               equals: "2020-08-19T10:02:43.353Z"
  prisma-client             }
  prisma-client           }
  prisma-client         },
  prisma-client         {
  prisma-client           assignedDate: {
  prisma-client             equals: {
  prisma-client               equals: "2020-08-19T10:02:43.353Z"
  prisma-client             }
  prisma-client           }
  prisma-client         }

if I searched by
  prisma-client           {
  prisma-client             assignedDate: {
  prisma-client               equals: new Date('2020-08-19T10:12:53.857Z')
  prisma-client             }
  prisma-client           },
  prisma-client           {
  prisma-client             assignedDate: {
  prisma-client               equals: new Date('2020-08-19T10:12:53.857Z')
  prisma-client             }
  prisma-client           }

the generated query will be the same
  prisma-client         {
  prisma-client           assignedDate: {
  prisma-client             equals: "2020-08-19T10:12:53.857Z"
  prisma-client           }
  prisma-client         },
  prisma-client         {
  prisma-client           assignedDate: {
  prisma-client             equals: "2020-08-19T10:12:53.857Z"
  prisma-client           }
  prisma-client         }

so the issue when I try to filter date and use filter direct

@pantharshit00 Here is a reproduction which is ready to go:
https://github.com/AhmedElywa/prisma-issue-3342

I'm still seeing issues on 2.6.0-dev.8. I can try to put together a minimal reproduction if it helps.
prisma-client Client Version 2.6.0-dev.8 +41ms
...
  console.error
      prisma-client query {
      prisma-client   findManyLocation(where: {
      prisma-client     company: null
      prisma-client   }) {
      prisma-client     id
      prisma-client     name
      prisma-client     companyId
      prisma-client   }
      prisma-client }
      prisma-client  +1ms

      at Function.newDebug [as log] (.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/debug/dist/index.js:59:1)
      at logFn (.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/generated-client/app/src/node_modules/.pnpm/debug@4.1.1/node_modules/debug/src/common.js:114:1)
      at n (.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/debug/dist/index.js:44:1)
      at NewPrismaClient.debug [as _executeRequest] (.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/generated-client/src/runtime/getPrismaClient.ts:853:9)
      at _executeRequest (.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/generated-client/src/runtime/getPrismaClient.ts:743:14)
      at NewPrismaClient.runInAsyncScope [as _request] (.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/generated-client/src/runtime/getPrismaClient.ts:742:23)

  console.error
      prisma-client Error: Missing a required value at `Query.findManyLocation.where.LocationWhereInput.company`
      prisma-client     at NodeEngine.graphQLToJSError (/Users/timleslie/src/keystone-5/.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/engine-core/dist/NodeEngine.js:867:1)
      prisma-client     at /Users/timleslie/src/keystone-5/.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/engine-core/dist/NodeEngine.js:778:1
      prisma-client     at processTicksAndRejections (internal/process/task_queues.js:93:5)
      prisma-client     at PrismaClientFetcher.result [as request] (/Users/timleslie/src/keystone-5/.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/generated-client/src/runtime/getPrismaClient.ts:1179:15)
      prisma-client     at PrismaListAdapter.itemsQuery (/Users/timleslie/src/keystone-5/packages/keystone/lib/adapters/index.js:139:21)
      prisma-client     at List._itemsQuery (/Users/timleslie/src/keystone-5/packages/keystone/lib/ListTypes/list.js:569:21)
      prisma-client     at async Promise.all (index 0)
      prisma-client     at /Users/timleslie/src/keystone-5/api-tests/relationships/crud/one-to-many.test.js:142:38
      prisma-client     at Object.<anonymous> (/Users/timleslie/src/keystone-5/packages/test-utils/lib/test-utils.js:173:9) +4ms

      at Function.newDebug [as log] (.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/debug/dist/index.js:59:1)
      at logFn (.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/generated-client/app/src/node_modules/.pnpm/debug@4.1.1/node_modules/debug/src/common.js:114:1)
      at n (.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/debug/dist/index.js:44:1)
      at PrismaClientFetcher.debug [as request] (.api-test-prisma-clients/185b1e0030cdcbbbd7d9703be350cb7c9dc3fca83952c635742200af400724c3/generated-client/src/runtime/getPrismaClient.ts:1197:7)

2.5.1-dev.1 is newer I think

I get same issue @timleslie have if i try to filter by equals null or not null in 2.5.0-dev.1

Thanks for your reproductions with latest dev 😃
We are currently checking what's happening there, I'll post updates as soon as possible!

@AhmedElywa @timleslie 2.5.1-dev.3 should fix your reported problems 😃

@Jolg42 the issue in my reproduction is fixed but I still have another issue but it's complicated and I can't reproduction it. I will try again to reproduction this issue
  prisma-client Prisma Client call: +12s
  prisma-client prisma.assignmentTaking.findMany({
  prisma-client   where: {
  prisma-client     OR: [
  prisma-client       {
  prisma-client         OR: [
  prisma-client           {
  prisma-client             isGradeable: {
  prisma-client               equals: null
  prisma-client             },
  prisma-client             assignmentContent: {
  prisma-client               isGradeable: {
  prisma-client                 equals: true
  prisma-client               }
  prisma-client             }
  prisma-client           },
  prisma-client           {
  prisma-client             isGradeable: {
  prisma-client               equals: true
  prisma-client             }
  prisma-client           }
  prisma-client         ]
  prisma-client       },
  prisma-client       {
  prisma-client         OR: [
  prisma-client           {
  prisma-client             type: {
  prisma-client               equals: null
  prisma-client             },
  prisma-client             assignmentContent: {
  prisma-client               parentInstructions: {
  prisma-client                 not: null
  prisma-client               },
  prisma-client               type: {
  prisma-client                 equals: 'TSK'
  prisma-client               }
  prisma-client             }
  prisma-client           },
  prisma-client           {
  prisma-client             AND: [
  prisma-client               {
  prisma-client                 type: {
  prisma-client                   not: null
  prisma-client                 }
  prisma-client               },
  prisma-client               {
  prisma-client                 type: {
  prisma-client                   equals: 'TSK'
  prisma-client                 }
  prisma-client               }
  prisma-client             ],
  prisma-client             OR: [
  prisma-client               {
  prisma-client                 parentInstructions: {
  prisma-client                   not: null
  prisma-client                 }
  prisma-client               },
  prisma-client               {
  prisma-client                 assignmentContent: {
  prisma-client                   parentInstructions: {
  prisma-client                     not: null
  prisma-client                   }
  prisma-client                 }
  prisma-client               }
  prisma-client             ]
  prisma-client           }
  prisma-client         ]
  prisma-client       }
  prisma-client     ],
  prisma-client     isDone: {
  prisma-client       equals: false
  prisma-client     },
  prisma-client     submittedAt: {
  prisma-client       equals: null
  prisma-client     },
  prisma-client     lessonTaking: {
  prisma-client       assignedDate: {
  prisma-client         gte: new Date('2020-08-20T12:37:13.753Z')
  prisma-client       },
  prisma-client       courseTaking: {
  prisma-client         status: {
  prisma-client           equals: 'Assigned'
  prisma-client         },
  prisma-client         student: {
  prisma-client           id: {
  prisma-client             equals: 1
  prisma-client           }
  prisma-client         }
  prisma-client       }
  prisma-client     }
  prisma-client   },
  prisma-client   orderBy: [
  prisma-client     {
  prisma-client       submittedAt: 'desc'
  prisma-client     }
  prisma-client   ],
  prisma-client   take: 10,
  prisma-client   select: {
  prisma-client     id: true,
  prisma-client     startedAt: true,
  prisma-client     submittedAt: true,
  prisma-client     isSkipped: true,
  prisma-client     isDone: true,
  prisma-client     numericGrade: true,
  prisma-client     totalPoints: true,
  prisma-client     maxPoints: true,
  prisma-client     hasBeenGraded: true,
  prisma-client     canBeRetaken: true,
  prisma-client     isGradeable: true,
  prisma-client     order: true,
  prisma-client     parentInstructions: true,
  prisma-client     title: true,
  prisma-client     type: true,
  prisma-client     lessonTaking: {
  prisma-client       select: {
  prisma-client         id: true,
  prisma-client         assignedDate: true,
  prisma-client         courseTaking: {
  prisma-client           select: {
  prisma-client             id: true,
  prisma-client             student: {
  prisma-client               select: {
  prisma-client                 id: true
  prisma-client               }
  prisma-client             },
  prisma-client             courseContent: {
  prisma-client               select: {
  prisma-client                 id: true
  prisma-client               }
  prisma-client             }
  prisma-client           }
  prisma-client         }
  prisma-client       }
  prisma-client     },
  prisma-client     assignmentContent: {
  prisma-client       select: {
  prisma-client         id: true,
  prisma-client         title: true,
  prisma-client         parentInstructions: true,
  prisma-client         label: true,
  prisma-client         type: true,
  prisma-client         link: true,
  prisma-client         isAssessment: true,
  prisma-client         lessonDayXId: true,
  prisma-client         totalPoints: true,
  prisma-client         feedbackType: true,
  prisma-client         isOptional: true,
  prisma-client         order: true,
  prisma-client         canBeRetaken: true,
  prisma-client         isGradeable: true,
  prisma-client         parentLink: true,
  prisma-client         parentLinkLabel: true,
  prisma-client         studentLink: true,
  prisma-client         studentLinkLabel: true,
  prisma-client         parentExternalLink: true,
  prisma-client         parentExternalLinkLabel: true,
  prisma-client         studentExternalLink: true,
  prisma-client         studentExternalLinkLabel: true,
  prisma-client         isVideo: true
  prisma-client       }
  prisma-client     }
  prisma-client   }
  prisma-client }) +2ms
  prisma-client Generated request: +4ms
  prisma-client query {
  prisma-client   findManyAssignmentTaking(
  prisma-client     where: {
  prisma-client       OR: [
  prisma-client         {
  prisma-client           OR: [
  prisma-client             {
  prisma-client               isGradeable: {
  prisma-client                 equals: null
  prisma-client               }
  prisma-client               assignmentContent: {
  prisma-client                 is: {
  prisma-client                   isGradeable: {
  prisma-client                     equals: true
  prisma-client                   }
  prisma-client                 }
  prisma-client               }
  prisma-client             },
  prisma-client             {
  prisma-client               isGradeable: {
  prisma-client                 equals: true
  prisma-client               }
  prisma-client             }
  prisma-client           ]
  prisma-client         },
  prisma-client         {
  prisma-client           OR: [
  prisma-client             {
  prisma-client               type: {
  prisma-client                 equals: null
  prisma-client               }
  prisma-client               assignmentContent: {
  prisma-client                 is: {
  prisma-client                   parentInstructions: {
  prisma-client                     not: null
  prisma-client                   }
  prisma-client                   type: {
  prisma-client                     equals: TSK
  prisma-client                   }
  prisma-client                 }
  prisma-client               }
  prisma-client             },
  prisma-client             {
  prisma-client               AND: [
  prisma-client                 {
  prisma-client                   type: {
  prisma-client                     not: null
  prisma-client                   }
  prisma-client                 },
  prisma-client                 {
  prisma-client                   type: {
  prisma-client                     equals: TSK
  prisma-client                   }
  prisma-client                 }
  prisma-client               ]
  prisma-client               OR: [
  prisma-client                 {
  prisma-client                   parentInstructions: {
  prisma-client                     not: null
  prisma-client                   }
  prisma-client                 },
  prisma-client                 {
  prisma-client                   assignmentContent: {
  prisma-client                     is: {
  prisma-client                       parentInstructions: {
  prisma-client                         not: null
  prisma-client                       }
  prisma-client                     }
  prisma-client                   }
  prisma-client                 }
  prisma-client               ]
  prisma-client             }
  prisma-client           ]
  prisma-client         }
  prisma-client       ]
  prisma-client       isDone: {
  prisma-client         equals: false
  prisma-client       }
  prisma-client       submittedAt: {
  prisma-client         equals: null
  prisma-client       }
  prisma-client       lessonTaking: {
  prisma-client         is: {
  prisma-client           assignedDate: {
  prisma-client             gte: "2020-08-20T12:37:13.753Z"
  prisma-client           }
  prisma-client           courseTaking: {
  prisma-client             is: {
  prisma-client               status: {
  prisma-client                 equals: Assigned
  prisma-client               }
  prisma-client               student: {
  prisma-client                 is: {
  prisma-client                   id: {
  prisma-client                     equals: 1
  prisma-client                   }
  prisma-client                 }
  prisma-client               }
  prisma-client             }
  prisma-client           }
  prisma-client         }
  prisma-client       }
  prisma-client     }
  prisma-client     orderBy: [
  prisma-client       {
  prisma-client         submittedAt: desc
  prisma-client       }
  prisma-client     ]
  prisma-client     take: 10
  prisma-client   ) {
  prisma-client     id
  prisma-client     startedAt
  prisma-client     submittedAt
  prisma-client     isSkipped
  prisma-client     isDone
  prisma-client     numericGrade
  prisma-client     totalPoints
  prisma-client     maxPoints
  prisma-client     hasBeenGraded
  prisma-client     canBeRetaken
  prisma-client     isGradeable
  prisma-client     order
  prisma-client     parentInstructions
  prisma-client     title
  prisma-client     type
  prisma-client     lessonTaking {
  prisma-client       id
  prisma-client       assignedDate
  prisma-client       courseTaking {
  prisma-client         id
  prisma-client         student {
  prisma-client           id
  prisma-client         }
  prisma-client         courseContent {
  prisma-client           id
  prisma-client         }
  prisma-client       }
  prisma-client     }
  prisma-client     assignmentContent {
  prisma-client       id
  prisma-client       title
  prisma-client       parentInstructions
  prisma-client       label
  prisma-client       type
  prisma-client       link
  prisma-client       isAssessment
  prisma-client       lessonDayXId
  prisma-client       totalPoints
  prisma-client       feedbackType
  prisma-client       isOptional
  prisma-client       order
  prisma-client       canBeRetaken
  prisma-client       isGradeable
  prisma-client       parentLink
  prisma-client       parentLinkLabel
  prisma-client       studentLink
  prisma-client       studentLinkLabel
  prisma-client       parentExternalLink
  prisma-client       parentExternalLinkLabel
  prisma-client       studentExternalLink
  prisma-client       studentExternalLinkLabel
  prisma-client       isVideo
  prisma-client     }
  prisma-client   }
  prisma-client }
  prisma-client  +1ms
  engine { cwd: '/Users/ahmed/Sites/homeschool_hub/server/gql/prisma' } +0ms
  prisma-client Prisma Client call: +5ms
  prisma-client prisma.assignmentTaking.aggregate({
  prisma-client   where: {
  prisma-client     OR: [
  prisma-client       {
  prisma-client         OR: [
  prisma-client           {
  prisma-client             isGradeable: {
  prisma-client               equals: null
  prisma-client             },
  prisma-client             assignmentContent: {
  prisma-client               isGradeable: {
  prisma-client                 equals: true
  prisma-client               }
  prisma-client             }
  prisma-client           },
  prisma-client           {
  prisma-client             isGradeable: {
  prisma-client               equals: true
  prisma-client             }
  prisma-client           }
  prisma-client         ]
  prisma-client       },
  prisma-client       {
  prisma-client         OR: [
  prisma-client           {
  prisma-client             type: {
  prisma-client               equals: null
  prisma-client             },
  prisma-client             assignmentContent: {
  prisma-client               parentInstructions: {
  prisma-client                 not: null
  prisma-client               },
  prisma-client               type: {
  prisma-client                 equals: 'TSK'
  prisma-client               }
  prisma-client             }
  prisma-client           },
  prisma-client           {
  prisma-client             AND: [
  prisma-client               {
  prisma-client                 type: {
  prisma-client                   not: null
  prisma-client                 }
  prisma-client               },
  prisma-client               {
  prisma-client                 type: {
  prisma-client                   equals: 'TSK'
  prisma-client                 }
  prisma-client               }
  prisma-client             ],
  prisma-client             OR: [
  prisma-client               {
  prisma-client                 parentInstructions: {
  prisma-client                   not: null
  prisma-client                 }
  prisma-client               },
  prisma-client               {
  prisma-client                 assignmentContent: {
  prisma-client                   parentInstructions: {
  prisma-client                     not: null
  prisma-client                   }
  prisma-client                 }
  prisma-client               }
  prisma-client             ]
  prisma-client           }
  prisma-client         ]
  prisma-client       }
  prisma-client     ],
  prisma-client     isDone: {
  prisma-client       equals: false
  prisma-client     },
  prisma-client     submittedAt: {
  prisma-client       equals: null
  prisma-client     },
  prisma-client     lessonTaking: {
  prisma-client       assignedDate: {
  prisma-client         gte: new Date('2020-08-20T12:37:13.753Z')
  prisma-client       },
  prisma-client       courseTaking: {
  prisma-client         status: {
  prisma-client           equals: 'Assigned'
  prisma-client         },
  prisma-client         student: {
  prisma-client           id: {
  prisma-client             equals: 1
  prisma-client           }
  prisma-client         }
  prisma-client       }
  prisma-client     }
  prisma-client   },
  prisma-client   select: {
  prisma-client     count: true
  prisma-client   }
  prisma-client }) +0ms
  prisma-client Generated request: +3ms
  prisma-client query {
  prisma-client   aggregateAssignmentTaking(where: {
  prisma-client     OR: [
  prisma-client       {
  prisma-client         OR: [
  prisma-client           {
  prisma-client             isGradeable: {
  prisma-client               equals: null
  prisma-client             }
  prisma-client             assignmentContent: {
  prisma-client               is: {
  prisma-client                 isGradeable: {
  prisma-client                   equals: true
  prisma-client                 }
  prisma-client               }
  prisma-client             }
  prisma-client           },
  prisma-client           {
  prisma-client             isGradeable: {
  prisma-client               equals: true
  prisma-client             }
  prisma-client           }
  prisma-client         ]
  prisma-client       },
  prisma-client       {
  prisma-client         OR: [
  prisma-client           {
  prisma-client             type: {
  prisma-client               equals: null
  prisma-client             }
  prisma-client             assignmentContent: {
  prisma-client               is: {
  prisma-client                 parentInstructions: {
  prisma-client                   not: null
  prisma-client                 }
  prisma-client                 type: {
  prisma-client                   equals: TSK
  prisma-client                 }
  prisma-client               }
  prisma-client             }
  prisma-client           },
  prisma-client           {
  prisma-client             AND: [
  prisma-client               {
  prisma-client                 type: {
  prisma-client                   not: null
  prisma-client                 }
  prisma-client               },
  prisma-client               {
  prisma-client                 type: {
  prisma-client                   equals: TSK
  prisma-client                 }
  prisma-client               }
  prisma-client             ]
  prisma-client             OR: [
  prisma-client               {
  prisma-client                 parentInstructions: {
  prisma-client                   not: null
  prisma-client                 }
  prisma-client               },
  prisma-client               {
  prisma-client                 assignmentContent: {
  prisma-client                   is: {
  prisma-client                     parentInstructions: {
  prisma-client                       not: null
  prisma-client                     }
  prisma-client                   }
  prisma-client                 }
  prisma-client               }
  prisma-client             ]
  prisma-client           }
  prisma-client         ]
  prisma-client       }
  prisma-client     ]
  prisma-client     isDone: {
  prisma-client       equals: false
  prisma-client     }
  prisma-client     submittedAt: {
  prisma-client       equals: null
  prisma-client     }
  prisma-client     lessonTaking: {
  prisma-client       is: {
  prisma-client         assignedDate: {
  prisma-client           gte: "2020-08-20T12:37:13.753Z"
  prisma-client         }
  prisma-client         courseTaking: {
  prisma-client           is: {
  prisma-client             status: {
  prisma-client               equals: Assigned
  prisma-client             }
  prisma-client             student: {
  prisma-client               is: {
  prisma-client                 id: {
  prisma-client                   equals: 1
  prisma-client                 }
  prisma-client               }
  prisma-client             }
  prisma-client           }
  prisma-client         }
  prisma-client       }
  prisma-client     }
  prisma-client   }) {
  prisma-client     count
  prisma-client   }
  prisma-client }
  prisma-client  +0ms
  engine {
  engine   dotPrismaPath: '/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/.prisma/client/query-engine-darwin'
  engine } +7ms
  plusX Execution permissions of /Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/.prisma/client/query-engine-darwin are fine +0ms
  engine { flags: [ '--enable-raw-queries' ] } +6ms
  engine port: 56693 +1ms
  engine stdout {
  timestamp: 'Aug 20 14:37:13.991',
  level: 'INFO',
  target: 'quaint::pooled',
  fields: { message: 'Starting a postgresql pool with 9 connections.' }
} +49ms
  engine stdout {
  timestamp: 'Aug 20 14:37:14.010',
  level: 'INFO',
  target: 'query_engine::server',
  fields: { message: 'Started http server' }
} +18ms
  prisma-client Client Version 2.5.1-dev.3 +79ms
  prisma-client Engine Version 9a670138b1db276001d785a2adcba1584c869d24 +0ms
  engine {
  engine   error: PrismaClientKnownRequestError: Missing a required value at `Query.findManyAssignmentTaking.where.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.assignmentContent.AssignmentContentRelationFilter.is.AssignmentContentWhereInput.parentInstructions.StringNullableFilter.not`
  engine       at NodeEngine.graphQLToJSError (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:867:1)
  engine       at /Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:778:1
  engine       at process.result (internal/process/task_queues.js:93:5)
  engine       at PrismaClientFetcher.request (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:1179:15)
  engine       at middleware (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/graphql-shield/src/generator.ts:70:16) {
  engine     code: 'P2012',
  engine     meta: {
  engine       path: 'Query.findManyAssignmentTaking.where.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.assignmentContent.AssignmentContentRelationFilter.is.AssignmentContentWhereInput.parentInstructions.StringNullableFilter.not'
  engine     }
  engine   }
  engine } +28ms
  prisma-client Error: Missing a required value at `Query.findManyAssignmentTaking.where.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.assignmentContent.AssignmentContentRelationFilter.is.AssignmentContentWhereInput.parentInstructions.StringNullableFilter.not`
  prisma-client     at NodeEngine.graphQLToJSError (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:867:1)
  prisma-client     at /Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:778:1
  prisma-client     at process.result (internal/process/task_queues.js:93:5)
  prisma-client     at PrismaClientFetcher.request (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:1179:15)
  prisma-client     at middleware (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/graphql-shield/src/generator.ts:70:16) +28ms
  engine {
  engine   error: PrismaClientKnownRequestError: Missing a required value at `Query.aggregateAssignmentTaking.where.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.assignmentContent.AssignmentContentRelationFilter.is.AssignmentContentWhereInput.parentInstructions.StringNullableFilter.not`
  engine       at NodeEngine.graphQLToJSError (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:867:1)
  engine       at /Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:778:1
  engine       at process.result (internal/process/task_queues.js:93:5)
  engine       at PrismaClientFetcher.request (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:1179:15)
  engine       at middleware (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/graphql-shield/src/generator.ts:70:16) {
  engine     code: 'P2012',
  engine     meta: {
  engine       path: 'Query.aggregateAssignmentTaking.where.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.assignmentContent.AssignmentContentRelationFilter.is.AssignmentContentWhereInput.parentInstructions.StringNullableFilter.not'
  engine     }
  engine   }
  engine } +9ms
  prisma-client Error: Missing a required value at `Query.aggregateAssignmentTaking.where.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.OR.AssignmentTakingWhereInput.assignmentContent.AssignmentContentRelationFilter.is.AssignmentContentWhereInput.parentInstructions.StringNullableFilter.not`
  prisma-client     at NodeEngine.graphQLToJSError (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:867:1)
  prisma-client     at /Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/engine-core/dist/NodeEngine.js:778:1
  prisma-client     at process.result (internal/process/task_queues.js:93:5)
  prisma-client     at PrismaClientFetcher.request (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:1179:15)
  prisma-client     at middleware (/Users/ahmed/Sites/homeschool_hub/server/gql/node_modules/graphql-shield/src/generator.ts:70:16) +8ms

@Jolg42 updated my example https://github.com/AhmedElywa/prisma-issue-3342 to reproduction my issue with {not: null} filter for string fields

@Jolg42 updated my example AhmedElywa/prisma-issue-3342 to reproduction my issue with {not: null} filter for string fields

@AhmedElywa this should be fixed in 2.5.1-dev.4 if you could confirm 😃 Thanks again!

@Jolg42 yes I can confirm that dev.4 fix this issue.
Sorry but there is a new issue updated my example https://github.com/AhmedElywa/prisma-issue-3342
where: {
      OR: [
        {
          date: { not: null },
        },
      ],
    },

@Jolg42 yes I can confirm that dev.4 fix this issue.
Sorry but there is a new issue updated my example AhmedElywa/prisma-issue-3342
where: {
      OR: [
        {
          date: { not: null },
        },
      ],
    },

@AhmedElywa this should be fixed in 2.5.1-dev.5 😃

Everything is good now you can close this issue

I have the same issue and I can confirm that 2.5.1-dev.5 and 2.6.0-dev.9 fixes the issue.
thank you all 🙏

You can now use the official 2.5.1 patch 🎊

Can confirm that the 2.5.1 release fixes the issue for me 🚀


Sorting doesn't seem to work

I found this example built with ItemsJs an Vue but sorting doesn't work. Could you help me to see what is the problem?
https://jsfiddle.net/cigol/0ef9qeos/174/
Thank you!

Oops, now I see that in itemsjs.search() is missing the sort option.


Error

When I click authorize it redirects me back and then I receive:
{"errorType":"Error","errorMessage":"Failed to get user access token","trace":["Error: Failed to get user access token","    at Runtime.exports.handler (/var/task/src/func/oauth-callback.js:30:19)","    at processTicksAndRejections (internal/process/task_queues.js:97:5)"]}

This was Discord api issue


Notebooks with Damping, PML and HABC absorbing boudary conditions.

Great work here! This is going to be a fantastic contribution.
This is not a formal review, but as someone who recently contributed some notebooks, I can suggest a couple things that might get this work more in line.

these should be under examples/seismic. Not sure where, but ill suggest examples/seismic/abc for absorbing boundary condition? Possibly need a more descriptive name for the directory.
images should all be generated inline in the notebooks, this is about reproducible research
delete image sub-directories
broken links in your toc notebook. I suggest you convert description_of_notebooks.ipynb to a README.md in the directory with links to the notebooks there (you can see examples/seismic/skew_self_adjoint for a go-by. I kind of think other directories ought to have the same thing, but Im new around here ...
use markdown header syntax more for headings. For example in the introduction nb, there are lot of cells that go by without much in the way of titles/headings. I think it would benefit from more quantized descriptions.
I think it is standard practice to not include author names, but it may be OK to include the institution (I am just guessing here, but Chevron's recent contribution does have attribution to Chevron but no author names)
you might consider organizing so you have numerical filenames, like you see in the other example directories. 01_damping, 02_PML, etc.
increase the size of the images, in particular the ones similar to cell 27 in the introduction. if you cant do that directly with "graph2d" I think you should dig into what that method does and do it yourself with figure(figsize=(x,y)) much larger. This is really the focal point of the notebooks so splash it out there.
I think your references would benefit from being links to DOI for the journals
I would really love to see runtime analysis for the different types of ABC for your baked in problem or another one. You could even make that a sort of bar chart with time to finish for each of these methods.
I would also like to see a single plot for RMS error. One way to compute the error free data would be to extend the boundaries far enough away there are no boundary reflections for the reference data. Then you can compute RMS error relative the reference data.

Again, great work. This are my quick suggestions based on having recently submitted some notebooks. Cheers

Hi @mloubout. In Devito's Slack you said me to make some changes on the notebooks. One of these changes is:

The model is quite massive and the examples should be made smaller so that can be integrated into CI and run in decent time with limited resources.

Can you help me with what kind of tests are better for these notebooks? In the tests we presented, what changes could be made?
Thanks!

I can see several .png files that I guess are not used anywhere? The results should be reproducible and created from inside the notebooks. Is that happening?
Also can we rename notebooks on 2-number indexing? Instead of 1_intro, 2_damping....to .... 01_intreo..., 02_damp.. ,03_pml.ipynb ?
The same for source wavelet... you can just use src.show() for example and delete source.png.
For example one should be able to fully reproduce all images in notebook 5 without parsing any pngs except of course from the ones presenting pure theoretic/hypothesis stuff like region/domain ones...However those can be plotted as well.

@georgebisbas Answering your questions:

Some .png figures were placed to reduce the number of functions inside the notebooks. All the figures are used in some point of some notebook. The results can be reproducible and created from inside the notebooks, but we avoid this for the reason that i said before.

Rename the files is a modification OK!

For source wavelet I can use the comand src.show(), I will change this.

In the notebook 5 are comparative results and I did'nt create the functions that create this results in these notebooks, to avoid many functions inside the notebooks. The reproduce this results inside the notebooks we need to run the notebooks, save the specifc files (displacement and receivers). I think that much work for the users and many files in directorie.

@felipeaugustogudes I'm about to look through the notebooks and leave some comments now - but have you looked into the various ci failures that are occurring?

@rhodrin Hello! Yes, I knowed that there are many ci faliures. I followed all the suggestions of Devito's team to improve these notebooks. Now, I think, that is the moments for deep corrections to Notebooks are in the format that Devito's team can be use too. I waiting for this corrections.

@felipeaugustogudes It would also, I think, adding a little more introduction to your first notebook and referencing the relevant existing seismic tutorials where necessary.

@felipeaugustogudes Very nice set of notebooks thanks. Left some comments above.

@rhodrin I appreciate the review you did. I left some questions about the comments you made, if you can answer them I will be grateful.

@felipeaugustogudes Just answered the remaining questions above. I think the main thing now is to sort out the CI issues, can you remind me where you are with that?

@rhodrin I follow your suggestions about the configurations in the tutorials.yml and I tried to create a new commit with these modifications but the errors happened again.

@rhodrin I follow your suggestions about the configurations in the tutorials.yml and I tried to create a new commit with these modifications but the errors happened again.

Did you take a look at the logs yet and try to debug the problems?

@rhodrin Yes, but I don't know what is necessary to do to correct this part in CI.
I copied the log results for "Jupyter Notebooks / tutos-osx-gcc-py37 (pull_request)" in the tests that were performed during the creation of the commit. The logs are attached.
log1.txt
log2.txt
log3.txt
log4.txt

@FabioLuporini Hi! In fact I have included in all cells that have some kind of code in Python Devito the #NBVAL_IGNORE_OUTPUT flag. The problem was that the CI indicated cells starting at 0 and cells with some type of code start at 1, so I included them in all cells with code in order to avoid any kind of problem. But if you can help me on this point, I can put only those that really need the #NBVAL_IGNORE_OUTPUT flag.

Hi @felipeaugustogudes  and again thanks for this. I'm copy-pasting the comment that I also left on Slack for future reference:
yeah, so basically only the cells emitting random text to stdout/stderr need that. Examples:

op.apply emits to stdout/stderr , so each cell with op.apply  should be decorated with #NBVAL_IGNORE_OUTPUT
any cells emitting plots

examples of cells not requiring #NBVAL_IGNORE_OUTPUT

cells with assert (they're not producing any textual output)

@FabioLuporini Hi! I removed the extra #NBVAL_IGNORE_OUTPUT and create a new commit. If something continued wrong please send me a message.

@FabioLuporini I removed the start/stop and create a new commit!

Merged, thanks!


Prose editor configurations

Hey!
I found really strange thing.
Controller is configurable via static object or props.
ProseEditor extends Controller.
So we can configure ProseEditor. But ProseEditor comes with it's own static config. Due priority of static config it means that the only option to configure ProseEditor is passing your own static config. So if I pass any config as props to ProseEditor it will be rejected.
I think that the natural way here would be to gave ProseEditor it's own getConfig implementation with priority to props config. And this props config must merge with static config of ProseEditor.
This way it'll work like this:
a) If you want to extend ProseEditor with your tool - you'll just provide your tool's command and controller in props config;
b) If you need different set of tools you'll need to extend ProseEditor with your own static config.
What do you think?

Here is an example: https://github.com/substance/examples/blob/tags/tags/tagsEditor.js
I do it only because of config. We can do the same thing inside prose editor, e.g. merging incoming props.config into static.

I suppose this has become obsolete.


Allow "Alt+Shift+C" to copy path of opened file in the editor

Issue Type: Bug
Try to copy path of an opened file,  the short cut does not work in editor, only work in Explorer.
VS Code version: Code 1.22.2 (3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9, 2018-04-12T16:38:45.278Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz (4 x 2594)

Memory (System)
15.88GB (7.47GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

vscode-eslint
dba
1.4.8

python
ms-
2018.3.1

csharp
ms-
1.14.0

debugger-for-chrome
msj
4.3.0

vscode-docker
Pet
0.0.26

Same goes for the keyboard shortcut for Reveal in Finder/Explorer

This command is registered to work only when the explorer has focus, i.e. keybinding dispatching respects the when condition that is used by the keybinding registration.
https://github.com/Microsoft/vscode/blob/f373a15de059b7ed4918797172eeea224a7a939c/src/vs/workbench/parts/files/electron-browser/fileCommands.ts#L431:L443

The find widget has 3 toggles:

match case - cmd+alt+C

match whole word - cmd+alt+W

use regular expression - cmd+alt+R

revealFileInOS steals cmd+alt+R

copyFilePath steals cmd+alt+C

tried to steal a keybinding, got caught 😭
as you suggested now I registered my keybindings when the focus is not in the editor

@isidorn cmd+alt+c is not copying the path for me either in editor or in file explorer. Am I missing something?

@sandy081 works for me in the file explroer.
It should not work in the editor.
Make sure you do not have some keybdining clash

Yeah, I have another application stealing that.


azure-devops plugin: Ability to fetch the README file from a different AZD path

Hey, I just made a Pull Request!

Ability to fetch the README file from a different AZD path.
Defaults to the current, AZD default behaviour (README.md in the root of the git repo); to use a different path, add the annotation dev.azure.com/readme-path
Example:
dev.azure.com/readme-path: /my-path/CHANGELOG.md

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Looking into the validation a bit more, this PR doesn't account for paths that are folders - it renders the getItem JSON response from the AZD API; we probably want it to return an error message instead. Technically this isn't a change, since that's the behaviour of the existing code...but I doubt many people have a folder /README.md/ in the root of their repos :). We'd certainly be making it more likely with this change.
I think the way to deal with this is to change from constructing a URL by hand, to instead calling
const webApi = await this.getWebApi(host, org);
const client = await webApi.getGitApi();
const response = await client.getItem(repo, path, project);
if (response.isFolder) { ... }

...but that's a larger change than I was hoping for. Thoughts?

I do have one extra comment that I wasn't sure the best place to mention. I can see people missing the leading / (example: dev.azure.com/readme-path: /<path-to>/<my-readme-file>.md). Could we add some logic that checks for that and just adds it if it is missing?

From my testing, the leading / is optional - i.e. both dev.azure.com/readme-path: /foo/README.md and  dev.azure.com/readme-path: foo/README.md have the same effect.

Got a busy week, will review on Friday!

Looking into the validation a bit more, this PR doesn't account for paths that are folders - it renders the getItem JSON response from the AZD API; we probably want it to return an error message instead. Technically this isn't a change, since that's the behaviour of the existing code...but I doubt many people have a folder /README.md/ in the root of their repos :). We'd certainly be making it more likely with this change.
I think the way to deal with this is to change from constructing a URL by hand, to instead calling
const webApi = await this.getWebApi(host, org);
const client = await webApi.getGitApi();
const response = await client.getItem(repo, path, project);
if (response.isFolder) { ... }

...but that's a larger change than I was hoping for. Thoughts?

Would you be open to logging a bug for this, please? Seems reasonable to leave for a future PR in my opnion.

I do have one extra comment that I wasn't sure the best place to mention. I can see people missing the leading / (example: dev.azure.com/readme-path: /<path-to>/<my-readme-file>.md). Could we add some logic that checks for that and just adds it if it is missing?

From my testing, the leading / is optional - i.e. both dev.azure.com/readme-path: /foo/README.md and dev.azure.com/readme-path: foo/README.md have the same effect.

Awesome! Thanks for confirming that. 🚀

Anything else for me to do here @awanlin / @vinzscam? (No rush on my side, just making sure that you're not waiting for me :)).
Perhaps a silly question - I notice  but I believe all my commits are signed off. Is that expected, and if not then can you give me a pointer to how to fix it?

Going to close and reopen to see if we can get the DCO to clear itself

Awesome! 🎉  Thanks again @DavidRobertsOrbis for the contribution.
Thanks for the reviews and merge @vinzscam and @freben 👍


[Bug] [scaleph-ui-react] save seatunnel dag error on 1.0.3

Already searched before asking?

[X] I had searched in the issues and found no similar issues.

Scaleph Version or Branch
Scaleph 1.0.3
What happened
保存 SeaTunnel Job
Error Exception
org.springframework.dao.DataIntegrityViolationException:
### Error updating database.  Cause: java.sql.SQLException: Field 'from_step_code' doesn't have a default value
### The error may exist in cn/sliew/scaleph/dao/mapper/master/ws/WsDiJobLinkMapper.java (best guess)
### The error may involve cn.sliew.scaleph.dao.mapper.master.ws.WsDiJobLinkMapper.insert-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO ws_di_job_link  ( job_id, link_code,   creator, create_time, editor, update_time )  VALUES  ( ?, ?,   ?, ?, ?, ? )
### Cause: java.sql.SQLException: Field 'from_step_code' doesn't have a default value
; Field 'from_step_code' doesn't have a default value; nested exception is java.sql.SQLException: Field 'from_step_code' doesn't have a default value

Screenshots

Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

switch to 1.0.2 branch and try again.
1.0.3 has multiple bugs and work bad


dev -> master release

Changelog

#547 Update Lighthouse link
#548 Adds Bellatrix date warning
#546

@wackerow
I merged #546 and it fails immediately in dev branch CI. However, it works for #546! I think we just need to re-run the CI of this PR.
I approved #550 and defer to you to merge it. :)
If we merge #550 or #546, it will kick the CI to re-run.

@wackerow
I was wrong. It seems the config on dev doesn't work well:
2:51:33 PM: Creating deploy upload records
2:51:33 PM: Failing build: Failed to parse configuration
2:51:33 PM: Failed during stage 'Reading and parsing configuration files':
{
  "siteInfo": {
    "id": "be317de4-3407-4782-93ae-b7611ecf94a4"
  },
  "accounts": [],
  "addons": [],
  "env": {},
  "configPath": "/opt/build/repo/netlify.toml",
  "redirectsPath": "/opt/build/repo/build/_redirects",
  "headersPath": "/opt/build/repo/build/_headers",
  "buildDir": "/opt/build/repo",
  "repositoryRoot": "/opt/build/repo",
  "config": {
    "functions": {
      "*": {}
    },
    "plugins": [],
    "build": {
      "environment": {
        "BRANCH": "dev",
        "CHAIN_NAME": "Mainnet",
        "CONTEXT": "deploy-preview",
        "DEPLOY_PRIME_URL": "https://deploy-preview-551--silly-engelbart-23669a.netlify.app/",
        "DEPLOY_URL": "https://6311a7e461c4580008ffb45b--silly-engelbart-23669a.netlify.app/",
        "GO_VERSION": "1.14.4",
        "NETLIFY_IMAGES_CDN_DOMAIN": "d33wubrfki0l68.cloudfront.net",

        ...

        "NODE_VERSION": "14.19.2",
        "environment": {
          "NODE_VERSION": "14.19.2"
        }
      },
      "publish": "/opt/build/repo/build",
      "publishOrigin": "ui",
      "processing": {
        "css": {},
        "html": {},
        "images": {},
        "js": {}
      },
      "services": {},
      "command": "yarn build",
      "commandOrigin": "ui"
    },
    "headers": [],
    "redirects": []
  },
  "context": "deploy-preview",
  "branch": "dev"
}
: json: cannot unmarshal object into Go struct field BuildConfig.Config.build.environment of type string
2:51:33 PM: Finished processing build request in 12.609749365s

It looks like we have two settings:

"environment": {"NODE_VERSION": "14.19.2"}
"environment": {"environment": {"NODE_VERSION": "14.19.2"}}

The second one seems wrong. Any idea?

@hwwhww See #552 which removes this nesting of environment from one of the context declarations


lgmres for numpy backend

It would be super cool if on CPU (or maybe just in NumPy) we could call this code, which is a drop-in replacement to the SciPy version that is apparently 30 times faster: https://github.com/haranjackson/LGMRES. This seems to be possible under the MIT license that it's under, but I'm not sure if it's ok re: Google - we would need to ship the code, and I guess it would need to be compiled.

Upon a closer read the code in question only accepts dense matrices (which is weird because the C++ code is actually in terms of a matvec function). So that pretty much sinks that dream.

well, we can always write our own extension if we want


kriti..

Adding my name to contributor list

and what have you contributed lol? Do you even know how this works?


Tammy would like to be able to provision a 4.9 version of OpenShift in an IBM Cloud account

Add in 4.9 meta data for to the Module

@seansund pls look at why merged with variable for storage

@seansund pls look at why merged with variable for storage #62

@smatthyssen This issue wasn't merged with variable for storage. It was mentioned in that other PR, I believe incorrectly


Make GcpConfig configuration explicitly bootstrap

It isn't AutoConfiguration so it shouldn't use those features.
There is a remaining potential issue to do with
GcpProperties (there might be 2 instances, one in bootstrap
and one in the main context, or maybe that's not an issue). Also
possibly an issue: the bootstrap configuration requires
GoogleCredentials, but isn't conditional on that class. It isn't
an issue if that class is always available, but then if it is,
why is GcpContextAutoConfiguration conditional on it?

My commit 2cd8315 fixes #375


Still Working?

I sent the /start command to the @deepfake.maker account via DM, but received no reply. Has this been banned, is it broken, etc? Thanks for your work, very interested in trying it out!

same problem here

Same. Probably the server costs are too high to maintain and noone is donating....

you can use https://colab.research.google.com/ or any other machine learning things...


Specifying conformance test results

As explained in the email report of 23 May 2016, the Data Quality Vocabulary (DQV) models conformance by using dct:conformsTo (as done in Geo/DCAT-AP). The relevant section uses GeoDCAT-AP as an example:
https://www.w3.org/TR/vocab-dqv/#ExpressConformanceWithStandard
This approach was also reported in the Spatial Data on the Web Best Practices published by the joint W3C/OGC Spatial Data on the Web WG, by using a GeoDCAT-AP-related example (see section on spatial metadata.
However, DQV does not provide a solution to model test results different from "conformant" (e.g., "not conformant", "not evaluated"). The rationale is explained in a note to the same section:

Finer-grained representation of conformance statements can be found in the literature, and applications with more complex requirements may implement them, including for example the requirement of representing 'non-conformance' tested by specific procedures. The GeoDCAT Application Profile, for example, suggests a "provisional mapping" for extended profiles, which re-uses the PROV data model for provenance (see Annex II.14 at [GeoDCAT-AP]). Such patterns come however at the cost of having to publish and exchange representations that are much more elaborate. They will also have to be aligned with the result of another ongoing efforts on data validation and the reporting thereof, as currently discussed around SHACL, for example. We have thus decided to postpone addressing these requirements for now.

Therefore, there is not, at the moment, an alternative solution to the one defined in GeoDCAT-AP.

The GeoDCAT-AP approach, along with [DQV] and [EARL], is documented in DCAT 2 as one of the possible ways of specifying conformance (see §12.2.2 Degree of conformance and, in particular, Example 35).
Based on this, no revision is needed as far as compatibility with DCAT 2 is concerned.

Closing following the publication of the first working draft for GeoDCAT-AP 2.0.0:
https://semiceu.github.io/GeoDCAT-AP/drafts/2.0.0-draft-0.1/


Invalid tile contents

Hi,
Since a few days there is an issue with some tiles from zoom 9 and over. As you can see on the screenshot, the rendering is correct for some tiles and messy for other ones. The issue happens only with terrain-v2 tiles (style without terrain or with terrain-v1 are working fine).

Thanks for reporting. We are aware of the issue and @flippmoke is working on fixing this. /cc @jakepruitt

@flp-gpc - can you share what Mapbox Studio Classic version you are running? It is possible that upgrading to the latest - v0.3.5 will fix this problem.

I use the last one 0.3.5. This is really an issue with the tiles, not with the software. For instance I got the same issue if I stream the tiles with Leaflet.

got the same issue if I stream the tiles with Leaflet.

What do you mean by this?

If I display the tiles with leaflet like explained here:
https://www.mapbox.com/mapbox.js/example/v1.0.0/plain-leaflet
I got the same display issue than showed on my screenshot, so I don't think the problem is related to mapbox studio.

@flp-gpc I've released a new version (v0.3.6) with an updated node-mapnik inside that may fix this issue. Can you test? https://www.mapbox.com/mapbox-studio-classic/

Hi,
It seems fixed, I don't see the issue anymore, thanks. Do you know if Mapbox made any change in the terrain-v2 tiles recently ? Is there a v3 planned ?


rule/argument-always-wildcard: End location is always the end of the line

There is this issue with the argument location:

I am not sure what the best fix is:
a) just highlight the arg itself is too small (we've avoided having single char items before)
b) highlighting the whole line is ambiguous
c) naming the violation title with the argument number involves changing the title of the violation to be templated...
Open to ideas, but I feel like what we have is better than a) & b) at least.

I have a fix for this on a dev branch. Was planning to hold off on it until I had “back ported” end location awareness to all existing rules, but that turned out to be a LOT of work, lol, so I can push what I have done so far tonight 😊

It’ll only highlight the wildcard btw, but it doesn’t look too bad when not at the start of line.

👍 thanks Anders. No rush, I don't think it's a must-have for the next release but if you get something up we can get it in.

PR up in #917 ... it's very much just a start, but I think the implementation is sound... a ton of work ahead needed to backport all existing rules though, so that's something we'll need to collaborate on later.
Please do try it out in your LSP client of choice for the rules backported so far, and compare against main. IMHO, this is a huge improvement in that context, and I'm really keen to see this for all of our rules :)

Fixed in #917 ... I think :) We can discuss later if there's a better way to highlight here than a single character, but at least it's correct, as opposed to highlighting the whole line after the arg.


New AbstractFSM

added Parser which will pick OptionParser or LLMManager
Wrote helper functions in AbstractFSM
Pydantic Variables Class for FSM Variables

@kanak8278 please remove extra logging steps
Please update the CarWash example
Please ensure this library gets built correctly as well

Update this page as well: https://opennyai.github.io/Jugalbandi-Manager/how-tos/fsm_building.html
Bump the version to 0.2 because it a big change.

@kanak8278 Please take a pull from main and resolve conflicts.

@kanak8278 Please take a pull from main and resolve conflicts.

Merged Conflicts settled


Turn on PAM by default

Feature Description
It'd be nice if Gitea could enable PAM out of the box. Gogs has it. *shrug*
Screenshots
No response

PAM is an standalone module external Linux kernel. Maybe not all Linux distribution supports that?

PAM is an standalone module external Linux kernel. Maybe not all Linux distribution supports that?

Dynamically load?

imho it would be good to have it as option on install page to enable it but I don't think it's good idea to enable it on already existing installations, it could have undesired side effects

imho it would be good to have it as option on install page to enable it but I don't think it's good idea to enable it on already existing installations, it could have undesired side effects
It would have the same effect as adding a new authentication source. Should be perfectly fine. When we say “enabled by default”, we mean “possible to be used”. Current builds don't even have it as a possibility, it's only enabled if compiled for it.

I was hoping we could use dynamic, yes.

This would necessitate providing multiple builds per libc - eg. glibc versions and muslc versions.

The release-latest task currently takes 20 minutes on our CI.
You are suggesting that we likely triple the number of builds for linux. We provide 5 types of linux build at present. So around 15 linux builds each with a different build env - possibly more because I bet the arm libc interfaces are less stable. At a conservative estimate that would cause our release-latest task to double in length to 40 minutes. (Every time we release get moans about how github informs people that there is a release but they don't have the packages to download. EVERY TIME - I'm talking about hours worth of maintainer time spent dealing with complaints from a 20 minute delay. Literally hours every release.)
Each release currently creates approximately 1.8Gb of data. Tripling the number of linux builds would make that close to 4Gb.
I'm not sure this is feasible.
If you really want to propose this you need to do the work to determine which build environments we would need to build gitea in to determine compatibility with ubuntu (LTS and the latest versions), Debian (simy),  Fedora (simy), Arch (simy), Gentoo (I don't know what versions), Raspbian and the variants, Alpine and the docker variants, Synology, Centos... and so on...
If it would be the case that there is ONE supradistribution that could fix all of this or there is a way of building a semi-static build that could avoid all of the duplication then maybe we could do it.

No, that wasn't what I was suggesting, that's just a result of what I was suggesting (which I wasn't aware of, might I also add). I'll just use Gogs, works out of the box with PAM for my NAS.

I have a question, since the SQLite3 is enabled for all builds, how does this C library overcome the glibc and muslc differences? It has the libraries in sqlite3_other.go:
#cgo linux LDFLAGS: -ldl
#cgo linux,ppc LDFLAGS: -lpthread
#cgo linux,ppc64 LDFLAGS: -lpthread
#cgo linux,ppc64le LDFLAGS: -lpthread

If there could be linked to the libpam.so, maybe the pam functions can be called by dlopen + dlsym

Is there somewhere which explains in detail how to compile with PAM support?
Unfortunately the system I need to run gitea on doesn't have enough memory to run the build process. I was running into this issue during compilation. Above comments make me think building on a different machine may run into issues if the environments differ. Is there a way of checking compatibility between systems?

This would necessitate providing multiple builds per libc - eg. glibc versions and muslc versions.

You can use xgo to do cross-compile. See the Makefile target release-linux.
You can use MY_TAG=xxx make relase-linux to build your own binary at the moment.

per https://github.com/go-gitea/gitea/issues/24658#issuecomment-1658334538, I think we can close this one.


Fix issue #24

This pull request fixes issue #24. By encoding the received paste as UTF-8, the paste ID can be generated properly without raising an exception. In the filesystem backend, using the "codecs" module allows UTF-8 content to be written to a file, then read from it and displayed by Flask.
I also changed the error message in the exception thrown if the paste ID generation fails. It should not fail anymore, but if for some reason it does, the reason is not lack of UTF-8 support anymore.

Shouldn't we be replacing any and all occurrences of open with codecs.open?
Also, have you tested this by removing the "hack" from the Dockerfile?
I must admit that I have missed codecs and it turns out to be pretty useful..

No, you're right, I need to do more thorough testing with the Docker use cases.
As for the calls to open that I haven't replaced with codecs.open, unless I've missed some, they only concern metadata, which shouldn't contain UTF-8. That said, it costs nothing to think forward and use codecs.open everywhere, so that we can add UTF-8 metadata in the future.
I'll do that (Docker and last replacements) and issue a new PR.

The metadata value should be able to contain metadata (the value, not the key), because if we, for example, want to store the user's name, it may contain metadata.
BTW, personally I use docker to test everything, simply because I can run:
docker build -t daknob/torpaste .; docker run -p 80:80 -ti --rm daknob/torpaste

in the main directory and have docker build a new image, and then run it. I can then visit it on http://<IP_ADDRESS> and see for myself how a new installation will react, without any "garbage" from previous runs, without any state at all. In addition to that, it also helps be test the Dockerfile because many people will find it much easier to use one rather that git cloneing and configuring gunicorn and all that..

While this pull request seems to be working and is okay so far, adding an emoji in a paste, such as 😂, will trick the byte calculating algorithm and report 1 byte, although this is not the case. Do you think I should merge this one and then open a bug report or is it a quick fix we can have in this Pull Request?

I'll have a quick look at that. I think it could be included in this PR.

Ok, the UTF-8 character byte count is fixed. That was a nice catch!
For further reference, here's a nice website to test UTF8 byte counts: https://mothereff.in/byte-counter.
I think this PR is now finally ready to be merged. Now, even the source code can contain UTF8 characters!

That's nice. And the byte count bug was easy to fix from what I can see. Awesome!


Minetest Arch Unstable Build has Gone Unmaintained

Not sure what can be done about it, but it has gone stale.

#define stale

community/minetest 0.4.15-1
    Multiplayer infinite-world block sandbox game
community/minetest-common 0.4.15-1
    Common data files for minetest and minetest-server
community/minetest-server 0.4.15-1
    Server of infinite-world block sandbox game

looks up to date to me?

He meant this one: https://aur.archlinux.org/packages/minetest-git-leveldb/
however i don't see how that is out of date

Also it's an AUR, i don't think we should care about this as AUR is not archlinux official


auto-refresh is not working

Describe the bug
Lens doesn't auto-refresh, I have to refresh manually for (almost all resources/objects)
To Reproduce
Steps to reproduce the behavior:

apply any change

Expected behavior
the changes appear without manual refresh (CMD+r)
Environment (please complete the following information):

Lens Version:Version: 3.5.0-beta.1
OS: [e.g. OSX] Catalina 10.15.3 (19D76)
Installation method (e.g. snap or AppImage in Linux): dmg

Logs:
not sure how to get the logs, let me know and I'll edit the issue.
Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.
apiVersion: v1
kind: Config
current-context: xxx-cluster
preferences: {}
clusters:
  - cluster:
      certificate-authority-data: xxxx
      server: https://xxx.xxx.xxx.xx:xxxx
    name: xxx-cluster
contexts:
  - name: xxx-cluster
    context:
      cluster: xxx-cluster
      user: kubernetes-admin
users:
  - name: xxx-user
    user:
      username: xxx
      password: xxx
  - name: kubernetes-admin
    user:
      client-certificate-data: xxx
      client-key-data: xx

Additional context
Lens was working fine until I introduced a new cluster, only then it stopped refreshing.
I tried to uninstall and reinstall it again, still do not work

Is this happening on all clusters or only some of them?

Got this reproduced and proposed a fix for this. Thanks for reporting!

@nevalla thanks, new release fixed it.


signature is required

I use this method to get user:
QBUsers.getUserByLogin(login).performAsync(new QBEntityCallback<QBUser>() {

             @Override
             public void onSuccess(QBUser user, Bundle args) {
                 Log.i(TAG, ">>> User: " + user.toString());
             }

             @Override
             public void onError(QBResponseException errors) {
             }
         });

But o got this error in onError:

signature is required

please help me about this.
QuickBlox SDK version is 3.3.5.
I use Q-municate as base.

I finally made it up. I manipulated the lines that I turned back to and everything was fine.
  `   productFlavors {

    dev {
        buildConfigField "String", "APP_ID", devAppID
        buildConfigField "String", "AUTH_KEY", devAuthKey
        buildConfigField "String", "AUTH_SECRET", devAuthSecret
        buildConfigField "String", "ACCOUNT_KEY", devAccountKey
        buildConfigField "String", "TWITTER_KEY", devTwitterKey
        buildConfigField "String", "TWITTER_SECRET", devTwitterSecret
    }

    stage {

        buildConfigField "String", "APP_ID", stageAppID
        buildConfigField "String", "AUTH_KEY", stageAuthKey
        buildConfigField "String", "AUTH_SECRET", stageAuthSecret
        buildConfigField "String", "ACCOUNT_KEY", stageAccountKey
        buildConfigField "String", "TWITTER_KEY", stageTwitterKey
        buildConfigField "String", "TWITTER_SECRET", stageTwitterSecret
    }
}`


REQUEST: Integration of vcs-user and Repository support.

I just used the puppet resources of this repo to setup a phabricator VM and debployment and usage worked really well.
But I somehow miss a comprehensive configuration of diffusion and the repo tool.
Creating a new repo and directly pushing to it is not possible directly.
I had to invest some time of extra configuration and doc reading to make repo hosting and integration work.
Is this something that will change in future ?

Hiya! Sorry for the delay, let us think about that and get back to you!


certificate verify failed

Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/http.py", line 41, in inner
return func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
return view_func(*args, **kwargs)
File "./paypal/standard/ipn/views.py", line 58, in ipn
ipn_obj.verify(item_check_callable)
File "./paypal/standard/ipn/models.py", line 38, in verify
self.response = self._postback()
File "./paypal/standard/ipn/models.py", line 21, in _postback
return urllib2.urlopen(self.get_endpoint(), "cmd=_notify-validate&%s" % self.query).read()
File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.7/urllib2.py", line 1240, in https_open
context=self._context)
File "/usr/local/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>

Please upgrade to latest django-paypal, which uses requests rather than urllib2 and probably won't have this problem. It might also be a problem with certificates installed on your machine.


Opening include containing a subfolder fails.

It appears that the path seen (verified) is working, but when it is being combined in order to open the target file the root path is defaulting to the path used to open VSCode instead of the path of the opened .BAS file.
c:\bas  <- launched VSCode
c:\bas\qbint <- opened file in this folder
c:\bas\qbint\includes <- include file is in this folder

I've been unable to recreate this issue.


nano config/rc

Would be cool to hack at how nano looks/works.

https://www.agnosticdev.com/content/configure-nano-command-line-development
https://github.com/search?utf8=✓&q=nanorc&ref=simplesearch

Might want to setup vimrc too. #218


Docker build failed

Get:1 http://deb.debian.org/debian bookworm InRelease [147 kB]
Err:1 http://deb.debian.org/debian bookworm InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY F8D2585B8783D481
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Err:2 http://deb.debian.org/debian bookworm-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
Reading package lists...
W: GPG error: http://deb.debian.org/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY F8D2585B8783D481
E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed.
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code

Hi @lucasjinreal thanks for your feedback, this issue may be related to the golang-1.20.x image, we have PR trying to fix this. https://github.com/go-skynet/LocalAI/pull/618

I am going to close this PR because it is not active. Feel free to open if the error still occurs.


deactivate directory listing for route /swaggerui

Coverage remained the same at 100.0% when pulling 8dd33c778102bf76ce775f888214f6ec58e06e38 on KDS:master into 6d4c47969965f54ffb1d344bcdfefa9fd27bab22 on glennjones:master.


Manpage for gobuster

Hi
Debian has a basic manpage[1] for gobuster. Feel free to use it if you want it. Otherwise, please, close this bug.
[1] https://salsa.debian.org/andrade/gobuster/-/blob/debian/master/debian/gobuster.1
Regards,
Thiago Andrade

thanks!


Move Mariner, 2204 and Edge Zone SIG versions to config

What type of PR is this?
/kind feature

What this PR does / why we need it:
Moving SIG image versions for Mariner v2, Ubuntu 2204 and Edge Zones to a config file, so that it can eventually be tracked by the AKS release tracker (which customers have asked for).
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Okay. I thought the goal was to have one json file per distro. Can also switch it.

discussed offline and it seems like it's fine to have it this way for now, and decide whether to change depending on how this is consumed


Adding links to the social media handles in the "Power of Knowledge Blogs" footer

I am a contributor in GSSOC'23. Kindly assign this issue to me.

Those profiles are getting created , we will update once it's created.

We will update in the readme
file.

It'll be added in the readme section of the repository, you can refer to it and add if required.

Kindly assign this issue to me, whenever they are created, so that I can get notified.


rgba hex value warning

I keep getting the following logged during npm run check and npm run build and it's unclear what's causing it, curious if anyone else ran into similar messages:
====================================
Loading svelte-check in workspace: /Users/mark/src/svelte-app
Getting Svelte diagnostics...

[carbon:elements] rgba hex value must be six characters. Received "#0"
[carbon:elements] rgba hex value must be six characters. Received "#0"
====================================
svelte-check found 0 errors, 0 warnings, and 0 hints

Currently, it's hardcoded to expect a value length of 6 characters. Could you try "#000000"?

Ah, I was struggling to even find the source of that message, looks like it has to do with anywhere we call rgba(), and I had it in one place:
box-shadow: 0px -4px 6px -1px rgba(0, 0, 0, 0.1), 0px -2px 4px -1px rgba(0, 0, 0, 0.06);

I'm not sure what values to change it to, "#0" doesn't work:
[carbon:elements] rgba hex value must be six characters. Received "#'#0'"


VEP annotations are not loaded

Perhaps related to #765, I get errors like
: WARNING: The input VCF has no VEP annotations.                              Variant impact will be set to unknown

I have no idea if it's harmless or real. I should be up to date on everything.

I still got over a run I did this today, but I've yet to check the final VCFs to see how they are.

Annotations are loaded, at least the ones that interest me. ;) So closing. I'll reopen if needed.

Luca;
I believe there was an issue when preparing the split multi-allelic inputs which should be fixed in the latest development version. More details here:
https://github.com/chapmanb/bcbio-nextgen/issues/773#issuecomment-76159124
Hope this fixes it for you. Thanks so much for looking into this.


Use load profile data when starting Simulation

The load profile data attribute should not be ignored when starting a Simulation.

Closed by commit https://github.com/sogno-platform/dpsim-api/pull/29


Update the phantomjs version in package.json

Hi @sindresorhus
I were using pageres to get screenshots of my website, but I am using flexbox and not works!! :cry:
So, I make some tests with the last version of phantomjs 2.0.0 and :metal:
Can you update for us?

I would really like to, but can't: https://github.com/sindresorhus/pageres/issues/77 ...

I understand!!
The hole is much more deep!!


Undocumented release 1.4.9 and RC2 of 1.5 ?

Bug Report or Feature Request (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request

I have noticed that new npms have been released of angular cli 1.4.9 and RC2 of 1.5 but it is completly undocumented in the releases (I can see the release but there are no description of what they contain).

Sorry, those changelogs slipped between the cracks. They are up now in https://github.com/angular/angular-cli/releases.


The database files are unavailable for downloading

Dear Bastiaan,
the command wget tbb.bio.uu.nl/bastiaan/CAT_prepare/CAT_prepare_20190719.tar.gz is not working because tbb.bio.uu.nl is not available

Hi, just checked, they are back online

Well, my attempt has finished like this
wget tbb.bio.uu.nl/bastiaan/CAT_prepare/CAT_prepare_20190719.tar.gz
--2020-03-05 13:04:12--  http://tbb.bio.uu.nl/bastiaan/CAT_prepare/CAT_prepare_20190719.tar.gz
Resolving tbb.bio.uu.nl (tbb.bio.uu.nl)... failed: Name or service not known.
wget: unable to resolve host address ‘tbb.bio.uu.nl’

Its gone again, they seem to have problems/are changing their DNS configuration. My download is still running. wget luckily outputs the IP, try this:
wget http://<IP_ADDRESS>/bastiaan/CAT_prepare/CAT_prepare_20190719.tar.gz

Thanks!
Now it works

Hi all,
Indeed we have had some trouble with the DNS. Thanks again @Finesim97 for troubleshooting! It seems to be working on and off, if the issue remains we'll try to figure out with IT what's going on. On a different note, I've updated the database files on our servers (2020-03-04), so feel free to wget those to get the latest nr database!
wget tbb.bio.uu.nl/bastiaan/CAT_prepare/CAT_prepare_20200304.tar.gz
or
wget <IP_ADDRESS>/bastiaan/CAT_prepare/CAT_prepare_20200304.tar.gz
Closing this issue.

I cannot find this version of the database anymore.


Increment version for voiceservices releases

Increment package version after release of Azure.ResourceManager.VoiceServices

API change check
API changes are not detected in this pull request.


v0.16.3 with recipe refactor

This PR updates to v0.16.3, and refactors the recipe to use output scripts, not files.

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

It looks like the 'nds2-client-swig' output doesn't have any tests.

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.