Question

Is it possible to command illu without even selecting it using autoexec config

I don't quite understand. Are you referring to control groups? Or do you mean the league of legends style micro where you press alt to give commands to a unit (like an illusion) and then automatically reselect your main hero?

Not like control group. In control group you still have the unit in selection to issue command. I'm not sure about LoL micro. maybe like that?
eg Currently only main naga is under my selection. When I press mouse5 + aclick the command goes to illusion, but main naga is still under selection.

Can you tell me what you bound mouse5 as? That might help me identify the command (forgot it so yeah).
Type in: 'bind mouse5'
PS: You are aware that, iirc, it gives a command to all illusions and not just 1.

eh mouse5 just for example hehe.

So something like this?
https://www.youtube.com/watch?v=B-iopnZlL2o

Ya, but looks like it command all illusions. Cant it be done on one illu? Like that one comment
"Can i ask you something about?
I wonder is there any command or binding for order to your add (for an example invoker's forge spirits) without select it. CTRL does something like that i mean you can control your add with CTRL without selecting them but you have to move them with invoker in this case. The problem is i can't give an independent order  to my forge spirits whith out selecting them  :( i was thinking to bind something like "holding shift+rightclick to  only to my forge sprits go there or attack but couldn't find... if you help i will be grateful :)"
Seems like the OP said it might be possible through ingame console?

Couldn't you just bind to keydown "select all other units" and to keyup "select hero"?

Yeah, I am not sure that exists. Perhaps check the  Manta Configuration if it has anything.
Alternatively, I have been trying to write a little variation of the control group micro, based on quick-cast. The basic idea is to be able to select a unit with say 1, issue commands while holding 1 and then automatically reselect your main hero. Not sure if this is what you want, but it's the closest I can think of.

@AetherV Manta currently doesn't have that, but I'm thinking about implementing it, since it seems to be something I'd find useful.

Yeah, I am thinking of doing that too, been playing way too much Naga Siren recently. Got a few concepts that should work.
If you want to, I can give you the code once I finish writing it (and probably mess up the pull request knowing me).

@AetherV yeah, would be helpful, so I don't have to look that deeply into it. 🙂

Ya automatically reselect main unit is ok too. OO i see it's still under development. Wish you all the best to complete it.

Well congrats @rusyaas, you successfully requested a new feature :+1:
@dodekeract hopefully I can get a draft done after tomorrow. Got to get back to learning today. Yay for Informatik exam tomorrow. . .

@AetherV haha, my semester just started today, studying computer science too

Right, @rusyaas. I have an initial version of this, however I am probably going to add some extra features just cause I got some free time right now.
You can download this at https://github.com/AetherV/Dota2-TheCore-Config-Engine/tree/Quickcast-Micro, however it may have a few bugs.
@dodekeract Check the pull request if you want to have the code. I am working on a toggle system for the 2 micro systems, hopefully that will be out soon.
I am also in the progress of coding a third one that I personally find more useful, namely having you select the unit using a key and then being able to press that key again to get back to your main hero, although there may be some limitations regarding the config system, so there are bound to be bugs.

@AetherV is your third variation different from a manta 2-cycle between "select unit" and "select hero"?

I'm not quite sure. I am getting slightly confused with where to look for the code. Mind giving me a link to the relevant bits (can't javascript unfortunately). From what I can garner from the description, it doe not seem to be there, but I am not quite sure.
The basic idea is:
say the hotkey for ctrl group 1 is "2"

Have Hero Selected
Press 2
Select (optionally center at unit) units in ctrl group 1
Press 2 again
Selects and centers at main hero

@AetherV for the new features this is as close as it gets to autoexec.
From your description this sounds like a 2-cycle containing "select hero" and "select unit".

I'll be honest, I have no clue how that script works, probably cause my head is trying to read everything as Java.
I'll take a shot at programming it myself. When it's done, I'll go add a note over at the Manta Config Engine so you can compare them.

So, a feature for holding down a button, having illusions selected, then releasing it having the hero selected?
Could be useful, but I am unsure on what button to fit it.

@loopuleasa, this is already in Manta, I implemented like 5 different variations of this and it's documented on the website, when you try to bind a key to select you should get a help text. I'd suggest you to look at what all of them are about in that help text, since I personally replaced all of my control groups with one of these new settings.


Datasets Module

This PR mostly copies over the datasets module from lifetimes, providing loading functions and benchmarking datasets for continuous, noncontractual, and discrete, noncontractual modeling. Pytest fixtures are also added for use in testing.
These will be useful for notebook examples, and particularly testing new models because these same datasets are used in research. Being able to reproduce research results is the closest thing we have to a ground truth assessment for model performance.
Four datasets are added:

CDNOW_master.txt
cdnow_summary.csv
CDNOW_sample.txt
donations.csv

'CDNOW_master.txt' is a larger file at 1.9MB and currently does not have a loading function. It is added only for completeness, and if testing on a larger dataset is desired.
'cdnow_summary.csv' contains customer data in RFM summary format, the required format for most BTYD/CLV models. (I'm still not sure if CLV is the most appropriate name in this library).
'CDNOW_sample.txt`' contains raw transactions of customer data. Some models only accept data in this format, but this can also be used for testing a utility function aggregating data in RFM format - an excellent addition for a future PR.
'donations.csv' is for discrete, noncontractual modeling. This data aggregates customers with identical characteristics by count, so it was necessary to add some code to convert it back into one customer per row.
Lastly, I've added some AzureML files to .gitignore because I sometimes work in AzureML, which has an annoying habit of auto-adding its own proprietary temp and ignore files which are invisible until pushed to a remote repo.

Shall we add a reference to the lifetimes package and / or data sources?

If you need help setting up a manifest, let me know.

I could use some help with this. It's interesting though - my btyd library shipped these same files without a manifest or dev pip install. I wonder if it's because I used poetry.

The last thing that I wanted to say is that this PR assumes that we do want to ship datasets with the package. Or should they be left outside the package and downloaded upon request via some helper function?

Total memory for these datasets is about 2.2 MB, 1.9 of which is CDNOW_master.txt, which is honestly optional. I added it because some of these models would benefit from a larger dataset. They'll still converge with CDNOW_sample.txt, but testing tolerances will need to be widened.
These files are available online, but speaking from professional experience, some companies have firewall rules set up that will block outgoing HTTP calls. If the file size is acceptable, I think shipping these with the package is preferred.

Shall we add a reference to the lifetimes package and / or data sources?

I think so, for the data sources. Should we add this reference in the function docstrings, or in the documentation somewhere? Because it'd be a good idea to include a link to Bruce Hardie's website in the docs, as it's a treasure trove of information for these models.

I've removed the CDNOW_master.txt file, so the total size of the added files is only about 300k now.  Datasets have also been added to setup.py, 'importlib_resources' is being used, and library name change to pymc_marketing has been reflected.
Been a while since I've worked on this though, and have introduced some merge conflicts. I'll dig into these more tomorrow.

After considering https://github.com/pymc-labs/pymc-marketing/issues/99, I've decided to close this PR for now. These datasets are far smaller than what is usually encountered in practice, so reproducing the research results derived from MLE will require unrealistically informative priors and wide testing tolerances. However, I've made an effort to determine these priors for the BG/NBD, Gamma-Gamma, and Modified BG/NBD models in my BTYD library, which could be useful in the future for optimizing choice of priors.
Proceeding with testing new models on synthetic data via the CLV distributions module is my preferred approach, but the distributions need to be model-specific. Those distribution objects will also be quite valuable for inference against observed data, so resolving https://github.com/pymc-labs/pymc-marketing/issues/128  will kill two birds with one stone.


DFImageCache: fix GIFs cost calculation issue

Code block wrapped inside #if DF_IMAGE_MANAGER_GIF_AVAILABLE never gets compiled because macros definition is not included in DFImageCache.m file.

Done


Update about-vsts-tfs.md

Include a mention for VSTS Analytics #305

@hkamel Thank you for this addition. Can you remove the extra period after the word "aggregations.." and then I can merge this one. Thank you!


Correct "install/open" drawer item labels

Description
The drawer item to allow install or opening of variant apps now
correctly reflects which variant are currently installed on the
device.
Related issues and discussion
#fixes #2533
Checklist
Make sure you've done all the following (You can delete the checklist before submitting)

[x] Apply the AndroidStyle.xml style template to your code in Android Studio.
[x] Code is well documented
[ ] Include unit tests for new functionality
[x] All user-visible strings are made translatable
[ ] Code passes Travis builds in your branch
[x] If you have multiple commits please combine them into one commit by squashing them.
[x] Read and understood the contribution guidelines .

@teolemon Please let me know if there are anymore changes you'd recommend for this PR.


Alternative way to handle Iron Router route-ready detection

I found this entry in the wiki page:  https://github.com/Sanjo/meteor-jasmine/wiki/Integration-Tests-for-Iron-Router
When I tried it, I got an error that the waitForRouter function wasn't available, so I tried something else and it worked:
beforeEach(function(done) {
  var routeName = "my.route.name";

  Tracker.autorun(function(c){
    if(Router.current().route.getName() === routeName){
      done();
      c.stop();
    }
  });

  Router.go(routeName);
});

Basically it relies on the fact that Router.current() is a reactive data source, so whenever the current route changes, that tracker autorun function will rerun. When it does, we check the current route to see if it is the one that we told router to go to. Once it detects that this is the case, it runs the done function indicating to Jasmine that the beforeEach 'route to where I want to start my test' condition has been completed, and also stops the autorun block of code from continuing.

Try to put the file into tests/jasmine/client/integration/lib/wait_for_router_helper.js. Then it should load before any of your specs.


struct field name with (_) is failing and struct parsing is failing

Struct field name with (_) is failing while loading metadata after creating cube
eg., name struct<first_name:string,last_name:string>
Struct type with nested struct type is failing to parse
eg., name struct<actualname:structfirstname:string,lastname:string>

Fixed with PR #511


This PR concentrates on covering all edge cases while doing a jax.jvp on Awkward Arrays.

Hi @jpivarski, I am facing a problem while indexing. In the test function if I do a 2 * array.y[0][1] or 2 * array.y[2][0], JAX gets the wrong values.I don't think JAX is the culprit here, since it always passes around the aux_data without changing it.


[deprecated] Use of deprecated api

vim.lsp.diagnostic.get_all() is deprecated in 0.6 it should be replaced by vim.diagnostic.get() instead.

You can assign it to me, but I will have time only in about 2 weeks.

akinsho/bufferline.nvim#272

Unlike the other diagnostic utilities, vim.lsp.diagnostic.get_line_diagnostics isn't hard deprecated (no deprecation message): Source
--- Get the diagnostics by line
---
--- Marked private as this is used internally by the LSP subsystem, but
--- most users should instead prefer |vim.diagnostic.get()|.
---

As I replicate almost entirely the function calls performed by internal LSP subsystem when calling "get code action" manually, I don't see how I can use vim.diagnostic.get without essentially replicating the private methods used in the neovim codebase itself.

Ok. I see. Well sorry for the false issue then.


Fix name collisions in helpers.rb

When a run_list includes consul and hashicorp-vault their helpers inject into the node colliding def blocks.
Depending on the order of inclusion, consul or vault is used, when it should be the other.
Solves: https://github.com/johnbellone/consul-cookbook/issues/498

Codecov Report

Merging #499 into master will increase coverage by 15.28%.
The diff coverage is 75%.

@@             Coverage Diff             @@
##           master     #499       +/-   ##
===========================================
+ Coverage    61.4%   76.69%   +15.28%
===========================================
  Files           8        8
  Lines         399      399
===========================================
+ Hits          245      306       +61
+ Misses        154       93       -61

Impacted Files
Coverage Δ

libraries/consul_service_windows.rb
35.89% <0%> (-12.83%)
:arrow_down:

libraries/helpers.rb
65.21% <100%> (+8.69%)
:arrow_up:

libraries/consul_config.rb
97.9% <0%> (+16.78%)
:arrow_up:

libraries/consul_watch.rb
90.9% <0%> (+42.42%)
:arrow_up:

libraries/consul_execute.rb
100% <0%> (+45%)
:arrow_up:

libraries/consul_definition.rb
91.66% <0%> (+47.22%)
:arrow_up:

Continue to review full report at Codecov.

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

Clossing - Reconsidering my fix.


Failed to install powershell-preview trying to overwrite /usr/local/share/main/main1/pwsh.1.giz

While running sudo apt-get install -y --no-install-recommends powershell-preview on my linux vm, i got the follow error.

Workaround
Thanks to @TravisEz13! The install went successfully after  apt-get remove powershell first then install again.
Steps to reproduce

Expected behavior

Actual behavior

Environment data
I have PowerShell v6.1.0-preview.1 installed on my Linux Ubuntu 16.04 before I upgrade to the preview3.

Assume we need to rename the preview's man artefact to be pwsh-preview.1.gz?

Is this function the right place?
https://github.com/PowerShell/PowerShell/blob/50d061148d369e6a77cf48db34c27c9f2b24ae6b/tools/packaging/packaging.psm1#L1084-L1103

I checked in a fix directly into the preview.3 release branch.  We will merge it into master when we are done with the release

https://github.com/PowerShell/PowerShell/commit/f08a031f88ce1d3866a21720bf8d832490a90652


TrustManager security vulnerability reported by Google Play

Can help to fix this issue?

@KingWu Facing the same issue in my app Did you got any luck yet?

@SurajLad for ios, i use 1.3.2 to build.
for android, i switch to use this branch
r_scan:
    git:
      url: git://github.com/ARRO-Coffee/r_scan.git

Same problem.

/github.com/ARRO-Coffee/r_scan.git

@KingWu Thanks

0.1.5 version


Update to 5.8.28 UniFi Controller for Unix

Note: UniFi Controller for Unix currently requires MongoDB 3.4.x or 3.5.x... will not work correctly with 3.6.x
Reference: https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-SDN-Controller-5-8-28-Stable-has-been-released/ba-p/2449036

Seems to be working: https://youtu.be/hheMACYU3CU

Thank you


Question about training the objectnav task.

Hi, Ram.Thanks for the source code.
I have successfully run the examples/objectnav_replay.py. But when I attempt to train the objectnav task. I got the following error. It seems like the task had been through a lot of training epoch, but it can't find the file path when loading the object assets.
2023-03-31 10:57:13,046 update: 670     fps: 15.565     loss: 0.476
2023-03-31 10:57:13,048 update: 670     env-time: 227.618s      pth-time: 453.639s      frames: 10736
2023-03-31 10:57:13,048 Average window size: 50  reward: 10.429  distance_to_goal: 0.036  success: 1.000  spl: 0.471  softspl: 0.469  goal_vis_pixels: 0.003
W0331 10:57:14.335494 1855275 PathFinder.cpp:716] Building naavmesh before << -1 -- [4.75703,2.67878,2.88662]
W0331 10:57:14.335537 1855275 PathFinder.cpp:721] Building naavmesh  after << -1 -- [4.75703,2.67878,2.88662]
I0331 10:57:14.335543 1855275 PathFinder.cpp:407] Building navmesh with 327x166 cells
I0331 10:57:14.425912 1855275 PathFinder.cpp:675] Created navmesh with 252 vertices 120 polygons
I0331 10:57:14.425937 1855275 Simulator.cpp:767] reconstruct navmesh successful
W0331 10:57:21.601061 1855275 PathFinder.cpp:716] Building naavmesh before << -1 -- [4.75703,2.67878,2.88662]
W0331 10:57:21.601104 1855275 PathFinder.cpp:721] Building naavmesh  after << -1 -- [4.75703,2.67878,2.88662]
I0331 10:57:21.601111 1855275 PathFinder.cpp:407] Building navmesh with 327x166 cells
I0331 10:57:21.692174 1855275 PathFinder.cpp:675] Created navmesh with 252 vertices 120 polygons
I0331 10:57:21.692203 1855275 Simulator.cpp:767] reconstruct navmesh successful
2023-03-31 10:57:23,353 update: 680     fps: 15.564     loss: 0.360
2023-03-31 10:57:23,356 update: 680     env-time: 231.075s      pth-time: 460.462s      frames: 10896
2023-03-31 10:57:23,356 Average window size: 50  reward: 9.412  distance_to_goal: 0.029  success: 1.000  spl: 0.415  softspl: 0.413  goal_vis_pixels: 0.002
I0331 10:57:33.551846 1855275 PhysicsManager.cpp:33] Deconstructing PhysicsManager
I0331 10:57:33.551889 1855275 SemanticScene.h:41] Deconstructing SemanticScene
I0331 10:57:33.555999 1855275 SceneManager.h:25] Deconstructing SceneManager
I0331 10:57:33.556010 1855275 SceneGraph.h:26] Deconstructing SceneGraph
I0331 10:57:33.556727 1855275 Sensor.h:87] Deconstructing Sensor
I0331 10:57:33.556947 1855275 Sensor.h:87] Deconstructing Sensor
I0331 10:57:33.557231 1855275 Sensor.h:87] Deconstructing Sensor
I0331 10:57:33.557246 1855275 SceneGraph.h:26] Deconstructing SceneGraph
I0331 10:57:33.562839 1855275 Renderer.cpp:34] Deconstructing Renderer
I0331 10:57:33.562855 1855275 WindowlessContext.h:17] Deconstructing WindowlessContext
I0331 10:57:33.567837 1855275 MetadataMediator.cpp:63] MetadataMediator::setActiveSceneDatasetName : Old active dataset default changed to default successfully.
W0331 10:57:33.568241 1855275 Simulator.cpp:91] Downsampling by : 0
I0331 10:57:33.568300 1855275 PhysicsAttributesManager.cpp:27] File (./data/default.physics_config.json) not found, so new default physics manager attributes created and registered.
I0331 10:57:33.568317 1855275 ManagedContainerBase.cpp:19] ManagedContainerBase::convertFilenameToJSON : Filename : data/scene_datasets/mp3d/1pXnuDYAj8r/1pXnuDYAj8r.glb changed to proposed JSON configuration filename : data/scene_datasets/mp3d/1pXnuDYAj8r/1pXnuDYAj8r.stage_config.json
I0331 10:57:33.567837 1855275 MetadataMediator.cpp:63] MetadataMediator::setActiveSceneDatasetName : Old active dataset default changed to default successfully.
W0331 10:57:33.568241 1855275 Simulator.cpp:91] Downsampling by : 0
I0331 10:57:33.568300 1855275 PhysicsAttributesManager.cpp:27] File (./data/default.physics_config.json) not found, so new default physics manager attributes created and registered.
I0331 10:57:33.568317 1855275 ManagedContainerBase.cpp:19] ManagedContainerBase::convertFilenameToJSON : Filename : data/scene_datasets/mp3d/1pXnuDYAj8r/1pXnuDYAj8r.glb changed to proposed JSON configuration filename : data/scene_datasets/mp3d/1pXnuDYAj8r/1pXnuDYAj8r.stage_config.json
I0331 10:57:33.568404 1855275 AbstractObjectAttributesManagerBase.h:180] File (data/scene_datasets/mp3d/1pXnuDYAj8r/1pXnuDYAj8r.glb) exists but is not a recognized config filename extension, so new default Stage attributes created and registered.
I0331 10:57:33.568413 1855275 Simulator.cpp:156] Loading navmesh from data/scene_datasets/mp3d/1pXnuDYAj8r/1pXnuDYAj8r.navmesh
I0331 10:57:33.568756 1855275 Simulator.cpp:158] Loaded.
I0331 10:57:33.568768 1855275 SceneGraph.h:93] Created DrawableGroup:
Renderer: NVIDIA GeForce RTX 3090/PCIe/SSE2 by NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 510.47.03
Using optional features:
    GL_ARB_ES2_compatibility
    GL_ARB_direct_state_access
    GL_ARB_get_texture_sub_image
    GL_ARB_invalidate_subdata
    GL_ARB_multi_bind
    GL_ARB_robustness
    GL_ARB_separate_shader_objects
    GL_ARB_texture_filter_anisotropic
    GL_ARB_texture_storage
    GL_ARB_texture_storage_multisample
    GL_ARB_vertex_array_object
    GL_KHR_debug
Using driver workarounds:
    no-forward-compatible-core-context
    nv-egl-incorrect-gl11-function-pointers
    no-layout-qualifiers-on-old-glsl
    nv-zero-context-profile-mask
    nv-implementation-color-read-format-dsa-broken
    nv-cubemap-inconsistent-compressed-image-size
    nv-cubemap-broken-full-compressed-image-query
    nv-compressed-block-size-in-bits
I0331 10:57:33.573024 1855275 ResourceManager.cpp:205] ResourceManager::loadStage : Loading Semantic Stage mesh : data/scene_datasets/mp3d/1pXnuDYAj8r/1pXnuDYAj8r_semantic.ply
I0331 10:57:33.573035 1855275 SceneGraph.h:93] Created DrawableGroup:
I0331 10:57:46.261307 1855275 ResourceManager.cpp:237] ResourceManager::loadStage : Semantic Stage mesh : data/scene_datasets/mp3d/1pXnuDYAj8r/1pXnuDYAj8r_semantic.ply loaded.
I0331 10:57:46.261370 1855275 ResourceManager.cpp:1146] Importing Basis files as BC3
I0331 10:57:51.785542 1855275 simulator.py:220] Loaded navmesh data/scene_datasets/mp3d/1pXnuDYAj8r/1pXnuDYAj8r.navmesh
I0331 10:57:51.786936 1855275 simulator.py:232] Recomputing navmesh for agent's height 0.88 and radius 0.18.
W0331 10:57:51.813958 1855275 PathFinder.cpp:716] Building naavmesh before << -1 -- [19.2872,6.33528,12.9889]
W0331 10:57:51.814005 1855275 PathFinder.cpp:721] Building naavmesh  after << -1 -- [19.2872,6.33528,12.9889]
I0331 10:57:51.814011 1855275 PathFinder.cpp:407] Building navmesh with 394x509 cells
I0331 10:57:52.105038 1855275 PathFinder.cpp:675] Created navmesh with 1097 vertices 543 polygons
I0331 10:57:52.105103 1855275 Simulator.cpp:767] reconstruct navmesh successful
W0331 10:57:52.134897 1855275 PathFinder.cpp:716] Building naavmesh before << -1 -- [19.2872,6.33528,12.9889]
W0331 10:57:52.134948 1855275 PathFinder.cpp:721] Building naavmesh  after << -1 -- [19.2872,6.33528,12.9889]
I0331 10:57:52.134954 1855275 PathFinder.cpp:407] Building navmesh with 394x509 cells
I0331 10:57:52.423643 1855275 PathFinder.cpp:675] Created navmesh with 1097 vertices 543 polygons
I0331 10:57:52.423698 1855275 Simulator.cpp:767] reconstruct navmesh successful
I0331 10:57:52.424098 1855275 ManagedContainerBase.cpp:19] ManagedContainerBase::convertFilenameToJSON : Filename : data/assets/objects/ycb_google_16k_v2/configs_gltf/024_bowl changed to proposed JSON configuration filename : data/assets/objects/ycb_google_16k_v2/configs_gltf/024_bowl.object_config.json
W0331 10:57:52.424120 1855275 AttributesManagerBase.h:198] AttributesManager::loadAllConfigsFromPath : Parsing Object : Cannot find data/assets/objects/ycb_google_16k_v2/configs_gltf/024_bowl or data/assets/objects/ycb_google_16k_v2/configs_gltf/024_bowl.object_config.json. Aborting parse.

AssertionError: Object template 'data/assets/objects/ycb_google_16k_v2/configs_gltf/024_bowl' wasn't found.

My data folder settings is as follows:

What have I missed? And could you tell me how to solve it?

Hi @me-no-money , are you using the objectnav_mp3d_gibson_80k.zip dataset?

Hi @Ram81, thanks for your reply. I'm using the objectnav_mp3d_70k.zip dataset. BTW, I can't download the objectnav_mp3d_gibson_80k.json.gz dataset from this link objectnav_mp3d_gibson_80k.json.gz . Should I use the objectnav_mp3d_gibson_80k.zip dataset?

hello @Ram81,
i'm also facing the exact same issue. could u please help me out.

@me-no-money @yuerbujin can you try downloading the YCB object dataset for habitat-sim using the instructions mentioned here. Please make sure that dataset is downloaded at data/assets/objects/ycb_google_16k_v2/configs_gltf/. Let me know if this resolves the issue you are facing

@me-no-money @yuerbujin can you try downloading the YCB object dataset for habitat-sim using the instructions mentioned here. Please make sure that dataset is downloaded at data/assets/objects/ycb_google_16k_v2/configs_gltf/. Let me know if this resolves the issue you are facing.

thank you so much for you quick reply.
In which file did you specify this directory "data/assets/objects/ycb_google_16k_v2/configs_gltf/", i want to modify it.

@me-no-money @yuerbujin can you try downloading the YCB object dataset for habitat-sim using the instructions mentioned here. Please make sure that dataset is downloaded at data/assets/objects/ycb_google_16k_v2/configs_gltf/. Let me know if this resolves the issue you are facing.

thank you so much for you quick response. i have solved this problem!

Hi!  @yuerbujin, Can you share the directory structure in your data/assets/objects/ycb_google_16k_v2/configs_gltf/ folder? Is data/assets/objects/ycb_google_16k_v2/configs_gltf/024_bowl a folder? Which has the .object_config.json file and the .glb file? Or the directory
structure should be data/assets/objects/ycb_google_16k_v2/configs_gltf/024_bowl.object_config.json?

@me-no-money @yuerbujin can you try downloading the YCB object dataset for habitat-sim using the instructions mentioned here. Please make sure that dataset is downloaded at data/assets/objects/ycb_google_16k_v2/configs_gltf/. Let me know if this resolves the issue you are facing.

@Ram81  Thank u! I have already solved this problem too!

Closing this issue as it is resolved.

@me-no-money  @Ram81  @yuerbujin  I am  facing the same issue,  Did you try solving it using the following instructions:
python -m habitat_sim.utils.datasets_download --uids ycb --data-path data/assets/objects/ycb_google_16k_v2/configs_gltf/
After running this command, I encountered the same issue. My dataset is configured as follows:

@yusirhhh I have met the same problem as yours. Have you addressed it?


Updates to the PHaaS classes

Removed the manual setting of content type for POST/PATCH requests
Adds additional methods for getting the campaign results

changes look fine, will merge
noticed you are using the request method on the base client, can save some typing by using the request helpers
eg,
instead of: $this->request('POST', .... )
you can call:  $this->post(...)


Can't close AlertDialog by overlay click when accessibilityLabel or testID is set

Description
When the AlertDialog is provided with the prop closeOnOverlayClick === true, it is expected that clicking the AlertDialog overlay would close the dialog. This seems to happen when accessibilityLabel or testID is set. When neither is set closeOnOverlayClick works as expected.
CodeSandbox/Snack link
https://snack.expo.dev/@larrya/alertdialog-bug
Steps to reproduce

Open the AlertDialog
Click overlay

NativeBase Version
3.4.8
Platform

[X] Android
[ ] CRA
[ ] Expo
[ ] iOS
[ ] Next

Other Platform
No response
Additional Information
No response

Hey @Lagbana  Thanks for reporting this. We will look into it

@Lagbana i checked the snack you provided and it works fine when i remove the testID as you said, but in my case, closeOnOverlayClick is not working in any case.

+1


Provide pre-built GitHub Action

Not sure about this, since testing and maintaining actions are tough to my experience.

Not planned since we ended up with not introducing any platform specific routine in #40.


Response area does not show real response

In case the response of an endpoint returns a slightly invalid json, the response view looses some data.
The original response is:
{
	"parent": {
		"child": {
			"id": "490017",
			"availability": "2"
		},
		"child": {
			"id": "490055",
			"availability": "2"
		}
	}
}

will be shown like:
{
	"parent": {
		"child": {
			"id": "490055",
			"availability": "2"
		}
	}
}

Bruno is also Parsing the content to json although the response content-type, is for exampel "text/plain".
I think it is important for an API client that the displayed response is maching the real response. Prettifing is of course also an important feature but should not corrupt the responeded data.

What can we do against it ?

What can we do against it ?

Not much currently with standard Bruno, but I implemented a "raw" preview mode for this on my fork. The Fork is compatible with standard Bruno and just includes some you can try it out here:


Copying asynchronously to the GPU

Copying asynchronously to the GPU improves (slightly) the performances

Hey, thanks! Good to know. I'm messing with the file today, will merge soon.

The cuda runtime is being moved out of this repo, so I am going to close this PR – but thanks for the contribution :)


[SPARK-9403][SQL] codeGen in / inSet

Jira: https://issues.apache.org/jira/browse/SPARK-9403
@rxin ping

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can you beef up the test cases for in and inset in predicatesuites to include all primitive data types?

actually now i think about it more, in most cases it's probably a lot faster to just use the generated code for IN compared with a hashset lookup. In the case of a hashset lookup, it might make sense to change the OptimizeIn rule to only convert In to InSet if the number of instances is greater than say 50.

As for passing in the hashset, one way to do it is to relax the type constraint of references in codegenerator, and allow passing in arbitrary objects.

Jenkins, ok to test.

Jenkins, add to whitelist.

Test build #1249 has started for   PR 7778 at commit e69ebaa.

Test build #1249 has finished for   PR 7778 at commit e69ebaa.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class In(value: Expression, list: Seq[Expression]) extends Predicate
case class InSet(child: Expression, hset: Set[Any]) extends UnaryExpression with Predicate


Predictable, deterministic 1wallet address

As of today, the address of each new 1wallet is based on the state of the relayer's wallet (an Externally Owned Account): the relayer's nonce, and the relayer's address. The relayer's address is immutable and can be easily queried, but the relayer's nonce is not so predictable. A single relayer may serve many wallet-related requests at the same time, including creation requests. Since each of such request leads to the relayer's wallet to perform a contract operation, its nonce would increment, leading to a new expected 1wallet address for any subsequent wallet creation requests. Therefore, a consequence of this setup is that it would be practical to predict an 1wallet address prior to the relayer submitting the creation operation to the blockchain, because prior to that the nonce for that operation would remain unknown.
This setup is undesirable in two ways:

The 1wallet address is unrelated to any information in the user's possession. Users who want to restore access to their 1wallet using authenticator seed (exported QR code) are forced to remember or find their 1wallet address as well.
It increases onboarding friction because the 1wallet address will not be known in advance and cannot be computed by the client. The user is forced to wait until the relayer responds to the client with the new 1wallet address. The response time is generally 4-5 seconds at present since the relayer first confirms the operation is successful before responding.  Although it is possible for the relayer to respond with the address without confirming the success of the creation operation, the burden would be shifted to the client. Under poor network conditions, both the relayer-client communication and the client-blockchain communication can be slow and congested, leading to long wait time before a new address can be confirmed. When a new address fails to be confirmed for some reason, the client would be forced to get a newer address since the nonce value which the previous-new address is based on is likely to have expired (used by another request in the relayer)

To resolve this issue, we will use salted contract creation via (factory) contracts to deploy new 1wallet instead. See https://docs.soliditylang.org/en/v0.8.9/control-structures.html#salted-contract-creations-create2. Using this method, the new 1wallet address will depend on an arbitrary salt, the deployer (factory) contract's address, and the contract binary code itself. The value of the latter two are fixed and known to the client in advance. Since the salt can be arbitrarily, we have a high degree of freedom in what can be used here.
A natural choice would be the hash of ("hash of the authenticator seed"1 and "the version of the wallet"). This allows the client to not only determine the 1wallet address in advance before it is created (while a random seed is already generated and presented to the user as QR code), but also to predict in advance of the address of all future upgrades of the wallet (each time a wallet is upgraded, it gets a new address). Moreover, the wallet's address can be inferred directly from authenticator seed (exported QR code)2, and the user no longer needs  to memorize or save the 1wallet address. Restore an 1wallet can be done with just one simple QR code scan.
However, note that this change will not work retroactively. Wallets created prior to this implementation will still have relayer-assigned addresses. However, when these wallets are subsequently upgraded, the new addresses they get after the upgrade(s) can become predictable and deterministic, using the aforementioned salt.
[1]: subject to post-processing, see code at https://github.com/polymorpher/one-wallet/blob/71a0b26a2592bc9b0ac2961e343c53235053bb02/code/lib/onewallet.js#L31
[2]: The version of the wallet can be attached to the name in the authenticator entry, so that the exported QR code will have the complete information required for determining the address of the wallet, or at least the address prior to subsequent upgrades. The address of latest upgraded version can be traced using the chain of forwardAddress.

This is done


UML-1900 - Create a CircleCI workflow for Terraform only changes

Purpose
When PRs only relate to terraform, we only need to test terraform stages of workflow.
Fixes UML-1900
Approach

Create a workflow for terraform only changes
Only run workflows if the branch matches the pattern /dependabot/terraform/*

Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about the Use a Lasting Power of Attorney service
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] I have added welsh translation tags and updated translation files
[ ] I have run an accessibility tool on any pages I have made changes to and fixed any issues found
[ ] The product team have tested these changes

Terraform only PRs Have a shorter workflow


add pypi link

Summary
Adds the PyPI project link into the README.

Checklist

[ ] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.

[ ] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[x] This PR is not a code change (e.g. documentation, README, ...)

The pypi version badge already links to the Pypi.
I don't think another link is necessary since everything that appears there also appears on GitHub.


Question about Motion Supervision and Point Tracking

Hello,
Thanks for sharing your great work!
I have 2 questions regarding motion supervision:

Why do you normalize the direction vector $d_i$ in the loss (equation 3)? Can't we directly optimize for matching the position $g_i$ itself? Is it for making the latent optimization more gradual? If so, how important is it?
Maybe related to the previous question -- why is the point tracking step necessary? I see that in equation 3 you are taking the target feature $sg(F_q(\hat{z}^k_t))$ from the optimized latent, which of course requires $q$ to be updated in the next steps by point tracking. But why can't the target feature be taken from the original latent, without having to update $q$?

I was also wondering about the same. It seems like eq 3 has handle positions in pixel coordinates (not in natural image coordinates (0,1)^2 as I expected) so each update tries to move the point slightly. Also note that if handle position is already close to the target we skip corresponding loss term - see here
https://github.com/Yujun-Shi/DragDiffusion/blob/ebe659a9c5b722f25d9690e74d813fca96531f97/utils/drag_utils.py#L133
As for 2 my guess is that we want to update features gradually. Some points in $\Omega$-region may change completely (think about the statue example - if the handle point is on the nose, under extreme rotations we want to have background pixels)
I would love to hear some confirmation from the authors


Fix jobs names alignment

Currently jobs names are misaligned slightly. The left padding of a bubble is too big and the right one is too small.
This request changes mentioned above paddings:

Before:

After:

Thanks! :)


[FEATURE] : Add "Leaderboard" Section To All Individual Games

Description
GSSOC'23
Issue Description:

Add Leaderboard Section for Each Individual Game.

How To Design That ??

Go To The 'https://games.ieeessitvit.tech/' Website.
See Different Types of Games There.

Design Particular Leaderboard Section Below Way:

User Name, Game Name, Game ID, Particular Rank
Except, User Name.  All Other Options having Maintain Drop Down List.

For Example:

Suppose, When Click on Game Name Drop Down, What are the Games Currently Present in Our website are Present in this Game Name Drop Down.
Likewise, Maintain Drop Down List to Remain Things like Game ID, Particular Rank Except User Name .

Where To Put in This Feature ??

Entire this Feature Puts in Whenever Particular User Attempt and Finished that One Game. Immediately, Shown Leaderboard Card.

Generate Updated Details of Particular Game attempted By User shown in 2 Ways :

( 1st Base Level Choice)

Select, Drop Down Options. If select All Drop Down Options for Each Category, Then Automatic Particular Rank Updated and Shown there that Rank based on Previous Ranks (Develop Automatic Generating Feature for Ranks).

(2nd Hard Level Choice)

Better Than Selecting Particular Drop Down Options, We Can Design Automatic Generating Feature for All Options.

Screenshots
No response
Additional information
NOTE:

Maintain Leaderboard Feature  is Best Thing for Gives High Motivation and Confidence to Users Who Can Attempt Particular Game.

Similar to the home tab we can add a leaderboard tab and in it there would be tiles of game redirecting them to leader board of that particular game.
Screenshot:
sample screenshot
THEN PROCEDING FURTHER this UI will come,
screenshot:
https://drive.google.com/file/d/1lWXoKbUQcNqftReP7So2Ua9pE3bywl0D/view?usp=sharing
This will be the leaderboard when we click on Display leaderboard:
https://drive.google.com/file/d/1lJFisseocjSCkfW5e_bnVA2O3fd8HxWb/view?usp=sharing
I can do this task quickly and with a better ui please assign this to me..under gssoc'23

please assign this issue

Hi @NarendraKoya999 , I am assigning this issue to you. Kindly complete within a week. Good luck!

Sure @panwar8279


feat: Added Linter and formatter & made content editable before download

Fixes Issue
#17 and #15
My PR closes #issue_number_here
👨💻 Changes proposed(What did you do ?)

I created a new component for each postContent to make them easily editable.
I added a  header to the card tagged "edit" a user can click on it to edit the content of a card
I added a state to hide the edit tag upon downloading the images (once the download button is clicked)
I installed eslint and added the following rules:

Next Js core eslint rules

a rule to enforce a better import order for components

a rule to remove unused imports

I fixed all part of the codes that were breaking the linter rules.

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title and description of the PR is clear and explains the approach.

Note to reviewers

There a few rules and warnings I flagged out on some part of the code.
I assigned better types to some part of the code too.
I think a future issue for better styling of the edit box will be nice.
That's about all 😄

📷 Screenshots

https://github.com/Dun-sin/Threstagram/assets/82924100/57f52622-492d-4ff8-858c-ec88ddd80b7a

Didn't assign you to the second

Yes, I was supposed to open a PR if that was assigned to me after I was done with this but I mistakenly pushed them to same branch

Yes, I was supposed to open a PR if that was assigned to me after I was done with this but I mistakenly pushed them to same branch

Please close this PR and just add the code for the issue you were assigned

Can I be assigned the other issue and open a PR for that first?

Can I be assigned the other issue and open a PR for that first?

I've said what I said, you put yourself into this problem by not reading the rules of the project, I wasn't planning on assigning you to the other one.
So please do what I asked

Ok, setting a code space up to fix it I'll open another issue when I'm done 🤧, sorry for the inconvenience caused.


BLOB Storage Module Extended by From an To FieldRef

incl. Tests

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

Code being reviewed and processed internally.


⚠ Bofrost.nl has degraded performance

In eb941e3, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 2153 ms

Resolved: Bofrost.nl performance has improved in 0bb5cf4.


Motoki/individual page: bare minimum layout

I've used 'search' screen as the sandbox for my task but reversed it so you will NOT see the individualPageScreen linked anywhere as of now.

Function name + export name have been capitalized.


Fixing the cache update logic

Hello,
First of all, I've used this library extensively for last week and I want to thank for your hard work. It works great!
Secondly, I've used apollo client with react, react native and vue so I'd like to ask about cache update logic OR report a bug if it's a design flow. Here is an example:

Page A
-- Query (messages)

Page B
-- Mutation (addMessage)
---  Use update() callback in Mutation widget. Update "messages" cache and run cache.save()

This scenario works fine 👍  Let's skip to second scenario

Page A
-- Query (messages)

Page B
-- receive an event (e.g. push notification with data)
-- Update "messages" cache and run cache.save()

In this case, I would expect the Query in "Page A" to be updated but it's not. 👎  I've spent almost two days to understand what's wrong.
After digging code, it turns out there is also a local snapshot for every Query widget.
If I change the cache externally, a local snapshot from AsyncSnapshot will not be updated.
I realized snapshot is only updated with Mutation callbacks: update, onError and onCompleted
If I want to update a Query snapshot externally, I manually force cache update with
client.queryManager.rebroadcastQueries()
This was my aha moment.
Is this a design choice? I believe, rebroadcastQueries should run after ever cache.write().
Correct?

Consolidating into #728


Channel should not be a requirement

It is possible that an existing kafka producer for a topic may not use channels.  Topics can have messages that are not targetted to a channel.  It should be possible to setup the KafkaPubSub with a configuration or the asyncIterator with some sort of null value or empty array to allow all messages found on a topic to be considered valid payloads to process.

OK, I figured this out on my own.  For anybody else who didn't get this (since the documentation is lacking) when you subscribe to a topic without using channels, use the topic name for the channel.
pubsub.subscribe(topic, onMessage)
...
const resolvers: IResolvers = {
Subscription: {
postAdded: {
subscribe: () => pubsub.asyncIterator([topic]),
resolve: (payload) => payload
},
}
};


Wire up endpoints to layer selector

Populate layer selector components with actual data.
Easier to test with #91.

+1 Tested.


Lost Funds on Zap Please Help!!!

Well i was running my zap wallet on my server but the server crashed i always new if it crashed i would loose funds so i backed up the seed the zap folder it self and the channels i saved locally.
Now when i replicate exactly how it was on my server put the zap folder the channels i get this
Lnd has unexpectedly quit!
Error code:
1
Error signal:
Unknown
Error message:
Unable to open channeldb: channel db cannot revert to prior version
Then i recovered my wallet from seed but now the channels have disappeared i had 3 channels pending closing after 1466 confirms  my main question is once they reach the confirm of 1466 will funds show in my wallet since now i can t import my channels what do i do  i can keep track if funds will come or not can any one help i'd be willing to pay if i can recover the funds my experience in this is very small but i did back all necessary files not sure if i can recover funds or not please advise?

Unable to open channeldb: channel db cannot revert to prior version

That sounds like you are trying to use your wallet data with an older version of lnd.

I recovered my wallet from seed but now the channels have disappeared

Restoring from a seed does not recover funds from channels. Please see https://github.com/lightningnetwork/lnd/blob/master/docs/recovery.md for details on how to fully restore the funds.

what if we don't have a ln channel backup?  i use zap desktop and it did not even prompt me to do a backup when i opened a ln channel.

Sorry you experienced this issue

what if we don't have a ln channel backup? i use zap desktop and it did not even prompt me to do a backup when i opened a ln channel.

It does provide some details about and options for backing up the wallet state data when you go through the wallet creation flow. I think those warnings that are provided in the wallet creation flow are adequate. Backing up the wallet data is the responsibility of the user.

Hi, I keep getting the following error message on my ZAP bitcoin Wallet for Desktop:
Lnd has unexpectedly quit!
Error code:
1
Error signal:
Unknown
Error message:
Shutting down because error in main method: error creating wallet config: unable to initialize neutrino backend: unable to create neutrino light client: unable to read header: EOF
Please help me get back into my wallet, not sure what to do here?


Is there any reason Windows + Shift + T isn't working

Microsoft PowerToys version
0.66.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
TextExtractor
Steps to reproduce
Windows + Shift + T
✔ Expected Behavior
A dark screen to indicate I can drag my mouse over certain texts
❌ Actual Behavior
Dark Screen doesn't even show
Other Software
No response

It's possible that Windows itselfs captures the shortcut first; might be #20194

Hi @Kodex-Baba
Can you check if you have WIN+ SHIFT + T configured in another disabled PowerToys utility?
TextExtractor is using LLKH and the shortcut should work even if WIN + T is used by the system.
/needinfo


[Bug] Unexpected behaviour with t.Union and t.ObjectString

I am sending nested object via FormData to Elysia endpoint and I am expecting either of the following:
// a single object
{
  contact: {
    name: String,
    number: String
  },
  ...other props
}
// or an array of objects
[
  {
    contact: {
      name: String,
      number: String
    },
    ... other props
  }
  {
    contact: {
      name: String,
      number: String
    },
    ... other props
  }
]

This is how I send it:
const formData = new FormData()
formData.append('contact', JSON.stringify(contact))

Elysia has a good utility t.ObjectString that parses JSON string passed in multipart form data and transforms it into an object. But somehow does not work with t.Union. To demonstrate this is how I use it:
const contactSchema = t.ObjectString({
  name: t.String(),
  number: t.String()
})
const route = new Elysia()
  .post('/test', async ({ body }) => {
    console.log(body)
  }, {
    body: t.Object({
      contact: t.Union([contactSchema, t.Array(contactSchema)])
    })
  })

It parses it and returns a JSON string instead (i.e. "{'name': 'some name', 'number': '6565'}"). But if I were to use either:

contactSchema
or t.Array(contactSchema)
It works and returns parsed object/array of objects. Is this the expected behaviour for t.Union or I am doing something wrong?

For now I can use transform or beforeHandle local hook to return proper data format to route handler.

Fixed as implementation of type coercion


Uncaught out of memory condition during installation

Details
This is the re-issue of https://github.com/rtfd/readthedocs.org/issues/2000
The big whl installation still fails.
If this issue is for a specific project or build, include the following:

Project: ecell4
Build #: 3772346

Closing as duplicate.


[3.0] cancel last retryFuture, destory listener after each test

What is the purpose of the change
#9185

Codecov Report

Merging #9186 (be2931c) into 3.0 (7c7ee62) will decrease coverage by 0.21%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                3.0    #9186      +/-   ##
============================================
- Coverage     64.94%   64.72%   -0.22%
  Complexity      314      314
============================================
  Files          1185     1185
  Lines         51017    51019       +2
  Branches       7586     7564      -22
============================================
- Hits          33132    33023     -109
- Misses        14288    14393     +105
- Partials       3597     3603       +6

Impacted Files
Coverage Δ

...vent/listener/ServiceInstancesChangedListener.java
79.49% <0.00%> (+0.17%)
:arrow_up:

...a/org/apache/dubbo/rpc/filter/AccessLogFilter.java
24.35% <0.00%> (-44.88%)
:arrow_down:

...va/org/apache/dubbo/rpc/support/AccessLogData.java
53.16% <0.00%> (-37.98%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
46.15% <0.00%> (-15.39%)
:arrow_down:

...ache/dubbo/remoting/transport/AbstractChannel.java
75.00% <0.00%> (-12.50%)
:arrow_down:

.../remoting/transport/netty4/NettyServerHandler.java
58.13% <0.00%> (-9.31%)
:arrow_down:

.../common/threadpool/serial/SerializingExecutor.java
70.37% <0.00%> (-7.41%)
:arrow_down:

.../org/apache/dubbo/rpc/protocol/tri/WriteQueue.java
68.75% <0.00%> (-6.25%)
:arrow_down:

...nt/metadata/StandardMetadataServiceURLBuilder.java
86.04% <0.00%> (-4.66%)
:arrow_down:

.../org/apache/dubbo/qos/legacy/LogTelnetHandler.java
30.30% <0.00%> (-3.04%)
:arrow_down:

... and 29 more

Continue to review full report at Codecov.

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


[Enhancement] Adding a configurable whitelist of pets that can be revived, for use with modded pets.

I mean, the title says it all.  People want to be able to revive their dragons, foxhounds, etc., but no pet revive mods seem to do that as of the time of writing this. I think that if you were to implement this, it would definitely put you a notch above the other mods in this niche.

Would it be possible to have the mod check for the OwnerUUID NBT attribute and execute it's death prevention functions on anything where that tag !=null? That should (I would think) allow you to keep people's pets alive without needing to base the response on a particular critter, and allow mod support without manually coding for each new pet.

Would it be possible to have the mod check for the OwnerUUID NBT attribute and execute it's death prevention functions on anything where that tag !=null? That should (I would think) allow you to keep people's pets alive without needing to base the response on a particular critter, and allow mod support without manually coding for each new pet.

I am not quite sure. I have literally zero modding knowledge lol. Some sort of "revival tag" item to put on any pet would probably be the best way to do it. The player just right clicks the pet with the item and then they are able to be revived when downed?

I am not quite sure. I have literally zero modding knowledge lol. Some sort of "revival tag" item to put on any pet would probably be the best way to do it. The player just right clicks the pet with the item and then they are able to be revived when downed?

This issue has been quiet but still open for a while. Is this added, not possible, wip, etc.?


[Backport 17.12] Added required call to allocate VIPs when endpoints are restored

From original PR (https://github.com/docker/swarmkit/pull/2468):
Tracking down libnetwork/1790#issuecomment-308222053. The report is that if on a single node several services are started, and if this node is then rebooted, all the services appear to come back but some of them are no longer reachable.
On probing, the cause turned out to be an invalid assignment of IP addresses to services when they were restored. Specifically, the same IP address was assigned to one service's VIP and also a different service's endpoint. The result was that packets got delivered to the wrong container and caused symptoms like services or ports unreachable.
This is very likely to also be the cause of moby/#35675 and other duplicate-IP or overlapping IP issues.
The reason for this problem seems to be that the code path followed when services are restored, at no point contacts or informs IPAM about the IP addresses used as the restored service's VIP. So IPAM thinks that those IP addresses are still available and hands them out to endpoints and new services, causing the observed chaos.
To work out the right fix, I compared the code path when a service is created from the CLI to the code path when a service is restored on reboot. To me this fix is the bit that should have always been on the restore path but was omitted. With this fix IPAM gets correctly informed and it's state is consistent with what I see on the network.
I have tested this fix on a single node running several services and when there multiple nodes with multiple managers running many services (specifically 2 nodes and 2 managers). In both cases, without the fix a reboot would cause IP address overlaps on the ingress network. With the fix there are no overlaps.
While the fix seems to work, I'm not sure if it is at exactly the right point in this function, or indeed if it is the right or complete fix. Please take a look and let me know.

@balrajsingh @abhi @dperny for final blessing

CI error:
time="2017-12-15T19:40:14Z" level=error msg="task allocation failure" error="failed to retrieve network testID3 while allocating task testTaskID3"
time="2017-12-15T19:40:15Z" level=error msg="Failed allocation for network testID5" error="failed while allocating driver state for network testID5: could not obtain vxlan id for pool <IP_ADDRESS>/24: requested bit is already allocated"
time="2017-12-15T19:40:15Z" level=error msg="task allocation failure" error="network testID5 attached to task testTaskID6 not allocated yet"
time="2017-12-15T19:40:15Z" level=error msg="Failed allocation for service testServiceID4" error="requested bit is already allocated"
time="2017-12-15T19:40:15Z" level=error msg="task allocation failure" error="service testServiceID4 to which this task testTaskID7 belongs has pending allocations"
--- FAIL: TestNodeAllocator (0.02s)
	allocator_test.go:1047: timed out before watchNode found expected node state
FAIL
coverage: 71.5% of statements
FAIL	github.com/docker/swarmkit/manager/allocator	4.167s

Tried a couple of times, giving up, looks like was also failing on master

when i merged the original PR all tests were succeeding...

@dperny yeah but as far as I know @balrajsingh triggered the CI several times

@balrajsingh can you take a look? is it possible that is an artifact of running the tests in parallel?

@fcrisciani This particular test (TestNodeAllocator) seems to pass sometimes and fail at other times on the CI.
On my local machine it seems to mostly fail, but it also fails when I go back to previous versions.  I've checked back till about early Oct and in my env this test is currently failing in all of them.
I also tried removing all other tests in that file but the test still fails, though without the allocation failure message.

@balrajsingh I looked at the test cases. It looks like this error is expected.
time="2017-12-15T19:40:14Z" level=error msg="task allocation failure" error="failed to retrieve network testID3 while allocating task testTaskID3"
time="2017-12-15T19:40:15Z" level=error msg="Failed allocation for network testID5" error="failed while allocating driver state for network testID5: could not obtain vxlan id for pool <IP_ADDRESS>/24: requested bit is already allocated"
time="2017-12-15T19:40:15Z" level=error msg="task allocation failure" error="network testID5 attached to task testTaskID6 not allocated yet"
time="2017-12-15T19:40:15Z" level=error msg="Failed allocation for service testServiceID4" error="requested bit is already allocated"
time="2017-12-15T19:40:15Z" level=error msg="task allocation failure" error="service testServiceID4 to which this task testTaskID7 belongs has pending allocations"

So definitely thats not an issue.If you run go test -run TestNodeAllocator, you see the test failing ? I just pulled the master and ran a bunch of times and I don't see any test failing.

This can probably be closed

merged as another PR


add_actor_label for export_for_web

Hello
Unfortunately, the feature does not exist when exporting to the web
Is it a bug or is it not added yet?
Thank you

Hi,
it's not a bug, it's due to the limitations of the backend used to export 3d renderings to .html format, as stated in the docs: https://docs.brainrender.info/usage/videos-animations-and-exporting-to-html#exporting-to-html


Rewrite list filter queries to not table scan.

Creates a query that looks something like this
with allow_permission as (
    -- Find the permission
    select
            p.id
    from permissions p
    where p.resource_type = 'Repository' and p.name = 'pull' -- action and resource type
), permission_roles as (
    -- find roles with the permission
    select
            rp.role
    from role_permissions rp
    join allow_permission ap
    on rp.permission_id = ap.id
), relevant_roles as (
    -- recursively find all roles that have the permission or
    -- imply a role that has the permission
    with recursive relevant_roles (role) as (
            select
                    role
            from permission_roles
            union
            select
                    ri.from_role
            from role_implications ri
            join relevant_roles rr
            on ri.to_role = rr.role
    ) select * from relevant_roles
), user_relevant_roles as (
    select
        *
    from user_roles ur
    join relevant_roles rr
    on rr.role = ur.role
    where ur.user_id = 1 -- user_id
)
select
  R.id
from repositories R
join user_relevant_roles urr
on urr.resource_type = 'Repository' and urr.resource_id = R.id
union
select
  R.id
from repositories R
join organizations P
on R.org_id = P.id
join user_relevant_roles urr
on urr.resource_type = 'Organization' and urr.resource_id = P.id

Still table scans, gonna do some tweaks though I have an idea.

ok updated and doesn't table scan with my examples

Not sure how long this link will work but here's a sample explain. https://explain.dalibo.com/plan/21b#plan


add user link in show team command

Fixes: https://github.com/harryi3t/slackAssist/issues/48

test comment

tes comaand

test comment

test comment on pull page in converssation

test comment on pull page in converssation

test comment on pull page in converssation

@harryi3t test comment

test


vagrant up issue

Trying to install a standalone CF on Windows machine using Hyper-V. Getting the following issue when running
vagrant up --provider=hyperv
Bringing machine 'default' up with 'hyperv' provider...
==> default: Verifying Hyper-V is enabled...
==> default: Box 'cloudfoundry/bosh-lite' could not be found. Attempting to find and install...
default: Box Provider: hyperv
default: Box Version: >= 0
==> default: Loading metadata for box 'cloudfoundry/bosh-lite'
default: URL: https://atlas.hashicorp.com/cloudfoundry/bosh-lite
Vagrant version = 1.8.5
Is only VirtualBox supported?
Thanks.

Sorry, only VirtualBox and AWS boxes of bosh-lite are currently published. They're available from https://atlas.hashicorp.com/cloudfoundry/boxes/bosh-lite.


pika 无法充分利用资源，性能压不上去

问题描述：
机器配置：32c256g，4*ssd
压测工具：vire-benchmark
压测结果：
|># vire-benchmark -h 10.xx.134.3  -p 9221  -n 10000000 -c 1024  -d  128  -k 1 -r 10000000 -e  -t get -q
GET: 170395.48 requests per second

cpu 使用率：1200%，系统负载：14，io基本无压力。压测结果和预估差距太大，之前测试过16c128g 机器，性能还比这次的好，这点无法理解，请帮忙分析下。
pika 配置如下：
# Pika port
port : 9221
# Thread Number
thread-num : 32
# Thread Pool Size
thread-pool-size : 64
# Sync Thread Number
sync-thread-num : 6
# Pika log path
log-path : /data1/log/
# Pika db path
db-path : /data2/db/
# Pika write-buffer-size
write-buffer-size : 536870912
# size of one block in arena memory allocation.
# If <= 0, a proper value is automatically calculated
# (usually 1/8 of writer-buffer-size, rounded up to a multiple of 4KB)
arena-block-size :
# Pika timeout
timeout : 60
# Requirepass
requirepass :
# Masterauth
masterauth :
# Userpass
userpass :
# User Blacklist
userblacklist :
# if this option is set to 'classic', that means pika support multiple DB, in
# this mode, option databases enable
# if this option is set to 'sharding', that means pika support multiple Table, you
# can specify slot num for each table, in this mode, option default-slot-num enable
# Pika instance mode [classic | sharding]
instance-mode : classic
# Set the number of databases. The default database is DB 0, you can select
# a different one on a per-connection basis using SELECT <dbid> where
# dbid is a number between 0 and 'databases' - 1, limited in [1, 8]
databases : 8
# default slot number each table in sharding mode
default-slot-num : 1024
# replication num defines how many followers in a single raft group, only [0, 1, 2, 3, 4] is valid
replication-num : 0
# consensus level defines how many confirms does leader get, before commit this log to client,
#                 only [0, ...replicaiton-num] is valid
consensus-level : 0
# Dump Prefix
dump-prefix :
# daemonize  [yes | no]
#daemonize : yes
# Dump Path
dump-path : /data3/dump/
# Expire-dump-days
dump-expire : 0
# pidfile Path
pidfile : ./pika.pid
# Max Connection
maxclients : 50000
# the per file size of sst to compact, default is 20M
target-file-size-base : 67108864
# Expire-logs-days
expire-logs-days : 7
# Expire-logs-nums
expire-logs-nums : 10
# Root-connection-num
root-connection-num : 2
# Slowlog-write-errorlog
slowlog-write-errorlog : no
# Slowlog-log-slower-than
slowlog-log-slower-than : 10000
# Slowlog-max-len
slowlog-max-len : 128
# Pika db sync path
db-sync-path : /data2/dbsync/
# db sync speed(MB) max is set to 1024MB, min is set to 0, and if below 0 or above 1024, the value will be adjust to 1024
db-sync-speed : -1
# The slave priority
slave-priority : 100
# network interface
#network-interface : eth1
# replication
#slaveof : master-ip:master-port

# CronTask, format 1: start-end/ratio, like 02-04/60, pika will check to schedule compaction between 2 to 4 o'clock everyday
#                   if the freesize/disksize > 60%.
#           format 2: week/start-end/ratio, like 3/02-04/60, pika will check to schedule compaction between 2 to 4 o'clock
#                   every wednesday, if the freesize/disksize > 60%.
#           NOTICE: if compact-interval is set, compact-cron will be mask and disable.
#
#compact-cron : 3/02-04/60

# Compact-interval, format: interval/ratio, like 6/60, pika will check to schedule compaction every 6 hours,
#                           if the freesize/disksize > 60%. NOTICE:compact-interval is prior than compact-cron;
#compact-interval :

# the size of flow control window while sync binlog between master and slave.Default is 9000 and the maximum is 90000.
sync-window-size : 9000
# max value of connection read buffer size: configurable value 67108864(64MB) or 268435456(256MB) or 536870912(512MB)
#                                           default value is 268435456(256MB)
#                                           NOTICE: master and slave should share exactly the same value
max-conn-rbuf-size : 536870912

###################
## Critical Settings
###################
# write_binlog  [yes | no]
write-binlog : yes
# binlog file size: default is 100M,  limited in [1K, 2G]
binlog-file-size : 104857600
# Automatically triggers a small compaction according statistics
# Use the cache to store up to 'max-cache-statistic-keys' keys
# if 'max-cache-statistic-keys' set to '0', that means turn off the statistics function
# it also doesn't automatically trigger a small compact feature
max-cache-statistic-keys : 0
# When 'delete' or 'overwrite' a specific multi-data structure key 'small-compaction-threshold' times,
# a small compact is triggered automatically, default is 5000, limited in [1, 100000]
small-compaction-threshold : 5000
# If the total size of all live memtables of all the DBs exceeds
# the limit, a flush will be triggered in the next DB to which the next write
# is issued.
max-write-buffer-size :<PHONE_NUMBER>72
# The maximum number of write buffers that are built up in memory for one ColumnFamily in DB.
# The default and the minimum number is 2, so that when 1 write buffer
# is being flushed to storage, new writes can continue to the other write buffer.
# If max-write-buffer-number > 3, writing will be slowed down
# if we are writing to the last write buffer allowed.
max-write-buffer-number : 256
# Limit some command response size, like Scan, Keys*
max-client-response-size :<PHONE_NUMBER>
# Compression type supported [snappy, zlib, lz4, zstd]
compression : snappy
# max-background-flushes: default is 1, limited in [1, 4]
max-background-flushes : 4
# max-background-compactions: default is 2, limited in [1, 8]
max-background-compactions : 2
# maximum value of Rocksdb cached open file descriptors
max-cache-files : 5000
# max_bytes_for_level_multiplier: default is 10, you can change it to 5
max-bytes-for-level-multiplier : 10
# BlockBasedTable block_size, default 4k
# block-size: 4096
# block LRU cache, default 8M, 0 to disable
block-cache:<PHONE_NUMBER>6
# whether the block cache is shared among the RocksDB instances, default is per CF
# share-block-cache: no
# whether or not index and filter blocks is stored in block cache
# cache-index-and-filter-blocks: no
# when set to yes, bloomfilter of the last level will not be built
# optimize-filters-for-hits: no
# https://github.com/facebook/rocksdb/wiki/Leveled-Compaction#levels-target-size
# level-compaction-dynamic-level-bytes: no

尝试下减少thread pool size。这个参数表示实际do command的线程数目。当该参数设置过大，线程都去争抢一个任务。时间耗费在系统调用上面。

尝试下减少thread pool size。这个参数表示实际do command的线程数目。当该参数设置过大，线程都去争抢一个任务。时间耗费在系统调用上面。

调成 32 测试了下，同时开两个压测程序能够将 cpu 压到 2200% 左右，负载压到 30 左右，总的 qps 为 38w，效果还是比较明显。 我看最佳实践里写的是 thread-num 最好设置成机器的核数，thread-pool-size 设置为 thread-num 的两倍。感觉 thread-pool-size 的设置可能得分场景，如果大部分情况下在内存能够完成的操作，线程池不能设置过大，如果存在较多的磁盘 io，改值可以按照最佳实践来设置。

vire-benchmark -T 可以设置并发数目。理论上性能可以再高一点。


Stylesheet link not written when  element is empty

We've noticed when trying to load fonts into pages that have no child elements in the  element that the CSS link never gets written ... this case occurs in our dynamic banner ad product where we don't control the HTML of the publisher site the ads appear on. Here's an example test page: http://segmenttesting.eu.pn/lang_test.html

I had a look at your page, but it doesn't seem to be calling WebFont.load at all. Could there be a bug in the code that inserts the Web Font Loader?

Closing this due to inactivity.


Remove crd-generator-api Dependency After CRD Generator Fix in Fabric8 Client

As a workaround for issue in CRD generator for fabric8 client v6:
https://github.com/fabric8io/kubernetes-client/issues/4256
had to add dependencies for crd-generator-api, like:
https://github.com/java-operator-sdk/java-operator-sdk/blob/d74559a5a87d82b00dbf993f53d9040b81b925a9/sample-operators/mysql-schema/pom.xml#L50-L53
after this issue is fixed in fabric8 client, those should be removed

see: https://github.com/fabric8io/kubernetes-client/pull/4302


5.1.0 have bug with to="#"

Version 5.1.0 have bug.
import { NavLink as Link } from 'react-router-dom';
import { NavLink } from 'reactstrap';
<NavLink tag={Link} to="#" onClick={logout}>{t('navMenu.logout')}</NavLink>

Result:
Logout
Expected:
Logout

That is not a valid location string. Link/NavLink isn't meant to be a replacement for an  element. Just use an  if you don't intend to navigate with the router.


misc.imsave cannot handle single channel images

imsave cannot handle single channel images
Reproducing code example:
Working:
import scipy.misc
import numpy as np
img = np.zeros((5,5))
scipy.misc.imsave("img.jpg", img)

Not Working:
import scipy.misc
import numpy as np
img = np.zeros((5,5,1))
scipy.misc.imsave("img.jpg", img)

Error message:
ValueError: 'arr' does not have a suitable array shape for any mode.

Scipy/Numpy/Python version information:
0.19.1 1.13.3 sys.version_info(major=3, minor=6, micro=3, releaselevel='final', serial=0)

A warning: imsave is deprecated in 1.0.

scipy.misc is being removed hence closing.


Using [NotNull] and 'nameof' operator

/cc @Eilon

LGTM

Can you squash the commits in your fork?

@Eilon I squash all the commits into two main commits

@Tratcher please merge when you have a chance.

Merged.


getting "SPARQL request failed" for every call

I've been using wdtaxonomy (v 0.6.6) happily for many months on my macbook running 10.14.5.  Starting yesterday, every call I make (e.g., "wdtaxonomy -c Q5") produces an immediate "SPARQL request failed" message.
I tried capturing the sparql queries with --sparql and pasting that into the wikidata query service web page, and it they work.  I also tried passing the standard query service URL with  --sparql-endpoint and that did not help.  I tried uninstalling and then installing again, which did not fix the problem.
Might it be due to this: https://lists.wikimedia.org/pipermail/wikidata/2019-June/013161.html ?
Any suggestions?

Hi @finin, thanks for the feedback. Please try version 0.6.7!

Great, Thanks for updating it!
--
Tim Finin,  Willard and Lillian Hackerman Chair in Engineering,  Computer
Science and
Electrical Engineering, U. Maryland, Baltimore County, 1000 Hilltop Circle,
Baltimore MD
21250. http://umbc.edu/~finin<EMAIL_ADDRESS><EMAIL_ADDRESS>mobile:410-499-3522
On Wed, Jun 19, 2019 at 4:15 PM Jakob Voß<EMAIL_ADDRESS>wrote:

Hi @finin https://github.com/finin, thanks for the feedback. Please try
version 0.6.7!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nichtich/wikidata-taxonomy/issues/49?email_source=notifications&email_token=AAUHQHYNHVNKMOT77NEKU3LP3KHUHA5CNFSM4HZDKCUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDE33Y#issuecomment-503729647,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUHQH7LGKMMC6YUQE4FF2LP3KHUHANCNFSM4HZDKCUA
.

Hey, I have the latest version 0.6.7, still, it's happening with me.
This is the query that I ran :  wdtaxonomy -f csv Q735
Output: SPARQL request failed

Hey, I am facing the same issue!
I have the latest version i.e. 0.6.7
Query: wdtaxonomy -f csv  Q735
Output: SPARQL request failed

Capturing the query with a -s flag and executing it directly on Wikidata
Query Service https://query.wikidata.org/ show that the problem is due to
a query timeout.
The wdtaxonomy query with a -b flag does work
wdtaxonomy -b -f csv Q735
so apparently, counting all of the instances takes too much time.
--
Tim Finin, Computer Science & Electrical Engineering, Univ. Maryland
Baltimore County
1000 Hilltop Circle, Baltimore, MD 21250.  http://umbc.edu/~finin,
@.***
On Mon, Mar 13, 2023 at 2:36 AM Abhijeet Tamrakar @.***>
wrote:

Hey, I am facing the same issue!
I have the latest version i.e. 0.6.7
Query: wdtaxonomy -f csv Q735
Output: SPARQL request failed
—
Reply to this email directly, view it on GitHub
https://github.com/nichtich/wikidata-taxonomy/issues/49#issuecomment-1465589090,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUHQH4ZFGZLZPUVUES6DCTW326ANANCNFSM4HZDKCUA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Capturing the query with a -s flag and executing it directly on Wikidata Query Service show that the problem is due to a query timeout. Adding a -b flag to the query does work, so apparently, counting all of the instances takes too much time.
wdtaxonomy -b -f csv Q735

Had a similar issue.
Here is the dialog: https://github.com/nichtich/wikidata-taxonomy/issues/52
now works as advertised
/jay


Evaluating constant expression yields wrong result for this expression

Using the "Evaluate expression" or "Evaluate selected expression" I've tried this expression for some reason, and it did yield a wrong representation of the result in the Output window.
>> [1..5 -> {[a |-> {"a"}]}]
{<<[a |-> {"a"}], [a |-> {"a"}], [a |-> {"a"}]>>}

instead of
{<<[a |-> {"a"}], [a |-> {"a"}], [a |-> {"a"}], [a |-> {"a"}], [a |-> {"a"}]>>}

I said that only the representation is wrong because the domain is correct
>> DOMAIN CHOOSE x \in [1..5 -> {[a |-> {"a"}]}] : TRUE
{1, 2, 3, 4, 5}

It may be an evaluation error for this specific expression, or some representation error maybe.
The output is actually similar for any number of elements in the inner function. But if the value is not a set then the 5 elements of the resulting set are correctly rendered:
>> [1..5 -> {[a |-> "a"]}]
{<<[a |-> "a"], [a |-> "a"], [a |-> "a"], [a |-> "a"], [a |-> "a"]>>}

This error does not occur in the TLA+ Toolbox.
At first glance I did not find a quick way to test this using the tla2tools.jar (the embedded one doesn't seem to be the latest released version) because I have no idea how to use it.
If you'd like more details or if you want me to give this bugfix a try I'd be happy to help, but I could use some help with setting up a command-line repro-case (a documentation link maybe?) and/or pointers to thing to look at.
And thanks for the great plugin by the way.

Fixed in https://github.com/alygin/vscode-tlaplus/pull/177

Fix available in the 1.5.2-alpha.1 prerelease

Fix published in v1.5.2

Fix published in v1.5.2


Inferred type shows up incorrectly in error messages and on hover (but type checking seems to be okay)

TypeScript Version:  2.7.1, 2.8.0-dev.20180204

Search Terms: type inference, indexed type
Code
declare function foo<T>(attrs: {[K in keyof T]: T[K]}): T;
let res = foo({id: ""});
res = foo({id: 1});

Expected behavior:
The error should be (as in 2.6)
index.ts(3,1): error TS2322: Type '{ id: number; }' is not assignable to type '{ id: string; }'.
  Types of property 'id' are incompatible.
    Type 'number' is not assignable to type 'string'.

Actual behavior:
The error is
index.ts(3,1): error TS2719: Type '{ id: any; }' is not assignable to type '{ id: any; }'. Two different types with this name exist, but they are unrelated.
  Types of property 'id' are incompatible.
    Type 'number' is not assignable to type 'string'.

And the reported type on hover is also not correct

Playground Link: link
Related Issues:

Maybe a duplicate of #21382? It's very similar, at least.

Wait, no @mhegazy this is just the expected behavior for a deferred inferred type - right @sandersn?

Yes, I have a fix at #21311. Please review!

It's 50% smaller now that the display builder is gone, too.

@sandersn This issue should be marked as fixed now, right?

Yes. Good catch.


chore(release): v0.21.6 🎉

:robot: I have created a release beep boop
0.21.6 (2024-07-12)
Bug Fixes

rels: expose reference intuitive.via and support explicit reference prefix (351e305)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/domain-objects/releases/tag/v0.21.6 :sunflower:


Trying to run the application (DEV Branch) but getting this error: google.auth.exceptions.DefaultCredentialsError

backend   | 2024-05-13 10:49:01,038 - Load pretrained SentenceTransformer: all-MiniLM-L6-v2
backend   | 2024-05-13 10:49:04,220 - Use pytorch device_name: cpu
backend   | 2024-05-13 10:49:04,226 - Embedding: Using SentenceTransformer , Dimension:384
backend   | 2024-05-13 10:49:04,710 - Compute Engine Metadata server unavailable on attempt 1 of 3. Reason: [Errno 111] Connection refused
backend   | 2024-05-13 10:49:04,713 - Compute Engine Metadata server unavailable on attempt 2 of 3. Reason: [Errno 111] Connection refused
backend   | 2024-05-13 10:49:04,716 - Compute Engine Metadata server unavailable on attempt 3 of 3. Reason: [Errno 111] Connection refused
backend   | 2024-05-13 10:49:04,716 - Authentication failed using Compute Engine authentication due to unavailable metadata server.
backend   | Traceback (most recent call last):
backend   |   File "/usr/local/bin/uvicorn", line 8, in
backend   |     sys.exit(main())
backend   |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1157, in call
backend   |     return self.main(*args, **kwargs)
backend   |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1078, in main
backend   |     rv = self.invoke(ctx)
backend   |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
backend   |     return ctx.invoke(self.callback, **ctx.params)
backend   |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
backend   |     return __callback(*args, **kwargs)
backend   |   File "/usr/local/lib/python3.10/site-packages/uvicorn/main.py", line 416, in main
backend   |     run(
backend   |   File "/usr/local/lib/python3.10/site-packages/uvicorn/main.py", line 587, in run
backend   |     server.run()
backend   |   File "/usr/local/lib/python3.10/site-packages/uvicorn/server.py", line 61, in run
backend   |     return asyncio.run(self.serve(sockets=sockets))
backend   |   File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
backend   |     return loop.run_until_complete(main)
backend   |   File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
backend   |     return future.result()
backend   |   File "/usr/local/lib/python3.10/site-packages/uvicorn/server.py", line 68, in serve
backend   |     config.load()
backend   |   File "/usr/local/lib/python3.10/site-packages/uvicorn/config.py", line 467, in load
backend   |     self.loaded_app = import_from_string(self.app)
backend   |   File "/usr/local/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
backend   |     module = importlib.import_module(module_str)
backend   |   File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
backend   |     return _bootstrap._gcd_import(name[level:], package, level)
backend   |   File "", line 1050, in _gcd_import
backend   |   File "", line 1027, in _find_and_load
backend   |   File "", line 1006, in _find_and_load_unlocked
backend   |   File "", line 688, in _load_unlocked
backend   |   File "", line 883, in exec_module
backend   |   File "", line 241, in _call_with_frames_removed
backend   |   File "/code/score.py", line 24, in
backend   |     logging_client = gclogger.Client()
backend   |   File "/usr/local/lib/python3.10/site-packages/google/cloud/logging_v2/client.py", line 122, in init
backend   |     super(Client, self).init(
backend   |   File "/usr/local/lib/python3.10/site-packages/google/cloud/client/init.py", line 320, in init
backend   |     _ClientProjectMixin.init(self, project=project, credentials=credentials)
backend   |   File "/usr/local/lib/python3.10/site-packages/google/cloud/client/init.py", line 268, in init
backend   |     project = self._determine_default(project)
backend   |   File "/usr/local/lib/python3.10/site-packages/google/cloud/client/init.py", line 287, in _determine_default
backend   |     return _determine_default_project(project)
backend   |   File "/usr/local/lib/python3.10/site-packages/google/cloud/_helpers/init.py", line 152, in _determine_default_project
backend   |     _, project = google.auth.default()
backend   |   File "/usr/local/lib/python3.10/site-packages/google/auth/_default.py", line 691, in default
backend   |     raise exceptions.DefaultCredentialsError(_CLOUD_SDK_MISSING_CREDENTIALS)
backend   | google.auth.exceptions.DefaultCredentialsError: Your default credentials were not found. To set up Application Default Credentials, see https://cloud.google.com/docs/authentication/external/set-up-adc for more information.
backend exited with code 1

See #295 to resolve

@ais-qianhao-liu  Thank you!


Added subghz_fill_random()

This function enables the user to fill a buffer of n bytes (multiple of 4) with random bytes generated by the SX1262's TRNG engine. Since the SX1262 needs to be set up in a certain way before reading, and reset thereafter, the function does it all in sequence – and this is why it makes sense to fill a large-ish buffer in order to avoid multiples settings of the LoRa chip.
cf my Sx1262LoRandom library for an example.

This function enables the user to fill a buffer of n bytes (multiple of 4) with random bytes generated by the SX1262's TRNG engine. Since the SX1262 needs to be set up in a certain way before reading, and reset thereafter, the function does it all in sequence – and this is why it makes sense to fill a large-ish buffer in order to avoid multiples settings of the LoRa chip.
cf my Sx1262LoRandom library for an example.


matcher: new custom predicate

New custom predicate of matcher API.
In the previous API, the SinglePredicate could be used to composite various matching conditions. However, it's very flexible but isn't easy to use. Especially if there are some common matching compositions that will be used frequently, for example, the headers matching.
This PR introduced a new CustomPredicate to present an custom matching condition. This new predicate type will take the protocol-specific data as input, and a bool as output. All the input and match logics are defined by the extension config.
This new type could be used when there are some common matching compositions. We can define a custom predicate as a composition of multiple different but releated matching conditions.
In addition, any protocol-specific data matching or non-string data matching could use this new CustomPredicate.
Take the headers match as an example. If there are three headers need to match, then the config in previous API would be:
//                 - predicate:
//                     and_matcher:
//                       predicate:
//                       - single_predicate:
//                           input:
//                             name: header
//                             typed_config:
//                               "@type": type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput
//                               header_name: version
//                           value_match:
//                             exact: v1
//                       - single_predicate:
//                           input:
//                             name: header
//                             typed_config:
//                               "@type": type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput
//                               header_name: user
//                           value_match:
//                             exact: john
//                       - single_predicate:
//                           input:
//                             name: header
//                             typed_config:
//                               "@type": type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput
//                               header_name: id
//                           value_match:
//                             exact: "123"

And with the new API, the API could be:
//                 - predicate:
//                     custom_predicate:
//                       custom_match:
//                         name: multiple-headers
//                         typed_config:
//                           "@type": type.googleapis.com/envoy.type.matcher.v3.HttpHeadersCustomMatcher
//                           version:
//                             exact: v1
//                           user:
//                             exact: john
//                           id:
//                             exact: "123"

Based on the new API, the configuration will be more simple and easy to read or manage.

As per discussion in https://github.com/envoyproxy/envoy/pull/26861, I don't think this is what we want.  The intent of the generic matcher API was to explicitly decouple inputs and matchers so that the two can be specified independently.  I would prefer not to move away from that design principle.

cc @markdroth Thanks. And I will close this PR temporarily. See the discussion in the https://github.com/envoyproxy/envoy/pull/26861 for more detail.


fix(ToggleSwitch): only remove knob transitions when dragging

What does the pull request do?
This PR fixes a bug in ToggleSwitch that causes the knob transitions to be removed during certain user interactions.
What is the current behavior?
When dragging the knob of a ToggleSwitch, the knob transitions are removed if the pointer is released without moving the cursor left or right more than 3 pixels. See below:

What is the updated/expected behavior with this PR?
The updated behavior keeps the transitions when the pointer is released before the cursors moves more than 3 pixels left or right.

How was the solution implemented (if it's not obvious)?
The statement removing the transitions was moved inside the conditional checking if _isDragging is true.
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 #16335

@jsimonsen,
Please read the following Contributor License Agreement (CLA). If you agree with the CLA, please reply with the following:
@cla-avalonia agree

Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement ( “Agreement” ) is agreed to by the party signing below ( “You” ),
and conveys certain license rights to the AvaloniaUI OÜ ( “AvaloniaUI OÜ” ) for Your contributions to
AvaloniaUI OÜ open source projects. This Agreement is effective as of the latest signature date below.
1. Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to AvaloniaUI OÜ under this Agreement.
“Project” means any of the projects owned or managed by AvaloniaUI OÜ and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
2. Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
3. Originality of Work.  You represent that each of Your Submissions is entirely Your
original work. Should You wish to Submit materials that are not Your original work,
You may Submit them separately to the Project if You (a) retain all copyright and
license information that was in the materials as you received them, (b) in the
description accompanying your Submission, include the phrase "Submission
containing materials of a third party:" followed by the names of the third party and any
licenses or other restrictions of which You are aware, and (c) follow any other
instructions in the Project's written guidelines concerning Submissions.
4. Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
5. Licenses.
a. Copyright License. You grant AvaloniaUI OÜ, and those who receive the Submission directly
or indirectly from AvaloniaUI OÜ, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable
license in the Submission to reproduce, prepare derivative works of, publicly display, publicly perform,
and distribute the Submission and such derivative works, and to sublicense any or all of the foregoing
rights to third parties.
b. Patent License. You grant AvaloniaUI OÜ, and those who receive the Submission directly or
indirectly from AvaloniaUI OÜ, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license
under Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
c. Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.
6. Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3 ). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6 , THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
7. Notice to AvaloniaUI OÜ. You agree to notify AvaloniaUI OÜ in writing of any facts or
circumstances of which You later become aware that would make Your representations in this
Agreement inaccurate in any respect.
8. Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
9. Governing Law/Jurisdiction. This Agreement is governed by the laws of the Republic of Estonia, and
the parties consent to exclusive jurisdiction and venue in the courts sitting in Talinn,
Estonia. The parties waive all defenses of lack of personal jurisdiction and forum non-conveniens.
10. Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by AvaloniaUI OÜ.
AvaloniaUI OÜ dedicates this Contribution License Agreement to the public domain according to the Creative Commons CC0 1.


Implement Tidal Volume alarm

#SR-23 Alarm shall trigger when tidal volume not achieved or exceeded (with ~20% tolerance)

This will be based on the tidal volume calculation from integrating the difference of the flow meter measurements of the inhale and exhale venturis. Need to make sure that whatever alarm we create is in line with the assumptions we make for the tidal volume calculation.

This is contingent on proper implementation of #636