Can't find staged files matching glob, but does find when not on pre-commit

Description
I stage JavaScript files that match my lint-staged glob with git add. When I git commit I expect prettier and eslint to run. Instead I get the "No staged files match any of provided globs" message.
However if I run lint-staged directly from node-modules, without triggering a precommit, then prettier and eslint execute and find issues (as expected).
Steps to reproduce
package.json
{
  ...
  "scripts": {
    ...
    "lint": "eslint '**/*.js'",
    "lint:fix": "eslint '**/*.js' --fix",
    "pretty": "prettier --check '**/*.{js,json}'",
    "pretty:fix": "prettier --write '**/*.{js,json}'",
    "precommit": "lint-staged",
    "postcommit": "git update-index --again"
  },
  "dependencies": {
    ...
  },
  "devDependencies": {
    "husky": "^2.3.0",
    "lint-staged": "^8.1.7"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "linters": {
      "**/*.{js,json}": [
        "prettier --write",
        "git add"
      ],
      "**/*.js": [
        "eslint",
        "git add"
      ]
    }
  }
}

Debug Logs
When running on precommit:
14:43 $ git add .; git commit -m "some message"
husky > pre-commit (node v10.15.3)
No staged files match any of provided globs.
[feature/automate-lint-format 254e671] format and lint
 2 files changed, 40 insertions(+), 38 deletions(-)
 rewrite etl/test/integration/mycomponent.test.js (72%)  # the file was not changed tho 🤔

When running directly:

expand to view
14:55 $ ./node_modules/.bin/lint-staged --debug
  lint-staged:bin Running<EMAIL_ADDRESS>+0ms
  lint-staged:find-bin Loaded package.json using `process.cwd()` +0ms
  lint-staged Loading config using `cosmiconfig` +0ms
  lint-staged Successfully loaded config from `/Users/dnunes/Git/.../etl/package.json`:
  lint-staged { linters:
  lint-staged    { '**/*.{js,json}': [ 'prettier --write', 'git add' ],
  lint-staged      '**/*.js': [ 'eslint', 'git add' ] } } +8ms
  lint-staged:cfg Normalizing config +0ms
  lint-staged:cfg Validating config +1ms
Running lint-staged with the following config:
{
  linters: {
    '**/*.{js,json}': [
      'prettier --write',
      'git add'
    ],
    '**/*.js': [
      'eslint',
      'git add'
    ]
  },
  concurrent: true,
  chunkSize:<PHONE_NUMBER>740991,
  globOptions: {
    matchBase: true,
    dot: true
  },
  ignore: [],
  subTaskConcurrency: 1,
  renderer: 'verbose',
  relative: false
}
  lint-staged:run Running all linter scripts +0ms
  lint-staged:run Resolved git directory to be `/Users/dnunes/Git/.../myproject/` +0ms
  lint-staged:run Loaded list of staged files in git:
  lint-staged:run [] +19ms
  lint-staged:gen-tasks Generating linter tasks +0ms
  lint-staged:cfg Normalizing config +28ms
  lint-staged:gen-tasks Generated task:
  lint-staged:gen-tasks { pattern: '**/*.{js,json}',
  lint-staged:gen-tasks   commands: [ 'prettier --write', 'git add' ],
  lint-staged:gen-tasks   fileList: [] } +0ms
  lint-staged:gen-tasks Generated task:
  lint-staged:gen-tasks { pattern: '**/*.js',
  lint-staged:gen-tasks   commands: [ 'eslint', 'git add' ],
  lint-staged:gen-tasks   fileList: [] } +1ms
No staged files match any of provided globs.
  lint-staged linters were executed successfully! +33ms
✔ ~/Git/.../etl [feature/automate-lint-format ↑·11|✚ 2]
14:56 $ git add .
✔ ~/Git/.../etl [feature/automate-lint-format ↑·11|●1✚ 1]
14:56 $ ./node_modules/.bin/lint-staged --debug
  lint-staged:bin Running<EMAIL_ADDRESS>+0ms
  lint-staged:find-bin Loaded package.json using `process.cwd()` +0ms
  lint-staged Loading config using `cosmiconfig` +0ms
  lint-staged Successfully loaded config from `/Users/dnunes/Git/.../etl/package.json`:
  lint-staged { linters:
  lint-staged    { '**/*.{js,json}': [ 'prettier --write', 'git add' ],
  lint-staged      '**/*.js': [ 'eslint', 'git add' ] } } +8ms
  lint-staged:cfg Normalizing config +0ms
  lint-staged:cfg Validating config +1ms
Running lint-staged with the following config:
{
  linters: {
    '**/*.{js,json}': [
      'prettier --write',
      'git add'
    ],
    '**/*.js': [
      'eslint',
      'git add'
    ]
  },
  concurrent: true,
  chunkSize:<PHONE_NUMBER>740991,
  globOptions: {
    matchBase: true,
    dot: true
  },
  ignore: [],
  subTaskConcurrency: 1,
  renderer: 'verbose',
  relative: false
}
  lint-staged:run Running all linter scripts +0ms
  lint-staged:run Resolved git directory to be `/Users/dnunes/Git/.../` +0ms
  lint-staged:run Loaded list of staged files in git:
  lint-staged:run [ 'etl/src/services/common.service.js' ] +20ms
  lint-staged:gen-tasks Generating linter tasks +0ms
  lint-staged:cfg Normalizing config +28ms
  lint-staged:gen-tasks Generated task:
  lint-staged:gen-tasks { pattern: '**/*.{js,json}',
  lint-staged:gen-tasks   commands: [ 'prettier --write', 'git add' ],
  lint-staged:gen-tasks   fileList:
  lint-staged:gen-tasks    [ '/Users/dnunes/Git/.../etl/src/services/common.service.js' ] } +17ms
  lint-staged:gen-tasks Generated task:
  lint-staged:gen-tasks { pattern: '**/*.js',
  lint-staged:gen-tasks   commands: [ 'eslint', 'git add' ],
  lint-staged:gen-tasks   fileList:
  lint-staged:gen-tasks    [ '/Users/dnunes/Git/.../etl/src/services/common.service.js' ] } +2ms
Stashing changes... [started]
Stashing changes... [skipped]
→ No partially staged files found...
Running linters... [started]
Running tasks for **/*.{js,json} [started]
Running tasks for **/*.js [started]
  lint-staged:make-cmd-tasks Creating listr tasks for commands [ 'prettier --write', 'git add' ] +0ms
  lint-staged:find-bin Resolving binary for command `prettier --write` +176ms
  lint-staged:find-bin Binary for `prettier --write` resolved to `/Users/dnunes/Git/.../etl/node_modules/.bin/prettier` +3ms
  lint-staged:task ✔  OS: darwin; File path chunking unnecessary +0ms
  lint-staged:find-bin Resolving binary for command `git add` +0ms
  lint-staged:find-bin Binary for `git add` resolved to `/usr/local/bin/git` +1ms
  lint-staged:task ✔  OS: darwin; File path chunking unnecessary +2ms
  lint-staged:make-cmd-tasks Creating listr tasks for commands [ 'eslint', 'git add' ] +6ms
  lint-staged:find-bin Resolving binary for command `eslint` +1ms
  lint-staged:find-bin Binary for `eslint` resolved to `/Users/dnunes/Git/.../etl/node_modules/.bin/eslint` +1ms
  lint-staged:task ✔  OS: darwin; File path chunking unnecessary +1ms
  lint-staged:find-bin Resolving binary for command `git add` +0ms
  lint-staged:find-bin Resolving binary for `git` from cache +0ms
  lint-staged:task ✔  OS: darwin; File path chunking unnecessary +0ms
prettier --write [started]
eslint [started]
  lint-staged:task bin: /Users/dnunes/Git/.../etl/node_modules/.bin/prettier +0ms
  lint-staged:task args: [ '--write',
  lint-staged:task   '/Users/dnunes/Git/.../etl/src/services/common.service.js' ] +0ms
  lint-staged:task opts: { reject: false } +6ms
  lint-staged:task bin: /Users/dnunes/Git/.../etl/node_modules/.bin/eslint +9ms
  lint-staged:task args: [ '/Users/dnunes/Git/.../etl/src/services/common.service.js' ] +0ms
  lint-staged:task opts: { reject: false } +0ms
prettier --write [completed]
git add [started]
  lint-staged:task bin: /usr/local/bin/git +296ms
  lint-staged:task args: [ 'add',
  lint-staged:task   '/Users/dnunes/Git/.../etl/src/services/common.service.js' ] +0ms
  lint-staged:task opts: { reject: false, cwd: '/Users/dnunes/Git/.../' } +0ms
git add [completed]
Running tasks for **/*.{js,json} [completed]
eslint [failed]
→
Running tasks for **/*.js [failed]
→
Running linters... [failed]

✖ eslint found some errors. Please fix them and try committing again.

/Users/dnunes/Git/.../etl/src/services/common.service.js
10:3  error  'dasddasdas' is not defined  no-undef
13:3  error  'dadsaad' is not defined     no-undef

✖ 2 problems (2 errors, 0 warnings)

Environment

OS: macOS 10.14.5
Node.js: 10.15.3
lint-staged: 8.1.7

Try removing **/ from your globs since you’re running in the same directory. There is note about this in the readme.

Good point, I also tried that:
"lint-staged": {
    "linters": {
      "*.{js,json}": [
        "prettier --write",
        "git add"
      ],
      "*.js": [
        "eslint",
        "git add"
      ]
    }
  }

This is really weird because I have the same config on another project/repo, in the same machine, and it works fine.

Please find the difference between 2 projects

I've compared both project's package.json and the lint-staged config is the same and there are no major differences in the rest of the file. Is the problem the glob?
I have a monorepo, with a folder for each component with their own package.json. Below is the folder structure of the project that doesn't work:
.
├── README.md
├── backend
│   ├── package.json <--- ⚠ my lint-staged config is here
│   ├── src
│   │   ├── *.js
│   ├── test
│   │   ├── integration
│   │   │   ├── *.test.js
│   │   └── sanity
│   │       └── *.test.js
├── frontend
│   ├── package.json  <--- another lint-staged config will be here
│   ├── src
│   │   ├── *.js
│   ├── ...
├── ...

I'm staging and committing files inside the backend folder. Am I using the right glob **/*.{js,json}? I tried etl/**/*.{js,json} but failed as well.

Have you read https://github.com/okonet/lint-staged/blob/master/README.md#filtering-files? It says globs should be relative to package.json. If this isn’t working when I’d need help resolving this. There is also an issue reported recently that might affect you about absolute paths but it doesn’t look like it.

I ended up using this: https://github.com/sudo-suhas/lint-staged-multi-pkg


Change project & comment expansion icon from plus sign to down arrow for consistency

The expansion icons in the Dashboard and a project's Citations widget are light blue down arrows, which are both attractive and easy to understand.

However, in other areas of the site, a bold black plus sign + is used for expansion.
User profile

Components widget of project overview

Registrations page

Comments with replies

A plus sign is ambiguous since it can represent "more" or "add". We have tooltips when hovering over the Components widget plus signs, but that is the only place where a user would see that. Users may not immediately recognize what the plus sign means, and the Add to Dashboard button's plus sign can only further confuse them.

Also, the black plus sign is the same size and color as the icons to the left of a project name, and this can clutter the project container since the plus sign is so noticeable. It would be best if we could make the plus sign a light blue (or gray/black) down arrow, just like the Dashboard.

@caneruguz ... part of style guide?

@GaryKriebel not part of style guide but legitimate unification bug for osf. As @jinlu says, plus sign should not be used for expanding/collapsing. Let's tag this style and you can assign me.

@caneruguz I just realized that this also applies to the Treebeard expansion icon. I think it would look better as a down arrow, but this might require more discussion.
Dashboard

Files tree

@jinluyuan for treebeard the plus and minus icons should stay as they are. Other icons are not as visible for the type of grid that file browser provides.

@caneruguz I understand.
However, for the wiki menu, it does look strange having a "+" icon for New while also having plus icons next to the Components folder. The same issue applies to the Add to Dashboard button previously mentioned. It's not necessarily a problem, but it would be better to have consistent meaning behind each of our icons at some point.

Okay I see that but this needs some discussion. In any case these icons on file browsers will not be the same icons as the expand icons we are talking about since they are too small. These icons would probably be carets and they would be facing right and down, not up and down. So this needs to be it's own issue.

@sloria you can close this after merge if everything is looking good.

@caneruguz Did you decide not to change the plus icon in the Comments widget?

@jinluyuan No I just didn't see that. That's a terrible placement for the expansion icon though. What;s happening with comments, isn't it going to go through some changes? @sloria?

@caneruguz I put in a Trello card about this in the 0.42 release. It used to look like this before Haoyu changed the plus sign and put it on the right of the box.

(I think the old style looks even worse than it does now.)
Ideally, I think a down arrow on the bottom left corner would look best.

Alternatively we need to come up with a standard expansion of non-panel items. We'll need to work on this a bit.


Serach Functionality not working

Describe the bug
The search bar on top of the page is not working .
To Reproduce
Steps to reproduce the behavior:

Go to home route
Click on Search
Now type in to search anything .
It won't work

Expected behavior
Ideally it should produce results on the basis of the searches made.

Do you wan't to work on this issue?


cannot resolve method LibsBuilder().fragment() compile('com.mikepenz:aboutlibraries:5.6.5@aar')

Hello, I try to use it to get the fragment in Fragment, then i get an error that the method fragment() cannot be resolved. And I search for the fragment in the LibsBuilder.java, I cannot find that. Thank you.

@TargetApi(Build.VERSION_CODES.HONEYCOMB)
    public static class AboutPreferenceFragment extends PreferenceFragment {
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);

            LibsFragment fragment = new LibsBuilder()
                    //Pass the fields of your application to the lib so it can find all external lib information
                    .withFields(R.string.class.getFields())
                    //get the fragment
                    .fragment();
        }
}

And in build.gradle
    compile('com.mikepenz:aboutlibraries:5.6.5@aar') {
        transitive = true
    }

@xiaobailong24 there is the method supportFragment()
https://github.com/mikepenz/AboutLibraries/blob/develop/library/src/main/java/com/mikepenz/aboutlibraries/LibsBuilder.java#L544


python311Packages.pyfronius: 0.7.2 -> 0.7.3

Diff: https://github.com/nielstron/pyfronius/compare/release-0.7.2...release-0.7.3
Changelog: https://github.com/nielstron/pyfronius/releases/tag/release-0.7.3
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 286740 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.fronius
python311Packages.pyfronius
python311Packages.pyfronius.dist


HAWQ-278. Add min_cost for each query.

When we run 50 concurrancy insert into values(3) on 16 hosts.
They will run on only one host, not balanced.
This is caused by we pass cost zero to RM for "insert into values" like query.
We need to assign a min_cost for each query.
One block size(128M) is by default

+1 The code change is ok to me.

+1 looks good


Example3_StatusAndRate has status values 1 & 2 reversed

Example3_StatusAndRate.ino:
  switch (rangeStatus)
  {
    case 0:
      Serial.print("Good");
      break;
    case 1:
      Serial.print("Signal fail");
      break;
    case 2:
      Serial.print("Sigma fail");
      break;
    case 7:
      Serial.print("Wrapped target fail");
      break;
    default:
      Serial.print("Unknown: ");
      Serial.print(rangeStatus);
      break;
  }

ST Software Guide:

When the range status is 1, there is a sigma failure. This means that the repeatability or standard deviation of the measurement is bad due to a decreasing signal noise ratio. Increasing the timing budget can improve the standard deviation and avoid a range status 1.
When the range status is 2, there is a signal failure. This means that the return signal is too week to return a good answer. The reason is because the target is too far, or the target is not reflective enough, or the target is too small. Increasing the timing buget might help, but there may simply be no target available.

Great catch. Updated in latest commit.


Backport fix for CVE-2022-41717 to go1.15.15

Issue #, if available:
#703
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve

/unhold

/lgtm


Changed focus style to reflect new design, also for detail rows

Doesn't seem to work with multi select mode

Comments from the review on Reviewable.io

Fixed

Comments from the review on Reviewable.io

Changes missing, other than that, LGTM.

Comments from the review on Reviewable.io

note added to changes

Comments from the review on Reviewable.io

Reviewed 1 of 1 files at r2, 1 of 1 files at r3.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


ready to merge: add new ORDO terms

address #4579
@sabrinatoro could you please review this, similarly as before? If you agree with the parent class assertion, please add your ORCID, and leave a comment if you disagree. I left you some comments below.
This PR:

adds new ORDO terms (ORDO slurp)
adds new ORDO xefs to existing terms
adds new gene terms for logical defs
fixes typo in documentation

@matentzn this PR is failing because of the illegal prefix ICD10. these come from Orphanet, should I change these all to ICD10CM?

Yes!


Add first class support for internet hosted css files for CustomUiOptions

DefaultOpenApiCustomUIOptions to customize CSS file from assembly, should also support css file directly from the internet instead of assembly.
Currently you can achieve this by overriding and using HttpClient to get the css file from the internet:
public class OpenApiCustomUIOptions : DefaultOpenApiCustomUIOptions
{
	public OpenApiCustomUIOptions(Assembly assembly)
		: base(assembly)
	{
	}

	// Declare if you want to change the custom CSS file name.
	public override string CustomStylesheetPath { get; } = "https://raw.githubusercontent.com/smairo/Smairo.Swagger.Themes/master/Dark/dark.min.css";

	// Declare if you want to change the behaviours of handling the custom CSS file.
	public override async Task<string> GetStylesheetAsync()
	{
		using var client = new HttpClient();
		var response = await client.GetAsync(CustomStylesheetPath);
		if (response.IsSuccessStatusCode)
		{
			var content = response.Content;
			return await content.ReadAsStringAsync();
		}
		return string.Empty;
	}
}

What I would like to use instead:
public class OpenApiCustomUIOptions : DefaultOpenApiCustomUIOptions
{
	public OpenApiCustomUIOptions(Assembly assembly)
		: base(assembly)
	{
	}

	// If its file / embedded resource, fetch it from assembly. If it is http resource, fetch it with http client instead
	public override string CustomStylesheetPath { get; }
		= "https://raw.githubusercontent.com/smairo/Smairo.Swagger.Themes/master/Dark/dark.min.css";
}

@smairo Thanks for the issue! Let me have a look.


Add (better) PHPDocs in the project

Overview/summary
The project could really do with some better documentation in general, although this ticket is more aimed at PHPDocs for functions. There are a lot of undocumented functions, that could do with a quick one-line explanation of what it's doing. For example, the src/Rest/Base.php file has no useful documentation at all, and not all functions even have the auto-generated function docs.
The library could really use some love!
Motivation

What inspired this enhancement?

The (in-code) documentation is severely lacking in some places.

Still waiting on Shopify...

Still waiting on Shopify...

Yeah, and why is it stale bot? Because Shopify doesn't reply ;)

@swayoleg This issue is specifically talking about in-code PHPDocs. Although I had my issues with the documentation here on Github being lacking as well.

Yeah, and why is it stale bot? Because Shopify doesn't reply ;)

Oh no, I missed the notification :( Well, I guess it's been established that Shopify doesn't care about this library so oh well :)


Screenshots

I love the example given by code but it would also be great if you could show a screenshot of the desired effect because that would also give the reader an idea what your trying to say.

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

ID: d21fc139-0f0a-a988-d6c8-fb70196d5067
Version Independent ID: 0534a45b-9111-afd4-08ed-4919e2784941
Content: How to: Choose Between StackPanel and DockPanel
Content Source: docs/framework/wpf/controls/how-to-choose-between-stackpanel-and-dockpanel.md
Product: dotnet-framework
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thanks for your feedback @barakisbrown. I've added to our backlog and to our community contributions project.

@mairaw we already have an image with a difference between StackPanel andDockPanel. Should we add the same image to this doc?

Yes, for completeness. XAML related should be accompanied with a visual. A pictures says...


inaccurate instructions

I don't see the ability to create a remediation task, I do have create a managed identity, which is not mentioned in the instructions. Please update the instructions to accurately describe the Remediation page in the Assign Policy wizard for the Enable Microsoft Defender for Cloud on your subscription policy

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

ID: 29ac6a86-4eac-5901-2238-e08b4b33bc68
Version Independent ID: 85e085e3-06a1-f6d9-5b54-7540e05cbc98
Content: Onboard a management group to Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/onboard-management-group.md
Service: defender-for-cloud
GitHub Login: @ElazarK
Microsoft Alias: elkrieger

@DeanGross
Thanks for your feedback! We will investigate and update as appropriate.

@DeanGross Thank you for bringing this to our attention, I will add this to our backlog and will take care of this in the near future.

#please-close


iOS15系统，启动wda时，报错

MacBook-Pro:~ $ tidevice xctest -B com.facebook.WebDriverAgentRunner.xctrunner
[I 211027 10:32:48 _device:996] BundleID: com.facebook.WebDriverAgentRunner.xctrunner
[I 211027 10:32:48 _device:998] DeviceIdentifier: 9941e2ce2018cd02c295b0108ee30b0c6e64b7f8
[I 211027 10:32:48 _device:572] ProductVersion: 15.0
[I 211027 10:32:48 _device:551] Download https://tool.appetizer.io/iGhibli/iOS-DeviceSupport/raw/master/DeviceSupport/15.0.zip -> /Users/hhh/.tidevice/device-support/15.0.zip
[I 211027 10:32:49 _device:551] Download https://github.com/iGhibli/iOS-DeviceSupport/raw/master/DeviceSupport/15.0.zip -> /Users/hhh/.tidevice/device-support/15.0.zip
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/_device.py", line 454, in start_service
    return self._unsafe_start_service(name)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/_device.py", line 471, in _unsafe_start_service
    "Remember that you have to mount the Developer disk image on your device"
tidevice.exceptions.MuxServiceError: Could not start service: com.apple.testmanagerd.lockdown.secure! Remember that you have to mount the Developer disk image on your device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/_device.py", line 607, in _request_developer_image_dir
    self._urlretrieve(mirror_url, image_zip_path)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/_device.py", line 556, in _urlretrieve
    r.raise_for_status()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/models.py", line 941, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://tool.appetizer.io/iGhibli/iOS-DeviceSupport/raw/master/DeviceSupport/15.0.zip

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/tidevice", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/__main__.py", line 689, in main
    actions[args.subparser](args)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/__main__.py", line 231, in cmd_xctest
    env=env)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/_device.py", line 1008, in xctest
    x1 = self._connect_testmanagerd_lockdown()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/_device.py", line 805, in _connect_testmanagerd_lockdown
    LockdownService.TestmanagerdLockdownSecure)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/_device.py", line 456, in start_service
    self.mount_developer_image()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/_device.py", line 648, in mount_developer_image
    with self._request_developer_image_dir() as _dir: #, signature_path:
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/_device.py", line 611, in _request_developer_image_dir
    self._urlretrieve(origin_url, image_zip_path)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tidevice/_device.py", line 556, in _urlretrieve
    r.raise_for_status()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/models.py", line 941, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://github.com/iGhibli/iOS-DeviceSupport/raw/master/DeviceSupport/15.0.zip

看提示好像是镜像链接的问题

最新版应该已经换成了从这个项目下载image了
https://github.com/JinjunHan/iOSDeviceSupport/tree/master/DeviceSupport
你更新一下tidevice就可以了

`/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/14.6   tidevice wdaproxy
[I 220530 14:44:48 _wdaproxy:125] [d7d15615997597abff977fb66843ff1996c644b8] WDA check every 30.0 seconds
[D 220530 14:44:48 _wdaproxy:131] [d7d15615997597abff977fb66843ff1996c644b8] launch WDA
[I 220530 14:44:49 _device:969] BundleID: com.facebook.d7d15615997597abff977fb66843ff1996c644b8.WebDriverAgentRunner.xctrunner
[I 220530 14:44:49 _device:985] ProductVersion: 14.6
[I 220530 14:44:49 _device:986] DeviceIdentifier: d7d15615997597abff977fb66843ff1996c644b8
[I 220530 14:44:49 _device:607] ProductVersion: 14.6
[I 220530 14:44:49 _imagemounter:157] Pushing DeveloperDiskImage.dmg
[I 220530 14:44:50 _imagemounter:170] Push complete
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_device.py", line 492, in start_service
return self._unsafe_start_service(name)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_device.py", line 508, in _unsafe_start_service
raise MuxServiceError(error)
tidevice.exceptions.MuxServiceError: InvalidService
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/main.py", line 871, in
main()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/main.py", line 866, in main
actionsargs.subparser
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/main.py", line 259, in cmd_xctest
d.xctest(args.bundle_id,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_device.py", line 970, in xctest
return self.xcuitest(bundle_id, target_bundle_id=target_bundle_id, logger=logger, env=env)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_device.py", line 996, in xcuitest
x1 = self._connect_testmanagerd_lockdown()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_device.py", line 791, in _connect_testmanagerd_lockdown
conn = self.start_service(
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_device.py", line 494, in start_service
self.mount_developer_image()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_device.py", line 668, in mount_developer_image
self.imagemounter.mount(image_path, signature_path)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_imagemounter.py", line 139, in mount
return self.mount_fileobj(image_reader, image_size, signature_content)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_imagemounter.py", line 182, in mount_fileobj
self._check_error(ret)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_imagemounter.py", line 123, in _check_error
raise MuxError(ret['Error'])
tidevice.exceptions.MuxError: ImageMountFailed`
这个一直挂在失败，知道是什么问题吗，已经将自动下载的14.6对应的DeveloperDiskImage.dmg放到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/14.6 目录中，但还是失败

@pkm1118 重启试试？

@codeskyblue我电脑手机都重启过，还是不行

+1, 13 pro max 挂不进去

遇到了同样的问题。昨天还能正常使用，今天启动 wda 服务报错：tidevice.exceptions.MuxError: ImageMountFailed
问题
手动执行挂载命令，出现同样的错误。
$ tidevice developer
[I 220908 10:13:03 _device:602] ProductVersion: 15.4
[I 220908 10:13:03 _imagemounter:157] Pushing DeveloperDiskImage.dmg
[I 220908 10:13:03 _imagemounter:170] Push complete
Traceback (most recent call last):
  File "/usr/local/bin/tidevice", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/tidevice/__main__.py", line 951, in main
    actions[args.subparser](args)
  File "/usr/local/lib/python3.7/site-packages/tidevice/__main__.py", line 448, in cmd_developer
    d.mount_developer_image()
  File "/usr/local/lib/python3.7/site-packages/tidevice/_device.py", line 663, in mount_developer_image
    self.imagemounter.mount(image_path, signature_path)
  File "/usr/local/lib/python3.7/site-packages/tidevice/_imagemounter.py", line 139, in mount
    return self.mount_fileobj(image_reader, image_size, signature_content)
  File "/usr/local/lib/python3.7/site-packages/tidevice/_imagemounter.py", line 182, in mount_fileobj
    self._check_error(ret)
  File "/usr/local/lib/python3.7/site-packages/tidevice/_imagemounter.py", line 123, in _check_error
    raise MuxError(ret['Error'])
tidevice.exceptions.MuxError: ImageMountFailed

尝试
$ tidevice developer --download-all 下载全部镜像是可以正常下载的，网络没问题。

最新版应该已经换成了从这个项目下载image了 https://github.com/JinjunHan/iOSDeviceSupport/tree/master/DeviceSupport
你更新一下tidevice就可以了

更新 tidevice，当前版本为 tidevice version 0.9.11，未解决；
手动下载 15.4 的镜像并放到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/目录下，未解决。


Swap arguments?

The package looks great, thanks for the contribution!
Would it make sense to swap the arguments? Most Julia APIs I've came across adopt the following convention:
binarize(img, alg)

as opposed to
binarize(alg, img)

I read the first version as "binarize the image with algorithm", the second version doesn't have a clear "spelling", at least for me.
I adopted the above mentioned convention in ImageInpatining.jl for example, and in the internals of GeoStats.jl in multiple places.

Thanks for the warm feedback Julio! I've been trying to follow the convention originally outlined here:
https://github.com/JuliaImages/Images.jl/issues/772
I actually incorporated your suggestion

Thank you @zygmuntszpak for the thoughtful and exciting proposal. I have a quick question. Are the params in the line

adjust_histogram(op::Equalization, params...)

the parameters of the Equalization operation? Couldn't the parameters be encapsulated in the struct?

struct Equalization <: AbstractHistogramOperation
param1
param2
end

Specifically,  I've moved any parameters that control the binarization as fields of the struct.
I was intending to do the same in the ImageConstratAdjustment (https://github.com/zygmuntszpak/ImageContrastAdjustment.jl) package.
My vision for the Julia API was that we have a few key operational words, such as binarize or adjust_histogram and that the first function argument would specify which particular algorithm you wanted to select.
If you want to put the img argument first, does that mean you would also prefer:
adjust_histogram(img, Equalization(nbins = 256))

instead of
adjust_histogram(Equalization(nbins = 256),img)

Would love to hear your thoughts as well: @timholy @johnnychen94

Thank you @zygmuntszpak for the initiative, I am really looking forward to this general API. Answering the question, I believe that having the img as the first argument reads better. Also, if we decide to incorporate ComputationalResources.jl as it is done in other packages like ImageFiltering.jl, we could do:
some_func(resource, img, algo)

So the computational resource comes first, then image, then algorithm. By default, no computational resource is specified, and we could fallback to
some_func(img, algo)

without any possible confusion between "resource" types and "algorithm" types. It may be that choosing the other order can confuse users of what is an algorithm and what is a resource? It would be nice if we could keep these two far away in the list of arguments.

I was planning on having the computational resource be specified as a keyword argument. If we follow your suggested convention, then it would look like this:
some_func(img, algo; resource = GPU())

If left unspecified then a  default value of resource = CPU() would be utilised.

Do we have dispatch on keyword arguments in Julia v1.0? In general is it
good for performance?
I'm not familiar with the internals of the language. Looking forward to
hearing from other members what their opinions are.
On Sat, Mar 9, 2019, 21:21 Dr. Zygmunt L. Szpak<EMAIL_ADDRESS>wrote:

I was planning on having the computational resource be specified as a
keyword argument. If we follow your suggested convention, then it would
look like this:
some_func(img, algo; resource = GPU())
If left unspecified then a default value of resource = CPU() would be
utilised.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zygmuntszpak/ImageBinarization.jl/issues/23#issuecomment-471234539,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADMLbcUJAwgrWgTk-ApeHTlu1aCDzEDcks5vVFAHgaJpZM4bm7-_
.

@juliohm No we only have method dispatch on positional parameters.
https://docs.julialang.org/en/v1/manual/methods/#Note-on-Optional-and-keyword-Arguments-1

Keyword arguments behave quite differently from ordinary positional arguments. In particular, they do not participate in method dispatch. Methods are dispatched based only on positional arguments, with keyword arguments processed after the matching method is identified.

I'm not very familiar with GPU computing details. But if both works as I expect, I vote for the second method -- juliohm's.
For cases we need delicate hybrid CPU and GPU conversion, we could always implement using the first method.

Method 1
zygmuntszpak's idea:
some_func(img, algo; resource = GPU())

requires a manual check on types of resource to make dispatch, e.g.,
function some_func(img, algo; resource = CPU())
    if resource isa GPU
        img = GPUArray(img)
    end

    # implementation details

    if resource isa GPU
        rst_img = collect(rst_img)
    end
end

Method 2
juliohm's idea:
some_func(resource, img, algo)

doesn't, e.g.,
some_func(resource::GPUArray, img, algo) = some_func_general(GPUArray(img),algo) |> collect
some_func(resource, img, algo) = some_func_general(img,algo)
function some_func_general(img,algo)
    # implementation details
end

I'd like to amend Johnny's description of Method 1. I would probably implement it as follows
abstract type AbstractComputationalDevice end
struct CPU <: AbstractComputationalDevice end
struct GPU <: AbstractComputationalDevice end

some_function(img, algorithm; resource::AbstractComputationalDevice = CPU())
    an_implementation(img, algorithm, resource)
end

function an_implementation(img, algorithm, resource::CPU)
 # CPU specific implementation of algorithm
end

function an_implementation(img, algorithm, resource::GPU)
 # GPU specific implementation of algorithm
end

With regard to Method 2, shouldn't the resource be the very last argument to the function and not the first? My understanding of Julio's "spelling" request is that he would like to read it aloud as something like:
"binarize the image with algorithm running on CPU" or "binarize the image with algorithm running on GPU".
@evizero Would love to hear your input on this as well.

I like this approach as well @zygmuntszpak :+1: we could even standardize the name of these implementation functions:
function binarize(img, algo; resource=CPU())
  binarize_impl(img, algo, resource)
end

Initially I thought of putting the resource as the first argument following the recommendations in ComputationalResources.jl, but I think your approach with *_impl functions reads well, is clear and performant.

With regard to Method 2, shouldn't the resource be the very last argument to the function and not the first?

i think to remember having this discussion with Prof. Holy somewhere a long time ago, and the argument he brought up (if memory serves me) was that the mental model behind having the resource first was that it had conceptual similarities with a function. Also there was the issue of different functions needing a different number of additional arguments, and then the question of ordering comes up.
Personally I think its worth rethinking this. Especially the second point is not as convincing now that keyword arguments for parameters you don't need to dispatch on don't penalize your performance anymore.

but I think your approach with *_impl functions reads well

I think in your example I would prefer the same function name being used. Throughout JuliaML i often allow things to be specified either as keyword or as positional argument and I found this to be reasonably intuitive if its done in moderation.

One problem with the method proposed by @zygmuntszpak is
some_function(gpu(img), algo) will call the cpu version implementation, since kwargs are not counted in method dispatch.
For this reason, I vote for some_function(resource, img, algo) since this is the convention according to words from Juliohm and Evizero.

Thank you for your thoughts @johnnychen94 , it is really nice to see these alternatives carefully compared. I would like to hear from Prof. @timholy what his opinion is on this general API we are discussing. He will definitely enlighten us.
The *_impl suffix I proposed comes from my background contributing to some Boost C++ libraries. There you can find this _impl pattern everywhere. Of course Julia != C++ so we need to think carefully about it. :+1:

If removing the *_impl, it looks more concise.
some_function(img::GPUArray, algo::AbstractAlgorithm) = some_function(GPU(), img, algo)
some_function(img::AbstractArray, algo::AbstractAlgorithm) = some_function(CPU(), img, algo)

function some_function(resource::GPU, img::AbstractArray, algorithm::AbstractAlgorithm)
img = gpu(img)
 # GPU specific implementation of algorithm
end
function some_function(resource::CPU, img::AbstractArray, algorithm::AbstractAlgorithm)
img = gather(img)
# generic CPU implementation
end

Some crazy thoughts, we could even support arbitrary argument order:
The following is my experiments, we could even create a macro to do all these trivial work, and focus on implementing the last two methods.
using ImageCore, Colors
using CuArrays, GPUArrays

abstract type AbstractDenoiseAlgorithm end
struct BM3D <: AbstractDenoiseAlgorithm end
struct TVL1 <: AbstractDenoiseAlgorithm end
struct TVL2 <: AbstractDenoiseAlgorithm end

abstract type AbstractComputationalDevice end
struct CPU <: AbstractComputationalDevice end
struct GPU <: AbstractComputationalDevice end

DEFAULT_DENOISE_ALGORITHM = BM3D()

# 1 argument - img is alway required
denoise(img::AbstractArray{T,2}) where T =
    denoise(img, DEFAULT_DENOISE_ALGORITHM)

# 2 arguments - resource missing
denoise(algo::AbstractDenoiseAlgorithm, img::AbstractArray{T,2}) where T =
    denoise(img, algo)
denoise(img::GPUArray{T,2}, algo::AbstractDenoiseAlgorithm) where T =
    denoise(GPU(), img, algo)
denoise(img::AbstractArray{T,2}, algo::AbstractDenoiseAlgorithm) where T =
    denoise(CPU(), img, algo)

# 2 arguments - algo missing
denoise(img::AbstractArray{T,2}, resource::AbstractComputationalDevice) where T =
    denoise(resource, img)
denoise(resource::AbstractComputationalDevice, img::AbstractArray{T,2}) where T =
    denoise(resource, img, DEFAULT_DENOISE_ALGORITHM)

# 3 arguments
denoise(algo::AbstractDenoiseAlgorithm, resource::AbstractComputationalDevice, img::AbstractArray{T,2}) where T =
    denoise(resource, img, algo)
denoise(algo::AbstractDenoiseAlgorithm, img::AbstractArray{T,2}, resource::AbstractComputationalDevice) where T =
    denoise(resource, img, algo)
denoise(img::AbstractArray{T,2}, algo::AbstractDenoiseAlgorithm, resource::AbstractComputationalDevice) where T =
    denoise(resource, img, algo)
denoise(img::AbstractArray{T,2}, resource::AbstractComputationalDevice, algo::AbstractDenoiseAlgorithm) where T =
    denoise(resource, img, algo)
denoise(resource::AbstractComputationalDevice, algo::AbstractDenoiseAlgorithm, img::AbstractArray{T,2}) where T =
    denoise(resource, img, algo)

# actual implementation
denoise(resource::CPU, img::CuArray{T,2}, algo::AbstractDenoiseAlgorithm) where T = denoise(resource, Array(img), algo)
denoise(resource::GPU, img::AbstractArray{T,2}, algo::AbstractDenoiseAlgorithm) where T = denoise(resource, CuArray(img), algo)
function denoise(resource::CPU, img::AbstractArray{T,2}, algo::AbstractDenoiseAlgorithm) where T
    println("denoise noise using CPU with $(typeof(algo))")
end
function denoise(resource::GPU, img::GPUArray{T,2}, algo::AbstractDenoiseAlgorithm) where T
    println("denoise noise using GPU with $(typeof(algo))")
end

 all possible way of calling this function works as expected:
test code:
# 1 argument
println("1 argument with Array")
denoise(cpu_img) # cpu with BM3D
println("1 argument with GPUArray")
denoise(gpu_img) # gpu with BM3D
println()

# 2 arguments
println("2 arguments with unspecified resource")
println("CPUArray")
denoise(cpu_img, TVL1()) # cpu with TVL1
denoise(TVL1(), cpu_img) # cpu with TVL1
println("GPUArray")
denoise(gpu_img, TVL1()) # gpu with TVL1
denoise(TVL1(), gpu_img) # gpu with TVL1
println()

println("2 arguments with CPU resource")
denoise(cpu_img, CPU()) # cpu with BM3D
denoise(CPU(), cpu_img) # cpu with BM3D
denoise(CPU(), gpu_img) # cpu with BM3D
denoise(gpu_img, CPU()) # cpu with BM3D

println("2 arguments with GPU resource")
denoise(cpu_img, GPU()) # gpu with BM3D
denoise(GPU(), cpu_img) # gpu with BM3D
denoise(GPU(), gpu_img) # gpu with BM3D
denoise(gpu_img, GPU()) # gpu with BM3D
println()

# 3 arguments
println("3 arguments")
println("cpu_img with CPU resource:")
denoise(cpu_img, TVL1(), CPU()) # cpu with TVL1
denoise(cpu_img, CPU(), TVL1()) # cpu with TVL1
denoise(CPU(), cpu_img, TVL1()) # cpu with TVL1
denoise(CPU(), TVL1(), cpu_img) # cpu with TVL1
denoise(TVL1(), CPU(), cpu_img) # cpu with TVL1
denoise(TVL1(), cpu_img, CPU()) # cpu with TVL1
println()

println("cpu_img with GPU resource:")
denoise(cpu_img, TVL1(), GPU()) # gpu with TVL1
denoise(cpu_img, GPU(), TVL1()) # gpu with TVL1
denoise(GPU(), cpu_img, TVL1()) # gpu with TVL1
denoise(GPU(), TVL1(), cpu_img) # gpu with TVL1
denoise(TVL1(), GPU(), cpu_img) # gpu with TVL1
denoise(TVL1(), cpu_img, GPU()) # gpu with TVL1
println()

println("gpu_img with CPU resource:")
denoise(gpu_img, TVL1(), CPU()) # cpu with TVL1
denoise(gpu_img, CPU(), TVL1()) # cpu with TVL1
denoise(CPU(), gpu_img, TVL1()) # cpu with TVL1
denoise(CPU(), TVL1(), gpu_img) # cpu with TVL1
denoise(TVL1(), CPU(), gpu_img) # cpu with TVL1
denoise(TVL1(), gpu_img, CPU()) # cpu with TVL1
println()

println("gpu_img with GPU resource:")
denoise(gpu_img, TVL1(), GPU()) # gpu with TVL1
denoise(gpu_img, GPU(), TVL1()) # gpu with TVL1
denoise(GPU(), gpu_img, TVL1()) # gpu with TVL1
denoise(GPU(), TVL1(), gpu_img) # gpu with TVL1
denoise(TVL1(), GPU(), gpu_img) # gpu with TVL1
denoise(TVL1(), gpu_img, GPU()) # gpu with TVL1
println()

output:
1 argument with Array
denoise noise using CPU with BM3D
1 argument with GPUArray
denoise noise using GPU with BM3D

2 arguments with unspecified resource
CPUArray
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1
GPUArray
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1

2 arguments with CPU resource
denoise noise using CPU with BM3D
denoise noise using CPU with BM3D
denoise noise using CPU with BM3D
denoise noise using CPU with BM3D
2 arguments with GPU resource
denoise noise using GPU with BM3D
denoise noise using GPU with BM3D
denoise noise using GPU with BM3D
denoise noise using GPU with BM3D

3 arguments
cpu_img with CPU resource:
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1

cpu_img with GPU resource:
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1

gpu_img with CPU resource:
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1
denoise noise using CPU with TVL1

gpu_img with GPU resource:
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1
denoise noise using GPU with TVL1


FancyZones - Multiple zones on top of each other - is changing hierarchy possible?

Provide a description of requested docs changes
I feel that I slowly become a power user of FancyZones. Now I want to stack various zones of different sizes on top of each other to display different kinds of windows in different sizes. An example would be: I like my mail application large and an individual email window smaller, but both in the same area.
However, I have not found out how in the zone editing mode, I can put a smaller zone that I create later (zone number 10), on top of a bigger zone that I created earlier  (zone number 3).
Is that possible at all?
Sorry if I posted this in the wrong forum, and if that was the case, please be so kind to point me to the correct place.
Thank you for your help.

Thank you @Jay-o-Way for looking into this.
Yes, Z-index is the right concept. I did not know about the settings for overlapping zones, and they sound perfect, but don't seem to work in this case.
I have a 49-inch monitor and need zones for everything.
This is my complete layout

Here, number 10 is not accessible with any overlapping setting

Ok, turns out that Z indices do exist. I swapped 2 with 10 and now it works.
Should have thought of this earlier.
Case closed.

Hello again,
I experience another strange situation with zone hierarchy. Please see the linked video.
It seems that one zone is on top of another zone on one side of my 49" monitor, but at the bottom on the other half. This does not make much sense to me.
Is this expected behaviour?

Thank you
AnD

Could you please re-open this issue?

@Jay-o-Way

[...] use a smart Grid style - you can resize windows to a number of zones, to the size you want.

I may have overlooked this "smart grid" suggestion. Would you mind elaborating? I cannot find smart grid in the docs.
Thank you

"Smart grid" isn't a PowerToys term. I meant that, with a grid layout, built in the right way, you can make a lot of combinations when you would span windows across multiple zones. But I'm not sure that would be a solution for you, looking at that video.
What FancyZones setting is selected in "When multiple zones overlap" ?
FWD @SeraphimaZykova an idea from the video?

This is expected with, for example Activate the zone whose center is closest to the cursor setting. If it's uncomfortable, you can choose another option of overlapping zones activation behavior.

This is expected with, for example Activate the zone whose center is closest to the cursor setting.

Thank you, that makes a lot of sense!
Let's close this issue.


Modification of persistance to persistence in Callback Configuration Should Be Handled

Hey!
Hope you all are well. Thanks again for this library. I really like it not just for its utility, but also the great architectural decisions and the excellent implementation and best practices. Thanks!
So it looks like when things were moved from Genserver to ETS in AuthTokenServer, ShopServer and AppServer, the mechanism used for looking up configuration callbacks got changed as well. This is all very nice; however, the callback key seems to have been changed from persistance to persistence.
https://github.com/pixelunion/elixir-shopifyapi/blob/31717220a23098835825b9663655055fa40b028c/lib/shopify_api/auth_token_server.ex#L86
vs
https://github.com/pixelunion/elixir-shopifyapi/blob/9c788d55b1e65413687f65632099dd700f1f6f49/lib/shopify_api/auth_token_server.ex#L56
Having two different spellings of persistence seems like it's probably going to be an ongoing issue & so this change seems to make good sense. It would just be nice to have that change denoted in the changelog as a breaking change as well as getting the readme updated to denote the new callback key.
Thanks again!
Tres

(writing as a ticket since I'm not sure how you'd prefer to deal with this)

@tres good find, looks like there was a spelling mistake originally.  We should have made a BREAKING changelog entry when we change this! Sorry about that!

@tres good find, looks like there was a spelling mistake originally.  We should have made a BREAKING changelog entry when we change this! Sorry about that!


Add env CALICO_IPV6POOL_NAT_OUTGOING to calico-node for IPv6

Releated PR: https://github.com/projectcalico/calico/pull/7268

@carezkh Thanks for this. We'll add this to the review queue and return to you with questions.

@ctauchen this looks good to me - thanks for the ping, and thanks @carezkh for sticking with this one :)


⚠ BCR Bot has degraded performance

In 00b0211, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 869 ms

Resolved: BCR Bot performance has improved in 7c915da.


The implementation of SkipList seems to have useless level.

File: https://github.com/microsoft/vscode/blob/master/src/vs/base/common/skipList.ts
Since the index of reference the paper starts from 1, and our implementation starts from 0, we could find that SkipList level forward[1] always equals to forward[0]. And it looks like we seem to waste some memory.
The following code could print the actual level in the SkipList:
function logLevel(list, level) {
    let node = list._header;
    const res = [];
    while (node.forward[level]) {
        res.push(node.forward[level].key);
        node = node.forward[level];
    }
    console.log(res.toString());
}

function logLevels(list) {
    for (let i = 0; i <= list._level; i++) {
        console.log(`Level ${i}:`);
        logLevel(list, i);
    }
}

The test case I use is:
let list = new SkipList((a, b) => a - b, 10);
list.set(1, true);
list.set(2, true);
list.set(3, true);
list.set(4, true);
list.set(5, true);
list.set(6, true);
list.set(7, true);
list.set(8, true);
list.set(9, true);
list.set(10, true);
list.set(11, true);
list.set(12, true);

Steps to Reproduce:

Running the test case and print SkipList using logLevels;
level 0 and level 1 are equal.

Expected:

I'd like to send a pull request to fix this problem if you want.

I'd like to send a pull request to fix this problem if you want.

👍


SPDX 3.0 license expressions not supported

As discussed in https://github.com/rust-lang/cargo/issues/4930, Cargo documents to use SPDX license expressions as found on https://spdx.org/licenses/. However, listed there are the SPDX 3.0 identifiers that are not compatible to the 2.x identifiers that can be parsed with this crate. Thus, I'd suggest to make the capabilities to parse SPDX 3.0 expressions.
I can do that. However, I'm not totally clear, what would be the best way to achieve that.
I see three possibilities of adding the ability to parse for SPDX 3.0 license identifiers:

Adding capabilities to parse SPDX 3.0 expressions to this crate by adding a version tag to the API and

using the 2.x identifiers as default (backwards compatible)
using the 3.0 identifiers as default (backwards compatible, updating all dependent crates to the new identifiers)
using the all possible identifiers as default (backwards compatible)
using no default value, forcing all dependent crates to update

Creating a new crate that parses SPDX 3.0 expressions.
Just replacing the SPDX 2.x identifiers with the SPDX 3.0 identifiers in this crate and consequently dropping support for SPDX 2.x identifiers.

I would suggest the first of these possibilities, with additionally marking the the use of the default value as deprecated.

I think this repo should track whatever license-list version Cargo
documents (2.4 since rust-lang/cargo#4930).  But we can certainly code
new versions up here.  Once we have something ready to go here, we'll
need to bump the Cargo docs to the new version, update Cargo and its
public docs (there seems to be some lag for this, #4930), and update
crates.io.
I don't think backwards-compat is a big concern, because the SPDX
folks have been good about long deprecation periods (I'm not aware of
any deprecated identifiers that have actually been removed).  Folks
using deprecated identifiers will ideally get warnings from Cargo
and/or crates.io, but can carry on with the old identifiers if they
don't have time to update.
And there's a script in flight with #11 to automate bumps.  @nodakai,
do you expect to have time to get back to that in the next month or
two?

@wking will do my best...!!

#11 has landed, so once we cut a release here we can move forward with the Cargo and crates.io updates.


Convert-ModifiedObjectsToAl doesn't create Page Extensions

Convert-ModifiedObjectsToAl  in version 11.0.20258.0 does not convert page modifications.
It worked previously in 11.0.19394.0.

This is fixed in the version of navcontainerhelper shipped today.
The problem was that Compare-NavApplicationObject got a new parameter -ExportToNewSyntax and the navcontainerhelper didn't set that.


engine: isolate buildkit client+session to each client

This is a spin-off of work on https://github.com/dagger/dagger/issues/6747, which has proven itself to be a fountain side-quests all over the codebase. Splitting that effort up into separate PRs for everyone's sanity. There will be at least one more pre-req PR (for improving dagql ID digest performance to support walking IDs efficiently) before the "final act" of the actual user-facing features.
This change results in each client getting its own buildkit.Client and buildkit Session. As a side-effect, this results in each client also getting its own buildkit solver.Job since Job+Session are tied one-to-one in the buildkit implementation.

It turns out each Job in buildkit doesn't have much expensive work associated with initializing it or any state we want to be shared; all of that is in the solver.Solver which is still shared across the whole engine process.

The ultimate goal here is to scope session attachables (sockets, secrets, auth tokens, terminal endpoints, etc.) to each Function based on what it was passed as args (either directly or transitively as part of the DAG underlying an arg). That isn't fully implemented yet; even though each Function now call gets its own buildkit.Client, the session attachables are currently still shared amongst those clients (same as before). But this gets the buildkit-related groundwork+refactoring out of the way.
Implementation details:

Each schema.Query for a given module client is now stored in the ClientCallContext. Most of the state is still shared, except for the buildkit.Client which is now set per-Query object.
This all required some rearranging of the BuildkitController, DaggerServer, APIServer, and buildkit.Client objects and their interactions. I also did some extra cleanup+consolidation while I was in the area.

schema.APIServer is no more; I consolidated it into server.DaggerServer. The split between the two didn't really make sense anymore after these changes (and not sure how much it ever did tbh, they were just two layers of HTTP servers). cc @vito @jedevc in case you are wondering where that code went 🙂
I fixed up the dumb hack of (ab)using the BuildkitController's Solve method to implement upstream cache exports; that's now done in the /shutdown endpoint. So now clients only ever interact with the Session method.

There's a couple minor TODO comments left to double check a few things that might have subtleties, but good to review.

Future note - we have to be really careful when we start splitting out the session. A super contrived example: if I create llb.Local with a session ID from one module, and consume in another module, we'd need to make sure to add the required Session ID to that local op as it moves between sessions - or add the requested local name to the second session.
This applies for everything that can be attached to sessions (the above is contrived since we don't use llb.Local in this way today). These cases actually might be missed by our tests because it's affected by cache as well (if module 1 Syncs the output, then module 2 gets the cached result, even though it could have a different session). So we should probably make sure we are handling these test cases when we do this refactor.

Yeah today we do put the SessionID in the local LLB (code) and then also avoid all of this entirely due to Blob-ification. So until all that changes I think we have multiple levels of safety guarding against this. But yeah if that changes sometime down the line it will indeed require careful handling.


Develop

There are two major improvements in this pull request:

completion of VERSPM
revisions to VERPAT inputs structure

Still to do:

update and test install.R (and then update Getting Started page once pulled to master)

We may have to turn off testing for the first test so we can re-build the package cache in order to avoid the Travis timeout issue

#178


Make search public

Currently the search page is only available to users who are logged in. Now that we have the ability of keep some data private and some data public, the search page should be available to users who are not logged in. Same with the API endpoint.
We need to double check permissions of what gets returned and make sure making the page public doesn't create any issues.

http://localhost:9000/metadata/search has been available w/o logging in; so assume search fix closed this


Bug: wrapper is uploaded quoted but is already shell-escaped

git_wrapper_path is created shellescaped
later, in :wrapper, the upload! invocation uploads the file inside quotes ("") which makes the shellescape double (or literal, if you will)

See #1840, or the exact comment

Steps to reproduce
Have a UNIX username with escape-worthy characters in, e.g: Charlemagne (Charles the Great) (spaces AND parentheses).
This is an unlikely and horrible scenario, but which happened.
Expected behavior
The upload! and chmod steps should refer to the same file.
Actual behavior
The upload! and chmod steps refer to different files if any escapable characters are in the created filename. This will fail the chmod step, which now probably points to an unknown file.

Background: The unlikely scenario was triggered by https://github.com/Shopify/shipit-engine/commit/83d46c8ecb5cfc6466ff9bba95e2cabcc3861ad0


ChatAPI - ERROR - HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f481233f640>: Failed to establish a new connection: [Errno 111] Connection refused')))

How can I solve this problem:
ChatAPI - ERROR - HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f481233f640>: Failed to establish a new connection: [Errno 111] Connection refused')))

Hi, @yansuoyuli ,
Looks that is some problems related to your network environment. Make sure you can successfully run the official openai demo first.

Dear Duan,
I can run the demo successfully.
---Original---
From: "Haodong @.>
Date: Sun, Aug 25, 2024 21:59 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [open-compass/VLMEvalKit] ChatAPI - ERROR -HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceededwith url: /v1/chat/completions (Caused by ProxyError('Unable to connect toproxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at0x7f481233f640>: Failed to establish a new connection: [Errno 111] Connectionrefused'))) (Issue #406)
Hi, @yansuoyuli ,
Looks that is some problems related to your network environment. Make sure you can successfully run the official openai demo first.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

hello, I meet the same question, did you solve it?


chore(Algebra/Group/AddChar): move results

Currently the definition of additive characters (from an additive to a multiplicative monoid) is hidden away in
NumberTheory/LegendreSymbol. These constructions seem to be getting used more widely, e.g. in Yaël's LeanAPAP project; so this PR carves off the parts of NumberTheory/LegendreSymbol/AddCharacter which don't depend on cyclotomic field arithmetic and moves them to Algebra/Group.

bors r+


Add prefix lists to security groups configuration

The security groups terraforming was generating were missing prefix lists. This adds them, as well as some tests.

Coverage remained the same at 100.0% when pulling f5f3c4118537c98fda8d4f75f9b73aa9b1f13c37 on julia-stripe:security-group-prefix-lists into f41bef2aaa1fde46f207f2dcda41db735f5b0941 on dtan4:master.

Coverage remained the same at 100.0% when pulling f5f3c4118537c98fda8d4f75f9b73aa9b1f13c37 on julia-stripe:security-group-prefix-lists into f41bef2aaa1fde46f207f2dcda41db735f5b0941 on dtan4:master.

LGTM 👍 Thanks ❗


issue164 Remove schedule and schedule event test from core-metadata

Signed-off-by: Cherry Wang<EMAIL_ADDRESS>fix #164

@cherrycl please remove those lines and delete the related files


GetSavedAlbums doesn't return album data

So, I'm playing around with the GetSavedAlbums and the method returns 16 items and when I look at the items returned, the items have an added time, but don't have any item data, it's null.
I would love to look through the code and see if I could work on fixing it or at least tracing through the path to see how the calls are being made, but I load up the source in visual studio 2013 and I can't compile it due to errors.
public string GetAlbum(String id, String market = "")
    {
        if (String.IsNullOrEmpty(market))
            return $"{APIBase}/albums/{id}";
        return $"{APIBase}/albums/{id}?market={market}";
    }

my visual studio has an issue with the $ in return. I'm using .net4.5 any suggestions because I would love to work on seeing if I myself could possibly look into this and fix it

@cwsterling for the $ part check issue #65

@JimmyAppelt thanks, it's looking like it's because i'm running visual studio 2013 and not 2015. According to stackoverflow, i'm supposed to be able to install a nuget package and at least be able to compile it. visual studio will still bug out, but i'm supposed to at least be able to compile.

@cwsterling i would upgrade at least to VS 2015 as its free anyway
For GetSavedAlbums ... are you doing Authenticated calls ?

@JimmyAppelt I'll take a look. I don't want to mess up too much stuff as I'm on 2013 for work.
As for the GetSavedAlbums yes, I'm using the following scopes as well.
Scope = Scope.UserReadPrivate | Scope.PlaylistReadPrivate | Scope.UserLibrarayRead | Scope.UserReadPrivate

fixed in pull request #72 the saved album was being deserizalized incorrectly.


Good documentation required for configure this in any K8s cluster

Please add proper documentaion with example or create a short video and share with us

Hi,
Currently, we're working on implementing some improvements that I hope we'll be able to release in the next few days. Additionally, we'll gradually expand the documentation.
For deploying to any cluster, you can utilize velero-helm. There's an values-override.yaml file available that includes the necessary keys for configuring the deployment of velero-api, velero-ui, and velero-watchdog.


It keeps trying to load css as js

I keep getting this warning:

/components/NavBar/navBar/css.js” was loaded even though its MIME type (“”) is not a valid JavaScript MIME type.

My code is like so:
include(['/components/NavBar/navBar.css', '/components/Footer/footer.css']);

I don't know why it's replacing the dot with a / but it shouldn't be.

Alright, figured out it's supposed to be //components/NavBar/navBar.css, but then that fails to get served.  Still looking into it.


Upload and reactive forms

Is it possible to add the url value in a reactive form, so that i can add an image in a post inside my database?

Have no experience with reactive forms - can anyone answer this?

Do you want your image to be sent with other data (i.e. post title, the text itself)?

Yes that is exactly how i wish to send an image so that i can display it afterwards for each new post entry.
this.addPostForm = new FormGroup({             'name':         new FormControl(null, Validators.required),             'body':         new FormControl(null, Validators.required),             'author':       new FormControl(this.username, Validators.required),             'image':        new FormControl(null),             'category_id':  new FormControl(this.category_id, Validators.required),             'published_at': new FormControl(new Date, Validators.required),         });

You can do the following.

Specify no URL in the image-upload component.
Accumulate images from component in an array using uploadFinished method.
Set images field in this.addPostForm.value manually
Send everything in on request


Feature: Use Hangfire to handle and manage background and scheduled jobs

Describe the solution you'd like
Use Hangfire to handle and manage background and scheduled jobs
Example: Hangfire can be use to trigger jobs to sync IoT Hub Portal database and Azure IoT Hub
Remarks:
Jobs can be triggered as:

Background jobs
Scheduled/Cron
Manually using Hangfire Dashboard or custom screen/api to interact with Hangfire

Features to enable:

[ ] To avoid data loss on the traceability of jobs; Use database to persist jobs infos and metadata related to Hangfire
[ ] Enable Hangfire Dashboard (or create custom pages on IoT Hub Portal) to monitor and administer jobs

[ ] Secure access to Hangfire Dashboard: Only for Admins

Hangfire is under LGPL License.
Would be preferable to use MIT licensed Framework to operate...


inconsistent nested form in Phoenix.Html.Form

Describe the bug
when inspecting the Phoenix.Html.Form
{inspect form.source.forms[:nested] }

if I haven't added any forms with add_form, it gives []
but, if i add_form, then remove form, it is nil
Expected behavior
A clear and concise description of what you expected to happen.
** Runtime

Elixir version
Erlang version
OS
Ash version: main
any related extension versions

Additional context
Add any other context about the problem here.

I think this may actually stem from a slighly incorrect usage of add forms, i.e remove_form(form, [:nested]) where [:nested] is a :list type nested form, meaning to remove a form there you should actually pass an integer. However, I'll handle that case and make that logic remove all forms.

This is what i'm passing to remove_form, to remove the last item from the form:
"project[staff][0]"
which results in the nil form, not empty list

Is it still
Happening after the latest update?

Yes, still happening

Very surprising, looking at how remove_form does its work when given an integer...
    new_forms =
      form.forms
      |> Map.put_new(key, [])
      |> Map.update!(key, fn forms ->
        forms
        |> Kernel.||([])
        |> List.delete_at(i)
        |> Enum.with_index()
        |> Enum.map(fn {nested_form, i} ->
          %{nested_form | name: form.name <> "[#{key}][#{i}]", id: form.id <> "_#{key}_#{i}"}
        end)
      end)

    %{
      form
      | forms: new_forms,
        any_removed?: form.any_removed? || any_removed?,
        touched_forms: MapSet.put(form.touched_forms, to_string(key)),
        form_keys: new_config,
        opts: Keyword.put(form.opts, :forms, new_config)
    }

Reading that code it looks like we should be setting the key's value to a list effectively unconditionally.

Oh, I wonder, are you passing validate?: false into it? If you aren't then nil in forms may actually make sense...

ah, ok, so confirmed, when validate?: false, I'm left with an empty list, when validate, it's nil. So it sounds like i need to validate the form on create to get a consistent behaviour (always nil if no nested forms)?

actually, no that doesn't work. it's still an empty list if i validate on create (assuming validating with an empty params map would actually do any validation?).
Feels a bit weird, but i can work around it with a wrapper perhaps

Oh, this fixes it (after creating the form): form = AshPhoenix.Form.validate(form, AshPhoenix.Form.params(form), errors: false)

Yeah, so I think in the same way that we now include a validate in add_form and remove_form, it feels like we need to include a validate on form create, if that form contains nested forms that could be added later (if we want to experience the same behaviour wrt no nested forms currently added)

Yeah, so I think it may just not be a guarantee that we necessarily need to make, as long as it behaves properly when adding/submitting. So really it seems like you just need a function in AshPhoenix to give you an API for what you're doing, and it can be Ash's problem that the form there may be an empty list or nil at some point internally.

Open to ideas for that interface function, i.e get_forms/2 or has_form? accepting a non-integer last path and checking if the list is empty or nil.

Yes, sounds good. I thought i might have been digging into the internals.
Would get_forms/2 only apply to nests :list type forms? If so, get_forms/2 that (when empty) returns an empty list sounds good. If it can work for :single type forms too, then you would expect that to return nil, although I'm not sure that is needs to work for singles, as we have get_form already?

I think we could make it work for single forms, we just want it to have a consistent return type, i.e always a list.
has_form?/2 exists already that will tell you wether or not there is a form at a given path and it works for lists, singles, and also just "are there any forms at a list path", maybe that actually does what you want come to think of it?


[AzureFunctions]Clean up Azure Functions Java documentation

Remove https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-java#function-method-overloading

@asavaritayal - Can you please add link where NotificationHub Output binding documentation needs to be deleted?

Thanks for the feedback! We are currently investigating and will update you shortly.

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

ID: 5e85de04-2f8b-68ea-eeb9-dcc65f216332
Version Independent ID: db26953c-f234-3828-4c38-493ad410e25a
Content: Java developer reference for Azure Functions
Content Source: articles/azure-functions/functions-reference-java.md
Service: azure-functions
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Hi @pragnagopa Thank you for your feedback! We have assigned this issue to the author to investigate further and take the right course of action.


Add UMA feature

This PR is dependent on https://github.com/wso2-extensions/identity-oauth-uma/pull/11

Closing this PR since the above PR is pending code review, will reopen once the above PR is merged.


errcheck

We should be runinng errcheck. This might cause some grief.
I'm not sure what the best approach to errcheck is, but we definitely have missed a few bugs that would have been caught had we been using errcheck.
But there are also lots of examples of harmless failures in errcheck, it's not clear whether we should be rigorous or find some way to explicitly ignore certain errcheck warnings.

done


Update s3, sdk-core, sqs to 2.16.18

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.15.82 to 2.16.18.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-minor

Superseded by #111.


[GHSA-2jv5-9r88-3w3p] python-multipart vulnerable to Content-Type Header ReDoS

Updates

Affected products

Comments
Starlette is not vulnerable to this vulnerability, only python-multipart is. Fixing commit https://github.com/encode/starlette/commit/13e5c26a27f4903924624736abd6131b2da80cc5 only bumps python-multipart version.
fastapi is not vulnerable to this vulnerability, only python-multipart is. Fixing commit https://github.com/tiangolo/fastapi/commit/9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc only bumps python-multipart version.

Hi there @Kludex! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

This bot is cute.


Fix bundle manifest URL assignment

This PR fixes the bundle release URL assignment in the EKS-A releases manifest.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick main


Individual Survey - Anna

Need to fill in this survey
https://docs.google.com/a/sheffield.ac.uk/forms/d/1aXlqxFk6uJbB0k7QICteI5CP3lVczZKyjmgeNibX0Oc/viewform

Anna. Have you done this?

Yes, did that on monday


Driver [mongodb] not supported.

I just upgraded my laravel project from 5.0 to 5.1.
Another project is working fine which I started in 5.1, so I might just have to change something somewhere? Any Idea?
Here is my database.php mongodb driver
'mongodb' => [
            'driver'   => 'mongodb',
            'host'     => env('DB_HOST', 'localhost'),
            'port'     => env('DB_PORT', 27017),
            'database' => env('DB_DATABASE'),
            'username' => env('DB_USERNAME'),
            'password' => env('DB_PASSWORD'),
            'options' => [
                'database' => 'admin' // sets the authentication database required by mongo 3
            ]
        ],

Nevermind..  :/


PHP composer package for Chart.js is broken because of missing dist directory

Expected behavior
When downloading Chart.js via PHP Composer, a dist directory is expected in order to include min files directly in projects.
Package : https://packagist.org/packages/nnnick/chartjs
In previous release this dist directory was present : https://github.com/2amigos/yii2-chartjs-widget/issues/44#issuecomment-582378431
Current behavior
There is no dist directory. When downloading package we get only dev files which are less relevant.
chart.js version
v4.3.3

heyy I would like to contribute ? is he issue still open

Yes still open 🙂

Is there any update on this?

Issue is caused in v3 release.

see https://github.com/chartjs/Chart.js/pull/7827

It think its easy to fix with a github workflow that runs npm build and adds files to PR (as in https://github.com/chartjs/Chart.js/pull/7827/files#diff-1bba00e5aca52286a667c09eff92ba2ca8e3ca77e0d31b0599cc829ab0173389)
I want it for OpenMage, but we dont npm. :smile:
Can i help?


While Loading GLB, the geometry gets weird

While loading the GLB, the geometry mesh becomes wierd. Do you know, why?

Having the same issue. Updated drei to latest version 9.88.17 so environment maps will load and also getting weird geometry with the starting scene. Not sure if @FarazzShaikh has a fix or is still maintaining this library?

Guessing we are both using M1 apple devices? I see there's an open issue on three-gpu-pathtracer with a similar issue — could be an apple bug. https://github.com/gkjohnson/three-gpu-pathtracer/issues/464

Upstream issue seems to be fixed. Please try it again and re-open if it persists.


Mention license

Hello,
could you add a quick mention of a license somewhere? Now it just looks like it doesn't have one at all. Which restricts usage quite a bit!
Thanks

There is a license over here: https://github.com/alexbeletsky/elmah-mvc/blob/master/COPYING.txt
Got it?

Oh yeah, didn't even see that, sorry!


How to load a local embedding model.

I don’t see in the documentation how I can instantiate an embedding model from my local file system give the file path to the downloaded embedding model.
I’m assuming this reaches out to hunggingface and stores the embedding model in local cache somewhere.

#40 should resolve this.

Currently, the specified model is downloaded and cached locally.
With #40, you should be able to use any local model files.

Thanks for the fast reply. I see other sentence transformer models on the supported list so if I wanted to bring my own model like all-mpnet-base-v2 when it’s merged without issues?

You could also do a PR to add the model to the library.
For example: https://github.com/Anush008/fastembed-rs/pull/36

Resolved with https://github.com/Anush008/fastembed-rs/releases/tag/v3.3.0.


I am unable to run it in a Jetstream/Inertia based application

Thanks in advance for taking care of this! 😃
Describe the bug
After following the installation steps, the application crashes.
Expected behavior
After installation and attachment to the Vue application, everything should work.
Screenshots
Package.json

app.js

Error message on Chrome Devtools

Environment (please complete the following information):

OS: MacOSX
Vue Version Vue 3.0.5

@vedovelli I'm looking into this.  Stand by.

Thank you @patinthehat ! It works like a charm!

// import RayPlugin using require()
const { RayPlugin } = require('vue-ray');

With a Laravel 9.5.1, Inertia Vue 3.2.31 Jetstream application this is the only way I could get this to work:
require('./bootstrap');
require('./credits');

import { createApp, h } from 'vue';
import { createInertiaApp } from '@inertiajs/inertia-vue3';
import { InertiaProgress } from '@inertiajs/progress';

// This is the only way to get it to work...
const { RayPlugin } = require('vue-ray');

const appName = window.document.getElementsByTagName('title')[0]?.innerText || 'Laravel';

createInertiaApp({
    title: (title) => `${title} - ${appName}`,
    resolve: (name) => require(`./Pages/${name}.vue`),
    setup({ el, app, props, plugin }) {
        return createApp({ render: () => h(app, props) })
            .use(plugin)
            .use(RayPlugin, {
                interceptErrors: true,
                host: '<IP_ADDRESS>',
                port: 23517,
                showComponentEvents: ['created', 'mounted', 'unmounted', 'updated'],
                nodeRaySettings: {
                    interceptConsoleLog: true,
                },
            })
            .mixin({ methods: { route } })
            .mount(el);
    },
});


SW-3897 Add "planting complete / undo" functionality

Allow selecting rows in table
Show "Planting Complete" and "Undo planting complete" buttons on top bar
Add bulk set planting complete thunk
Refresh table after success

Nice 🎉 A few suggestions, if you can follow up. Re: confirmation modal feel free to create a new ticket if needed

Yes, I will add confirmation modal in a new pr. Also, for undo planting, we have the warning modal, should the status modal appear after confirming the action?

I just saw we have to show a success snackbar, we have the task already created!

Nice 🎉 A few suggestions, if you can follow up. Re: confirmation modal feel free to create a new ticket if needed

Yes, I will add confirmation modal in a new pr. Also, for undo planting, we have the warning modal, should the status modal appear after confirming the action?

Cool thanks.. we can look into this when we work on the warning modal?


user-self register

uses new api to allow anonymous user to create an account but without any permissions

code adjusted @iammukeshm  @fretje


Multiple IPs  for env ALLOWED_NETWORKS

Hello,
Is there a way to pass multiple IP addresses using ALLOWED_NETWORKS environment variable?

Hi, yes there is. Just separate the IPs or networks by space. It's mentioned in a comment in the Dockerfile.

how its possible to use basic auth, with set allowed_networks to all?

@Ratte443 just don't set ALLOWED_NETWORKS at all? By default, tinyproxy allows all unless you set Allow or Deny (https://linux.die.net/man/5/tinyproxy.conf search for "allow,")


[ibex] Initial hjson testplan draft

Signed-off-by: Udi Jonnalagadda<EMAIL_ADDRESS>

Udi, is this effectively converting the https://github.com/lowRISC/ibex/blob/master/dv/uvm/riscv_dv_extension/testlist.yaml file into json? Anything specific you'd like me to review?

Udi, is this effectively converting the https://github.com/lowRISC/ibex/blob/master/dv/uvm/riscv_dv_extension/testlist.yaml file into json? Anything specific you'd like me to review?

Yes, this PR is just a conversion to json, to match @sriyerg's testplan formatting to get us to V2 as per the ibex milestone checklist. Since you've already seen the YAML testlist that we use for our flow, there's really nothing new here.


ARROW-3885: [Rust] Update Rust version to 0.12.0

I wonder if this is something we could automate as part of the release process.

I will attempt to do that ... looks like it is easy enough with sed

@kou I agree with you. One complexity is that we need to be able to produce development version numbers using setuptools_scm when building the Python wheels. Feel free to open a JIRA and we can discuss

I've opened https://issues.apache.org/jira/browse/ARROW-3938 for general version update.

@wesm @kou This is ready for review again

Thanks. CI is green. But GitHub says "This branch cannot be rebased due to conflicts". I'll rebase on master again.


Changed  stdout example to match file names

Not sure if this is correct but I was having issues getting non-matching file names to work

@droxey, could you check this when you get a chance?


Implicit conversion loses integer precision in MacOS

I have some warnings when compiling the SFML with Xcode on MacOS 10.11 (+ #1122 ).
The "std::size_t" in the 64-bit environment of MacOS is not an 'int' but a 'unsigned long' (link). Several functions are passing an 'int' to an 'unsigned long' which loses the integer precision. It shouldn't be an issue in this direction but I still have several warnings.
There is the same issue with 'ssize_t' giving a 'long' instead of an 'int'.

I'm sure @mantognini will have a look. Keep in mind however that according to our Contribution Guidelines we like to use the issue tracker for confirmed issues only. :wink:

Can't reproduce with CI. Please open a discussion on the forum with precise step to reproduce the said warnings if you really have such an issue with SFML and not your code.

Maybe I just learned it under a different term, but what's "integer precision" and why should it be lost on upcasting? A long int can represent all values an int might take. Of course there's the signed/unsigned difference, but even there no data is lost.
MSVC spits out a few warnings regarding implicit casting as well, but these are pretty much just cosmetic (sane values won't cause problems).
Could you name any specific examples of problematic lines or lines the compiler complains about?

What compiler are you using? Clang and gcc didn't give me warnings on Unix
(Yeah I k ow it's different but compilers should have similar
functionality)
On 10 Sep 2016 07:03, "Mario Liebisch"<EMAIL_ADDRESS>wrote:
Maybe I just learned it under a different term, but what's "integer
precision" and why should it be lost on upcasting? A long int can represent
all values an int might take. Of course there's the signed/unsigned
difference, but even there no data is lost.
MSVC spits out a few warnings regarding implicit casting as well, but these
are pretty much just cosmetic (sane values won't cause problems).
Could you name any specific examples of problematic lines or lines the
compiler complains about?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SFML/SFML/issues/1145#issuecomment-246092325, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKaur1Y8DcK-Jh5_bgstLfdsHCulkedrks5qokgbgaJpZM4J2zBd
.


fix: correct parsing variable starting with for

What does this do / why do we need it?
When we use variables starting with for, such as formula and forest,  in tag template, we get an error below.
SyntaxError: "in" expected after expression:

How does PR fix the problem?
In for statement, single whitespace will be required after for string.
What should your reviewer look out for in this PR?
I confirmed that if statement doesn't have the same problem, so I'm not confident that this approach is appropriate.
References

Playground: https://scaff.dog/playground?code=H4sIAAAAAAAAA1NWCEssykxMykkt5uLSVUjLL8otzUm0UkgoSS0uSeDiUlZIqK5WyMwrKC0p1stLzE1VqK3VK6kASSUkJJRUFqQWJxdlFpRwAVVBNQNVgOS4AAy9ei1bAAAA&input=H4sIAAAAAAAAA4uuVspOrVSyUspLzE1V0lEqS8wpTQVyi5MT09JS8tOVamMBz%2B0iZCMAAAA%3D

Sorry for the delay in the release ;)
This fix has been released in v4.0.0. I would appreciate it if you could check it out when you have time :+1:


Docker 20.10.6  breaks ddev project

Describe the bug
Updating docker to 20.10.6 breaks ddev projects
To Reproduce
Upgrade docker to 20.10.6
Expected behavior
That nothing breaks. I don't think its necessarily a problem with ddev..
Version and configuration information (please complete the following information):

Host computer OS and Version: [e.g. Windows 10, macOS Big Sur, Linux (distro), WSL2 (distro)]
Docker Desktop version if on macOS or Windows (from "About Docker Desktop")
ddev version information (use ddev version)
config.yaml contents for the misbehaving project (the part before the comments)
Do you have any custom configuration (nginx, php, mysql) in the .ddev folder? If so, have you tried without them?

Additional context
It seems related to this problem that basically it tries to use ipv6 whcih ddev does not support. I am not 100% this is a problem on ddev side or docker..but thought it would be good to point out.
Downgrading to 20.10.0 e.g. solves the problem

Maybe you can say what OS you're on and fundamental details like that? Please fill in the requested information above. "Host computer OS", etc.
The issue template also asks you to:

Please run a quick diagnostic and post the results as a new gist on gist.github.com (or on another pastebin-type site if you prefer). You can download test_ddev.sh and run it per the instructions at the top. That will help so we don't have to ask so many questions... And it it works, it probably means there's something wrong with your project, not ddev. Put the link to the gist here.

I'm not seeing any trouble with docker 20.10.6 on Ubuntu 20.04. In addition to the diagnostic and filling in the required details, if you can say exactly what happens it will be useful.

Hello,
I have updated the issue with some more info. I will also ask internally for someone with a bit more ddev experience to test it in our setup this could also be related to custom config (which I think we have a lot).
Feel free to also close the issue if this is not happening generically in ddev, I have the URL as a reference anyway and in case we find what is causing it we can reopen if we think it can be useful for ddev

Please run the test_ddev.sh as requested in https://github.com/drud/ddev/issues/2967#issuecomment-826985076 and post the results as a gist, thanks.

This change in 20.10.6 broke one ddev test, but I didn't see it break anything else: https://github.com/moby/moby/issues/42313

I hope you can provide the details of what your problem was, but haven't heard from you and unable to recreate whatever the problem was, so I'm going to close this. I'm happy to continue the conversation here or elsewhere, and looking forward to hearing what the actual issue was.


Formulating an Information Based Using Prolog

Proposed title of article
Formulating an Information-Based Using Prolog
Proposed article introduction
Prolog or PROgramming in LOGics is a logical and declarative programming language used to create artificial intelligence.
In Prolog, we need not mention the way how one problem can be solved, we just need to mention what the problem is
so that Prolog automatically solves it.
You need to formulate your KB so that the questions can be answered correctly, but you must abide by the following
rules:
• Your KB must not contain any fact that is just an instance of one of the questions.
• Each question must require at least two rule firings (resolution steps).
• Background knowledge must be in terms of general categories which contain the individuals.
• Your background knowledge need not be strictly true, but generally reasonable and appropriate for answering
the questions.
In this tutorial, we will be covering the key components of working with the Knowledge-Based. Tools to be used are SWI-prolog and an editor.
Key takeaways

Creation of facts.
Creation of rules to be used.
Query implementation and execution.
Understanding relations in prolog.

Article quality
This article is designed in an eccentric way for easier understanding and consumption for a beginner and above. It covers extensive details on the knowledge-oriented paradigm also to mention.
References
N/A

Too many grammatical errors in the topic suggestion. Please submit a new issue. Thank you.


bojite, ellipsoid

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[b,e]

/trunk merge


No module named 'six'

alpha0.5 branch
When running OpenWormData/scripts/insert_worm.py or serialize_it.py the interpreter complains about not having six.
Just mentioning this here as a reminder for when #79 gets implemented and (perhaps) fails on CI.

Do you have six installed? It's normally pulled in as a transitive dependency of one or more of our direct dependencies.

Had to install it with pip then everything was fine.
This was after doing python setup.py install in a fresh virtualenv.

You're saying that six wasn't installed after python setup.py install? In that case, does six show up anywhere in the output from the install, either showing as being installed or showing error?

Just tried reinstalling in another two new virtualenvs and it works perfectly with either python setup.py install or python setup.py develop, and since I can't go back far enough in history to see what happened during the install without six, I have no idea what went wrong. :confused:
Going to close this until someone else reports something similar.


Change to use std::abs

Replace self-implemanted logic to std::abs. Verified the results locally.

@JkSelf @jinchengchenghh Please help take a review, thanks!


404 link in Chinese page '使用 Helm 安装 Service Catalog'

This is a Bug Report

Problem:
404 link in Chinese page '使用 Helm 安装 Service Catalog'.
Page : https://kubernetes.io/zh/docs/tasks/service-catalog/install-service-catalog-using-helm/
Link : 服务目录
Proposed Solution:
Change to right link
Page to Update:
https://kubernetes.io/zh/docs/tasks/service-catalog/install-service-catalog-using-helm/

/accept

/assign @gaoguangze111

Seems solved in #24734 , close now
/close
@gaoguangze111 you can comment closed: #<issue_id> in your PR next time so the issue it solved will closed automatically as soon as your PR was merged.


Retrieve Enum list of values

Hi,
I have a use case in my code where I need to loop through Enum values in order to generate a flag with binary operator. I would like to be able to call my function with every Enum values as an array.
I didn't find anything in the docs about that, is it something possible right now ?
Here is the related function :
// Security checks are omitted for better clarity
static flagEncode(booleans, binaryValues)
{
    let flag = 0;

    for (let i = 0; i < booleans.length; i++)
        flag |= booleans[i] ? binaryValues[i] : 0;

    return flag;
}

And here is what I'm trying to achieve:
let booleans = [0,0,1,0,1];

let flag = flagEncode(booleans, [1, 2, 4, 8, 16]); // gives 20
let flag = flagEncode(booleans, MyEnum.values()); // gives 20 as well

// MyEnum should be retrieving the same array as the first call => [1, 2, 4, 8, 16]
// The corresponding enum would be the following
const MyEnum = Enum.create(
{
    name: "MyEnum",
    identifiers:
    {
	IDENTIFIER_A:	  1,
	IDENTIFIER_B: 	  2,
	IDENTIFIER_C:    4,
	IDENTIFIER_D:    8,
        IDENTIFIER_E:    16
    }
});

Edit:
Seems like you're already getting the values on this file, but just not using them for this purpose.
As they are already there, I don't think that would hurt to add a Enum.getValues() function to this file in order to be able to get the whole values as an array.
https://github.com/jagi/meteor-astronomy/blob/eb3cf960fe8f330b19fcc62b15a92f551ed63783/lib/modules/fields/Enum.js#L43
I will propose a PR in order to add the function to the package so we can get the values from the enumeration, if that's okay for you.

Good idea. Merged PR


Switching to an unsaved analysis node with changes doesn't enable apply button

As reported by @xavijam

We should either:

Show the stored values instead of the previously entered ones
Mark Form models as dirty and enable the apply button accordingly

If we do the latter, be careful when applying, since we have to selectively remove attributes so they don't end up in the AnalysisDefinitionNode

Also, if you left the form in an invalid state, the error is not shown again when you come back to this form.

Not happening anymore since we changed the analysis workflow view.


Feature/Analytic for Agent

These 3 are working on Langfuse:

Conversational Agent
MRKL Agent for Chat Models
MRKL Agent for LLMs


About site APIs

How a site creates a Dat (I mean the script used) ?
Also, how this site reads/writes to a Dat?
How it parses/writes to its JSON?
How it lists files?

Thanks in advance

Okay @DaniellMesquita, I really need you to take a pause on all the issues you're opening. Do you really need this question answered? It takes time for me to respond to these.


Distribution constant 15.x fixes

Description
Various changes were made in 15.x which broke many of our users due to some static linking to various paths. This PR works around much of this by using constants where it makes sense. Please let me know if you want me to refactor how I implement any of those. This also provides a fix for our users when migrating from 14.x to 15.x.
Issues Resolved
[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussions that are relevant]
Check List

[ ] New functionality includes tests
[ ] All buildkite tests pass
[ ] Full omnibus build and tests in buildkite pass
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/main/CONTRIBUTING.md#developer-certification-of-origin-dco
[ ] PR title is a worthy inclusion in the CHANGELOG

Thanks @ramereth. These changes look good, but we'll need to run this through our omnibus builds/test pipelines, which means creating an in-repo branch from these changes.  We'll get that going this week.

Looks okay, will need to be tested.

See https://github.com/chef/chef-server/pull/3471