Fix missing git repo and ASGI error

Greetings!
I tried to run the one-liner yesterday (with great excitement and fanfare) and encountered two errors. The launch/deploy was successful but the app would throw the error and cause the fly machine to shut down.
Perhaps these are upstream issues to be handled by OpenWebUI? I'm not familiar enough with that image to say. Therefore I wanted to open this PR in case anybody is likewise blocked and/or these are worth merging.
Thank you!
Git Error
I encountered the following:
2024-10-03T14:12:33.052 app[568339e2b6de08] ord [info] File "/usr/local/lib/python3.11/site-packages/main.py", line 16, in <module>
2024-10-03T14:12:33.052 app[568339e2b6de08] ord [info] gitpython = GitPython()
2024-10-03T14:12:33.052 app[568339e2b6de08] ord [info] ^^^^^^^^^^^
2024-10-03T14:12:33.052 app[568339e2b6de08] ord [info] File "/usr/local/lib/python3.11/site-packages/main.py", line 8, in __init__
2024-10-03T14:12:33.052 app[568339e2b6de08] ord [info] self.repo = Repo(".")
2024-10-03T14:12:33.052 app[568339e2b6de08] ord [info] ^^^^^^^^^
2024-10-03T14:12:33.052 app[568339e2b6de08] ord [info] File "/usr/local/lib/python3.11/site-packages/git/repo/base.py", line 289, in __init__
2024-10-03T14:12:33.052 app[568339e2b6de08] ord [info] raise InvalidGitRepositoryError(epath)
2024-10-03T14:12:33.052 app[568339e2b6de08] ord [info] git.exc.InvalidGitRepositoryError: /app/backend
2024-10-03T14:12:33.764 app[568339e2b6de08] ord [info] INFO Main child exited normally with code: 1
2024-10-03T14:12:33.784 app[568339e2b6de08] ord [info] INFO Starting clean up.
2024-10-03T14:12:33.954 app[568339e2b6de08] ord [info] INFO Umounting /dev/vdc from /app/backend/data
2024-10-03T14:12:34.009 app[568339e2b6de08] ord [info] WARN could not unmount /rootfs: EINVAL: Invalid argument
2024-10-03T14:12:34.014 app[568339e2b6de08] ord [info] [ 6.185248] reboot: Power down

It looks like the upstream Open WebUI image expected a git binary and repo?
ASGI Error
After fixing the git error I encountered the following:
2024-10-03T14:24:44.567 app[568339e2b6de08] ord [info] Loading WEBUI_SECRET_KEY from .webui_secret_key
2024-10-03T14:24:44.574 app[568339e2b6de08] ord [info] [GIN] 2024/10/03 - 14:24:44 | 200 | 29.94µs | <IP_ADDRESS> | HEAD "/"
2024-10-03T14:24:44.576 app[568339e2b6de08] ord [info] Reinitialized existing Git repository in /app/backend/.git/
2024-10-03T14:24:44.588 app[568339e2b6de08] ord [info] [master e0c1e37] Initial commit
2024-10-03T14:24:44.910 app[568339e2b6de08] ord [info] pulling manifest ⠋ pulling manifest ⠙ pulling manifest ⠹ ERROR: Error loading ASGI app. Attribute "app" not found in module "main".
2024-10-03T14:24:45.542 app[568339e2b6de08] ord [info] INFO Main child exited normally with code: 1
2024-10-03T14:24:45.557 app[568339e2b6de08] ord [info] INFO Starting clean up.
2024-10-03T14:24:45.841 app[568339e2b6de08] ord [info] INFO Umounting /dev/vdc from /app/backend/data
2024-10-03T14:24:45.847 app[568339e2b6de08] ord [info] WARN could not unmount /rootfs: EINVAL: Invalid argument
2024-10-03T14:24:45.851 app[568339e2b6de08] ord [info] [ 6.188454] reboot: Power down

uvicorn couldn't find the main.py as it was nested in the open_webui package.

I can confirm the above 2 commits worked for me after running into the same issue.  The Ollama WebUI name change hit me elsewhere with docker-compose namespace issues, but I can't for the life of me understand why a Git repo is also needed.


Watcher only triggered every second time with sync

Environment

Reproduction
https://stackblitz.com/edit/github-3clnyf?file=src%2FApp.vue
Describe the bug

Additional context
No response
Logs
No response

Same issue with the @change event on the VueForm tag.
It's only triggered one in two.


Jitter Bug

Hi, im using chrome.
when i hover over the element i have made the card, the hover isnt smooth, it jitters really bad. is there something that can cause jitters?
this is my code: ( I have the classes stated in the docs already in)
Archive.zip
JS:
$(".film_3d_wrapper").hover3d({     selector: ".film_3d",     perspective: 1000,     shine: false });
Its not letting me upload my html so i will attach it in a .zip
see my video:
jitterbug.zip

Hi there,
Can you create a jsfiddle/codepen or kind of tools for this issue?
The jitter may occure if there is some element lay on top of the card, this can be fixed by setting pointer-events property on all element inside the card to none. (pointer-events:none)

Here you go:
http://codepen.io/joebentaylor/pen/LxrQPB

Well, that was caused by the inner element interfering with hover action, To fix this we need to set pointer-events on .film_content to none.
.film_content{ pointer-events: none }

But this will raise another problem, which is we can't interact with elements inside it. ☹

damn :( is there no other way around it? if not i guess ill have to leave it be and not user hover.js

I haven't found the solution for this issue,
Another kind of library did the same thing. Btw, In my opinion this effect can/should be applied with a simple card with only single link, If you are using this effect on you current UI, I think it'll lower the UX since user will hard to interact with the link within it (you know it will rotate away from user cursor :D ).
You can checkout the same library from codrops (https://tympanus.net/codrops/2016/11/23/tilt-hover-effects/), They only use single link on the card. :)

Thanks mate :) and yeah i agree, to be honest this was just for fun on a site im coding. I love how it works! I think this plugin works best if you arnt linking to anything

Hi @joebentaylor, i have update the plugin for this fix, please try it out. Hope this fix the problem 😄

@ariona I get the same problem but I don't think it was solved.When mouse hover it, the animation doesn't work. I have used the new version published 8 month ago.

@ariona there is no bug when the first time I hover it, but when you move the mouse out and move on it, the bug shows

@EasonYou any live URL that can be checked?

@ariona here is the demo.

Usually this caused by overlapping elements within the 3d space. try changing the translateZ in my source to 3px or more. source
$shine.css({
	position  : "absolute",
	top       : 0,
	left      : 0,
	bottom    : 0,
	right     : 0,
	transform : 'translateZ(1px)', // try changing the value to 3px or more to give more space
	"z-index" : 9
});

@ariona No, It doesn't work either. But I found the reason and fixed. I compare the first time with other situation, I found that the styletransform :  "rotateX(0) rotateY(0)"; make it not smooth. Then I make it transform :  '';, it fixed.
$card.css({
	perspective    : settings.perspective+"px",
	transformStyle : "preserve-3d",
	transform      : "" // it was rotateX(0) rotateY(0)
});


[ObjC] run ios CronetTest from bazel

It's part of grpc pod migration.  https://github.com/grpc/grpc-ios/issues/104
matching the CronetTest framework artifact as in our current cocoapod builds.
will delete the temporary code for pod build when migration finish.
How to run:

Start port server with tools/run_tests/start_port_server.py
OVERRIDE_BAZEL_VERSION=5.2.0 SCHEME=CronetTests src/objective-c/tests/run_one_test_bazel.sh

@dennycd

The cronet tests are fully broken on master: https://source.cloud.google.com/results/invocations/7801e1fc-29f7-404b-8373-96424cffc1a1/targets/%2F%2Fsrc%2Fobjective-c%2Ftests:CronetTests/log
please fix this ASAP.
For newly introduced test suite, there need to be more testing than just a single run on presumbit (which seems to have passed in this case) - what the flakiness if you do e.g. 100 runs locally?

I believe the regression is not related to this PR or caused by test flake. this one landed on 9/27 and the bazel cronet test is consistently green until https://github.com/grpc/grpc/pull/29598. Failure first seen in https://source.cloud.google.com/results/invocations/3f8719e3-5f05-4577-b9a8-c820adbeab60/targets/grpc%2Fcore%2Fpull_request%2Fmacos%2Fgrpc_objc_bazel_test/log


Update The Istio Check Documentation

I have encountered an Documentation bug in the current istio check documentation. According to the documentation to disable the injection of istio proxy into the datadog agent we need to use the
annotation:
     sidecar.istio.io/inject: "false"

But above dosen't work as sidecar.istio.io/inject: "false" should not be used as an annotation rather it should be used as an label. The expected behavior will only occur if the user use sidecar.istio.io/inject: "false" as label in the datadog daemon-set definition instead of a annotation.
Additional environment details (Operating System, Cloud provider, etc):
Self-hosted Kubernetes Server Version: 1.20
Istio Server Version: 1.12.1
Steps to reproduce the issue:

This dosen't work.

spec:
   ...
  template:
    metadata:
      annotations:
        sidecar.istio.io/inject: "false"

This works

spec:
   ...
  template:
    metadata:
     labels:
        sidecar.istio.io/inject: "false"

Describe the results you received:
After applying the above I observed that the istio proxy sidecar was still injected into the pods.
Describe the results you expected:
Expected behaviour is that after applying the above istio proxy sidecar should not be injected into the pods.
Additional information you deem important (e.g. issue happens only occasionally):
Even the istio official documentation says that sidecar.istio.io/inject: "false" is an label, not an annotation.
Link to the doc: https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#controlling-the-injection-policy

Hi @KunalMalhotraN26, thanks for reporting this. It looks like this change was introduced in Istio version 1.10. I'll update the docs to reflect the new configuration.


[Question] In {:#?} why is the outermost context called "caused by" and how is Context expected to be used?

Suppose I have code like this (see this playground):
use anyhow::Context;

fn my_thing(path: &Path, extra_sauce: bool) -> anyhow::Result<()> {
    std_or_some_external_lib::do_other_thing()
        .context(format!("path: {:?}", path.display()))
        .context(format!("extra_sauce: {:?}", extra_sauce))?;
    Ok(())
}

Let's suppose do_other_thing results in an error which displays as failed to do other thing because <reason>…
Now what I intend by the code above is "if do_other_thing results in an error, then when describing that error cause to a user, provide this extra context for the user to have more context about the cause", so I would expect to see this kind of output:
Error: failed to do other thing because <reason>

Context:
    0: path: "/tmp/non-existent"
    1: extra_sauce: true

But for some reason the {:#?} display calls the outermost "the cause" so it shows this output:
Error: extra_sauce: true

Caused by:
    0: path: "/tmp/non-existent"
    1: failed to do other thing because <reason>

This output seems backwards and confusing to me. Am I somehow misunderstanding Context? How should it be used?
It feels like it needs to be used like this in order to have clearer error messages, which seems clunky and redundant:
use anyhow::Context;

fn my_thing(path: &Path, extra_sauce: bool) -> anyhow::Result<()> {
    std_or_some_external_lib::do_other_thing()
        .context(format!("path: {:?}", path.display()))
        .context(format!("extra_sauce: {:?}", extra_sauce))
        .context("failed to do some other thing".to_string())?; // Why am I describing the error of `do_other_thing` which already describes itself?
    Ok(())
}

Based on my rereading of Context#example it seems like I need to retrain myself to rename Context::context as Context::caused_by…
In other words, arguments to that method should always describe a cause of an error, but not "auxillary context the user should know about the cause". Is that how to think of it?


[SMALLFIX] Concurrency test speed up

100ms sleep is okay on my local machine.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/19332/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/19367/
Test PASSed.


Include rust-analyzer-proc-macro-srv for all targets

While #215 included rust-analyzer-proc-macro-srv for a few targets, the majority of targets did not receive this update. I have not run the build with these changes, so apologies if I've missed something here and these were omitted for a reason. But I believe this should all be okay.

I've added the changes in separate commit to build/<IP_ADDRESS>.
macOS build seems to be correct, following file appears: ~/.rustup/toolchains/esp/libexec/rust-analyzer-proc-macro-srv
I was not able to locate such file on Windows. Where it should be located?

I've solved it as separate commit based on PR, because of some conflicts with main. Closing PR.
Big thanks to @jessebraham for solving the issue.


Retrying (Retry(total=4, connect=5, read=5, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1108)'))': /api/member/login

After latest updates (don't know whether to hass or to system) I get this error
Retrying (Retry(total=4, connect=5, read=5, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1108)'))': /api/member/login

doesn't work for me either. Using NL as country code

https://stackoverflow.com/a/61198852 this solution worked for me


discord: bump all versions

Closes:
https://github.com/NixOS/nixpkgs/pull/366083
https://github.com/NixOS/nixpkgs/pull/365097
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 366340

x86_64-linux

:white_check_mark: 4 packages built:

discord
discord-canary
discord-development
discord-ptb

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 366340

x86_64-linux

:white_check_mark: 4 packages built:

discord
discord-canary
discord-development
discord-ptb

x86_64-darwin

:white_check_mark: 3 packages built:

discord
discord-canary
discord-ptb

aarch64-darwin

:white_check_mark: 3 packages built:

discord
discord-canary
discord-ptb


Docs: Add taxonomy term variables to the list of vars.

Taxonomy Term pages have variables in addition to those on "node"
pages.  Documenting these variables with all the other node variables
makes them easier to find.
Fixes: #1155

Fwiw, I'm not a fan of copy-pasta, so I'm looking for feedback if there's a better way to accomplish this goal.

Re copy-pasta, I don't think there are a current good way to avoid that. Shortcodes would be too complex.

Cherry-picked.
Good work -- if you want to do more good, have a look at #1156 -- it should be split in 3, and you may have to read the source code to document it.


How to make the price axis have more decimal places?

Because price low I don't see right axis

How I can add more decimals to right axis?

And how to make the height and width set automatically according to the parent container?

@StrRoma you can use price format to add more decimals to right axis

@RubberArchind thanks

to make the height and width set automatically according to the parent container, simply don't set the width and the height when initializing the chart


Implementation of MPI_Scatter collective

Added functionality for simulating MPI_Scatter collective. Binomial tree algorithm, as implemented by MPICH code, is used for the purpose.
The implementation uses two different mechanisms: one uses the enqueueing mechanism for simulating blocking sends while the other does not. The former implementation is currently used in all scenarios. However, that can be changed using TRACER_SCATTER_ALG_CUTOFF parameter.

Abandoning to merge via a resolved branch.


Translated pt locations files

@remintz, Are you a native speaker?  Leave a comment if you approve of the translation -- if so I'll go ahead and merge!

@remintz, Are you a native speaker? Leave a comment if you approve of the translation -- if so I'll go ahead and merge!

Yes I am.

@remintz, Are you a native speaker? Leave a comment if you approve of the translation -- if so I'll go ahead and merge!

And yes... I approve

I am a native speaker to, and I approve it too

I am also a native speaker and I Approve it.

great work guys


Tweak to recommended software/AP

Removed redundant value prop from end of section (it doesn't belong there anyhow).
Summarize the change in the pull request title
Describe your change, specifically why you think it's needed.
Fixes #Issue_Number (if necessary)

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

#sign-off


Add the ability to parse aggregations with OpenSearch

Summary
This PR adds the ability to parse aggregations with OpenSearch when the optional feature flag astra.query.useOpenSearchAggregationParsing is enabled. This follows the same pattern as the query refactor we did awhile back, keeping both the old parsing and new parsing paths in the code, and only switching between based on the feature flag. As such it should be reasonably inert and safe to deploy.
I also did some minor fixes to to the changes made in https://github.com/slackhq/astra/pull/1081, and added some tests; both of which were missed due to time constraints.
Requirements

[X] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[X] I've read and agree to the Code of Conduct.

Closes #629

Closes #628


Bot: Better collection algo for inventory

When you mint a large quantity of a NFT it will quickly fill up your inventory and open lots of pages, like below:

Perhaps NFTs that have many editions can be expressed as a range inside the inventory, similar to how the output is when minting.

@hamzatrq What is the current method used for multi-mints?


https://github.com/RoaringBitmap/RoaringBitmap/issues/366

the difference is the sort of bytes of Integer when to serialize or deserialize.

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


fix: add tokenFields to Application type

 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.Kusal Lamsal seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Sports Betting - My Account - Search on Boxes

This is the expected behavior for search feature on the My account boxes:

Figma link

Please update close icon so it match Betting UI:

Figma Reference:
https://www.figma.com/file/42QoTLQcbObu7esoTPjWRv/Augur-Bet-Design-System?node-id=1227%3A0

Icon doesn't match design:

Please, delete "Go to trading" on empty search results for My Created Markets

looks good. closing


Fix error on uppercase table name of PostgreSQL in dataprep

Describe the bug
Dataset errors when postgresql table name contains uppercase letters
To Reproduce
Create connection to postgresql
Create table with Upper case
ex) create table "Table1" (i int);
Create workbench, DataSource, DataSet.
See error
Expected behavior
Should work normally without case sensitivity
Additional context
Refer to https://github.com/metatron-app/metatron-discovery/issues/2629.

Duplicated with https://github.com/metatron-app/metatron-discovery/issues/2629


Extension marketplace blurb for schema create/evolve functionality.

Summary of Changes

Extension marketplace blurb for schema create/evolve functionality.

Any additional details or context that should be provided?

Closes #518

Thanks @JimGalasyn , updated.


Systemjs loader instead of require

We would love to be able to leverage Angular 2 when building TFS/VSTS extensions but, unless I'm missing something, this doesn't appear to be currently possible.  The integrated require loader can't load SystemJS modules defined by ng2 and attempting to bypass that loader and use SystemJS fails because it's not authenticating requests correctly with TFS.  Would this be a feasible enhancement?

Hi @JamesInDenver
Sorry for the late reply. We have never tried SystemJs to develop an extension before. We'll try to come up with a simple extension and repro the issue you mentioned.
Btw, it would be great if you could tell us which other client libraries you use.
Thanks
Serkan

No worries!  Angular 2 with SystemJS would be the big ticket items.  Presumably, any other libraries loaded with such an extension would be deployed and loaded in the same manner (via systemjs).

I second this!
In the meantime at least a wiki on how to use it with the most popular user interface library (react, vue, angular and so on) would be cool.


Feature Request: Normal Maps

First off I would just like to say your shader is great and works very well. Also, thanks for fixing the textures bug so fast.
I think two improvements that would make this even better are support for normal maps and multiple lights. Multiple lights seems like it is tricky though.
On to what this issue is about normal maps, it would be great to have support for normal maps. I have the charactor setup and they look great but my charactor does have a normal map for details. If I could utilize that as well it would be even better.
Thanks :)

Here is a pic of the character with the shader. Worth noting that I didn't create the model I bought it, although I did clean it up a bit.

Nice! Thanks a lot. I'll keep the feature request in mind.


Broken titlebar rendering when using Vulkan

System Details

OS: Windows 8.1 x64
Thorium Version: 119.0.6045.214
GPU: AMD FirePro M4000 Mobility Pro Graphics

Problem
The titlebar is entirely black
Screenshots

Additional Notes
Command line parameters: --enable-features=Vulkan --use-vulkan

They are still actively working on the Vulkan backend https://github.com/chromium/chromium/commits/main/gpu/vulkan
It would be nice if it could be used without the window frame being black, since I didn't encounter any stability issues with it.


[CARBONDATA-3140]Block create like table command in carbon

Why this PR?
when like table is created using carbon table as source table, and the new table is dropped, it deletes the source table in spark-2.1 and works fine in other. Blocking the create like command for carbon table
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@KanakaKumar @ravipesala please review

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1815/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9864/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1604/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1605/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1816/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9865/

LGTM


Extract top_left_corner.js

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

Can you explaining the reasoning behind replacing the jquery every with a list of explicit calls?

The reason for replacing jQuery events is that you ensure order of operations so that, for example, the top left corner updates before the stream sidebar.  It's also just nicer to trace the code with normal function calls.

OK, seems reasonable, merged, thanks @showell!
Since we're gearing up for a release, I think we should probably do less refactorings like this that are a bit tricky to check for the next week or so, since those can be technically risky.

I agree--this was just very fresh in my mind after doing all the work on stream_list.js.  Thanks for merging.


[EdgeX Auto-Collector] Upgrade apiVersion and deprecate additionalServices and additionalDeployments in new version

What would you like to be added:
We will modify the spec of yurt-edgex-manager at this stage. The previous additionalServices and additionalDeployments fields are not user-friendly. We need to change them to the components field and in the next step give the user an easier way to configure them.
We need to upgrade api version to v1alpha2
Why is this needed:
Refer to EdgeX Auto-colllector Proposal
others
/kind feature

Completed, see #86  for details


Test example

Would you plan to provide any test example of this kernel in the future which will be very helpful?
I have observed that some recent SOTA work like GPTQ and AWQ have used 4/3 bit weight-only quantization, so I wonder if I can use the  kernel in this repo to do 4bit weight-only quantization.

No. This repo was created for use in TVM, you can look at how TVM uses it.


LEGO: Pull request from lego/hb_935_20170721133352773 to master

LEGO: Pull request from lego/hb_935_20170721133352773 to master with localized lcls

@csigs,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[BUG] CartProvider is not opening with added line item

Describe the bug
After upgrading to Hydrogen 0.7.0 the onLineAdd callback is no longer being triggered to open the cart drawer.
Quick video of the behavior: can be seen here
To Reproduce

v 0.7.0
Add item to cart from PDP
See cart indicator increase but drawer does not open

Additional context
In previous versions of Hydrogen the onLineAdd callback would fire and the cart would slide open to give user feedback that the item was added to cart

We are suspecting this has to do with client component being initialized twice over a single load (somehow). This cause a double nesting of
<CartUIProvider>
  <CartProvider>
    <CartUIProvider>
      <CartProvider>
        ...
      </CartProvider>
    </CartUIProvider>
  </CartProvider>
</CartUIProvider>

in the hydrated virtual react DOM

After upgrading to Hydrogen 0.7.0

@vixdug do you know what they were upgrading from?

With some initial investigation, it think that this commit is the first point at which the cart doesn't open automatically. Everything before that works.
I'm not sure what the issue is yet, but hoping to narrow things down a bit here.

@cartogram sorry missed this. They were upgrading from 0.5.8

I believe this issue is now fixed in the latest releases; I tested both the local example repo and also a build on stackblitz (hydrogen.new).
However, if there are still issues, let me know!


[bal-navigation] Meta nav on desktop is not displayed when scrolling upwards

Detailed description
As described here https://jira.ibmix.de/browse/BARE-1007 we have an issue on our side: when scrolling upwards the meta nav doesn't show up.
Steps to reproduce the issue

Tried to reproduce it on storybook without success
On our side 'isOverViewportBottom' is always true

Additional information

Seems like on our side the calculation 'isOverViewportBottom' - happening in the scroll listener in ds bal-navigation - is always true, hiding the meta nav, except when the page is at the top. While on Storybook its value switches between true and false, the latter case shows the meta when scrolling updwards on storybook. Removing that const 'isOverViewportBottom' and its check resolves the issue.

@fabio-tedesco we cannot remove that, because that is needed for iOS devices / safari

@fabio-tedesco do you have a link for us to reproduce?

@hirsch88 here  https://baloise-reb.dev.aperto.systems/baloise-qa/de/qa/Sprints/sprint-19/Blog-News-Teaser-Stream.html as described here https://jira.ibmix.de/browse/BARE-1007

@fabio-tedesco it also appears that the stage position is not correct on your side with this with bar at the top

@fabio-tedesco what did you do ? :-D

They can not be the same!
The clientHeight property returns the viewable height of an element in pixels, including padding, but not the border, scrollbar or margin.
The scrollHeight property returns the height of an element including padding, but excluding borders, scrollbars, or margins.

hi @hirsch88 I didn't do anything. Lets discuss it in the tech daily.

hi @hirsch88 seems like using the html element to get the clientHeight works as expected. The reason why the body clientHeight is actually the same as the body scrollHeight is actually unknown.
Using this const declaration should be fine and working in all the cases and testing locally it should works as expected, calculating the max height correctly, also on our side:
const maxScrollHeight = document.body.scrollHeight - (document.documentElement.clientHeight || document.body.clientHeight)

@hirsch88, in https://design-system-next.vercel.app/iframe.html?args=&id=components-navigation--basic&viewMode=story
the css class .sb-show-main {     height: 100vh; } restrict the body to the clientHeight otherwise the behaviour will be the hole content height of scrollHeight
https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight
When clientHeight is used on the root element (the  element), (or on  if the document is in quirks mode), the viewport's height (excluding any scrollbar) is returned. This is a special case of clientHeight.
body clientHeight is working if quirks mode is on. but we used in both cases the  <!DOCTYPE html> so quirks mode is disabled.
the clientHeight is only viewable height if a height is set
in our case we have no 100vh on body tag, this is the difference to the storybook

@Sw0rdiX how about we set this height: 100vh; to body as well?


[Azurestack][ACR][AKS] Adding Tests and Fixing Authorization api-version for hybrid profile

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Azurestack

please make CI pass first

@Juliehzl  -  All CI checks passed. Please review

@northtyphoon please add more unit tests as @adewaleo mentioned.

@northtyphoon please add more unit tests as @adewaleo mentioned.

@yonzhan, I was making this suggestion as a follow up item. Given acr check-health (convenience command for diagnosis) doesn't currently have unit tests. I did manually test to see that this change doesn't break acr check-health. I won't want this request to block @Bhuvaneswari-Santharam


Support metrics from other GCP projects

It appears that metrics from other GCP projects are filtered away by the managed prometheus instance.
We would like to use prometheus and alertmanager to monitor our Cloud Functions.
Prometheus is running in our GKE cluster in current-project, while some (but not not all) of our Cloud Functions belong in a different GCP project (other-project).
I've installed the prometheus stackdriver exporter, and got it working with our managed Prometheus instance.
When I curl the /metrics endpoint of the exporter, I find lots of results for both projects.
However, in the GCP Console, I can only find the subset of these metrics where project_id matches current-project.
The metrics where project_id matches other-project do not make it into Prometheus, even though they are definitely present under the /metrics endpoint
I tried adding the following collections to the OperatorConfig, but it didn't help:
apiVersion: monitoring.googleapis.com/v1alpha1
kind: OperatorConfig
metadata:
  name: config
  namespace: gmp-public
collection:
  filter:
    matchOneOf:
      - '{project_id="current-project"}'
      - '{project_id="other-project"}'

Concidentally, I see the following error message in the collector logs when attempting to get metrics from other-project:
collector-lp6gq prometheus ts=2022-03-08T13:03:21.525Z caller=log.go:124 component=gcm_exporter level=error msg="send batch" size=4 err="rpc error: code = PermissionDenied desc = Permission monitoring.timeSeries.create denied (or the resource may not exist)."

The service account used by Prometheus only has roles/monitoring.metricsWriter for current-project. Is it possible that project_id is being used under the hood, and that Prometheus is trying to write the metrics to stackdriver in other-project instead?

Hey there,
First thing I want to note is that we are actively working on allowing users to query Cloud Function and other free GCP system metrics via PromQL. At that point there will be no need to use the stackdriver exporter to read and rewrite the metrics.
You likely need to do two things:

Modify your service account to have monitoring.metricsWriter permissions for both projects, as yes the service will try to write back to GCP using any project_id that it finds on a metric
Put both of your projects into one metrics scope and then query the scoping project. This will fan out your queries to both projects and all will work as expected.

Excellent. I think we'll just wait for PromQL support for system metrics. Thank you for the help.

Having this same issue where we want one of our projects to be the master project and gather metrics from all other projects. We have managed collection running in all projects and would like all metrics to be available in the master project. I understand that at this point, all I need to do is add all the projects to the metrics scope of the master project.
The documentation tells us how to do it via the UI and API, and I have verified that they both work. However, it would be preferable if we could do this via configuration - is this supported?


Spoiler Won't Arm

I was recently using the script and I noticed the spoilers were not arming. I wondered if anyone else was having the same issue and also could someone let me know how to fix it if you figure it out.

In order for the developers of this plugin to help you, you'll need to provide a bit more details.
What about some of those?

Browser (type and version)
Operating System
How you installed the plugin
What user-script manager you use
JS Console trace (screenshots)

It will help you get your solutions more quickly.

Browser - Google Chrome version 64.0.3282.167 64 bit
Operating System - Microsoft Windows 10 64 bit
How you installed the plugin - Directly into Tampermonkey
What user-script manager you use - Tampermonkey
JS Console trace -

The errors listed -

Hi, thank you for the report. Unfortunately those are not console errors so they won't help. However, I already have a vague idea what is causing the problem, so I will look into it.

NOT WORKING

I believe these are the errors @harryxue1999

Wish the dev's would work on this again.


Use ClimaCore 0.11 and MPITrampoline

Closes #2138

I am trying to get MPI to work.
I managed to have it working here: https://buildkite.com/clima/climaatmos-ci/builds/15017
Then, I pushed again the same commit, and it is failing:
https://buildkite.com/clima/climaatmos-ci/builds/15020
The main difference is that in one case the depot was cold, so everything had to be compiled.

In this build:
https://buildkite.com/clima/climaatmos-ci/builds/15043#018bf91f-8c1f-4f82-8a8e-a5b4cd410de8
CA.solve_atmos!(CA.get_integrator(CA.AtmosConfig()) run on 2 processes, but not the MPI example

Maybe change the  CLIMACORE_DISTRIBUTED: "MPI" in MPI example to CLIMACOMMS_CONTEXT: "MPI"?

Maybe change the  CLIMACORE_DISTRIBUTED: "MPI" in MPI example to CLIMACOMMS_CONTEXT: "MPI"?

Failing https://buildkite.com/clima/climaatmos-ci/builds/15045

For some reason it is using the wrong preferences:
https://buildkite.com/clima/climaatmos-ci/builds/15080#018bfd3b-6aed-4bf1-8208-d1fecdc8dc1b/160-167

For some reason it is using the wrong preferences: https://buildkite.com/clima/climaatmos-ci/builds/15080#018bfd3b-6aed-4bf1-8208-d1fecdc8dc1b/160-167

Thanks for the lead, let me investigate this.

Ah, I think it's because it's picking up the preferences from the shared depot (which was set previously).
├ cat /central/scratch/esm/slurm-buildkite/climaatmos-ci/depot/default/environments/v1.9/LocalPreferences.toml
[MPIPreferences]
__clear__ = ["preloads_env_switch"]
_format = "1.0"
abi = "OpenMPI"
binary = "system"
cclibs = []
libmpi = "libmpi"
mpiexec = "mpiexec"
preloads = []

either delete that file, or just disable the shared depot for now.

Ah, I think it's because it's picking up the preferences from the shared depot (which was set previously).
├ cat /central/scratch/esm/slurm-buildkite/climaatmos-ci/depot/default/environments/v1.9/LocalPreferences.toml
[MPIPreferences]
__clear__ = ["preloads_env_switch"]
_format = "1.0"
abi = "OpenMPI"
binary = "system"
cclibs = []
libmpi = "libmpi"
mpiexec = "mpiexec"
preloads = []

either delete that file, or just disable the shared depot for now.

Yes, I just arrived at the same conclusion, which also explains why it was working when the depot was empty.
I'll clean up this PR, clean the depot, and try again.


Please merge revision a19b2985dcee58b92a5324842051b72642793e4b into dev channel

@whesse @mit-mit @kasperl
<Fill in the labels for Milestone and Area to indicate what the merge applies to. E.g. if you're requesting a merge to fix an issue in Dart2JS, set the area to Area-Dart2JS. If this is a request to merge to stable please change the MergeToDev label to MergeToStable>
<Describe the problem this merge is fixing - include issue numbers if applicable>
This fixes https://github.com/dart-lang/sdk/issues/24866
<What revision(s) needs to be merged - please annotate revisions with reason if more than one>
a19b2985dcee58b92a5324842051b72642793e4b

EXAMPLE: This merged cleanly
scheglov@scheglov-macbookpro3:~/Source/Dart/sdk.git/sdk (merge_my_awesome)$ git cherry-pick a19b2985dcee58b92a5324842051b72642793e4b
[merge_my_awesome cc76a26] Fix for the case when a class appears twice in a type hierarchy.
Date: Fri Nov 6 11:14:30 2015 -0800
2 files changed, 63 insertions(+), 3 deletions(-)

Merged to dev 426edff01629bb92ac8e88f27ae25404c35f769b


Update to rocm4.5.2 wheels

Depends on https://github.com/pytorch/pytorch/pull/71064 and https://github.com/pytorch/pytorch/pull/71276
cc @jeffdaily @jithunnair-amd

@fmassa This PR is to update the ROCm versions that torchvision wheels are built for. The rocm4.5.2 CI wheel build jobs should work once PyTorch starts publishing ROCm4.5.2 wheels. Please review and merge as appropriate. Thanks!


Map info window does not come out of the split pane

Hi
I have loaded agm- Angular google map in one of the split pane. On hover on each marker of the map, an info window is shown on the marker. This window is not currently popping out of the split pane. Instead it sits within the pane which makes the map move to show the info window fully. Is it possible to bring the window out of the pane so that it is on top of the other panes popped out ?

@aswathy29592 can you please provide a StackBlitz repro?
You can work off of this example: https://stackblitz.com/fork/angular-split-demo


Python 3.7 support

Python 3.7 introduced new reserved keywords async and await, which makes frontera unusable on the newest python, because of module called async located under following path:
https://github.com/scrapinghub/frontera/blob/master/frontera/utils/async.py

Thank you @gastlich it should be easy to solve

It should be fixed in latest (v0.8) release. Could you check @gastlich ?

I can confirm this is no longer an issue at least with Travis tests #379


Add controlnet module

The controlnet module uses a TensorRT-optimized controlnet implementation.
Currently, the prompt is read from a file by the text_module and passed to the controlnet_module, the graph looks like:
decode --> controlnet_module ---> encode
      |            ^
      |            |
      -------> text_module

To sync the prompt with the image, the decoder output is also sent to the text_module, once the decoder outputs EOF, the text_module will also generate EOF. However, in the controlnet_module, the propmt_queue is always empty.
To run the pipeline:
python test_controlnet.py

The input image in case you need it:

Thanks @sfeiwong ! I will merge your modification into the pipeline and push another commit that contains everything.

@sfeiwong New code pushed, empty queue problem solved, please review.


Bad data if feat is Duplicated causing crash

Duplicating a feat seems to duplicate it exactly - ie the IDs and UUIDs are the same, so it doesn't appear in the GUI. If you save the files, and try and reopen, it crashes on startup.
I duplicated in the Custom view a feat I'd already Overriden so should be easy to reproduce.

Fixed in 0.74


React Context API to be able to access to all the sections props  from Override components

Motivations
We would like to be able to install a Custom Section into an Overwrite Component.
Currently, we have a Custom Navigation with the product specifications that need to be installed in the Global Section.
The problem:
After installing the new component new  is placed below the native nav in the Headless CMS is hard to keep the new Nav in the right place.

Approach 1:

Overwrite the Native nav to remove this section.
Install the custom section and use JS to keep the Nav in the right position due to the Nav moving dynamically and CSS can not keep the custom nav in the right place, also when the top banner component is present the position of the menu is different.

Problem: This approach is not consistent across different browsers and has and needs unnecessary computations to keep track of the user scrolling.
Bugs:

Approach 2:
Use a React Portal to inject the new section into the right nav tag, this approach make the custom section to be in the right place, however, during the rendering process, it needs to use a query selector to reach the navigation tag, with make it slow mounting the nav component, the user first sees the page then after a few milliseconds can see the Nav being rendering, this happens on every page during the navigation.
Approach 3:
Overwrite the nav component and install the Custom Section in the same component, which makes the rendering process perfect and more flexibility to install any customization.
The problem:
During the Overwrite process, we only have the component props available and in order to achieve this we need to have access to the custom sections.

RECOMMENDATIONS

We did some testing creating a Global Context API to be able to access any sections in the Core
Example
New Basic Context

Installing the provider

Overrite NavbarLinks
import React from 'react';
import { useGlobal } from '../../../../GlobalContext';
import CustomNavigation from '../../sections/CustomNavigation/CustomNavigation';

export default function NavbarLinks() {
  const { sections } = useGlobal();
  const customProps = sections.find(section => section.name === 'CustomNavigation');

  if (customProps) {
    const { data } = customProps;
    return <CustomNavigation {...data} />;
  }

  return null;
}

Having access to the custom sections props also will give a lot of flexibility for any sections.

PS: nice to have, the custom hook instead useGlobal to useSection can handle the logic to reach any sections
const mySection  = useSection('--Section Name--')

We're going to solve this problem with another approach coming soon. Thanks for the issue. This matter was discussed via Slack.


Various matrix triangular functions.

A feature request.
At the moment as far as I'm aware TensorFlow doesn't have equivalents of the following numpy functionality:

np.tril: http://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.tril.html and similarly
np.triu: http://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.triu.html

np.tril_indeces http://docs.scipy.org/doc/numpy-1.10.0/reference/generated/numpy.tril_indices.html and the upper triangular equivalent and the ability to assign to a tensor using them.

The ability to convert a vector to a lower or upper triangular square matrix which blas has.

This sort of thing is useful for instance in linear algebra usages of TensorFlow.
I am unaware of an easy work around for these but I would be happy to be wrong.

Hi Alex,
I'm actually working on adding the equivalent of np.tril and np.triu, or rather an op that can copy a specified set of diagonals from a given matrix or batch of matrices. I expect it to be done sometime next week.
The other pack/unpack of triangular to/from vector are probably lower priority. Feel free to submit a PR :-)
Rasmus

Actually, regarding the packing/unpacking, you might want to look at the code in tensorflow/core/kernels/batch_matrix_diag_op.h which should get pushed to OSS shortly. It could be extended to extract multiple diagonals or you could at least use it as a template for a packing/unpacking op.

Hi Rasmus, Thanks for your reply. I think what you are working on sounds good and will have a look when it gets merged.

Any progress on this? Looking to be able to extract the upper (or lower!) triags.

is done . have a look at batch_matrix_band_part

Some of the functionality of 2) and 3) is covered by the SparseTensor class and the functions
tf.sparse_merge, and tf.sparse_to_dense.
The op pair tf.diag / tf.diag_part  (and batch_ extensions) do perform the unpacking/packing similar to what you suggest in 3), but here the potential space savings are much larger. I suppose batch_matrix_band_part could have been written that way (with a companion unpacking op), but I thought the current form, which simply zeros out the remaining part of the matrix, more convenient and much faster than having to write a packing followed by an unpacking op to achieve the same.
As always, feel free to send a PR if you think it would be useful.

@alexggmatthews Great, thanks so much alexggmatthews! tf.batch_matrix_band_part is not a part of the official 0.8 release correct? I see documentation here but not here in the official documentation. Nevertheless this looks like exactly what I need. Wonderful!

You're most welcome @eriophora but it was @rmlarsen who did the hard bit - I guess he will know more about the release plans too. You're correct that it hasn't been in a release yet.

@rmlarsen What's left to do in this issue?

tf.batch_matrix_band_part is in the 0.9 release, and as discussed above there are reasonable equivalents for the other use cases. Feel free to open specific issue for them if you disagree. I'll close this issue.

@rmlarsen Is it correct that the issue of unpacking a vector to a triangular matrix (similar to BLAS (d|s|c)tpttf) is not addressed yet? I have some code that does this, which I'm happy to contribute.

@markvdw I think it would be useful if such code were in tensorflow; various projects, especially ones that do Gaussian process inference, really need to work with vectors of triangular matrices, e.g. GPflow and AutoGP

Sorry for just jumping in here. But the tf.contrib.distributions.fill_triangular utility function might be useful.  It reshapes a length-d*(d+1)/2 vector into a lower (or upper) triangular matrix (with zeros on the flip-side).
(Note: Im just now making this function public in tf.contrib.distributions. This should be live by tomorrow.)


Slow docker builds due to lack of caching

Uncached FSL builds are ~30mins each
Need a docker caching implementation

https://dev.to/dtinth/caching-docker-builds-in-github-actions-which-approach-is-the-fastest-a-research-18ei

Added, layer caching using gh-package images. Closing


advanced laser gun nerf

About the PR

Makes advanced laser guns the same size as the antique laser gun. Makes them recharge 25% slower than before so the antique laser gun is special once again.
Resolves #18944
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

tweak: Advanced laser guns are now 30 size, like the antique laser gun.
tweak: Advanced laser guns recharge 25% slower than before.

Reference needs to say close(s/d), fix(es/ed) or REsolve(s/d)

doned


Update catalog-create-environment-reference-ssisdb-database.md

According to the actual object (ssisdb.catalog.create_environment_reference) actual variable name is @reference_type and not reference_location

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

@rothja @craigg-msft - I'm not finding the author Grace Gu in Outlook. Is she still the author of this article? Is someone on your team available to look at this PR? Thanks much.

@ktoliver Yes, you should be able to reach out to Chunhua Gu in Outlook. @chugugrace Can you take a look at this pull request and the changed files and see if you approve? FYI @craigg-msft.

Thanks @rothja

@chugugrace - I am surprised this is taking a minute to be approved. I have developers relying on references to ms docs and accuracy makes the world a much better place :)

@wase932 Sorry for the delay. I'm going to reach out to them internally to see if we can get this looked at.


Adding LOGO in website

please assign this issue to me .I would like to add a logo in website.

plz assign this issue to me

hey @mansi1309, what type of logo would you like to add can you explain more about it?

@mansi1309 any updates?

Hey @Mayuresh-22  Please assign this issue to me

This is already solved, so I am closing this issue.


Getting This Error

Uploading 2024-08-17.txt…
Flow Launcher version: 1.18.0
OS Version: 22631.3737
IntPtr Length: 8
x64: True
Python Path: C:\Users\Hamim\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
Node Path: C:\Users\Hamim\AppData\Roaming\FlowLauncher\Environments\Node.js\Node-v16.18.0\node-v16.18.0-win-x64\node.exe
Date: 08/17/2024 15:05:19
Exception:
Ollama Exception:
Websites: https://github.com/Gh0stExp10it/Flow.Launcher.Plugin.Ollama
Author: Gh0stExp10it
Version: 1.0.4
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: ERROR:query.Query:[WinError 10061] No connection could be made because the target machine actively refused it
---> System.IO.InvalidDataException: ERROR:query.Query:[WinError 10061] No connection could be made because the target machine actively refused it
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 249
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 249
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 264
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_0.<b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 196
--- End of stack trace from previous location ---
at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 40
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 230
--- End of inner exception stack trace ---
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_1.b__1(ActionContext ) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 224
at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in //Flow.Launcher.Plugin/Result.cs:line 246
at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 307
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

The error states that no connection could be established, because the target machine refused it. What does the configuration of the plugin look like? Have changes been made to the default values Default Settings?
What does the Ollama Servers states, when you call http://localhost:11434/ in your local browser? Ideally, a response “Ollama is running” should appear there.

Still an issue? For further analysis I need, as mentioned before, more information. If there is no response, I will close this issue.


Shipping Options changes

Requiring unique IDs for shipping_options.
Merging responses for get and execute payment details with shipping options selection from checkout.

Looks good. Will merge once tests pass 👍


Add license file

The Concourse team looked into using this project for concourse/concourse#1145 but were not able to since there is not LICENSE file. I've created an MIT license file attributing Copyright to the two active committers to the project.

The intention of this project was that it would be a permissible open source project, so the license file should most likely be MIT.  @attilaolah If I recall, that was the intent.

Yes, MIT was the intent. Thanks for merging this.


[MMBNLC] MMBN3 fails to extract.

Command
TextPet.exe Load-Plugins plugins Game MMBN3-LC Read-Text-Archives message_jap_msg --format msg Write-Text-Archives message_jap.tpl --single --format tpl Write-Text-Archives message_jap_tpl --format tpl

Looks like I made an error in games.ini. For EXE3/MMBN3, there is no separate command database for AC/LC.
Can you try making the change to games.ini in https://github.com/Prof9/TextPet/commit/3088b0bac511465750e38253b64821095eb8f63a locally and see if it works now? Also, the game ID should be EXE3-LC.

We confirmed that both the English version (MMBN3-LC) and the Japanese version (EXE3-AC) worked properly.
Thank you very much.


Add slide offset value to swipeEvent callback

I pass a slideOffset value to the swipeEvent callback. The value is the difference between the previous selected slide and the slide that, due to a swipe, currently appears as the current slide.
swipeEvent = ( swipeDirection, slideOffset ) => {
    console.log("Direction  "+swipeDirection+" with offset "+slideOffset);
    // Direction right with offset -2
}

This allows to animate a slide during a swipe. The swipe is a translate of the whole carousel, so the current slide is not updated until the swipe is over.
I've also created an example, see /examples/SwipeAnimated.js

Hello @akiran, I would like to see this PR merged to master. Why it has not be merged already? There is something that I can do?
Thanks


Update podspec to support tvOS cocoapod integration

Based on pending cocoapods branch 'tvos'
gem 'cocoapods', :git => 'https://github.com/CocoaPods/CocoaPods.git', :branch=>'tvos'
gem 'cocoapods-core', :git => 'https://github.com/CocoaPods/Core.git', :branch=>'tvos-support'
gem 'xcodeproj',  :git => 'https://github.com/CocoaPods/Xcodeproj.git', :branch=>'tvos-support'

Thanks! Hadn't quite figured out the Cocoapods backwards compatibility support before, that's why I didn't check in an updated version of the podspec. But now it should work.


possible issues when building from a local apt mirror

For reproducibility, I've created a local apt mirror, and I have encountered issues I report here only in order to help someone with the same problem:
I had edited the files repos/Debian/multistrap.list.in and repos/Raspbian/multistrap.list.in by changing the line
source=http://http.debian.net/debian
to the line
source=file:///mnt/bigdrive/mirror/archive.raspberrypi.org/debian
This created an issue with multistrap which was not installing the packages correctly.
I then tried with:
source=copy:///mnt/bigdrive/mirror/archive.raspberrypi.org/debian
as stated by multistrap documentation ( https://wiki.debian.org/Multistrap/PartialMirrors )
But with that I had issues later when the line was transmitted to apt sources.list.d/* where apt said it was malformed.
So instead of adding a sed cmd in the makefile to change them, I'm simply accessing my local mirror through ftp (by installing proftpd), which allows me to use
source=ftp://<myip>/archive.raspberrypi.org/debian
source=ftp://<myip>/archive.raspbian.org/raspbian

which works everywhere. :)
Just in case, my /etc/apt/mirror.list used by apt-mirror:
set base_path   /mnt/bigdrive/raspbian_mirror
set nthreads     4
set _tilde 0
set limit_rate 100k
deb-armhf http://archive.raspbian.org/raspbian          jessie main contrib non-free
deb-armhf http://archive.raspbian.org/raspbian          jessie main firmware rpi
deb-armhf http://archive.raspberrypi.org/debian         jessie main ui

this is a good point, I'll add your apt-mirror ideas to the README.
That being said, there are a few net calls that would still happen during the build, one is to get the repo key for the foundation since they do not have. package for it.  As well as the RPI3 wifi firmware, which again isn't in a package.
Otherwise that should work perfectly I also have my own local repo that I use, I do not use apt-mirror but same idea.
Not just so I'm clear I didn't miss anything, this is meant more for info there is no actual bug here right?

Indeed, it's not a bug and it should have been a readme.
Do you want me to write it there and issue a pull request ?
I prevent network communication by simply removing the dns in my environment, and it works (emitting warnings about not being able to get the keys though).

sure in the repo dir add a README.md file and all the info there.  I've been meaning to make READMEs per dir anyhow to go into more depth in all the dirs and how to use them.
But both finding this, figuring it out are appreciated helping with docu is even more appreciated since I suck at docu ;)

It will be done.


[Feature Request] Add the capability to suppress being automatically started by Bluetooth or other external players when the app isn't running

[REQUIRED] Use case description
The primary complaint I get from users is about the app automatically starting when it receives a play command from a car stereo or other Bluetooth source.
Proposed solution
Allow setting an option on the session or player to disallow these sorts of background starts.
Alternatives considered
We can override onMediaButtonEvent and suppress the event, however there are two issues that have to be contended with:
a) Properly detecting that the event is external and was initiated when the app is in the background: https://github.com/androidx/media/issues/1527
b) Handling ForegroundServiceDidNotStartInTimeException: https://github.com/androidx/media/issues/1528

I'm marking this as a dulicate of #1528 . Please let me know if you think that's not the right thing to do.


Terminology mismatch

“Management solutions” or “monitoring solutions”?

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

ID: badac660-e06c-a857-2b14-fb666a9c89e2
Version Independent ID: b5b5e663-646b-e636-4ba5-704fe18a9cf0
Content: Management solutions in Azure
Content Source: articles/monitoring/monitoring-solutions.md
Service: log-analytics
GitHub Login: @bwren
Microsoft Alias: bwren

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

@danvanderboom Thanks again for the feedback :clap: I have assigned the issue to the content author to evaluate and update as appropriate.

Was management solutions, changing to monitoring solutions.  This is all part of the OMS deprecation and consolidation under Azure Monitor.  We know we have a lot of terminology that needs update.  We're still working on the final decisions then will be doing a sweep across all content.

#please-close

@danvanderboom We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Registry keys being read by default

Just built wac from main with the command cargo install --path . and used it, with the plug subcommand, as a replacement for the wasm-tools compose command.
When running the binary, my macOS asked me if I wanted to grant access to my wa.dev keyring info.
Thing is, there are no references to wa.dev in the Wasm components that were being used as the inputs.
The command still worked and produced the desired output, even when I disallowed access to the keyring info, I think showing it wasn't necessary.
I had not provided the --registry command line option, so it seems it was trying to follow its default value.

I suspect this will ultimately need to be fixed in https://github.com/bytecodealliance/registry
@calvinrp

If you use the wac plug subcommand with only local file paths, it shouldn't try to check the registry for anything.
If you use a registry package name instead of a local file path, such as<EMAIL_ADDRESS>(version optional), then it will try to use your global Warg configuration (if available). If you override the registry URL with --registry, it will use that instead of your global Warg configured registry.
The keyring unlock is expected for a different binary having access to your auth token that you may have configured with wa.dev Warg setup. If granted, then you are authenticated. If the packages are public, you don't have to use authentication.
The global / local config problem is confusing (and not great) and under active discussion:
https://github.com/bytecodealliance/wasm-pkg-tools/discussions/10
https://github.com/bytecodealliance/wasm-pkg-tools/discussions/3
If you'd like the wac registry behavior or messaging changed, please let me know.

After further investigation, there is a bug and the Warg client needs to be lazily instantiated. Following up with a PR.

Fixed in https://github.com/bytecodealliance/wac/pull/110


Get error struct has no member named when build pjsip with openh264?

Someone posted a question here :
http://stackoverflow.com/questions/30207654/get-error-struct-has-no-member-named-when-build-pjsip-with-openh264
Can anyone answer it ?

this may related some version problem, the older version of openh264 has that variable but later versions this is removed.

So what's the new item instead of  iInputCsp ?
Is the following code snippet new way ?
int videoFormat = videoFormatI420;
encoder_->SetOption(ENCODER_OPTION_DATAFORMAT, &videoFormat);

we now only support on format input so there is no such variable in settings.

Which format ?
videoFormatI420 ?
That is to say, if we don't set the input format(No api to set), openh264 will use videoFormatI420 as default. Right ?

yes

thanks


google asssistant error config 500 internal server error first config

i am  newbie in home assistant, i recently installed google assistant sdk in adds on then i having issue when tokken passing to google assistant page the error are 500 internal server error and then after restart home assistant i found issue are below
**

making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:16:11] INFO: Installing/Updating service client_secrets file
[10:16:11] INFO: Starting Home Assistant GAssisant SDK...
**
cant open WEB UI nothing happens ,what to do,sorry for poor English,advance Thanks!

@ramkumargang if you update Google Assistant SDK to the latest version, is your issue fixed with the new OAuth UI? https://github.com/home-assistant/hassio-addons/pull/1267

thanks, i try it


Notes deprecateds in APIs on build debug or release

Steps to Reproduce
Messages on build debug or release...
Launching lib/main.dart on Mi A2 in debug mode...
Running Gradle task 'assembleDebug'...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/wborba/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/wborba/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.3+1/android/src/main/java/io/flutter/plugins/firebaseadmob/AdRequestBuilderFactory.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/wborba/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.3+6/android/src/main/java/io/flutter/plugins/share/SharePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
✓ Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...

Doctor
$ flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.9-pre.2, on Linux, locale pt_BR.UTF-8)
    • Flutter version 1.12.13+hotfix.9-pre.2 at /home/wborba/flutter
    • Framework revision f139b11009 (5 weeks ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/wborba/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /snap/android-studio/88/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Android Studio (version 3.6)
    • Android Studio at /snap/android-studio/88/android-studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • Mi A2 • 33295ac • android-arm64 • Android 10 (API 29)

• No issues found!

Hi @williamborba
could you upgrade path_provider to 1.6.7
and share to 0.6.4
let me know if the issue persists.
For firebase_admobyou may want to open an issue in the dedicated github.
Thank you

Thanks


fixremove constant expr in window function's partition and order exprs

pick from master https://github.com/apache/doris/pull/36184
Proposed changes
Issue Number: close #xxx

run buildall


Error: Can't resolve 'net' in

Hey, i have a Problem with this Package. I install this npm package on my Vue Project and i get this Error:
Module not found: Error: Can't resolve 'net' in 'C:\Users\mazlum\Downloads\vuevmixclient\node_modules\node-vmix\dist\modules'
ERROR in ./node_modules/node-vmix/dist/modules/connection-tcp.js 8:14-28
Module not found: Error: Can't resolve 'net' in 'C:\Users\mazlum\Downloads\vuevmixclient\node_modules\node-vmix\dist\modules'
@ ./node_modules/node-vmix/dist/index.js 18:41-76 34:23-58
@ ./node_modules/vue-vmix-conn-plugin/dist/index.js 8:18-38
@ ./src/main.js 5:0-87 8:8-28 8:34-59
can you help me?

Hi Ali
The library is only for Node.js project, and I guess, in the case that you try to instanciate a connection in a browser context, you will get this error...
In short - when I created this library, it was for the use in a Electron.js environment (where Node.js methods are available in the renderer/window environment). This however is bad practice in the later versions of Electron.js. So I would recommend you to take a look at the repo https://github.com/jensstigaard/node-vmix which contains the logic for handling tcp connections to vMix instances via Node.js.

Okay, thanks for your message and help. I am currently trying to reach the vMix instance also over the internet with a public IP. I have already created a NodeJS server that communicates locally with vMix. Do you have any idea how to reach vMix also over a public IP? Is it possible with the TCP protocol?


Enhanced Varbase CMS detection and confidence

Varbase has two generator tags, therefore meta/generator detection is no longer working. Replaced this with html detection
Added more HTML detections and confidence score
Added OSS license flag

Greetings , thanks for pr.
The html identifiers  is resource intensive at the current stage. In the near future plan to rewrite all these identifiers  to dom
It would be great if you rewrite using this option.
"dom": "meta[data-preact-helmet='true']",
 "dom": {
        "iframe[src*='.sekindo.com']": {
          "attributes": {
            "src": ""
          }
        },
        "img[src*='.sekindo.com']": {
          "attributes": {
            "src": ""
          }
        }
      },

It would also be great to get a list of sites that are built in virtue of your technology. I could take a look and help with this task if you wish.

For some reason, the dom identifier is not working.
For example I tried "dom": "meta[name='generator'][content='Varbase']" in place of "html": "<meta[^>]+(?:content=\"Varbase\")\\;confidence:99". It's not working.
Here are some sites to validate/test on:

https://www.fitnessfirstme.com/
https://detroitmi.gov/
https://www.icarda.org/
https://www.iaslc.org/

I understand relying on html identifiers is resource intensive at the current stage. However, I can see a lot of current detections relying on it.
Can this PR at least get merged for the time being,  while the optimizations to dom can be worked on after the merge?

Hey mate. I see you posted examples. I will look soon and check/fix this points.

Hey mate try to commit this one :
"Varbase": {
      "cats": [
        1
      ],
      "cpe": "cpe:/a:vardot:varbase",
      "description": "Varbase is an enhanced Drupal distribution packed with adaptive functionalities and essential modules.",
      "icon": "varbase.png",
      "implies": "Drupal",
      "dom": "div[class*='varbase-heroslider'],div[class*='varbase-video-player'],div[class*='type-varbase-blog']",
      "js": {
        "drupalSettings.ajaxPageState.libraries": ".+varbase_media.+"
      },
      "oss": true,
      "website": "https://drupal.org/project/varbase"
    },

Awesome. Thanks for the direction @nurbek91. I'll revise the selectors to make it catch the different cases of Varbase, yet maintain strict detection.
I'll push a new update now.

Thanks!


Question on Texture

Does your repo generate a traditional texture map? And also does it generate a 3D mesh model?
Thanks.

In the paper, all the visualizations are rendered using volumetric rendering/scattering. But it is possible to extract mesh and corresponding texture/material/normal maps from learned neural fields - actually we are working on a demo for this, so please stay tuned ;)


HPC coveralls fails to read total coverage

The setup is as usual, but it fails to read the total coverage for some reason:
https://travis-ci.org/mrkkrp/wave/jobs/181685479

With other projects that worked previously, starting rebuild produces the same result. Have you by any chance released a new version of hpc-coveralls that breaks something?

I don't see this issue anymore, closing.


1.4.2: Buffer used is too small for operation when calling create(0)

Describe the Issue
When moving from 1.4.0 to 1.4.2, the create function throws an exception.
To Reproduce
Steps to reproduce the behavior:
pip install harvesters==1.4.2 genicam==1.2.0
python snap.py
Sample Code
I can show a piece of code that demonstrates the reported phenomenon:

[x ] Yes
[ ] No

If yes, please provide a sample code:
h = Harvester(logger=logger, do_clean_up=False)
h.add_file('c:\\Program Files\\Critical Link LLC\\GenTL Viewer\\bin\\GenTL.dll')
h.update()
ia = h.create(0)

If applicable, please paste the actual output (its whole traceback, etc) here:

Traceback (most recent call last):
File "snap.py", line 81, in
ia = h.create(0)
File "C:\Users\jcormier.conda\envs\gentl_38\lib\site-packages\harvesters\core.py", line 3082, in create
return self._create_acquirer(device_proxy=device_proxy, config=config)
File "C:\Users\jcormier.conda\envs\gentl_38\lib\site-packages\harvesters\core.py", line 3112, in create_acquirer
ia = ImageAcquirer(device_proxy=device_proxy, config=config,
manager(module.register_event(event_type))
File "C:\Users\jcormier.conda\envs\gentl_38\lib\site-packages\harvesters\core.py", line 228, in m
return getattr(self._source_object, attribute)(*args)
File "C:\Users\jcormier.conda\envs\gentl_38\lib\site-packages\genicam\gentl.py", line 2303, in register_event
return _gentl.System_register_event(self, event_id)
_gentl.BufferTooSmallException: GenTL exception: Buffer used is too small for operation. (Message from the source: Buffer was too small)

**Expected Behavior**
A clear and concise description of what you expected to happen.

1.4.0 works just fine.  Trying to figure out what changed in 1.4.2 and get more info on what might be missing or broken in our producer.  But the error message is a bit vague

**Screenshots**

![image](https://user-images.githubusercontent.com/5613721/231803537-d3083972-ee7a-4eb6-9557-352d022c4556.png)

**Configuration**

 - OS: Windows 10
 - Python: 3.8
 - Harvester: 1.4.2
 - GenTL Producer: CriticalLink
 - Camera: SimCamera

**Reproducibility**

This phenomenon can be stably reproduced:

- [x ] Yes
- [ ] No.

If applicable, please provide your observation about the reproducibility.

**Actions You Have Taken**

Happens anytime I switch to 1.4.2 and goes away when switching back to 1.4.0

- [ x] I've read the [Harvester FAQ page](https://github.com/genicam/harvesters/wiki/FAQ).

**Additional context**
Add any other context about the problem here.

I can confirm this bug in 1.4.2, Python 3.10

Traceback (most recent call last):
File "M:\Software\GUI\main.py", line 833, in changeScannerPixelFormat
self.scanner.scanner.start()
File "C:\Dev\Python3_10\lib\site-packages\harvesters\core.py", line 2256, in start
ds.start_acquisition(
File "C:\Dev\Python3_10\lib\site-packages\harvesters\core.py", line 228, in m
return getattr(self._source_object, attribute)(*args)
File "C:\Dev\Python3_10\lib\site-packages\genicam\gentl.py", line 3454, in start_acquisition
return _gentl.DataStream_start_acquisition(self, *args)
_gentl.BufferTooSmallException: GenTL exception: Buffer used is too small for operation. (Message from the source: StartAcquisition: one or more of the announced buffers are smaller than required) (ID: -1016)

The exception in thrown when I change the pixel format of my device (it's a laser scanner with genicam interface) for example from Mono8 to Mono12 or similar. I'm doing this by setting a node value of the remote device NodeMap.


Unable to complete OAuth token exchange portion of authorization

Running into an issue with the token exchange portion of authenticating. Error as follows
key :access_token not found in: %OAuth2.Client{authorize_url: "https://www.strava.com/oauth/authorize", client_id: "<<client_id>>", client_secret: "<<secret>>", headers: [], params: %{}, redirect_uri: "http://localhost:4000/auth/strava/callback", site: "https://www.strava.com/", strategy: Ueberauth.Strategy.Strava.OAuth, token: %OAuth2.AccessToken{access_token: nil, expires_at: nil, other_params: %{"errors" => [%{"code" => "invalid", "field" => "", "resource" => "Application"}], "message" => "Authorization Error"}, refresh_token: nil, token_type: "Bearer"}, token_method: :post, token_url: "https://www.strava.com/oauth/token"}
I've verified that the code is in fact returned from the authorization route, so there's something weird with the hand off to the token route

Hi @vinniefranco - I'll investigate later this weekend. May I ask what context you're encountering this issue with, and the versions of ueberauth you're using?

Running latest version of ueberauth, with ueberauth example app

If I manually merge the client_id, and client_secret in get_token! then it works

Sorry for the late reply, @vinniefranco and thanks for doing the legwork on this. I'll check it out and merge when it looks good. Do you need a version bump from me?


Commands not exiting on error

Fix commands to return on error and stop execution

Should be working now, haven't ran into this issue during testing.


There some wrong after npm install

npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.12.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs canvas
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls canvas
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     F:\react-chart-editor\npm-debug.log

Unfortunately I can't provide support for NPM installations of our dependencies... You'll have to try to install them individually and see what breaks.

which version of node for installing react-chart-editor?

Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
node v8.11.1

are you able to npm install canvas directly? If not, you'll have to get help from that project.

Note to self: we may not need canvas after all... it's only there to suppress a warning
https://github.com/plotly/react-chart-editor/pull/294/commits/4b82f4456afea35116f9b7e78e68d6480cf9e495

The canvas dependency has been removed.


bug: updating to ionic 1.01 and cli 1.6.1 breaks ionic serve

From @alexweber on July 19, 2015 14:50
Type: bug
Platform: all
All of a sudden ionic serve stopped working and serves up a blank page.

Copied from original issue: driftyco/ionic#4108

Thanks for opening the issue. It seems that issue has been resolved. I am going to close this issue but please feel free to reopen another issue if this occurs again.


Encrypt the passwords in database

Currently, the passwords are stored in plain text, which can be seen by anyone who can access the database. This invades privacy and raises security concerns.
A better approach would be to convert the passwords into a hash before storing them in the database. Using this, nobody would be able to decode the password through the database and it stays encrypted.

I want to work on this issue.

can you send me the repo link of the database ?

I want to work on this issue.

Sure @suprabhat25 , Any Particular approach in mind?

can you send me the repo link of the database ?
A test database has been included in the SQL folder, import this in MySQL (after creating a coviddb database).

Using bcrypt will do the task

Will https://github.com/StartBootstrap/startbootstrap-sb-admin-2 be used in place of "url to the organization on GitHub" ?

Will https://github.com/StartBootstrap/startbootstrap-sb-admin-2 be used in place of "url to the organization on GitHub" ?

Nope, https://github.com/Exter-dg/CovID

I am having some issue regarding setup of xampp in my laptop. I am working on it and will update you.


HttpBackOffUnsuccessfulResponseHandler does not handle Retry-After

For server overload 503 or user quota exhaustion 429 statuses, a service is allowed to reply with a Retry-After header. HttpBackOffUnsuccessfulResponseHandler does not inspect any such header as a part of its back-off policy to perform sleep(max(backOff, retryAfter)), or something similar (e.g., checking if retryAfter would exceed the backOff.getMaxElapsedTimeMillis() timeframe).

HttpBackOffUnsuccessfulResponseHandler is meant to be a) a minimal default implementation and b) a demonstration of how you could do backoff-retry. Particularly, the ON_SERVER_ERROR demonstrates how to handle 5xx errors.
Feel free to plug in your implementation of HttpUnsuccessfulResponseHandler if you need something beyond that.


add BiuBiuBiu~

WTF. Please don't troll repos not owned by yourself with this kind of :hankey:

LOL😂 made my day😂
biubiubiu~

This PR remind me of Adolf Hitler in Der Untergang
http://www.bilibili.com/video/av416795/


Args/Subcommand app settings shouldn't impact what they are flattened into

 Issue by epage
Saturday Oct 16, 2021 at 15:03 GMT
Originally opened as https://github.com/clap-rs/clap/issues/2894

Please complete the following tasks

[X] I have searched the discussions
[X] I have searched the existing issues

Rust Version
rustc 1.55.0 (c8dfcfe04 2021-09-06)
Clap Version
master
Minimal reproducible code
use clap::{Args, Parser};

#[derive(Parser, PartialEq, Debug)]
struct Opt {
    #[clap(flatten)]
    common: Common,
}

#[derive(Args, PartialEq, Debug)]
#[clap(version = "3.0.0")]
struct Common {
    arg: i32,
}

fn main() {
    Opt::parse();
}

Steps to reproduce the bug with the above code
cargo run -- --help
Actual Behaviour
test-clap 3.0.0

USAGE:
    test-clap <ARG>

ARGS:
    <ARG>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

Expected Behaviour
test-clap

USAGE:
    test-clap <ARG>

ARGS:
    <ARG>

OPTIONS:
    -h, --help    Print help information

Additional Context
With the vocabulary we are providing users, we are flattening an Args.  This says nothing about flattening an App as well.
This has also led to a series of bugs like #2527.  We've worked around this by carefully setting the precedence (https://github.com/TeXitoi/structopt/pull/325, #2531 and #2819) which has lead to other bugs like #2785 which required more precedence tweaks (#2882).
By distinguishing what app settings are tightly associated with flattening (help_heading, the implicit subcommand required else help) and making everything else only apply when creating an App, we can simplify, clarify, and make less brittle these relationships.
Debug Output
No response

 Comment by epage
Saturday Oct 16, 2021 at 15:05 GMT

Note: we can't just move the app method calls to IntoApp because that will break subcommands because Args and Subcommand are also implicitly sub-parsers in subcommands and we expect them to be able to initialize the subcommand's app settings.
Options

Have Args and Subcommand also derive IntoApp
Have users explicitly derive IntoApp when they want to be used as a subcommand
Split the Args and Subcommand augment_app methods into augment_app and add_args.

 Comment by epage
Tuesday Nov 02, 2021 at 17:57 GMT

In thinking about this, it might make sense for subcommand to pull in some appsettings.  We already implicitly add one we'd need to keep and the user might want to do other related ones like UseLongFormatForHelpSubcommand, InferSubcommands,


CMake build problems for v1.10.x

Please answer these questions before submitting your issue.
Should this be an issue in the gRPC issue tracker?
Yes.
What version of gRPC and what language are you using?
v1.10.x / C++.
What operating system (Linux, Windows, …) and version?
Linux, Ubuntu, 16.04
$ uname -a
Linux ae79522b78cd 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

What runtime / compiler are you using (e.g. python version or version of gcc)
$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

What did you do?
Try to compile the code using cmake:
$ git clone -bv1.10.x https://github.com/grpc/grpc.git grpc-v1.10.x
$ cd grpc-v1.10.x
$ git submodule update --init --recursive
$ sudo docker run -it --rm  --volume $PWD:/v --workdir /v ubuntu:16.04 /bin/bash
# apt update && apt install -y cmake g++ golang
# cmake -H. -B.build -DCMAKE_BUILD_TYPE=Release
...
...
-- Build files have been written to: /v/.build
# cmake --build .build -- -j $(nproc)
...
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

The build fails to complete.
What did you expect to see?
A successful build
What did you see instead?
The build fails with:
# cmake --build .build -- -j $(nproc)
...
..
/v/third_party/boringssl/ssl/tls_record.cc: In function 'bssl::OpenRecordResult bssl::OpenRecord(SSL*, bssl::Span<unsigned char>*, size_t*, uint8_t*, bssl::Span<unsigned char>)':
/v/third_party/boringssl/ssl/tls_record.cc:595:44: error: 'type' may be used uninitialized in this function [-Werror=maybe-uninitialized]
       if (type != SSL3_RT_APPLICATION_DATA && type != SSL3_RT_ALERT) {
                                            ^

Anything else we should know about your project / environment?
Cannot think of anything, but feel free to ask for specifics.

Just verified the existing Makefile without cmake works fine (`apt-get install -y build-essential libtool shtool pkg-config automake autoconf; make -j 20').
@jtattermusch any idea why cmake fails?

For the record, simple cmake . && make -j 30, which uses Cmake generate Makefiles seems to work as well (I over-installed dependencies as listed above).

Thanks for the quick response.  It does not fail on all compilers, not even with all versions of g++.  Here is my build matrix output:
https://travis-ci.org/coryan/google-cloud-cpp/builds/345275128
g++ on Ubuntu 14.04 is fine (that is 4.8 I believe), g++ on Ubuntu 16.04 (5.x I believe), and Ubuntu 17.10 (7.x as I recall) break.

Ping.  Any thoughts?

@coryan   I think we just need to silence the -Werror=maybe-uninitialized  warning for boringssl compilation.

Sure.  Is this something I should expect will happen in v1.10.x or should I wait for v1.11.x?

It looks like this warning was already fixed for boringssl: https://boringssl-review.googlesource.com/c/boringssl/+/21724
updating the third_party/boringssl submodule once the fix is available in boringssl's master branch is probably the best way to fix.

To add, if the resolution is updating the boringssl submodule, we should do it on master and ship it in a later release, not on the 1.10.x branch.

Thanks.  I am closing this bug because we know what the resolution will be.

@jtattermusch It appears the revision in https://github.com/google/boringssl/blob/4d7ba4e4e57195fcebdabe01489534b446ad02cb/ssl/tls_record.cc#L589 (which is the latest version for v1.10.0) still has the bug.
Build still fails on Linux (building Release configuration) using gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
It looks v.1.10.1-pre1 also suffers from the same issue (although master points to a fixed version of boring-ssl).
What is the suggested solution to fix build on Release configuration?

@amitwaisel This is not surprising as I think the understanding above was not to bump the BoringSSL version on v1.10.x branch for a patch release, rather do it on the next major release branch, i.e. the v1.11.x branch which will be cut from the master real soon, which should have a new BoringSSL submodule reference.

@mehrdada I completely understand why this is expected, but currently the bottom line is that we can't use the latest version of gRPC because we can't build it in Release with gcc.
So the best solution is either to revert back to v1.9.x, or make a local fix before building.

I created https://github.com/grpc/grpc/pull/14907 which should fix the build on v1.10.x.
Also, please note that the v1.11.x will be released soon (and it will already contain the fix).


docs: examples for Column

Closes partially #1027
Summary of Changes

Add examples for Column
Add empty examples for everything else

:tada: This PR is included in version 0.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
v0.13.0
GitHub release

Your semantic-release bot :package::rocket: