[feature request] new v-slot syntax does not support slot names that start with a square bracket [ or names with spaces

What problem does this feature solve?
We use slot names that use a bracketed syntax (specifically for dynamic slot names) i.e. slot="[foo][bar]").
v-slot: currently supports slots names with square brackets, as long as they are not the first character of the slot name. i.e. v-slot:foo[bar]="scope" (works), but not v-slot:[foo][bar]="scope" (does not work)
HTML5 allows for custom attributes with square brackets in the attribute name, as long as they do not start with restricted characters.  However, in the case of v-slot, the attribute starts with v, so slot names that start with [ should work as expected (i.e. v-slot:[foo.bar] or v-slot:[foo][bar])
Using the deprecated slot="[foo]" syntax works as expected.
What does the proposed API look like?
v-slot adds support for slot names that start with a [, such as v-slot:[foo][bar]="scope"
There is no actual change to the API from the user perspective, just a change to the underlying code.
My guess that this is an issue with Vue template compiler:
From the template compiler on the Vuejs.org site (https://vuejs.org/v2/guide/render-function.html#Template-Compilation):
Does not work:

Does Work:

Unfortunately, brackets are for dynamic slot names: https://vuejs.org/v2/guide/components-slots.html#Dynamic-Slot-Names
so you will have to use a different naming convention

@posva will using a name such as `v-slot:foo[bar]="scope" be safe for future use?

I would've expected a bracketed string literal to work, but it appears the parser doesn't like that:
<component>
  <template v-slot:['[foo][bar]']>TEST</template>
</component>

Template Explorer Example

@sirlancelot it works with backticks though (see my example), maybe it should be documented?

quotes seems to be forbidden. Since they can be used to delimiter value in html attributes (data-attr="hey" or data-attr='hey') but that's not the case for the backticks. Or that's what I think the intention was and if that's the case, it should be documented at https://vuejs.org/v2/guide/components-slots.html#Dynamic-Slot-Names. But I don't know if we the recommendation would be to also avoid strings like [foo][bar]. Although that could also be changed in the regex
Keep in mind there is a PR at https://github.com/vuejs/vue/pull/9785 and that would be the regex that needs to be modified to accommodate new cases
Personally I wouldn't use a name for a slot if it cannot be used as a variable name. It also makes it easier to access them through $scopedSlots. I would use a delimiter to split the namespaces so they can be easily joinable. Something like $ or _: foo$bar. That way can be easily walkable with functions in nested objects. But at the same time, if a key doesn't create any problems to be parsed in html and can be used as the key of an object, it would make sense to support it

For reference, here is our use case of the slot names which are determined at runtime:
https://bootstrap-vue.netlify.com/docs/components/table#custom-data-rendering
Note that we are using render functions internally to generate the table cells.  Users provide a list of "fields" for their table, and we look to see if the user has provided a slot for that field to do custom rendering on the cell.
Note that each field name could contain dot (in the case the field's key points to a nested object value in the table row), underscores, letters, numbers (and in some cases spaces... anything that can be used as an object property key)

You should use scoped slots.

@Justineo we are using scoped slots (we are providing the scoped slots to consumers, and the consumers use these slots to place their custom formatting in)

I see. But what would v-slot:[foo][bar] mean in your example?

It was jsut an example for using brackets in slot names.  We were also thinking of, in the future, a way to target specific rows/columns (cells) based on the [x][y] axis.  The older slot="name" syntax had a lot more flexibility when it comes to slot names, compared to v-slot:name syntax which is restrictive due to limitations of what is allowed in attribute names (as well as the loss of case sensitivity in slot names, specifically if a users is using in document templates)

As long as the slot name starts with a letter or number you should be fine. v-slot:cell[x][y] works as expected.

It is too bad the slot/scope syntax wasn't split into:
<!-- pass a string literal as the slot name -->
<template v-slot="'slotName'" v-scope="{ some, props, here }"></template>

<!-- pass a variable containing the slot name -->
<template v-slot="someVar" v-scope="{ some, props, here }"></template>

As this would retain case sensitivity on slot names.

@posva see my comment at https://github.com/vuejs/rfcs/pull/2#issuecomment-521420394 regarding the limitations of the new v-slot syntax and how it might be considered a step backwards in some situations, and re the deprecation of the old slot-syntax (which should be retained).

I saw it but nothing really changes... Things were already brought up. The problem you are highlighting is using weird names for slots which I would avoid in general and can be solved with render functions which totally fits an advanced use case or using other characters as I said above. To recap:

no limitation in html because we can use strings
slot names can be adapted for libraries to make them valid in html
in-browser users will always have less things than webpack users

Also, having 2 attributes instead of one to accommodate a very specific and non-readable use case doesn't seem to be worth to me

@posva, I don't think you understand the situation I am referring to. Render functions don't fix the issues for users of the 3rd party library (it only fixes it for the 3rd party library portion).
A user of the 3rd party library using SFC templates will run into the issue, and users of x-templates will also run into issues (specifically with case sensitive names being lost in browser).
Example... user is using <b-table> from BootstrapVue, using a data items provider API (which they do not have control of), which returns records (an array of objects, on object per row of data). The object properties are keyed by a camelCase or PascalCase key (or keys with spaces... which is valid JavaJcript/JSON).  In the <b-table> component,
The table will render fine (as we use render functions to generate the table).  But users can provide scoped slots to provide custom formatting for each field key in the table data (i.e. a column).  the scoped slot name is based on the row's object property names (keys).  So the scoped slot names (which are dynamic based on the fields present in the data) are in the format of cell[<field key>], where <field key> is the object property name (key), which could be mixed upper/lower case, have spaces, etc.  The ability for the user to use slot name cell[User ID] no longer works when using v-slot, where as it worked fine for slot="cell[User ID]". This is the issue.
It is more common situation than you are thinking it is, specifically when users have no control over the data being sent to them.
The docs should be more clear on the limitations for in-browser users.  The slot documentation section has no mention of the upper/lowercase issues.

no limitation in html because we can use strings

Not true. you can only use strings without spaces, and ones that do not have special characters used by directive attributes (i.e. . in a scoped slot name, as it will instruct vue to treat it as a directive modifier)

I totally agree for the docs, the limitations should be mentioned but keep in mind this is an advanced and very specific use case that do not affect users in general and only affects a few library authors. We will be very happy if you want to lead the discussion there with other people facing the same issue and see how to improve the docs.

Not true. you can only use strings without spaces

Spaces cannot work on html either. The rest I already answered...

You can use strings with spaces as an attribute value: slot="foo bar", and one can use . in attribute values slot="foo.bar" without issue.  not so with v-slot

And many, many, more consumers of those libraries (you are forgetting about the consumers, which is really the people affected by the issue).

I did think about end users. As I said I don't think a slot should be named something else or [this][other]. It would be much better to name it something-else or this-other. So maybe we should be stricter about slot names so library authors are enforced to use html-friendly slot names for static slot names

when it comes to slots names that are not known until rum-time

Those are usually stored in variables and used through v-slot:[slotName] and in those cases it doesn't matter if they have a [ or  . If they are generated and still meant to be consumed by end users without some kind of automation (loops, etc) they can use a different syntax that is also valid as variable names and expose less problems like image__label

That is why I prefer passing slot names as an attribute value instead of the attribute name (inside the double quotes, as with the old slot="name" syntax). the only restriction in attribute values is strings containing ". Attribute values are never lowercased by the browser, support a wider range of characters, etc, and work with both SFC and in-browser templates equally.

I'd like to add another situation that is impossible with the new slot syntax:
A component that you can pass any number of slots to and uses the names in content. We have a component like this for tabs:
<NTabs>
  <template slot="Tab 1 title">tab content</template
  <template slot="Tab 2 title">tab content</template
  <template slot="¥">tab content</template
</NTabs>

This was an intuitive way of dynamically passing any number of slots to a component without any unnecessary additional props (like making up an ID to be the slot name), and without needing an additional component.


CM-535: Testing Repository Pattern using Entity Framework

Hey ModatherZaki, there's a section called "dotnet-testing". Could you please move the solution to that section?

Thanks!


JS Protobuf Does Not Support JSON Format

A great way to transfer the Protobuf messages over HTTP (which is still a relevant use case) is to serialize them into the Protobuf JSON format strings. However, the Protobuf JS implementation does not support the JSON format.
The described situation should be monitored in order to be able to integrate with the format as soon as it's fully supported.

This issue is resolved by generating JS functions which convert messages from and to JSON.


fix(*): Freeze a copy of the Transport data

Fixes #30

Coverage increased (+0.03%) to 80.364% when pulling 24dc082a08e7ba97714e32ad184b849b21c383ef on orestes:master into 04f6755edbe1c39e2ac963c2424789dc50159adf on kusanagi:master.


Added support for EstimatorV2 primitives

Added support for V2 primitives for estimator_qnn and gradients.
TO DO:

[ ] Writing relative tests for V2.
[ ]  Check spelling etc.

@OkuyanBoga all the shapes are fixed but the values are still a bit off. The circuit construction and options tests are working correctly, which suggests to me that the problem might lie in forward and backward Estimator passes. Since you edited that, could you please take a look at EstimatorQNN (V2 part)? Do you think this still has something to do with observables?

Despite suppressing the error rates, there are some issues with the following tests:

Test parameter binding order gives result as expected
Test Estimator QNN with input/output dimension 1/1.  [forward pass]
Test Estimator QNN with input/output dimension 1/1. [backward pass with input gradients]
Test Estimator QNN with input/output dimension 1/2.  [forward pass]
Test Estimator QNN with input/output dimension 2/2. [forward pass]
Test Estimator QNN properties and forward/backward pass for QNNCircuit construction [Test if backward pass yields equal results.]


Update README.md to include more info on how to start development build

Add important line to get the development build working.
Resolves #9 and #10

Fix building documentation


Slow performance of advisors list view

It looks like on the AdvisorsListView /advisors/ each student in this view requires a separate database call to get their status. This results in very slow performance for lots of users. We should look into making this run in a single query.
This can be seen on the Django Debug Toolbar for a user with ~500 students.

This is for 270 students
OnPrem:
283 Queries in 661ms
AWS:
283 Queries in 7661 ms


infer: error while loading shared libraries

Please make sure your issue is not addressed in the FAQ.
Please include the following information:

[ ] The version of infer from infer --version.
[ ] Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc.
[ ] Which command you ran, for example infer -- make.
[ ] The full output in a paste, for instance a gist.
[ ] If possible, a minimal example to reproduce your problem (for instance, some code where
infer reports incorrectly, together with the way you run infer to reproduce the incorrect
report).

Dear every body,
I'm using Infer version 0.16.0 from https://github.com/facebook/infer/releases/tag/v0.16.0,file infer-linux64-v0.16.0.tar.xz .
I got file ans extract file to 1 folder on pc (ubuntu 16.04). And use "infer" run file in /home/cong/Desktop/infer-linux64-v0.16.0/bin.
But:
$ infer --version
infer: error while loading shared libraries: liboptpoly.so: cannot open shared object file: No such file or directory
Can you please tell me to fix that bug?
Thanks.

Can you paste the result of ldd /home/cong/Desktop/infer-linux64-v0.16.0/bin/infer?

Dear jvillard,

I fixed that bugs, because i have to path (that bugs by me, sorry about that):
/home/cong/Desktop/infer-linux64-v0.16.0/bin
After that: ./infer --version, it is ok.
/command/
cong@cong-Inspiron-3470:~/Desktop/infer-linux64-v0.16.0/bin$ ./infer --version
Infer version v0.16.0
Copyright 2009 - present Facebook. All Rights Reserved.
cong@cong-Inspiron-3470:~/Desktop/infer-linux64-v0.16.0/bin$

I have just run command "infer run"
cong@cong-Inspiron-3470:~/Desktop/infer-linux64-v0.16.0/bin$ ./infer run -- clang -c /home/cong/Desktop/testmakefile_hello/hello/hello.c
Capturing in make/cc mode...
Found 1 source file to analyze in /home/cong/Desktop/infer-linux64-v0.16.0/bin/infer-out
...
I know that file "hello.c" compiled to object file .o.

"Facebook infer" have to compile files, after that "Facebook infer" analysis static source code .c,.h....
Is it true?
Have any way  "Facebook infer" needn't compile files,but "Facebook infer" analysis static source code?
As cppcheck tool:
http://cppcheck.sourceforge.net/

Further more, i want ask you:
"Facebook infer" can check all files .c , .h in a folder (include sub folder), can't it?
How to export .html  (bugs reports) in"Facebook infer"?
Can you tell me that command example to do that, please?
Thank you so much!

Correct, infer needs to compile the source code to analyse it. That's because it uses clang to parse source code.

"Facebook infer" can check all files .c , .h in a folder (include sub folder), can't it?

Yes, have a look at https://fbinfer.com/docs/analyzing-apps-or-projects.html

How to export .html (bugs reports) in"Facebook infer"?

After infer run ... you can run infer explore --html.

Correct, infer needs to compile the source code to analyse it. That's because it uses clang to parse source code.

"Facebook infer" can check all files .c , .h in a folder (include sub folder), can't it?

Yes, have a look at https://fbinfer.com/docs/analyzing-apps-or-projects.html

How to export .html (bugs reports) in"Facebook infer"?

After infer run ... you can run infer explore --html.

Thank you.
If I have any problems, i need your helps! I hope you can help me.

Happy to help! Closing the issue since it seems resolved.


Show ACL/permission in file listings

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Problem
I'm trying to manage ACL on a large data lake. Not being able to see the ACL in the file listing makes this slow and tedious.
Desired Solution
Add a column with the ACL in file listing pane
Alternatives and Workarounds
There's is currently no easy way to see the ACL, not on the CLI, not on the portal.
Additional Context
No response

Are you asking for showing the permissions for each file in the data explorer? If so, we have a work item tracking it and we plan to implement it in 1.29.0 (current milestone). If not, feel free to reopen this issue and elaborate on what you want.
https://github.com/microsoft/AzureStorageExplorer/issues/6130

I guess I'll wait for 1.29


[MinSide.Profile] Remove tax information from profile page

This will be done when tax page is ready on SE


contains string filter not working with mongoDB

Bug description
this.prismaService.products.findMany({
      where: {
        name: {
          contains: search,
        },
      },
    });

in this query the result returned is 0
but contains should match documents with filed names containing the search term
How to reproduce

Created model called products
Model described below

model Products {
    id          String          @id @default(dbgenerated()) @map("_id") @db.ObjectId
    createdAt   DateTime        @default(now())
    updatedAt   DateTime        @updatedAt
    name        String
}

run js query as described above

Expected behavior
but contains should match documents with filed names containing the search term
Prisma information
"@prisma/client": "^3.4.1",
"prisma": "^3.4.1",
Environment & setup

OS: Mac OS
Database: MongoDb
Node.js version: v14.16.0

Prisma Version
`"@prisma/client": "^3.4.1",`
`"prisma": "^3.4.1",`

@michaelspeed I wasn't able to reproduce this:
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["mongoDb"]
}

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

model Product {
  id        String   @id @default(auto()) @map("_id") @db.ObjectId
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  name      String
}

script.ts
import { PrismaClient, Prisma } from "@prisma/client"
const prisma = new PrismaClient()

async function main() {
  await prisma.$connect()
  await prisma.product.deleteMany()
  await prisma.product.create({
    data: {
      name: "Shoes",
    },
  })
  const results = await prisma.product.findMany({
    where: {
      name: {
        contains: "oe",
      },
    },
  })
  console.log(results)
}

main()
  .catch(console.error)
  .finally(() => prisma.$disconnect())

Environment variables loaded from .env
prisma                  : 3.11.0-dev.30
@prisma/client          : 3.11.0-dev.30
Current platform        : darwin
Query Engine (Node-API) : libquery-engine 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : 4cac12afbeef2fa3eedf1cb87c79bc15e2648836
Studio                  : 0.458.0
Preview Features        : mongoDb

Do you mind trying again? Could it be your collation settings?

Ping @michaelspeed

Closing, but happy to re-open if this pops back up.

@michaelspeed I wasn't able to reproduce this:
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["mongoDb"]
}

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

model Product {
  id        String   @id @default(auto()) @map("_id") @db.ObjectId
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  name      String
}

main.ts
import { PrismaClient, Prisma } from "@prisma/client"
const prisma = new PrismaClient()

async function main() {
  await prisma.$connect()
  await prisma.product.deleteMany()
  await prisma.product.create({
    data: {
      name: "Shoes",
    },
  })
  const results = await prisma.product.findMany({
    where: {
      name: {
        contains: "oe",
      },
    },
  })
  console.log(results)
}

main()
  .catch(console.error)
  .finally(() => prisma.$disconnect())

$ ts-node index.ts
[
  {
    id: '621fe774ef9be0fcb6a5c406',
    createdAt: 2022-03-02T21:53:56.253Z,
    updatedAt: 2022-03-02T21:53:56.253Z,
    name: 'Shoes'
  }
]

Version:
Environment variables loaded from .env
prisma                  : 3.11.0-dev.30
@prisma/client          : 3.11.0-dev.30
Current platform        : darwin
Query Engine (Node-API) : libquery-engine 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : 4cac12afbeef2fa3eedf1cb87c79bc15e2648836
Studio                  : 0.458.0
Preview Features        : mongoDb

Do you mind trying again? Could it be your collation settings?

Your example works because it will return all the data, if you instert one more row that doesnt contains "oe" with will return it as well.

Hey @matthewmueller
I got this issue when [] character gets searched within the string.
Given the following schema
datasource db {
  provider = "mongodb"
  url      = env("MONGO_URL")
}

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "linux-musl"]
}

model User {
  id            String         @id @default(auto()) @map("_id") @db.ObjectId
  firstName     String
  lastName      String
}

This snippet causes the issue to appear
import { PrismaClient } from "@prisma/client";

async function prismaSketch() {
  const prisma = new PrismaClient();

  const deleted = await prisma.user.deleteMany();
  console.log(deleted);

  const created = await prisma.user.createMany({
    data: [
      { firstName: "CARLOS", lastName: "SUAZO [DOCTOR]" },
      { firstName: "ATILA", lastName: "GENESIS [NURSE]" },
      { firstName: "BOB", lastName: "DYLAN [NURSE]" },
      { firstName: "MARK", lastName: "RENTON [DOCTOR]" },
    ],
  });
  console.log(created);

  const correctResults = await prisma.user.findMany({
    where: {
      lastName: { contains: "NURSE" },
    },
  });

  console.log(correctResults);
  /*
[
  {
    id: '65c98f233edab806443a6061',
    firstName: 'ATILA',
    lastName: 'GENESIS [NURSE]'
  },
  {
    id: '65c98f233edab806443a6062',
    firstName: 'BOB',
    lastName: 'DYLAN [NURSE]'
  }
]
  */

  const randomResults = await prisma.user.findMany({
    where: {
      lastName: { contains: "[NURSE]" },
    },
  });

  console.log(randomResults);
  /*
[
  {
    id: '65c98f233edab806443a6060',
    firstName: 'CARLOS',
    lastName: 'SUAZO [DOCTOR]'
  },
  {
    id: '65c98f233edab806443a6061',
    firstName: 'ATILA',
    lastName: 'GENESIS [NURSE]'
  },
  {
    id: '65c98f233edab806443a6062',
    firstName: 'BOB',
    lastName: 'DYLAN [NURSE]'
  },
  {
    id: '65c98f233edab806443a6063',
    firstName: 'MARK',
    lastName: 'RENTON [DOCTOR]'
  }
]
  NANI!?
  */

  await prisma.$disconnect();
}

prismaSketch();

Didn't know if this is a known issue or if I should open a new one for it, but since this is the most similar issue i've found associated with my problem I'm posting it here.
I've left a small reproduction repo at https://github.com/codeinearts/prisma-bug-contains

Please open a new issue @codeinearts, that will make it easier to triage this. (Link to this one for context of course). Thanks!


SqlAGReplica: Fix read-only routing lists and some defaults

Pull Request (PR) description
This replaces PR https://github.com/PowerShell/SqlServerDsc/pull/1245 as I wasn't able to rebase it successfully.

Fix altering the read-only routing list
Altering the read only routing list will fail because it tries to access the property as a string instead of as a string collection.
The solution is to join the string with commas before comparison, change the string array to a string collection, and add items in the proper way. The test has also been updated.
This only makes the basic read only routing lists work (which are from SQL 2012 onwards). SQL 2016 and on provide a more complicated group-based read-only routing list but that's a separate feature to add in another PR. I just want this working first.

Fix use of defaults in SqlAGReplica
Altering a specific property on an existing replica often throws an error because it also tries to set the AvailabilityMode, BackupPriority, and FailoverMode properties back to the default. ReadOnlyRoutingList will also attempt to be reset to empty.
This doesn't happen with the SqlAG resource as it uses defaults when creating an AG but only uses PSBoundParameters when updating an AG. I've modified SqlAGReplica to do the same.

Update the SqlAG documentation
This just makes it clear that it only uses the defaults when creating an AG not updating an AG.

Note: I plan on testing further in my lab before finalizing this PR. But I want to make sure it completes the build first because I couldn't get it to complete within the hour on my free AppVeyor account.
This Pull Request (PR) fixes the following issues

Fixes #518
Fixes #1244

Task list

[X] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[X] Resource documentation added/updated in README.md.
[X] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[X] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[X] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[X] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #1302 into dev will increase coverage by <1%.
The diff coverage is 100%.

@@          Coverage Diff          @@
##            dev   #1302    +/-   ##
=====================================
+ Coverage    97%     97%   +<1%
=====================================
  Files        35      35
  Lines      4432    4434     +2
=====================================
+ Hits       4327    4329     +2
  Misses      105     105


Permission Denied for unexisting folder

Hi all,
On Python 2.7.12 and visdom <IP_ADDRESS>, when executing python -m visdom.server I get:
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/dist-packages/visdom/server.py", line 1062, in <module>
    download_scripts()
  File "/usr/local/lib/python2.7/dist-packages/visdom/server.py", line 964, in download_scripts
    os.makedirs(directory)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/visdom/static/fonts'

The folder /usr/local/lib/python2.7/dist-packages/visdom/static/ does exist but it's children fonts does not.

Try running the download.sh script and seeing if this resolves the issue. It's possible that permissions are preventing the fonts directory from being created, so you may need to run it with whatever user access is required to create the relevant directories.

It's unlikely that its permissions because the css and other folders are there.
I'm trying to install in a docker container.
When do you suggest running download.sh and what do you suggest doing after that?

I see. When running python -m visdom.server, how does one points the server to the downloaded files?
I'm also facing a Connection Refused error while trying to write images or text. Let me know if you want me to open a separate issue for it.

@rafaelvalle any updates here?

I was getting a permission denied error when running this in a container due to some errors in the download.sh script. I have submitted PR #485 to resolve this.


RuntimeError: CUDA error: out of memory

bachsize=4 still report that

The dataset is semantic kitti
发自我的iPhone
------------------ Original ------------------
From: Xin Lai @.>
Date: Wed,Apr 12,2023 11:08 PM
To: dvlab-research/SphereFormer @.>
Cc: pomeloooo @.>, Author @.>
Subject: Re: [dvlab-research/SphereFormer] RuntimeError: CUDA error: out ofmemory (Issue #11)
Reopened #11.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Can you elaborate on that more concretely?

I have found the cause of the problem. Due to the large dataset, I only used only one graphics card and there is not enough memory. It has been resolved so far. Thank you again for the author's reply
秋风扫落叶
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "dvlab-research/SphereFormer"                                                                                @.>;
发送时间: 2023年4月13日(星期四) 晚上7:49
@.>;
<EMAIL_ADDRESS>主题: Re: [dvlab-research/SphereFormer] RuntimeError: CUDA error: out of memory (Issue #11)
Can you elaborate on that more concretely?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


fix: incorrect notification metadata when user interacts consecusively

Can we have the first update always happen directly if possible? The kotlin version of something like:

Can we have the first update always happen directly if possible? The kotlin version of something like:
/**
 * Create a throttled function that invokes `fun` at most once every `ms`
 * milliseconds. If the last call to this function was throttled then the
 * trailing call will be invoked after `ms` milliseconds.
 */
export function throttle<T extends AnyFunction>(fun: T, ms: number) {
  let last = 0;
  let id: any;
  let lastArgs: Parameters<T>;
  const apply = () => {
    last = Date.now();
    fun(...lastArgs);
  };
  return (...args: Parameters<T>) => {
    lastArgs = args;
    clearTimeout(id);
    if (Date.now() - last >= ms) {
      apply();
    } else {
      id = setTimeout(apply, ms);
    }
  };
}

I updated on the latest commit. Please check it again.

@mvn-hungtruong-dn What do you think of the following, which uses a flow extension which lowers the complexity of the logic in the NotificationManager

@mvn-hungtruong-dn What do you think of the following adjustment, which uses a flow extension which lowers the complexity of the logic in the NotificationManager: https://github.com/doublesymmetry/KotlinAudio/pull/84
[edit] link to pr included this time

@puckey
It's really good. It makes the logic in the NotificationManager simpler. Let's use your PR. 😄

Great – thanks again for your work on this!


Article needs updated licensing information added.

This SMS feature requires Teams Premium license

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

ID: 3a4e2dea-de84-ec37-adee-776f2b4eea92
Version Independent ID: 3ca1c4a4-b32f-ea7b-ebfb-d4057d82938d
Content: Configure SMS text notifications and reminders in Microsoft Bookings
Content Source: microsoft-365/bookings/bookings-sms.md
Service: bookings
GitHub Login: @kwekuako
Microsoft Alias: kwekua

@NickElniff Thank you for your feedback. We'll be providing unlimited SMS notifications through March 1, 2023, for customers with Bookings licenses. Closer to the date, the document will be updated by the author on what the new licensing requirements would be.
The same has been added as a note to the document.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @NickElniff Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


@ParcelConstructor doesn't work with Kotlin kapt

Hello,
Kapt, the annotation processor provided by Kotlin does not work with @ParcelConstructor.
I'm guessing parceler is matching constructor parameter name with the field name in the class.
Kapt doesn't respect the parameter names in the constructor, and it becomes "arg0", "arg1", "arg2".
I had the same issue with my own annotation processor, and I submitted a bug: https://youtrack.jetbrains.com/issue/KT-9609
However there is now way to say if that bug will be fixed for the 1.0 release or not.
In the meantime I'm wondering if you could implement a quick fix like the one I did on my project: https://github.com/lukaspili/Mortar-architect/blob/1.0_dev3.x/robot-compiler/src/main/java/architect/autostack/compiler/ConstructorParameterExtractor.java
Basically if we cannot match the parameter names with the fields names, we try to match the declaration order of parameters with the declaration order of fields.
Thanks.

That's unfortunate... Does @ParcelConstructor work when you annotate the constructor parameters with @ParcelProperty?

With @ParcelProperty the argX error goes away, but parceler and transfuse still crash.
@Parcel
data class Place @ParcelConstructor constructor(
        @ParcelProperty("id") val id: Int,
        @ParcelProperty("name") val name: String)

=> org.parceler.transfuse.util.TransfuseRuntimeException: Unable to perform code generation
=> warnings on all fields: Parceler: Reflection is required to access private field: int id, consider using non-private. (fields are public & final, and should be accessed by the constructor)
@Parcel
data class Place @ParcelConstructor constructor(
        @ParcelProperty("id") val id: Int,
        @ParcelProperty("name") val name: String,
        @ParcelProperty("images") val images: List<String>) // add List<String> field

=> error: Parceler: Unable to find read/write generator for type java.util.Listorg.parceler.transfuse.adapter.ASTWildcardType@4759d11b for List arg3
As for using the types rather than order to match arguments/fields with different names, I'm not sure that would be better. It's very common to have several Int / String fields, so the solution wouldn't work most of the times. I guess the best compromise is the current implementation with @ParcelProperty on constructor arguments.

Do you know how Kotlin handles generic types?  What does List<String> get converted into?

Ah yes kotlin actually converts to List<? extends String> (https://youtrack.jetbrains.com/issue/KT-5792).
Using MutableList rather than List solves the error.
The only thing left now is the parceler warning about reflection:
Parceler: Reflection is required to access private field: int id, consider using non-private.
Any ideas?
Thanks

I've seen success with people using the BEAN seralization strategy which relies on Kotlin's generated getter and setters instead of fields... does this work for you?:
@Parcel(Serialization.BEAN)
data class Place @ParcelConstructor constructor(...)

Warning is still present with BEAN.
Besides the properties are final because I'm using val instead of var, so setters won't work.

FYI: http://stackoverflow.com/questions/33891814/use-of-parceler-with-kotlin-data-class-with-constructor-for-serialization/33892435#33892435
Would you be willing to share a sample project that I can familiarize myself with Kotlin and these issues?  I feel that there are some subtle and simple tweaks that could be made to make Kotlin support easier.

Ok, makes sense :) I misunderstood that Kotlin public property is actually a private field with getter/[setter]. It actually works now, I didn't set BEAN on all data classes.
I'll provide a kotlin parceler sample project in few hours.
Thanks for the help!

Fantastic, thanks @lukaspili.

With Kotlin 1.0.0-beta-4584 version fixed list type error:

error: Parceler: Unable to find read/write generator for type java.util.Listorg.parceler.transfuse.adapter.ASTWildcardType@4759d11b for List arg2

@lukaspili Could you share your sample project?

In 1.0.0-beta-4584 I should explicitly designate param site:
@Parcel(Serialization.BEAN)
data class PinVerification @ParcelConstructor constructor(
  @param:ParcelProperty("identificationResult")
  val identificationResult: IdentificationResult
)

Otherwise, I get "Error:Parceler: No corresponding property found for constructor parameter arg0".

would be nice if this error would at least tell us the class where the error is


Create PBXProj class from the Data reprentation of a pbxproj file

https://github.com/tuist/XcodeProj/issues/793
Short description 📝

This change adds a convenience initializer to PBXProj so that it can be initialized from the data representation of a pbxproj file.
The current APIs can create a PBXProj class when the path to a pbxproj file is provided.
I want to initialize the PBXProj file from the data representation of a pbxproj stored inside an in-memory archive.
This is needed because we are making a server-side Swift application and want to minimize disk operations.

Solution 📦

Added a convenience initializer to PBXProj extension that we can create a PBXProj instance using the data representation of a pbxproj file.

Implementation 👩💻👨💻
/// Initializes the project with the data representation of pbxproj file.
///
/// - Parameters:
///   - data: data representation of pbxproj file.
public convenience init(data: Data) throws {
    var propertyListFormat = PropertyListSerialization.PropertyListFormat.xml

    let serialized = try PropertyListSerialization.propertyList(
        from: data,
        options: .mutableContainersAndLeaves,
        format: &propertyListFormat
    )

    // swiftlint:disable:next force_cast
    let pbxProjDictionary = serialized as! [String: Any]

    let context = ProjectDecodingContext(
        pbxProjValueReader: { key in
            pbxProjDictionary[key]
        }
    )

    let plistDecoder = XcodeprojPropertyListDecoder(context: context)
    let pbxproj: PBXProj = try plistDecoder.decode(PBXProj.self, from: data)

    self.init(
        rootObject: pbxproj.rootObject,
        objectVersion: pbxproj.objectVersion,
        archiveVersion: pbxproj.archiveVersion,
        classes: pbxproj.classes,
        objects: pbxproj.objects
    )
}

@kwridan For my use case, name does not matter. I am using the forked version for development right now.


fix missing dependency

The related issue: https://github.com/stolostron/backlog/issues/19219
Signed-off-by: Yang Le<EMAIL_ADDRESS>

/lgtm


cpu utilizaion and free disk memory means

Hi Team,
When i am running "cf app " command on cf cli . Its giving following information about app.
state | since | cpu | memory | disk | detail
running | 2016-02-17 09:01:34 AM | 100.0% | 858.1M of 1G | 0 of 1G|
in this above result ,its showing cpu 100% and Disk 0 of 1G.
I have two questions
1.What exactly 100% cpu means ?  "As per my understanding, i think its cpu used of DAE(container) which is dedicated to my APP  "

why 0 of1G  is coming even after deploy my app?

Yes, to get a better understanding see https://docs.cloudfoundry.org/concepts/architecture/warden.html#cpu
If disk quotas are disabled, there is no disk usage reported.

Closing. Feel free to open another issue on the relevant tracker (DEA, Diego or here) or on the CF Dev mailing list for follow-up questions.


R 3D arrays incompatible with keras

System information.

R version 3.6.3 (2020-02-29)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

attached base packages: [1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages: [1] tensorflow_2.5.0 keras_2.4.0

loaded via a namespace (and not attached):
[1] Rcpp_<IP_ADDRESS>    lattice_0.20-38 zeallot_0.1.0   rappdirs_0.3.3  grid_3.6.3      R6_2.4.1        jsonlite_1.7.2
[8] magrittr_2.0.1  tfruns_1.5.0    whisker_0.4     Matrix_1.2-18   reticulate_1.18 generics_0.1.0  tools_3.6.3
[15] abind_1.4-5     compiler_3.6.3  base64enc_0.1-3

Describe the problem
Python's 3D array differs from R's 3D array. The first dimension of a Python 3D array is the number of arrays, the second is the number of rows in each array, and the third is the number of columns in each array. In R, a 3D array's first dimension is the number of rows, the second dimension is the number of columns, and the third is the number of matrices (arrays).  Python's 3D array is consistent with keras, but R's 3D array does not seem to be consistent with keras and I think this is causing a problem. Reshaping the R 3D array allows keras to run without error, but the structure of the data is changed and is no longer consistent with the underlying problem.
Describe the current behavior.
library(keras)
library(tensorflow)
set.seed(1)
X <- array(data = rnorm(1), dim = c(5, 3, 8)) # ERROR, BUT HAS THE CORRECT STRUCTURE
# X <- array(data = X, dim = c(8, 5, 3)) # KERAS RUNS WITHOUT AN ERROR, BUT NOW THERE ARE ONLY 3 EXAMLES INSTEAD OF 8
Y <- matrix(rnorm(1), nrow = 8, ncol = 2)
dim(X)
dim(Y)
model <- keras_model_sequential()
model %>% keras::layer_lstm(units = 25, activation = 'relu', return_sequences = TRUE) %>%   keras::layer_lstm(units = 10, activation = 'relu') %>%   keras::layer_dense(units = 2, activation = 'linear')
model %>% compile(optimizer = "rmsprop",                   loss = "mse",                   metrics = c("mean_absolute_error"))
model %>% fit(X, Y,               epochs = 10,               batch_size = 3)
The code above produces the following error:

Error in py_call_impl(callable, dots$args, dots$keywords) :
ValueError: Data cardinality is ambiguous:
x sizes: 5
y sizes: 8
Make sure all arrays contain the same number of samples.

A 3D array in R has 3 dimensions i,j,k where i is the number of rows in each matrix, j is the number of columns in each matrix, and k is the number of matrices. Keras expects the X input to have three dimensions as well, but there seems to be a conflict between R and keras. The keras library expects i to be the number of matrices (R uses number of rows in each matrix), j to be the number of rows (R uses number of columns), and k to be the number of columns (R uses number of matrices).
In the example above, I have 8 samples, 5 time steps, and 3 features, so my X has dimension 5 x 3 x 8 in R. My response Y has dimension 8 (rows) by 2 (columns). However, keras expects X to have dimension 8 x 5 x 3.
Attempted Solution
To fix the problem, I thought I could just reshape the data using the code below. This code reshapes the array to be 8 x 5 x 3, but 8 x 5 x 3 in R has a different meaning from that of keras. In this case, 8 x 5 x 3 in R means that there are only 3 samples where each sample has 8 rows and 5 columns.
X <- array(data = X, dim = c(8, 5, 3)) # KERAS RUNS WITHOUT AN ERROR, BUT NOW THERE ARE ONLY 3 EXAMLES INSTEAD OF 8

, , 1

       [,1]        [,2]        [,3]        [,4]        [,5]

[1,] -0.6264538  0.57578135 -0.01619026  0.61982575  0.38767161
[2,]  0.1836433 -0.30538839  0.94383621 -0.05612874 -0.05380504
[3,] -0.8356286  1.51178117  0.82122120 -0.15579551 -1.37705956
[4,]  1.5952808  0.38984324  0.59390132 -1.47075238 -0.41499456
[5,]  0.3295078 -0.62124058  0.91897737 -0.47815006 -0.39428995
[6,] -0.8204684 -2.21469989  0.78213630  0.41794156 -0.05931340
[7,]  0.4874291  1.12493092  0.07456498  1.35867955  1.10002537
[8,]  0.7383247 -0.04493361 -1.98935170 -0.10278773  0.76317575
, , 2
       [,1]       [,2]        [,3]       [,4]         [,5]

[1,] -0.1645236 -0.1123462 -0.36722148 -0.7432732  0.610726353
[2,] -0.2533617  0.8811077 -1.04413463  0.1887923 -0.934097632
[3,]  0.6969634  0.3981059  0.56971963 -1.8049586 -1.253633400
[4,]  0.5566632 -0.6120264 -0.13505460  1.4655549  0.291446236
[5,] -0.6887557  0.3411197  2.40161776  0.1532533 -0.443291873
[6,] -0.7074952 -1.1293631 -0.03924000  2.1726117  0.001105352
[7,]  0.3645820  1.4330237  0.68973936  0.4755095  0.074341324
[8,]  0.7685329  1.9803999  0.02800216 -0.7099464 -0.589520946
, , 3
       [,1]       [,2]        [,3]       [,4]       [,5]

[1,] -0.5686687  0.3700188 -1.27659221 -0.6545846  1.4322822
[2,] -0.1351786  0.2670988 -0.57326541  1.7672873 -0.6506964
[3,]  1.1780870 -0.5425200 -1.22461261  0.7167075 -0.2073807
[4,] -1.5235668  1.2078678 -0.47340064  0.9101742 -0.3928079
[5,]  0.5939462  1.1604026 -0.62036668  0.3841854 -0.3199929
[6,]  0.3329504  0.7002136  0.04211587  1.6821761 -0.2791133
[7,]  1.0630998  1.5868335 -0.91092165 -0.6357365  0.4941883
[8,] -0.3041839  0.5584864  0.15802877 -0.4616447 -0.1773305

I have no idea about R code here, and I don't think Keras or Tensorflow overall has any API contract for supporting R.
@fchollet what do u think for this issue?

Closing this issue since TF and Keras doesn't have official support for R.


Try to fix the broken test that is also timing out(??)

Update: Looks like on one platform only it was looking at debug window instead of the actual electron app window.


Updating with latest Sync API improvements

Docs Build status updates of commit f3997b8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/docs-ref-autogen/excel/excel/excelscript.table.yml
:white_check_mark:Succeeded

generate-docs/api-extractor-inputs-excel/excel.d.ts
:white_check_mark:Succeeded

generate-docs/json/excel/excel.api.json
:white_check_mark:Succeeded

generate-docs/script-inputs/excel.d.ts
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Join effort

Hello,
I see a message saying that this repo will not be active maintained, and there is this repo: https://github.com/mmb/concourse-bitbucket-pullrequest-resource (fork)  that says it will maintain it.
Is it possible for you guys to coordinate and keep an unified repo? @mmb @laurentverbruggen
I think both would benefit from it. The repos still really close.
Regards

I'm open to collaboration but I didn't want to bother @laurentverbruggen with my PRs if he no longer wants to maintain it.
I forked it because we are actively using the resource and need a place to make bug fixes and changes.

I try to merge pull requests when I have the time and when it doesn't deviate that much from the original code. I don't have time to test it, so it must be clear that the change will not break anything.
As for collaboration, I can only ask @mmb to do the necessary merges (to his fork) or PRs (to my repo) to have all changes in one repo. Removing this repo is not really a solution since there will certainly be people using this repository.

Ok, I'll do that if all changes from this repository are added to the mmb repository. I've tried creating a pull request but apparently I can't do an upstream pull request so @mmb will have to pull the changes in. Let me know when you have done that and I'll add the comment.

Thanks @laurentverbruggen lets hope @mmb is ok with that!
Really appreciate.

I'll do my best to pull in all changes from upstream.

All the commits in this repo have been pulled into mmb/concourse-bitbucket-pullrequest-resource.
Thanks for writing this resource @laurentverbruggen.

I've included the message. Good luck with the resource!

Thank you all.
Appreciate the effort and the resource!


Make slotPred safe for all values of SlotId.

Issue Number
Indirectly relates to #466.
Overview
This PR changes slotPred so that it returns Maybe SlotId instead of SlotId.
This is because there isn't a well-defined answer for slotPred (SlotId 0 0).
When slotPred is applied to slotPred (SlotId 0 0) we return Nothing.
We also:

Adjust the slot arithmetic test suite to take into account the fact that slotPred may return Nothing.

Strengthen the slot arithmetic test suite by applying slotPred and slotSucc an arbitrary number of times rather than just once, where appropriate.

This will make the slotPred function more "correct".
But I think the API and core wallet should deal in flat slot numbers. It will make things simpler.

@rvl wrote:

But I think the API and core wallet should deal in flat slot numbers. It will make things simpler.

I suspect you're probably right. Perhaps start a discussion about it? (Probably a good place: https://github.com/input-output-hk/cardano-wallet-adr/issues)
This discussion reminds me a little of UNIX time, which is just a "flat" number of seconds since 1970-01-01T00:00:00Z. We can use this to calculate the current time with our knowledge of when leap seconds have been applied. The schedule for applying leap seconds can be modified as we go into the future without ever affecting the way we store the underlying UNIX time.

This will make the slotPred function more "correct".

If slotPred were to be rewritten in terms of flat slot numbers, it would probably still need to return Maybe FlatSlotId (as we'll always have the situation where there are no slots prior to the start of the block chain).


ASB-1454: consume nsip-documents

adds a Document table to Applications database, to store document data from Back Office
adds function to subscribe to document publish events, and store the data in aforementioned table

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.14.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Authentication with Apple Developer Portal failed! Too many verification codes have been sent.

Build/Submit details page URL
No response
Summary
Unable to build for iOS due to Apple auth issues. This was happening prior to upgrading eas-cli, as well, which is one of the things I did to troubleshoot.
Authentication with Apple Developer Portal failed!
Too many verification codes have been sent. Enter the last code you received or try again later.
Managed or bare?
Managed
Environment
    expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 14.4.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 16.17.1 - ~/.nvm/versions/node/v16.17.1/bin/node
      Yarn: 1.22.22 - ~/Documents/GitHub/cubrio/app/famtalk/node_modules/.bin/yarn
      npm: 8.15.0 - ~/.nvm/versions/node/v16.17.1/bin/npm
    Managers:
      CocoaPods: 1.15.2 - /opt/homebrew/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 23.4, iOS 17.4, macOS 14.4, tvOS 17.4, visionOS 1.1, watchOS 10.4
      Android SDK:
        API Levels: 31, 32, 33
        Build Tools: 30.0.2, 31.0.0, 33.0.0
    IDEs:
      Android Studio: 2021.2 AI-212.5712.43.2112.8815526
      Xcode: 15.3/15E204a - /usr/bin/xcodebuild
    npmPackages:
      expo: ^50.0.0 => 50.0.19
      react: 18.2.0 => 18.2.0
      react-native: 0.73.6 => 0.73.6
    npmGlobalPackages:
      eas-cli: 10.2.3
      expo-cli: 6.3.10
    Expo Workflow: bare

✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✖ Check for common project setup issues
✔ Check for issues with metro config
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check native tooling versions
✖ Check that packages match versions required by installed Expo SDK
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that native modules use compatible support package versions for installed Expo SDK

Detailed check results:

This project has native project folders but also has config plugins, indicating it is configured to use Prebuild. EAS Build will not sync your native configuration if the ios or android folders are present. Add these folders to your .gitignore file if you intend to use prebuild (aka "managed" workflow).

The following packages should be updated for best compatibility with the installed expo version:
<EMAIL_ADDRESS>- expected version: ~50.0.20
<EMAIL_ADDRESS>- expected version: ~2.14.0
<EMAIL_ADDRESS>- expected version: ~3.6.2
Your project may not work correctly until you install the correct versions of the packages.
Found outdated dependencies
Advice: Use 'npx expo install --check' to review and upgrade your dependencies.

One or more checks failed, indicating possible issues with the project.

Error output
⠋ Logging in...GET https://idmsa.apple.com/appleauth/auth/signin?widgetKey=e0b80c3bf78523bfe80974d320935bfa30add02e1bff88ec2166c6bd5a706c42
⠸ Logging in...200  (GET https://idmsa.apple.com/appleauth/auth/signin?widgetKey=e0b80c3bf78523bfe80974d320935bfa30add02e1bff88ec2166c6bd5a706c42)
POST https://idmsa.apple.com/appleauth/auth/signin
⠧ Logging in...Error: Request failed with status code 409 (POST https://idmsa.apple.com/appleauth/auth/signin)
✔ Logged in, verify your Apple account to continue
GET https://idmsa.apple.com/appleauth/auth
Error: Request failed with status code 500 (GET https://idmsa.apple.com/appleauth/auth)

Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 3)

✖ Logging in...
Authentication with Apple Developer Portal failed!
Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later
    Error: build command failed.

Reproducible demo or steps to reproduce from a blank project
Same error is happening for two projects

Seeing a similar thing:
✔ Logged in, verify your Apple account to continue

Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 3)

✖ Logging in...
Authentication with Apple Developer Portal failed!
Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later
Submission failed

Was able to build with the below command, but unable to submi the build to Apple
eas build -p ios --non-interactive --profile external

Hi,
The error

Authentication with Apple Developer Portal failed!
Too many verification codes have been sent. Enter the last code you received or try again later.

doesn't seem to be the same as

Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'

🤔
Are these two separate issues you encounter?
When it comes to

Authentication with Apple Developer Portal failed!
Too many verification codes have been sent. Enter the last code you received or try again later.

I think it's just SMS rate limiting on Apple's side. We don't control it, just use their API when it comes to logging in/sending verification codes. I believe that everything should be back to normal after some cooldown period.

I received the same error Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 3)
The only reason my output shows more is because I had debug logging enabled.
For me they were not separate issues.
I never received any SMS with an OTP from Apple nor a prompt to enter an OTP via the command (eas build). Something seems broken in that handshake on the backend, at least.

this worked today when trying again. nothing changed on my end but it did prompt for OTP code this time whereas before it never did.
Two-factor Authentication (6 digit code) is enabled for<EMAIL_ADDRESS>Learn more: https://support.apple.com/en-us/HT204915

✔ Please enter the 6 digit code you received at +1 (•••) •••-••38: … 806508

@ahveecubed  This is happen with me too today after confirm sms code

Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 3)

✖ Logging in...
Authentication with Apple Developer Portal failed!
Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later

For anyone wondering, the issue was really simple, at least for me. All you have to do is login to EAS like:
eas login

Then provide your email and password for expo.com and it should work

I've had a simillar error but Internal Server Error: 'h'. I removed all the Apple-related credentials from the Keychain Access and logged in again manually with password and it resolved this issue for me.


'You should call EasyLoading.init() in your MaterialApp',

Describe the Feature request
Please tell us the problem you are running into that led to you wanting
a new feature.

Hope it help !


Rebuild with latest rust?

Comment:
It looks like it's possible conda-build long-paths-on-windows issue might be fixable, even with the current 13.0.0 version, by rebuilding with a suitably-recent rust:

https://github.com/BurntSushi/ripgrep/issues/364#issuecomment-1471122326
https://github.com/rust-lang/rust/pull/89174

Related on conda-forge:

https://github.com/conda-forge/staged-recipes/issues/17519

Testing here: https://github.com/conda-forge/verapdf-feedstock/pull/1 (will rekick once CDN is happy)

This did not fix the conda-build issue :crying_cat_face: But it was rebuilt, and seems about 50% smaller on the wire as a .conda, so at least there's that.

Could you please share a reproducer in issue ( https://github.com/conda/conda-build/issues/4357 )?

Yep, added here: https://github.com/conda/conda-build/issues/4357#issuecomment-1766458237


determine update frequency for webcam updates

right now i am using cron to pull every six minutes

five minute is the minimum for NC147_DAVIS_DR.  Compare 1648 vs 1652


How to set rankdir with LR?

MutableGraph containerGraph = Factory.mutGraph ()
	.setDirected ( true )
	.graphAttrs ().add ( RankDir.LEFT_TO_RIGHT );

Then i get an error.
Cannot resolve method 'add(guru.nidi.graphviz.attribute.Rank.RankDir)'

What should I do

Hi @essayZW,
For me, the following works:
g.graphAttrs.add("rankdir", "LR")

Hi @frademacher
Thanks for your help, I solved this problem.


Unlock google.golang.org/grpc

This was originally locked in #1000 based on containerd's resolution for https://github.com/containerd/ttrpc/issues/62. However, the lock on google.golang.org/grpc was dropped in https://github.com/containerd/containerd/pull/5613 while upgrading libraries we don't actually use, so it was probably never applicable for us, while the lock on google.golang.org/genproto was kept.
See also https://github.com/containerd/ttrpc/pull/89, which intended to document that only google.golang.org/genproto needs to be locked. However, this PR was dropped in favour of https://github.com/containerd/ttrpc/issues/92, dropping gogo/protobuf entirely (somehow).
Draft because:

[ ] Needs to be updated to follow the approach in in https://github.com/containerd/ttrpc/issues/92 instead.
[ ] This was an "in-passing" inspiration, and I haven't tested it in any way except the CI test run.

Note to self: Protobuf implementation regeneration command is in #1175, e.g., 02cfac9d74f5c73e92383ed25783a46ac195aead.

For future work, #1302 has pointed out that https://github.com/containerd/ttrpc/issues/92 has an overarching issue at https://github.com/containerd/containerd/issues/6564 which might be clearer about how to migrate away from github.com/gogo/protobuf.

Rebased onto master, incorporating #1302 so protobuf regeneration is now documented and verified in GitHub Actions.
https://github.com/containerd/containerd/issues/6564 has been closed by merge of https://github.com/containerd/containerd/pull/6841 which still carries the replaces for genproto, but https://github.com/containerd/containerd/pull/5208#issuecomment-1108903171 notes that these may be able to be removed now.


Add game datasets list

https://github.com/leomaurodesenv/game-datasets
This repository serves as a guide for anyone who wants to work with Data Mining or Artificial Intelligence applied in digital games, with several tools and datasets.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

You have to review at least 2 other open pull requests. Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration.
I have read and understood the instructions for creating a list.
This pull request has a descriptive title in the format Add Name of List (Example: Add Swift), not Update readme.md or Add awesome list.
The entry in the Awesome list should:

Include a short description about the project/theme of the list. It should not describe the list itself.Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..
Be added at the bottom of the appropriate category.

The list I'm submitting complies with the below requirements.

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
It's the result of hard work and the best I could possibly produce.
Non-generated Markdown file in a GitHub repo.
Includes a succinct description of the project/theme at the top of the readme. (Example)
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
WTFPL and Unlicense are not acceptable licenses.
If you use a license badge, it should be SVG, not PNG.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.

Go to the top and read it again.

[Insert URL to the list here]
[Explain what this list is about and why it should be included here]
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

You have to review at least 2 other open pull requests. Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration.
I have read and understood the instructions for creating a list.
This pull request has a descriptive title in the format Add Name of List (Example: Add Swift), not Update readme.md or Add awesome list.
The entry in the Awesome list should:

Include a short description about the project/theme of the list. It should not describe the list itself.Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..
Be added at the bottom of the appropriate category.

The list I'm submitting complies with the below requirements.

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
It's the result of hard work and the best I could possibly produce.
Non-generated Markdown file in a GitHub repo.
Includes a succinct description of the project/theme at the top of the readme. (Example)
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
WTFPL and Unlicense are not acceptable licenses.
If you use a license badge, it should be SVG, not PNG.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.

Go to the top and read it again.

The entry in the Awesome list should be added at the bottom of the appropriate category.

It seems that this list has been added on the top of the Gaming category instead.
There are also some linting problems:
>awesome-lint https://github.com/leomaurodesenv/game-datasets
× Linting

  README.md:1:1
  ×   1:1    Missing or invalid Table of Contents                          remark-lint:awesome/toc
  ×   1:1    Missing newline character at end of file                      remark-lint:final-newline
  ×   1:1    Missing License section                                       remark-lint:awesome/license
  ×   1:31   Invalid badge source                                          remark-lint:awesome/badge
  ×  12:3    Invalid list item link URL                                    remark-lint:awesome/list-item
  ×  13:3    Invalid list item link URL                                    remark-lint:awesome/list-item
  ×  14:3    Invalid list item link URL                                    remark-lint:awesome/list-item
  ×  15:3    Invalid list item link URL                                    remark-lint:awesome/list-item
  ×  16:3    Invalid list item link URL                                    remark-lint:awesome/list-item
  ×  18:1    Rules should use ---                                          remark-lint:rule-style
  ×  21:180  Use two spaces for hard line breaks                           remark-lint:hard-break-spaces
  ×  30:1    Rules should use ---                                          remark-lint:rule-style
  ×  40:128  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ×  48:112  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ×  55:111  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ×  56:133  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ×  61:49   List item link and description must be separated with a dash  remark-lint:awesome/list-item
  ×  62:86   List item description must end with proper punctuation        remark-lint:awesome/list-item
  ×  63:116  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ×  64:120  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ×  65:100  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ×  66:3    Incorrect indentation before bullet: remove 1 space           remark-lint:list-item-bullet-indent
  ×  66:74   List item description must end with proper punctuation        remark-lint:awesome/list-item
  ×  71:110  List item description must end with proper punctuation        remark-lint:awesome/list-item
  ×  76:87   List item description must end with proper punctuation        remark-lint:awesome/list-item

  25 errors

https://github.com/sindresorhus/awesome-lint

Thanks for the review.

It seems that this list has been added on the top of the Gaming category instead.

Yes, because of the alphabetical order.
But, I will fix putting in the bottom.
I forgot the awesome-lint.
I updated the layout right now.
✔ Linting

I'm currently following #1546 and #1545.

Following #1553.

Thanks for making an Awesome list! 🙌
It looks like you didn't read the guidelines closely enough. I noticed multiple things that are not followed. Try going through the list point for point to ensure you follow it. I spent a lot of time creating the guidelines so I wouldn't have to comment on common mistakes, and rather spend my time improving Awesome.

Thank you @sindresorhus,
I will double check this weekend!

Hello @sindresorhus,
I just finish of review all guideline and also update list texts. Thank you for your time.

There should be a description at the top of the list readme about what game sets and data mining is.

If you use a license badge, it should be SVG, not PNG.

There should be a description at the top of the list readme about what game sets and data mining is.

Done. This really changed the introduction section.

If you use a license badge, it should be SVG, not PNG.

This is not done.

If you use a license badge, it should be SVG, not PNG.

This is not done.

Now, it is done. Sorry for this mistake.

Tweet: https://twitter.com/awesome__re/status/1139789622093869056


Add files via upload

This is the school website: http://www.qyytzx.com/

@yuecan51 Thank you for your patience while waiting for a review and processing your request. Pull request merged. Thank you!


Can I keep the schema in sync with git repository?

What is your question?
Can I keep the schema in sync with git repository? In a way that would allow me to re-export the whole json schema whenever I send / modify a request without manually going through the whole procedure maually.
What is the context?
Syncing the API schema using remote code repository

same question, is possiible to change save and get insomia auto re-Import ?

If the answer is "no" then its still a correct answer, anybody?

With designer, you can connect Insomnia to a git repository, push changes, and pull changes. Currently the schema is stored under the .insomnia folder and is wrapped with Insomnia meta information. There is an open issue (#2216) to address this to allow support of multiple file specifications and specifications to be stored outside of the .insomnia folder.


instanceof equivalent from C

Is there currently a way to use instanceof from the native side?  I don't see anything to do this in the documentation.  Might be a useful feature to have, particularly for native-side errCreate handlers. ;-)

Right now there isn't, but it would be easy to add.
Just as a little bit of background: the API doesn't mirror all Ecmascript constructs because there are relatively many of them and there's some pressure to keep the API and code footprint small. So, API calls have been added for the obvious cases and based on concrete demand. For example, before Duktape 1.1 duk_def_prop() didn't exist and users would call into Object.defineProperty() to e.g. set up setters and getters. This turned out to be a common need so a specific API call was added.
Working out the right balance is obviously a bit difficult. For instance, C bindings for array manipulation will probably need to be added but there are quite a few operations that one might potentially need so it's a challenge to keep the API call count low :)

In this specific case, adding duk_instanceof() as a public API macro would have minimal footprint impact because the internal instanceof-primitive needs to exist anyway in some form. For the same reason the API call is unlikely to become baggage in the future.
This doesn't work for all primitives because some of them are implemented inline in the bytecode executor, as built-in Duktape/C functions, etc. Also some users dislike macro-based API calls. I like them because they can be used to provide a convenient API with minimal conflict between convenience and low memory environments :-)

I don't mind the macros, actually.  A lot of people scoff at their use in Duktape because conversion of an API between function and macro isn't considered a breaking change, but the way the engine is generally used (statically linked), it doesn't matter: updating to a new version requires recompilation anyway.  Binary compatibility isn't even a factor at that point.

Yeah, the function/macro distinction only really comes to play when either using Duktape as a shared library or when one needs to point to Duktape API calls via a function pointer (happens in some wrapping scenarios).
While there are currently no guarantees, in practice function/macro changes are not needed in patch versions.

I'd just like to toss in my $0.02 and state that I also don't mind the macros, as long as they don't do something unpredictable (like evaluate an argument twice) --- or if they do, at least document and emphasize that.
While I don't remember using them in any shape or form where 2× evaluation would be a problem, I know I might end up with such a call in the future.

Macros are evil.
You can't store a macro as a function pointer, you can even less when the macro expands to an expression like : #define load (load() || exec()).
It's just a pain to debug your code when it actually contains macros too.
Oh and I remember a while ago, I've added a function named basename into a C++ class and because the stupid glibc headers has added something like #define basename xpg_basename IIRC, I was debugging why my own function was not referenced in the executable.

@hftmarkand We'll just have to agree to disagree then ;)

Wow, I derailed the issue thread but good. :-). But getting back on topic, is this a green light for duk_instanceof() then?

Sure, let's add it to the API :)

Nice, thanks @svaarala :)

Draft implementation, API doc, and testcase:

https://github.com/svaarala/duktape/tree/api-instanceof

Behavior for invalid indices in the API call differs intentionally from e.g. duk_equals(): a TypeError is thrown if either index is invalid.
This is intentional because unlike comparison operators, instanceof is rather picky about its arguments, e.g. throwing a TypeError if the rval is not a callable object:
duk> 'foo' instanceof {}
TypeError: invalid instanceof rval
	duk_js_ops.c:994
	global input:1 preventsyield

So, I made the index checks strict to match this behavior. This behavior is illustrated in the test case:

https://github.com/svaarala/duktape/blob/api-instanceof/api-testcases/test-instanceof.c

Can I have a snapshot from the api-instanceof branch?  I'd like to test it out. :)

Regarding the macro guarantees mentioned above - they are explicit (including not evaluated twice) and listed in:

http://duktape.org/guide.html#duktape-api

Now in master.
@fatcerberus Open an issue if this doesn't work for you :)


Write the "Strings" concept

Official docs:
https://book.cairo-lang.org/ch02-02-data-types.html#string-types

Exercism Concepts docs:
https://exercism.org/docs/building/tracks/concepts
Use Python track's concepts as inspiration for format:
https://github.com/exercism/python/tree/main/concepts/

@misicnenad Let me work on this task.


internal/contour: holdoff triggers forced update on first change

What steps did you take and what happened:
While gathering information requested by #499, I've observed HoldoffNotifier trigger a forced update on first OnChange.
What did you expect to happen:
Expect OnChanges to be compacted by holdoffDelay and holdoffMaxDelay (especially during start where many resources may exist).
 We only save one update over the entire run of a contour process.

I agree. I thought about it over dinner; I don't like the change set for it (doesn't really matter and I don't like adding a frivolous conditional into such a hot function)


--only-downloads doesn't download required msys for packages using vcpkg_fixup_pkgconfig

Describe the bug
--only-downloads doesn't download msys for packages which use vcpkg_fixup_pkgconfig.  Then when I try to install with --no-downloads I get an error because msys is missing.
I tested with gtest and zstd, and they both reproduce this.
Environment

OS: Windows
Compiler: VS2022
package: gtest[core]:x86-windows -> 1.11.0#3
vcpkg-tool version: 2021-12-09-724cea8b33cbf06c645f5095fa29773697da9761
vcpkg-scripts version: 48bba4f9c 2021-12-10 (2 days ago)

To Reproduce
Steps to reproduce the behavior:

./vcpkg install gtest --only-downloads
./vcpkg install gtest --no-downloads
See error:

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:251 (message):
  Downloads are disabled, but
  'E:/devl/vcpkg/downloads/msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst'
  does not exist.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_acquire_msys.cmake:84 (vcpkg_download_distfile)
  scripts/cmake/vcpkg_acquire_msys.cmake:174 (z_vcpkg_acquire_msys_download_package)
  scripts/cmake/vcpkg_find_acquire_program.cmake:551 (vcpkg_acquire_msys)
  scripts/cmake/vcpkg_fixup_pkgconfig.cmake:198 (vcpkg_find_acquire_program)
  ports/gtest/portfile.cmake:49 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:142 (include)

Expected behavior
Error should not be encountered, and gtest should successfully install
Failure logs
msysdownloadfail.log

Because vcpkg doesn't support use external msys package, so use --no-downloads will appear this error.


Add support for reporterOptions as an object in config files

Description of the Change
When using a configuration file, users can pass options to a reporter via the reporterOption property. The value of this property is expected to be a string or comma-separated list of key=value pairs. This format matches the CLI but is a bit awkward in a config file where using an object would be more natural.  The problem with using an object currently is that it ends up being parsed by yargs, then unparsed by yargs-unparser, and re-parsed a second time by yargs and the end result is not the same as the original input.
For example, given the following config file:
// .mocharc.json
{
  "reporter": "mochawesome",
  "reporterOption": {
    "reportFilename": "customReportFilename",
    "quiet": true,
  }
}

the options object will look like this when passed to the reporter:
{
  reporter: 'mochawesome',
  'reporterOption.reportFilename': 'customReportFilename',
  'reporterOption.quiet': true
}

This change ensures that when using an object for the reporterOption option, it will be passed as expected to the reporter. This is achieved by defining a coerce function that transforms the object to a comma-separated "key=value" string as expected by yargs.
Alternate Designs
I considered a PR to yargs-unparser to preserve the object format but that route would require considerably more effort and would add behavior that may not be desired for all users of that library.
Why should this be in core?
While it is possible for reporters to parse the options object as it currently is, doing so seems unnecessary since I believe the underlying issue here is that mocha is not parsing the configuration as expected. The input is not the same as the output for this use-case.
Benefits
With this change, users can pass options to reporters in a much more familiar and expected way when using a config file.
Possible Drawbacks
As written, this change does not support using nested objects as it seemed unnecessary. Should that change, the code would need to be modified.
Reviewer note
I wasn't quite sure where to add a test for this change as it didn't seem to fit in with the format of the existing tests for either config or reporters. With some guidance I'd be happy to update the PR with necessary tests.

Coverage decreased (-0.05%) to 94.347% when pulling 34d61530ff0f925e62cf6e5592d9fd85a18bc364 on adamgruber:reporter-options-object into 8339c3db2cb273f6b56a4cfa7974510f1bf72934 on mochajs:master.

@adamgruber reporter-option is actually an array, see our sample configs.
I will have a closer look at your PR, thanks.


Update README.md

We do not support IOS (yet)

Of course this "AppStore" is a mistake, I meant 'PlayStore'


Renamed visible tiles to computed tiles.

Cache eviction is now controlled by when the tile was last requested,
and not whether the tile is visible.
"visibleTiles" renamed because it was a bit confusing as there are
tiles which are not visible in the visibleTiles list because they are
still loading.

"visibleTiles" renamed because it was a bit confusing as there are
tiles which are not visible in the visibleTiles list because they are
still loading.
I find the new name more confusing or quite ambiguous (what was actually computed?).
Since the class is computing the visible tiles (or tile keys) the name was a good fit.

Finding a proper name for this class is quite hard b/c it is doing a lot of things. That's a good indicator that this class should be split, maybe in VisbileTileSet and RenderableTileSet


Overlapping issues

First, thank you for the great app.
I have an overlpapping issue if the scrollbar is visible:

The Time is cut off
Without a scrollbar it fits:

Thank you for your feedback, I will address this issue in the next release cycle.
When it will be fixed, I will leave a message about that here.

Fixed this issue in v1.4.1.


Invalid data found when processing input

Hey when i start the inference.py script this happen :
someone can help me ?

> ffmpeg version N-62110-g4d45f5acbd-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers
>   built with gcc 8 (Debian 8.3.0-6)
>   configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
>   libavutil      57. 26.100 / 57. 26.100
>   libavcodec     59. 33.100 / 59. 33.100
>   libavformat    59. 24.100 / 59. 24.100
>   libavdevice    59.  6.100 / 59.  6.100
>   libavfilter     8. 40.100 /  8. 40.100
>   libswscale      6.  6.100 /  6.  6.100
>   libswresample   4.  6.100 /  4.  6.100
>   libpostproc    56.  5.100 / 56.  5.100
> Information: Generating grammar tables from /usr/lib/python3.8/lib2to3/Grammar.txt
> Information: Generating grammar tables from /usr/lib/python3.8/lib2to3/PatternGrammar.txt
> Script evaluation failed:
> Python exception: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory
>
> Traceback (most recent call last):
>   File "src\cython\vapoursynth.pyx", line 2890, in vapoursynth._vpy_evaluate
>   File "src\cython\vapoursynth.pyx", line 2891, in vapoursynth._vpy_evaluate
>   File "inference.py", line 85, in <module>
>     clip = ESRGAN_inference(clip=clip, model_path="/workspace/RealESRGAN_x4plus_anime_6B.pth", tile_x=480, tile_y=480, tile_pad=16, fp16=False, tta=False, tta_mode=1)
>   File "/workspace/tensorrt/src/esrgan.py", line 680, in ESRGAN_inference
>     import torch_tensorrt
>   File "/usr/local/lib/python3.8/dist-packages/torch_tensorrt/__init__.py", line 11, in <module>
>     from torch_tensorrt._compile import *
>   File "/usr/local/lib/python3.8/dist-packages/torch_tensorrt/_compile.py", line 2, in <module>
>     from torch_tensorrt import _enums
>   File "/usr/local/lib/python3.8/dist-packages/torch_tensorrt/_enums.py", line 1, in <module>
>     from torch_tensorrt._C import dtype, DeviceType, EngineCapability, TensorFormat
> ImportError: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory
>
> pipe:: Invalid data found when processing input

Hmm... maybe I broke something while using self-compiled torch, will look later.

Hmm... maybe I broke something while using self-compiled torch, will look later.

ok no problem, can you tell me if its good ?

Sure.

Sure. Can reproduce, seems like I am right and my PyTorch compile makes trouble.

oh i see ok, i will wait so
good luck !

Seems like in my custom PyTorch I dont have certain .so files, after copying the ones I had I had undefined symbols. I rebuild docker with nightly PyTorch 1.13 and it fails with undefined symbol. For now the fastest fix is to downgrade PyTorch 1.11, because Torch-Tensorrt does not support latest PyTorch.
pip install torch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113

I don't really want to downgrade PyTorch for now, well recompiling will take more time. For now you can just manually downgrade PyTorch after starting docker.

ok i will try that tomorrow and i give you more info !

Hmm, after some more thinking, I think it would be better to downgrade PyTorch so people don't have problems and I will update once I have it working with the new version. Updated dockerhub and Dockerfile. You could test to verify, then I would close this issue.

Ok so, I try with the downgrade PyTorch but it still not working for me, i don't know if I'm doing something wrong... :c
For now I have this message:
> Script evaluation failed:
> Python exception: /usr/local/lib/python3.8/dist-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail14torchCheckFailEPKcS2_jRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
>
> Traceback (most recent call last):
>   File "src\cython\vapoursynth.pyx", line 2890, in vapoursynth._vpy_evaluate
>   File "src\cython\vapoursynth.pyx", line 2891, in vapoursynth._vpy_evaluate
>   File "inference.py", line 17, in <module>
>     from vsbasicvsrpp import BasicVSRPP
>   File "/usr/local/lib/python3.8/dist-packages/vsbasicvsrpp/__init__.py", line 10, in <module>
>     from .basicvsr_pp import BasicVSRPlusPlus
>   File "/usr/local/lib/python3.8/dist-packages/vsbasicvsrpp/basicvsr_pp.py", line 8, in <module>
>     from mmcv.ops import ModulatedDeformConv2d, modulated_deform_conv2d
>   File "/usr/local/lib/python3.8/dist-packages/mmcv/ops/__init__.py", line 2, in <module>
>     from .active_rotated_filter import active_rotated_filter
>   File "/usr/local/lib/python3.8/dist-packages/mmcv/ops/active_rotated_filter.py", line 10, in <module>
>     ext_module = ext_loader.load_ext(
>   File "/usr/local/lib/python3.8/dist-packages/mmcv/utils/ext_loader.py", line 13, in load_ext
>     ext = importlib.import_module('mmcv.' + name)
>   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ImportError: /usr/local/lib/python3.8/dist-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail14torchCheckFailEPKcS2_jRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
>
> pipe:: Invalid data found when processing input

Guess I overlooked mmcv, sigh. Try redownloading the docker from dockerhub. I recompiled mmcv there.

I quickly tested functionality with the updates, seems like it works. Closing issue. Delete your current docker image and do either docker pull styler00dollar/vsgan_tensorrt:latest or docker build --no-cache -t styler00dollar/vsgan_tensorrt:latest .. You can message here if you encounter further problems.


survey results not recorded

on 23/12 we had lots of transactions but only a few appear in the survey
most transactions were via QR code, is it related? if survey is closed with X is it still recorded?

@StanislavShevchenko
please check how we save survey and also how we collect it in dashboard (maybe problem with collect data)

I checked the survey there is always, no matter how you send.

@AlexeyKosinski I checked the survey there is always, no matter how you send. I will look for a problem in collecting data for a dashboard

@AlexeyKosinski
And dashboard? is it in sync?
does total blockchain TXs matches survey answers?

in mongo we have 224 survey
and 330 transactions
so the problem with collecting survey

@sirpy Seems like u fixed this by commit https://github.com/GoodDollar/GoodDAPP/commit/e3c4ac48dc4c6e52abc48f5291483f630e087e66

The surveys collect only with payment links transactions. There is no survey's items if transactions were made with QR

The issue isn't reproduced. Most likely it was fixed with another scope of work.
The information about transactions via QR are recorded.


Row selected state styling is incorrect in the new default theme

Describe the bug
The selected state for budget rows in the new default theme is tough to read.
Current Styling:

Desired Styling:

If it helps, the variable we're using for selected rows: var(--table_row_background_selected)

While this does appear to be the correct class the new standard styling is using.  The color combination you are displaying does not seem to hold up.
This variable also doesn't seem to be managed by the plugin, so being able to add your own custom themes would probably be a new feature for it to add not a bug.
My findings:

Check it is on the default theme

Click a row in budget screen

Sources show the UL for the row and the background variable used.

More documentation and information would be helpful.  I like your emoji's on the category names!

The actual issue here was fixed in our last release. Closing now.


remove _json_from_json patch

remove _json_from_json patch
addresses: #1055
docs dbt-labs/docs.getdbt.com/#

Problem

Solution

Checklist

[ ] I have read the contributing guide and understand what's expected of me
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@colin-rogers-dbt I converted this to a draft while we wait for the fix to go out in bigquery.

@colin-rogers-dbt Does this need to be backported? If so, please add it to the release ticket (and apply the backport labels of course).

This looks like it will fix https://github.com/dbt-labs/dbt-bigquery/issues/1101 also.
We'd just want to add the following test case also:
dbt show --inline 'select parse_json(null)'


Move Templates to Dedicated Repository

New Feature Proposal
For more information, see the CONTRIBUTING guide.
Description
Right now we also have the "standard templates" (e.g., empty / default) for pilets and Piral instances in the monorepo. I don't think this makes much sense going forward. We will move them into a dedicated repository.
Background
We want to make the mono repo more lightweight and focused.
Discussion
Should the format / capabilities of these templates also be improved?

Should also

not use renderInstance then (#465)
not use piral/polyfills anymore (#467)


No content is coming back, so it should be 204

Closes #118.

Failing due to an existing problem with your Travis build. I added a fix in #117, see the comment here.

Fix to Travis build is included in #123.

Fix to Travis build is included in #123.

Awesome. Rebased onto master :+1:

Awesome, I was just notified of this issue by our frontend developer !
Any ETA on a merge and release?

We would be happy to merge it but we're still wondering what is the exact reason of having it from frontend developer point of view.
@hvdklauw can you give us some examples / rationales?

From what I understand from our front-end guys, angular.js always looks for content from a 200/201, so that was causing them some issues in our case.

It makes sense, the 204 no content is meant for when you have no content to return. the github/fetch library also breaks on a 200 response having no body

@mmarksnippety
I think we have received valid reasons from front-end'ers.
Apologies for being pushy, but, well, you know :+1:

Merged! 🎉


ESBuild config

ESBuild config seems to work fine and produces a slightly smaller (~1KB) minified file. However, two drawback:

it does not convert ES6 to ES5, so the resulting file would be less supported on older browsers
it doesn't print out the minified/gzipped size

Printing out the size of minified file after getting gzipped is easy enough as part of the build command: gzip -c django_unicorn/static/js/unicorn.min.js | wc -c.

Perhaps the plugin for rollup can use esbuild https://github.com/egoist/rollup-plugin-esbuild ?

Thanks, I hadn't seen this plugin! The real reason I was looking into ESBuild originally was for faster build times of the minified library. However, I realized that saving 10 seconds whenever I release isn't that big of a deal, so I gave up on this idea at some point, especially with losing the target of ES5. I'm actually going to close this issue for now.

@adamghill actually there are many other options to speedup the compilation step. You could use swc. It supports es5 target and has a rollup plugin. I think you can skip rollup and use this alone as well.

Interesting! I'd love a PR to see it in action. :)

I just checked out the repo and tested the build times,
the cold start was ~2s for parcel. But later runs completed by sub 1s.

But the result size was bigger. It doesn't seem much of a benefit bringing this in the end.


Casting line overflow separates cast type and variable

A type cast seems to me like it should be kept together with the object being casted, when possible.
Input:
public class ClassName
{
    public void Foo()
    {
        var myJsonSerializerContract = (JsonObjectContract)serializer.ContractResolver.ResolveContract(returnType);
    }
}

Output:
public class ClassName
{
    public void Foo()
    {
        var myJsonSerializerContract = (JsonObjectContract)
            serializer.ContractResolver.ResolveContract(returnType);
    }
}

Expected behavior:
public class ClassName
{
    public void Foo()
    {
        var myJsonSerializerContract =
             (JsonObjectContract) serializer.ContractResolver.ResolveContract(returnType);
    }
}

This seems reasonable to me


normal protein oxidation H2O2

normal protein oxidation during cellular response to hydrogen peroxide
for PMID:33225241
use for ssa1Δ, pap1Δ, mas5Δ pyp1+ oe

normal protein oxidation during cellular response to hydrogen peroxide FYPO:0007626


On branch branchStudy1

Changes to be committed:
modified:   src/test/java/Sample.java

The first branch study!


Arduino library manager has version 1.1.0 and links to this github but I can't find that version.

As the title says but also the example included with it doesn't compile because it doesn't have RV3028 RTC; to define the object.

Hi friend.
did you try the GitHub version (download and add to Arduino ide)?

No because it looked like an older version number but perhaps not. The version from the library manager only has RV3028.h. The version here has Registers.h and Definitions.h.

I discovered that version 1.1.0 in the Library manager is actually your 01.04.00 release here.  The library manager also offers 4 older versions and they seem to have the same version numbers as your four older releases, so just the last release has the wrong version number.
You seem to have done a lot of updates and bug fixes since then so I will try installing your your latest code from the zip.

I have the clock connected to an RPI PICO W. With the last release the constructor locked up. With your latest code I am pleased to report it works. I also had to update your I2C_Functions library to get it to compile of course. Perhaps you might consider a new release of both.