text:
MSSQL Prisma: ConnectorError { user_facing_error: None, kind: QueryError(Utf8)

Bug description
Kinda premise is here: https://github.com/prisma/prisma/discussions/7475
In short: Introspected via prisma already existing database on localhost (which was created via .bak file earlier with MS SQL Server Studio), tried to make a basic query/graphql type for start via example and now receiving error while querying
Invalid `prisma.people_List.findMany()` invocation:\n\n\n Error occurred during query execution:\nConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Utf8) })
Prisma information
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["microsoftSqlServer"]
}

datasource db {
  provider = "sqlserver"
  url      = env("DATABASE_URL")
}

model people_List {
  id_People           Int       @id @default(autoincrement())
  Surname             String    @db.VarChar(30)
  Name                String    @db.VarChar(30)
  **[A lot of other columns] too lazy to describe**
}

Environment & setup

OS: Windows 10 [RU]
Database: MSSQL
Node.js version: 15.8

Can you post the full log with https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/logging enabled and DEBUG=* set?
What version of Prisma are you using? (The template usually asks for the prisma -v output)

prisma: 2.24.1
prisma/client: 2.24.1
I am a bit lost - where to set this debug?

It is an environment variable that you can set, sorry I should have explained that better. See https://www.prisma.io/docs/concepts/components/prisma-client/debugging#overview (On windows you actually use set DEBUG=* command)

no, I quite understood that you're refering to this page, but I didnt understand from it, where exactly I must write this command

In the command line before you run the command, so probably some terminal or console. It sets the environment variable for when you run your node script (or start your web server etc).

I kinda just write 'npm run dev' in cmd from Windows. Already tried to write export DEBUG="*" via cmd, didnt work

As I said above, on Windows it is set DEBUG=* that you run first, then npm run dev. (I opened an issue to update our docs with Windows instructions)

well, kinda run, a lot of junk
 prisma:engine stdout Unknown error +1ms
prisma:query SELECT [dbo].[people_List].[id_People], [dbo].[people_List].[Surname], [dbo].[people_List].[Name], [dbo].[people_List].[Patronymic], [dbo].[people_List].[OldSurname], [dbo].[people_List].[OldName], [dbo].[people_List].[OldPatronymic], [dbo].[people_List].[Marriage], [dbo].[people_List].[Sex], [dbo].[people_List].[BornDate], [dbo].[people_List].[BornPlace], [dbo].[people_List].[id_Doc], [dbo].[people_List].[DocSerial], [dbo].[people_List].[DocNo], [dbo].[people_List].[DocDistributed], [dbo].[people_List].[DocDate], [dbo].[people_List].[DocDepartmentCode], [dbo].[people_List].[id_Sitizen], [dbo].[people_List].[Photo], [dbo].[people_List].[Other], [dbo].[people_List].[is_webimported], [dbo].[people_List].[id_web], [dbo].[people_List].[FIO], [dbo].[people_List].[FIO2], [dbo].[people_List].[msrepl_tran_version], [dbo].[people_List].[SurnameRP], [dbo].[people_List].[NameRP], [dbo].[people_List].[PatronymicRP], [dbo].[people_List].[id_Nationality_old], [dbo].[people_List].[id_Nationality], [dbo].[people_List].[UID], [dbo].[people_List].[UID_stat], [dbo].[people_List].[UID_sok], [dbo].[people_List].[UID_zo], [dbo].[people_List].[INN_old], [dbo].[people_List].[SSN], [dbo].[people_List].[INN], [dbo].[people_List].[tabNumber] FROM [dbo].[people_List] WHERE 1=1
  prisma:engine stdout Fetched a connection from the pool +1ms
  prisma:engine stdout Flushing unhandled packet from the wire. Please consume your streams! +0ms
prisma:warn Flushing unhandled packet from the wire. Please consume your streams!
  prisma:engine stdout Flushing unhandled packet from the wire. Please consume your streams! +1ms
prisma:warn Flushing unhandled packet from the wire. Please consume your streams!
  prisma:engine stdout Flushing unhandled packet from the wire. Please consume your streams! +1ms
prisma:warn Flushing unhandled packet from the wire. Please consume your streams!
  prisma:engine {
  prisma:engine   error: PrismaClientUnknownRequestError2 [PrismaClientUnknownRequestError]: Error occurred during query execution:

Also have checked my database on my server (localhost) and server collation (encoding) seems like is Cyrillic_General_CI_AS, could this be an issue?

It should probably not, but considering that SQL Server is a preview feature that is indeed possible we do not support that properly yet.
Is this something that needs to be set on the server, database or table level? If you can share some code how to achieve this on a stock SQL Server, we might be able to reproduce this and hopefully understand and fix it.

Is this something that needs to be set on the server, database or table level? If you can share some code how to achieve this on a stock SQL Server, we might be able to reproduce this and hopefully understand and fix it.

You mean Collation (encoding)? Kinda it was automatically (I guess) set on installing MS SQL Server and MS SQL Server Studio. But I suppose it can be changed at least via MS SQL Server Studio with right-clicking and setting parameters of collation of the database

kinda "full" log, opened cmd - npm run dev - made query (on playground) - stopped server
  nodemon bus new listener: reset (0) +0ms
  nodemon bus new listener: reset (0) +1ms
  nodemon bus new listener: quit (0) +21ms
  nodemon bus new listener: quit (0) +0ms
  nodemon bus new listener: restart (0) +1ms
  nodemon bus new listener: restart (0) +0ms
  nodemon bus new listener: reset (2) +1ms
  nodemon bus emit: reset +1ms
  nodemon resetting watchers +0ms
  nodemon reset +0ms
  nodemon config: dirs [ 'C:\\Projects\\Diplom_Work\\graphql-prisma-svfu' ] +0ms
[nodemon] 2.0.7
[nodemon] to restart at any time, enter `rs`
  nodemon bus new listener: error (0) +38ms
  nodemon bus new listener: error (0) +0ms
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node src/server.js`
  nodemon:run fork C:\Windows\system32\cmd.exe /d /s /c node src/server.js +0ms
  nodemon bus new listener: exit (0) +10ms
  nodemon bus new listener: exit (0) +0ms
  nodemon:run start watch on: [ '*.*', re: /.*\..*/ ] +1ms
  nodemon start watch on: C:\Projects\Diplom_Work\graphql-prisma-svfu +49ms
  nodemon ignored [
  '**/.git/**',
  '**/.nyc_output/**',
  '**/.sass-cache/**',
  '**/bower_components/**',
  '**/coverage/**',
  '**/node_modules/**',
  re: /.*.*\/\.git\/.*.*|.*.*\/\.nyc_output\/.*.*|.*.*\/\.sass\-cache\/.*.*|.*.*\/bower_components\/.*.*|.*.*\/coverage\/.*.*|.*.*\/node_modules\/.*.*/
] +1ms
  nodemon:watch chokidar watching: C:\Projects\Diplom_Work\graphql-prisma-svfu\package-lock.json +0ms
  nodemon:watch chokidar watching: C:\Projects\Diplom_Work\graphql-prisma-svfu\package.json +1ms
  nodemon:watch chokidar watching: C:\Projects\Diplom_Work\graphql-prisma-svfu\README.md +1ms
  nodemon:watch chokidar watching: C:\Projects\Diplom_Work\graphql-prisma-svfu\schema.graphql +0ms
  nodemon:watch chokidar watching: C:\Projects\Diplom_Work\graphql-prisma-svfu\prisma\schema.prisma +4ms
  nodemon:watch chokidar watching: C:\Projects\Diplom_Work\graphql-prisma-svfu\src\context.js +1ms
  nodemon:watch chokidar watching: C:\Projects\Diplom_Work\graphql-prisma-svfu\src\schema.js +0ms
  nodemon:watch chokidar watching: C:\Projects\Diplom_Work\graphql-prisma-svfu\src\server.js +1ms
  nodemon:watch chokidar watching: C:\Projects\Diplom_Work\graphql-prisma-svfu\src\generated\nexus.ts +1ms
  nodemon watch is complete +20ms
  prisma:tryLoadEnv Environment variables loaded from C:\Projects\Diplom_Work\graphql-prisma-svfu\.env +0ms
[dotenv][DEBUG] did not match key and value when parsing line 1: # Environment variables declared in this file are automatically made available to Prisma.
[dotenv][DEBUG] did not match key and value when parsing line 2: # See the documentation for more detail: https://pris.ly/d/prisma-schema#using-environment-variables
[dotenv][DEBUG] did not match key and value when parsing line 3:
[dotenv][DEBUG] did not match key and value when parsing line 4: # Prisma supports the native connection string format for PostgreSQL, MySQL and SQLite.
[dotenv][DEBUG] did not match key and value when parsing line 5: # See the documentation for all the connection string options: https://pris.ly/d/connection-strings
[dotenv][DEBUG] did not match key and value when parsing line 6:
  prisma:tryLoadEnv Environment variables not found at C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\.prisma\client\.env +5ms
  prisma:tryLoadEnv Environment variables not found at C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\.prisma\client\.env +0ms
  prisma:tryLoadEnv No Environment variables loaded +0ms
  prisma:client clientVersion: 2.24.1 +0ms
  prisma:engine Search for Query Engine in C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\.prisma\client +0ms
  express:application set "x-powered-by" to true +0ms
  express:application set "etag" to 'weak' +1ms
  express:application set "etag fn" to [Function: generateETag] +0ms
  express:application set "env" to 'development' +1ms
  express:application set "query parser" to 'extended' +0ms
  express:application set "query parser fn" to [Function: parseExtendedQueryString] +0ms
  express:application set "subdomain offset" to 2 +1ms
  express:application set "trust proxy" to false +0ms
  express:application set "trust proxy fn" to [Function: trustNone] +0ms
  express:application booting in development mode +0ms
  express:application set "view" to [Function: View] +1ms
  express:application set "views" to 'C:\\Projects\\Diplom_Work\\graphql-prisma-svfu\\views' +0ms
  express:application set "jsonp callback name" to 'callback' +0ms
  express:application set "x-powered-by" to false +1ms
  express:router use '/.well-known/apollo/server-health' <anonymous> +0ms
  express:router:layer new '/.well-known/apollo/server-health' +0ms
  express:router use '/' corsMiddleware +1ms
  express:router:layer new '/' +0ms
  express:router use '/' jsonParser +1ms
  express:router:layer new '/' +0ms
  express:router use '/' <anonymous> +0ms
  express:router:layer new '/' +0ms
  express:router use '/' <anonymous> +1ms
  express:router:layer new '/' +0ms
  express:router use '/' query +0ms
  express:router:layer new '/' +1ms
  express:router use '/' expressInit +0ms
  express:router:layer new '/' +0ms
  express:router use '/' router +1ms
  express:router:layer new '/' +0ms
🚀 Server ready at: http://localhost:4000/
⭐ See sample queries: http://pris.ly/e/js/graphql#using-the-graphql-api

  express:router dispatching POST / +220ms
  express:router query  : / +1ms
  express:router expressInit  : / +1ms
  express:router router  : / +1ms
  express:router dispatching POST / +1ms
  express:router corsMiddleware  : / +1ms
  express:router jsonParser  : / +2ms
  body-parser:json content-type "application/json" +0ms
  body-parser:json content-encoding "identity" +3ms
  body-parser:json read body +0ms
  body-parser:json parse body +15ms
  body-parser:json parse json +0ms
  express:router <anonymous>  : / +0ms
  express:router <anonymous>  : / +1ms
  express:router dispatching POST / +2s
  express:router query  : / +0ms
  express:router expressInit  : / +1ms
  express:router router  : / +0ms
  express:router dispatching POST / +0ms
  express:router corsMiddleware  : / +1ms
  express:router jsonParser  : / +0ms
  body-parser:json content-type "application/json" +0ms
  body-parser:json content-encoding "identity" +0ms
  body-parser:json read body +1ms
  body-parser:json parse body +0ms
  body-parser:json parse json +0ms
  express:router <anonymous>  : / +1ms
  express:router <anonymous>  : / +0ms
  prisma:client Prisma Client call: +2s
  prisma:client prisma.people_List.findMany(undefined) +0ms
  prisma:client Generated request: +0ms
  prisma:client query {
  prisma:client   findManypeople_List {
  prisma:client     id_People
  prisma:client     Surname
  prisma:client     Name
  prisma:client     Patronymic
  prisma:client     OldSurname
  prisma:client     OldName
  prisma:client     OldPatronymic
  prisma:client     Marriage
  prisma:client     Sex
  prisma:client     BornDate
  prisma:client     BornPlace
  prisma:client     id_Doc
  prisma:client     DocSerial
  prisma:client     DocNo
  prisma:client     DocDistributed
  prisma:client     DocDate
  prisma:client     DocDepartmentCode
  prisma:client     id_Sitizen
  prisma:client     Photo
  prisma:client     Other
  prisma:client     is_webimported
  prisma:client     id_web
  prisma:client     FIO
  prisma:client     FIO2
  prisma:client     msrepl_tran_version
  prisma:client     SurnameRP
  prisma:client     NameRP
  prisma:client     PatronymicRP
  prisma:client     id_Nationality_old
  prisma:client     id_Nationality
  prisma:client     UID
  prisma:client     UID_stat
  prisma:client     UID_sok
  prisma:client     UID_zo
  prisma:client     INN_old
  prisma:client     SSN
  prisma:client     INN
  prisma:client     tabNumber
  prisma:client   }
  prisma:client }
  prisma:client  +0ms
  prisma:engine { cwd: 'C:\\Projects\\Diplom_Work\\graphql-prisma-svfu\\prisma' } +2s
  prisma:engine Search for Query Engine in C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\.prisma\client +1ms
  prisma:engine { flags: [ '--enable-raw-queries', '--port', '10239' ] } +2ms
  prisma:engine stdout Starting a mssql pool with 17 connections. +53ms
prisma:info Starting a mssql pool with 17 connections.
  prisma:engine stdout Performing a TLS handshake +13ms
prisma:info Performing a TLS handshake
  prisma:engine stdout Trusting the server certificate without validation. +1ms
prisma:warn Trusting the server certificate without validation.
  prisma:engine stdout TLS handshake successful +32ms
prisma:info TLS handshake successful
  prisma:engine stdout Turning TLS off after a login. All traffic from here on is not encrypted. +1ms
prisma:warn Turning TLS off after a login. All traffic from here on is not encrypted.
  prisma:engine stdout Database change from 'iisuss' to 'master' +0ms
prisma:info Database change from 'iisuss' to 'master'
  prisma:engine stdout Контекст базы данных изменен на "iisuss". +1ms
prisma:info Контекст базы данных изменен на "iisuss".
  prisma:engine stdout SQL collation change from None to None +1ms
prisma:info SQL collation change from None to None
  prisma:engine stdout Microsoft SQL Server version 3490119695 +0ms
prisma:info Microsoft SQL Server version 3490119695
  prisma:engine stdout Packet size change from '4096' to '4096' +1ms
prisma:info Packet size change from '4096' to '4096'
  prisma:engine stdout Fetched a connection from the pool +0ms
  prisma:engine stdout Started http server on http://127.0.0.1:10239 +1ms
prisma:info Started http server on http://127.0.0.1:10239
  prisma:engine Search for Query Engine in C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\.prisma\client +10ms
  prisma:engine stdout Fetched a connection from the pool +10ms
  prisma:engine stdout Unknown error +1ms
prisma:query SELECT [dbo].[people_List].[id_People], [dbo].[people_List].[Surname], [dbo].[people_List].[Name], [dbo].[people_List].[Patronymic], [dbo].[people_List].[OldSurname], [dbo].[people_List].[OldName], [dbo].[people_List].[OldPatronymic], [dbo].[people_List].[Marriage], [dbo].[people_List].[Sex], [dbo].[people_List].[BornDate], [dbo].[people_List].[BornPlace], [dbo].[people_List].[id_Doc], [dbo].[people_List].[DocSerial], [dbo].[people_List].[DocNo], [dbo].[people_List].[DocDistributed], [dbo].[people_List].[DocDate], [dbo].[people_List].[DocDepartmentCode], [dbo].[people_List].[id_Sitizen], [dbo].[people_List].[Photo], [dbo].[people_List].[Other], [dbo].[people_List].[is_webimported], [dbo].[people_List].[id_web], [dbo].[people_List].[FIO], [dbo].[people_List].[FIO2], [dbo].[people_List].[msrepl_tran_version], [dbo].[people_List].[SurnameRP], [dbo].[people_List].[NameRP], [dbo].[people_List].[PatronymicRP], [dbo].[people_List].[id_Nationality_old], [dbo].[people_List].[id_Nationality], [dbo].[people_List].[UID], [dbo].[people_List].[UID_stat], [dbo].[people_List].[UID_sok], [dbo].[people_List].[UID_zo], [dbo].[people_List].[INN_old], [dbo].[people_List].[SSN], [dbo].[people_List].[INN], [dbo].[people_List].[tabNumber] FROM [dbo].[people_List] WHERE 1=1
  prisma:engine {
  prisma:engine   error: PrismaClientUnknownRequestError2 [PrismaClientUnknownRequestError]: Error occurred during query execution:
  prisma:engine   ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Utf8) })
  prisma:engine       at NodeEngine.graphQLToJSError (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:28377:14)
  prisma:engine       at NodeEngine.request (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:28273:24)
  prisma:engine       at processTicksAndRejections (node:internal/process/task_queues:94:5)
  prisma:engine       at async cb (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:35193:26) {
  prisma:engine     clientVersion: '2.24.1'
  prisma:engine   }
  prisma:engine } +2ms
  prisma:engine stdout Fetched a connection from the pool +2ms
  prisma:engine stdout Flushing unhandled packet from the wire. Please consume your streams! +0ms
prisma:warn Flushing unhandled packet from the wire. Please consume your streams!
  prisma:engine {
  prisma:engine   error: PrismaClientUnknownRequestError2 [PrismaClientUnknownRequestError]: Error occurred during query execution:
  prisma:engine   ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Utf8) })
  prisma:engine       at NodeEngine.graphQLToJSError (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:28377:14)
  prisma:engine       at NodeEngine.request (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:28273:24)
  prisma:engine       at processTicksAndRejections (node:internal/process/task_queues:94:5)
  prisma:engine       at async cb (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:35193:26) {
  prisma:engine     clientVersion: '2.24.1'
  prisma:engine   }
  prisma:engine } +1ms
  prisma:engine stdout Flushing unhandled packet from the wire. Please consume your streams! +1ms
prisma:warn Flushing unhandled packet from the wire. Please consume your streams!
  prisma:engine stdout Flushing unhandled packet from the wire. Please consume your streams! +0ms
prisma:warn Flushing unhandled packet from the wire. Please consume your streams!
  prisma:engine stdout Unknown error +1ms
prisma:query SELECT [dbo].[people_List].[id_People], [dbo].[people_List].[Surname], [dbo].[people_List].[Name], [dbo].[people_List].[Patronymic], [dbo].[people_List].[OldSurname], [dbo].[people_List].[OldName], [dbo].[people_List].[OldPatronymic], [dbo].[people_List].[Marriage], [dbo].[people_List].[Sex], [dbo].[people_List].[BornDate], [dbo].[people_List].[BornPlace], [dbo].[people_List].[id_Doc], [dbo].[people_List].[DocSerial], [dbo].[people_List].[DocNo], [dbo].[people_List].[DocDistributed], [dbo].[people_List].[DocDate], [dbo].[people_List].[DocDepartmentCode], [dbo].[people_List].[id_Sitizen], [dbo].[people_List].[Photo], [dbo].[people_List].[Other], [dbo].[people_List].[is_webimported], [dbo].[people_List].[id_web], [dbo].[people_List].[FIO], [dbo].[people_List].[FIO2], [dbo].[people_List].[msrepl_tran_version], [dbo].[people_List].[SurnameRP], [dbo].[people_List].[NameRP], [dbo].[people_List].[PatronymicRP], [dbo].[people_List].[id_Nationality_old], [dbo].[people_List].[id_Nationality], [dbo].[people_List].[UID], [dbo].[people_List].[UID_stat], [dbo].[people_List].[UID_sok], [dbo].[people_List].[UID_zo], [dbo].[people_List].[INN_old], [dbo].[people_List].[SSN], [dbo].[people_List].[INN], [dbo].[people_List].[tabNumber] FROM [dbo].[people_List] WHERE 1=1
  prisma:engine {
  prisma:engine   error: PrismaClientUnknownRequestError2 [PrismaClientUnknownRequestError]: Error occurred during query execution:
  prisma:engine   ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Utf8) })
  prisma:engine       at NodeEngine.graphQLToJSError (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:28377:14)
  prisma:engine       at NodeEngine.request (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:28273:24)
  prisma:engine       at processTicksAndRejections (node:internal/process/task_queues:94:5)
  prisma:engine       at async cb (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:35193:26) {
  prisma:engine     clientVersion: '2.24.1'
  prisma:engine   }
  prisma:engine } +1ms
  prisma:client Error: Error occurred during query execution:
  prisma:client ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Utf8) })
  prisma:client     at NodeEngine.graphQLToJSError (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:28377:14)
  prisma:client     at NodeEngine.request (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:28273:24)
  prisma:client     at processTicksAndRejections (node:internal/process/task_queues:94:5)
  prisma:client     at async cb (C:\Projects\Diplom_Work\graphql-prisma-svfu\node_modules\@prisma\client\runtime\index.js:35193:26) +139ms
  prisma:engine stdout Fetched a connection from the pool +6ms
  prisma:engine stdout Flushing unhandled packet from the wire. Please consume your streams! +0ms
prisma:warn Flushing unhandled packet from the wire. Please consume your streams!
  prisma:engine stdout Flushing unhandled packet from the wire. Please consume your streams! +0ms
prisma:warn Flushing unhandled packet from the wire. Please consume your streams!
  prisma:engine stdout Flushing unhandled packet from the wire. Please consume your streams! +1ms
prisma:warn Flushing unhandled packet from the wire. Please consume your streams!
  prisma:engine stdout Unknown error +2ms
prisma:query SELECT [dbo].[people_List].[id_People], [dbo].[people_List].[Surname], [dbo].[people_List].[Name], [dbo].[people_List].[Patronymic], [dbo].[people_List].[OldSurname], [dbo].[people_List].[OldName], [dbo].[people_List].[OldPatronymic], [dbo].[people_List].[Marriage], [dbo].[people_List].[Sex], [dbo].[people_List].[BornDate], [dbo].[people_List].[BornPlace], [dbo].[people_List].[id_Doc], [dbo].[people_List].[DocSerial], [dbo].[people_List].[DocNo], [dbo].[people_List].[DocDistributed], [dbo].[people_List].[DocDate], [dbo].[people_List].[DocDepartmentCode], [dbo].[people_List].[id_Sitizen], [dbo].[people_List].[Photo], [dbo].[people_List].[Other], [dbo].[people_List].[is_webimported], [dbo].[people_List].[id_web], [dbo].[people_List].[FIO], [dbo].[people_List].[FIO2], [dbo].[people_List].[msrepl_tran_version], [dbo].[people_List].[SurnameRP], [dbo].[people_List].[NameRP], [dbo].[people_List].[PatronymicRP], [dbo].[people_List].[id_Nationality_old], [dbo].[people_List].[id_Nationality], [dbo].[people_List].[UID], [dbo].[people_List].[UID_stat], [dbo].[people_List].[UID_sok], [dbo].[people_List].[UID_zo], [dbo].[people_List].[INN_old], [dbo].[people_List].[SSN], [dbo].[people_List].[INN], [dbo].[people_List].[tabNumber] FROM [dbo].[people_List] WHERE 1=1
  prisma:engine Client Version: 2.24.1 +21ms
  prisma:engine Engine Version: query-engine 18095475d5ee64536e2f93995e48ad800737a9e4 +0ms
  prisma:engine Active provider: sqlserver +1ms
  express:router dispatching POST / +323ms
  express:router query  : / +0ms
  express:router expressInit  : / +2ms
  express:router router  : / +1ms
  express:router dispatching POST / +1ms
  express:router corsMiddleware  : / +1ms
  express:router jsonParser  : / +0ms
  body-parser:json content-type "application/json" +1ms
  body-parser:json content-encoding "identity" +1ms
  body-parser:json read body +0ms
  body-parser:json parse body +2ms
  body-parser:json parse json +0ms
  express:router <anonymous>  : / +1ms
  express:router <anonymous>  : / +0ms

Thanks, that should give us more information to reproduce. You hunch that this might be caused by the collation sounds reasonable to me.

Changed my database collation to "Cyrillic_General_100_CI_AS_KS_WS_SC_UTF8", but the server (localhost) itself remains "Cyrillic_General_CI_AS". Still kinda receiving this query error. I'm now looking for way to change server collation too

Interesting. Couldn't change server collation.
But I've created a minor separate database instead of the real one (which is from .bak file) with 1 table Users(id, name), and its working with collation "Cyrillic_General_CI_AS".
I am really frustrated what is happening. I even checked databases parameters, all the same (on the first sight), just the real one had SQL support of 2016, changed it to 2019 but still same error on this database

Okay. I have managed a bit fix it. In short I guess its connected to query size, kinda. Reduced real model of people_List to (for example) id_People, Name, Surname - running fine (Prisma making query (from logs) "SELECT [dbo].[people_List].[id_People], [dbo].[people_List].[Surname], [dbo].[people_List].[Name], [dbo].[people_List].[Patronymic] FROM [dbo].[people_List] WHERE 1=1")
Changed it back to full model with a lot of columns - previously mentioned error

Definitely something on the Prisma side.
Can you share the full SQL of that table with all the columns that made it fail? Maybe that is already enough to reproduce it on our side.

Ofc, there's Prisma model
model people_List {
  id_People           Int       @id
  Surname             String    @db.VarChar(30)
  Name                String    @db.VarChar(30)
  Patronymic          String?   @db.VarChar(30)
  OldSurname          String?   @db.VarChar(30)
  OldName             String?   @db.VarChar(30)
  OldPatronymic       String?   @db.VarChar(30)
  Marriage            Boolean
  Sex                 String    @db.Char(1)
  BornDate            DateTime  @db.DateTime
  BornPlace           String?   @db.VarChar(100)
  id_Doc              Int       @db.SmallInt
  DocSerial           String    @db.VarChar(10)
  DocNo               String    @db.VarChar(30)
  DocDistributed      String?   @db.VarChar(150)
  DocDate             DateTime? @db.DateTime
  DocDepartmentCode   String?   @db.VarChar(50)
  id_Sitizen          Int       @db.SmallInt
  Photo               Bytes?    @db.Image
  Other               String?   @db.Text
  is_webimported      Boolean
  id_web              Int?
  FIO                 String    @db.VarChar(92)
  FIO2                String?   @db.VarChar(125)
  msrepl_tran_version String    @db.UniqueIdentifier
  SurnameRP           String?   @db.VarChar(30)
  NameRP              String?   @db.VarChar(30)
  PatronymicRP        String?   @db.VarChar(30)
  id_Nationality_old  Int?
  id_Nationality      Int?
  UID                 Int?
  UID_stat            Int?
  UID_sok             Int?
  UID_zo              Int?
  INN_old             BigInt?
  SSN                 String?   @db.VarChar(255)
  INN                 String?   @db.VarChar(12)
  tabNumber           String?   @db.VarChar(10)
}

SQL Query was already mentioned, but just to repeat
SELECT [dbo].[people_List].[id_People], [dbo].[people_List].[Surname], [dbo].[people_List].[Name], [dbo].[people_List].[Patronymic], [dbo].[people_List].[OldSurname], [dbo].[people_List].[OldName], [dbo].[people_List].[OldPatronymic], [dbo].[people_List].[Marriage], [dbo].[people_List].[Sex], [dbo].[people_List].[BornDate], [dbo].[people_List].[BornPlace], [dbo].[people_List].[id_Doc], [dbo].[people_List].[DocSerial], [dbo].[people_List].[DocNo], [dbo].[people_List].[DocDistributed], [dbo].[people_List].[DocDate], [dbo].[people_List].[DocDepartmentCode], [dbo].[people_List].[id_Sitizen], [dbo].[people_List].[Photo], [dbo].[people_List].[Other], [dbo].[people_List].[is_webimported], [dbo].[people_List].[id_web], [dbo].[people_List].[FIO], [dbo].[people_List].[FIO2], [dbo].[people_List].[msrepl_tran_version], [dbo].[people_List].[SurnameRP], [dbo].[people_List].[NameRP], [dbo].[people_List].[PatronymicRP], [dbo].[people_List].[id_Nationality_old], [dbo].[people_List].[id_Nationality], [dbo].[people_List].[UID], [dbo].[people_List].[UID_stat], [dbo].[people_List].[UID_sok], [dbo].[people_List].[UID_zo], [dbo].[people_List].[INN_old], [dbo].[people_List].[SSN], [dbo].[people_List].[INN], [dbo].[people_List].[tabNumber] FROM [dbo].[people_List] WHERE 1=1"

A bit lost at word "full sql table" so I will share an image of that table with its columns

Thanks. Did you create the SQL table with Prisma Migrate (migrate dev or db push for example) or did you already have it? SQL UIs usually have a button to export the DDL or SQL needed to create the exact same table.
(But we can try with the data we have already)

Its a table from the real database (kinda, backup file didnt contail all data/rows) with a lot of tables, which was restored via .bak file with MS SQL Server Studio on my localhost for testing purposes. I dunno how to copy exactly the table, though I could try to send .bak of database if you need, although its a pretty confidential theme.

Oh, wait, got the script of creating table (columns), though I guess it will be empty
/****** Object:  Table [dbo].[people_List]    Script Date: 06.06.2021 18:17:01 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[people_List](
	[id_People] [int] NOT NULL,
	[Surname] [varchar](30) NOT NULL,
	[Name] [varchar](30) NOT NULL,
	[Patronymic] [varchar](30) NULL,
	[OldSurname] [varchar](30) NULL,
	[OldName] [varchar](30) NULL,
	[OldPatronymic] [varchar](30) NULL,
	[Marriage] [bit] NOT NULL,
	[Sex] [char](1) NOT NULL,
	[BornDate] [datetime] NOT NULL,
	[BornPlace] [varchar](100) NULL,
	[id_Doc] [smallint] NOT NULL,
	[DocSerial] [varchar](10) NOT NULL,
	[DocNo] [varchar](30) NOT NULL,
	[DocDistributed] [varchar](150) NULL,
	[DocDate] [datetime] NULL,
	[DocDepartmentCode] [varchar](50) NULL,
	[id_Sitizen] [smallint] NOT NULL,
	[Photo] [image] NULL,
	[Other] [text] NULL,
	[is_webimported] [bit] NOT NULL,
	[id_web] [int] NULL,
	[FIO] [varchar](92) NOT NULL,
	[FIO2] [varchar](125) NULL,
	[msrepl_tran_version] [uniqueidentifier] NOT NULL,
	[SurnameRP] [varchar](30) NULL,
	[NameRP] [varchar](30) NULL,
	[PatronymicRP] [varchar](30) NULL,
	[id_Nationality_old] [int] NULL,
	[id_Nationality] [int] NULL,
	[UID] [int] NULL,
	[UID_stat] [int] NULL,
	[UID_sok] [int] NULL,
	[UID_zo] [int] NULL,
	[INN_old] [bigint] NULL,
	[SSN] [varchar](255) NULL,
	[INN] [varchar](12) NULL,
	[tabNumber] [varchar](10) NULL,
 CONSTRAINT [PK_people_List] PRIMARY KEY CLUSTERED
(
	[id_People] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

Thanks, that is perfect. With that someone will try to reproduce this soon - and if it is indeed the data causing the error, we will ask for that later.

Hey, so are you using VarChar to store non-ascii data? What I suspect is that we don't have the right collation data in the library, and try to read the data as UTF-8. This should just work with NVarChar columns, but we don't really test with VarChar and non-ascii...

Can you elaborate on non-ascii data? It contains cyrillic symbols (aka russian language), dunno if its non-ascii or not...
But after your question I've tested additionally and finally found out that the filed on Prisma.schema
Sex                 String    @db.Char(1)
used cyrillic language and after removing it from schema it finally now works. I guess the problem is solved, kinda.

This is an extremely interesting issue, I'll take a look for sure.
I was originally thinking it might be some of the @db.VarChar fields holding data we can't read correctly.
Can you provide me an example of a value in @db.Char(1) field that breaks Prisma? I can write a test and fix that then.

Ofc, its 1 symbols meaning Sex of human like male/female but in russian symbols, М or Ж

Cool. Thanks for an excellent reproduction. I'll try to spin up a dockerized server with the right collation, and see what's wrong in our CHAR parsing code.

So, you have cyrillic symbols in the VarChar fields too and they do work?

Yep, they work fine, at least I'm now running queries without any crashes

I think the NChar would work here just fine, but I need to fix the Char handling.

Hey @BJladika we just published a special version for you to test a bit: 2.25.0-integration-sql-server-char-collation-fix.2. Could you try this out, try reading that CHAR(1) value and see the result. Also, would be interested to know if you can write to the VARCHAR and CHAR columns successfully. We definitely have some areas in non-UTF column types we haven't covered, and if this does not work out, I'm trying to do an installation of SQL Server that can talk this collation and try to reproduce the problems by myself.

Can you give me a hint how to change to this version?

``bash
npm install prisma@2.25.0-integration-sql-server-char-collation-fix.2 --save-dev
Or set it in your `package.json`.

In npm: https://www.npmjs.com/package/prisma/v/2.25.0-integration-sql-server-char-collation-fix.2

Well, seems like its not working?
  "dependencies": {
    "@prisma/client": "2.24.1",
    "apollo-server": "2.25.0",
    "graphql": "15.5.0",
    "graphql-scalars": "1.9.3"
  },
  "devDependencies": {
    "prisma": "^2.25.0-integration-sql-server-char-collation-fix.2"
  },

Still facing that error with query or I must also update prisma client?

yeah you should also update the client!
I got a database now with Cyrillic_General_CI_AS as the collation. Created a table with CHAR(1) and VARCHAR(255) columns, and added a row there with Ж and ЖЖЖЖЖЖЖЖ written to the columns. On the current prisma master I get UTF-8 error and on my branch, the data is loaded correctly:
❯ cargo run --example async-std
   Compiling tiberius v0.5.13 (/home/pimeys/code/tiberius)
    Finished dev [unoptimized + debuginfo] target(s) in 4.92s
     Running `target/debug/examples/async-std`
Row { columns: [Column { name: "id", column_type: Int4 }, Column { name: "data", column_type: BigChar }, Column { name: "data2", column_type: BigVarChar }], data: TokenRow { data: [I32(Some(1)), String(Some("Ж")), String(Some("ЖЖЖЖЖЖЖЖ"))] } }

I might want to try to write a test for this issue...

You might need to run prisma generate too to get the correct engine.

Well, i tried to use npm install @prisma/client@2.25.0-integration-sql-server-char-collation-fix.2 --save-dev and via changing depencies to @prisma/client": "2.25.0-integration-sql-server-char-collation-fix.2" but only getting error
npm ERR! code EPERM
npm ERR! syscall rename
npm ERR! path C:\Projects\graphql-sdl-first\node_modules\@prisma\engines-version
npm ERR! dest C:\Projects\graphql-sdl-first\node_modules\@prisma\.engines-version-SMIlxHHf
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, rename 'C:\Projects\graphql-sdl-first\node_modules\@prisma\engines-version' -> 'C:\Projects\Diplom_Work\graphql-sdl-first\node_modules\@prisma\.engines-version-SMIlxHHf'
npm ERR!  [Error: EPERM: operation not permitted, rename 'C:\Projects\graphql-sdl-first\node_modules\@prisma\engines-version' -> 'C:\Projects\graphql-sdl-first\node_modules\@prisma\.engines-version-SMIlxHHf'] {
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'rename',
npm ERR!   path: 'C:\\Projects\\graphql-sdl-first\\node_modules\\@prisma\\engines-version',
npm ERR!   dest: 'C:\\Projects\\graphql-sdl-first\\node_modules\\@prisma\\.engines-version-SMIlxHHf'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

Hey @BJladika, Node on Windows sometimes can be a pain - I also get this message from time to time. Maybe uninstall prisma and @prisma/client first (npm uninstall prisma @prisma/client)  and then install it again (the commands you posted above). Sometimes it also helps to run the commands a few more times. The less tools and programs are open, the less probably it is that one of them is blocking the file access.

Yeah, ran a query now with an updated (aka reinstalled) @prisma/client and prisma to 25.0 version and now I'm not receiving error and can receive Char string. About mutations... well, maybe will write/test later, now a bit busy

The pull request above fixes it and adds a test so we don't get a regression in the future. I noticed the type TEXT was also broken in a similar way.

This will be fully available in the 2.25.0 version on next week.

Can you confirm this worked in our latest now @BJladika?

There is a guide to understand why happens this, i solve my error with the docs of this url
http://www.sql-server-helper.com/error-messages/msg-8115-numeric-to-numeric.aspx

authors: Allislove BJladika janpio pimeys


text:
Migrate could automatically create a CITEXT extension if it is used in the schema (Postgres)

Assume this schema (Postgres):
model User {
  id String @id
  email String
}

When I run migrate dev for this, all is good.
But now, when I try to change the email field to use the Citext native type:
model User {
  id String @id
  email String @db.Citext
}

and run migrate dev again, Migrate successfully creates a migration in disk, but fails to apply it because the CITEXT Postgres extension was not created.
I can manually create it using CREATE EXTENSION IF NOT EXISTS citext WITH SCHEMA public;, and run migrate dev again, and that succeeds just fine.
In order to ensure that future Migrate commands work correctly, I work around this issue currently by manuallyt editing this migration and adding CREATE EXTENSION IF NOT EXISTS citext WITH SCHEMA public; as the first line in the generated Migrate SQL.
It would be great if Migrate did that out of the box!
Internal: We discovered this in this PR: https://github.com/prisma/cloud/pull/695

Related to https://github.com/prisma/prisma/issues/6822

source: gharchive/issue

repo: prisma/prisma

license_type: permissive

license_source: github-api


text:
ci(benchmark.yml): use Node v16

https://prisma-company.slack.com/archives/C04UKP1JSE7/p1689693487127009

PR to try removing V8 flags causing this in https://github.com/prisma/prisma/pull/20281

source: gharchive/pull-request


text:
Hide c or c++ symbols in the pod distribution

The current pod exposes all symbols in the webrtc project such as nss/sha512.cc containing symbols such as _SHA256_Update. Those symbols are susceptible to conflict with other libraries such as openssl.
Is it possible to just expose ObjectC related symbols in the pod distribution?
Thanks.

I'd used binutils to rename conflicted symbols.

repo: pristineio/webrtc-build-scripts

license_source: bigquery


text:
chore: added placeholder to repo info form

Description
Added dynamic placeholder for the parameter input element
Related Issue

issue #385
Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

Hey! Your solution is great, but someone created a PR 2 days ago to solve the same issue: https://github.com/privacy-scaling-explorations/bandada/pull/387.
Thank you so much.
Here is a list of good first issues, feel free to ask questions, take a new one and ask us to assign you: https://github.com/privacy-scaling-explorations/bandada/issues?q=is%3Aissue+is%3Aopen+label%3A"good+first+issue"

Duplicated #387

authors: 0xjei gabrieltemtsen vplasencia

repo: privacy-scaling-explorations/bandada

license: MIT


text:
🆕 Software Suggestion | Opticole

Basic Information
Name: Opticole
Category: Windows Privacy Tool & File Encryption
URL: www.riserbo.com/opticole.html
Description
Opticole is an easy-to-use Windows privacy toolkit with a simple GUI. I think it's best to compare it to a Swiss army knife, but for privacy. It all runs immediately off of one executable and doesn't need to be installed which I think is pretty cool. Currently I believe the only method of purchasing it is through a credit card, but I contacted the developers who got back and said BTC payments will be available soon. Also, no account is required or anything like that.
Features
These are the current features I'm aware of:

[x] File and directory encryption/decryption (includes an option for a custom key)
[x] Automatic enabling of Windows privacy settings. Original settings can be saved and restored
[x] Port scanning which guards against malicious payloads
[x] Computer performance boosting

Why I am making the suggestion

Windows can be very problematic when it comes to privacy. I love using Windows, but I also know additional privacy apps/software are necessary to protect my data while using it. Opticole is perfect because it's so easy-to-use and non-intrusive. I don't have to worry about any annoying pop-ups or start-up programs. I can just run it whenever I need it.
My connection with the software

As far as I know, I was one of the first people to purchase Opticole. I'm content with the software, and I want to share it since it's very new and doesn't get a lot of attention.

[x] I will keep the issue up-to-date if something I have said changes or I remember a connection with the software.

Website does not have an SSL certificate.

Closed source, an invalid Twitter account and their contact is a gmail account.
Nothing about this seems like something we should endorse.

Website does not have a SSL-certificate

Yeah, this seems a bit shady, also, i wouldn't even know what section this would be added too.
Closing issue (if people disagree, feel free to comment to reopen it for discussion)


text:
feat: Use HTML to format train_test_split warnings in vscode/jupyter

          Probably in another task we could display those strings as formatted HTML if running in a notebook.

Maybe something like (not tested):
 with contextlib.suppress(ImportError):
        from IPython.core.interactiveshell import InteractiveShell
        from IPython.display import display

        if InteractiveShell.initialized():
            display("""
<div style="
  border: solid 1px var(--vscode-editorWarning-border, red);
  color: var(--vscode-editorWarning-foreground, white);
  background-color: var(--vscode-editorWarning-background, red);
">
  It seems that you have a classification problem with a high class
  imbalance. In this
  case, using train_test_split may not be a good idea because of high
  variability in the scores obtained on the test set.
  To tackle this challenge we suggest to use skore's
  cross_validate function.
</div>""")

Originally posted by @rouk1 in https://github.com/probabl-ai/skore/pull/690#discussion_r1843441023

I would like to have more user feedbacks, and understand properly what workflow we support for emitted warnings. This is an optimization, so let's get back to it when needed.

repo: probabl-ai/skore


text:
Detect timeout when reading from USB HID device

The return value from HidDevice::read_timeoutwas not checked, so we did not detect when a timeout occured.
With the changes in this PR, it should be possible to try multiple reports when connecting to a CMSIS-DAP probe, as is planned in #721.

bors retry

Perhaps we could make the macos (and ubuntu and windows) CI tests no longer required for the protected branch in GitHub settings, but add macos to the bors config (it's not there currently)? I think the problem here is that GitHub requires macos check to have passed before it will merge to master, but bors is not configured to wait for the macos check, so it tries to merge its staging commit before it passes and github blocks it.
If we tell GitHub to makes bors the required check instead of all the other ones, then it can only merge through bors - and we can configure bors to require macos. Otherwise, we should at least add macos to bors' config to stop it trying to merge too early.

bors retry
Should work now, macOS tests are now part of the bors config.

I think you'll need to rebase this to get the bors change?

I think I just got lucky that the macos check was finished earlier 😅

authors: Tiwalun Yatekii adamgreig

repo: probe-rs/probe-rs


text:
Error in Equation 25.14 [version 2022-03-14]

I think there might be a mistake in Equation 25.14 (Section 25.2 line 42, page 865 (latex)).
In the text the partition function appears inside the exponential but I think it should be outside, something more like:
$$
\int \exp (- E_{\boldsymbol{\theta}}(\mathbf{x})) Z_{\boldsymbol{\theta}}^{-1} (-\nabla_{\boldsymbol{\theta}} E_{\boldsymbol{\theta}}(\mathbf{x}))d\mathbf{x}.
$$

fixed, thanks

authors: gileshd murphyk


text:
Allow handlebars to be referenced easily

Feature Request
Is your feature request related to a problem? Please describe.
I am creating a probot application that requires a few http routes. I as they're not totally trivial I'd like to write them using a templating language and I've noticed probot already uses handlebars to render the default /probot route.
The documentation at https://probot.github.io/docs/http/ shows how to render basic output using res.end but it would be useful be able to use res.render too. Unfortunately the default views folder path is set to node_modules/probot/views thanks to https://github.com/probot/probot/blob/d2fe925e1aeade9168d3042be25d0a7c48264938/src/server.ts#L17
Describe the solution you'd like
It would be really useful to be able to do the following in my app:
module.exports = app => {
  const expApp = app.route('/my-thing');
  expApp.get('/', (req, res) => {
    res.render('root.hbs', {name: 'Ben'});
  });
}

and have the url /my-thing render the handlebars template in <project-root>/views/root.hbs.
Describe alternatives you've considered
I can get this to work by changing my render path to traverse out of the node_modules and into the project root: res.render('../../../views/root.hbs', {name: 'Ben'}); however that is very ugly.
I can also create a new express app and mount it:
const express = require('express');

module.exports = app => {
  const expApp = express();
  expApp.get('/', (req, res) => {
    res.render('root.hbs', {name: 'Ben'});
  });

  app.router.use('/my-thing', expApp);

However app.router is not documented on the website so I'm not sure if that is the preferred option
Teachability, Documentation, Adoption, Migration Strategy
Adding an example of handlebars use on https://probot.github.io/docs/http

I think that'd be great. Ideally Probot would just default to including your local views directory in the path. Any idea how to do that with express and/or handlebars?

authors: BPScott bkeepers

repo: probot/probot

license: ISC


text:
Bug when using the refresh button when running code.

When I run code in the p5js editor and press the refresh button it stops the whole program from running after.
video explanation here: http://screencast.com/t/eEhRSyI5a29Z

I'm experiencing the same problem. Aside from that, I would prefer a dark environment over a light one. Maybe you could include a dark theme? At the moment, I don't really see the benefits of the p5.js editor over other code editors like Visual Studio Code...

The editor is so useful for teaching students and having a way to set up a sketch's dependent files very quickly. Saves so much drama dealing with paths in a classroom.

Just a note that this bug affects the example code included with the editor.  I ran into it a minute or so into using the editor for the first time, after tweaking a value in the "Array 2d" example.  I ran it, noticed it was slow and  refreshed to see if that was normal (it was, I had changed 'spacer' to 1), then closed the browser and discovered I had to close and reopen the file (but not the whole application, I still had another window open and it appears to be working OK) to be able to run it again.  Just thought a little more information might be helpful.

authors: SimonBuxx otakucode tegacodes twilson33

license: mit


text:
Add documentation for AudioVoice.dispose()

Add missing documentation for AudioVoice.dispose()

Thanks for merging this!


text:
Added p5.js books to book page

Fixes #699
Changes:
Added Generative design book.
Screenshots of the change:

@jeremydouglass Thank you so much for the review! Earlier I was wondering if there was some standard file size or width for the images. I will update the image with 600px width and amend the commit. I will start adding more books right away.

The text actually needs to go into the en.yml, es.yml, and zh-Hans.yml files. Please see the community page src code as an example of how to do this.
The reason the previous two books aren't translated is because we had both the English and Spanish versions and at the time, the website only supported these two languages. Although now, I think these should probably get translated also.

@lmccart Okay, understood. I will add the i18n tags to the existing books first and then add them to en.yml.

@jeremydouglass no they don't need to be. we just need entries in the yml files so the website builds and it's clear what needs to be translated

@jeremydouglass @lmccart Do you have any suggestions/changes for the books page before I go on adding other books? Please review the changes and let me know :)

It all looked good in my review!
My only suggestion -- and this isn't my site -- is that give the large number of strings in a collection of books, it might make sense to move up numbering in the strings, like this:
  book-1-title: "Getting Started with p5.js"
  book-1-authors: "Lauren McCarthy, Casey Reas, and Ben Fry. "
  book-1-publisher: "Published October 2015, Maker Media. "
  book-1-pages: "246 pages. "
  book-1-type: "Paperback."
  book-1-description: "Written by the lead p5.js developer and the founders of Processing, this book provides an introduction to the creative possibilities of today's Web, using JavaScript and HTML."
  book-1-order-a: "Order Print/Ebook from O'Reilly"
  book-1-order-b: "Order from Amazon"

  book-2-title: ... etc.

That would make the yml easier.

@jeremydouglass Thanks for the review. I will amend the commit to use suggested naming convention.
@lmccart If everything else is fine, I would like to continue adding books to the website.

@jeremydouglass To avoid conflicts, I'll update the tracking file once all books have been added.

I can't find much information about the book

Creative Coding and Data Visualization with p5.js

It is out of stock everywhere and also there is no reference of the book on the publisher's website. Should I add this book? What other books would you recommend to be added?

Perhaps my suggestions:

Superfun P5.js Projects: For Beginners
by Nazia Fakhruddin, Haseeb Zeeshan, et al.
p5.js Internet creative programming(Chinese Edition)
by YI MING

@scotthmurray we are updating the p5js.org books page. there was a suggestion to add "Creative Coding and Data Visualization with p5.js". I can't remember the status of this book. it is listed but unavailable on amazon, did it get published? would you like it to be added?

@ayushjainrksh this looks great, and thanks for the reviews @jeremydouglass! I'm going to merge this and we can continue to add other books if you'd like via a new pull request.

@lmccart Thanks for the merge.
@jeremydouglass Please let me know if there is a need to add any more books :)

@lmccart Thank you for thinking of me. Sadly, the contract for the book was cancelled and I never got around to writing it. 😭 Yes, even though it exists as a "real" product on Amazon, with a cover, ISBN, and everything. 🤷♂

@scotthmurray thanks for the update. i like the amazon page as a ghost of p5 dreams past! 👻

authors: ayushjainrksh jeremydouglass lmccart scotthmurray


text:
Update lint-staged from 12.3.4 to 12.3.5

Change-type: patch
Signed-off-by: Josh Bowling josh@balena.io

@balena-ci I self certify!

repo: product-os/jellyfish-assert


text:
No negative Values with 1.1.2

Hey,
with 1.1.0 the Consumption stops at 0.
I got negative Values (PV Power :D )
with V1.1.2 the spend / negative values -X Watt will be show in positive values.
Can you display negative values or can you add a checkbox for „stop at 0 W“?
workaround for me: use V1.1.0

index.js erweitert:
this.powerConsumption = (parseFloat(json.emeters[0].power)+parseFloat(json.emeters[1].power)+parseFloat(json.emeters[2].power));
if (this.powerConsumption < 0) { this.powerConsumption = 0 };
this.totalPowerConsumption = ((parseFloat(json.emeters[0].total)+parseFloat(json.emeters[1].total)+parseFloat(json.emeters[2].total))/1000);
if (this.totalPowerConsumption < 0) { this.totalPowerConsumption = 0 };
this.voltage1 = (((parseFloat(json.emeters[0].voltage)+parseFloat(json.emeters[1].voltage)+parseFloat(json.emeters[2].voltage))/3));
this.ampere1 = (((parseFloat(json.emeters[0].current)*this.pf0)+(parseFloat(json.emeters[1].current)*this.pf1)+(parseFloat(json.emeters[2].current)*this.pf2)));
if (this.ampere1 < 0) { this.ampere1 = 0 };

Sorry for my very late reply.
So you need that all negative values to be zeroed, right?
If I implement:    Negative Values Handling -> Option 1. Zero Values, Option 2. Show Absolute (positive) Values
Are you covered?

Please try new version and report back. Thank You.

works like charm, thanks!

Closed with V1.1.3


text:
i can not format 64 GB transcend sd card

That picture shows a successful format. The erase option is expected to fail for some cards and USB card readers. You can ignore the error message.


text:
macOS Sierra, go and install drivers fails: ./profitbricks.go:258: cannot use profitbricks.Lan literal (type profitbricks.Lan) as type profitbricks.CreateLanRequest in argument to profitbricks.CreateLan make: *** [compile] Error 2

macOS Sierra
go installed via brew
When I try to install the drivers via go, this happend:
docker-machine-driver-profitbricks git:(master) make install
GOGC=off CGOENABLED=0 go build -i -o ./bin/docker-machine-driver-profitbricks"" ./bin
# github.com/profitbricks/docker-machine-driver-profitbricks
./profitbricks.go:258: cannot use profitbricks.Lan literal (type profitbricks.Lan) as type profitbricks.CreateLanRequest in argument to profitbricks.CreateLan
make: *** [compile] Error 2

docker-machine-driver-profitbricks git:(master) go version
go version go1.8.3 darwin/amd64

@apietsch issue resolved in v1.3.1

authors: alibazlamit apietsch


text:
v2.11-beta2+fall2024

Backend version
SDK SHA

Please fix the spelling and listing errors

authors: ccruzagralopes hiltonlima

repo: project-chip/certification-tool-backend


text:
Need a template class for linked list

Problem
LinkedList is a useful data structure for holding a list of uncertain number items (since we cannot have containers like std::vector due to tight memory), but we don't have one.
Proposed Solution
Implement (or port) one.

Intrusive or not?

@erjiaqing Does IntrusiveList handle this?

authors: bzbarsky-apple erjiaqing

repo: project-chip/connectedhomeip


text:
TC-GR-2.3 Groups Cluster -  AddGroupIfIdentifying command not working

1.Problem - 1. When TH adds the group using  AddGroupIfIdentifying command, the group doesn't exists in GroupTable
2. when TH adds n+1 group using  AddGroupIfIdentifying command, we are unable to get RESOUCE_EXHAUSTED response
2.Sequence of steps
AddGroupIfIdentifying -  ./chip-tool groups  add-group-if-identifying 0x0006 gp6 1 0
GroupTable  -  ./chip-tool groupkeymanagement read group-table 1 0
3.Test Environment
App used - allclusters app
Platform - Chip-tool - RPI-4, 8GB RAM
DUT - RPI - RPI-4, 8GB RAM
Network - Ble-wifi
Commit - 9493d7b48c410f058b85552e1668b33f858afcac
4.Logs
DUT_Logs_15.06.2022.txt
TH_Logs_15.06.2022.txt

AddGroupIfIdentifying is not part of Matter.

Looking at the test plan at https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/Groups.adoc#323-tc-g-23-commands---getgroupmembership-addgroupifidentifying-dut-server it looks like the pre-conditions do not have "DUT is identifying" as a pre-condition, and nothing in the test plan tells it to start identifying.  So it sounds like the test plan is buggy and needs fixing.

Cert Blocker Review: @bzbarsky-apple will file a test plan issue, so closing this.

authors: bzbarsky-apple sethunk woody-apple


text:
[Build]

Build issue(s)
when i use this commond
sevene@sevenedeMacBook-Pro CHIPTool % ./gradlew build

reslut failed, how to solve,
branch is master, i want Building Android CHIPTool from Android Studio

/Users/sevene/matter/connectedhomeip/out/android_arm64/CMakeLists.txt : C/C++ debug|arm64-v8a : CMake Warning at /Users/sevene/Library/Android/sdk/ndk/23.2.8568313/build/cmake/android-legacy.toolchain.cmake:416 (message):
  An old version of CMake is being used that cannot automatically detect
  compiler attributes.  Compiler identification is being bypassed.  Some
  values may be wrong or missing.  Update to CMake 3.19 or newer to use
  CMake's built-in compiler identification.
Call Stack (most recent call first):
  /Users/sevene/Library/Android/sdk/ndk/23.2.8568313/build/cmake/android.toolchain.cmake:55 (include)
  /Users/sevene/matter/connectedhomeip/examples/android/CHIPTool/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/3.10.2/CMakeSystem.cmake:6 (include)
  /Users/sevene/matter/connectedhomeip/examples/android/CHIPTool/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)

> Task :app:generateJsonModelDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:generateJsonModelDebug'.
> /Users/sevene/matter/connectedhomeip/out/android_arm64/CMakeLists.txt : C/C++ debug|arm64-v8a : CMake Error at /Users/sevene/matter/connectedhomeip/out/android_arm64/CMakeLists.txt:136118 (add_custom_target):
    Cannot find source file:

      /Users/sevene/matter/connectedhomeip/third_party/pigweed/repo/pw_tokenizer/py/setup.py

    Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
    .hxx .in .txx

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Platform
No response
Anything else?
No response

Building Android CHIPTool from scripts is success,
Building Android CHIPTool from Android Studio is fail,
sevene@sevenedeMacBook-Pro connectedhomeip % ./scripts/build/build_examples.py --target android-arm64-chip-tool build
2023-11-05 17:14:50 INFO    Building targets: android-arm64-chip-tool
2023-11-05 17:14:50 INFO    Preparing builder 'android-arm64-chip-tool'
2023-11-05 17:14:50 INFO    Generating /Users/sevene/matter/connectedhomeip/out/android-arm64-chip-tool
2023-11-05 17:14:50 INFO    Setting up Android deps through Gradle
2023-11-05 17:14:51 INFO    > Task :buildSrc:compileJava NO-SOURCE
2023-11-05 17:14:51 INFO    > Task :buildSrc:compileGroovy UP-TO-DATE
2023-11-05 17:14:51 INFO    > Task :buildSrc:processResources NO-SOURCE

.....
......

++ unset -f _chip_bootstrap_banner
++ '[' -n '' ']'
+ python3 third_party/android_deps/set_up_android_deps.py

BUILD SUCCESSFUL in 498ms
4 actionable tasks: 1 executed, 3 up-to-date
+ echo 'build ide'
build ide
+ gn gen --check --fail-on-unused-args out/android_arm64 '--args=target_os="android" target_cpu="arm64" android_ndk_root="/Users/sevene/Library/Android/sdk/ndk/23.2.8568313" android_sdk_root="/Users/sevene/Library/Android/sdk"' --ide=json --json-ide-script=//scripts/examples/gn_to_cmakelists.py
Generating JSON projects took 129450ms
Done. Made 6574 targets from 344 files in 129769ms


text:
[Ameba] Populate other threadmetrics fields

Problem
When reading threadmetrics, stackSize and stackFreeCurrent shows garbage values.
Change overview
Get stackSize and stackFreeCurrent using implemented API
Testing
Read threadmetrics and checked that these 2 fields shows the correct values.

Fast tracking platform changes.

Prerequisite: #19763

/rebase

authors: pankore woody-apple


text:
Add a timer to track whether we have received BDX init after a query …

…image was successful

Currently if an ota requester has a successful query image and an image it available but if for any reason, the ota requester doesn't send BDX init, the provider will be stuck until we reboot the resident. In order to have a fail safe, we are adding a timer that starts after query image returns image available and waits for a BDX init to come. In case BDX init doesn't come, it times out and resets state

Add code to reset state if any API fails on the provider once we prepare for BDX transfer

Stop polling when BDX transfer reset is called

Return QueryImageResponse status busy instead of general failure if the sdk is busy and gets a sexond query image so accessory can handle the error correctly and retry until the sdk is done

Fixes #24679

It appears that the main change in this PR applies only to the Darwin platform. If so, please update the title and description to make this clear.

authors: nivi-apple selissia


text:
Adding request-commissioning CHIPTool command

Problem
Support for Initializing setup via "commissioner-discovery-from-an-on-network-device" is pending implementation of commands for Steps 7-12.
Note: Steps 3-5 were previously implemented as a discover-commissioner command in the CHIPTool  (see PR)
What is being fixed?

Implementation of Commissionable Node advertisement in the new request-commissioning CHIPTool command.

Change overview

This PR adds the basic skeleton for the request-commissioning command on the CLI CHIPTool and initiates advertisement of the tool as a Commissionable Node.
More actions like sending a UDC request, entering commissioning mode, etc. will be implemented as part of the same command later on, in separate PRs.

Testing
Tested by running the new request-commissioning command on the CHIPTool and verifying using minimal-mdns-client that a commissionable node is advertised. See outputs below from each command:
$> ./chip-tool pairing request-commissioning
[1623962271.779161][33013] CHIP:IN: TransportMgr initialized
[1623962271.779210][33013] CHIP:DIS: Init admin pairing table with server storage
[1623962271.779507][33013] CHIP:IN: Loading certs from KVS
[1623962271.779555][33013] CHIP:IN: local node id is 0x000000000001B669
[1623962271.780311][33013] CHIP:ZCL: Using ZAP configuration...
[1623962271.780371][33013] CHIP:ZCL: deactivate report event
[1623962271.780435][33013] CHIP:CTL: Getting operational keys
[1623962271.780447][33013] CHIP:CTL: Generating credentials
[1623962271.780577][33013] CHIP:CTL: Loaded credentials successfully
[1623962271.781020][33013] CHIP:DIS: CHIP minimal mDNS started advertising.
[1623962271.781126][33013] CHIP:DIS: Replying to DNS-SD service listing request
[1623962271.781183][33013] CHIP:DIS: Replying to DNS-SD service listing request
[1623962271.781216][33013] CHIP:DIS: Replying to DNS-SD service listing request
[1623962271.781248][33013] CHIP:DIS: Replying to DNS-SD service listing request
[1623962271.781281][33013] CHIP:DIS: Replying to DNS-SD service listing request
[1623962271.781295][33013] CHIP:DL: wpa_supplicant: _IsWiFiStationProvisioned: interface not connected
[1623962271.784222][33013] CHIP:DIS: Using wifi MAC for hostname
[1623962271.784364][33013] CHIP:DL: rotatingDeviceId: 0000490C1FF0DB5910AD14994F162DB850F3
[1623962271.784378][33013] CHIP:DIS: Advertise commission parameter vendorID=9050 productID=65279 discriminator=2976/160
[1623962271.784405][33013] CHIP:DIS: CHIP minimal mDNS configured as 'Commissionable node device'.
[1623962271.784417][33013] CHIP:TOO: Waiting for 30 sec
[1623962271.781380][33018] CHIP:DL: CHIP task running
[1623962288.933834][33018] CHIP:DIS: Directly sending mDns reply to peer on port 5388
[1623962288.935128][33018] CHIP:DIS: Directly sending mDns reply to peer on port 5388
[1623962288.936404][33018] CHIP:DIS: Directly sending mDns reply to peer on port 5388
[1623962288.937910][33018] CHIP:DIS: Directly sending mDns reply to peer on port 5388
[1623962288.939446][33018] CHIP:DIS: Directly sending mDns reply to peer on port 5388
[1623962288.942679][33018] CHIP:DIS: Directly sending mDns reply to peer on port 5388
[1623962301.785356][33013] CHIP:TOO: No response from device
[1623962301.786065][33013] CHIP:CTL: Shutting down the commissioner
[1623962301.786123][33013] CHIP:CTL: Shutting down the controller
[1623962301.786139][33013] CHIP:DL: Inet Layer shutdown
[1623962301.786232][33013] CHIP:DL: BLE layer shutdown
[1623962301.786248][33013] CHIP:DL: System Layer shutdown

$> ./minimal-mdns-client -q _chipc._udp.local
Running...
Usable interface: eth0 (2)
Usable interface: services1 (5)
Usable interface: docker0 (7)
[1623962288.932292][33112] CHIP:DIS: Attempt to mDNS broadcast to an unreachable destination.
RESPONSE from: fe80::50:ff:fe00:1 on port 5353, via interface 2
RESPONSE: REPLY 4660 (1, 1, 0, 4):
RESPONSE:     QUERY ANY/IN UNICAST: _chipc._udp.local.
RESPONSE:     ANSWER PTR/IN ttl 120: _chipc._udp.local.
RESPONSE:       PTR:  1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     ADDITIONAL SRV/IN ttl 120: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:       SRV on port 11097, priority 0, weight 0:  025000000001.local.
RESPONSE:     ADDITIONAL AAAA/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  fe80::50:ff:fe00:1
RESPONSE:     ADDITIONAL A/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  192.168.65.3
RESPONSE:     ADDITIONAL TXT/IN ttl 4500: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     TXT:  'VP' = '9050+65279'
RESPONSE:     TXT:  'D' = '2976'
RESPONSE:     TXT:  'CM' = '1'
RESPONSE:     TXT:  'RI' = '0000490C1FF0DB5910AD14994F162DB850F3'
RESPONSE:     TXT:  'PH' = '33'
RESPONSE:     TXT:  'PI' = ''
RESPONSE from: fe80::50:ff:fe00:1 on port 5353, via interface 2
RESPONSE: REPLY 4660 (1, 1, 0, 4):
RESPONSE:     QUERY ANY/IN UNICAST: _chipc._udp.local.
RESPONSE:     ANSWER PTR/IN ttl 120: _chipc._udp.local.
RESPONSE:       PTR:  1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     ADDITIONAL SRV/IN ttl 120: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:       SRV on port 11097, priority 0, weight 0:  025000000001.local.
RESPONSE:     ADDITIONAL AAAA/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  fe80::50:ff:fe00:1
RESPONSE:     ADDITIONAL A/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  192.168.65.3
RESPONSE:     ADDITIONAL TXT/IN ttl 4500: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     TXT:  'VP' = '9050+65279'
RESPONSE:     TXT:  'D' = '2976'
RESPONSE:     TXT:  'CM' = '1'
RESPONSE:     TXT:  'RI' = '0000490C1FF0DB5910AD14994F162DB850F3'
RESPONSE:     TXT:  'PH' = '33'
RESPONSE:     TXT:  'PI' = ''
RESPONSE from: fe80::50:ff:fe00:1 on port 5353, via interface 2
RESPONSE: REPLY 4660 (1, 1, 0, 4):
RESPONSE:     QUERY ANY/IN UNICAST: _chipc._udp.local.
RESPONSE:     ANSWER PTR/IN ttl 120: _chipc._udp.local.
RESPONSE:       PTR:  1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     ADDITIONAL SRV/IN ttl 120: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:       SRV on port 11097, priority 0, weight 0:  025000000001.local.
RESPONSE:     ADDITIONAL AAAA/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  fe80::50:ff:fe00:1
RESPONSE:     ADDITIONAL A/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  192.168.65.3
RESPONSE:     ADDITIONAL TXT/IN ttl 4500: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     TXT:  'VP' = '9050+65279'
RESPONSE:     TXT:  'D' = '2976'
RESPONSE:     TXT:  'CM' = '1'
RESPONSE:     TXT:  'RI' = '0000490C1FF0DB5910AD14994F162DB850F3'
RESPONSE:     TXT:  'PH' = '33'
RESPONSE:     TXT:  'PI' = ''
RESPONSE from: fe80::f0c6:79ff:fe6e:4308 on port 5353, via interface 5
RESPONSE: REPLY 4660 (1, 1, 0, 4):
RESPONSE:     QUERY ANY/IN UNICAST: _chipc._udp.local.
RESPONSE:     ANSWER PTR/IN ttl 120: _chipc._udp.local.
RESPONSE:       PTR:  1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     ADDITIONAL SRV/IN ttl 120: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:       SRV on port 11097, priority 0, weight 0:  025000000001.local.
RESPONSE:     ADDITIONAL AAAA/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  fe80::f0c6:79ff:fe6e:4308
RESPONSE:     ADDITIONAL A/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  192.168.65.4
RESPONSE:     ADDITIONAL TXT/IN ttl 4500: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     TXT:  'VP' = '9050+65279'
RESPONSE:     TXT:  'D' = '2976'
RESPONSE:     TXT:  'CM' = '1'
RESPONSE:     TXT:  'RI' = '0000490C1FF0DB5910AD14994F162DB850F3'
RESPONSE:     TXT:  'PH' = '33'
RESPONSE:     TXT:  'PI' = ''
RESPONSE from: fe80::f0c6:79ff:fe6e:4308 on port 5353, via interface 5
RESPONSE: REPLY 4660 (1, 1, 0, 4):
RESPONSE:     QUERY ANY/IN UNICAST: _chipc._udp.local.
RESPONSE:     ANSWER PTR/IN ttl 120: _chipc._udp.local.
RESPONSE:       PTR:  1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     ADDITIONAL SRV/IN ttl 120: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:       SRV on port 11097, priority 0, weight 0:  025000000001.local.
RESPONSE:     ADDITIONAL AAAA/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  fe80::f0c6:79ff:fe6e:4308
RESPONSE:     ADDITIONAL A/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  192.168.65.4
RESPONSE:     ADDITIONAL TXT/IN ttl 4500: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     TXT:  'VP' = '9050+65279'
RESPONSE:     TXT:  'D' = '2976'
RESPONSE:     TXT:  'CM' = '1'
RESPONSE:     TXT:  'RI' = '0000490C1FF0DB5910AD14994F162DB850F3'
RESPONSE:     TXT:  'PH' = '33'
RESPONSE:     TXT:  'PI' = ''
RESPONSE from: fe80::f0c6:79ff:fe6e:4308 on port 5353, via interface 5
RESPONSE: REPLY 4660 (1, 1, 0, 4):
RESPONSE:     QUERY ANY/IN UNICAST: _chipc._udp.local.
RESPONSE:     ANSWER PTR/IN ttl 120: _chipc._udp.local.
RESPONSE:       PTR:  1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     ADDITIONAL SRV/IN ttl 120: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:       SRV on port 11097, priority 0, weight 0:  025000000001.local.
RESPONSE:     ADDITIONAL AAAA/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  fe80::f0c6:79ff:fe6e:4308
RESPONSE:     ADDITIONAL A/IN ttl 120: 025000000001.local.
RESPONSE:       IP:  192.168.65.4
RESPONSE:     ADDITIONAL TXT/IN ttl 4500: 1F2958EC944A5CFF._chipc._udp.local.
RESPONSE:     TXT:  'VP' = '9050+65279'
RESPONSE:     TXT:  'D' = '2976'
RESPONSE:     TXT:  'CM' = '1'
RESPONSE:     TXT:  'RI' = '0000490C1FF0DB5910AD14994F162DB850F3'
RESPONSE:     TXT:  'PH' = '33'
RESPONSE:     TXT:  'PI' = ''
[1623962289.434855][33112] CHIP:DL: Inet Layer shutdown
[1623962289.435056][33112] CHIP:DL: BLE layer shutdown
[1623962289.435087][33112] CHIP:DL: System Layer shutdown
Done...

This generally looks good to me.  I believe, however, it will need a slight refactor to conform to https://github.com/project-chip/connectedhomeip/pull/7829.

authors: msandstedt sharadb-amazon


text:
Update AppWrappers from 0.27.0 to v0.30.0

Changes:

Define aw as a shortname for appwrapper (PR-288)
Promote AppWrapperLabel to v1beta2 api (PR-282)
Ensure consistent resource status if create errors (PR-273)
Flag config error if admissionGP exceeds warmupGP (PR-278)

This is independent of #642, but it probably makes the most sense to merge #642 first, then rebase this to run the new tests to validate this appwrapper version, then merge this one.

repo: project-codeflare/codeflare-operator


text:
Switch to Nginx instead of Express for serving files

Use Docker image for Nginx
see: https://github.com/cloudigrade/frontigrade/blob/2-build-skeleton-page/Dockerfile

https://github.com/project-koku/koku-ui/pull/53

repo: project-koku/koku-ui


text:
Tertiary nav alignment

https://issues.redhat.com/browse/COST-604
Before

After

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1687   +/-   ##
=======================================
  Coverage   77.86%   77.86%
=======================================
  Files         244      244
  Lines        3984     3984
  Branches      763      763
=======================================
  Hits         3102     3102
  Misses        798      798
  Partials       84       84

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 ecdab7f...e298283. Read the comment docs.

authors: codecov-commenter dlabrecq


text:
Team page

Generic team page needed to establish more trust with end users. A few <Avatar /> components would be good, along with a short blurb from each team member.

Link socials
Short blurb
Avatar

In the future, we will have a Figma wireframe designed by our Head Designer to work with. But as of current we don't have that luxury 😭 (I promise you I'm trying my hardest to find a designer tho!)

I can do this
I can just use the code from podcast.hackclub.com

Would be great, but will need to onboard you on dev for this. Firstly,
check out https://lumiere.codes/resources/contributing and let me know if
you get stuck.
On Thu, Nov 11, 2021 at 7:29 PM Arav Narula @.***>
wrote:

I can do this
I can just use the code from podcast.hackclub.com
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/project-lumiere/lumiere.codes/issues/71#issuecomment-966791962,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOVOT2MQDMUJEUSKTUPF7G3ULSCYTANCNFSM5H33NA5A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Pretty sure the Avatar component is designed only for the Navbar (so it can have a dropdown menu w/ settings and such thats unique to the specific logged in user) so I don't think we can use it for the team page

authors: AnthonyKuang IamTregsthedev NebuDev14


text:
Chart Legend Label Wrapping on SE iPhone: Reduce Line Height

On the SE iPhone (1st gen - i am not sure about 2nd gen, but i would assume so), the 7-day average legend label wraps.  We should reduce the line height between the two words (see screenshot below):

Next build should have this fixed.

authors: ahurworth floridemai

repo: project-vagabond/covid-green-app


text:
feat(log): print traceback when panics occur

What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Example:
{"level":"error","error":"runtime error: invalid memory address or nil pointer dereference","goroutine":92,"caller":"/home/peusebiu/zot/pkg/log/log.go:29","time":"2023-12-20T15:20:44.043504+02:00","message":"panic recovered"}
goroutine 92 [running]:
runtime/debug.Stack()
	/usr/local/go/src/runtime/debug/stack.go:24 +0x7a
github.com/gorilla/handlers.recoveryHandler.log({{0xfcec4c0, 0xc0011ce040}, {0xfced340, 0xc000fccee0}, 0x1}, {0xc001390b30, 0x1, 0x1})
	/home/peusebiu/go/pkg/mod/github.com/gorilla/handlers@v1.5.2/recovery.go:91 +0xbb
github.com/gorilla/handlers.recoveryHandler.ServeHTTP.func1()
	/home/peusebiu/go/pkg/mod/github.com/gorilla/handlers@v1.5.2/recovery.go:76 +0x105
panic({0xa6b5a20, 0x128832a0})
	/usr/local/go/src/runtime/panic.go:890 +0x262
zotregistry.io/zot/pkg/api.(*RouteHandler).ListRepositories(0xc001036328, {0xfd2e0e0, 0xc0011ce060}, 0xc000fbc900)
	/home/peusebiu/zot/pkg/api/routes.go:1682 +0x236
net/http.HandlerFunc.ServeHTTP(0xc001390180, {0xfd2e0e0, 0xc0011ce060}, 0xc000fbc900)
	/usr/local/go/src/net/http/server.go:2122 +0x43
zotregistry.io/zot/pkg/api.getCORSHeadersHandler.func1.1({0xfd2e0e0, 0xc0011ce060}, 0xc000fbc900)
	/home/peusebiu/zot/pkg/api/routes.go:203 +0x70
net/http.HandlerFunc.ServeHTTP(0xc001061b80, {0xfd2e0e0, 0xc0011ce060}, 0xc000fbc900)
	/usr/local/go/src/net/http/server.go:2122 +0x43
zotregistry.io/zot/pkg/api.getUIHeadersHandler.func1.1({0xfd2e0e0, 0xc0011ce060}, 0xc000fbc900)
	/home/peusebiu/zot/pkg/api/routes.go:221 +0x117
net/http.HandlerFunc.ServeHTTP(0xc00105dd40, {0xfd2e0e0, 0xc0011ce060}, 0xc000fbc900)
	/usr/local/go/src/net/http/server.go:2122 +0x43
zotregistry.io/zot/pkg/api.noPasswdAuth.func1.1({0xfd2e0e0, 0xc0011ce060}, 0xc000fbc900)
	/home/peusebiu/zot/pkg/api/authn.go:512 +0x3e4
net/http.HandlerFunc.ServeHTTP(0xc0011ce040, {0xfd2e0e0, 0xc0011ce060}, 0xc000fbc900)
	/usr/local/go/src/net/http/server.go:2122 +0x43
github.com/gorilla/handlers.recoveryHandler.ServeHTTP({{0xfcec4c0, 0xc0011ce040}, {0xfced340, 0xc000fccee0}, 0x1}, {0xfd2e0e0, 0xc0011ce060}, 0xc000fbc900)
	/home/peusebiu/go/pkg/mod/github.com/gorilla/handlers@v1.5.2/recovery.go:80 +0x13b
zotregistry.io/zot/pkg/api.SessionLogger.func1.1({0xfd2d9c0, 0xc000fe7180}, 0xc000fbc900)
	/home/peusebiu/zot/pkg/api/session.go:82 +0x189
net/http.HandlerFunc.ServeHTTP(0xc0011c4b70, {0xfd2d9c0, 0xc000fe7180}, 0xc000fbc900)
	/usr/local/go/src/net/http/server.go:2122 +0x43
github.com/gorilla/mux.(*Router).ServeHTTP(0xc000d16540, {0xfd2d9c0, 0xc000fe7180}, 0xc000fbc900)
	/home/peusebiu/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210 +0x25d
net/http.serverHandler.ServeHTTP({0xc0008de870}, {0xfd2d9c0, 0xc000fe7180}, 0xc000fbc700)
	/usr/local/go/src/net/http/server.go:2936 +0x494
net/http.(*conn).serve(0xc00109e000, {0xfd31bc8, 0xc0010a0050})
	/usr/local/go/src/net/http/server.go:1995 +0x19b5
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:3089 +0xa16

Put your test case on top of this one.
https://github.com/project-zot/zot/pull/2150

that way it prints on the stdout, not in our logs.

authors: peusebiu rchincha

repo: project-zot/zot


text:
Contract interaction does not support multiple calldata

This does not account for cases where the contract call may have more than 1 calldata. It should be an object instead.
An example is get_lp_balance in this contract.

Fixed; https://github.com/project3fusion/StarkSharp/commit/eb73a55e38354d1e40f603282271c239164b153f

authors: LastCeri jelilat


text:
feat: create eventStore to share stores logic

What does this PR do?
This PR adds the event-store class so we can share some common code between stores.
Screenshot / video of UI
N/A
What issues does this PR fix or reference?
N/A
How to test this PR?

run tests or start studio and check that everything works as before. Only the recipe store has been updated for the moment

This complexifies a lot the code. What are the advantages of reusing this code from podman desktop, compared to the current code?
What is the advantage of using a Writable instead of a Readable? I appreciate that the Readable guarantees that changes will come from the store only, and no other part can send new state to it.

What is the advantage of using a Writable instead of a Readable? I appreciate that the Readable guarantees that changes will come from the store only, and no other part can send new state to it.

For testing

Seems not all stores are migrated, any reason ?

I wanted to see if there was any issue with it before updating all stores. I updated the recipe only because i was working on it and i noticed that it was complex to write a test that was simulating multiple state changes.

Still in progress.  Forgot to mark as draft, @feloy noticed a misbehavior on the localModel's page. I'm investigating as it seems the rpcbrowser is not actually working

Still in progress. Forgot to mark as draft, @feloy noticed a misbehavior on the localModel's page. I'm investigating as it seems the rpcbrowser is not actually working

For the problem I have raised (the name in the models page is not updated when we update the catalog file), I finally understand that the problem does not come from the stores, but from the Models page, as we are not subscribing to the catalog, so we cannot get the new name.
You probably says the rpcBrowser does not work because you get an error "Message not supported" when you update the catalog file. The reason is that because the Models page does not subscribe to the catalog store, the message is received but is not recognized by the rpcBrowser, because there is no subscriber: this is not the problem (we should hide the message in this case probably, or check that the message is registered, even if there is no subscriber)

Still in progress. Forgot to mark as draft, @feloy noticed a misbehavior on the localModel's page. I'm investigating as it seems the rpcbrowser is not actually working

For the problem I have raised (the name in the models page is not updated when we update the catalog file), I finally understand that the problem does not come from the stores, but from the Models page, as we are not subscribing to the catalog, so we cannot get the new name.
You probably says the rpcBrowser does not work because you get an error "Message not supported" when you update the catalog file. The reason is that because the Models page does not subscribe to the catalog store, the message is received but is not recognized by the rpcBrowser, because there is no subscriber: this is not the problem (we should hide the message in this case probably, or check that the message is registered, even if there is no subscriber)

yes, correct. Already worked on a fix yesterday but i need to add some tests. I'll push it soon

@feloy @jeffmaury updated it. I created a custom writable so when subscribing it subscribe the rcpBrowser to all events specified by the store.
E.g the localModels depends on the localModelState and CatalogState - so if you update the catalog, the page is refreshed automatically without having to change page.
I would like not to cover the other stores in this PR as i also need to update the single pages that subscribe to them and if i tackle everything here it becomes a mess. Once this is merged i'll work on the other stores separately in small PRs so they are easily testable as well

@feloy i saw your PR to mock writable when using readable for testing 👍 I updated this PR to use a Readable as your preference

authors: feloy lstocchi

repo: projectatomic/ai-studio


text:
hospitable README

could the buildah README.md have some copy paste example on running it, rather than so much build instructions?
it would seem much more useful to people searching for it and just giving it a 10second review
like, at first glance i would be 10x more likely to use/try a project if the README showed how it makes my life easier but having 5 pastes of compile instructions is a deterrent

As it gets easier to find binary packages, this'll probably be more relevant to people who are interested in trying it out.

authors: nalind vbatts

repo: projectatomic/buildah


text:
Fixes for reading from the journald log driver

This is the set of fixes being proposed for https://bugzilla.redhat.com/show_bug.cgi?id=1314463, which fix a couple of race conditions and improve error reporting when we're reading from the journald log driver.

LGTM

LGTM

@nalind this needs to be applied on rhel7-1.9 also right? seems like I cannot patch it cleanly, could you open a PR against rhel7-1.9 also?

Yes, I hadn't realized they were drifting apart.

Opened #86.

I have a feeing docker-1.9 for RHEL has sailed.  I don't see this getting in, or us stopping shipping for this fix.  If this is a problem for a customer they can just use dockers logging.

we should probably revert https://github.com/projectatomic/docker/pull/86 then and get @mrunalp's patch only

we'll keep the patch in fedora though, right?

Yes we should fix fedora, but I am thinking that nothing new is going to get into rhel, at most we should just add mrunals patch anything else would need to be tested.  I have a feeling we will not add anything.

authors: nalind rhatdan runcom

repo: projectatomic/docker