update iree version and make things sync

Update iree version(reason is python iree-compiler i use doesnt have the version used by this repo).
Remove async mode from this, only support sync mode.
Use typed array for inputs and outputs
For macos we use universal libs so use only that.
Add a model explorer

The IREE version is usually the nightly candidates, one would need to use --find-links flag to search for nightly release for iree-compile. Below is an example for that.
python -m pip install \
  --find-links https://iree.dev/pip-release-links.html \
  --upgrade \
  iree-compiler \
  iree-runtime \
  iree-tools-tflite

I agree for sync mode and make the user decide it should be async or not with threads.
For typed array, I remember Godot's typed array is only good for export. I had some trouble on appending new value into it although the type matches up. I'll need to research further on this as my understanding might be outdated.
For Mac OS, we are still using universal libs. sample/addons/iree-gd/iree-gd.gdextesion includes path to non-universal library to ease my development, miscellaneous/iree-gd.gdextension will be used when publish.
By model explorer, you mean checking out the info for the model?

This will be the model explorer:

It's going to be a tab on the bottom where you can select from a dropdown models(these models will be releases from the iree.zoo repo). The user can click the download button, and then the model will be downloaded into:
addons/iree-zoo/<model>/
We will download both the vm.. model and a .gd file with typing info. Will also update readme with this info.

There's a failing check.

Y, the mac sign fails, i need admin access to add some secrets.

But impl is not finished anyway, close but not ready. Struggling to do multithreaded stuff in gdscript. After some time i run out of memory. Need to put limits on max threads and max results to store.

Can the multithreaded stuff be done in a different pr?

Hm, maybe, but it depends on how the codegen from zoo will look like and what api it will follow.


Allow readonly arrays as inputs

What:
The items parameter of matchSorter as well as the keys option are being changed to ReadonlyArray from a plain Array. This more closely represents the contract of the function, as it does not modify these arrays.
Fixes #128.

Why:
Even though matchSorter does not modify its input array, it cannot be called with a value of type ReadonlyArray:
const input: readonly string[] = ['foo', 'bar', 'baz'];
matchSorter(input, 'f'); // does not compile

How:
The required changes are simple: The input types are changed to ReadyonlyArray. This is not a breaking change, as Array is a subtype of ReadonlyArray in typescript, so "normal arrays" can be passed in like before.

Checklist:

[ ] Documentation N/A - The fact a new array is returned is already present in the documentation
[ ] Tests N/A
[X] Ready to be merged

@all-contributors please add @diesieben07 for code


Add conference name to conference presentation resources

We have a "Conference Name" field associated with every conference presentation, but the conference name doesn't actually appear anywhere in the published resource. For example,
this presentation is associated with the Smart & Sustainable Campuses Conference on the back end, but the visitor would have no way to know that from looking at the resource.
As we're trying to encourage other orgs to use the Hub as a repository for their presentations, making this information visible is pretty important.  Ideally, this information would appear somewhere in the top block with presentation date/tags etc.

Similar to #285


Added Lollipop plot

resolve #4183
Copy the Lollipop Cookbook from scottplot 4 and adjust it slightly.
sample
from my added cookbook - Lollipop Plot Customizations
result image

sample code
double[] values = { 26, 20, 23, 7, 16 };
double[] positions = { 2, 4, 8, 10, 20 };
var lollipop = plt.Add.Lollipop(values, positions);
lollipop.Orientation = ScottPlot.Orientation.Horizontal;
lollipop.MarkerColor = ScottPlot.Colors.Red;
lollipop.MarkerSize = 10;

Fantastic work @CoderPM2011, thanks so much! I really appreciate the cookbook recipe too. I'll merge this today and it will be in the next version I intend to publish this weekend 🚀


clustering support?

Hello
Does the Moquette support clustering?

@AndroidDesigner no, at the moment it doesn't support clustering.


Make VersionInfo Hashable

Hello,
VersionInfo doesn't implement __hash__
https://github.com/scls19fr/arduino_libraries_search/blob/master/arduino_libraries_search.py
raises TypeError: unhashable type: 'VersionInfo'
This is quite close to #72
Kind regards

An other approach for hashing VersionInfo (differently than hashing it's string representation) could be to get a dict from VersionInfo but dict are not hashable (only immutable objects are hashable according https://stackoverflow.com/questions/13264511/typeerror-unhashable-type-dict).
So we can convert dict to frozenset using
def freeze(d):
    if isinstance(d, dict):
        return frozenset((key, freeze(value)) for key, value in d.items())
    elif isinstance(d, list):
        return tuple(freeze(value) for value in d)
    return d

and called __hash__ of this frozenset
Here is an example:
In [51]: v = semver.parse_version_info('1.2.3')

In [52]: d = v._asdict()

In [53]: fs = freeze(d)

In [54]: fs.__hash__()
Out[54]: -1214760729421905988

A last approach (and probably sympler) could be to get a tuple from a VersionInfo
def __hash__(self):
    return hash(self._astuple())


Disallow object literal casting

I've fallen for a trap that could probably be avoided with linting.
Basically, if I initialize an object, then cast it, those methods aren't transferrable.
export class MyClass {
    someProperty: string;
    someMethod() {
    }
    constructor() {
    }
}

const literalObj: MyClass = {
    someProperty: 'this all works fine'
}

// this part fails
literalObj.someMethod();

All the types compile just fine, but you can see the IDE would get tripped up and not tell you that literalObj was not initialized via new MyClass() and therefore someMethod() is not available on that object.
One possible solution would be if the constructor is explicitly defined, it should fail to compile as the constructor would never get called on this cast.
Any suggestions?

This is a compiler error in TypeScript 2.6. So I think you just need to upgrade to the newest version and it will help you out.


Write a C++ program to find sum of digits of a number by recursion

Description
Write a C++ program to find sum of digits of a number by recursion
Suppose we have a number n and we want to find the sum of its digits. For example, if n = 123, then the sum of its digits is 1 + 2 + 3 = 6.
Recursion is a method of solving a problem where the solution depends on solutions to smaller instances of the same problem. In this case, we can use recursion to find the sum of digits of a number.
Input  : 123
Output : 6

How to contribute

Save the solution in FindSumOfDigitsOfANumberByRecursion.cpp file
Add FindSumOfDigitsOfANumberByRecursion.cpp file in find-sum-of-digits-of-a-number-by-recursion folder

!assign


feature/61-update-docs-env into develop

This makes a number of small improvements to project setup and docs:

.json added to .gitattributes and .editorconfig.
.pylintrc reduced to bare minimum needed.
CONTRIBUTING.md updated with improved env var setup in VSCode, workflow steps.
setup.md improved docs on rsyslog setup for avoiding syslog duplication and permissions errors.

Closes #61.

Lint error is due to new checkers in a newer version of pylint.  Will be addressed in a future issue.


Fix mse tables

#992 changed how w for updrafts is accessed, which needs to be reflected in the mse tables. This PR fixes it. Found in #1025

bors r+


Have templates publish to GitHub packages

Current Behavior
Currently, npm publish runs yarn prepare script to build the package then deploys to npm for the logged in user.
Desired Behavior
Have an CLI option and config file to be able to also deploy to GitHub packages. This could be wrapped into the prepare script or added as an additional script that will use the config to deploy to GitHub packages instead.
Suggested Solution
Since deploying to GitHub packages requires logging in with GitHub credentials to a different registry and adding a publishConfig to the package.json, it would probably be best to add a new script that will run npm login to the GitHub registry and apply the config credentials. This would also need to edit the package.json to add the publishConfig before running npm publish. Then also do the clean up to remove it so you can later run npm publish with normal login.
Since this would change the user's login to the GitHub registry it would also be a good idea to have the config include their npm credentials so the normal prepare script can log them into npm normally.
Another alternative solution would be to update the GitHub actions to automatically deploy to GitHub packages. (now that I type this I think that would definitely be the route to take since developers can just add the secret token directly to the repo then have it work on all commits to master)
Who does this impact? Who is this for?
This would be useful for all developers because deploying to GitHub packages is becoming increasingly popular.
Describe alternatives you've considered
Currently, I am manually logging in with both npm credentials and publishing to each manually.

I think that is currently out-of-scope for TSDX. How, when, and where people publish packages tends to be very different per author and TSDX does not currently have an opinion on that or control your publish in any way. Maybe in the future, but it does not currently

Created my own GitHub action that can deploy to both when committing to master (with an incremented version)
`name: npm-publish
on:
push:
branches:
- master # Change this to your default branch
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
  # Publish to Node Package Manager
  - name: Checkout Repo
    uses: actions/checkout@main

  - name: Setup Node.js (NPM)
    uses: actions/setup-node@master
    with:
      node-version: '12.x'
      registry-url: 'https://registry.npmjs.org'

  - name: Use cached node_modules
    uses: actions/cache@master
    with:
      path: node_modules
      key: nodeModules-${{ hashFiles('**/yarn.lock') }}
      restore-keys: |
        nodeModules-

  - name: Install dependencies
    run: yarn install --frozen-lockfile
    env:
      CI: true

  - name: Update Publish Config
    run: sed -i 's^registry-url^registry.npmjs.org^' package.json

  - name: Publish to NPM
    run: npm publish --access public
    env:
      CI: true
      NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

gpr-publish:
name: gpr-publish
runs-on: ubuntu-latest
steps:
  # Publish to GitHub Package Registry
  - name: Checkout Repo
    uses: actions/checkout@main

  - name: Setup Node.js (GPR)
    uses: actions/setup-node@master
    with:
      node-version: '12.x'
      registry-url: https://npm.pkg.github.com/
      scope: '${{ github.actor }}'

  - name: Use cached node_modules
    uses: actions/cache@master
    with:
      path: node_modules
      key: nodeModules-${{ hashFiles('**/yarn.lock') }}
      restore-keys: |
        nodeModules-

  - name: Install dependencies
    run: yarn install --frozen-lockfile
    env:
      CI: true

  - name: Update Publish Config
    run: |
      sed -i 's^registry-url^npm.pkg.github.com/@${{ github.actor }}^' package.json
      cat package.json

  - name: Publish to GitHub Package Registry
    run: npm publish --access public
    env:
      CI: true
      NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

`

Just wanted to leave another comment and thank you and all the contributors of this project! This made it extremely to create a TS (react) npm package! Feel free to point to that above GitHub action config for other developers to use in their own projects.

Just wanted to leave another comment and thank you and all the contributors of this project! This made it extremely easy to create a TS (react) npm package! Feel free to point to that above GitHub action config for other developers to use in their own projects.

I modified the action slightly because my username has uppercase characters. So, ${{ github.actor }} would give AkinAguda. The github package registry will not successfully publish a package uppercase character in its scope. So, I modified the action a bit:
name: npm-publish
on:
  push:
    branches:
      - master # Change this to your default branch
jobs:
  npm-publish:
    name: npm-publish
    runs-on: ubuntu-latest

    steps:
      # Publish to Node Package Manager
      - name: Checkout Repo
        uses: actions/checkout@main

      - name: Setup Node.js (NPM)
        uses: actions/setup-node@master
        with:
          node-version: '12.x'
          registry-url: 'https://registry.npmjs.org'

      - name: Use cached node_modules
        uses: actions/cache@master
        with:
          path: node_modules
          key: nodeModules-${{ hashFiles('**/yarn.lock') }}
          restore-keys: |
            nodeModules-

      - name: Install dependencies
        run: yarn install --frozen-lockfile
        env:
          CI: true

      - name: Update Publish Config
        run: sed -i 's^registry-url^registry.npmjs.org^' package.json

      - name: Publish to NPM
        run: npm publish --access public
        env:
          CI: true
          NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

  gpr-publish:
    name: gpr-publish
    runs-on: ubuntu-latest

    steps:
      # Publish to GitHub Package Registry
      - name: Checkout Repo
        uses: actions/checkout@main

      - name: Store lowercase actor name
        run: |
          echo 'actor_name<<EOF' >> $GITHUB_ENV
          echo ${{ github.actor }} | tr "A-Z" "a-z" >> $GITHUB_ENV
          echo 'EOF' >> $GITHUB_ENV

      - name: Store package name
        run: |
          echo 'package_name<<EOF' >> $GITHUB_ENV
          grep -Po '"name": *\K"[^"]*"' package.json | grep -oP '"\K[^"\047]+(?=["\047])' >> $GITHUB_ENV
          echo 'EOF' >> $GITHUB_ENV

      - name: Setup Node.js (GPR)
        uses: actions/setup-node@master
        with:
          node-version: '12.x'
          registry-url: https://npm.pkg.github.com/
          scope: '${{ env.actor_name }}'

      - name: Use cached node_modules
        uses: actions/cache@master
        with:
          path: node_modules
          key: nodeModules-${{ hashFiles('**/yarn.lock') }}
          restore-keys: |
            nodeModules-

      - name: Install dependencies
        run: yarn install --frozen-lockfile
        env:
          CI: true

      - name: Update Package Name
        run: |
          sed -i 's,"name": "${{ env.package_name }}","name": "@${{ env.actor_name }}/${{ env.package_name }}",' package.json
          cat package.json

      - name: Update Publish Config
        run: |
          sed -i 's^registry-url^npm.pkg.github.com/@${{ env.actor_name }}^' package.json
          cat package.json

      - name: Publish to GitHub Package Registry
        run: npm publish --access public
        env:
          CI: true
          NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}


[SPARK-27793][SQL] Add ANSI SQL day-time and year-month interval types

What changes were proposed in this pull request?
In the PR, I propose to extend Catalyst's type system by two new types that conform to the SQL standard (see SQL:2016, section 4.6.3):

DayTimeIntervalType represents the day-time interval type,
YearMonthIntervalType for SQL year-month interval type.

This PR only adds the two new DataType implementations, and there will be more PRs as sub-tasks of SPARK-27790 to completely support the new ANSI interval types.
Why are the changes needed?
Spark as it is today supports an INTERVAL datatype. However this type is of very limited use. Existing interval values cannot be compared with any other interval values, or persisted to storage. Spark users request to either implement new or expand existing built-in functions which produce some sort of measures for elapsed time, such as DATEDIFF(). Rather than work around the edges to fill the potholes of the existing INTERVAL data type, I would like to propose to deliver a proper ANSI compliant INTERVAL type that can be introduced with minimal incompatibility, is comparable and thus sortable, and can be persisted in tables.
Does this PR introduce any user-facing change?
No
How was this patch tested?

By checking coding style via:

$ ./dev/scalastyle
$ ./dev/lint-java

Run the test for the default sizes:

$ build/sbt "test:testOnly *DataTypeSuite"

@cloud-fan @HyukjinKwon @srielau @bart-samwel @yaooqinn Could you take a look at this PR, please.

Test build #135355 has started for PR 31614 at commit c72a455.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39936/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39936/

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

Test build #135355 has finished for PR 31614 at commit c72a455.

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

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

@cloud-fan @HyukjinKwon I have created the umbrellas JIRA: SPARK-27790. This PR implements the first sub-task SPARK-27793.

Also cc @viirya @maropu @dongjoon-hyun

@MaxGekk can you mention in the PR description that, this PR only adds the two new DataType implementations, and there will be more PRs to completely support the new ANSI interval types?

Also cc @gatorsmile @rxin @marmbrus @srowen since you reviewed similar PR for TimeType: https://github.com/apache/spark/pull/25678

Thank you for pinging me, @cloud-fan !

LGTM.

@dongjoon-hyun I think we can replace Unstable with Experimental after the first milestone is completed, which should be before 3.2.0. We can remove Experimental after the entire project is completed and being used by 1 or more releases.

thanks, merging to master!


stencil write mask

I find that the stencil write mask in DX(StencilWriteMask) and OpenGL(glStencilMask not called) are all set to 0xff in bgfx.
Is there any way I can change this stencil write mask?
In fact, I came across a problem because this stencil write mask. I want to implement a clipRect in clipRect UI, at most 8(each a stencil value bit) nested clipRects. The stencil value I set to each clipRect is 2^n(1, 2, 4...128), with the stencil write mask set to the same value, the value in stencil buffer after replace will be(1, 3, 7...255):
stencil value in buffer= (ref(2^n) & stencil write mask) |  (stencil value in buffer now) & (~stencil write mask)
Then I will set stencil op to Equal to (1, 3, 7...255)  and keep to do stencil test. That will be all right.
But I can't change the stencil write mask through bgfx(maybe I do not find it), so if the inner clipRect is smaller than the outer, there will be no problem with the stencil write mask being 0xff, I can test stencil by set stencil value to 2^n and Ref the same, but if the inner clipRect is bigger than the outer one, then the inner one will not be clip by the outer one.
I'm sorry that I don't know whether I express the problem clearly, and if there is something wrong, please forgive my ignorance about that.

Any news on this?
Practically all platforms support stencil write masks. How come BGFX doesn't? :-)
Metal: https://developer.apple.com/documentation/metal/mtlstencildescriptor/1462496-writemask
Vulkan: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkStencilOpState.html
OpenGL: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glStencilMask.xhtml

Any news on this?

No news.

Practically all platforms support stencil write masks. How come BGFX doesn't? :-)

It wasn't really requested hard by users.

I noticed it is in the opengl codebase but it was commented out ?


CI: Docker linux multiarch workflow often times out

CI: Docker linux multiarch workflow often times out
Description:
See CI for the following PRs: 19953, 19877, 19932 where we have the operation timeout.
Perhaps we should give the workflow more time than the 60 minutes it has.
[optional Relevant Links:]

Any extra documentation required to understand the issue.

Perhaps we should give the workflow more time than the 60 minutes it has.

yep, sounds like a plan altho its taking a long time - i guess its just transient upstream issues - there doesnt seem any failure


Skipping dot files

Hi,
First of all, thanks for this little tool, much appreciated.
I have a few ignore patterns for some dot files in Dropbox (i.e. .vagrant directories), but Dropignore seems to skip those patterns.  Am I missing something? Is there any reason for this behaviour?  Could it at least be an opt-out behaviour?

Hi!
First and foremost thanks!
I guess this is an oversight. The intention actually was to skip "." and ".." on scan if I remember correctly. And as I didn't have the need to ignore any dot-files personally, this just slipped through.
I will have a look.

Thanks for the quick reply!
FWIW, here is the systemd service file I'm using.  It works great so far.
# Install dropignore to ~/.local/bin and, put this file into ~/.config/systemd/user
# (The location of Dropbox folder is ~/Dropbox, change it if necessary)
#
# Enable service:
#   systemctl --user daemon-reload
#   systemctl enable --now --user dropignore.service
#
# Make sure it works:
#   journalctl --user-unit=dropignore --follow

[Unit]
Description=Watch Dropbox folder for ignored paths
ConditionPathIsDirectory=%h/Dropbox
ConditionFileIsExecutable=%h/.local/bin/dropignore

[Service]
ExecStart=%h/.local/bin/dropignore watch %h/Dropbox
Restart=on-failure

[Install]
WantedBy=graphical.target

Of course my memory was wrong. The skip was not related to "." and ".." but actually to skip any possible VCS directories. It doesn't make sense to traverse e.g. ".git", ".svn", ".hg" and so on. And for not having to hardcode a list of "known VCS directories" - which might not be complete - that was the solution. I will likely change it to actually handle these filesystem entries with regard to evalution for ignoring or skipping but will try to not have them traversed/recursed any further.
Some dependency updates and stable rust fixes have to be done first. Might take a bit due to limited time.
And thanks for the systemd setup! I am running something similar for around 1.5 years without issues but never came around to document it. I will likely take a combination of yours and mine.

It doesn't make sense to traverse e.g. ".git", ".svn", ".hg" and so on.

Ah, now I see.  It makes sense.  Almost all of my Git repositories are in Dropbox for years and, I've never ignored any of them. Only problem is node_modules like packaging cruft, which your tool aimed to fix.  BTW, your decision to centralize the configuration is also right.  I wouldn't prefer to see extra .dropignore files scattered around.  Ignoring files for a VCS is a dfiferent problem than ignoring files to sync for Dropbox. Extra :+1: for the proper design.

Might take a bit due to limited time.

No problem.  Dot files are rare in my workflow (just the host dependent .vagrant directory, for now), I can wait.

Release 0.1.1 is out. Hope I didn't miss something during my testing.

Release 0.1.1 is out. Hope I didn't miss something during my testing.

Sorry for the late reply.  Everything is fine on my side.  Thanks for your efforts.


Wallet freezes

With this wallet.db after opening the wallet, it freezes
pass = 1
wallet.zip

@anatolse, review pls

checked


No Badge Mode (Just show N Items Selected)

Thank you for building a great ng2 multi-select component!
Would you consider implementing a no badge mode where you can specify the text to display when the dropdown is collapsed, and it would simply say N Items Selected.  Let me know if you would like to see a mock-up or would be open to a PR with this feature.
I like the component a lot but members of my team would prefer this to be an option, and I would prefer not to have to maintain a fork.

@WillGeller Thank you for the feedback and I see your requirement to be an add on to this component. PR's are welcome. You can raise one let include this feature.

I agree this would be a great feature (and I also second the Thank You for building this component!!) and I see it is marked as "Done" but I'm not sure how I can utilize this feature--is there anything in the documentation about it? For my use case, when all items are selected, instead of showing the first N selected badges, I'd just like to show text stating "ALL", for instance. So having a configurable setting, like you do for text but for "Text to be show in the dropdown, when ALL items are selected." would be SUPER awesome!
Thank you again!


Fix VirtualBox DHCPServer always uses x.x.x.1, despite getRandomIPinSubnet()

Resolves issue #1673

Oh nice
LGTM
@ehazlett ?

LGTM


Archetype 10

To verify Augraphy's utility, we need to reproduce the document in this notebook.
There are some notes about the effects present in the document, as well as some suggested augmentations you might need when reproducing it. These lists are not exhaustive; you may need to use more, or less, to achieve a faithful reproduction.
We can discuss the reproduction process for this document in this Issue. Discussion about this project in general should go here.

Here's the latest output from the notebook:
Reference image:

Augmented image:

Closed with PR #154


capture error

The pull request will be closed without any reasons if it does not satisfy any of following requirements:

Make sure you are targeting the master branch, pull requests on release branches are only allowed for bug fixes.
Add new features, please provide the reasons and test code.
Please read contributing guidelines: CONTRIBUTING
Describe what your pull request does and which issue you're targeting (if any and Please use English)
... if it is not related to any particular issues, explain why we should not reject your pull request.
The Commits must use English, must be test and No useless submissions.

You MUST delete the content above including this line before posting, otherwise your pull request will be invalid.
Please provide Issues links to:

Issues: #1

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7f9c6c104]

goroutine 53 [running]:
[github.com/go-vgo/robotgo.ToBitmap(...)](http://github.com/go-vgo/robotgo.ToBitmap(...))
        C:/Users/aohanhongzhi/go/pkg/mod/[github.com/go-vgo/robotgo<EMAIL_ADDRESS>tgo.go:391
[github.com/go-vgo/robotgo.ToRGBA(0x0?)](http://github.com/go-vgo/robotgo.ToRGBA(0x0?))
        C:/Users/aohanhongzhi/go/pkg/mod/[github.com/go-vgo/robotgo<EMAIL_ADDRESS>tgo.go:423 +0x24
[github.com/go-vgo/robotgo.ToImage(...)](http://github.com/go-vgo/robotgo.ToImage(...))
        C:/Users/aohanhongzhi/go/pkg/mod/[github.com/go-vgo/robotgo<EMAIL_ADDRESS>tgo.go:418
[github.com/go-vgo/robotgo.CaptureImg](http://github.com/go-vgo/robotgo.CaptureImg)({0x0?, 0x5?, 0x0?})
        C:/Users/aohanhongzhi/go/pkg/mod/[github.com/go-vgo/robotgo<EMAIL_ADDRESS>tgo.go:367 +0x59
qq-robot/qq.(*SearchProcessor).execute(0xc00008e060, 0xc00011c580, 0x0?)
        C:/Users/aohanhongzhi/projects/qq-robot/qq/search_processor.go:107 +0x8c
b
qq-robot/qq.(*QQUserInterface).execute(0xc00008e0c0, 0x7ff7f9e06540?, 0xc194618e
3811e224?)
        C:/Users/aohanhongzhi/projects/qq-robot/qq/ui_proccessor.go:33 +0x23a
qq-robot/qq.SendQQGroupMessage({0x1, {0xc00009c040, 0x1c}, {0xc0000a0110, 0x1, 0
x1}, 0x210acd48, {0xc00000a1f0, 0x9}, 0x9f10970c, ...})
        C:/Users/aohanhongzhi/projects/qq-robot/qq/processor.go:23 +0x127
qq-robot/mq.ConsumeExchange.func2({0xc000073c00, 0x3e8, 0x3e8}, 0x0?, {0x7ff7f9f
2a228?, 0xc000088e40?})
        C:/Users/aohanhongzhi/projects/qq-robot/mq/jt_rabbitmq_receive.go:53 +0x
218
[gitee.com/aohanhongzhi/go-rabbitmq-pool.consumeTask](http://gitee.com/aohanhongzhi/go-rabbitmq-pool.consumeTask)(0x0, 0xc0000b0000, 0xc000062
f60)
        C:/Users/aohanhongzhi/go/pkg/mod/[gitee.com/aohanhongzhi/go-rabbitmq-pool](http://gitee.com/aohanhongzhi/go-rabbitmq-pool)
@v0.1.3/RabbitmqPool.go:902 +0x139a
[gitee.com/aohanhongzhi/go-rabbitmq-pool.rListenerConsume.func1](http://gitee.com/aohanhongzhi/go-rabbitmq-pool.rListenerConsume.func1)(0x0?, 0x0?, 0x0?)
        C:/Users/aohanhongzhi/go/pkg/mod/[gitee.com/aohanhongzhi/go-rabbitmq-pool](http://gitee.com/aohanhongzhi/go-rabbitmq-pool)
@v0.1.3/RabbitmqPool.go:789 +0x13
created by [gitee.com/aohanhongzhi/go-rabbitmq-pool.rListenerConsume](http://gitee.com/aohanhongzhi/go-rabbitmq-pool.rListenerConsume) in goroutine
 52
        C:/Users/aohanhongzhi/go/pkg/mod/[gitee.com/aohanhongzhi/go-rabbitmq-pool](http://gitee.com/aohanhongzhi/go-rabbitmq-pool)
@v0.1.3/RabbitmqPool.go:788 +0x2f

Provide test code:

Description
...

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


Port CultureInfo.nativeGetResourceFallbackArray from CoreCLR

ResourceFallbackManager.GetResourceFallbackArray() returns the results of CultureInfo.nativeGetResourceFallbackArray() on Unix (but null on Windows). The Unix call has been disabled pending porting nativeGetResourceFallbackArray, which means there may be some incorrect cases for fallback on Unix.

nativeGetResourceFallbackArray is Windows only in CoreCLR; and it is actually getting ripped out even on Windows https://github.com/dotnet/coreclr/pull/9472. We should delete the whole thing in CoreRT as well.


Fix installation on Windows and update Readme

Several people have tried running the app on Windows unsuccessfully, and eventually decided to install a Linux VM instead.
We want it to work on Windows so everyone can develop easily. The failure point seems to be the pip install -r requirements: some packages fail to install and we haven't found a way to fix that yet.

I succeeded to install anway in windows. There are 2 packeged that can't be installed on windows:

pyproj==1.9.4
psycopg2==2.5.5

both of them need to be downloaded from:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
(As the readme states) using the cp27 win32 version, even if you have a 64 bit windows.
Another issue I encountered is with the sqlite database.
for some reason, the command:
set DATABASE_URL="sqlite:///local.db"
doesn't work correctly because afterwards when I run models.py, I get an error.
The solution I found is to replace in config.py the SQLALCHEMY_DATABASE_URI variable to:
SQLALCHEMY_DATABASE_URI = os.path.join('sqlite:////', 'local.db')
Then when I run models.py, the local.db is created in c:\ folder and the app and then we can rus process.py and main.py and it works.

I suppose you need to set the environment variable in the computer
properties...
On May 23, 2015 6:30 PM, "Avi Klaiman"<EMAIL_ADDRESS>wrote:

I succeeded to install anway in windows. There are 2 packeged that can't
be installed on windows:

pyproj==1.9.4
psycopg2==2.5.5

both of them need to be downloaded from:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
(As the readme states) using the cp27 win32 version, even if you have a 64
bit windows.
Another issue I encountered is with the sqlite database.
for some reason, the command:
set DATABASE_URL="sqlite:///local.db"
doesn't work correctly because afterwards when I run models.py, I get an
error.
The solution I found is to replace in config.py the
SQLALCHEMY_DATABASE_URI variable to:
SQLALCHEMY_DATABASE_URI = os.path.join('sqlite:////', 'local.db')
Then when I run models.py, the local.db is created in c:\ folder and the
app and then we can rus process.py and main.py and it works.
—
Reply to this email directly or view it on GitHub
https://github.com/hasadna/anyway/issues/174#issuecomment-104913388.

The problem was with the double quotes now it works. And if pycharm is used, the environment variable needed to be set in the debug configuration.


Add option to spatially limit the plot (now with fewer else statements!)

Resubmitting the pull request but without the unneeded else statement.

Sorry for the late merge, and thanks for this @pwcazenave !

Thanks!


Is it possible to generate .xo for multiple different kernels

Dear Authors,
I have used tapa for a while and now I met a problem and wondering if you are convenient to help.
In my project, I have multiple different kernels which need to be called by the host asynchronously. Therefore, I am wondering if it is possible to generate RTL for different kernels from different top files. For example, I want to deploy the 'topcnn1632' 'topfc1601' and 'topbanks' kernels on the u280 board. I have tried the following command but it considers the topfc1601.cpp topbanks.cpp as unrecognized arguments. Could anyone provide any suggestions? Thank you.
rtl:
mkdir $(WORK_DIR)
tapac
--work-dir "$(WORK_DIR)"
-o $(krnl_name).$(platform).hw.xo topcnn1632.cpp topfc1601.cpp topbanks.cpp
--platform $(platform)
--top topcnn1632 topfc1601 topbanks
--work-dir $(krnl_name).$(platform).hw.xo.tapa
--enable-floorplan
--floorplan-output "$(WORK_DIR)/$(krnl_name)_floorplan.tcl"
--connectivity top.ini
--max-area-limit 1.1 \

Hi @tangyuelm, if you would like to generate multiple kernels that will be called by the host separately, you'll need to generate multiple xo files and link them together using v++ --link kernel1.xo kernel2.xo.

Thank you for the reply. However, I have another concern. If I generate multiple. xo for these kernels separately, will the optimization of Autobridge still benefit the overall floorplan for all the kernels?


Focus outline color is not accessible in light mode

Description

Focus outline color: #4791ff

ContentBg:

Light mode: #f2f2f3
Dark mode: #071727

WCAG contrast in light mode:

Graphical Objects and User Interface Components: WCAG AA:  Fail : :negative_squared_cross_mark:

WCAG contrast in dark mode:

Graphical Objects and User Interface Components: WCAG AA: pass :heavy_check_mark:

@matthieuh Could you please have a look ?
:information_source: $focusOutline is used for Button (I don't see this color in the mockups?) and Badge


Issue after uninstall

Hello,
i uninstalled the module in 2.6.21dev (and removed the directory).
When i try to translate a new file using the default Language Translator module i get this message:
This page has no process assigned.
(the admin ulr where the message appears is admin/setup/language-translator/add/?language_id=1012)

Hi, thanks. Due to the latest ProcessWire Dev branch upgrades (2.6.23) I updated the module and divided it in two parts. Now I extend the original process language translator module. Have a look here.


approximateSize is coming up undefined with levelup 0.19.0 (as used i…

…n latest level-sublevel)

+1


Ctrl + Q shuts down napari without asking

🐛 Bug
Hi all,
I was just in the middle of something and hit Ctrl+Q unintentionally. This shut down napari without asking. I'm a windows user and on Windows, Ctrl+Q is not common short cut, and it's unexpected that one can shut down applications like this. I'm wondering why this short-cut was introduced. Windows does have a short cut for exiting applications: Alt + F4, which also works with napari.
To Reproduce
Steps to reproduce the behavior:

Start napari
hit Ctrl + Q

Expected behavior
I'm proposing to disable the Ctrl+Q short-cut. There are cooler things we could do with this short-cut.
Environment

Please copy and paste the information at napari info option in help menubar here:

napari: 0.4.16
Platform: Windows-10-10.0.19044-SP0
Python: 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)]
Qt: 5.12.9
PyQt5: 5.12.3
NumPy: 1.22.4
SciPy: 1.8.0
Dask: 0+unknown
VisPy: 0.10.0

OpenGL:
- GL version: 4.6.0 NVIDIA 511.69
- MAX_TEXTURE_SIZE: 32768

Screens:
- screen 1: resolution 1920x1200, scale 1.0

Plugins:
- PlatyMatch: 0.0.3
- RedLionfish: 0.6
- StarDist: 2021.10.25
- animation: 0.0.2
- cellpose-napari: 0.1.4
- clEsperanto: 0.18.1
- console: 0.0.4
- devbio_napari: 0.5.5
- napari-3d-ortho-viewer: 0.0.1
- napari-accelerated-pixel-and-object-classification: 0.7.4
- napari-assistant: 0.3.7
- napari-brightness-contrast: 0.1.7
- napari-clusters-plotter: 0.5.0
- napari-crop: 0.1.5
- napari-cupy-image-processing: 0.2.0
- napari-curtain: 0.1.1
- napari-folder-browser: 0.1.3
- napari-itk-io: 0.1.0
- napari-layer-details-display: 0.1.3
- napari-mouse-controls: 0.1.3
- napari-ome-zarr: 0.4.0
- napari-plot-profile: 0.2.1
- napari-plugin-search: 0.1.3
- napari-process-points-and-surfaces: 0.2.0
- napari-segment-blobs-and-things-with-membranes: 0.2.19
- napari-simpleitk-image-processing: 0.3.1
- napari-stress: 0.0.14
- napari-svg: 0.1.6
- napari-tabu: 0.1.5
- napari-time-slicer: 0.4.6
- napari-tools-menu: 0.1.15
- napari-workflow-inspector: 0.2.2
- napari-workflow-optimizer: 0.1.4
- napari_skimage_regionprops1: 0.5.2
- napari_skimage_regionprops2: 0.5.2
- ome-types: 0.2.10
- scikit-image: 0.4.16
- the-segmentation-game: 0.1.0

Any other relevant information:

Additional context

I agree that missing all jobs because of a single shortcut click may be frustrating.

Just another note: Ctrl + Q is not in the list of shortcuts in File > Preferences. Instead it's a short-cut provided for the Exit menu:

I also propose to remove the short-cut Ctrl + W, which also closes napari.

@haesleinhuepf Ctrl-W is absolutely a standard shortcut for closing a window, both on Mac and Linux. Ditto for Ctrl/Cmd-Q (just checked on Firefox for Linux). So I don't want to remove these shortcuts. I'm totally open to adding a preference to check for "confirm before closing main window", though.

Confirm before closing with a populated layer list and/or maybe open dock widget would be a nice feature.

Personally I would want this to be a preference and/or a distinction between the bundle and IPython versions, because I open and close viewers many times within an IPython session. (ie I use napari a lot as a quick "plt.imshow" replacement.)

Personally I would want this to be a preference and/or a distinction between the bundle and IPython versions, because I open and close viewers many times within an IPython session. (ie I use napari a lot as a quick "plt.imshow" replacement.)

maybe the second Ctrl+Q on the asking dialog should be counted as confirmation?


TypeScript 3.8 breaking change

With the launch of the TypeScript 3.8 version Microsoft introduced a breaking that affects to the carbon-custom-elements. As we can see in the next image:

It seems that after 3.8 version the index must contain a strict type and we are using in the addEventListeners and removeEventListeners (from what I could investigate) a K or K_1 type to index.

Hi @Tansito thank you for reporting - The code is something that is automatically generated by TypeScript toolchain. Tried to upgrade to TypeScript 3.8, but couldn't see a significant change in the (generated) content in button.d.ts...
So a couple of questions:

If you replace that code in button.d.ts with addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void, does it work? It's from: https://github.com/microsoft/TypeScript/blob/v3.8.2/lib/lib.dom.d.ts#L6755 where I believe the one in button.d.ts came from
Do you have a reduced case, or zipped-up version of your project (without confidential stuffs)?

Thank you @asudoh I will start with the first point and I will let you know!

I can confirm that with the first option changing the code from the image with the snippet that you share me @asudoh the error disappeared for the method addEventListener in button.d.ts :)

Thanks @Tansito - In case you have a zipped-up version of your project (without confidential stuffs) it'll help investigating the issue further.

Another question; What happens if you remove  | "loadend" from the first addEventListener type definition in button.d.ts?


Make Fields in Glossaries public

I would love to be able to access these fields to be able to wrap them for my API :). https://github.com/Avimitin/deepl-rs/blob/67bb917909f921173bc3a7bd47986bfc932f7660/src/endpoint/glossary.rs#L115-L118
Also: https://github.com/Avimitin/deepl-rs/blob/67bb917909f921173bc3a7bd47986bfc932f7660/src/endpoint/glossary.rs#L56-L73

Oops...I forgot to make them public. Emmm I think I need to add some smoke tests outside of the crate.

No worries, made a PR to fix it ^^


Some code highlighting ranges are incorrect

I found that some code highlighting ranges are incorrect, for example:

https://docs.astro.build/en/guides/aliases/

https://docs.astro.build/en/guides/styling/#frameworks-and-libraries

https://docs.astro.build/en/guides/testing/#create-your-first-playwright-test

https://docs.astro.build/en/guides/typescript/#import-aliases

https://docs.astro.build/en/guides/typescript/#type-checking

To find the cause I checked the source code like
https://github.com/withastro/docs/blob/496517384b52ed6265ed319e641d26034ee2cfbb/src/content/docs/en/guides/aliases.mdx?plain=1#L11
https://github.com/withastro/docs/blob/496517384b52ed6265ed319e641d26034ee2cfbb/src/content/docs/en/guides/typescript.mdx?plain=1#L274
but the code itself that specifies the highlighting target seems to be correct 🤔
After that, since I could confirm that the same code working fine in a slightly earlier version, I searched for the commit where the problem occurred by bisection search and found that the code highlighting was shifted after the merge of the following PR:
https://github.com/withastro/docs/pull/3184 (b4532a9b)
Unfortunately, it was not clear to me why the PR above caused the problem, but I hope this information will help to resolve the issue.

Thanks for the report @morinokami — I also tried reverting #3184 locally and can confirm it fixes this. We’ll need to figure out why, but it may make sense to revert that PR for now as it was only a build speed optimization and it’s probably more important to keep the highlighting correct.
cc @bluwy in case he has any ideas.


How to perform search

Hey, there I'm new to file-based database, I recently used only SQLite. This project seems suitable for my project but I have only one question how to perform full-text search and regex search over redb database as SQLite provide various commands for same. I know there are search engine based for same purpose, but can you help me with it how to perform searching.

redb is not a good choice for that. It is effectively a persistent BtreeMap.

So is there anyway that I could retrieve the whole Table to a HashMap or BTreeMap? So that I can feed it to indicium

Yes. See the documentation. There are methods to iterate over a table,
after which you can copy it.
Sent from my phone
On Sun, Aug 6, 2023, 9:29 AM Rahul @.***> wrote:

So is there anyway that I could retrieve the whole Table to a HashMap or
BTreeMap? So that I can feed it to indicium
https://github.com/leontoeides/indicium
—
Reply to this email directly, view it on GitHub
https://github.com/cberner/redb/issues/655#issuecomment-1666912497, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGNXQDN2RF5ZDL3CBXIJADXT7A6RANCNFSM6AAAAAA3F7MMHM
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Fix set up non ASCII character bug

Fixes the problem when user set up password using non ASCII characters

Codecov Report

Merging #252 (1a7504b) into master (82f06c1) will decrease coverage by 0.46%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #252      +/-   ##
============================================
- Coverage     68.85%   68.38%   -0.47%
  Complexity      594      594
============================================
  Files            97       97
  Lines          2045     2059      +14
  Branches        210      210
============================================
  Hits           1408     1408
- Misses          572      586      +14
  Partials         65       65

Impacted Files
Coverage Δ

src/main/java/seedu/address/MainApp.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/LoginScreen.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/SetUpScreen.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Continuous Improvement setup

More robust tests for Locator, Location
Travis, Codecov, Scrutinizer
fixes #82

Current coverage is 58.12%

Branch #83 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Powered by Codecov. Updated on successful CI builds.


Analysing expenses with negative values

I'm trying to figure out how these expenses with negative net_value impact on last year's data-set.
I tried to test the hypothesis on this issue #29 but it's not going to be as simple as I thought it would.
TL;DR
Looking only at last year's data-set:

There's 17646 of those expenses.
Looking for those 17646 document_number in positive expenses finds 13458 matches;
When trying to isolate the negative values by removing the ones with positive matches I got
4458 expenses (only 4403 unique).

Then looking at previous year's data-set:

6655 matches for the 4458 (negative values without a positive counterpart) through document_number;
From those, 17 have negative value;

So... it's a mess. I'll appreciate any insight that might explain those numbers as well as ideas on how to enhance this analysis in general.

@andrepinho , any further advances?
This looks nasty.

@pingfreud No real advances yet. I actually didn't look at the analysis since I opened the PR (shame on me). Been thinking about it though: one idea I have is to see if there's any document_number showing up in more than 2 expenses. That might explain some of these number while introducing the question: How can there be the same flight more than twice?
Will give it a try soon enough.

I think document_number alone is not very reliable because it is very prone to human error. I've talked something about it here and here on issue #32.
Maybe adding other columns such as applicant_id or congressperson_id (or any other column you find interesting) on the filter can help you find more reliable matches.
Another thing to try is to get a list with all unique tiquets, try and remove the prefix and search by the ticket's number alone with something like df[df['document_number'].str.contains("<ticket number>")] (not sure about the syntax)
I think this can help you with these questions:

Those remaining 4.188 are negative expenses without a corresponding positive one?;

The document numbers are messed up? Maybe something like: "Bilhete: 957-2117.270689" for the negative and "Vôo: 957-2117.270689" for the positive;

Hope this helps =)

@andrepinho Before we can merge it, please finish your analysis with the following changes:

[ ] Explain the reason you're doing the analysis in the notebook itself. The explanation may link to a GitHub issue, but the notebook should be self-contained.
[ ] Explain the conclusions you had with the analysis. You may check this example before writing your own.
[ ] Make sure .html and .py files are up to date with your .ipynb.

@Irio I'm closing this PR because it's out of date with the latest findings. The rework on net_values actually solves the issue that this analysis tries to shed light upon.


Click On FloatingActionButton Falls Through to RecyclerView Item

I'm trying to utilize your library (thank you, BTW) to create a floating action button to initialize adding items to a RecyclerView. The floating action button does show up on the screen above the RecyclerView in the bottom right. However, clicking on the button causes a ripple effect on the RecyclerView item beneath the button and causes the item view activity to launch. It's as if the floating action button does not exist on the screen, even though it is clearly seen. I had a similar issue with the option list in my Navigation Drawer and resolved it by adding android:clickable="true" to the layout resource file. However, that does not seem to be helping in this case. Below is my layout XML file. Do you see anything that would cause an issue with the FloatingActionButton library?
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:fab="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <android.support.v7.widget.RecyclerView
        android:id="@+id/person_list"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scrollbars="vertical" />

    <com.github.clans.fab.FloatingActionButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentEnd="true"
        android:layout_marginBottom="8dp"
        android:layout_marginRight="8dp"
        android:layout_marginEnd="8dp"
        android:src="@drawable/fab_add"
        android:clickable="true"
        fab:fab_colorNormal="@color/colorAccent"
        fab:fab_colorPressed="@color/colorAccentDark" />

</RelativeLayout>

Have you set the OnClickListener to the FloatingActionButton?

Thank you Clans for your response. I had not set an OnClickListener as I was simply trying to set a FAB on the fragment and get a sense for how it would work and how it would look. I assumed that without an OnClickListener it would just behave like a button with no associated events. As a quick test, I set the OnClickListener for the FAB to display Toast, and now clicking the FAB does respond with the pressed color change, ripple effect, and, of course, the Toast message is displayed. I will close this issue. Thank you again!


make sure tests run independently and do not influence each other

Coverage remained the same at 57.361% when pulling bb6cd7800160d5678a6ee61b9150d26043af284d on independent-tests into<PHONE_NUMBER>21604816e34fe8f596f991ce9421b8 on master.


runcellandallbelow should be part of python.dataScience.codeLenses by default

I use runcellandallbelow at least as often as runallcellsabove. In my opinion, this functionality should be accessible with default settings. Happy to submit a PR for this.

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

This was on purpose. We found that it wasn't used as much as run above and we didn't want to have 5 code lenses.
That's why we made it a setting though. You can change it just for yourself.

Just wanted to mention that there's a double space between the first two code lenses in the default settings.


Full-text search: phrase search false positives

In full-text exact phrase searching, many false positives being returned, as in screenshots below.

cc @frankwiles
This is another issue part of the group "Solr backend specific behavior that is also present in the original site". Adding the proper label and flagging Frank to decide next steps.
Reference URLs:

https://nuremberg.revsys.dev/search/?q="in+the+end"
https://nuremberg.law.harvard.edu/search/?q="in+the+end"

These all seem to be caused by what are known as "stop words" in search parlance.  They're words that are typically NOT included in the index because they are super common words and aren't useful in more typical search situations.
I've attached the default list of English stop words Solr uses, we can not use these if you'd like but I'm not entirely sure what that will do to search relevancy for non-exact searches, but we can try it out easy enough.
stopwords.txt


run e2e tests in parallel

Use something like :: https://blog.slashgear.dev/how-to-split-test-by-folder-with-github-action/

We discussed 3 options for parallel running:
1. Different namespaces in the same cluster
Each e2e test will run in a namespace of its own.
2. Different kind clusters
Each e2e test will run in a cluster of its own.
This requires keeping the cluster context and pssing it to kubectl and client-go.
3. Different GitHub Actions
Each e2e test will run in a GitHub action of its own.
This requires configuring additional Actions.


Add South Korea and USA data

Changes
Related issue: #80

Add South Korea and USA
Change proper name of page component :)

Thanks so much @dv970406 :)


isValidIdent method question

Hello,
I am sending this json
{
    "$select": {
        "$columns": ["day", "firstname", "lastname"],
        "$from": "a.b.1"
    }
}

As a result I got:
{
  "sql": "SELECT day, firstname, lastname FROM a.b.\"1\"",
  "values": []
}

What I was expecting was:
{
  "sql": "SELECT day, firstname, lastname FROM a.b.1",
  "values": []
}

The point in the code that changes what I expected is in the following validation.
https://github.com/planetarydev/json-sql-builder2/blob/d0944e64bf25b7b54d05f097a84567b9a22fd2da/lib/builder.js#L129-L131
Is there any reason the identifier must not begin with numbers?
I could fix it, if there is no problem in changing this condition.
Best regards.

My major System is postgres and there it is Not allowed. You can fix it in condition to the specific System you need. Or a netter way is to implement an option for that.

I solved by using the function setQuoteChar passing the parameter with value ''
Thank you


When offline runs of multiple Entity-related submissions come in out of order, there are conflicts and Entity state can be broken

Problem description
This issue is to add support to Central for offline runs of multiple submissions from the same client changing the same Entity.
Currently clients create and update Entities via form submissions. There is nothing in the OpenRosa spec that mandates a certain order for submissions and submissions can be manually sent out of order. Submission failures can also lead to the server receiving submissions out of order.
Additionally, it's possible for updates to come in from multiple sources while one or more of those are offline. The most likely example is that an entity is created, it's downloaded by a client that goes offline, it's updated on the server manually, and then the client submits its updates.
We'd like Central to hold submissions it knows are out of order and then apply them once their predecessors are successfully processed.
To satisfy this need, we will likely need two Entity version concepts instead of the single one that baseVersion currently represents: the last version received from the server and the last version on the device. We will also likely need a way to identify individual clients. This could be deviceID which is sent with every submission or a separate "branch ID" concept added in the form spec.
TODO (part 1)

[x] Parse and validate branch ID, baseVersion (client version), and trunkVersion (server version)
[x] Store branch ID, trunk version, and branch base version on the entity_defs row. Add a uniqueness constraint on the combination of the two.
[x] Return branch ID, trunk version, and branch base version over the API.
[x] Add a representation to the database of an entity "queue" / purgatory / holding area for entity changes that should not be processed yet.
[x] When a submission includes an entity change from an offline run, and the base version is higher than the trunk version, check whether the previous change in the run has been processed. If not, add the change to the queue.
[x] Whenever an entity change from an offline run is processed, check whether the next change in the run is currently in the queue. If it is, process it.
[x] Mark an entity version as a conflict if the logical base version is not the previous version on the server.

TODO (part 2)

[x] Account for the fact that a submission can be reprocessed if datasetApproval is toggled. If a submission is being processed for entities, and the submission has already had the effect of adding an offline update to the queue, then processing should short-circuit without error. (https://github.com/getodk/central-backend/pull/1162)
[x] Offline update after offline create (with null trunkVersion) is buggy - (form was buggy, not Central)
~Reprocessing action in audit log shows a "Comment by X" event in frontend log.~ --> https://github.com/getodk/central/issues/686
~Process submissions for entities where the entities specification version is 2024.1.~ --> https://github.com/getodk/central/issues/681
~Add a task to apply changes that have been in the queue without being processed for a certain amount of time. Run the task on a regular basis.~ --> https://github.com/getodk/central/issues/682
~Update frontend to show more information about offline branches, especially when involved in conflicts or when there is no single entity version on the server that exactly represents what the data collector saw (the "author's view").~ --> https://github.com/getodk/central/issues/683

High-level goals

Provide Central with enough information to reconstruct the precise history of offline entities. That might be needed in the future for certain use cases or to make the entity history clearer in Frontend.
At the same time, minimize changes for now to the API and to Frontend. That means continuing to represent entity history as flat.

Identifying changes
To uniquely identify each change within a branch of offline changes to the same entity, we need to identify

the last known version from the server (known as trunkVersion)
the branchId to keep updates in the same branch together. this will be a UUID.
the ordering of each change, captured through using baseVersion as before, except now baseVersion is context-specific and will refer to the client's/Collect's version of the entity that may have been updated offline.

These three fields (branchId, trunkVersion, and existing baseVersion) will be enough to process a branch of offline updates (even starting with an offline create) in the correct order.
Additional terms

Trunk version. This is the latest version of the entity from the server that was known to the client before it began its offline run.
Current server version. The latest version of the entity currently on the server.
Prior local version. This is defined for the second or later submission in a branch, where baseVersion > trunkVersion (instead of being equal to it, which it will be at the start). It is the version that corresponds to the previous change in the run.

Processing changes from offline runs
When processing an entity change via submission, Central will check the XML for branchId, trunkVersion and baseVersion:

If the trunkVersion and baseVersion are the same, then Central will immediately apply the change as it does today, because this is an update to a version known to the server.
If baseVersion is higher than trunkVersion, then we know that the change is specifically an update. Central will look for an entity version that is in the same branch and is meant to be the base version, though the baseVersion will be translated to be the correct version within the context of Central, rather than Collect.

If such an entity version exists, Central will immediately apply the update being processed.
Otherwise, it will add the update being processed to a queue to be applied later.

Whenever an entity change is processed successfully, Central will check this table for a row with the same branch ID and with an incremented base version. If Central finds such a row, it will reprocess the associated submission. (Probably "queue" isn't the right term for this table...)

Central will store the branch ID, trunk version, and branch base version on the entity version (on the entity_defs row).
Central will not wait for all the submissions in an offline run to be received before processing earlier submissions in the run. As soon as a submission is received, it will be processed if it can be, and its change will be applied. That means that if two clients make separate offline runs to the same entity, and their submissions are sent at the same time, their two runs could end up being interwoven in the entity history.

After an entity update has been in the queue for a certain amount of time, it should be applied even if the prior local change has not been processed. For this to work, Collect will need to specify the base server version for every change in an offline run. Otherwise, Central might not know how to set the baseVersion property of updates applied out-of-order from the queue. Central needs to know which version to apply the update against. Collect will not specify a base server version if the entity was created as part of the offline run.
If an entity update is applied from the queue, but the entity has not been created yet, then Central should create the entity. That can happen if the entity was created as part of the offline run, but the first change from the run has not been processed yet. If the entity update does not specify a label, then either the UUID or a fixed label (e.g., "Label unknown") should be used.

Keeping the following notes, but I think by translating baseVersion from Collect's context to Central's context, the conflict detection doesn't have to change.
There is still the case that an offline branch of multiple updates combined with some online updates or another offline branch could still show confusing information, e.g. a diff about a situation that no one ever actually saw, but it should mostly work out okay.
Conflict properties
We need to account for the following properties related to conflicts that are returned over the API: the conflict type (soft/hard/null), the conflictingProperties list (for a hard conflict), baseDiff, and serverDiff.

When Central processes an entity update with a run index > 1, then the conflict type of the resulting entity version is null if the current server version of the entity is the prior local version. Otherwise, the update being processed is a conflict (either soft or hard).

The conflict is hard if the label or a property specified by the update being processed differs from the current server version, and the label/property of the current server version also differs from the prior local version (+ maybe some details about new properties). I think that's how we define it today (source), so no change to that logic would be needed.

serverDiff would continue to be the diff between the current server version and the update being processed. That's what's shown in Frontend under "server's view".
If run index > 1, the baseVersion returned by the API would be the version property of the prior local version (as set by the server when the prior local change was processed). If the update is processed out-of-order, the baseVersion would be the version property of the latest version from the run that's on the server and has a lower run index. If no version from the run is on the server with a lower run index, baseVersion would be the base server version.

The problem with baseDiff
baseDiff is what's shown in Frontend under "author's view". baseDiff poses challenges for run index > 1. We can't simply diff the prior local version and the update being processed, because the prior local version will include updates after the base server version. baseDiff is an array of property names. For example:

Version 1: An entity is created via bulk upload. It has a label of "Elm" and a height property of 10.
An offline run is started. First, a submission is created to update the label to "elm".
A second submission is created to change the label to "ELM" and the height to 11.
Version 2: Before the submissions are sent, the height property is updated to 12.
The submissions are sent.
Version 3: The first update via submission is processed. It is a soft conflict. Now label = "elm" and height = 12.
Version 4: The second update via submission is processed. It is a hard conflict on height. Now label = "ELM" and height = 11.

The baseVersion returned by the API will be 3.
The serverDiff will be ['label', 'height'].
The baseDiff would also be ['label', 'height']. The trouble in this case is that Frontend will show all the old values from the base version (version 3): it will show that in the author's view, version 4 changed the label from "elm" to "ELM" and the height from 12 to 11. However, it actually changed the height from 10 to 11. The old value of the label ("elm") comes from version 3, but the old value of the height (10) comes from version 1. This is a side effect of flattening entity history: there is no single entity version that corresponds to what the author saw. There's no single version that can be diffed against.

To solve this, I think baseDiff would need to be an object of entity properties (names + values), not an array of property names. Backend could probably calculate such an object on the fly. But for now, Backend just shouldn't try to calculate the baseDiff if it identifies a problem case (something like: run index > 1 and any previous version from the same run is a conflict). We should still show the "Author's view" tab in Frontend, but the tab should show a description of what happened.
On the other hand, if there isn't a problem — if there is no entity update between the base server version and the first version from the run, and no change was applied out of order from the queue — then Backend should continue to return baseDiff as it does today.

I'm marking this issue as done/closed. Remaining tasks are in their own issues.


0.3.0 Release

Checklist for 0.3.0:

[x] tokio 1.0 support https://github.com/ihrwein/backoff/pull/23
[x] Operation/FutureOperation -> FnMut, Future simplification
[x] Listing all breaking changes in README with migration instructions
[x] All dependencies are up to date
[ ] Any planned breaking changes in API resolved
[x] Simplified README

Postponed for a later release:

[ ] no_std support

Is 0.3 ready to be released now? It seems like breaking changes have been made.

Is 0.3 ready to be released now? It seems like breaking changes have been made.

@coolreader18 I'm adding a bit more docs around feature flags, they should appear on docs.rs after the release.
One last change I was thinking about is the consolidation of the future module. Currently we have a future, tokio, and async_std modules, all exposing very similar APIs.
I am thinking about

putting future::retry and future::retry_notify behind the tokio and async-std feature flags,
making future::Retry available with the futures feature flag, custom Sleeper could be implemented for any runtimes,
removing the tokio and async_std generated modules.

I think this would be still convenient to use for tokio and async-std users, yet it'd provide a smaller API surface. @coolreader18 what do you think?

@coolreader18 I'm adding a bit more docs around feature flags, they should appear on docs.rs after the release.
One last change I was thinking about is the consolidation of the future module. Currently we have a future, tokio, and async_std modules, all exposing very similar APIs.
I am thinking about

putting future::retry and future::retry_notify behind the tokio and async-std feature flags,
making future::Retry available with the futures feature flag, custom Sleeper could be implemented for any runtimes,
removing the tokio and async_std generated modules.

I think this would be still convenient to use for tokio and async-std users, yet it'd provide a smaller API surface. @coolreader18 what do you think?

@ihrwein I think that sounds good 👍

@ihrwein I think that sounds good 👍

@ihrwein would you be able to publish 0.3 as is? I think the way it is is fine; they may be similar apis, but it's for convenience, you wouldn't want to have to pass TokioSleeper every time you want to use retry(), nor would you want it to break because both tokio and async-std are in the dependency graph.

@ihrwein would you be able to publish 0.3 as is? I think the way it is is fine; they may be similar apis, but it's for convenience, you wouldn't want to have to pass TokioSleeper every time you want to use retry(), nor would you want it to break because both tokio and async-std are in the dependency graph.

I've published https://crates.io/crates/backoff/0.3.0-alpha.1 Please let me know how it works then I'll publish final 0.3.0.

Looks good to me, except that the async example in the README doesn't compile due to an incorrect use.

Looks like it's working find for me :+1:

Async example fixed here: https://github.com/ihrwein/backoff/pull/36
0.3.0 is released: https://crates.io/crates/backoff
Thanks everyone for your contributions!


Use DatastoreOperations instead of DatastoreTemplate

I was trying to proxy the DataStoreOperations by using kotlin delegate "by" method. But I found out that in several places on the DataStoreRepositoryFactory and associated classes they use a DatastoreTemplate and not the interface DatastoreOperations.
I started a refactor to push a PR, but noticed there are several methods that only exist on DatastoreTemplate it wasn't clear why those methods are not also present on the interface as many of them use the same types as the ones present on DataStoreOperations.
Is there a reason why all the classes are using an implementation instead of the interface contract?
Any chances this could be changed to use DataStoreOperations?

I actually finished a PR, all tests are green but checkstyle is failing without writing anything to checkstyle-result.xml, that makes a bit painful trying to figure out why is it complaining about

@viniciusccarvalho Can you elaborate on the problem that this is trying to solve in Kotlin?

Sure @meltsufin. Well its usually a good practice to have the dependencies be interfaces rather than implementations anyways. In this case all the beans that depends on DatastoreOperations are actually dependent on the implementation. This reduces the possibility of someone providing a different implementation.
That was my case, I was using kotlin delegation just because I find it to be much simpler, but anyone who tries to implement DataStoreOperations (maybe via a Proxy for example) would find out that the Beans that generate the repositories implementations would all fail.
I had to give up on the datastore repository approach and use my own DatastoreTemplate instead for my demo, but it would be nice to enable this kind of extension possibility.
Low priority, not a deal breaker, but seems as a good practice anyway that would not hurt to have in place.
Let me know if you want more info on this.

@viniciusccarvalho makes sense. Thanks for your contribution!


template: explore/repo_list:5:200: executing "explore/repo_list" at <.Owner.Name>: can't evaluate field Name in type *models.User

Gitea version (or commit ref): 722bcefbbf26f4bca74f160295611cc982b364dc

Database (use [x]):

[x] PostgreSQL

Description
Right after going to /expore/repo (there's no repository) results in an error printed in page:
template: explore/repo_list:5:200: executing "explore/repo_list" at <.Owner.Name>: can't evaluate field Name in type *models.User

@strk can you reproduce it on https://try.gitea.io ?

On August 17, 2017 3:26:59 AM CEST, Lunny Xiao<EMAIL_ADDRESS>wrote:

@strk can you reproduce it on https://try.gitea.io ?

It takes a new install with no repositories so cannot be reproduced on try.gitea.io unless we reset to empty
--strk;
Sent from hand-held device, sorry for brevity


fs/fat/fs_fat32util.c: fix potential exception due to dividing zero during mounting when fat is corrupted

Summary
Some bytes in boot sector might be corrupted for some reason. When this happens, the Nuttx system will crash due to dividing zero. It is better to return a mounting error, instead of crashing the system.
nsh> mount -t vfat /dev/mmcsd1 /mnt
nsh> dd if=/dev/mmcsd1 of=/mnt/file bs=32 count=1
32bytes copied, 0 usec,<PHONE_NUMBER> KB/s
nsh> hexdump /mnt/file
/mnt/file at 00000000:
0000: eb 58 90 4e 55 54 54 58 20 20 20 00 02 20 20 00 .X.NUTTX   ..  .
0010: 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 00 00 00 ........?.......
nsh> dd if=/dev/mmcsd1 of=/dev/mmcsd1 bs=1 count=1 skip=11 seek=13
1bytes copied, 0 usec,<PHONE_NUMBER> KB/s
nsh> dd if=/dev/mmcsd1 of=/mnt/file bs=32 count=1
32bytes copied, 0 usec,<PHONE_NUMBER> KB/s
nsh> hexdump /mnt/file
/mnt/file at 00000000:
0000: eb 58 90 4e 55 54 54 58 20 20 20 00 02 00 20 00 .X.NUTTX   ... .
0010: 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 00 00 00 ........?.......
nsh> umount /mnt
nsh> mount -t vfat /dev/mmcsd1 /mnt
[CPU0] xtensa_user_panic: User Exception: EXCCAUSE=0006 task: nsh_main
[CPU0] _assert: Current Version: NuttX  12.4.0 fc53a57fe5 Dec 11 2024 17:10:38 xtensa
[CPU0] _assert: Assertion failed user panic: at file: common/xtensa_assert.c:187 task(CPU0): nsh_main process: nsh_main 0x42011554

Impact
A check of fs_fatsecperclus' value when read from device driver is added. Return an error if it is zero.
When "sector per cluster" byte is corrupted to zero, mounting the FAT will end up in failure instead of system exception.
Testing
(reboot)
nsh> mount -t vfat /dev/mmcsd1 /mnt
nsh: mount: mount failed: 22

@JackyCaoYJ


Status presence do not always update in realtime

Describe the bug
Status presence do not update in realtime
To Reproduce
You need two users. If the first user changes his status, e.g. from online to away, on the app the status of that user from the chat rooms list (direct message) won't always change.
Expected behavior
As soon as a status presence changes it should be reflected in the chat rooms list.
Versions
I have tested it on 3.2.0, 3.5.0 and 3.5.1
Additional Info
Moreover, when I open the app after "long time" all the status presences in my chat room list are gray (offline).
I think that the correct info are received by the app and that's just a problem in the chat rooms list adapter update

@aenonGit I have experienced similar things with the status.


Compiling the same SCSS asset twice with two different node-sass options?

I am trying to compile an asset in two different ways, with two different configurations.
Example:
mix.sass('path/to/same/file.scss', 'public/css/1.css', {
  importer: [
    function1
  ]
});
mix.sass('path/to/same/file.scss', 'public/css/2.css', {
  importer: [
    function2
  ]
});

The options you see above are passed to node-sass which compiles the sass, and the importer option can be detailed on their project page here. I can confirm that this has worked as expected once, and only becomes an issue when I attempt to do the above scenario compiling the same file.
With the following actual function calls:
mix.js(["resources/assets/js/app.js","resources/assets/js/vendor/core/core.js"],'public/js/app.js');
mix.copy("node_modules/winstrap/dist/fonts", 'public/fonts')
mix.sass('resources/assets/sass/app.scss', 'public/css/app.css', { ... });
mix.sass('resources/assets/sass/app.scss', 'public/css/red.css', { ... });

I am getting the following very verbose error that talks a lot about JS, but I know for a fact that this issue is with SCSS because it is only apparent when I run the code relating to SCSS:
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.entry should be one of these:
   object { <key>: non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function
   The entry point(s) of the compilation.
   Details:
    * configuration.entry['\js\app'] should be a string.
    * configuration.entry['\js\app'] should NOT have duplicate items (items ## 2 and 3 are identical) ({
        "keyword": "uniqueItems",
        "dataPath": ".entry['\\js\\app']",
        "schemaPath": "#/definitions/common.nonEmptyArrayOfUniqueStringValues/uniqueItems",
        "params": {
          "i": 3,
          "j": 2
        },
        "message": "should NOT have duplicate items (items ## 2 and 3 are identical)",
        "schema": true,
        "parentSchema": {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "minItems": 1,
          "type": "array",
          "uniqueItems": true
        },
        "data": [
          "C:\\Users\\{username}\\Documents\\{project_name}\\resources\\assets\\js\\app.js",
          "C:\\Users\\{username}\\Documents\\{project_name}\\resources\\assets\\js\\vendor\\core\\core.js",
          "C:\\Users\\{username}\\Documents\\{project_name}\\resources\\assets\\sass\\app.scss",
          "C:\\Users\\{username}\\Documents\\{project_name}\\resources\\assets\\sass\\app.scss"
        ]
      }).
      [non-empty string]
    * configuration.entry['\js\app'] should be one of these:
      non-empty string | [non-empty string]
    * configuration.entry should be a string.
    * configuration.entry should be an array:
      [non-empty string]
    * configuration.entry should be an instance of function
      function returning an entry object or a promise..
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_module
s/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\{username}\AppData\Roaming\npm-cache\_logs\2017-06-21T23_42_34_644Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\{username}\AppData\Roaming\npm-cache\_logs\2017-06-21T23_42_34_877Z-debug.log

Why is this occurring, and how can I accomplish my goal?

What version of Laravel Mix do you have installed?

@JeffreyWay The version constraint I have in my package.json is ^1.0.3, and my package-lock.json indicates that that version is indeed installed.

So, what it seems like the error is is that the schema asks for "uniqueItems": true but the "data" array has a duplicate.
I'm not insanely familiar with webpack, so I'm assuming that this is the data object passed to webpack, but it makes sense why the error is occurring. I would assume that webpack should be able to compile the same file differently in two ways, i.e. if I wanted to compile to both minified and unminified output, so I assume there's something that can be done in laravel-mix to allow what's going on. If I understand more, I might be able to submit a PR.

In the interest of providing more information, I've also extracted the result of compiling my mix files, into what I believe is the options object passed to webpack. This can be found on a secret gist here.

Yeah, you can't request to compile the same file twice. Mix doesn't work that way, so it just looks like you're passing the exact same file to webpack twice.

@JeffreyWay is there a way in full webpack to do what I want?

@weaversam8 did you ever find a solution to this issue? ...I'm in the same boat as you

@KaiFuglem Wow, this was quite a while ago. I don't remember my solution, but I'm willing to bet I ended up building a custom Webpack configuration to do it... The webpack documentation is pretty good, so I'm sure there's a way to do it the way you want.


Docker driver broken looking for docker.APIClient

Issue Type

Bug report

Molecule and Ansible details
ansible <IP_ADDRESS>
molecule, version 1.24.0
Docker version 1.12.6

Molecule installation method: pip
Ansible installation method: OS package
Docker installation method: OS package (Fedora 25)

Desired Behaviour
Run role test with docker driver
Actual Behaviour (Bug report only)
Running role with docker driver got following error
Traceback (most recent call last):
  File "/usr/bin/molecule", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/molecule/cli.py", line 41, in main
    cli(obj={})
  File "/usr/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/molecule/command/test.py", line 94, in test
    t = Test(ctx.obj.get('args'), command_args)
  File "/usr/lib/python2.7/site-packages/molecule/command/base.py", line 60, in __init__
    self.main()
  File "/usr/lib/python2.7/site-packages/molecule/command/base.py", line 83, in main
    self.molecule.main()
  File "/usr/lib/python2.7/site-packages/molecule/core.py", line 57, in main
    self.driver = self._get_driver()
  File "/usr/lib/python2.7/site-packages/molecule/core.py", line 312, in _get_driver
    return dockerdriver.DockerDriver(self)
  File "/usr/lib/python2.7/site-packages/molecule/driver/dockerdriver.py", line 39, in __init__
    self._docker = docker.APIClient(
AttributeError: 'module' object has no attribute 'APIClient'

See #782 and #771.


cdk deploy bug!

The lib/index.js file uses aws javascript sdk v3, but that sdk can only be used for nodejs 18 runtime. And the nodejs 16 runtime used by the matterStacks.ts file, so cdk deploy --context generatePaa=1  command fails. Error: Cannot find module '@aws-sdk/client-acm-pca'.
Please fix it ASAP!!!

Hello,
Thank you for reporting the issue.
We have tested with Node.js versions 16, 18, and 20, and cannot reproduce.
aws-sdk-js-v3 should work with earlier Node.js versions too, see https://github.com/aws/aws-sdk-js-v3#nodejs-versions
Please provide us with more detailed reproduction steps, e.g. download a clean copy of the repo, list versions of each tool being used, list all the commands being executed.

But when I'm executing cdk deploy command according to the tutorial, I got an error, the error message is as follows:
MatterStackPAA: creating CloudFormation changeset...
3:02:07 PM | CREATE_FAILED        | Custom::ValidateVidType                     | ValidateVid
Received response status [FAILED] from custom resource. Message returned: Error: Cannot find module '@aws-sdk/client-acm-pca'
Require stack:

/var/task/index.js
/var/task/entrypoint.js
/var/runtime/index.mjs
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1026:15)
at Function.Module._load (node:internal/modules/cjs/loader:871:27)
at Module.require (node:internal/modules/cjs/loader:1098:19)
at require (node:internal/modules/cjs/helpers:108:18)
at Object. (/var/task/index.js:1:63)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Module.require (node:internal/modules/cjs/loader:1098:19) (RequestId: 03844885-24b4-4275-8921-abed0cd22f22)

❌  MatterStackPAA failed: Error: The stack named MatterStackPAA failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Error: Cannot find module '@aws-sdk/client-acm-pca'
Require stack:

/var/task/index.js
/var/task/entrypoint.js
/var/runtime/index.mjs
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1026:15)
at Function.Module._load (node:internal/modules/cjs/loader:871:27)
at Module.require (node:internal/modules/cjs/loader:1098:19)
at require (node:internal/modules/cjs/helpers:108:18)
at Object. (/var/task/index.js:1:63)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Module.require (node:internal/modules/cjs/loader:1098:19) (RequestId: 03844885-24b4-4275-8921-abed0cd22f22)
at FullCloudFormationDeployment.monitorDeployment (/root/.nvm/versions/node/v18.16.0/lib/node_modules/aws-cdk/lib/index.js:397:10236)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.deployStack2 [as deployStack] (/root/.nvm/versions/node/v18.16.0/lib/node_modules/aws-cdk/lib/index.js:400:149977)
at async /root/.nvm/versions/node/v18.16.0/lib/node_modules/aws-cdk/lib/index.js:400:135508

❌ Deployment failed: Error: The stack named MatterStackPAA failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Error: Cannot find module '@aws-sdk/client-acm-pca'
Require stack:

/var/task/index.js
/var/task/entrypoint.js
/var/runtime/index.mjs
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1026:15)
at Function.Module._load (node:internal/modules/cjs/loader:871:27)
at Module.require (node:internal/modules/cjs/loader:1098:19)
at require (node:internal/modules/cjs/helpers:108:18)
at Object. (/var/task/index.js:1:63)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Module.require (node:internal/modules/cjs/loader:1098:19) (RequestId: 03844885-24b4-4275-8921-abed0cd22f22)
at FullCloudFormationDeployment.monitorDeployment (/root/.nvm/versions/node/v18.16.0/lib/node_modules/aws-cdk/lib/index.js:397:10236)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.deployStack2 [as deployStack] (/root/.nvm/versions/node/v18.16.0/lib/node_modules/aws-cdk/lib/index.js:400:149977)
at async /root/.nvm/versions/node/v18.16.0/lib/node_modules/aws-cdk/lib/index.js:400:135508

The stack named MatterStackPAA failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Error: Cannot find module '@aws-sdk/client-acm-pca'
Require stack:

/var/task/index.js
/var/task/entrypoint.js
/var/runtime/index.mjs
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1026:15)
at Function.Module._load (node:internal/modules/cjs/loader:871:27)
at Module.require (node:internal/modules/cjs/loader:1098:19)
at require (node:internal/modules/cjs/helpers:108:18)
at Object. (/var/task/index.js:1:63)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Module.require (node:internal/modules/cjs/loader:1098:19) (RequestId: 03844885-24b4-4275-8921-abed0cd22f22)

I also tried manually executing npm install @aws-sdk/client-acm-pca in the aws-private-ca-matter-infrastructure directory, but the result is still the same error.

Nodejs version：nodejs 18
CDK version：2.81.0

Thank you for additional information, that was really helpful!
Now I see what the issue is, however I still cannot reproduce it. Perhaps, they have updated Lambda in the PDX region and added the new AWS SDK.
Would you mind telling us what region you're trying it in?
As a workaround, you should be able to make it work by adding the --no-rollback switch to you cdk deploy command, then manually updating your *MatterStackPAA-CustomLambdaFunctionUtilsCustomReso* Lambda Function in AWS Console to use "Node.js 18.x", then running cdk deploy again.
There is no way to automate it from CDK script until CDK's CustomResource gets updated, I'll ping them. Or it should be possible to synthesize it into the CloudFormation template, then edit it to use "nodejs18.x" before deploying.

The region I am using is the Tokyo region of Japan, I will try again following your suggestion. Thank you for your support.

Fixed as the custom resource got updated and we could target Node.js 18.x.