Clone of NodeGit repository is incomplete

Run this program.
Open the tmp/vendor/libgit2 folder.
It is empty.

var git = require(".");
var repo_dir = "tmp";

git.Clone("https://github.com/nodegit/nodegit.git", repo_dir, {
  fetchOpts: {
    callbacks: {
    }
  }
})
.then(function() {
  console.log("done");
})
.catch(function(err) {
  console.log(err);
});

NodeGit doesn't fetch submodules by default so this is why the folder is empty.

Is there a flag for fetching submodules?

It is unimplemented at the time. You may want to take this upstream to libgit2, as it needs to be implemented there.


Attempt to make scan interval configurable

Hi Daniel, I'm not experienced with this so make sure to review in depth. Don't take any risks. Appreciate the library and please feel free to make any changes you'd like.

I will do a more in-depth review over the weekend and install it on my HA to test it out.

I've closed the pr because I'm still having issues after testing.


Indentation messes up in incredibly specific condition.

Consider the following 3 lines of code:
fn main() {
    let _ = 0. < 1.;
}

If you put your cursor at the end of line 2, then press enter, you'd expect the next line to be indented at the same level, however this happens:
fn main() {
    let _ = 0. < 1.;
                // It's indented to here
}

Also, if you do the same with the last line:
fn main() {
    let _ = 0. < 1.;
    }
    // Indented to here

This is because of the 0. < bit. If you change it to 0.0 < or 0. >, indentation works perfectly fine, so it's likely due to the combination of missing the decimal part and having the < character, which is also used as a bracket in rust.
I may have narrowed it down via a few hours of trial and error to this regex:
https://github.com/rust-lang/rust-mode/blob/22fff6a049402584e7120146c3db141c6f530bf6/rust-mode.el#L629
Which does not match with the original code, but does with the fixed code.
I don't believe that this is the cause of the issue though, since I also found that in that match, for the working code it will match an empty string $ (expected, since the cursor is at the end of the line). For the original code however, it matches  1\.;$, and it's the exact same if I increase the line's length. This means that something has moved the cursor to just after the <.
I confirmed this by changing the < to [, the same thing happens.
It looks like this is done by this line:
https://github.com/rust-lang/rust-mode/blob/22fff6a049402584e7120146c3db141c6f530bf6/rust-mode.el#L827
Commenting that out means it only indents by one extra level, which is bearable. Unfortunately, this is a hack, and probably breaks another indentation feature.
The thing that confuses me is that backward-up-list only goes back to the < if the decimal part is left out. It's probably due to this regex:
https://github.com/rust-lang/rust-mode/blob/22fff6a049402584e7120146c3db141c6f530bf6/rust-mode.el#L620
Which matches the ., assuming it's an operator. I managed to get the regex to work as intended for a few minutes, then I broke it again ([-=!%&*/:<>[{(|^;}]\\|[^[:digit:]]\\.). If somebody else more versed with lisp could help that would be great since I've run out of ideas.
If anyone else has this problem, a temporary solution is to replace rust-is-lt-char-operator:
https://github.com/rust-lang/rust-mode/blob/22fff6a049402584e7120146c3db141c6f530bf6/rust-mode.el#L1216-L1262
with:
(defun rust-is-lt-char-operator () t)

Does this work with tree sitter: https://github.com/rust-lang/rust-mode?tab=readme-ov-file#tree-sitter ?


为什么引用了Picasso & Glide 2个图片库？

You can choose to use either of them, and there will be no dependency of the other one.


Add tags to the repo

Right now, the repo lacks tags which describe what Locutus is or does, it'd be nice to have some tags such as locutus, p2p, decentralized, etc, so the repo is more discoverable (currently, a JS project shows up when searching for projects tagged with "locutus").

I've added a bunch of tags.


python312Packages.qcodes: 0.46.0 -> 0.47.0

Description of changes
Changelog: https://github.com/QCoDeS/Qcodes/releases/tag/v0.47.0
cc @evilmav

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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


chore: bdd-spring-1588106440 to 0.0.1

chore: Promote bdd-spring-1588106440 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


Node.js 12 actions are deprecated

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the action to use Node.js 16.

Closing stale request after deciding to fork https://github.com/netfoundry/close-matching-issues from this repo's downstream https://github.com/DavidMarquezF/close-matching-issues


Resolution of dependencies should not be affected by the dependencies of procedural-macro-library.

Currently, the dependencies of procedural-macro-library would change the resolution of normal dependency of root package, which accidentally broke some crates and made them unusable in no_std environment.
For example:
Case A:
[package]
name = "demo"
version = "0.1.0"

[dependencies]
num-traits = { version = "0.2", default-features = false}

// lib.rs

#![no_std]

extern crate num_traits;

> rustup target add thumbv7m-none-eabi
> cargo build --target thumbv7m-none-eabi
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s

It compiled as expected; the default features is turned off, so that the std feature of num-traits is also removed.
Case B:
[package]
name = "demo"
version = "0.1.0"

[dependencies]
num-derive = "0.2"

// lib.rs

#![no_std]

#[macro_use]
extern crate num_derive;

PS K:\Code\Playground\fail> cargo build --target thumbv7m-none-eabi
   Compiling demo v0.1.0 (file:///K:/Code/Playground/fail)
   (...unused_imports warning...)

    Finished dev [unoptimized + debuginfo] target(s) in 0.66s

It also compiled as expected, though the num_derive depends on non-no-std libraries, like syn, quote and the num_traits with std feature. It's because num_derive is proc-macro-library and it's not going to be linked, which means the num_derive should only work at compile time. Thus, it is not constrained by no_std environment. In other words, the no_std environment should not be affected by proc-macro and no_link crates as well.
Case C:
[package]
name = "demo"
version = "0.1.0"

[dependencies]
num-derive = "0.2"
num-traits = { version = "0.2", default-features = false}

// lib.rs

#![no_std]

#[macro_use]
extern crate num_derive;
extern crate num_traits;

> cargo build --target thumbv7m-none-eabi
   Compiling num-traits v0.2.5
error[E0463]: can't find crate for `std`====================>           ] 9/11: num-traits
  --> C:\Users\Andy\.cargo\registry\src\github.com-1ecc6299db9ec823\num-traits-0.2.5\src\lib.rs:23:1
   |
23 | extern crate std;
   | ^^^^^^^^^^^^^^^^^ can't find crate
   |
   = note: the `thumbv7m-none-eabi` target may not be installed

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: Could not compile `num-traits`.

To learn more, run the command again with --verbose.

In this case, rustc complians that the num-traits with std feature is used in no_std environment. Which is weird because we have required Cargo to remove it! If we build it by verbose, we can see the std feature is passed to rustc!
I guess it is because the resolution of proc-marco-library, num-derive, changed the feature resolution of num-traits in root. This problem may also arise in no_link library.

Thanks for letting us know about this problem. I agree that it is a problem and one that needs to be fixed. The current discussion of how is at #5730. Unfortunately it is a rather big braking change to how features were originally designed to work, so it will take some time to figure out.
But let's have the conversation in #5730 and mark this as a duplicate.


Disable and remove eclint

It causes false positives, and the checks it does are already
covered by the other linters anyway.
See https://github.com/webpack/webpack/pull/3297#discussion_r88796183

Thanks

You need to rebase your other PR for the CI to work.

Will do once I'm back to a computer 👍
On Sun, 20 Nov 2016 at 21:47 Tobias Koppers<EMAIL_ADDRESS>wrote:

You need to rebase your other PR for the CI to work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webpack/webpack/pull/3339#issuecomment-261776324, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEdfT9TiYcn0YB3qC7_tfn03hLPAit0ks5rAEFLgaJpZM4K3hCX
.


Update info in the README.md

It's no longer correct that GitHub offers private repos only for students.
Free private accounts can now do that too. Here's the GitHub help page which explains it (which I've linked in the README.md as well) :relieved:

Thanks for the correction! Merged.


v1.2.5 doesn't export typescript typings

I was running v1.2.3 of react-wordcloud. I updated to v1.2.5 and found that my builds failed, because it couldn't find the typescript typings.
Upon inspection, I found that in v1.2.3, there was an src folder that had the typescript definitions .d.ts files, which are absent in v1.2.5.

I was coming here to report the same issue. Thanks for the efforts, great work with the library :-)

I used microbundle for v1.2.5 and typings should work but thanks for the bug report.  Will update, fix, and confirm this soon!

Tested and fixed in v1.2.6.  I was pointing to the wrong type files in src.  Apologies for the inconvenience since I'm getting familiarized with shipping packages!

Thank you! Great work with the library 👍  :-)


Failed to import AudioSegment, imported correctly: from pydub import AudioSegment, didn't change it every time it was updated.

raceback (most recent call last):
File "J:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "J:\ComfyUI_windows_portable\ComfyUI\custom_nodes\CosyVoice-ComfyUI_init.py", line 1, in
from .nodes import TextNode, CosyVoiceNode, LoadSRT, CosyVoiceDubbingNode
File "J:\ComfyUI_windows_portable\ComfyUI\custom_nodes\CosyVoice-ComfyUI\nodes.py", line 18, in
import audiosegment
ModuleNotFoundError: No module named 'audiosegment'
Cannot import J:\ComfyUI_windows_portable\ComfyUI\custom_nodes\CosyVoice-ComfyUI module for custom nodes: No module named 'audiosegment'

Change line 18 in nodes.py
#import audiosegment
from pydub import AudioSegment


Removed pipeline is visible until page refresh

To reproduce:

run single node rancher in docker
create rke2 single node cluster (DO infra provider) (can't reproduce on local cluster)
open System -> default namespace
open Resources -> pipelines -> configure repositories
enable pipeline-example-go.git example repo
click on repo menu (...) -> delete

Current result: Pipeline stays in removing state until page refresh

Tested on master-head (e83ac8c) in both emberUI and iFrame in dashboard.

Hopefully this is a quick fix in Ember. If not, we can look at this for 2.6.2

I could reproduce this, it worked fine for me. Can you try again to reproduce this. We'll bump to 2.6.2 if you are still able to reproduce this.

I could reproduce this, it worked fine for me. Can you try again to reproduce this. We'll bump to 2.6.2 if you are still able to reproduce this.

Yes, I can  - I reproduced again on master-head (8a60508)

Upon discussion with Sowmya, we should see if we can repro this with 1.20.x. This may be tied to other existing problems with refresh in general.

@codyrancher I also found out that Martin transferred to another team within SUSE so if there's anything to test, ping @Auston-Ivison-Suse going forward.

@kravciak how are you creating the rke2 cluster? The only k8s version that rke2 can deploy right now is 1.21.5 ![image]

I see the same, retested on v1.21.6+rke2r1. After following the steps I get the same message
Pipelines in Kubernetes 1.21+ are no longer supported.

Considering EmberUI will be removed and not supported warning above I would close it.

@Auston-Ivison-Suse given the above comment can we close this issue?

Further Testing
Setup for Testing

rancher version: commit(b6d9284)
RKE1 cluster provisioned through rancher
-k8s version: v1.20.12
RKE2 cluster provisioned through rancher
-k8s version: v1.21.6

Reproduction Steps
This is the same for either cluster type

Turn on Legacy Feature Flag in global settings
Return to cluster management and navigate to cluster
In the namespace selector at the top select the "Project:System"
You should see "Legacy" in the hamburger menu on the left go to Legacy --> project --> pipeline
Now select "Configure repositories"
Enable "https://github.com/rancher/pipeline-example-go.git"
Return to the Pipeline page and see that the pipeline will be listed.
Select the pipeline and then click the delete button.

Result
The result when following the steps in the RKE1 cluster: You will see the status change to "removing" this will take several minutes before it is removed, but it does get removed without any refreshing of the page required.
The result when following the steps in the RKE2 cluster: You will see the status change to "removing" this will take several minutes before it is removed, but it does get removed without any refreshing of the page required.
Notes
It does take quite a long time for the pipeline to be deleted, but it seems to work as intended, just with a rather long delay.

@Auston-Ivison-Suse in light of this actually refreshing I think that we should either close this because the feature isn't supported anymore or I think that this issue should be moved to the backend in order to reduce the latency.
Would you be okay with doing either one of those?


Adapt Simplifed to upcoming 2.4 changes

Background here: https://github.com/Starcounter/Starcounter/issues/3946#issuecomment-261180485
Should be assigned to me (I seem not to have that privilege).

Should be assigned to me (I seem not to have that privilege).

And clearly, I can't push either then. 😸 @miyconst, any chance you could give me those permissions? I promise I won't mess with the master branches.
If you think it's better I fork and send a PR, that's fine I guess. Just that I don't want anything pulled into any master branch anyway. ❗❓

And clearly, I can't push either then. 😸 @miyconst, any chance you could give me those permissions? I promise I won't mess with the master branches.

Hah! I just lurked around and noticed that @warpech already had given me an invitation to StarcounterPrefabs a really long time ago. Just joined, and now I'm on track again. 👍

When this is merged in main branch, we must update this https://github.com/StarcounterPrefabs/Simplified#distributed-with-starcounter and this https://github.com/StarcounterPrefabs/Simplified#building-your-own.

Is it documented somewhere how Simplified (and SocietyObjects) relate to different versions of Starcounter?
cc @miyconst @warpech

Is it documented somewhere how Simplified (and SocietyObjects) relate to different versions of Starcounter?

Sorry, I don't get the question. As of now the Simplified library was shipped with Starcounter. So, it was no how related to different versions of Starcounter, it was a part of it.

Sorry, I don't get the question. As of now the Simplified library was shipped with Starcounter. So, it was no how related to different versions of Starcounter, it was a part of it.

Sorry, I was probably not clear enough. I've made some changes in how it's bundled with Starcounter, but we have decided that it will be still. The changing thing is that it will need to be explicitly referenced from projects that want to use it (just like normal references).
But my question was how Simplified relate to different versions of Starcounter. The thing I'm doing right now, which this issue is about, is that I'm changing Simplified so that (in this branch) it is compatible with the recent changes in 2.3 ("pnext") of Starcounter. If I would merge those into the main branch of Simplified, Simplified would no longer be compatible with Starcounter 2.2.
I can set up the build-server so that when building Starcounter 2.3, it build a certain branch of Simplified. And when building 2.2, it can use another branch. My question was basically if there was a recommended pattern for that, i.e. that we use "develop" for "latest" Starcounter, and that we have some other Simplified branch for earlier versions (i.e. 2.2, 2.1).

No such things for Simplified as I know. Maybe @warpech can add some more.
I wander, which changes broke the compatibility with Starcounter 2.2?

I wander, which changes broke the compatibility with Starcounter 2.2?

No code changes (yet). Just changes relating to how the Simplified project must be built and bundled with Starcounter. We are just discussing breaking code changes that we have plan for. The probably will end up in some 2.4 version.
Thanks for the feedback @miyconst. I have a clearer picture now. I'll consider what options there are and I'll update here once this whole thing get merged.

Still, I would like to see those new features in Simplified, which do not work in Starcounter 2.2, even if it is not yet there.

Note to self: Need to adapt to https://github.com/Starcounter/Starcounter/issues/3980 too.

Note to self: Need to adapt to Starcounter/Starcounter#3980 too.

Done.

Merged: https://github.com/StarcounterPrefabs/Simplified/commit/49aac67c5f2299f51b30de58ee97e9b308fd0b51


Unresolved in derived classes with constrainted type-parameters

Seems like type-parameters resolving is blocking something.
repro:
class Base<T> {

	public var field:Int;

	public function new() { }

	public function foo():Void { }
}

class Derived<T> extends Base<T> {

	public function new() {
		super();

		field = 0; // OK
		foo(); // OK
	}
}

class BaseWithConstraints<T:Dynamic> {

	public var field2:Int;

	public function new() { }

	public function foo2():Void { }
}

class DerivedWithConstraints<T:Dynamic> extends BaseWithConstraints<T> {

	public function new() {
		super();

		field = 0; // !! unresolved
		foo(); // !! unresolved
	}
}

screenshot:

Wrong repro, but this problem is not reproduced anymore in 0.9.9


Empty Exception Body

I am going to test bad request (400) with a customized error message. The test gets 400 as status code; however the content body is empty.
[HttpPost]
public override async Task<IActionResult> PostAsync([FromBody] Contract.User entity)
{
if (entity == null)
{
    return Error(new Error() { Status  = "400", Title = "Invalid request body", Detail = "The provided request
    entity body is not valid." });
}

    return await base.PostAsync(entity);
}

@OKTAYKIR  thanks for reporting the issue. A couple things that will help me solve this faster:

What version are you on?
Are you certain 400 is not being thrown from this call base.PostAsync(entity);
If you have time, can you fork this repo and reproduce the issue in a test? Looks like the current tests are only making assertions about the status code

I use version 2.1.0.
I am certain because, i debugged this case.
If I can find time, I will do it.

Thanks.

@OKTAYKIR  Copying your code and running it gives me the following result:
{
    "errors": [
        {
            "title": "Invalid request body",
            "detail": "The provided request entity body is not valid.",
            "status": "400"
        }
    ]
}

Here's the cURL request:
curl -X POST \
  http://localhost:5000/api/v1/people \
  -H 'accept: application/vnd.api+json' \
  -H 'content-type: application/vnd.api+json' \

Can you create a repository with your code that reproduces the issue?

Hi @jaredcnance ,
I created repository with sample code that reproduces the issue.
https://github.com/OKTAYKIR/jsonapidotnetcore.example

@OKTAYKIR thanks for taking the time to report and reproduce this issue. It should be resolved in v2.1.1.
If you're still having trouble please reopen this issue. For your reference, see #145 for the fix.
Thanks


fix(ui): SAML should not be in Scale-up

Changes
Remove SAML from Scale-up pricing in organisation settings page.
How did you test this code?
Ran the FE locally and verified.

Looks good, I'll just check the page on Vercel before appoving.

Looks good from a code perspective, very full stack.


How to minimize requested image using jquery cropit plugin?

http://stackoverflow.com/questions/28911351/how-to-minimize-requested-image-using-jquery-cropit-plugin

Added a comment in the thread.

Seems like it's resolved on the stackoverflow thread :)


A compositional min-language for nested structures

This is a proposal I discussed with Philipp that is just a tentative idea right now but could be very useful in future. I'm not going to record everything we discussed but outline the main idea so it isn't forgotten.
It would be useful to have a way of programmatically describing the structure of nested holoviews objects. This could be done using compositional objects that nest in the say way as the usual hierarchy but don't have any data.
Here is the sort of thing I have in mind - a core.spec module which lets you do something like this:
from holoviews.core.spec import Layout, NdOverlay Curve, OneOrMore, Count
Layout(OneOrMore(NdOverlay(Count(Curve, 3 )))

This reads as 'a specification for a layout with one-or-more NdOverlays, each of which contain exactly three curves'.
These specs should support group/label matching (maybe even with globs?) and a key part of the functionality is comparing specs to see if they are compatible (or strictly equal). I imagine these specs having a slightly extended repr. Maybe something like:
:Layout+
   :NdOverlay(n=3)   [Element]
      :Curve   [x]   (y)

I think that captures the basic idea. We can imagine lots of uses for such things (deferred computation graphs, sophisticated validation, etc) but the most immediate use of such things would be to allow operations to declare (and validate) their expected inputs/output structures.

Interesting.  This also applies to param -- I've often wanted to be able to declare a Parameter that accepts something like a list of tuples of a string and an object of type X, for instance, but that's not currently easily expressible declaratively; instead we have to write a special validation function for each such case that comes up.  And to avoid writing such a function, those cases typically end up as just Parameter, thereby not actually enforcing any validation.

I quite like some of the compositional properties of the bokeh properties system and this proposal is partially inspired by it.
It might be possible to come up with a general concept that does integrate with param - you have some type specification object which may support * (more than zero) and + (one or more) and then you need two predicates to validate: 'strictly equals' and 'satisfies'.
I am wondering if we might consider adding a param.HoloViews(spec_or_class) parameter that takes either a holoviews class (acts like a class selector) or one of these specs and makes sure it is satisfied...

What about building off datashape? I think it is supposed to get type extensibility.


upgrade ovirt to 4.6

Updating gem because it fixes some issues with ruby 3.3 building
Gem released Feb 1, 2024

@miq-bot cross_repo_test https://github.com/ManageIQ/manageiq-providers-red_hat_virtualization/pull/54 including manageiq-providers-ovirt#676

update:

upgraded dependency to point directly to the ovirt provider

LGTM - just want @agrare to also see this before merge.  If we agree on this approach we'll want to do the same in the other inherited gems.


Update get-started-with-azure-cli.md

Acrolinx Scorecards
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard

docs-ref-conceptual/get-started-with-azure-cli.md
87
16
link

More info about Acrolinx

The scorecard links are good for one hour. If you're prompted to authenticate, you can close and reopen the PR to get new links. Or, use these credentials:
Account: report-viewer
Password: kermit$
Report false positive results or other issues

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/get-started-with-azure-cli.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

This article is not about interactive mode. That is interactive-azure-cli.md.

@rloutlaw What about the mis-application of azurecli-interactive to the code blocks?

@rloutlaw I know the SSH command will work fine from the cloud shell (I had this same reaction) and tested it. The Windows remote access command is a bit more awkward because it won't work in the cloud shell.

@rloutlaw I mean, this article is about using the Azure CLI, but not in interactive mode. This PR changes the code block labels from azurecli to azurecli-interactive.

#sign-off

Acrolinx Scorecards
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard

docs-ref-conceptual/get-started-with-azure-cli.md
87
16
link

More info about Acrolinx

The scorecard links are good for one hour. If you're prompted to authenticate, you can close and reopen the PR to get new links. Or, use these credentials:
Account: report-viewer
Password: kermit$
Report false positive results or other issues

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/get-started-with-azure-cli.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Build issue windows  using msys

After installing all dependencies for windows build including msys, build tools , opencv etc.
On issuing hello world bazel build command:
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --action_env PYTHON_BIN_PATH="C://Anaconda3//python.exe" mediapipe/examples/desktop/hello_world
I am getting following error:
Error: ERROR: C:/users/******/_bazel_******/mvh33bjd/external/com_github_gflags_gflags/BUILD:16:30: Executing genrule @com_github_gflags_gflags//:gflags_google_h failed: (Exit -1073741819): bash.exe failed: error executing command C:/msys64/usr/bin/bash.exe -c ... (remaining 1 argument(s) skipped)       0 [main] bash (11160) C:\msys64\usr\bin\bash.exe: *** fatal error - add_item ("\??\C:\msys64", "/", ...) failed, errno 1 Stack trace: Frame        Function    Args 000FFFF8630<PHONE_NUMBER>5 (0018028A102, 00180264FC1,<PHONE_NUMBER>F, 000FFFF8B10) 000FFFF8B60  001800499D2 (000FFFFFFFF,<PHONE_NUMBER>0, 000FFFFABCA, 000FFFF9BB0) 000FFFF9B70  00180049A11 (000FFFF9BB0,<PHONE_NUMBER>1,<PHONE_NUMBER>F,<PHONE_NUMBER>1) 000FFFF9C00  001800ED68D<PHONE_NUMBER>0,<PHONE_NUMBER>4,<PHONE_NUMBER>0, 000FFFFCC50) 000FFFFCC70  0018013FA45<PHONE_NUMBER>0,<PHONE_NUMBER>0,<PHONE_NUMBER>0,<PHONE_NUMBER>0) 000FFFFCCE0  0018004A055<PHONE_NUMBER>0,<PHONE_NUMBER>0,<PHONE_NUMBER>0,<PHONE_NUMBER>0) 000FFFFCDA0  00180048A2A<PHONE_NUMBER>0,<PHONE_NUMBER>0,<PHONE_NUMBER>0,<PHONE_NUMBER>0) 000FFFFCE50  00180048AEC<PHONE_NUMBER>0,<PHONE_NUMBER>0,<PHONE_NUMBER>0,<PHONE_NUMBER>0) End of stack trace Target //mediapipe/examples/desktop/hello_world:hello_world failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 20.169s, Critical Path: 19.76s INFO: 215 processes: 161 internal, 54 local. FAILED: Build did NOT complete successfully

Hi @mayank10j , Did you get a chance to go through the below steps . And have a look over here seems similar

Hi @mayank10j ,
This issue can be resolved in the latest version of MediaPipe , could you please check and close this issue.


Looser coupling with vt100

Addresses #150
Adds a generic Screen and Cell traits that opens the possibility of using tui-term with libraries other than vt100.
This is a breaking change in a few ways:

PseudoTerminal now contains a generic.
Automatic dereferencing no longer works for the constructor e.g. PseudoTerminal::new(&parser.screen()) will fail. This could be avoided with a impl<'a> Screen for &'a vt100::Screen, but wasn't sure this was desired. Will add it if desired.

Please let me know if there's additional tests that would be beneficial.
Alternatives:
We could try to avoid leaking the underlying Screen type by storing a &dyn Screen, but that would require reworking the interface to not have an associated type.

Thank you for the pr!
I think it is already in a good shape.

Automatic dereferencing no longer works for the constructor

If needed we can add it. Maybe it makes sense to keep backwards compatibility? Though again I wouldn't focus too much on that yet.

Please let me know if there's additional tests that would be beneficial.

The changes are clear, and the generics are tested by the impl.
I don't see the need for additional tests.

We could try to avoid leaking the underlying Screen type by storing a &dyn Screen

I am happy with the current state, but I do invite you to sketch that a little more out in a comment, if you want - so we can look at it in a little more detail.
Otherwise I would be fine with the PR as is, as I already see it as an improvement.

I am happy with the current state, but I do invite you to sketch that a little more out in a comment

To avoid needing a Cell associated type I think it would require moving the Cell to a methods up to Screen e.g.
trait Screen {
  // vt100 implementation would be `screen.cell(row, col).map(|cell| cell.has_contents())`
  fn cell_has_contents(&self, row: u16, col: u16) -> Option<bool>;
  fn apply_cell(&self, row: u16, col: u16, cell: &mut ratatui::buffer::Cell);
  ...
}

Feels less than ideal since that would require the Screen implementation to fetch the screen type twice with the current rendering implementation. That double fetch could be avoided if the implementation of apply_cell took ownership this logic, but I'm unsure if that's desired.
cell_has_contents would then only be used for rendering the cursor.

Thank you for that sketch and explanation!
I have thought about it and I am also unsure if that would be desired.
Unless you have more input or ideas I would merge this PR, if you are happy with it.
If you want I can cut a release after the merge.

I have thought about it and I am also unsure if that would be desired

I feel similarly

Unless you have more input or ideas I would merge this PR

I'm happy with the state of the PR

Thank you :).


Added error handling for ENAMETOOLONG import error

fixes https://github.com/TryGhost/Team/issues/2200
When zipping a folder that contains files with UTF-8 characters in the filename, using the MacOS Archive Utility, the resulting zip will be missing some UTF-8 configuration bit. This breaks the unzipper, causing it to decode the filenames using the wrong encodign.
When the file names are long, and become longer than the length allowed by the OS, an ENAMETOOLONG error is thrown. This error is not handled by the importer, and causes the import to fail.
This adds a specific check for this error so we can show a clear error message to the user, that helps them to resolve the issue. We are currently unable to fix the issue on our side, because of a lack of well supported zip libraries for node.
The new error message reads, and is also open for review:
The uploaded zip is not readable. Try re-zipping the zip with a different archiving tool (not MacOS Archive Utility) or remove the special characters from the file names.

@ErisDS Could you give this another look? 😊


Fixed: iptable returning error for using -dport

It looks like iptable requires "-m $PROTOCOL" in order to use -dport option, therefore I added it.

That's wrong, a module providing --dport is available when using --protocol udp or --protocol tcp.


Delete button not enabled for admin

I am trying to delete users from the Settings --> Users page while logged in as admin.
When clicking on a user, the edit and delete buttons do not enable.
Any hints?

I suspect that you are using outdated version of the web app.

Thanks.  Will look into that.


RuntimeError: Library libcublas.so.12 is not found or cannot be loaded

Hi, Im following the readme to run the app and got struck at this error in modal app. Did you face any similar error ? If yes , can u please help me resolve it?
Podcast Episode downloaded
/usr/local/lib/python3.11/site-packages/pyannote/audio/core/io.py:43: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
  torchaudio.set_audio_backend("soundfile")
Load the Whisper model
No language specified, language will be first be detected for each audio file (increases inference time).
Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.2.3. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint .cache/torch/whisperx-vad-segmentation.bin`
Model was trained with pyannote.audio 0.0.1, yours is 3.1.1. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.10.0+cu102, yours is 2.3.0+cu118. Bad things might happen unless you revert torch to 1.x.
Starting podcast transcription
Traceback (most recent call last):
  File "/pkg/modal/_container_io_manager.py", line 488, in handle_input_exception
    yield
  File "/pkg/modal/_container_entrypoint.py", line 134, in run_input
    res = imp_fun.fun(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/podcast_backend.py", line 87, in get_transcribe_podcast
    result = model.transcribe(audio, batch_size=batch_size)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/whisperx/asr.py", line 194, in transcribe
    language = language or self.detect_language(audio)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/whisperx/asr.py", line 252, in detect_language
    encoder_output = self.model.encode(segment)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/whisperx/asr.py", line 86, in encode
    return self.model.encode(features, to_cpu=to_cpu)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Library libcublas.so.12 is not found or cannot be loaded

The error message actually contains a description of the error. It's related to Cuda and PyTorch version (1.10.0+cu102). If it is solved, please write the solution here.


Added docs for app health checks

Fixes #2734
Also removes ServiceInvocation.NoDefaultContentType flag (fixes #2869)
Note: CLI flags listed here depend on https://github.com/dapr/cli/pull/1083

For this need to add

Link to the community call video from call #70
Add or update a diagram to show how this works (optional for this PR, needed otherwise)

@ItalyPaleAle @hhunter-ms
Feedback

You also need to update the Dapr run CLI command here https://docs.dapr.io/reference/cli/dapr-run/
Can you include a link to the Community call video. Here is the text to embed into the app-health.md

Watch this video for an overview of using the application health checks:

@hhunter-ms - Can you help drawn a diagram for this article. I suggest having a picture of the Dapr sidecar calling onto a /health HTTP endpoint on the app. @ItalyPaleAle - Could you advise here?

@hhunter-ms thanks for making that :)
I think it looks good but if the flag --app-health-check-path is /healthz, then the endpoint on the right should be /healthz too. Otherwise, i think it's good!
(Worth also adding --app-protocol http to make it explicit?)

@msfussell Thanks to @hhunter-ms's help:

Added the image
Added video
Updated the "dapr run" CLI ref page
Fixed all merge conflicts

Ready to go?


Bar chart dashboard with mock dataset up

I have added bar chart code with mock data.

@purvagevaria Review this PR


Remove type from v1 schema.

Switching from .type to .payment_methods[0] in various backend calls is necessary since our CalculatedIncentive type no longer reliably has a type property. We could split up that type but I figured it was just easier to start using payment_methods[0] in the calculations anyway.
To make that safer, I added minItems requirements to the JSON schema def for payment_methods and owner_status; now those arrays can't be empty.
Tested: submitted an empty payment_methods array in one of the incentives and confirmed we got a test failure.

It feels sketchy to be putting payment_methods[0] and according special significance to the first payment method in the list. I think this is OK because most instances of this are either on the federal incentives, which we know only have one method, or are for calculating savings totals, which don't get shown for state incentives now.
It may be worth noting, either in spreadsheet guidelines or in conversion scripts, the fact that if an incentive has a "primary" payment method, it should be first in the list?

I added a note on the order to the spreadsheet data models. I do think the root cause of this is that we haven't decided how we should calculate these things in a world where there can actually be multiple payment methods. Filed https://app.asana.com/0/1205271193902672/1206614782434228 to track.


[BUG] Timeout in Fluent Library for Azure Container Instance Creation

Describe the bug
I get a timeout while creating Azure Container Instances
Expected behavior
Being able to configure the timeout
Actual behavior (include Exception or Stack Trace)
      An unhandled exception has occurred while executing the request.
Microsoft.Rest.Azure.CloudException: Long running operation failed with status 'Canceled'.
   at Microsoft.Rest.ClientRuntime.Azure.LRO.AzureLRO`2.CheckForErrors()
   at Microsoft.Rest.ClientRuntime.Azure.LRO.PutLRO`2.CheckForErrors()
   at Microsoft.Rest.ClientRuntime.Azure.LRO.AzureLRO`2.StartPollingAsync()
   at Microsoft.Rest.ClientRuntime.Azure.LRO.AzureLRO`2.BeginLROAsync()
   at Microsoft.Rest.Azure.AzureClientExtensions.GetLongRunningOperationResultAsync[TBody,THeader](IAzureClient client, AzureOperationResponse`2 response, Dictionary`2 customHeaders, CancellationToken cancellationToken)
   at Microsoft.Rest.Azure.AzureClientExtensions.GetLongRunningOperationResultAsync[TBody](IAzureClient client, AzureOperationResponse`1 response, Dictionary`2 customHeaders, CancellationToken cancellationToken)
   at Microsoft.Rest.Azure.AzureClientExtensions.GetPutOrPatchOperationResultAsync[TBody](IAzureClient client, AzureOperationResponse`1 response, Dictionary`2 customHeaders, CancellationToken cancellationToken)
   at Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroupsOperations.CreateOrUpdateWithHttpMessagesAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup, Dictionary`2 customHeaders, CancellationToken cancellationToken)
   at Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroupsOperationsExtensions.CreateOrUpdateAsync(IContainerGroupsOperations operations, String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup, CancellationToken cancellationToken)
   at Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroupImpl.CreateResourceAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.Creatable`4.Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IResourceCreator<IResourceT>.CreateResourceAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Management.ResourceManager.Fluent.Core.DAG.CreatorTaskItem`1.ExecuteAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Management.ResourceManager.Fluent.Core.DAG.TaskGroupBase`1.ExecuteNodeTaskAsync(DAGNode`1 node, CancellationToken cancellationToken)
   at ServerScaling.Controllers.HostingController.DeployAsync(Guid guid) in C:\source\hosting\api\ServerScaling\ServerScaling\Controllers\HostingController.cs:line 169
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)

var azure = new AsyncLazy<IAzure>(() => Microsoft.Azure.Management.Fluent.Azure
    .Configure()
    .WithLogLevel(HttpLoggingDelegatingHandler.Level.BodyAndHeaders)
    .Authenticate(credentials)
    .WithDefaultSubscriptionAsync());

IAzure az = await azure.GetValueAsync();

await az.ContainerGroups.Define()....CreateAsync();

Environment:

Microsoft.Azure.Management.Fluent 1.38.0
dotnet 5.0.4
VS 16.11.2

If I do a GET request on the rest API to query the job, I get the same status message with the mispelled Canceled
{
    "id": "/subscriptions/e34a295b-b6c9-4f9c-b5ae-0377689f4e49/resourceGroups/hosting/providers/Microsoft.ContainerInstance/containerGroups/enzo-studios--demo-game-for-oss",
    "status": "Canceled",
    "startTime": "2021-10-04T12:19:57.8007717Z"
}

For .NET, the development focus has shifted to the next generation of Azure SDKs which follows the new SDK guideline and introduces a set of important new features. Those new packages are currently in preview state and we are actively working on making it production ready. You can visit this link here to see the latest .NET packages:
https://devblogs.microsoft.com/azure-sdk/october-2020-management-ga/
We have also published a few blog posts on why we are doing this:
https://devblogs.microsoft.com/azure-sdk/introducing-new-previews-for-azure-management-libraries/
With this background, .NET Fluent is currently in a low maintenance mode, and we mostly do security and bug fixes. It is subject to deprecation in the future when the new set of .NET packages become Generally Available (GA). Please let us know if there are further questions, thanks!

Local test is good
StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
  Cache-Control: no-cache
  Pragma: no-cache
  Vary: Accept-Encoding
  x-ms-request-id: westus3:6654be9f-9369-4b8d-88fc-305163c713d7
  x-ms-ratelimit-remaining-subscription-reads: 11997
  x-ms-correlation-request-id: f1c14920-396b-484c-8d54-adad8fc933b0
  x-ms-routing-request-id: SOUTHEASTASIA:20220117T013131Z:f1c14920-396b-484c-8d54-adad8fc933b0
  Strict-Transport-Security: max-age=31536000; includeSubDomains
  X-Content-Type-Options: nosniff
  Date: Mon, 17 Jan 2022 01:31:30 GMT
  Content-Length: 1137
  Content-Type: application/json; charset=utf-8
  Expires: -1
}

Body:
{
{"properties":{"provisioningState":"Succeeded","containers":[{"name":"tomcat","properties":{"image":"tomcat","ports":[{"protocol":"TCP","port":8080}],"environmentVariables":[{"name":"ENV1","value":"value1"}],"instanceView":{"restartCount":0,"currentState":{"state":"Running","startTime":"2022-01-17T01:31:10.53Z","detailStatus":""}},"resources":{"requests":{"memoryInGB":1.5,"cpu":1.0}}}}],"restartPolicy":"Never","ipAddress":{"ports":[{"protocol":"TCP","port":8080}],"ip":"<IP_ADDRESS>","type":"Public","dnsNameLabel":"cg1weidxu","dnsNameLabelReusePolicy":"Unsecure","fqdn":"cg1weidxu.westus3.azurecontainer.io"},"osType":"Linux","volumes":[{"name":"emptydir1","emptyDir":{}}],"instanceView":{"events":[],"state":"Running"}},"identity":{"principalId":"6a556569-c9ef-4ba2-970f-7831351de3f5","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"id":"/subscriptions/ec0aa5f7-9e78-40c9-85cd-535c6305b380/resourceGroups/javarg1weidxu/providers/Microsoft.ContainerInstance/containerGroups/cg1weidxu","name":"cg1weidxu","type":"Microsoft.ContainerInstance/containerGroups","location":"westus3","tags":{"tag1":"value1"}}
}


Only allow public projector methods to be auto detected

When you write a projector with a protected and or private method that uses an event, the projector will fail to handle an event thrown at it with the error: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method.
It is fixed with my PR. This will only search for public methods in the projector and ignore internally used methods.

Thanks!


python3Packages.certifi: propgate cacert for its setup-hook

For tests that require a working ca-bundle via certifi we need to setup
NIX_SSL_CERT_FILE, which is kindly provided by cacerts setup-hook.
This reverts commit 5313e0b.
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Also remove certifi's preCheck, right?  Other than that I think this takes the right approach, though I haven't given it any really deep thought.

Cross-link: this is follow-up of PR #205127
I forgot that cross-compilation complicates it a bit, but perhaps it's OK not being perfect in there.  If our stdenv supported propagatedCheckInputs, I'd probably use it here as some improvement of that.

Yeah, I searched for that scoping, but didn't find anything.


AIY voice kit V1.0 - need help

Hi
When i try to do the setup credentials on google cloud platform (OAuth consent screen) i'm seeing a totally different screen to the one in the setup guide, instead of being asked for an email and product name like the guide shows i'm being asked for Application Name, Application home page link, Application logo, Support email, Authorised domains etc.... and don't have a clue how to get past his?

@boxshifter what do you see on the credentials tab ?

You only need to provide your App name (Sample : Voice kit) and nothing else is required on the consent screen.

I follow the steps of providing the App name like you suggested but then I get an error that says "the request failed because one of the field of the resource is invalid."

I got the same error "the request failed because one of the field of the resource is invalid".  Does Anybody have the work around?

I reported to the support email and this is what I got.

I followed the below procedure and it worked fine for my personal account:

Create a new project.
Select the project that just got created.
Goto APIs and Services and Click on Library
Search "assistant" and Select "Google Assistant API"
Enable the API
Click on "Create Credentials".
Select "Google Assistant API" in "Which API are you using?" option.
Select "Other UI" in "Where will you be calling the API from".
Select "User Data" and click "What credentials do I need?".
Click on "SET UP CONSENT SCREEN".
Select "External" in "User Type".
Enter an application name on the consent screen page and no other information needs to be provided.
Click "Save" on Consent Screen.
Click on "Credentials" again.
Click on "Create Credentials" on top.
Select OAuth Client ID
Select "Desktop App" and Enter client name and Click on Create.
Download the credentials and use them on voice kit with old steps.

Attached are all the screenshots with step number.


Publish all things Razor.VSCode

Publishing the Razor.VSCode NPM package for O#.
Publishing the various Razor LanguageServers that are used by O#.

@JohnTortugo @riarenas why didn't the validation stage run in https://dev.azure.com/dnceng/internal/_build/results?buildId=363768 ?
@NTaylorMullen set up the default channel correctly as far as I can tell but none of the stages after Validation did anything. The manifests and other artifacts look fine but we don't yet have confirmation this will work once checked in.

Suspect this is fine as long as @JohnTortugo or @riarenas are confident nothing here led to the odd no-ops in the internal build. Suggest waiting for their ack.

Ok will do. @JohnTortugo or @riarenas waiting on you for approval to merge.

Looking. I'll update here when I figure it out.

The default channel was configured using the GitHub URL, I updated it to an AzDO URL and queued a new build: https://dev.azure.com/dnceng/internal/_build/results?buildId=364463&view=results
I think that was the problem.

For publishing in the Validation channel you need to set _DotNetValidationArtifactsCategory to .NETCOREVALIDATION, not .NETCORE. For sake of testing can you please adjust that variable and queue a new build?

For sake of testing can you please adjust that variable and queue a new build? I canceled the previous build.

Done, kicked off a new build: https://dev.azure.com/dnceng/internal/_build/results?buildId=364545&view=results

@JohnTortugo looks like even with that change the validation stage didn't run.

Weird, this time Maestro was able to find the GitHub commit for the build and looked for a default channel mapped to the GitHub repo URL.. I started a new build using same commit as previous build: https://dev.azure.com/dnceng/internal/_build/results?buildId=365136&view=results . We need to keep the AzDO and GitHub repos in sync to the commit level.

Validated that all things published successfully on the CI. Once the build passes (had to change base branch) i'll get this in.


[1063] Add request count to mno rollout dashboard

Context

https://trello.com/c/i4gRgvIv/1063-show-which-schools-are-making-mno-requests-on-dashboard-page

Changes proposed in this pull request

Add request count per school to mno rollout dashboard

Screenshots

Guidance to review

Enable a school with feature flag mno_feature_flag
Make that school make mno requests
Should see mno rollout dashboard updated with request count

(Approved design)


Issue in getting wav files uploaded in S3

Hi,
I am unable to get the wav file upload to  S3 working. I don't see any exceptions in logs. The transcription  to dynamodb is working fine.
*I do see saveCallRecording=true in the logs for the transcriber lambda
Any advise?
Regards,

Hi,
Can you add more logs to help diagnose where you are seeing the issue? The section of code where the audio upload begins is in KVSTranscribeStreamingLambda.closeFileAndUploadRawAudio().
A few other comments/questions:

Do you see the logs "Skipping upload to S3..."?
In AudioUtils.uploadRawAudio() add a catch for all Exceptions and log there to see if an exception is being thrown
Do you see the logs "Uploading Audio: to / from "?

Any additional logs that you do or do not see would be helpful for diagnosing this issue.

Hi,
Thanks for your response. I will add more logging to understand what might be wrong and post back.
Meanwhile, the only "error" I see is: Task timed out after 600.00 seconds
Also, I am not to clear on what should I be setting for:  INPUT_KEY_PREFIX
Regards,

If you are seeing that exception then something is blocking you from uploading audio to the bucket. I would check a few things:

Give your execution role "s3:*" permissions to see whether you are missing an S3 permission
Check your S3 bucket policy
Check the bucket name you are using and make sure it is the same as your bucket. Check the case sensitivity

HI @efh365 ,
I'm also facing an S3 Upload issue. As you mentioned above, it seems like all the things are proper in place at our end.
What could be the other possibility of not getting wav audio file in S3?
Best,
Swapnil Pawar


Blitzmartin branch

Zero To Mastery - Webblocks 2022 📦📦
PR contains:
This is a simple audio player with modern UI.
It's built using HTML, CSS and JS. It loads songs from a local folder (included in the assets folder).
When you skip to next song, it autoplays. When you get to last song and skip to next, it goes back to first song.
With a conditional render, it shows play button or pause button depending if the song is playing or not.
The control buttons are made with Material Icons.
Songs in /assets/music are mine, hope you enjoy :)
Breaking changes
None
Screenshots

What is the licensing for these music tracks?

There are a couple of covers I have recorded, rest of the music is mine.
Should I add any messages regarding fair usage and copyright? I will delete the covers

@MattCSmith @blitzmartin Eveything seems to be fine with this, bar the licensing of the music. Could we consider replacing the music with copyright free tracks just to prove the concept of the feature, rather than have them linked to your covers?

@MattCSmith @blitzmartin Eveything seems to be fine with this, bar the licensing of the music. Could we consider replacing the music with copyright free tracks just to prove the concept of the feature, rather than have them linked to your covers?

There is no cover anymore, all the music is original and I am the only owner. I have already pushed the updated version but I don't know if I have to close this request and pull a different one.

Awesome thanks, sounds good to me.


Crash on package @ git+... dependencies

Bug description
Using package @ git+... dependencies crashes pip-audit with a traceback, when I'd expect it to output the usual report with those packages listed by name and skip-reason if unauditable.
Reproduction steps
# Some packages exist, and all is well
shed == 0.10.5

# Others *don't* exist or can't be fetched, that's reported nicely
this_might_exist_off_pypi == 0.0.1

# But if you have this awful kind of dep, you'll get a traceback!
hypothesis @ git+https://github.com/HypothesisWorks/hypothesis.git@bb6b55ad8d#subdirectory=hypothesis-python

pip-audit --no-deps -r requirements.txt

Platform information

OS name and version: macOS Monterey
pip-audit version (pip-audit -V): pip-audit 2.4.4
Python version (python -V or python3 -V): Python 3.10.6
pip version (pip -V or pip3 -V): pip 22.3

This doesn't crash for me:
$ cat requirements.txt
# Some packages exist, and all is well
shed == 0.10.5

# Others *don't* exist or can't be fetched, that's reported nicely
this_might_exist_off_pypi == 0.0.1

# But if you have this awful kind of dep, you'll get a traceback!
hypothesis @ git+https://github.com/HypothesisWorks/hypothesis.git@bb6b55ad8d#subdirectory=hypothesis-python

$ python -m pip_audit -r requirements.txt
No known vulnerabilities found
Name                      Skip Reason
------------------------- -----------------------------------------------------------------------------------------------------------------
this-might-exist-off-pypi Could not find project "this-might-exist-off-pypi" on any of the supplied index URLs: ['https://pypi.org/simple']

Can you provide the traceback you're getting?

Thanks for the additional context @Zac-HD! I'll have time to attempt to repro this (and hopefully come up with a quick fix) in the coming days.

One small thing to note (that I don't think is causing the bug, but might be helpful):

I suspect it's relevant that we're using a private index, and don't have https://pypi.org/simple in pip.conf 🤔

If you're trying to avoid all network interaction with PyPI, then you'll probably want -s osv as well. By default, pip-audit uses PyPI's JSON API for vulnerability information; with -s osv it'll use the OSV's (also online) DB instead.

Did some digging here, and it looks like this error only happens with --no-deps. I think that's why @di couldn't repro it.
In particular, it looks like it happens because --no-deps requires every dependency to be fully pinned, but the URL-style requirement you're providing doesn't include a version specification.
In other words, this:
hypothesis @ git+https://github.com/HypothesisWorks/hypothesis.git@bb6b55ad8d#subdirectory=hypothesis-python

should be this:
hypothesis<EMAIL_ADDRESS>
...however, that still fails with the same error, which makes me think it might be a bug in our requirements parser. Will continue looking.

Yep, this looks like a case of pip-requirements-parser not handling the egg fragment correctly:
{'extras': [],
 'global_options': [],
 'has_egg_fragment': True,
 'hash_options': [],
 'install_options': [],
 'invalid_options': {},
 'is_archive': False,
 'is_constraint': False,
 'is_editable': False,
 'is_local_path': True,
 'is_name_at_url': True,
 'is_pinned': False,
 'is_url': True,
 'is_vcs_url': True,
 'is_wheel': False,
 'link'<EMAIL_ADDRESS> 'marker': None,
 'name': 'hypothesis',
 'requirement_line': {'line': 'hypothesis @ '
<EMAIL_ADDRESS>                      'line_number': 8},
 'specifier': []}

Going further, I'm not 100% sure our current guidance in that exception (#egg=package_name==package_version) is actually correct -- I can't find a reference anywhere in pip's documentation for that syntax, and I can't find it in pip's source either. The only supported #egg=... form seems to be without the package version suffix, meaning that VCS URL dependencies cannot be meaningfully pinned.
cc @tetsuo-cpp since you wrote this bit of the code: do you know where the #egg=package_name==package_version guidance came from?

Yep, confirmed: that syntax is definitely not official or supported: https://github.com/pypa/pip/issues/5384
It seems like the only way to support "pinned" dependencies with VCS URLs is to use VCS-specific tagging (e.g. git tags or revs). So we need to update the error here to clarify that --no-deps can't be used with requirements inputs that contain VCS URLs.

So we need to update the error here to clarify that --no-deps can't be used with requirements inputs that contain VCS URLs.

Could we instead skip VCS URLs in --no-deps mode, as is reported for not-on-PyPI packages more generally?
My motivation is that I want to check a requirements file produced by pip-compile for known vulnerabilities, without giving sdist package authors arbitary code execution on my machine (by having previously installed the package, or building a wheel locally; I know that producing the lockfile did this at some point).  It's not much bash to create a vcs-free requirements file to audit, but having it built in would reduce the friction for marginal users.

Could we instead skip VCS URLs in --no-deps mode, as is reported for not-on-PyPI packages more generally?
My motivation is that I want to check a requirements file produced by pip-compile for known vulnerabilities, without giving sdist package authors arbitary code execution on my machine (by having previously installed the package, or building a wheel locally; I know that producing the lockfile did this at some point).  It's not much bash to create a vcs-free requirements file to audit, but having it built in would reduce the friction for marginal users.

I'm of two minds on this. On one hand, we explicitly discourage pip-audit users from treating it as separate from pip install in terms of package trust -- there are use flows that happen to avoid arbitrary package script execution during audits, but that behavior isn't permanently guaranteed (although it's unlikely that it'll change).
On the other hand, I agree that skipping URL deps makes sense -- they're fundamentally outside of the PyPI ecosystem, so auditing them against PyPI makes very little sense. Except that they have sub-dependencies, and we do want to audit those...
Here's what I'm currently thinking: we could add another option, something like --skip-urls (subject to a better name), which would work both with and without --no-deps. This would allow users to explicitly opt into this skipping behavior while preserving the current default behavior.

I just confirmed that pip install --no-deps -r requirements.txt does install a VCS dependency but skips its subdependencies, so https://github.com/pypa/pip-audit/issues/382#issuecomment-1297260688 is probably the closest appropriate behavior here.

cc @tetsuo-cpp since you wrote this bit of the code: do you know where the #egg=package_name==package_version guidance came from?

Not sure whether this is relevant anymore, but I'll reply anyway. Both pip-api and pip-requirements-parser parse the version out of the egg fragment so I just assumed it was part of the official syntax. It does appear to be some kind of informal convention, but I agree that it makes more sense to just skip them.

I'm bumping into this issue attempting to list a forked git repo as a dependency. I use pip-compile to get the dependency into requirements.txt as follows:
textract @ git+https://github.com/seankfh/textract.git@0c80ff5727061587442fc5a1886c668d53e8d16d
    # via -r requirements.in

And when pip-audit runs through pre-commit it outputs the following:
pip_audit._dependency_source.requirement.RequirementSourceError: requirement textract is not pinned, URL requirements must be pinned with #egg=your_package_name==your_package_version: textract@ git+https://github.com/seankfh/textract.git@0c80ff5727061587442fc5a1886c668d53e8d16d from git+https://github.com/seankfh/textract.git@0c80ff5727061587442fc5a1886c668d53e8d16d (from RequirementLine(line_number=219, line='textract @ git+https://github.com/seankfh/textract.git@0c80ff5727061587442fc5a1886c668d53e8d16d', filename=PosixPath('requirements.txt')))

I've always used --no-deps because pip-audit will hang on my Debian system without it. Any ideas?

Thanks for telling us @seankfh!
Would you mind opening a separate issue for that? The top-level issue here was a crash, not a behavioral consideration around how --no-deps interacts with URL requirements. A separate issue would help us better track and triage the behavior you're seeing, especially since there's been a few releases since we closed this.
(And please include any details about that hang you're seeing!)


Rectangular PSF sizes

PSF size is px by pz.
The motivation is to enable "2D" SPECT simulations where pz=1.
There are some small "breaking" changes here in the plan.

@ZongyuLi-umich please review these changes

@ZongyuLi-umich please review these changes

Looks good to me!


Deployments

BTP and on Premise
which Fiori Tools to use?
@osigge

Isn't your question for On Premise answered with https://1dsag.github.io/UI5-Best-Practice/deployments/?

Hi @gregorwolf ,
nice to see you here.
The ticket here is just a reminder that Oliver would like to add information here.
The text is only from our meeting.


Beginning git video course learned

Hi
This PR represents all the work i did to complete the rw Beginning git video course . It was nice expercience , and i would recommend it to anybody.
But i would also request u to also make a intermediate course that works with xcode development.
Thanks

Hey @satenderDagar—congrats on submitting a PR at the end of the git course. I'm really glad you enjoyed working through the course, and that you learnt some new tips and tricks for using git.
In the next course, we cover usage of some popular GUIs, but it doesn't include Xcode yet. I'm a big fan of understanding how git works through the command line first, and then when you see a GUI you have a really good idea of what's going on beneath the covers. Hopefully you'll be able to apply what you've learnt here, together with the next course, to the Xcode git GUI.
If you weren't already using git for your code, hopefully this has inspired you to do so. I hope that you enjoy the "Mastering Git" video course as well—you'll soon be able to get git to bend to your will :)
You can now wear this #GitWarrior badge with pride—and Tweet your historic victory!

sam


How to set proxy for local testing

The local testing is very helpful. It works fine if I configure the the parameters from remote xsuaa service instance and test outside of corporate network. But if I am working behind a corporate firewall, it always told me "Error retrieving Json Web Keys from Identity Service: Error retrieving token keys: No such host is known ([subdomain].authentication.eu10.hana.ondemand.com)." It is a proxy issue.
Is supported to set the proxy when it is going to retrieve Json Web Keys from cloud service?
Configuration in application.yml
sap:
  security:
    services:
      xsuaa:
        xsappname: bt001e00_purchase-order-xsuaa!t26007
        #uaadomain: host
        uaadomain: authentication.eu10.hana.ondemand.com
        clientid: [client id]
        clientsecret: [client secret]
        url: https://[subdomain].authentication.eu10.hana.ondemand.com

Hi @JerryZhang0929 ,
I can recommend just to look into general Java setup for using proxy servers e.g. https://www.baeldung.com/java-connect-via-proxy-server


Remove unused Preprocess's methods for data saving

🚀 Refactoring
Unless there is any plan to utilise the following lines in the near future, they should be removed from the codebase.
https://github.com/PyTorchLightning/lightning-flash/blob/d0e6ee65419e140ea7894f1c03a5955919d66310/flash/core/data/process.py#L501-L511

@akihironitta Yeah, I think they can probably be removed. @tchaton any idea what these are for?


adding a navbar on the top

Would love to add navbar on the top with home, about , and other details and try on the same green color as a background for it.

please assign me this issue i want to work!!

we already have a navbar : )


Swift 3 support

It would be great if this project were eventually updated to support Swift 3, now that it has been officially announced by Apple.
I have it working with Swift 2.3, but when it comes to 3 there are a lot of source changes that break it.

Yeah, I'll look into it 🤖
I’m Joakim Gyllström and I approve this message
På 24 juni 2016 till 20:15:47, Nino (notifications<EMAIL_ADDRESS>skrev:
It would be great if this project were eventually updated to support Swift 3, now that it has been officially announced by Applehttps://developer.apple.com/swift/blog/#article-36.
I have it working with Swift 2.3, but when it comes to 3 there are a lot of source changes that break it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/mikaoj/BSImagePicker/issues/77, or mute the threadhttps://github.com/notifications/unsubscribe/AD2RjHfuLOSuhMFVHnYqqOpJLZV2rvvzks5qPB7TgaJpZM4I-AEf.

@mikaoj I have a working Swift 3 version in my fork. I can send a pull request but it probably makes more sense if you create swift-3 branch first.

Great, I'll hook you up with a swift 3 branch.
I started converting stuff to swift 3/iOS 10 a couple of weeks ago, but ran into som issues with the collection view layout which I assumed was bugs in iOS 10, so decided to wait a couple of betas before giving it a try again ;)

There you go, swift3 🤓

Now that Xcode 8 has been released, will there be movement on this?

@adhiravishankar sorry this dropped off my radar. I'll see if I still have that swift3.0 port somewhere and send a PR.

Check it with the current Xcode to make sure everything works. Sometimes, I find minor things have changed between even the GM version and the current release.

Converted the the code to Swift 3 today (haven't pushed it yet)...but ran into some issues with the generated obj-c header. But I'm getting there :)

Does the 3_0_0 branch contain a fully working version at this point? I'm asking because I cloned and compiled the example and it runs, but the checkmark image doesn't appear when selecting photos in the simulator (iOS 10, iPhone 7). May be just a bug, not sure.
Thanks.

i have getting many issue in swift 3.

@paradoxally 3_0_0 is not a fully working version, don´t use that branch :)

I got @felipecarreramo's fork working, might be the same for the 3_0_0 branch, but I can't use that due to the missing podspec.
Before you read on; my apologies if this isn't a good idea, I have never wrote Objective-C before. 😓
Anyway, it seems to compile and function for my uses if you replace line 119 of BSImagePicker-Swift.h
- (nonnull instancetype)initWithFetchResults:(NSArray<PHFetchResult<id> *> * _Nonnull)fetchResults;

With the following, which I gathered from the photos changes page, here.
- (nonnull instancetype)initWithFetchResults:(NSArray<PHFetchResult *> * _Nonnull)fetchResults;

With @class PHFetchResult added to the files class defines.

I'd really like to update my project to swift 3, would that be possible to have a swift 3 version ?

I'm having issues with cocoapods not letting me do a pod lib lint. So I can't push a swift3 version to the spec repo.
I have created a swift3 branch which also contains a couple of iOS 10 bugfixes. You could direct your Podfile to use that branch until I've managed to get cocoapods working.
pod 'BSImagePicker', :git => 'https://github.com/mikaoj/BSImagePicker.git', :branch => 'swift3'
https://guides.cocoapods.org/syntax/podfile.html#pod

Pushed 2.5.0 which is in Swift 3

Why is that closed? I testet it on iOS10 iPhone7 and iPad Air2 and it is not working.
It's crashing right when the is trying to come up.

Hello @mikaoj  i am still unable to update pod for swift 3. can you please send me full path for swift 3.0 support
I am using this branch
pod 'BSImagePicker', :git => 'https://github.com/mikaoj/BSImagePicker.git', :branch => '3_0_0'
but facing bellow error while pod install
Unable to find a specification for 'BSImagePicker'.
[!] Unable to load a podspec from BSImagePicker.podspec, skipping:
Invalid podspec file at path /var/folders/1c/466kpt9n72v1smxv8h2lntxc0000gn/T/d20161116-2341-1xmoltx/BSImagePicker.podspec.
Please help me
Thanks a lot

@sanjukhunt Please use the master branch, it is compatible with swift 3. The 3_0_0, as I understood, is an experimental branch.

What @dernise said. The latest version (2.5.1) should be Swift 3 compatible


Script not pulling back any NIST info, and limited VC info

Describe the bug
I recently started using this script, and was really impressed with it. Great work! That being said, I noticed a few issues:

Even with a valid NIST NVD API key, I can never seem to pull back data... always "Not found"
The VulnCheck scoring was originally working for the most part, but I did noticed for certain CVE's the script would error out (ex CVE-2024-28088).
More recently I noticed that for CVE's I had previously been able to query, many of those are returning "Not found in EPSS" error. I thought maybe my VC API key had been disabled or rate limited, but even with a new key I'm still getting inconsistent results.

To Reproduce
Commands used:

python cve_prioritizer.py -v -c CVE-2023-3635
python cve_prioritizer.py -vc -v -c CVE-2024-25723
python cve_prioritizer.py -vc -v -c CVE-2020-7774

Hi @commcer0 sorry to hear that and thanks for raising this issue, I'll try to replicate on my side and update the script if required.
Can you share some additional details if you dont mind?

What Operating System are you using?
What version of CVE Prioritizer are you running?
Are you using VPN?

Thanks in advance

Windows. I just pulled the latest version this week. I was testing it at
work originally so no VPN. The #3 issue only started happening over the
last day or 2 so not sure if they made any changes to their API.
On Fri, Apr 5, 2024, 9:55 AM Mario Rojas @.***> wrote:

Hi @commcer0 https://github.com/commcer0 sorry to hear that and thanks
for raising this issue, I'll try to replicate on my side and update the
script if required.
Can you share some additional details if you dont mind?

What Operating System are you using?
What version of CVE Prioritizer are you running?
Are you using VPN?

Thanks in advance
—
Reply to this email directly, view it on GitHub
https://github.com/TURROKS/CVE_Prioritizer/issues/21#issuecomment-2039868881,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2X5LVUQKWBHGNBTERCSV33Y32UL3AVCNFSM6AAAAABFZFWGIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZZHA3DQOBYGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

I tried running this from my personal machine (also Windows) and got the same results:
Screenshot for #1:

Screenshot for #2:

Screenshot for #3:

Hi @commcer0, thanks for the screenshots; I'm looking into this now and noticed that EPSS could be the source of the problem for the "Not Found in EPSS" error. I'm going to add more descriptive error messages to help with troubleshooting this sort of issue.

I'm also considering returning a default value of zero when EPSS is unavailable, as the rest of the information can still be used to prioritize the CVEs. I would love to hear your thoughts on this.

I just tested and it worked seamlessly. No issues with any of the CVEs I tested. Nice work! And thanks for addressing this.


Add fix for whitespace in media rules

This change aims to fix issue #70 by adjusting the regex to factor in whitespace.
Some additional tests have been added that focus purely on confirming the whitespace handling.

@knupska this is a duplication of https://github.com/postcss/postcss-custom-media/pull/59

Apologies @the-stas, I never saw that due to the poor naming and the lack of an associated issue.
It's been a problem that I've been bitten by several times now, so as long as it finally gets fixed, then I'll be happy.

Hi @knupska
This plugin was moved to the csstools mono repo : https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-media#readme
This PR was a great start but we wanted to handle a few more edge cases.
The fix has been released in v8.0.1
https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-custom-media/CHANGELOG.md#801-june-3-2022


System Stalls After X amount of time

I'm using NOBLE source code to scan for multiple beacons over long time periods. My code is very similar to the "enter-exit.js" example. Though, I continue printing out to console all iBeacons that I see regardless if I have seen them before or not.
At first, the source code shows to work correctly in that I am able to see correct data. After some given time (anywhere from 20min~3hours), the code stalls out for some reason and we stop seeing any inputs.
No errors are thrown. The system just stalls. After many hours of trying to find out the issue, I am still at a loss.
What can be done to fix this situation?

you'd need to mention your OS and your bluez version too.

Oh very sorry.
I'm running on a Raspberry Pi Model B+. Wheezy 8.0. Bluez version: 5.23-2+b1
I'm not sure what to trace or even where to look. My only solution so far is a reset every so often
setInterval(function resetSystem() {
//debugger;
noble.stopScanning();
console.log('SYSTEM RESET BEGIN');
noble.startScanning([], true);
console.log('SYSTEM BACK UP');
}, resetSystemInterval);```

@mahdiinaya please provide an HCI dump capture (via Github Gist, or pastebin).
sudo hcidump -t -x

@jrobeson
Here is a small snippet of the strace while everything is working fine:
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
write(12, "IBEACON FOUND:Tue Jan 26 2016 21"..., 97) = 97
clock_gettime(CLOCK_MONOTONIC, {3576, 803711774}) = 0
clock_gettime(CLOCK_MONOTONIC, {3576, 804313767}) = 0
epoll_wait(5, {{EPOLLIN, {u32=11, u64=11}}}, 1024, 0) = 1
clock_gettime(CLOCK_MONOTONIC, {3576, 805585752}) = 0
read(11, "\4>#\2\1\0\1\346\370\336\254pE\27\2\1\6\23\377L\0\f\16\0\233\257[\234\312\313\370\34"...,
1024) = 38
clock_gettime(CLOCK_MONOTONIC, {3576, 812316671}) = 0
clock_gettime(CLOCK_MONOTONIC, {3576, 812851665}) = 0
epoll_wait(5, {{EPOLLIN, {u32=11, u64=11}}}, 1024, 488) = 1
clock_gettime(CLOCK_MONOTONIC, {3576, 814088650}) = 0
read(11, "\4>\f\2\1\4\1\346\370\336\254pE\0\266", 1024) = 15
clock_gettime(CLOCK_MONOTONIC, {3576, 829616465}) = 0
clock_gettime(CLOCK_MONOTONIC, {3576, 830696452}) = 0
epoll_wait(5, {{EPOLLIN, {u32=11, u64=11}}}, 1024, 470) = 1
clock_gettime(CLOCK_MONOTONIC, {3576, 832128435}) = 0
read(11<EMAIL_ADDRESS>1024) = 45
Here it is when it stops working:
ioctl(11, 0x800448d3, 0xbeb56fbc)       = 0
clock_gettime(CLOCK_MONOTONIC, {5800, 79300606}) = 0
clock_gettime(CLOCK_MONOTONIC, {5800, 80306595}) = 0
epoll_wait(5, {}, 1024, 1001)           = 0
clock_gettime(CLOCK_MONOTONIC, {5801, 83551711}) = 0
clock_gettime(CLOCK_MONOTONIC, {5801, 84073706}) = 0
clock_gettime(CLOCK_MONOTONIC, {5801, 84721699}) = 0
ioctl(11, 0x800448d3, 0xbeb56fbc)       = 0
clock_gettime(CLOCK_MONOTONIC, {5801, 86729677}) = 0
clock_gettime(CLOCK_MONOTONIC, {5801, 87474669}) = 0
epoll_wait(5, {}, 1024, 1001)           = 0

@sandeepmistry below is the hcidump. Please note that while it was working, everything shows to be working fine. The bluetooth dongle seems to pull in data nicely. The time is now 2016-02-08 18:30:00, the last input to the bluetooth dongle was as shown : 2016-02-08 12:59:55 The bluetooth dongle just stops receiving data. It is as if it goes to sleep.
2016-02-08 12:59:55.180591 > HCI Event: LE Meta Event (0x3e) plen 37
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr CB:D4:67:31:25:91 (Random)
Complete local name: 'estimote'
Unknown type 0x16 with 13 bytes data
RSSI: -91
2016-02-08 12:59:55.234600 > HCI Event: LE Meta Event (0x3e) plen 42
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr C9:1A:8B:A0:CB:CA (Random)
Flags: 0x06
Unknown type 0xff with 25 bytes data
RSSI: -65
2016-02-08 12:59:55.237614 > HCI Event: LE Meta Event (0x3e) plen 37
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr C9:1A:8B:A0:CB:CA (Random)
Complete local name: 'estimote'
Unknown type 0x16 with 13 bytes data
RSSI: -59
2016-02-08 12:59:55.240598 > HCI Event: LE Meta Event (0x3e) plen 42
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr F6:73:FC:C6:79:66 (Random)
Flags: 0x06
Unknown type 0xff with 25 bytes data
RSSI: -78
2016-02-08 12:59:55.243611 > HCI Event: LE Meta Event (0x3e) plen 37
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr F6:73:FC:C6:79:66 (Random)
Complete local name: 'estimote'
Unknown type 0x16 with 13 bytes data
RSSI: -78

@mahdiinaya do you have a HCI dump from start to end instead of just a snippet?
I don't see anything in this snippet to indicate a stop scanning command was sent, so it could very well be a firmware issue with the adapter it self. When did you start scanning, when do things stop working, are the results consistent?

Closing due to lack of activity, please re-open with requested info if you are still interested.


Bump Kubernetes Version and Default Enable Teleport

Towards https://github.com/giantswarm/roadmap/issues/2733
What this PR does / why we need it

Bump Kubernetes Version v1.24.16 with Teleport binary baked in.
Enable teleport by default.

Checklist

[ ] Update changelog in CHANGELOG.md.

Trigger e2e tests

/run cluster-test-suites

/run cluster-test-suites

/run cluster-test-suites


✨ Keycloak

#305
(Re)introducing keycloak as an ID provider managed by EIMIS
This time it uses a customize keycloak image : eimis-ans/eimis-keycloak
A realm is configured to with smtp settings and e-mail OTP as 2FA
Tested on lagraulet environnement.

[ ] don't forget to modify SMTP_NOTIFY_FROM  -> SMTP_DISPLAY_NAME, SMTP_FROM before merging

#319 to track to next move about keycloak


Update maccatalyst 13.0 target minimum to 13.1

Clang enforces a minimum 13.1 deployment target. Update the current 13.0
minimum to 13.1 to reflect this.

See the corresponding swift changes in https://github.com/apple/swift/pull/39781


wrong tag - RELATED FORMULA [ChEBI]

The last obo release (2016-11-01) contains several entries with two tags RELATED FORMULA, of which one contains a mass instead of a formula. Please find an example below and the list of ids attached.
Example:
[Term]
id: CHEBI:4882
name: ethchlorvynol
alt_id: CHEBI:119469
[...]
synonym: "C7H9ClO" RELATED FORMULA [KEGG COMPOUND]
synonym: "144.59900" RELATED FORMULA [ChEBI]
[...]
All Ids:
chebi20161101_formula_issue.txt

Thanks for reporting this, we have fixed this issue and the next release on 1st December should not have such cases. Please let us know if this or any other issue is found. Best Regards, Adriano.


Builtin variable comm's is ambiguous

What reproduces the bug?
comm is the thread name instead of the process name.
From src/ast/irbuilderbpf.cpp:947, we can find that bpftrace will issue bpf_get_current_comm when getting comm.
void IRBuilderBPF::CreateGetCurrentComm(...)
{
  ...
  // long bpf_get_current_comm(char *buf, int size_of_buf)
  // Return: 0 on success or negative error
  FunctionType *getcomm_func_type = FunctionType::get(
      getInt64Ty(), { buf->getType(), getInt64Ty() }, false);
  CallInst *call = CreateHelperCall(libbpf::BPF_FUNC_get_current_comm,
                                    getcomm_func_type,
                                    { buf, getInt64(size) },
                                    "get_comm",
                                    &loc);
  CreateHelperErrorCond(ctx, call, libbpf::BPF_FUNC_get_current_comm, loc);
}

Step into bpf_get_current_comm's impl(https://elixir.bootlin.com/linux/latest/source/kernel/bpf/helpers.c#L252), we can find that it's done by returning current's struct stask's comm field, which means thread name.
[BPF_CALL_2](https://elixir.bootlin.com/linux/latest/C/ident/BPF_CALL_2)([bpf_get_current_comm](https://elixir.bootlin.com/linux/latest/C/ident/bpf_get_current_comm), char *, buf, [u32](https://elixir.bootlin.com/linux/latest/C/ident/u32), size)
{
	struct [task_struct](https://elixir.bootlin.com/linux/latest/C/ident/task_struct) *[task](https://elixir.bootlin.com/linux/latest/C/ident/task) = [current](https://elixir.bootlin.com/linux/latest/C/ident/current);

	if ([unlikely](https://elixir.bootlin.com/linux/latest/C/ident/unlikely)(![task](https://elixir.bootlin.com/linux/latest/C/ident/task)))
		goto err_clear;

	/* Verifier guarantees that size > 0 */
	[strscpy](https://elixir.bootlin.com/linux/latest/C/ident/strscpy)(buf, [task](https://elixir.bootlin.com/linux/latest/C/ident/task)->[comm](https://elixir.bootlin.com/linux/latest/C/ident/comm), size);
	return 0;
err_clear:
	[memset](https://elixir.bootlin.com/linux/latest/C/ident/memset)(buf, 0, size);
	return -[EINVAL](https://elixir.bootlin.com/linux/latest/C/ident/EINVAL);
}

It's different from bpftrace's user guidance.

bpftrace --info

Guys, is there a convient way to get a correct process name?

Do you have an example when the thread (task) name is different from the process name?

Do you have an example when the thread (task) name is different from the process name?

Sure, here is a clang demo to change a thread's name.
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

void *thread_function(void *arg)
{
    while (1) {
        sleep(1);
    }
}

int main(void)
{
    int i;
    pthread_t threads[5];

    for (i = 0; i < 5; i++) {
        pthread_create(&threads[i], NULL, thread_function, NULL);
    }

    for (i = 0; i < 5; i++) {
        char name[16];
        sprintf(name, "new-name-%d", i);
        pthread_setname_np(threads[i], name);
    }

    for (i = 0; i < 5; i++) {
        pthread_join(threads[i], NULL);
    }

    return 0;
}

When compiled this program and run as a.out, I got the following 6 threads:

By checking their's comm we can easily draw a conclusion that: A Process's Name Can Be Different from It's Threads.

You can get the process and thread ids using pid and tid and then lookup the information in /proc/<pid>/task/<tid>/ (e.g. using the system call if you want to do that from a bpftrace script).

You can get the process and thread ids using pid and tid and then lookup the information in /proc/<pid>/task/<tid>/ (e.g. using the system call if you want to do that from a bpftrace script).

Thank you for your information on /proc/<pid>/task<tid> , I got new knowledge : )
But getting process' name by system call has serval drawbacks, which makes such method hard to put into practical.

Can't use system's output as map's key because of its async attribute;
Eventhough system is synchronous and there's a way to leverage it's output, it's too slow for micro-architectural analysis;

Here's a demo revealing it's performance:
// execute the shell cmd "cat /proc/1/cmdline" and print the duration

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main()
{
    struct timespec start, end;
    clock_gettime(CLOCK_MONOTONIC_RAW, &start);
    system("cat /proc/1/cmdline");
    clock_gettime(CLOCK_MONOTONIC_RAW, &end);
    printf("duration = %lu nanoseconds\n", (end.tv_sec - start.tv_sec) *<PHONE_NUMBER> + (end.tv_nsec - start.tv_nsec));
    return 0;
}

The result demostrate that forking a new thread and executing a simple cat cmd can take 1ms. It's too long.
mkl@DESKTOP-HHR9IJG:~/workspace/cppdemo$ gcc stat_proc.c ; ./a.out
/initduration = 1091800 nanoseconds
mkl@DESKTOP-HHR9IJG:~/workspace/cppdemo$ gcc stat_proc.c ; ./a.out
/initduration = 1032400 nanoseconds

You can get the process and thread ids using pid and tid and then lookup the information in /proc/<pid>/task/<tid>/ (e.g. using the system call if you want to do that from a bpftrace script).

If BTF is enabled, a good practice (as far as my knowledge) to get process name in bpftrace is curtask->group_leader->comm.
But it's impossible for those don't have BTF     :- (

Well, then it should be possible to do:
#include <linux/sched.h>
...
((struct task_struct *)curtask)->group_leader->comm
...

It looks like what you need is achievable with the current bpftrace so can we close this?

It looks like what you need is achievable with the current bpftrace so can we close this?

Sure. Thanks for your quick response and help!

Should we improve documentation on this?


Cucumber Messages protocol

Revealed from https://github.com/cucumber-rs/gherkin/discussions/28#discussion-3257377

Cucumber Messages is a message protocol for representing results and other information from Cucumber - Replaces json and junit formatters.
Stability/Performance:

With Cucumber Messages, several messages containing smaller pieces of information are emitted continuously to a stream,
avoiding high memory consumption and enabling real-time processing of results.

Additional functionality (motivation):

The protocol aims to decouple various components of the Cucumber platform so that:

Each component only needs to know about a subset of messages

Gherkin is decoupled from the Cucumber execution component

This is part of a strategy to support other formats such as Markdown and Excel

@ilslv what do you think about this? We have the similar thing in our implementation, but hand-baked. Should we support it as a bare-bone of our implementation, or rather have just yet another Writer for it?

@tyranron from what I can tell, we can easily support this with another Writer implementation, as we generate a lot more events, than just Test(Case/Step)(Started/Finished). Those additional events allow us to skip some parsing stuff, like we don't have to count finished Scenarios for particular Feature to be sure, that it's finished. We can just wait for the event::Feature::Finished.
But I would hold on implementing this feature for couple of reasons:

Despite protocol being 3 years old, I don't see tools adopting it. The only example I could find is official https://reports.cucumber.io
cucumber releases are quite hard to follow, so we will spent too much time supporting existing implementation

My proposal is to wait until more tools will support it or until users of this library will actually ask for it.

@ilslv

My proposal is to wait until more tools will support it or until users of this library will actually ask for it.

Or there will be a demand from library users for it.


question: URB_CONTROL out without setup data

Hello,
I want to use this control message which I see in wireshark log
223	0.724765	host	1.3.0	USB	28	URB_CONTROL out
...
URB Function: URB_FUNCTION_SELECT_CONFIGURATION (0x0000)
URB transfer type: URB_CONTROL (0x02)
Packet Data Length: 0
Control transfer stage: Data (1)

0000   1c 00 60 74 7d 4a 07 ba ff ff 00 00 00 00 00 00
0010   00 01 00 03 00 00 02 00 00 00 00 01

If I understand it correctly it is similar like message from dev.ctrl_transfer() but without any Setup data.
Is it possible with pyusb?

You can, but first you would need to decode these bytes into the fields of a setup packet:
https://github.com/pyusb/pyusb/blob/c8d48cdb9165d60e8b11b7d89b6ed80b4c56ee98/usb/core.py#L1031-L1032
The software you're using to view these captures should be able to do that for you.
You may also want to take a look at the relevant parts of the USB specification (for example, section 9.3 of the USB 3.2 spec).

All that aside, this transfer appears to set the active configuration.  If that's really the case, you should instead use Device.set_configuration:

You should always use this function rather than formulating your own SET_CONFIGURATION control request. This is because the underlying operating system needs to know when such changes happen.
—libusb_set_configuration()

thank you for clarification


This documentation doesn't explain anything

My business is moving to MMD and having read this page I still have no idea what that means, what is MMD? How is different from a desktop, this page doesn't clarify or elucidate on that, it's just says business-speak gibberish

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

ID: 68e02661-89f9-a356-3e08-deb7314e3f2b
Version Independent ID: 6e845983-9524-fac0-c299-7ff37ecf7888
Content: Is Microsoft Managed Desktop right for you
Content Source: microsoft-365/managed-desktop/intro/index.md
Service: m365-md
GitHub Login: @TrudyHa

Totally agree. It just needs to explain what exactly it is, then what you get and what the benefit is compared with other solutions and finally the price. Maybe throw in a few screenshots/photos too.
Then a further page could go into the technicalities such as what happens if there is a software problem that needs resolving.
None of the pages concisely tell you what exactly it is.

@TrudyHa - We would like to follow up on this. Do you have any updates? Thanks.

@TrudyHa - Do you have any updates on the progress of this?

@TrudyHa - We would like to follow up on this. Do you have any updates? Thanks.

@TrudyHa - just checking in, can you address this question? Thanks!

@TrudyHa - We would like to follow up on this. Any updates on this? Thanks.

@officedocsbot assign @mypil

Sorry for the late reply. I'm working with the Engineering team on updates to this topic. I'll publish updates when we have changes approved by all approriate stakeholders.


[stable/cluster-autoscaler] lease RBAC settings missing

Describe the bug
RBAC settings to manipulate the leader lease are missing
Version of Helm and Kubernetes:
Helm: 3.03
K8s: 1.17.1
Which chart:
stable/cluster-autoscaler
What happened:
I0203 17:12:27.280579       1 leaderelection.go:242] attempting to acquire leader lease  kube-system/cluster-autoscaler...
E0203 17:12:27.282181       1 leaderelection.go:331] error retrieving resource lock kube-system/cluster-autoscaler: leases.coordination.k8s.io "cluster-autoscaler" is forbidden: User "system:serviceaccount:kube-system:release-brightbox-cluster-autoscaler" cannot get resource "leases" in API group "coordination.k8s.io" in the namespace "kube-system"

Anything else we need to know:
AWS example yaml at https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml
has
  - apiGroups: ["coordination.k8s.io"]
    resources: ["leases"]
    verbs: ["create"]
  - apiGroups: ["coordination.k8s.io"]
    resourceNames: ["cluster-autoscaler"]
    resources: ["leases"]
    verbs: ["get", "update"]

in the ClusterRole rules list

Having the same issue. A simple PR adding these to the chart could work?


速度和sglang相比哪个快？

Just for the speed of inference, I guess sglang will be better, since it direct adopt RadixAttention and the same thing still in our roadmap.
Our project is more focus on deploying models in production level, since we introduced the scale, serverless and model deployment template .etc and other ops things to help people maintain the inferences easier.


Avoid the prediction of pose when person not in frame.

Plugin Version or Commit ID
v0.10.1
Unity Version
2020.3.29f
Your Host OS
Windows 10
Target Platform
Windows Standalone
Description
The holistic part on Mediapipe works well. But, when I am sitting on a chair, it predicts the rest of my pose even if my legs are not in frame. Is there any any way to avoid it? Is there a confidence score parameter I can manipulate? If yes, where can I find the confidence score?
Code to Reproduce the issue
No response
Additional Context
No response

Please ask this kind of question to the MediaPipe official team.

Is there any any way to avoid it?

It depends on what you want to avoid.

If you want MediaPipe to stop calculating whole landmarks, you may want to change confidence parameters (cf. https://google.github.io/mediapipe/solutions/pose.html#min_tracking_confidence).
If you want MediaPipe to calculate just only upper pose landmarks, it may be impossible (I don't know).
If you want to filter non-visible landmarks, see the presence or visibility(cf. https://github.com/google/mediapipe/blob/1b5da09a9243b603023ce298c441e12b565211f3/mediapipe/framework/formats/landmark.proto#L61-L62)


Add cartesian distance fn to Vec2

This will be regularly needed, no reason not to hang it off of the type.

Moved to https://github.com/linebender/kurbo/issues/24