Store registry in database instead of filesystem

This is a PR to review the core pieces of the conversion of the registry from a filesystem to a database. As you all review and consider this, I'll work on running ArangoDB in GitHub CI as a container and add a single test. I do have the full functionality working locally in a separate branch, but I don't want to make the PR too huge.

@elainethale You can now test this locally. After you run pytest tests/test_registry_management there will be a test-dsgrid database. You can install ArangoDB natively or use Docker. If you use Docker, follow the steps in the .github/workflows/pull_request_tests.yml.


Add .NET Interactive and Jupyter extensions to stable and insiders.

The upload instructions were a little unclear on who does what, so I already uploaded the vsix files to our extension blob storage.
.NET Interactive vsix: https://sqlopsextensions.blob.core.windows.net/extensions/dotnet-interactive-vscode/dotnet-interactive-vscode-1.0.3175020.vsix
Jupyter vsix: https://sqlopsextensions.blob.core.windows.net/extensions/jupyter/ms-toolsai.jupyter-2021.8.1046824664.vsix

Galleries updated (and fixed) - and galleries list updated as well!


Vertex AI Task sample source code

Vertex AI Task sample source code.

@ssvaidyanathan - do you mind reviewing this PR? This is for a blog post I've been working on with Vikas. Thanks!


Fix Kyuubi will wait until timeout even spark driver has shutdown in client mode

   ❨?❩

Please add issue ID here?

Fixes #264
Why are the changes needed?

In client mode, Spark driver may be shutdown due to some problem, e.g., permission issue. The exit code will return 0 since the linux process exit normally. It's no meaning to wait until timeout if driver has already shutdown.
Test Plan:

Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before make a pull request

cc @yaooqinn @xjzrc

cc @yaooqinn @xjzrc

Close this now, will create a new with some refector.

Close this now, will create a new with some refector.


Attempt to coherce old to recent schema versions on deserialization

Add a validation method to the base classes that can be inherited
A warning should always be emitted.

Closed via #2


Connecting ESP32-S2 and USB Modem - Error HUB: Root port reset failed

Hi Chegewara,
I am trying to use your USB Host CDC-ACM to connect an LTE Modem via USB to my ESP32-S2 using development board.
The USB port Modem-side is powered-on and D+ and D- correctly connected.
Unfortunately, I have the following error and no other events happen.
I (261) cpu_start: Starting scheduler on PRO CPU.
I (326) : install status: 0
I (326) : client register status: 0
E (576) HUB: Root port reset failed
E (131536) HUB: Root port reset failed
E (135496) HUB: Root port reset failed
E (139316) HUB: Root port reset failed
Might you help me with some suggestions on how to proceed?
Do you know what does this error mean?
Thanks a lot in advanc e for you help.
BR,
Lorenzo.

Please try to change this value to 255 in menuconfig CONFIG_USB_HOST_CONTROL_TRANSFER_MAX_SIZE.
May be related:
https://github.com/espressif/esp-idf/issues/7799


canvas.getContext expects incorrect contextType

https://github.com/kbirk/webgl-mock/blob/master/src/HTMLCanvasElement.js#L18
It should take experimental-webgl as the contextType argument, instead of webgl-experimental.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext

Thanks for the PR!


Handle PermissionError when trying to access executable

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Issue running Dymola in parallel
What are the significant changes in functionality due to this change request?
Able to run Dymola in parallel

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[x] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[x] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[x] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Test CentOS 8 on 1e16ce2 : invalidated by @joshua-cogliati-inl
Failed with ssh: connect to host github.com port 22: Connection timed out

Job Test Fedora 31 on 1e16ce2 : invalidated by @joshua-cogliati-inl
Failed with ssh: connect to host github.com port 22: Connection timed out

Job Test Fedora 32 on 1e16ce2 : invalidated by @joshua-cogliati-inl
Failed with ssh: connect to host github.com port 22: Connection timed out

Job Test Ubuntu 16 on 1e16ce2 : invalidated by @joshua-cogliati-inl
Failed with ssh: connect to host github.com port 22: Connection timed out

Job Test Ubuntu 18 PIP on 1e16ce2 : invalidated by @joshua-cogliati-inl
Failed with ssh: connect to host github.com port 22: Connection timed out

Job Test Ubuntu 18-2 Python 3 on 1e16ce2 : invalidated by @joshua-cogliati-inl
Failed with ssh: connect to host github.com port 22: Connection timed out

All jobs on 1e16ce2 : invalidated by @wangcj05

Job Test qsubs on 1e16ce2 : invalidated by @wangcj05
retesting

All jobs on 1e16ce2 : invalidated by @wangcj05
retesting


Allow nested drivers

Allows you to create a nested driver using a derive (Debug derive is needed as well due to RigDriver in CameraRig uses std::fmt::Debug), there might be a smarter way to make this abstraction, though I do not know how. Any input is highly appreciated:
use dolly::{
    driver::RigDriver,
    glam::Vec3,
    prelude::{Arm, CameraRig, LookAt, Position, Rotation, Smooth},
    rig::RigUpdateParams,
    DollyDriver,
};

#[derive(Debug, DollyDriver)]
pub struct Follow {
    pub rig: CameraRig,
}

impl Follow {
    pub fn init(transform: dolly::transform::Transform) -> Self {
        Self {
            rig: CameraRig::builder()
                .with(Position::new(transform.position))
                .with(Rotation::new(transform.rotation))
                .with(Smooth::new_position(1.25).predictive(true))
                .with(Arm::new(Vec3::new(0.0, 1.5, -3.5)))
                .with(Smooth::new_position(2.5))
                .with(
                    LookAt::new(transform.position + Vec3::Y)
                        .tracking_smoothness(1.25)
                        .tracking_predictive(true),
                )
                .build(),
        }
    }

    pub fn update(&mut self, position: Vec3, rotation: dolly::glam::Quat, target: Vec3) {
        self.rig.driver_mut::<Position>().position = position;
        self.rig.driver_mut::<Rotation>().rotation = rotation;
        self.rig.driver_mut::<LookAt>().target = target;
    }
}

Allows for:
In setup:
CameraRig::builder()
.with(Follow::init(
	  dolly::transform::Transform {
		  position: start_pos,
		  rotation: dolly::glam::Quat::IDENTITY,
	  }
)).build()

At runtime:
rig.driver_mut::<Follow>().update(
	player.position,
	player.rotation,
	player.position + Vec3::Y,
);

let transform = rig.update(time.delta_seconds());

Hey! Thanks for the ideas here! Now I'm kinda curious how you're using the nested rigs, and how you're composing your cameras 😄
I wonder if we need the macro magic at all... Without it, one can still write the rather simple
impl RigDriver for Follow {
    fn update(&mut self, params: dolly::rig::RigUpdateParams) -> dolly::transform::Transform {
        self.rig.update(params.delta_time_seconds)
    }

    fn as_any_mut(&mut self) -> &mut dyn std::any::Any {
        self
    }
}

And while it's more spammy, there's no implicit access to a field named rig here as the macro has right now. I personally only don't like having the as_any_mut here, but we can factor that out with some trait changes. Here's a quick stab at that, plus a sliiiiiightly tweaked version of your example: https://github.com/h3r2tic/dolly/compare/kick-out-asanymut

The LockPosition and LockRotation stuff seems quite useful! My main nitpicks there would be that the axis locking configuration can probably be done with just three bools (one per axis) instead of arrays, which I think would be easier to work with (especially if you want to change the locking at runtime), and not require the 'static lifetime references.
I think the rotation locking should also be doable by clearing the Quat x, y, and z fields, and re-normalizing the quaternion, but would need to test things to make sure I'm not being silly with my understanding of quaternions (and that would likely need extra care if all three axes of the quaternion become zero). I believe the proposed axis-angle variant will behave in a somewhat odd way since it will try to preserve the rotation angle, including the part of rotation around the axis being removed.

Per our discussion, I've removed the lock_rotation driver and moved it to a lock_rot branch here. The follow.rs example is now instead controllable using WASD to move either the player or camera.

Very cool, and neat example! Took me a bit to get used to the controls and realize what's happening -- the lack of shadows in the sample is not helping 😅 Might need to switch to some other renderer to make the samples clearer. Nevertheless, nicely done!
I'll do a bit of a clean-up of the follow.rs sample (with some comments and stuff) in another commit.

https://github.com/h3r2tic/dolly/commit/47a47a47288b407d75620b773aab110bcfce0638
I've removed the rotation and the arm from the camera, and did some minor cleanup of the runtime code (such as breaking out the input -> movement calculation to its own function).
The rotation was not being used (and if it was, the arm would rotate with it, looking rather funny). The arm was redundant with positioning of the camera. Perhaps those make sense in the context of a larger sample, where they're also being driven, but here it was better to simplify.
Hope this makes sense 🙂

Oh yeah, and I've released 0.2 with this 🥳. The user-facing traits have changed, so figured this was a potentially breaking change.

Yay! 🎉 I totally agree with simplifying examples (be explicit) as much as possible (also with the rename). Yeah, that trait might be a breaking change for some. Thanks!

Yay, happy to hear ❤


Added a Pipelines API to give original integrations response without unmarshalling

[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
[x] All static analysis checks passed.
[x] This pull request is on the dev branch.
[x] I used gofmt for formatting the code before submitting the pull request.

Let's add tests for the Get All Integrations API in pipelines_test.go.

Added tests for getAllIntegrations


Correct script name

As titled.

Codecov Report

Merging #7 (f4ff63d) into main (12d646e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines          513       513
  Branches        37        37
=========================================
  Hits           513       513


python3Packages.airthings: init at 0.0.1

Motivation for this change
Python module for Airthings
https://github.com/Danielhiversen/pyAirthings
This is a Home Assistant dependency.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python38Packages.airthings
python39Packages.airthings

Result of nixpkgs-review pr 139365 at 0855b1ef run on aarch64-linux 1

2 packages built successfully:

python38Packages.airthings
python39Packages.airthings

Cherry-picked into home-assistant.


Add prove verification error.

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#498  👈
#470
#468
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alonh5 and the rest of your teammates on  Graphite

Merge activity

Mar 20, 4:13 AM EDT: @alonh5 started a stack merge that includes this pull request via Graphite.


README Example

In the example in README.md, the time step needs to be 1.0 / 60 because 1 / 60 is interpreted as 0 and thus the simulation does not progress.

That's only true for Python 2.x. IMO, when you're using an older version of Python, you need to watch out for incompatibilities. However, since it's only a small change, I'll change it in the README file.

Okay, I just noticed that in your shebang on the top of the example, you were calling python which is usually associated with python 2.7.x. To indicate to your system (unless you are using Arch) that you would like to use python 3, you usually need to have python3 instead.
Thanks though.

I understand that not that many systems have Python 3 as default. However, I mostly work with virtualenvs, and then it's fine to have it like that. And I feel that we (as in: the world) should not linger on Python 2 any more ;-)

I see, you are a Python 3 supporter. What is so good about it anyway? I
heard they were going to take the functional programming aspects of Python
out of it.
--Alex
On Sun, Oct 18, 2015 at 2:27 PM Sybren A. Stüvel<EMAIL_ADDRESS>wrote:

I understand that not that many systems have Python 3 as default. However,
I mostly work with virtualenvs, and then it's fine to have it like that.
And I feel that we (as in: the world) should not linger on Python 2 any
more ;-)
—
Reply to this email directly or view it on GitHub
https://github.com/sybrenstuvel/Python-RVO2/issues/1#issuecomment-149036870
.

Well, with Stüvel as last name, you don't know how happy I am with a proper separation of bytes and strings. Besides that, I don't see any convincing reason to stick to an old, hardly developed version.

PS: I do want to support Python 2.7 with this library, as I like people using it for as many applications as possible ;-)

PPS: they're not going to remove functional programming aspects. Maybe they remove some functions like 'map' and 'filter', because they can both be replaced by list comprehensions (which are more expressive).

I looked through some stuff for Python 3.5 and I am quite pleased by the
function annotations. I think this will make me move to it.
--Alex
On Oct 31, 2015 07:06, "Sybren A. Stüvel"<EMAIL_ADDRESS>wrote:

PPS: they're not going to remove functional programming aspects. Maybe
they remove some functions like 'map' and 'filter', because they can both
be replaced by list comprehensions (which are more expressive).
—
Reply to this email directly or view it on GitHub
https://github.com/sybrenstuvel/Python-RVO2/issues/1#issuecomment-152723735
.


The focus event's handlers are not called after a click on an iframe's contenteditable body

T235186

I'm working on this.


Announce plugin for screen readers

This PR implements
Adds the Announcement plugin, which let's users define announcements via options on a per-event basis.
Does this PR require the Docs to be updated?
Yes, provided some docs for the announcement plugin.

@ianmart1n just pushed an update with some of your recommended changes 👍 Will merge this into the beta feature branch.
Feel free to continue commenting @ianmart1n & @svinkle,  changes can be addressed with follow-up PRs for the 1.0.0-beta.5 branch


Streamline volumeSrc data structure

The volumeSrc json defintions and data strucrtures in siibra-python are not very clean.  In particular we need to discuss revise this deep structure (dict of dict of lists):
https://github.com/FZJ-INM1-BDA/siibra-python/blob/8e89d3c7025c8685ece5b97a52b657118e3516f7/siibra/parcellation.py#L268
It is unclear and not documented what the 'key' (index to second dict hierarchy) is supposed to be and how it is interpreted. It is in general difficult to work with and understand such a deep structure, and it is unclear how to deal with multiple volume sources for the same space - which one to choose then?
Some first thoughts:

use the same "volumeSrc" structure in definitions of spaces, parcellation maps and regions. Currently, it's a list of volume sources in space defintions, a dict indexed by space for parcellation maps, and a 2-level dict indexed by space id and then "purpose" ("collect", "pmap") in region definitions. They should better always be lists, with appropriate attributes to disambiguiate them
let the from_json constructor of VolumeSrc resolve appropriately, so it can be tested against space, volume_type, "purpose", etc.

Adding to this, a similar parsing happens in the Region.from_json method, where I flattened the structure and assume there is only one volume source per space. Of course this is a contradiction from the form of the volumeSrc json files.

This has been solved with GH-82


[Bug]Getting error on response from doc.py function

I’ve been using Sanic on my GCP instance for two months now, however i had to restart it and all my configuration went blown.
Trying to reinitialize it, i got this error:
Traceback (most recent call last):
0|server | File “/opt/soporteventasdiemo/port/server.py”, line 160, in
0|server | async def partner_add(request, token:Token):
0|server | File “/usr/local/lib/python3.7/dist-packages/sanic_openapi/doc.py”, line 332, in inner
0|server | route_specs[func].response.append((status_code, routefield))
0|server | TypeError: unhashable type: ‘list’
I’ve tried reinstalling dependencies but nothing works, anyone has faced this issue before?
To Reproduce
@doc.tag("Sales Partners")
@doc.summary("JWT Req | Add Diemo sales partner")
@doc.consumes(SalesPartnerReq, location="body", content_type='application/json')
@doc.produces(SalesPartnerResp, content_type='application/json')
@doc.response(200, SalesPartnerResp, description="Good response")
@doc.response(401, {"message": str}, description="Unauthorized")
@app.route('/partner/add',['POST','OPTIONS'])
@jwt_required
async def partner_add(request, token : Token):
Expected behavior
Sanic server start.
Environment (please complete the following information):

GCP Ubuntu 18.04.4

I have the same issue with Sanic 19.12. I don't have any error with Sanic 18.12

More usable information:
Traceback (most recent call last):   File "src/main.py", line 301, in <module>     async def alive_check(request):   File "/home/dalexandre/.local/lib/python3.8/site-packages/sanic_openapi/doc.py", line 275, in inner     route_specs[func].exclude = boolean TypeError: unhashable type: 'list'
I can start my app by commenting all @doc.exclude(True) lines

I've deleted my comment as I'm not sure it's exactly the same issue.
@ray-t1 try to move the @doc lines after @app.route declaration

Hi @ray-t1, I apologize for my very late response. 😅
About this issue, please move @app.route('/partner/add',['POST','OPTIONS']) before other decorator. All decorators from Sanic-OpenAPI can only apply to Sanic’s route. So, please make sure all the decorator is behind app.routet(), thanks.
I'm going to close this issue first, and if you still have issues, please feel free to reopen it.

Hi @ray-t1, I apologize for my very late response.
About this issue, please move @app.route('/partner/add',['POST','OPTIONS']) before other decorator. All decorators from Sanic-OpenAPI can only apply to Sanic’s route. So, please make sure all the decorator is behind app.route(), thanks.
I'm going to close this issue first, and if you still have issues, please feel free to reopen it.

This worked perfectly! Thanks Jacob


Add Ubuntu Single Host for Gradle Check

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Add Ubuntu Single Host for Gradle Check
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/851
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@gaiksaya @prudhvigodithi @rishabh6788
This PR include these changes for gradle check migration:

Add a standalone Ubuntu Single Host with docker-compose installed.
Add JDK tools 8 / 11 / 17 to install directly on Agent Node, as gradle check requires all 3 JDKs to present, and have issues running on Docker, as it will start containers on the agent for testing, thus requires Jenkins to provide the JDK installation through AdoptOpenJDK plugin.
Tweak AL2 agent node init script to avoid consistent yum transaction error, as it caused by old cache of yum. If this still not resolve completely I would force a --skip-broken later. In current test it runs pretty well with this new init.

Thanks.


add popup for multi-mining with mysterium

add popup for multimining with mysterium dvpn

Similar to
https://github.com/NebraLtd/hm-diag/blob/5bc4892c690c5715a9ac3ac0b72be3269a238475/hw_diag/templates/diagnostics_page_light_miner.html#L21-L49

CC @KevinWassermann94

What is the purpose of this pop up @KevinWassermann94 @shawaj ?

@robputt The idea is to educate our users that we will now be supporting Myst for multi-mining

yep exactly that - just to make it so that it shows more obviously on the main page (could even put a notice on login page if we wanted to) - rather than just a menu item.
we will remove it after a month or two...but just to push people towards playing with Myst, TTN, ThingsIX stuff...and by extension to dashboard subs

Closed by #581


lxd error while using other fuse filesystem

Distribution:
lxd error while using outer fuse filesystem
Distribution version:
lxd 3.0.1 build with aur on manjaro
driver: lxc
driver_version: 3.0.1
kernel: Linux
kernel_architecture: x86_64
kernel_version: 4.16.18-1-MANJARO
server: lxd
server_pid: 3696
server_version: "3.2"
storage: zfs
storage_version: 0.7.9-1
server_clustered: false
server_name: joshua-server
Issue description
I just add mount remote rclone filesystem on system . then action cp a file from rclone file system to zfs
share with lxd storage backend ,lxc exec seems work ,but command such as lxc list stuck, can't reboot lxd container with lxc restart . I tried mv from fuse rclone system to independence xfs system on inedepend disk out of  zfs pool but fail again
Steps to reproduce

confirm lxd is runing,with serveal runing container or not
mount a fuse remote file system with rclone
mv or copy files on fuse remote file system out
try' lxc list ' container runing infomation should not list and stuck
5.the runing state of container after lxc (start|stop| resart ) is unknown

This issue is confusing, your kernel doesn't allow for unprivileged fuse mounts inside containers, so I'm assuming that the fuse mounts from rclone were outside of any of the containers?
Can you paste ps fauxww when lxc list is stuck? I suspect you'll see a number of processes stuck in "D" state waiting for the kernel to move on.

Sure ，you are right ，will try it later asap

sorry，seems not reproduce the bug .


WIP: HyperKZG verifier circuit

This is a work in progress with the goal to build a complete Jolt verifier circuit and prove it with Groth16 or Polymath.
The ultimate goal is to implement #371.
HyperKZG verifier circuit

[X] define CommitmentVerifierGadget trait based on CommitmentScheme trait

[X] look at how SNARKGadget and CommitmentGadget are structured

[X] VK could be modeled after Groth16VerifierGadget::ProcessedVerifyingKeyVar

[X] design the first iteration of the gadget

[X] Implement PairingGadget
We can't rely (as arkworks' PairingVar does) on the circuit native field to be the base field of the pairing curve of the HyperKZG verifier. The verifier circuit's native field is the scalar field of BN254 or BLS12-381 (as the most widely available pairing curves). Unfortunately, there are no pairing-friendly curves with the base field being the scalar field of either BN254 or BLS12-381.

[X] Port an existing pairing (BLS12-381), from arkworks circuits

[x] implement HyperKZGVerifierGadget
[ ] test cases

[x] ➡ test_hyperkzg_eval

[X] commit using native HyperKZG
[X] verify using native HyperKZG
[x] verify in a circuit using the HyperKZGVerifierGadget

[ ] test_hyperkzg_small
[ ] test_hyperkzg_large

I'm not sure the benefit of looking at MNT4 or BLS12-381 given that our main goal is on-chain verification on Ethereum, so we need to run Groth16 over BN254?
We could just run both HyperKZG and Groth16 over BN254, but this would obviously mean that all the pairings and scalar multiplications the HyperKZG verifier does have to be done non-natively. That seems too expensive though?
Here's my back-of-the-envelope calculation: The HyperKZG verifier does 2 pairings and 2 or 3 MSMs (not sure which, would have to check) of size n where n is the size of the committed polynomial (say, 2^24). The 2 pairings done non-natively would be about 6 million constraints. If the MSMs are implemented naively (i.e., no Pippenger's, as I'm not sure how much Pippenger's helps when implemented in constraints) that's 48 scalar multiplications. Each of those is about 1 million constraints if implemented non-natively (based on the current way people handle non-native arithmetic in constraints anyway). So that's over 50 million constraints. That seems like too many constraints to run Groth16 on without a beefy machine (maybe it's several minutes of proving time with 32 threads? It's also not that much lower than the 2^27 constraint count limit for Groth16 over BN254).
Please correct me if my estimates here seem off.
Another possibility would be to do a two-step composition to get Jolt proofs on-chain: Jolt-with-HyperKZG-over-BN254 proved by Spartan-with-Hyrax-over-Grumpin proved by Groth16-over-BN254.
This would keep all arithmetic native. We would need both a Hyperkzg-over-BN254-verifier expressed as R1CS over Grumpkin, and a Hyrax-verifier-over-grumpkin-verifier expressed as an R1CS over BN254.

@GUJustin the second two-step recursion system is actually how we've dealt with Nova + CycleFold proof compression to reach Ethereum verifiability. i.e., (modified)Spartan-with-Zeromorph-over-Grumpkin proved by Groth16-over-BN254. Still, we needed very beefy machines to run this process.
This kind of complexity for doing proof compression for EC-based systems is likely a good reason to move out from them, is my gut feeling

@GUJustin Definitely working towards on-chain verification, so yes, doing Groth16 over BN254. To clarify, the BLS12-381 port I'm mentioning above is for the non-native in-circuit pairing check for Jolt-with-HyperKZG-over-BLS12-381 verification proven by Groth16-over-BN254.
Choosing BLS12-381 because it has an existing R1CS circuit implementation in arkworks.
I'll update here on the non-native pairing costs when I'm done with a pairing circuit PoC.
I do like the idea of keeping arithmetic native. I'm also curious if there are other ways to do this than the two step composition.

This kind of complexity for doing proof compression for EC-based systems is likely a good reason to move out from them, is my gut feeling

@danielmarinq Hash-based proving systems use more layers to get to apply Groth16. I think most systems I’m aware of have three (or more?) layers of recursion to compress proofs and require beefy machines for those layers: (1) switch from “big” proof to “small” proof mode by altering rate of RS codes, (2) switch from “small” field to “big” field to match the scalar field of a curve, and (3) apply Groth16 or Plonk. I don’t think hash vs curve is affecting the complexity here and switching to hash based schemes doesn’t seem to magically solve the problem and the switch may make it somewhat harder.

Spartan-with-Zeromorph-over-Grumpkin proved by Groth16-over-BN254.

@danielmarinq how do you run zeromorph over Grumpkin? Doesn’t ZM need a pairing-friendly curve for succinct verification?

Just pushed the PoC code for the pairing gadget in the non-native field (circuit is over BN254, the pairing is BLS12-381). The results are chilling: I haven't even got to the pairing itself yet, but just allocating a G1 element is more than 2M constraints. Allocating a G2 element is ~22M more. Here's the printout from the test run (the relevant part is in generate_constraints):
····Start:   Constraint synthesis
[jolt-core/src/circuits/pairing/mod.rs:120:13] cs.num_constraints() = 0
[jolt-core/src/circuits/pairing/mod.rs:125:13] cs.num_constraints() = 2341491
[jolt-core/src/circuits/pairing/mod.rs:128:13] cs.num_constraints() = 2346643
[jolt-core/src/circuits/pairing/mod.rs:134:13] cs.num_constraints() = 2346643
[jolt-core/src/circuits/pairing/mod.rs:139:13] cs.num_constraints() = 23268489
[jolt-core/src/circuits/pairing/mod.rs:142:13] cs.num_constraints() = 25619652
[jolt-core/src/circuits/pairing/mod.rs:148:13] cs.num_constraints() = 25619652

Hey folks, I understand this may not be a priority, but here's an implementation of HyperKZG verification in a SNARK. To make it work, I had to offload MSMs and multi-pairings to be performed by the SNARK verifier: this dramatically reduces the number of constraints in the circuit allows building the circuit over the pairing scalar field. Enjoy 😉

I did cheat a little: the transcript is implemented using a mock calling the native ProofTranscript. For actual production use, the transcript should either be implemented using a circuit-friendly hash (MiMC or Poseidon) or BSB22-style commitments (like in Gnark).

btw, here's how you can see it in action (having checked out this PR's branch):
RUST_TEST_NOCAPTURE=1 cargo test --package jolt-core --lib circuits::poly::commitment::hyperkzg::tests::test_hyperkzg_eval

To make it work, I had to offload MSMs and multi-pairings to be performed by the SNARK verifier

How did you offload the MSM's?

@Forpee I've created a wrapper around Groth16 (other SNARK implementations, like Polymath, would also work). This wrapper uses special MSM and pairing gadgets to remember MSMs' scalars and G1 elements and pairings' G1 elements, and adds them to the public input. The verifier simply has to make sure MSMs and pairings evaluate to 0.
It's all in the code 😅

Just a note: for the FFA which occur in MSM there are tricks in SigmaBus that push FFA to the verifier circuit which can be accumulated in a Cyclefold instance. We will likely get all of this work into Cyclefold and then use the PSE tricks to get Cycefold on-chain.
1 Cyclefold circuit for FFA in MSM.
1 Groth16 for native field circuit.

@wyattbenno777 are you talking about this paper: https://eprint.iacr.org/2023/1406 ?
Also, where can I learn more about "the PSE tricks to get Cyclefold on-chain" ?

https://privacy-scaling-explorations.github.io/sonobe-docs/design/nova-decider-onchain.html

The PRs are good to review as well.
There is a whole world of tricks to deal with non-native field args and proof composition.
https://github.com/privacy-scaling-explorations/sonobe/pull/132
Also the newer Sigma-paper:
https://eprint.iacr.org/2024/265

@GUJustin @moodlezoup Are you guys still interested in this?

Alas, our plans to get cheap on-chain verification (and folding) no longer involve implementing the HyperKZG verifier non-natively in constraints.

@GUJustin  if you think this is a dead end, I'll close this PR.
But also, what would you suggest on how to move forward towards cheaper verification (and folding)?
Also, to clarify, what's implemented here doesn't involve non-native arithmetic: MSM and pairing definitions are simply appended to public input to be checked by the verifier. The circuit only deals with the scalar field (natively).

Also, to clarify, what's implemented here doesn't involve non-native arithmetic: MSM and pairing definitions are simply appended to public input to be checked by the verifier. The circuit only deals with the scalar field (natively).

You're saying that you're taking the HyperKZG verifier (when the committed polynomial is defined over the BN254 scalar field), and expressing it as constraints over the BN254 base field, so that all of the scalar multiplications and pairings done by the HyperKZG verifier are natively defined over the field used by the constraint system?
If there's no non-native arithmetic happening in the constraints, then the HyperKZG verifier should only require a few hundred thousand constraints at the most.
Here's the math: The HyperKZG verifier does a couple of dozen scalar multiplications and two pairings.
A scalar multiplication is ~400 group additions (actually, ~256 group additions, since we could use 128-bit scalars, but let's ignore that). Each group addition is like ~10 field multiplications. So the scalar multiplications should conservatively be about 3040030 = 120K constraints.
And a pairing is equivalent to several thousand group additions, so the two pairings also should only be 22,00010 constraints, which is way below 100K.
So if you're seeing tens of millions of constraints, I have to think you're actually having the constraints non-natively implement the field operations done by the HyperKZG verifier. This would be needed, for example, if the constraint system is defined over the BN254 scalar field.

But also, what would you suggest on how to move forward towards cheaper verification (and folding)?

For some details, see https://jolt.a16zcrypto.com/future/groth-16.html#a-way-forward and https://github.com/a16z/jolt/blob/main/book/src/future/folding.md

You're saying that you're taking the HyperKZG verifier (when the committed polynomial is defined over the BN254 scalar field), and expressing it as constraints over the BN254 base field, so that all of the scalar multiplications and pairings done by the HyperKZG verifier are natively defined over the field used by the constraint system?

No. I'm taking the HyperKZG verifier (when the committed polynomial is defined over the BN254 scalar field), and express it as constraints over the BN254 scalar field. I also take

BN254 G1 elements and scalars for MSMs,
BN254 G1 elements for the multi-pairings,

and append to the public input. The verifier must make sure the MSMs and multi-pairings evaluate to 0.

If there's no non-native arithmetic happening in the constraints, then the HyperKZG verifier should only require a few hundred thousand constraints at the most.

Exactly right! When you run
RUST_TEST_NOCAPTURE=1 cargo test --package jolt-core --lib circuits::poly::commitment::hyperkzg::tests::test_hyperkzg_eval

on this branch, you get a circuit with 112136 constraints.


Show match/fixture info on replay submit page

https://app.clickup.com/t/3yapuex

Task linked: CU-3yapuex Show League/Mode/Match on Ratifications/Submissions


Dataset preparation

Thank you for your great work,
i have several questions w.r.t. dataset preparation for pre-training.

How can I get the label map of COCO?

below might be the one, but I'm not quite sure...
https://github.com/longzw1997/Open-GroundingDino/blob/main/data_format.md#label_map

How can I get the annotation and label map of Object365 and LVIS?

i guess I might easily get label map of Objects365 and LVIS by referring to this format,
but the code for generating the anno (objects365_train_odvg.json, lvis_v1_train_odvg.jsonl) seems not to exist.
For this, should I modify some part of this COCO annotation generation script? Or are there any alternatives?

How can I get the label map of GRIT-200k and flickr30k?

for obtaining grit_odvg_2m.json, am I right to execute the grit2odvg.py with the --random_samples option to be set as 200000 (200k)?
I'm bit confused whether I should put this value to 200k or 2m.
Also for flickr30k, when running flickr30ke2odvg.py, am I right to put the --osoi=False for generating flickr30k_entities_odvg_158k.json? I'm also bit confused about the meaning of 158k in the postfix.
I really appreciate for your response in advance and for your valuable work!

Hi,

Sure, you are right, this is the label_map of COCO
see 4
as for flickr30k, please see this issue https://github.com/longzw1997/Open-GroundingDino/issues/15
as for other datasets(GRIT-200k, CMCC,  LVIS, O365, V3Det, etc.), because the formats of different data sets may be inconsistent, you may rewrite the script in tools to process specific annotation files. There is no one-click conversion script here. If your dataset anno is coco format, simply modify v3det2odvg.py to process it


Dropwizard v0.8.3 & maven-enforcer-plugin

This pull request updates the Dropwizard dependency to the version 0.8.3 and additionally enables the dependency convergence check via maven-enforcer-plugin. It guarantees that all the project dependencies do not conflict with each other, making the development process a little smoother. Dropwizard uses it, too.
Updated. I also tried to set up the latest Dropwizard v0.8.4, but it requires a recent version of Jersey, which has some breaking changes in ServiceLocator that I can not address at the present moment.

$ mvn clean test
[INFO] Scanning for projects...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.154 s
[INFO] Finished at: 2015-08-26T21:39:52+05:00
[INFO] Final Memory: 54M/950M
[INFO] ------------------------------------------------------------------------

Thanks for the PR! All of the HubSpot opensource projects inherit from this parent (which in turn inherits from here). We want to have consistent build behavior across all of our projects so we want don't want to add one-off plugins to specific projects.
I would suggest sending a PR to basepom/basepom adding the rule, but @hgschmie is the maintainer and he already added it here but reverted it two weeks later here. I don't see a reason for the revert so I'm not sure if there was a bug or something else

Handled by d685a14304d5eee35b3b17af6e1fbc0f306ec9df and just pushed to maven central as version <IP_ADDRESS>


tests: kernel: fpu: Several tests related to fpu fail on nrf5340dk_nrf5340_cpuappns

Describe the bug
Several tests related to fpu fail on nrf5340dk_nrf5340_cpuappns. The following test scenarios fail to build:

benchmark.kernel.application.fp.arm from zephyr/tests/benchmarks/app_kernel/
driver.sensor.fpu from zephyr/tests/drivers/sensor/generic
kernel.common.stack_protection_arm_fpu_sharing from zephyr/tests/kernel/fatal/exception
kernel.fpu_sharing.kernel.fpu_sharing.float_disable.arm and kernel.fpu_sharing.kernel.fpu_sharing.generic.arm from zephyr/tests/kernel/fpu_sharing

To Reproduce
Steps to reproduce the behavior:

have nrf5340dk connected
run `scripts/twister -p nrf5340dk_nrf5340_cpuappns -T
see error
See error

Expected behavior
Tests pass
Impact
Not clear
Logs and console output
Not sure which parts are relevant. The output is very extensive.
Environment (please complete the following information):

OS: Ubuntu 18.04
Toolchain zephyr sdk 0.12.2
Commit SHA or Version used zephyr-v2.5.0-1831-g58a0ba6dbb28

Turns out TFM doesn't support -mfloat-abi=hard. Fixing this is not trivial so it probably won't be done in the foreseeable future. We could set up a relationship between BUILD_WITH_TFM and FP_HARDABI though. @ioannisg @frkv thoughts?


[BUG/ISSUE] (Beta Version - screenshot update) The version of some Winget apps fails to load and is shown as "Unknown"

TODO:

[x]  After you open the info menu it becomes impossible to scroll the package list:

https://user-images.githubusercontent.com/73800734/196812914-9af70bc8-a094-4bb1-b27e-692002335559.mp4

[x]  If you move to another section the previous one continues selected:

[ ] The version of some Winget apps fails to load and is shown as "Unknown":

After you open the info menu it becomes impossible to scroll the list and if you move to another section this happens (the previous one continues selected):

I don't think I understand what you mean... That should have happened in older versions also

After you open the info menu it becomes impossible to scroll the list and if you move to another section this happens (the previous one continues selected):

I don't think I understand what you mean... That should have happened in older versions also

https://user-images.githubusercontent.com/73800734/196812903-9fd38017-a304-46f3-8d0a-49c5a0f57bb6.mp4
https://user-images.githubusercontent.com/73800734/196812914-9af70bc8-a094-4bb1-b27e-692002335559.mp4

Oh I see. I did not realise that. Gonna fix it

[ ]  The version of some Winget apps fails to load and is shown as "Unknown":

Winget is failing to load info for packages sometimes, it is not only the version. I'll open another issue for that. The UI glitch has been fixed

I've updated the

[ ]   The version of some Winget apps fails to load and is shown as "Unknown":

Winget is failing to load info for packages sometimes, it is not only the version. I'll open another issue for that. The UI glitch has been fixed

Ok, I've changed the title to make this clear 😉


[Gemini] Orderbook stream fix

updates sometimes arrive before the initial book state

On Performance, my cpu usage fell from 50% to 14% with the limited book (3000+ to 100 max entries), using the treemap instead of the ConcurrentHashMap and removing the sort calls.  In that 14% I am running several other exchange books, so the performance improvement is even more drastic.

At some point I will add my API V2 implementation


Poll-based clients with limited features (for example Mikrotik routers)

It would be cool to have a way to benefit from automatic mesh on systems where it's impossible to run native client or where client is not available yet.
For example Mikrotik routers supports Wireguard. But they don't have way to run custom binaries. At the same time they have own scripting language that is able to do HTTP requests, configure network interface, add routes, etc.
Similar Wireguard-based mesh networks are solving this by using 'gateway' servers (one machine in network that has public IP is assigned a 'gateway' role and such 'static' clients have config with just one peer to that 'gateway' ). So basically 'unsupported' platforms are more like traditional VPN servers. They accessing network through fixed gateway that routes traffic to other peers without mesh.
But I think that better solution should be possible:
Generally it should looks like:

generate some sort of authentication 'token' to access server, plus Wireguard private key
Provide certain HTTP endpoint to get actual wireguard config with all known peers and their addresses. It may be whole wireguard config file (maybe just without private key) or just some JSON (or even both depending on parameter)
Client may send list of ip address/ports that it listens via same or additional HTTP request. And servers should update it's internal DB with such information and notify other clients if it's changed.
Client will poll server periodically to sync it's wireguard config

Surely such client will be unable to do NAT traverse, but it'll be able to reach others with public IP or others who runs native client
There are a few related issues, like:

#115
#187
#213
#461

PS. Feel free to rename issue to something more easy to understand.

RouterOS supports containers now, it should be possible to run netbird in such container

This feature is an excellent addition. I finally have a decent firewall with a Mikrotik Router. My board has Native Wireguard support and container support, but the container feature is a HIGH RISK feature covered in documentation with no guarantee of security I will probably never use it in a router.
If we can use vanilla Wireguard as a client it even with restrictions it would be nice.
In the mean time I can create site to siteconnections with clients using the native wireguard in a static manner and use routes to expose the netbird network if necessary.

This feature is an excellent addition. I finally have a decent firewall with a Mikrotik Router. My board has Native Wireguard support and container support, but the container feature is a HIGH RISK feature covered in documentation with no guarantee of security I will probably never use it in a router. If we can use vanilla Wireguard as a client even with restrictions it would be nice. In the meantime, I can create a site-to-site connection with clients using the native wireguard in a static manner and use routes to expose the net bird network if necessary.

I seccond this need limited wiregaurd client support

In my opinion, this would be the most important missing feature in Netbird.
Having this ability would add a lot more flexibility and open Netbird for many more use cases.


Please document commandline args to vk-video-dec-test

Right now when you don't specify any arguments into the program it just lits a few vulkan extensions and terminates. It would be helpful to list which commandline arguments are required to correctly invoke the program.

Fixed with the new app update.


Pub on Windows fails with TLS error

From https://ci.appveyor.com/project/flutter/flutter/build/1.0.9587 which keeps going on indefinitely
Build started
git clone -q https://github.com/flutter/flutter.git C:\projects\flutter
git fetch -q origin +refs/pull/14610/merge:
git checkout -qf FETCH_HEAD
Restoring build cache
Cache 'C:\Users\appveyor\AppData\Roaming\Pub\Cache' - Restored
Running Install scripts
cd ..
move flutter "flutter sdk"
        1 dir(s) moved.
cd "flutter sdk"
bin\flutter.bat config --no-analytics
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine f5a4a9378740c3d5996583a9ed1f7e28ff08ee85...
Unzipping Dart SDK...
Updating flutter tool...
Got TLS error trying to find package archive at https://pub.dartlang.org.
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds...
Waiting for 5 seconds, press CTRL+C to quit ...43210
Got TLS error trying to find package archive at https://pub.dartlang.org.
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds...
Waiting for 5 seconds, press CTRL+C to quit ...43210
Got TLS error trying to find package archive at https://pub.dartlang.org.
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds...
Waiting for 5 seconds, press CTRL+C to quit ...43210
Got TLS error trying to find package archive at https://pub.dartlang.org.
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds...
Waiting for 5 seconds, press CTRL+C to quit ...43210
Got TLS error trying to find package archive at https://pub.dartlang.org.
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds...
...

Pub just uses dart:io's HTTP implementation. Any protocol errors either come from there or from https://github.com/dart-lang/pub-dartlang-dart.

Here is more output from actual dev windows box:
C:\src\flutter\flutter\packages\flutter_tools [use-host-dart-sdk ≡ +4 ~1 -0 !]> C:\src\flutter\flutter\bin\cache\dart-sdk\bin\pub.bat upgrade --verbosity=all --no
-packages-dir
FINE: Pub 2.0.0-edge.28757928b47b192efcec082c78258102beb03f78
IO  : Spawning "cmd /c ver" in C:\src\flutter\flutter\packages\flutter_tools\.
IO  : Finished ver. Exit code 0.
    | stdout:
    | |
    | | Microsoft Windows [Version 10.0.14393]
    | Nothing output on stderr.
MSG : Resolving dependencies...
SLVR: Solving dependencies:
    | - coverage 0.10.0 from hosted (coverage)
    | - test 0.12.30+3 from hosted (test)
    | - file 2.3.6 from hosted (file)
    | - mustache 1.0.0 from hosted (mustache)
    | - meta 1.1.2 from hosted (meta)
    | - web_socket_channel 1.0.7 from hosted (web_socket_channel)
    | - http 0.11.3+16 from hosted (http)
    | - xml 2.6.0 from hosted (xml)
    | - json_rpc_2 2.0.7 from hosted (json_rpc_2)
    | - stream_channel 1.6.3 from hosted (stream_channel)
    | - process 2.0.7 from hosted (process)
    | - vm_service_client 0.2.4+1 from hosted (vm_service_client)
    | - front_end any from hosted (front_end)
    | - linter 0.1.43 from hosted (linter)
    | - quiver 0.28.0 from hosted (quiver)
    | - args 1.3.0 from hosted (args)
    | - package_config 1.0.3 from hosted (package_config)
    | - crypto 2.0.2+1 from hosted (crypto)
    | - platform 2.1.2 from hosted (platform)
    | - plugin 0.2.0+2 from hosted (plugin)
    | - stack_trace 1.9.1 from hosted (stack_trace)
    | - usage 3.3.0 from hosted (usage)
    | - intl 0.15.2 from hosted (intl)
    | - archive 1.0.33 from hosted (archive)
    | - cli_util 0.1.2+1 from hosted (cli_util)
    | - json_schema 1.0.8 from hosted (json_schema)
    | - yaml 2.1.13 from hosted (yaml)
    | - analyzer any from hosted (analyzer)
IO  : Get versions from https://pub.dartlang.org/api/packages/coverage.
IO  : HTTP GET https://pub.dartlang.org/api/packages/coverage
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: windows
    | X-Pub-Command: upgrade
    | X-Pub-Session-ID: 1AA465EA-FD18-4E59-AED7-AA340932B152
    | X-Pub-Reason: direct
    | user-agent: Dart pub 2.0.0-edge.28757928b47b192efcec082c78258102beb03f78
SLVR: Could not get versions for coverage from hosted:
    | Got TLS error trying to find package coverage at https://pub.dartlang.org.
    |
    | package:pub/src/utils.dart 733                            fail
    | package:pub/src/source/hosted.dart 335                    BoundHostedSource._throwFriendlyError
    | package:pub/src/source/hosted.dart 141                    BoundHostedSource.doGetVersions
    | ===== asynchronous gap ===========================
    | dart:async                                                _Completer.completeError
    | package:pub/src/source/hosted.dart                        BoundHostedSource.doGetVersions
    | ===== asynchronous gap ===========================
    | dart:async                                                _asyncErrorWrapperHelper
    | package:pub/src/source/hosted.dart 130                    BoundHostedSource.doGetVersions
    | package:pub/src/source.dart 169                           BoundSource.getVersions
    | package:pub/src/solver/version_solver.dart 237            SolverCache.getVersions.<fn>
    | dart:async                                                runZoned
    | package:pub/src/http.dart 267                             withDependencyType
    | package:pub/src/solver/version_solver.dart 236            SolverCache.getVersions
    | ===== asynchronous gap ===========================
    | dart:async                                                new Future.microtask
    | package:pub/src/solver/version_solver.dart 210            SolverCache.getVersions
    | package:pub/src/solver/unselected_package_queue.dart 121  UnselectedPackageQueue._getNumVersions
    | ===== asynchronous gap ===========================
    | dart:async                                                new Future.microtask
    | package:pub/src/solver/unselected_package_queue.dart 115  UnselectedPackageQueue._getNumVersions
    | package:pub/src/solver/unselected_package_queue.dart 50   UnselectedPackageQueue.add
    | ===== asynchronous gap ===========================
    | dart:async                                                new Future.microtask
    | package:pub/src/solver/unselected_package_queue.dart 44   UnselectedPackageQueue.add
    | package:pub/src/solver/version_selection.dart 88          VersionSelection._addDependencies
    | ===== asynchronous gap ===========================
    | dart:async                                                new Future.microtask
    | package:pub/src/solver/version_selection.dart 70          VersionSelection._addDependencies
    | package:pub/src/solver/version_selection.dart 63          VersionSelection.select
    | ===== asynchronous gap ===========================
    | dart:async                                                _asyncThenWrapperHelper
    | package:pub/src/solver/version_selection.dart 58          VersionSelection.select
    | package:pub/src/solver/backtracking_solver.dart 174       BacktrackingSolver.solve
    | ===== asynchronous gap ===========================
    | dart:async                                                new Future.microtask
    | package:pub/src/solver/backtracking_solver.dart 160       BacktrackingSolver.solve
    | package:pub/src/solver/version_solver.dart 42             resolveVersions.<fn>
    | package:pub/src/log.dart 409                              progress
    | package:pub/src/solver/version_solver.dart 40             resolveVersions
    | package:pub/src/entrypoint.dart 195                       Entrypoint.acquireDependencies

@zanderso any thoughts? This works fine on Linux, but fails on Windows.

Chatted a bit in person with @aam. This is a bit mystifying since the secure socket implementation hasn't been touched by anyone in months. Has something changed recently with pub.dartlang.org? @mkustermann

Let's track the Windows SSL errors here: https://github.com/dart-lang/sdk/issues/32131

I believe this is different from #32131 .
Here the problem seems to be with dart_use_fallback_root_certificates having default false value, which is overridden in dart sdk with true in args.gn, which is put there by sdk/tools/gn.py.
This true-setting logic doesn't exist in flutter build.

@zanderso There have been no changes to the certificate served from pub.dartlang.org for many months.

https://github.com/flutter/engine/pull/4662 fixes this problem.

can anyone tell me how i can get certificate file in windows 10?

/cc @jonasfj for pub server.

@shajji1, I'm not sure what your issue is...
Have you checked out: https://dart.dev/tools/pub/troubleshoot#pub-get-fails-from-behind-a-corporate-firewall
Or file a new issue on https://github.com/dart-lang/pub

@jonasfj, i'm getting Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org. while running command flutter packages get and i checked your link but i don't know values of proxy server environment variables, kindly help.

If you're behind a proxy your browser might know the configuration.. and hopefully your IT admin.
Try internet settings, hmm, I'm not a Windows expert here, sorry..

k i'll try to solve this issue, well thnx for your prompt response :)

Try deleting the "cache" folder in Flutter "bin" folder and then run flutter pub get again

for all those getting the TLS error:

check if you are able to ssh to any other machine
if not it means your port 22 might be blocked. get that unblocked by your IT if you are on a corporate machine

@anujkapoor pub doesn't use SSH to talk to pub.dartlang.org.

@PStoner3, pub uses package:http, so HttpClient from dart:io, this should be HTTP 1.1, afaik there is no HTTP 2 support in the Dart SDK.


Splitting out Github  issue_template into a few issue types

Description

We currently only have Bug Report as an issue template option for Gravity issues. I've updated Gravity issue templates to include the following:

Bug Report
Feature Requests
Documentation

Also added a few useful links. This follows Teleport issue templates

Based on discussions with @knisbet (slack link - sorry for those outside gravitational),  we want to discourage idle feature requests and questions in the issue tracker, preferring to funnel those through the community forum or slack first, and then transition to an issue once we know there was something tractable.
I ejnour your use of links in config.yml to encourage the objectives above. :smile:
We don't presently suffer from an overabundance of outside contribution to gravity -- maybe a issue/pr or two a month -- thus I'd err towards encouraging OSS engagement until we have "a good problem to have".
One last note: you may port this (or a variant that pushes all issue tracking to the gravity repo) to planet.  We just got a drive by question there: https://github.com/gravitational/planet/issues/698, although we don't really use planet for tracking issues -- any bugs/features are typically tracked in the top level in this repo with planet PRs feeding in to them.


Update GRDB.swift hash to build against 4.2

Pull Request Description
Updates the hash to a recent commit, and also updates the configuration to build against Swift 4.2. Also removes the xfail from https://bugs.swift.org/browse/SR-8234.
Acceptance Criteria

[x] pass ./project_precommit_check script run

./project_precommit_check GRDB.swift --earliest-compatible-swift-version 4.2
** CHECK **
--- Validating GRDB.swift Swift version 4.2 compatibility ---
--- Project configured to be compatible with Swift 4.2 ---
--- Checking GRDB.swift platform compatibility with Darwin ---
--- Platform compatibility check succeeded ---
--- Locating swiftc executable ---
$ xcrun -f swiftc
--- Checking installed Swift version ---
$ /Applications/Xcodes/Xcode_10_Beta_6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
--- Version check succeeded ---
--- Executing build actions ---
$ ./runner.py --swift-branch swift-4.2-branch --swiftc /Applications/Xcodes/Xcode_10_Beta_6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --projects projects.json --include-repos 'path == "GRDB.swift"' --include-versions 'version == "4.2"' --include-actions 'action.startswith("Build")'
PASS: GRDB.swift, 4.2, 0e0ebd, Swift Package
========================================
Action Summary:
     Passed: 1
     Failed: 0
    XFailed: 0
    UPassed: 0
      Total: 1
========================================
Repository Summary:
      Total: 1
========================================
Result: PASS
========================================
--- GRDB.swift checked successfully against Swift 4.2 ---

@swift-ci test

Closing, as top of tree on GRDB.swift master branch still exhibits the issue.

Hello. Should I update GRDB manifest file?

@groue The GRDB manifest should be fine. It's the manifest of the CSQLite.swift dependency that is causing trouble. See [CSQLite.swift's manifest].(https://github.com/groue/CSQLite/blob/51210b121508dd91dcced13d398269c004b0f1b5/Package.swift#L6)
https://github.com/groue/CSQLite.git @ 0.2.0: error: manifest parse error(s):
/var/folders/zr/mvb5rn8j4sx9vynr3cb1h8wh0000gp/T/TemporaryFile.h2PaNw.swift:6:10: error: type 'SystemPackageProvider' has no member 'Apt'; did you mean 'apt'?
        .Apt("libsqlite3-dev")
         ^~~
         apt
PackageDescription.SystemPackageProvider:5:24: note: 'apt' declared here
    public static func apt(_ packages: [String]) -> PackageDescription.SystemPackageProvider
                       ^

Also, I tried reaching out to the maintainer email address we have for GRDB.swift. Is<EMAIL_ADDRESS>still the best address to use when necessary?

Yes it is the correct email address. I missed your email, apparently: apologies.
So I have to update CSQLite.swift, right?
This package is very old. SPM has evolved a lot since. And my knowledge is lagging behind.
My only constraint is that the GRDB package can still be built on Linux (there aren't much users, but they are important to me). Do you have a recommendation, besides upgrading CSQLite/Package.swift to the latest SPM API?

Thanks @clackary for the hint. Please give me a few days, until I get able to make the necessary tests ("just" build GRDB on a Linux box).

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test

@groue Thanks! It looks like this has uncovered a compiler crash. Since it builds with 4.2, I've filed SR-9151 to be investigated.


Add RGD & Remove interceptors /1

Fixes #30381

Internal previews

📄 File
🔗 Preview link

aspnetcore/fundamentals/aot/request-delegate-generator/rdg.md
aspnetcore/fundamentals/aot/request-delegate-generator/rdg

aspnetcore/fundamentals/native-aot.md
ASP.NET Core support for native AOT

@captainsafia  I'll update this doc once #30423 merges.

@Rick-Anderson Is it possible to get the new pages to surface under the Native AoT section in the docs?

@Rick-Anderson Is it possible to get the new pages to surface under the Native AoT section in the docs?

@captainsafia  it's live now. We don't like to have the toc file long in a PR to avoid merge conflicts. We typically add entries right after a new topic PR merges.


[fixes #383] ensure every Exception inherits from KazooException

Fixing #383

@Idem Did you want to update this so I can merge it?

I was looking into the contributing guidelines and where into the process of signing the commits and co.
I obviously need to add the #noqa for hound and pass the travis-ci.
So yes, I intend to clean this up a little more.

I triggered the build by updating base just to ensure all the tests look good still.

Just a heads-up, we're coming up on 30 days now. I'm trying to avoid having PR's idle eternally in the backlog like this, so if you'd like to try later, a new PR can be opened when ready.

@Idem Hi! I'd be happy to help with fixing the commit if you need any assistance. A good commit message for this would look like:
fix: ensure every exception inherit from KazooException

Closes #383

You could rebase this branch against master, amend the commit, then force-push to update the PR.

Closing this for now, please re-open if/when you have time to update it.


[FEAT] Destination Chains on Transfer Flow Can Be Any Chains with the Same Bridge Deployment

Is your feature request related to a problem? Please describe.
Currently, users can only select the destination chain of the transfer note on the transfer flow. However, the destination chain can be any chain with the same bridge deployment.
Describe the solution you'd like
I propose implementing the following solution:

Filter the available destination chains based on the selected transfer notes.
Display the available destination chains on the UI for users to select.
Pass the selected destination chain when generating the transfer UTXO.
Check the transfer flow with different destination chains.

With this solution, users will be able to select any chain with the same bridge deployment as the destination chain for their transfers, which should be more convenient and efficient.
Steps to implement this feature

[ ] Filter the available destination chains (based on the selected transfer notes)
[ ] Display the available destination chains on the UI for users to select
[ ] Pass the selected destination chain when generating the transfer UTXO
[ ] Test the transfer flow with different destination chains to ensure the feature works properly.

It's already implemented correctly in deposit, this shouldn't be overcomplicated. Just use the same logic as is used on deposit here and de-duplicate the code if possible.


[Transaction] Merge transactionBuffer exception into a class

Motivation
Make the implementation class of TransactionBufferException as internal classes and implement these into TransactionBufferException.
Modifications

Merge the implementation class of TransactionBufferException
resolve conflict.

Verifying this change
Compile and pass the original test.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?

[ ] doc-required
(If you need help on updating docs, create a doc issue)

[x] no-need-doc
Optimize code.

[ ] doc
(If this PR contains doc changes)

@codelipenghui @congbobo184  Please help review, THX.

/pulsarbot run-failure-checks

I am sorry I marked this patch as 'ready for review' by mistake
Thanks for your review.
This is a mistake of mine. This needs to be implemented in another way, but I did not mark it as draft Successfully.


prepare ingest of schaubühne data

there is a listperson with wikidata-ids; and a listbibl with a similar structure as insel-data; so I'll prepare an ingest of all persons (with wikidata id) and all the works written by those

Maybe before batch-importing persons via wikidata the importer-bug could be fixed? there are forenames duplicated in the surnames. The problem seems to derive from this:
http://www.wikidata.org/entity/Q2835019
This element does not have a surname-field so it takes the title of the item as surname. It should remove the given name from the title before doing so.


[FEA] Add NVT model to ensemble DAG of the multi-stage-recsys pipeline to send raw data as a request to TIS

🚀 Feature request
Currently in our deploying-multi-stage RecSys example,  ensemble DAG does not have NVT model. So, we send processed data as a request to TIS, not the raw data.  It'd be very useful to add NVT model to the ensemble DAG and get it loaded to TIS as well, to realize an end-to-end pipeline.

@karlhigley I am adding this to 23.06 since I did not get a chance to test this, instead I was testing serving TT model with list inputs.

Cool, sounds good! Thanks for updating the milestone, and we'll get to it when we can.

closing since this was added to the example nbs.


drivers: esp32: fix display driver not working

This PR enables I2C display or any other peripheral to work by fixing I2C end packet
and gpio/pinmux configuration. Some pins in ESP32 are controlled over RTC registers. For example, pin 4
can only be pull-up when enabled by rtc_io register and not directly over gpio pull up register.

I tested this patch with the Heltec ESP32 LoRa (V2) board and the i2c display is working fine now.
Thanks for fixing it @sylvioalves!


fix(dashmate): local nodes missing envs after group reset

Issue being fixed or feature implemented

After dashmate group reset, nodes fails to start due some contracts private key is missing
https://github.com/dashpay/platform/issues/785
What was done?

Moved contracts private keys generation in the separate factory and used it in the setup and reset phases
How Has This Been Tested?

Locally
Breaking Changes

No
Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[ ] I have assigned this pull request to a milestone

Fixed in https://github.com/dashpay/platform/pull/991


add a spec that will define the structure for the sugar config file

We need to define formally the spec for the structure for the sugar config file
Additionally, we need:

a documentation page with all the explanation about all the structure
we need a step that will check if the sugar config file has a valid structure

we can use this initial work as reference: https://github.com/osl-incubator/conda-on-air/blob/main/conda_on_air/conda_on_air.py#L26


add a couple examples and fix a couple of typos

Here I add the tutorial example and the one in ActorOwnAnon docs, since they are the more complete from the already existing ones in the docs, for better discoverability and convenience.
I may try to add some more original examples when I learn to use it better.

Looks good. Thanks --


Rename .env.template to .env

About this change - What it does

Resolves: #xxxxx
Why this way

👷 Deploy Preview for heartfelt-brigadeiros-3a536e processing.

Name
Link

🔨 Latest commit
00905d9cf2258176e9ebd78932048fa627cbcd86

🔍 Latest deploy log
https://app.netlify.com/sites/heartfelt-brigadeiros-3a536e/deploys/672423ddd38d6f0008cba79f


Add extra and dev dependency validation to lockfile

Summary
Closes https://github.com/astral-sh/uv/issues/4106.
Closes https://github.com/astral-sh/uv/issues/4115.

Do we have tests for this?

The sorting also closes https://github.com/astral-sh/uv/issues/4115.


Foundation data points to

Loving the NFTE service, thanks so much for creating it
I have been using the NFTE Data function to retrieve a json object and wrap my own embed.
Recnetly Foundation stopped working and I am trying to track down the issue, here is an example output
{     "contract": "0x3B3ee1931Dc30C1957379FAc9aba94D1C48a5405",     "tokenId": "23473",     "metadata": {         "name": "Deep Blue",         "description": "Rafaël Rozendaal\n2021",         "image": "ipfs://QmaqMPDQ2C9XWSVEB31JQLqkQLPnZbnysyUZvBauCn2cuu/nft.mp4"     },     "name": "Deep Blue",     "description": "Rafaël Rozendaal\n2021",     "ownerOf": "0xcDA72070E455bb31C7690a170224Ce43623d0B6f",     "ownerOfUrl": "https://etherscan.io/address/0xcDA72070E455bb31C7690a170224Ce43623d0B6f",     "creatorOf": "0x0F441cFaD93287109F5eF834bF52F4aaaa8d8ffa",     "creatorOfUrl": "https://etherscan.io/address/0x0F441cFaD93287109F5eF834bF52F4aaaa8d8ffa",     "platform": "Foundation",     "platformUrl": "https://foundation.app",     "mediaUrl": "https://gateway.pinata.cloud/ipfs/nft.mp4",     "mediaPageUrl": "https://foundation.app/nft/nft-23473",     "mediaMimeType": "text/plain; charset=utf-8",     "blockNumber": 12226975,     "timestamp":<PHONE_NUMBER>,     "media": "https://gateway.pinata.cloud/ipfs/nft.mp4",     "mintedBy": "Foundation",     "mintedByUrl": "https://foundation.app",     "minted": "2021-04-12T18:53:58.000Z" }
the mediaurl now points to https://gateway.pinata.cloud/ipfs/nft.mp4 which is odd. Could be of course on the foundation side of things.

ok the right data is still in there, when using the medata. image string.
the mime type is now wrong but that's fine.
    const mediaurl = 'https://gateway.pinata.cloud/ipfs/' + path.split('/').slice(-2).join('/');
is used this to find the file on ipfs


Error? Walk and Walkto

First i want to thank all those involved in Denizen, it is by far my favorite plugin, also the support is second to none.
Anyway i have been away from the minecraft community for some time now and just recently i have thought of another RPG scenario i want to script into a game, the last time i did this was around minecraft 1.6.4 i believe, it surprised me that bukkit was dead and that they are enforcing the EULA. I am currently trying to find compatibility in all the plugins i have used in the last scenario i made. I found a bukkit build of 1.8.3 and i had problems with Denizen causing a crash, so i loaded up just Denizen without any other mods and it stopped the crash and seems to be working fine with the exception of these errors that appear at startup, now i dont use these commands much in my design so it is not really an issue for me at the moment, just wanted to check with you guys.
ERROR! Could not register command WALK:
net/citizensnpcs/api/ai/flocking/NPCFlock
ERROR! Internal exception was thrown!
ERROR! Could not register command WALKTO:
net/citizensnpcs/api/ai/flocking/NPCFlock
ERROR! Internal exception was thrown!
Here is the whole server log, http://jpst.it/xE_6
I have been away from minecraft and bukkit for a while so i apologize if this happens to be a complete noob issue.
Denizen Build 1572

Sorry, fixed itself when i added Citizens.


It would be nice to be able to feed JSON directly to Spindump, not only via https interface

Solved in commit 02a1f959c2c848


remove pg warning from tests

removes the following warning which showed up on macs and travis:
unknown OID 3220: failed to recognize type of 'pg_current_wal_insert_lsn'.
It will be treated as String

Is there anything we can do in the xlog_location method itself rather than just avoid the warning in specs?

@Fryguy fixed it - since it was casting to a string, I just told postgres to cast to a string


not working on web!?

not working on web!?

Hello, i guess it doesn't work out of the box with the web. I can check it , but in a few days

Because this is a just a simple mixin that uses the API exposed from Flutter, thats why you cant use it on web, a solution might be copying this code and acces the web API to add the pause/resume functionally as when losing/gain focus on page? i will try to look into it


[SPARK-29791][CORE][SCHEDULER]add an implemention for issue SPARK-29791.

What changes were proposed in this pull request?
We can config the executor cores by "spark.executor.cores". For example, if we config 8 cores for a executor, then the driver can only scheduler 8 tasks to this executor concurrently. In fact, most cases a task does not always occupy a core or more. More time, tasks spent on disk IO or network IO, so we can make driver to scheduler more than 8 tasks(virtual the cores to 16, 32 or more the executor report to driver) to this executor concurrently, it will make the whole job execute more quickly. This pull request add an implemention for it.

Why are the changes needed?
We can use more virtual cores to scheduler more tasks at the same time.

Does this PR introduce any user-facing change?
No

How was this patch tested?
Add a test case.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I think this is done by hyper-threading in most CPUs. If you want, you can use Yarn cluster with virtual cores in production as an example.

Also, please fix the title to be descriptive about what you propose in this PR.

I haven't looked at this in a while, but yeah this it better handled by the RM. In YARN you can over-provision cores. I think you might be able to do that in standalone too by just telling the master that the worker has more cores than it really does?


Linked hover via div (external to DeckGL)

This pull request implements linked hover by positioning a div (in the shape of a circle) at the browser coordinates of the hovered cell in each DeckGL instance. To do so, there is a pub-sub mechanism for the hovered cell's ID and associated information (such as the object of mappings to t-SNE, PCA, xy/spatial). Using these mappings and a viewport instance for each DeckGL component, projection to browser coordinates allows us to position the div.
Caveats

No effect on Heatmap
CellEmphasis is not aware of its location. It may be nice if the component is aware of its context and does not appear when it knows it is associated with the DeckGL instance that triggered the hover (so there is no effect for the plot where the mouse cursor is positioned, only the other plots)
Circle size does not scale with the cells when DeckGL zooms, instead is just a fixed size

There is also an implementation via DeckGL layers at the branch keller-mark/linked-hover that may be an alternative.

@keller-mark : If I understand the history correctly, #226 builds on this. Would it make sense to close this one and just look at that one?

Yes that would make sense at this point


Log involved collection key in case of DBM write error

When there's a problem writing a collection key (it's too big for instance), we have no info on the involved key.
This adds the key name in the log.

Ignore this, I created a clean one as a lot of other stuff was merged


Separate code and (example) data

The repo is very large due to the included example data. I would suggest separating both.

Can we move the sample data to Zenodo or any other free (and sustainable) webspace?

ok for me.
N.

Il giorno 6 dic 2021, alle ore 20:39, Philipp Schaer @.***> ha scritto:
Can we move the sample data to Zenodo or any other free (and sustainable) webspace?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/irgroup/repro_eval/issues/2#issuecomment-987120199, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADTHRONYQSJE2YW3DAYGBTTUPUGPNANCNFSM4QURU5AQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Update dv3-dsv3-series.md

@EtienneDeneuve : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@joelpelley - Would you review this pull request? Thanks.

closing per email


UI update issue when toggling damage

https://discord.com/channels/785153694478893126/1200154094476734556/1211158474092711956
Build generated for Pyro damage:

Toggle to Vape damage and values are very wrong:

Leave tab and return, values now updated correctly:

This is likely an issue where one of the useTeamData hook isnt being triggered when the TeamCharacter.reaction is being toggled. needs investigation


Where can I get help from a document?

Where can I get help from a document?
Thanks!

What do you mean by document? And what do you mean by help? A little bit more information would be good.

I mean to say that there are no help documentation or examples.
English is not very good, do not mind

Ah. First there are some information in the wiki (https://github.com/Roemer/FlaUI/wiki). Feel free to extend it. Other there is a lot of "sample code" in the UI-Tests project (you find these in the folder src/FlaUI.Core.UITests). Hope this helps a little. Otherwise post your concrete questions here.

Thank you, man. You're a good man.


Recursive/deep Partial

I'm trying to convert a TS .d.ts and it has a def for recursive partial which flowgen failed to properly convert as it uses infer:
original TS:
declare type DeepPartial<T> = {
	[P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends readonly (infer X)[] ? readonly DeepPartial<X>[] : DeepPartial<T[P]>;
};

And there are some online discussions about this for TS: https://stackoverflow.com/questions/41980195/recursive-partialt-in-typescript
I couldn't find anything about it in Flow. Is it possible?
This is what flowgen did (X is undefined):
type $FlowGen$If<X: boolean, Then, Else = empty> = $Call<
  ((true, Then, Else) => Then) & ((false, Then, Else) => Else),
  X,
  Then,
  Else,
>;

type $FlowGen$Assignable<A, B> = $Call<
  ((...r: [B]) => true) & ((...r: [A]) => false),
  A,
>;

declare type DeepPartial<T> = $ObjMapi<
  T,
  <P>(
    P,
  ) => $FlowGen$If<
    $FlowGen$Assignable<$ElementType<T, P>, U[]>,
    DeepPartial<U>[],
    $FlowGen$If<
      $FlowGen$Assignable<$ElementType<T, P>, $ReadOnlyArray<X>>,
      $ReadOnlyArray<DeepPartial<X>>,
      DeepPartial<$ElementType<T, P>>,
    >,
  >,
>;

Which is also very complex compared to TS. Thanks!

Flow now supports conditional type and mapped type, so you can write down a similar one:
https://flow.org/try#1N4Igxg9gdgZglgcxALlAIwIZoKYBsD6uEEAztvhgE6UYCe+JADpdhgCYowa5kA0I2KAFcAtiRQAXSkOz9sADwxgJ+NPTbYuQ3BMnTZA+Y2yU4IwRO4A6SFBIrGVDGM7c+IFkolXpUCWewUEAwhCQgRDH8wEH4hMnwROHlsNnw4KHwwSLAAC3wANyo4LFxscWQuHgMNZmwsiRSAWglaY1cq-hIAa2wJXNpG4Vxcdvdu3v7B0RxKUYMhKDBSqmbWwIq3eagoOrKSKgH0wtMMPznY7d2SfcoBiEZ-aG5G3Ix085AF-ZhsRoRehqUEiNMgSQHlSruBZxJrMcJwMhzAC+-EgGiCLWMAAIACLYbCMAAKVH83AAPAAVAB8WIAvFjgAAdKCMiQAbUJWPSWJ6tAgMCxFIAugB+ZBY5lYqWCjlCrEKBpQNgkLEACnSP0oWIAqgBKNlykW4-FEknFXBk7VUg1Y8WS6UU2Xy+SK5VYgAkACVWGwAPJQXC0ACC1DoZI1JixAA0aUavT7-YGQzRaGS8QTiZRSRaYzTkPapY7CXKFYI3fZTFAEFiAD5Y4QiGa1rFoYjLKBYo1FoUF23GjNm8ndqkAbmZSLHLKVdVwVGwWNs9ixEDQACtxenTVnzWTgBhxcA0AewOLk2HgGwD9hxRX0ggkUiqQ-H5OV6urBgRVY0F+wF+2QADEKVhsF+2CTjEID5CYJBwNAQT5ABVgAEwAIwAGxWKhIBIkAA
flow-gen is not maintained by us, so you need to contact the maintainer of flow-gen to add support for newer features.

Flow now supports conditional type and mapped type, so you can write down a similar one:
https://flow.org/try#1N4Igxg9gdgZglgcxALlAIwIZoKYBsD6uEEAztvhgE6UYCe+JADpdhgCYowa5kA0I2KAFcAtiRQAXSkOz9sADwxgJ+NPTbYuQ3BMnTZA+Y2yU4IwRO4A6SFBIrGVDGM7c+IFkolXpUCWewUEAwhCQgRDH8wEH4hMnwROHlsNnw4KHwwSLAAC3wANyo4LFxscWQuHgMNZmwsiRSAWglaY1cq-hIAa2wJXNpG4Vxcdvdu3v7B0RxKUYMhKDBSqmbWwIq3eagoOrKSKgH0wtMMPznY7d2SfcoBiEZ-aG5G3Ix085AF-ZhsRoRehqUEiNMgSQHlSruBZxJrMcJwMhzAC+-EgGiCLWMAAIACLYbCMAAKVH83AAPAAVAB8WIAvFjgAAdKCMiQAbUJWPSWJ6tAgMCxFIAugB+ZBY5lYqWCjlCrEKBpQNgkLEACnSP0oWIAqgBKNlykW4-FEknFXBk7VUg1Y8WS6UU2Xy+SK5VYgAkACVWGwAPJQXC0ACC1DoZI1JixAA0aUavT7-YGQzRaGS8QTiZRSRaYzTkPapY7CXKFYI3fZTFAEFiAD5Y4QiGa1rFoYjLKBYo1FoUF23GjNm8ndqkAbmZSLHLKVdVwVGwWNs9ixEDQACtxenTVnzWTgBhxcA0AewOLk2HgGwD9hxRX0ggkUiqQ-H5OV6urBgRVY0F+wF+2QADEKVhsF+2CTjEID5CYJBwNAQT5ABVgAEwAIwAGxWKhIBIkAA
flow-gen is not maintained by us, so you need to contact the maintainer of flow-gen to add support for newer features.

Very nice, thanks! Cool to see flow can do it cleanly


fix(lualine): only show one Lualine component for symbols

Fixes #3511

Should we also introduce variables to keep track of aerial and navic Lualine components in case someone disables Trouble Lualine component, but ends up enabling both navic and aerial? Or that's a bit too much of a stretch?

This is a good solution. Thanks!
And no need to make those both also configurable


Hold Gesture size and event improvements

What does the pull request do?
Reduces the Hold gesture size. Hold gesture is now handled on all controls using a class handler, as opposed to adding handlers when each control is attached. Control devs can override the default behaviour, ie show the context menu, by handling it in their own event handlers.
Text selection, with respect to the hold gesture has been improved, by allowing a word to be selected at once.
What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues
Fixes #12808 . Text selection needs to be improved for touch input in general.

You can test this PR using the following package version. 11.0.999-cibuild0039460-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039718-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039800-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039941-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039959-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]


Update github workflow diagram

Changes GitHub workflow to this diagram:

I like it!  @JoeShep since you're currently running with this, can you approve or deny this change?

👍 Already used with Cohort 40. Nice addition


Better Guide on how to setup

Hi, this is probably a stupid question, but I tried to work with the example in the repo. However, upon running sbt generateTypescript It threw the following errors it seems the library is not imported is not installed probably, thoughts?
Error log
[error] scala-tsi/example/src/main/scala/models/Function.scala:17:5: not found: value TSFunctionNamed
[error]     TSFunctionNamed("GreetFunction", TSType.get[(String, Int) => String].get.asInstanceOf[TSFunction])
[error]     ^
[error] scala-tsi/example/src/main/scala/models/Function.scala:17:48: Could not find an implicit TSType[(String, Int) => String] in scope. Did you create and import it?
[error]     TSFunctionNamed("GreetFunction", TSType.get[(String, Int) => String].get.asInstanceOf[TSFunction])
[error]                                                ^
[error] scala-tsi/example/src/main/scala/models/Function.scala:17:91: not found: type TSFunction
[error]     TSFunctionNamed("GreetFunction", TSType.get[(String, Int) => String].get.asInstanceOf[TSFunction])
[error]                                                                                ^
[error] scala-tsi/example/target/scala-2.13/src_managed/com/scalatsi/generator/ExportTypescript.scala:23:47: Missing implicit for TSType[java.util.UUID => Int] in scope and could not generate one. Did you create and import it?
[error]       """Greeter""" -> ts.TSType.getOrGenerate[Greeter].get,
[error]                                               ^
[error] four errors found

Sorry for the delay
This is because I forgot to do a release after #136 was merged 🤦
Fixed with the release of 0.6.1 today!
Let me know if you have any more problems


Remove support for mixed properties

Mixed properties were deprecated in v0.99 (#3442). We should remove them prior to 1.0.

We probably want to leave in just enough support to be able to read Mixed properties in migrations in the off-chance that someone is actually using them.


feat: tracking rating status

What type of PR is this?

What this PR does / why we need it
Which issue(s) this PR fixes

Fixes #358
Special notes for your reviewer

@0xff-dev pls confirim this change can fix #368

@0xff-dev @Abirdcfly  pls review this pr.


Project is not in loaded/ready state when creating ASP .Net Core project from template

As part of service fabric application creation, we create a ASP .Net Core project from template using below call.
EnvDTE80.Solution2.AddFromTemplate();
This supposed to return the Project instance with the project tree loaded. But it returns null. Then we use dte.Solution.Projects to search by project name to get the project.
Later when we install NugetPackage (IVsPackageInstaller.InstallPackage) to the above project the installation fails with below exception. As per Nuget team, the failures is caused because the project is still not loaded
The operation failed as details for project Web1 could not be loaded.System.InvalidOperationException: The operation failed as details for project Web1 could not be loaded.
at NuGet.PackageManagement.VisualStudio.CpsPackageReferenceProject.GetAssetsFilePathAsync()
at NuGet.PackageManagement.NuGetPackageManager.d__74.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at NuGet.PackageManagement.NuGetPackageManager.d__65.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.NuGetPackageManager.d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.NuGetPackageManager.d__47.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.VisualStudio.VsPackageInstaller.d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.VisualStudio.VsPackageInstaller.d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at NuGet.VisualStudio.VsPackageInstaller.d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
at NuGet.VisualStudio.VsPackageInstaller.InstallPackage(String source, Project project, String packageId, String version, Boolean ignoreDependencies)
at Microsoft.VisualStudio.Azure.Fabric.Shared.ServiceCreation.ServiceTemplateInterpreter.InstallNuGetPackages(IServiceProvider serviceProvider, Hierarchy project, ServiceTemplateServiceContentProjectPackage[] packages, String serviceId)Failed to install package 'Microsoft.ServiceFabric.Data':
Steps to repro:

Install VS 2017 rel with workloads ‘ASP.NET and web development’ and ‘Azure development’
Install Service Fabric Runtime \trinlab2\BAQAFiles\servicefabric\5.4\MicrosoftServiceFabric.<IP_ADDRESS>94.msi
Install Service Fabric SDK \trinlab2\BAQAFiles\servicefabric\5.4\MicrosoftServiceFabricSDK.2.4.145.msi
Copy the files from \scratch2\scratch\ravipal\projectNotLoaded* to C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Microsoft\Service Fabric Tools\
Clear the MEF cache
Create a new project file->new->Cloud->Service Fabric, choose the ASP.Net Core and create a web application. This will fail to install the Nuget package.

What am I missing, this looks like: https://github.com/NuGet/Home/issues/4253?

Are you saying that EnvDTE80.Solution2.AddFromTemplate returns null?

The error message is similar to NuGet/Home#4253 but it is a different issue.
Yes EnvDTE80.Solution2.AddFromTemplate returns null.

@ravipal is this blocking you for RTM? Let me know if I need to pull this back in to RTM.

We have a workaround, so it is not blocking the RTM.
But ideally, we would like to not have workaround, so if it feasible, please fix this in RTM.

FYI EnvDTE80.Solution2.AddFromTemplate is supposed to return null for VB and C# projects. See the remarks in https://msdn.microsoft.com/en-us/library/behck2xd.aspx. Searching dte.Solution.Projects by project name is the documented solution.

Yeah good spot. Looking through the code it only returns a project when it's not a vstemplate/vsz.
Based on that and that the original NuGet issue is resolved, I'll close this.

The issue was, after the call to AddFromTemplate(), the project is still not in loaded state as a result when we use nuget package installer, it fails because the project is not ready.

Which is different from https://github.com/NuGet/Home/issues/4253 how?


[Feature Request]: Support OrderedListState in SparkRunner

What would you like to happen?
Currently, SparkRunner does not support OrderedListState
We need to support OrderedListState to close the gap with other runners.
Issue Priority
Priority: 2 (default / most feature requests should be filed as P2)
Issue Components

[ ] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Infrastructure
[X] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

cc @shunping

.take-issue


retrier: confirm splitHello to io.Writer.Write

The way our Intra fork is written, writing to retrier (DuplexConn) via io.Copy results in panic when total written bytes from TLS fragmentation exceeds the length of the input bytes; expected since this behaviour violates the io.Writer.Write contract:

It returns the number of bytes written from p (0 <= n <= len(p)) and any error encountered that caused the write to stop early. Write must return a non-nil error if it returns n < len(p).

https://github.com/celzero/firestack/commit/ba0c57c3851ce8c08c2f392b57a1890a936c803c

Since this is a private function, and we are not using the returned bytes

splitter (which impls io.Writer via DuplexConn) does use n returned from splitHello.
https://github.com/Jigsaw-Code/Intra/blob/27637e0ed497dbd1e862750b14f9a5c0be368f15/Android/app/src/go/intra/split/direct_split.go#L57

Please do not use this function elsewhere. For reusable TLS fragmentation, use the Outline SDK. (We plan to refactor our code using the Outline SDK in the future as well)

Ah, thanks.

We may or may not subtract the header length from n, depending on the bytes that has been written ... I recommend leaving it unchanged

I didn't quite catch this.
You reckon we change splitter.Write to confirm to io.Writer or close this PR?

Thanks @ignoramous for your response. I suggest closing this PR if its purpose is solely for third-party use (Outline SDK is a more suitable API with proper handling of written bytes), since we'll be refactoring this logic anyway.
However, if you're aware of any Intra use cases that might be affected, we may need to fix it.

we'll be refactoring this logic anyway.

Gotcha.

However, if you're aware of any Intra use cases that might be affected, we may need to fix it.

Well, only splitter (aka direct_split) but it isn't used by Intra anymore, even though (as it was brought to my attention, direct_split works better in face of "residual censorship").
(thanks for your input. closing...)