[bug] SBOM generation with sbom:cyclonedx using "--requires" argument produces broken sbom

I am trying to generate SBOM for conan packages that are used in a project using the sbom:cyclonedx conan extension as specified in the docs.
In my case it is necessary to use the "--requires" option to provide a reference to the recipe for which I want to create SBOM. When doing so the generated SBOM looks broken where an unknown component is introduced in the SBOM output.
If the SBOM is generated by passing a path to the conan recipe of the project then the SBOM looks fine.
The same can be seen in the output provided in the README file for the extension.
The problem seems to be that the extension tries to set the component in metadata using the dependency graph root, which in case when "--requires" is used is always "cli" (I don't know what exactly that means). Since "cli" is not valid reference or package I always get UNKNOWN component in the produced SBOM.

Thanks for reporting this @markvmk
Maybe @hedtke who contributed this extension can provide more feedback about this. It seems you are right, and the code should differentiate both cases, when using a conanfile as a root, and when using directly --requires without such a root, but I'll wait for @hedtke feedback first. Thanks!

Hi. Yes, this was done more or less on purpose. When called only with the requires argument there still was a name required for the root node. At least with the dependencytrack version I used back then, omitting one common parent node was not an option.
Within the graph, this UNKNOWN node has the required packages as children and thus the SBOM can be generated.
I am not sure how to fix that. We could try to branch on this case, and omit this when no file is used. We would need to check with multiple SBOM clients whether they accept that.

I think, at the moment, I treat both cases in the same way, thus one time using the virtual conanfile as root which generates an entity called UNKNOWN in the SBOM (the root). I was not aware that this creates problems

I think we need to understand better.
The SBOM is identical in both cases for dependencies, just the root is different.
In one case with --requires the SBOM is:
"metadata": {
    "component": {
      "author": "Conan",
      "bom-ref": "BomRef.23799299611816604.711995208657742",
      "name": "UNKNOWN.1847826091984",
      "type": "library"
    },
    "timestamp": "2024-07-03T12:17:39.433832+00:00",
    "tools": [
      {

In the other case with <path> it is:
"metadata": {
    "component": {
      "author": "<Put your name here> <And your email here>",
      "bom-ref"<EMAIL_ADDRESS>      "description": "<Description of mypkg package here>",
      "licenses": [
        {
          "license": {
            "name": "<Put the package license here>"
          }
        }
      ],
      "name": "mypkg",
      "purl"<EMAIL_ADDRESS>      "type": "library",
      "version": "0.1"
    },

Note in the second case the "bom-ref"<EMAIL_ADDRESS>is not really an uploade package or anything like that. It is just a local name that might not exist anywhere else. So in this regard it is not much different than the first place. For example if instead of using a conanfile.py with a name we use a conanfile.txt that won't define a name, we will get back:
"metadata": {
    "component": {
      "author": "Conan",
      "bom-ref": "BomRef.42409095884590187.8917758652747707",
      "name": "UNKNOWN.2876611447008",
      "type": "library"
    },

Maybe it should be possible to just completely drop the "root" node?

In my case, when I use --requires, the package given as requires is listed in the components array of the generated SBOM. In this case the component in the metadata is populated with that UNKNOWN component.
When I use a path to the recipe, the package that is described in the recipe is not listed in the components array, but instead it is set as component in the metadata section of the SBOM.
Ideally, in both cases the produced output would be the same (I don't know if that is possible at the moment).
Maybe removing the root node (cli) in case of --requires so that the next node becomes root would solve the issue but I don't think that would work in case of multiple --requires.
Another problem that I see also at the moment is that if you generate the SBOM for the same package with --requires 2 times one after another you get different name of the metadata component. In the past as it seems the name used to be always only "UNKNOWN" but now it has random ID added in the name.
Additionally, if you generate SBOM for many packages and then try to merge these using a SBOM merge tool (e.g. cyclonedx-cli), then a lot of UNKNOWN components are inserted into the final merged SBOM, so in my opinion the UNKNOWN component should never exist in the output.

When I use a path to the recipe, the package that is described in the recipe is not listed in the components array, but instead it is set as component in the metadata section of the SBOM.

No, I am afraid there is some misunderstanding here. When given a <path> that is not a package at all. That is just a consumer recipe, that is not even in the cache, not uploaded to anywhere. It cannot be a component because it is not a Conan package, it might not have artifacts built at all. Exactly the same as if it is using a conanfile.txt without name and version. The fact that a local conanfile.py can have a name and version and list it in the SBOM, doesn't make it a component.
If you want to list that as a component you need to first conan create <path> to make it a package, then do a conan sbom:cyclonedc --requires=<ref> to make it a component of the SBOM.

Maybe I was not very specific above, but probably there is misunderstanding too.
I will take the elfutils project as example. The first option is to use --requires so I generate the SBOM as following:
conan sbom:cyclonedx --format 1.4_json --requires elfutils/0.190
The second option is to use path to the recipe. I have local checkout of the conan-center-index and assuming that the terminal is navigated into the recipe dir for elfutils (conan-center-index/recipes/elfutils/all) I try to generate the SBOM as following:
conan sbom:cyclonedx --format 1.4_json --version 0.190 .
In the first variant the component that is included in metadata is UNKNOWN, and that is the one that creates problem when merging multiple SBOMs because it ends up in the components list in the merged SBOM. elfutils in this case is added in the components list of the SBOM.
In the second variant I think the SBOM looks fine. The component in metadata is elfutils, and the components list does not contain elfutils in this case.
I think (I might be wrong) that it would be also fine if in case of --requires the component in metadata remains empty because if I understand the CycloneDX SBOM spec correctly the metadata and/or component in metadata section are optional.

In the second variant I think the SBOM looks fine. The component in metadata is elfutils, and the components list does not contain elfutils in this case.

No, this is not really correct. In the second case, elfutils is not a package. It might not even exist as a package and it will be missing detailed information as the recipe-revision, the package-id or the package-revision. It might look-like a package, but it is not. You might be even be able to remove the name and version from the conanfile and still get its dependencies, as elfutils is nothing but a local name, not a real existing component/package name.
There are 2 different dependency graphs here. In the first case with --requires, elfutils is actually a dependency, there is a package with that name and version that is a dependency. In the second case with <path>, elfutils package doesn't exist.
My suggestion above to @hedtke was actually to remove the "root" component inside metadata, leaving the components to represent the dependencies, the actual packages that makes sense for an SBOM to represent. I admit that I don't have enough knowledge about SBOMs in this regard.

Maybe we can summon @jkowalleck, and ask for clarification about this item:

How to represent in SBOM a "pure consumer" conanfile.txt, conanfile.py or the virtual in-memory root node that is created when  a --requires=pkg/version is defined?
In all cases, the role is identical to a requirements.txt in python, that is used to install dependencies. It is a consumer, but not really a package or a component.
Should it be represented in the first place in the SBOM?

Many thanks!

re: https://github.com/conan-io/conan-extensions/issues/138#issuecomment-2206646166
I've seen your ping.
Need to wrap my head around this, and this might take a while.
I would encourage you to join the CycloneDX slack workspace (invite)
and ask your questions in there,
in hope that somebody done it already and can tell how they solved it.
Or osk via one of the other comm methods.


Support for ndx-events.Events and pynwb.behavior.BehavioralEpochs

See https://neurosift.app/?p=/nwb&url=https://api.dandiarchive.org/api/assets/7d1990d7-a714-406e-9cb2-1b8f4015869e/download/&dandisetId=000971&dandisetVersion=draft
for events
and https://neurosift.app/?p=/nwb&url=https://api.dandiarchive.org/api/assets/7d1990d7-a714-406e-9cb2-1b8f4015869e/download/&dandisetId=000971&dandisetVersion=draft
for BehavioralEpochs

Has there been any progress on this? Are there any blockers I can help with?
Also a note: ndx_events.Events is specifically from version 0.2.0

Hi @pauladkisson I've been working on some other things so probably won't get to this for a little while. Do you know typescript/react? I can point you to the relevant code if you want to take a look.

Do you know typescript/react? I can point you to the relevant code if you want to take a look.

Unfortunately I do not.
But thank you for the update.

Could you describe what the views should look like?
For processing/behavior/behavioral_epochs/reward_port_intervals
We have the IntervalSeries view:
https://neurosift.app/?p=/nwb&url=https://api.dandiarchive.org/api/assets/7d1990d7-a714-406e-9cb2-1b8f4015869e/download/&dandisetId=000971&dandisetVersion=draft&tab=neurodata-item:/processing/behavior/behavioral_epochs/reward_port_intervals|IntervalSeries

I would suggest an analog to matplotlib.pyplot.eventplot for the events and filled region for the IntervalSeries.
For example, see my example notebook

Bumping this bc my current conversion also needs ndx-events.Events visualization: https://neurosift.app/?p=/nwb&url=https://api.dandiarchive.org/api/assets/7f969b84-db9b-48ab-8935-b1ca21f5b607/download/&dandisetId=001259&dandisetVersion=draft

@pauladkisson I think that Dandiset is embargoed. Would you be able to give me access?

Yes, you are right it is embargoed.  You should have access now.

@pauladkisson I have added a simple view plugin for the ndx-events/Events type.
https://neurosift.app/?p=/nwb&url=https://api.dandiarchive.org/api/assets/7f969b84-db9b-48ab-8935-b1ca21f5b607/download/&dandisetId=001259&dandisetVersion=draft&tab=neurodata-items:neurodata-item:/processing/behavior/targetOUT|Events@neurodata-item:/processing/behavior/toneIN|Events@neurodata-item:/processing/behavior/toneOUT|Events@neurodata-item:/processing/behavior/valve|Events
Let me know what the next iteration should be.

Events look good to me!

Not strictly related to this issue, but what is going on with the encoder time series plot: https://neurosift.app/?p=/nwb&url=https://api.dandiarchive.org/api/assets/7f969b84-db9b-48ab-8935-b1ca21f5b607/download/&dandisetId=001259&dandisetVersion=draft&tab=neurodata-items:neurodata-item:/processing/behavior/targetOUT|Events@neurodata-item:/processing/behavior/toneIN|Events@neurodata-item:/processing/behavior/toneOUT|Events@neurodata-item:/processing/behavior/valve|Events
I'm not seeing any time series...

I think it's probably due to some NaN's that NS is choking on. Perhaps open a separate issue for that?

See new issue here: #219

So ndx-events.Events works now, but pynwb.behavior.BehavioralEpochs is still broken.  Would you like me to close this issue and open up a new one just for pynwb.behavior.BehavioralEpochs?

So ndx-events.Events works now, but pynwb.behavior.BehavioralEpochs is still broken. Would you like me to close this issue and open up a new one just for pynwb.behavior.BehavioralEpochs?

That would be helpful thanks.

See new issue: #220


wip: Release rp235x-hal v0.3.0

Still need to add #PR and @user-name to CHANGELOG.md
I've verified that cargo run-arm --release --bin blinky and cargo run-riscv --release --bin blinky work.

@9names, @thejpster is there an automated way to generate the commit subject, PR number and user name?

Not that I'm aware of.
I've always written out the change myself, since not everyone clearly specifies the change in the PR name, and if they do they do not do so consistently.
And sometimes you want to write more about a change than most folks do in PR names or commit messages

GitHub can make these kinds of change logs. Someone could make a draft release and then copy the contents.

Interesting.
Well, considering that winksaville can't create a release here, I went and did it. Here's what it spat out
## What's Changed
* Run picotool step in github action by @jannic in https://github.com/rp-rs/rp-hal/pull/857
* spi: remove undesired parameter to `set_format` by @jannic in https://github.com/rp-rs/rp-hal/pull/860
* Fix warning with rust 1.82.0 by @jannic in https://github.com/rp-rs/rp-hal/pull/863
* Update critical-section dependency to version 1.2.0 by @jannic in https://github.com/rp-rs/rp-hal/pull/862
* Fix or surpress several warnings on rust beta by @jannic in https://github.com/rp-rs/rp-hal/pull/865
* Add debug derive for the GPIO structures by @robamu in https://github.com/rp-rs/rp-hal/pull/861
* implement Debug support for the GPIO structures (RP235x) by @jannic in https://github.com/rp-rs/rp-hal/pull/866
* feat: add support for PIO `in_count` by @allexoll in https://github.com/rp-rs/rp-hal/pull/868
* feat: Make it easier to specify target architecture by @winksaville in https://github.com/rp-rs/rp-hal/pull/869

## New Contributors
* @robamu made their first contribution in https://github.com/rp-rs/rp-hal/pull/861
* @allexoll made their first contribution in https://github.com/rp-rs/rp-hal/pull/868
* @winksaville made their first contribution in https://github.com/rp-rs/rp-hal/pull/869

**Full Changelog**: https://github.com/rp-rs/rp-hal/compare/rp235x-hal-0.2.0...rp235x-hal-0.3.0


Update README  list of Ruby and Rails versions

Update the README to list Ruby version 2.4.1 and Rails version 4.2.9

I got this.


chore: Make Extensions nullable

Currently extensions in GraphQLRequest are just HashMap of String, Value, so for the sample query:
{
   "query": "{ foo }",
   "extensions": null
}

deserialization will fail because of the null value
to avoid that, I added the Extensions struct which handles deserialization properly with minimal change.

@sunli829 simple change.. can I get a quick review

thanks 🙂


KAFKA-15623: Remove junit 4 from  stream module

remove all junit 4 dependency from stream module
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@chia7712, Thanks for your conversations, PTAL


Update to Pluto 0.19.10 & HTTP 1.0

It looks like all tests get stuck on the same place...

Issue was https://github.com/JuliaWeb/HTTP.jl/issues/921 , I disabled GitHubActionsLogger for now as workaround

Tests are passing but I would still like to do a manual test before releasing

Thanks Paul!!


Can't kill or yank when directory for buffer's file does not exist

If you create a file in a directory that does not exist, i.e. by typing C-x C-f some-nonexistent-directory/a-nonexistent-filename.txt, then kill (C-w) and yank (C-y) no longer work, giving the error (this one is for yanking):
Debugger entered--Lisp error: (file-error "Setting current directory" "no such file or directory" "/Users/raxod502/Desktop/Programming/Projects/microsoft/air/gdsfg/fgsd/")
  call-process("/usr/local/bin/zsh" nil t nil "-c" "pbpaste")
  apply(call-process "/usr/local/bin/zsh" nil t nil ("-c" "pbpaste"))
  process-file("/usr/local/bin/zsh" nil t nil "-c" "pbpaste")
  shell-command-to-string("pbpaste")
  (let ((copied-text (shell-command-to-string "pbpaste"))) (if (string= copied-text last-paste-to-osx) nil copied-text))
  copy-from-osx()
  current-kill(0)
  yank(nil)
  call-interactively(yank nil nil)
  command-execute(yank)

This is because killing and yanking call an external function to interface with the system clipboard, which fails when the current working directory is invalid.

No longer relevant due to 9783b545d1e054b012517131fea59175a5c9737a.


custom redstone color doesnt work

What is the output link of /viaversion dump?
https://dump.viaversion.com/975716a1a8fe0ec07be2c9ead237d1402863ca559cbd7e14d7800456056d5f70
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
waterfall version 212,spigot 1.8.9
How does this error happen? login? Using an item?

custom redstone color (rgb values set) doesnt work, it is just random
Is there an error in the console? Use pastebin.com. Is there a kick message?
no

Could you try with latest build?
https://ci.viaversion.com/job/ViaVersion/
If it still doesn't work, could you provide another screenshot & we'll reopen


chore(e2e): fix configuration to reflect changes from #1701

Description
fixed e2e test configuration that was broken after renaming plugin directory in #1701
Which issue(s) does this PR fix

Fixes #?

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/lgtm
/approve


Computing Jacobians of vector field

Having defined a vector field $f_{\theta}(t, y)$ as in class Func(eqx.Module) in neural_ode, I want to compute the jacobian $\frac{\partial f_{\theta}(t,y)}{\partial y}$ at different inputs $y$. Using jacfwd, I am able to compute $\frac{\partial f_{\theta}(t,y)}{\partial y}$ at one $y$, but not over multiple inputs.
For example, if  $f_{\theta}(t, y)$ takes in $y$ as an argument with size $(2,)$, I want to compute the jacobians of 200 $y$'s which is given as $y.size = (200,2)$. Hence, the size of the jacobian I want is $(200,2,2)$.
Should I go through a procedure similar to exact_logp_wrapper and train in class CNF in CNF?

You should be able to do this via vmap. jax.vmap(jax.jacfwd(fn))(x) will compute a batch of Jacobians.

Thanks! How do yo extend to more dimensions? For example, if $y.shape = (32,200,2)$, then the size of jacobian should be $(32,200,2,2)$. I tried playing with in_axes, out_axes on vmap, but it doesn't seem to work.

jax.vmap(jax.vmap(jax.jacfwd(fn)))(x)?

Got it, thanks!


Kevin/responsive

Made projects#index more responsive using bootstrap grid columns instead of % of width.

Seems like there could be a couple things to fix here, like adding some padding to the text to the left and making the "Add New Project" font bigger to fill the box. Also, I personally liked it better when "Add New Project" had its own row.
Another small thing, it seems like the navbar has color code #fffafa, so it is slightly red. Is this intentional?

Padding now added. Other stylistic choices were discussed offline.


Monorepo: Package dependencies

Description
Within the packages defined in packit.yaml add depends keyword to define a direct dependency between projects, e.g.:
packages:
  A:
    depends:
      - B
      - name: C
        rebuild: true
  B: ...
  C: ...

Some useful information that can be defined:

rebuild: whether to trigger rebuild jobs: e.g. if true, rebuild A if C build is triggered
sync_version: whether to synchronize the version (maybe also release?) with the dependents. Implies rebuild=true

Use git tag version if possible to get equivalent versions
If git tag version is not possible require one package to be defined as main package
If a main package is defined (e.g. a meta package), use that as the as the source for version information to propagate downwards (to dependents).  Maybe this could be defined in reverse with something like sync_version_to?

External configuration

Link copr External Repositories to the depends items

Job logic

copr_build: trigger a build on each dependent package after the build finishes

If possible have a pipeline view of these jobs
Make sure at least one build exists on copr for all dependencies and targets
If rebuild=true trigger dependent builds (assuming the spec or other files of a dependent is changed)
If trigger=release and sync_version=true trigger rebuild on all
A possible flag to disable this logic: propagate=false (e.g. should be enabled on main commits, but maybe not on PRs)

tests: Equivalent with copr_build, but maybe wait for all copr builds to finish successfully. Use the relevant repositories to pull all equivalent dependencies
propose_downstream:

If sync_version=true: trigger

koji_build:

If can make koji build depend on another, submit dependent jobs, otherwise :shrug:

bohdi:

If can set koji build dependence, submit as a single update (even if version mismatch, could be handled by %autorelease)
If sync_version=true submit as single update after all dependent koji_build are run

I might be missing some other job logic, so let's discuss it and feel free to edit them in.
Depends on: #1543

How about naming it depends_on? Just for the sound of it :)

My naming game is very weak so full :+1: on any name changes

I would say to skip the rebuild and sync_version parts in the initial implementation, and do them as a follow up. Would such an implementation be still useful?

Sure, this is a bit more involved, but let me try to flush out a small order:

Stage 1: Just depends_on logic. Here we just have dependencies so we can order the job submissions, e.g. if A.depends_on=B:

If there is no available copr package for B trigger a B build regardless
If both A and B are changed in the commit/PR/release, etc. trigger each build in order
If a dependent job is in progress, wait for the job to finish before submitting a new job. I see in the linked PR there are --after-build-id. Hopefully it has stop all if dependent failed logic.

Stage 2: Add sync_version. Here we ensure all packages have the same version. We can flush out the cases of it later here.
Stage 3: Arbitrary rebuild. Here we ensure that higher up packages are rebuilt if dependent is trigerred.

This is strongly related to packit/packit-service#1993 (Or, most probably, I've created a duplicate of this in the meantime..;) It just covers non-monorepos as well...


[Linux] Process TTS callback on the main thread to avoid speech-dispatcher deadlock.

Fixes https://github.com/godotengine/godot/issues/73605

Thanks!


Bump @embroider/macros 0.43.5

Includes dependencySatisfies caching fix: https://github.com/embroider-build/embroider/pull/913

cc: @rwjblue


Support for Localisation

Some strings in the theme are hard-coded in English,for example on the search.php page 'Search Results for: ' always displays in English even if WordPress is set to French for example.
It would be good to support localisation, though I don't know the exact steps to do that but If you could enable that I can help with providing translated strings for it (if needed). (I found the strings for this page at: https://translate.wordpress.org/projects/wp/dev/fr/default?filters[term]=Search+results+for+&filters[user_login]=&filters[status]=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort[by]=priority&sort[how]=desc by the way).

UPDATE: I realise now we need to add a fr_FR.mo and fr_FR.po to the 'languages' dir to add support for French. I'll take a look at working on that.

:D Is that fixed?

I started on it. I'm using https://en-gb.wordpress.org/plugins/loco-translate/ - which works great. I can export the translations as .po and .mo and they work well with your theme. I'm busy with a different project right now so not sure if I'll have time to complete it soon though.


gofabric8 version check

As discussed in #482, the current method of doing the version check is fragile & a borked gofabric8 release (as happened today) means that everyone's mvn fabric8:cluster-start stops working too. The problem is that the current way to check for the latest version is to read https://raw.githubusercontent.com/fabric8io/gofabric8/master/version/VERSION. That file is on a development branch (master) & indicates the current dev version, not latest released version.
We need to change to a different method for checking for updated versions. In minishift, we use github releases API. This works great, but due to rate limiting on unauthenticated requests sometimes causes updates to fail. A simple oauth token to add to requests can get around that, but you might consider that too much.

My suggestion is to use a property in pom.xml for the current stable gofabric8 version. This property then can be updated for each gofabric8 version by our CD as we do for other properties, too.
If there are no objections I'll change this and put it into a <version.gofabric8> property in the parent pom.xml

So you're suggesting a new release every time there's a gofabric8 release? I'm personally not too keen on that as I can see there being times when the plugin isn't in a state to be released & a new version of gofabric8 is ready to be consumed.

I mean that an application should declare its dependencies clearly. So when f-m-p depends on gofabric8 it should declare the version it depends on (because, considering we would have tests, this is the version we tested against). The situation we just has was, that a "new" version of gofabric8 (i.e. something changed on the gofabric8 side) broke fabric8-maven-plugin. I know this could be hardened by using real releases from the GitHub API, but it still leaves open the question, whether an application should be defensive by defining its dependencies or trust every new shiny release of gofabric8.
If we consider to always use the newest release, why don't we use always SNAPSHOT for all our projects and depend on them ?
It's really depends on your point of view. I'm about to send a PR for doing it 'conservatively' since I'm a fan of stating dependencies explicitly, but it depends on the discussions here, whether we want it to apply. BTW, all our other dependencies e.g. on fabric8 or kubernetes0client itself works by providing explicit versions in the pom.xml
If there is a new release of gofabric8 which is required by f-m-p for some fix or new features, I would release a new version of f-m-p.

Since gofabric8 is not supported anymore, not sure if this issue is still valid. Closing this, please reopen if it still looks valid to you


better payment param user value

this resolves #226

Really outdated and Commit #408 already fixes this... so... closing


feature: types

Added types to enable support for TypeScript.

Thanks @elgorditosalsero !  looks great! I added Validator.validate in the meantime, is it possible to add?
 const validationResult = await Validator.validate(myDCC);

that returns an object like this
{
  person: 'Erika Mustermann',
  date_of_birth: '1964-08-12',
  code: 'NOT_VALID',
  result: false,
  message: 'Test Result is expired at : 2021-05-22T12:34:56.000Z'
}

Thanks @elgorditosalsero !  looks great! I added Validator.validate in the meantime, is it possible to add?

 const validationResult = await Validator.validate(myDCC);

that returns an object like this

{

  person: 'Erika Mustermann',

  date_of_birth: '1964-08-12',

  code: 'NOT_VALID',

  result: false,

  message: 'Test Result is expired at : 2021-05-22T12:34:56.000Z'

}

Hi @astagi,
Yeah, for sure, will do as soon as possible ☺

@astagi Added the validate method types and improved some others 👍🏽

Thank you @elgorditosalsero 🙌


CocoaPods 2.0.2 version

Hi, may you push the 2.0.2 version on CocoaPods? THX

Cannot push. The pod fails on Xcode 10 -- https://github.com/fulldecent/FDTake/issues/112
CocoaPods does not support Xcode 10 yet -- https://github.com/CocoaPods/CocoaPods/issues/8238

Published to CocoaPods with the latest version
https://github.com/fulldecent/FDTake/releases/tag/3.0.0


CI: flag to skip regenerating csv

This changes the default behaviour to generate the CSV from the DD (which is probably the more intuitive behaviour), but introduces a --skip_csv flag you can use if you're in a hurry and want to only run the tool keeping the old CSV values.

Great catch! I've added a warning thanks


USHIFT-1861 Debugging router failures

/test microshift-metal-tests

/test microshift-metal-tests

/jira-refresh

Used the more sane and readable "Wait Until Keyword Succeeds" convention used throughout the test.  Wish I could say why I didn't do that in the beginning 😅


Question about compilation_database target config:

I'm I bazel newbie, so I apologize in advance if these are trivial questions. Regarding the approach of adding a compilation_database target to the BUILD file:
(1) what does the name property refer to? Does it need to match and existing name in my project?
(2) is there a way to just specify all targets? In my case, I think I care about //src/... and maybe //tests/... (the latter if I want to analyze test sources as well..).
(3) the file also says that exec_root should match bazel info execution_root. In my case, the latter returns a path something like $HOME/.cache/<userid>/<UUID>/execroot/__main__. I wonder if there is way to refer to such a path generically, because this clearly wouldn't be appropriate for other users (it has user id in various parts of the path...).
any advice appreciated.

Hi,
It looks like your use case is better resolved by the "Entire Repo" section of the README. Can you see if it works for you?
Thanks!

ok thanks - I will try the generate script and see if I can make that work.


Add systemd watchdog support to service.

Review Type Requested (choose one):

[ ] Glance - superficial check (from domain experts)
[ x ] Logic - thorough check (from everybody doing review)

Summary
Uses the systemclt watchdog to automatically restart the Resource Provider service if it becomes unresponsive.
Task/Issue reference
Closes: add_link_here
Details (optional)
additional services can be included by specifying:
WatchdogSec=20s
in their .service file
How to test this code? (optional)
systemctl daemon-reload
systemctl restart resource-provider
Monitor the notifications:
journalctl -u resource-provider -f
there should be a "Watchdog notification" message

This will work at the local machine level for each service.
At a level above that, we can creating cloudwatch rules that trigger based on the monitoring the metrics outputs (calls api endpoint) and takes certain actions based on the response.

Should we close this one? @richardbremner


'event' is defined but never used.

Busy doing the upgrade from mobiletouch, but getting this so long:
modules/ember-gestures/event_dispatcher.js: line 55, col 14, 'event' is defined but never used.

This should be patched in 0.0.5


Feature Request - LoadBlock

A controller like AsyncBlock controller, that can be loaded via an action/event, instead of on page load.

Closed in aa2598bc


Device selection (multi GPU)

Would it be possible to add a device selection into loaders, similar to to https://github.com/neuratech-ai/ComfyUI-MultiGPU
I have tried to 'port' that feature using similar code, but I have not been successful:
even when device is correctly selected as cuda:0, for some reason it is attempting to load gguf models onto cuda:1
torch.cuda.set_device(device) also doesn't work, even when hardcoded,
There is probably something downstream overriding this selection, but I cannot figure out what it is

There is probably something downstream overriding this selection, but I cannot figure out what it is

That makes two of us. Doing CUDA_VISIBLE_DEVICES=1 just dumps the T5 model onto the CPU for some reason on my P40 though I haven't had time to investigate why this happens (This only happens with the gguf dual clip loader and not the normal one.)
Weirder still, my crappy bootleg offload script seems to work fine lol.

I will try to look at it more when I get time, yet another 3090 is headed my way and this is quickly becoming bigger of an issue :D

Question, can you check if https://github.com/city96/ComfyUI-GGUF/commit/d2aaeb0f138320cb2b1481d00c79ee63d7cfe81b does anything to fix this? You'll have to update ComfyUI too but it does fix the CPU issue at least. Might make it work with that node set you linked above.

I have tried it now (no vram flag), for some reason, the UNET is now always loaded into cuda:1 device, even if i explicitly set it as cuda:0
this causes CLIP and VAE to run in cuda:0 but the UNET will always go into cuda:1 no matter what

Yeah, that was by last bet lol. Actually, have you tried running with CUDA_DEVICE_ORDER=PCI_BUS_ID ? I doubt it'd help but who knows, might be something with the device order.

So it's even more complicated than I thought: when freshly starting comfy and setting all nodes to cuda:0, it all goes fine on it. As soon as I load the encoder onto cuda:1, the unet is also forced there. BUT, when I change the clip and all other nodes back to cuda:0, CLIP and Vae load correctly, but the unet will reload onto cuda:1 anyway, and this can be fixed only by restarting comfy

+1


onElementClick is not working when nodesDraggable is set to false

When you set nodesDraggable={false} the onElementClick is not working anymore.
You can test it here https://reactflow.dev/interaction to enable only selectable.

released in v5.2.1


[enhancement] Add missing bower.json.

Hey, maintainer(s) of samcollins/css-social-buttons!
We at VersionEye are working hard to keep up the quality of the bower's registry.
We just finished our initial analysis of the quality of the Bower.io registry:
7530 - registered packages, 224 of them doesnt exists anymore;
We analysed 7306  existing packages and  1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).
Sadly, your library samcollins/css-social-buttons is one of them.
Can you spare 15 minutes to help us to make Bower better?
Just add a new file bower.json and  change attributes.
{
  "name": "samcollins/css-social-buttons",
  "version": "1.0.0",
  "main": "path/to/main.css",
  "description": "please add it",
  "license": "Eclipse",
  "ignore": [
    ".jshintrc",
    "**/*.txt"
  ],
  "dependencies": {
    "<dependency_name>": "<semantic_version>",
    "<dependency_name>": "<Local_folder>",
    "<dependency_name>": "<package>"
  },
  "devDependencies": {
    "<test-framework-name>": "<version>"
  }
}

Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.
NB! Please validate your bower.json with jsonlint before commiting your updates.
Thank you!
Timo,
twitter: @versioneye
email<EMAIL_ADDRESS>VersionEye - no more legacy software!

Added in 0edff886966cdfaa33260ca78f29848b6ac8eab9


Update jax.scipy.special.ndtri to return NaN for the values outside of the range [0, 1]

Fixes #20430

Hi @pearu
Thanks for the review. I have made the suggested changes.

Hi @pearu
Thanks! Added the test as suggested.

Closed this PR and opened a new PR #20528 since this PR got conflicts with other branches. Sorry for the inconvenience.


Couldn't invoke ffmpeg, check that it's installed

[FFProbe] Getting Media Information from eng.mkv...
[FFProbe] Getting Media Information from jpn.mkv...
[Sushi] Using default track 1: Audio in jpn.mkv
[FFProbe] Finding Audio Delay in eng.mkv...
[FFProbe] Finding Audio Delay in jpn.mkv...
[Sushi] Providing Source Audio eng_1.wav...
[Demuxer] Demuxing/Converting eng.mkv...
[Sushi] Couldn't invoke ffmpeg, check that it's installed   ]   0%
[Sushi] Couldn't invoke ffmpeg, check that it's installed
[Sushi] Couldn't invoke ffmpeg, check that it's installed
Ffmpeg is installed and works elsewhere. I am on debian 12. ffmpeg version 5.1.4-0+deb12u1/ weird ffprobe works. cmd used is ./Sushi --type audios --src eng.mkv --dst jpn.mkv had to remove the .net in the executable due to how file names work in the terminal. And had to alter audio to audios to get it to work.

hmm. Looking at the code is looking for "ffprobe" and "ffmpeg".
Check if ffmpeg is all lowercase, linux is case-sensitive.
worst case scenario copy it to the directory where sushi is. Tell me how it goes.

It is all lowercase on the system. And copying from a static build also does not work. Tried a build from https://johnvansickle.com/ffmpeg/ And that didnt work either. But ffprobe does. If i type in the console ffmpeg it works.  I cannot tell any reason for it not to call ffmpeg.
Screenshot attached.

chaoz@chaoz:~/Desktop/Makemkv/Sushi.Net.v1.0.0-linux-x64$ ./Sushi --type audios --src eng.mkv --dst jpn.mkv -vv
[FFProbe] Getting Media Information from eng.mkv...
[FFProbe] CMD: /home/chaoz/Desktop/Makemkv/Sushi.Net.v1.0.0-linux-x64/ffprobe -hide_banner -v quiet -print_format json -show_format -show_entries stream=index,codec_name,codec_type,width,height,sample_rate,channels,channel_layout,start_time,duration,bit_rate -show_entries stream_tags=title,language,handler_name -show_entries stream_disposition=default,forced,comment,hearing_impaired -show_entries chapters "eng.mkv"
[FFProbe] {
[FFProbe] "programs": [
[FFProbe] ],
[FFProbe] "streams": [
[FFProbe] {
[FFProbe] "index": 0,
[FFProbe] "codec_name": "h264",
[FFProbe] "codec_type": "video",
[FFProbe] "width": 1920,
[FFProbe] "height": 1080,
[FFProbe] "start_time": "0.000000",
[FFProbe] "disposition": {
[FFProbe] "default": 1,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] "title": "[Golumpa"
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 1,
[FFProbe] "codec_name": "aac",
[FFProbe] "codec_type": "audio",
[FFProbe] "sample_rate": "44100",
[FFProbe] "channels": 2,
[FFProbe] "channel_layout": "stereo",
[FFProbe] "start_time": "0.005000",
[FFProbe] "disposition": {
[FFProbe] "default": 1,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] "language": "eng"
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 2,
[FFProbe] "codec_name": "ass",
[FFProbe] "codec_type": "subtitle",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1429.936000",
[FFProbe] "disposition": {
[FFProbe] "default": 1,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] "language": "eng",
[FFProbe] "title": "English (US) / English (US)"
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 3,
[FFProbe] "codec_name": "ttf",
[FFProbe] "codec_type": "attachment",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1429.936000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 4,
[FFProbe] "codec_name": "ttf",
[FFProbe] "codec_type": "attachment",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1429.936000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 5,
[FFProbe] "codec_name": "ttf",
[FFProbe] "codec_type": "attachment",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1429.936000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 6,
[FFProbe] "codec_name": "ttf",
[FFProbe] "codec_type": "attachment",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1429.936000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] }
[FFProbe] ],
[FFProbe] "chapters": [
[FFProbe] ],
[FFProbe] "format": {
[FFProbe] "filename": "eng.mkv",
[FFProbe] "nb_streams": 7,
[FFProbe] "nb_programs": 0,
[FFProbe] "format_name": "matroska,webm",
[FFProbe] "format_long_name": "Matroska / WebM",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1429.936000",
[FFProbe] "size": "1448359239",
[FFProbe] "bit_rate": "8103071",
[FFProbe] "probe_score": 100,
[FFProbe] "tags": {
[FFProbe] "encoder": "no_variable_data",
[FFProbe] "creation_time": "1970-01-01T00:00:00.000000Z"
[FFProbe] }
[FFProbe] }
[FFProbe] }
[FFProbe] Getting Media Information from jpn.mkv...
[FFProbe] CMD: /home/chaoz/Desktop/Makemkv/Sushi.Net.v1.0.0-linux-x64/ffprobe -hide_banner -v quiet -print_format json -show_format -show_entries stream=index,codec_name,codec_type,width,height,sample_rate,channels,channel_layout,start_time,duration,bit_rate -show_entries stream_tags=title,language,handler_name -show_entries stream_disposition=default,forced,comment,hearing_impaired -show_entries chapters "jpn.mkv"
[FFProbe] {
[FFProbe] "programs": [
[FFProbe] ],
[FFProbe] "streams": [
[FFProbe] {
[FFProbe] "index": 0,
[FFProbe] "codec_name": "h264",
[FFProbe] "codec_type": "video",
[FFProbe] "width": 1920,
[FFProbe] "height": 1080,
[FFProbe] "start_time": "0.000000",
[FFProbe] "disposition": {
[FFProbe] "default": 1,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 1,
[FFProbe] "codec_name": "flac",
[FFProbe] "codec_type": "audio",
[FFProbe] "sample_rate": "48000",
[FFProbe] "channels": 2,
[FFProbe] "channel_layout": "stereo",
[FFProbe] "start_time": "0.000000",
[FFProbe] "disposition": {
[FFProbe] "default": 1,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] "language": "jpn"
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 2,
[FFProbe] "codec_name": "aac",
[FFProbe] "codec_type": "audio",
[FFProbe] "sample_rate": "44100",
[FFProbe] "channels": 2,
[FFProbe] "channel_layout": "stereo",
[FFProbe] "start_time": "0.000000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] "language": "eng"
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 3,
[FFProbe] "codec_name": "ass",
[FFProbe] "codec_type": "subtitle",
[FFProbe] "start_time": "0.000000",
[FFProbe] "disposition": {
[FFProbe] "default": 1,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] "language": "eng",
[FFProbe] "title": "Dialogue"
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 4,
[FFProbe] "codec_name": "ass",
[FFProbe] "codec_type": "subtitle",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1430.954000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] "language": "eng",
[FFProbe] "title": "Signs"
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 5,
[FFProbe] "codec_name": "mjpeg",
[FFProbe] "codec_type": "video",
[FFProbe] "width": 400,
[FFProbe] "height": 566,
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1430.954000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 6,
[FFProbe] "codec_name": "ttf",
[FFProbe] "codec_type": "attachment",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1430.954000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 7,
[FFProbe] "codec_name": "ttf",
[FFProbe] "codec_type": "attachment",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1430.954000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 8,
[FFProbe] "codec_name": "ttf",
[FFProbe] "codec_type": "attachment",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1430.954000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 9,
[FFProbe] "codec_name": "ttf",
[FFProbe] "codec_type": "attachment",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1430.954000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 10,
[FFProbe] "codec_name": "ttf",
[FFProbe] "codec_type": "attachment",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1430.954000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "index": 11,
[FFProbe] "codec_name": "ttf",
[FFProbe] "codec_type": "attachment",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1430.954000",
[FFProbe] "disposition": {
[FFProbe] "default": 0,
[FFProbe] "comment": 0,
[FFProbe] "forced": 0,
[FFProbe] "hearing_impaired": 0
[FFProbe] },
[FFProbe] "tags": {
[FFProbe] }
[FFProbe] }
[FFProbe] ],
[FFProbe] "chapters": [
[FFProbe] {
[FFProbe] "id":<PHONE_NUMBER>351739456,
[FFProbe] "time_base": "1/1000000000",
[FFProbe] "start": 0,
[FFProbe] "start_time": "0.000000",
[FFProbe] "end":<PHONE_NUMBER>44,
[FFProbe] "end_time": "733.983244",
[FFProbe] "tags": {
[FFProbe] "title": "Part A"
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "id": -8172176063634395793,
[FFProbe] "time_base": "1/1000000000",
[FFProbe] "start":<PHONE_NUMBER>44,
[FFProbe] "start_time": "733.983244",
[FFProbe] "end":<PHONE_NUMBER>11,
[FFProbe] "end_time": "823.948111",
[FFProbe] "tags": {
[FFProbe] "title": "OP"
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "id":<PHONE_NUMBER>351435836,
[FFProbe] "time_base": "1/1000000000",
[FFProbe] "start":<PHONE_NUMBER>11,
[FFProbe] "start_time": "823.948111",
[FFProbe] "end":<PHONE_NUMBER>000,
[FFProbe] "end_time": "1339.963600",
[FFProbe] "tags": {
[FFProbe] "title": "Part B"
[FFProbe] }
[FFProbe] },
[FFProbe] {
[FFProbe] "id": -3263847349145703442,
[FFProbe] "time_base": "1/1000000000",
[FFProbe] "start":<PHONE_NUMBER>000,
[FFProbe] "start_time": "1339.963600",
[FFProbe] "end":<PHONE_NUMBER>000,
[FFProbe] "end_time": "1430.954000",
[FFProbe] "tags": {
[FFProbe] "title": "ED"
[FFProbe] }
[FFProbe] }
[FFProbe] ],
[FFProbe] "format": {
[FFProbe] "filename": "jpn.mkv",
[FFProbe] "nb_streams": 12,
[FFProbe] "nb_programs": 0,
[FFProbe] "format_name": "matroska,webm",
[FFProbe] "format_long_name": "Matroska / WebM",
[FFProbe] "start_time": "0.000000",
[FFProbe] "duration": "1430.954000",
[FFProbe] "size": "3476668387",
[FFProbe] "bit_rate": "19436926",
[FFProbe] "probe_score": 100,
[FFProbe] "tags": {
[FFProbe] "title": "S01E01-TTGA",
[FFProbe] "encoder": "libebml v1.3.9 + libmatroska v1.5.2",
[FFProbe] "creation_time": "2020-08-30T04:18:04.000000Z"
[FFProbe] }
[FFProbe] }
[FFProbe] }
[Sushi] Using default track 1: Audio in jpn.mkv
[FFProbe] Finding Audio Delay in eng.mkv...
[FFProbe] CMD: /home/chaoz/Desktop/Makemkv/Sushi.Net.v1.0.0-linux-x64/ffprobe -select_streams a:1 -hide_banner -of default=noprint_wrappers=1 -show_entries packet=dts -read_intervals 0%+#1 "eng.mkv"
[FFProbe] Finding Audio Delay in jpn.mkv...
[FFProbe] CMD: /home/chaoz/Desktop/Makemkv/Sushi.Net.v1.0.0-linux-x64/ffprobe -select_streams a:1 -hide_banner -of default=noprint_wrappers=1 -show_entries packet=dts -read_intervals 0%+#1 "jpn.mkv"
[FFProbe] dts=0
[Sushi] Providing Source Audio eng_1.wav...
[Demuxer] Demuxing/Converting eng.mkv...
[FFMpeg] CMD: /home/chaoz/Desktop/Makemkv/Sushi.Net.v1.0.0-linux-x64/ffmpeg -hide_banner -i "eng.mkv" -y -map 0:1 -ar 44000 -ac 1 -acodec pcm_s16le "eng_1.wav_temp.wav" -map 0:2 "eng_English (US) / English (US).default.eng.ass"
[FFMpeg] Input #0, matroska,webm, from 'eng.mkv':
[FFMpeg] Metadata:
[FFMpeg] encoder         : no_variable_data
[FFMpeg] creation_time   : 1970-01-01T00:00:00.000000Z
[FFMpeg] Duration: 00:23:49.94, start: 0.000000, bitrate: 8103 kb/s
[FFMpeg] Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
[FFMpeg] Metadata:
[FFMpeg] title           : [Golumpa
[FFMpeg] Stream #0:1(eng): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
[FFMpeg] Stream #0:2(eng): Subtitle: ass (default)
[FFMpeg] Metadata:
[FFMpeg] title           : English (US) / English (US)
[FFMpeg] Stream #0:3: Attachment: ttf
[FFMpeg] Metadata:
[FFMpeg] filename        : arial.ttf
[FFMpeg] mimetype        : application/x-truetype-font
[FFMpeg] Stream #0:4: Attachment: ttf
[FFMpeg] Metadata:
[FFMpeg] filename        : trebuc.ttf
[FFMpeg] mimetype        : application/x-truetype-font
[FFMpeg] Stream #0:5: Attachment: ttf
[FFMpeg] Metadata:
[FFMpeg] filename        : verdana.ttf
[FFMpeg] mimetype        : application/x-truetype-font
[FFMpeg] Stream #0:6: Attachment: ttf
[FFMpeg] Metadata:
[FFMpeg] filename        : times.ttf
[FFMpeg] mimetype        : application/x-truetype-font
[FFMpeg] [out#1/ass @ 0x7bfa640] Error opening output eng_English (US) / English (US).default.eng.ass: No such file or directory
[FFMpeg] Error opening output file eng_English (US) / English (US).default.eng.ass.
[FFMpeg] Error opening output files: No such file or directory
[FFMpeg] Exception Error: CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (ffmpeg#34786) returned a non-zero exit code (254).
     Command:
     /home/chaoz/Desktop/Makemkv/Sushi.Net.v1.0.0-linux-x64/ffmpeg -hide_banner -i "eng.mkv" -y -map 0:1 -ar 44000 -ac 1 -acodec pcm_s16le "eng_1.wav_temp.wav" -map 0:2 "eng_English (US) / English (US).default.eng.ass"

     You can suppress this validation by calling `WithValidation(CommandResultValidation.None)` on the command.
        at CliWrap.Command.ExecuteAsync(ProcessEx, CancellationToken , CancellationToken ) in /_/CliWrap/Command.Execution.cs:line 258
        at CliWrap.Command.ExecuteAsync(ProcessEx, CancellationToken , CancellationToken ) in /_/CliWrap/Command.Execution.cs:line 272
        at CliWrap.Command.ExecuteAsync(ProcessEx, CancellationToken , CancellationToken ) in /_/CliWrap/Command.Execution.cs:line 272
        at CliWrap.Command.ExecuteAsync(ProcessEx, CancellationToken , CancellationToken ) in /_/CliWrap/Command.Execution.cs:line 272
        at CliWrap.Utils.Extensions.TaskExtensions.Select[TSource,TDestination](Task`1, Func`2) in /_/CliWrap/Utils/Extensions/TaskExtensions.cs:line 12
        at CliWrap.EventStream.EventStreamCommandExtensions.ListenAsync(Command, Encoding, Encoding, CancellationToken , CancellationToken)+MoveNext() in /_/CliWrap/EventStream/PullEventStreamCommandExtensions.cs:line 73
        at Sushi.Net.Library.Common.Extensions.WithLogger(Command, ILogger, CancellationToken, Boolean , IPercentageProcessor , IProgress`1 , Encoding ) in C:\Sources\Projects\GIT\Sushi.Net\Sushi.Net.Library\Common\Extensions.cs:line 219
        at Sushi.Net.Library.Common.Extensions.WithLogger(Command, ILogger, CancellationToken, Boolean , IPercentageProcessor , IProgress`1 , Encoding ) in C:\Sources\Projects\GIT\Sushi.Net\Sushi.Net.Library\Common\Extensions.cs:line 219
        at Sushi.Net.Library.Tools.Tool.ExecuteAsync(Command, Boolean , IPercentageProcessor , Encoding ) in C:\Sources\Projects\GIT\Sushi.Net\Sushi.Net.Library\Tools\Tool.cs:line 66
        at Sushi.Net.Library.Tools.FFMpeg.DeMux(Mux) in C:\Sources\Projects\GIT\Sushi.Net\Sushi.Net.Library\Tools\FFMpeg.cs:line 359

[Sushi] Couldn't invoke ffmpeg, check that it's installed
[Sushi] Couldn't invoke ffmpeg, check that it's installed
[Sushi] Couldn't invoke ffmpeg, check that it's installed

Yea its not detecting ffmpeg for some reason which is weird if your on ubuntu and its working. Because debian is what ubuntu is based on. And i do have all parts installed and other apps work just fine with it..

It seems the sanitation of the subtitle title is the issue. As you see the
subtitle file to be created will be against the file system path supported
characters  the ‘/‘ is used to separated directories and cannot be a file
name. Will fix it.
In the mid time, use mlvtoolnix and remove the title of the subtitle and
remux in another mkv and test again . That will probably solve the issue
El El mié, 29 nov. 2023 a la(s) 17:05, Devin @.***>
escribió:

Yea its not detecting ffmpeg for some reason which is weird if your on
ubuntu and its working. Because debian is what ubuntu is based on. And i do
have all parts installed and other apps work just fine with it..
—
Reply to this email directly, view it on GitHub
https://github.com/maxpiva/Sushi.Net/issues/8#issuecomment-1832623245,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI4G3KMMSDT3LOJ4TSQLVTYG6IQVAVCNFSM6AAAAAA76OLXDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSGYZDGMRUGU
.
You are receiving this because you commented.Message ID: <maxpiva/Sushi.
@.***>


⚖ Register Validator: Inter Blockchain Services

Network Choice
nemeton-1
Who are you?
Inter Blockchain Services
gentx
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"Inter Blockchain Services","identity":"27FD74457A21B020","website":"https://ibs.team","security_contact":"contact@ibs.team","details":"Inter Blockchain Services Dpos validator and Relayer of COSMOS ecosystem 🤗 #IBCGANG"},"commission":{"rate":"0.050000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"okp415txyfswzc3tpzzv5xudyqkdw2dv5qmqhhqjjj8","validator_address":"okp4valoper15txyfswzc3tpzzv5xudyqkdw2dv5qmqhz8zmvx","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"itjJ+GV9otZ6dC44IoqywtT9dRFsYOABSkT+Ki+RAaY="},"value":{"denom":"uknow","amount":"10000000000"}}],"memo":"9ed2f8472bd5aa53cfc7a996cb6ca43f5c47e76f@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AvSwKdKKJ7db9J4J9ErWb9vAcFS0/Y+Buz2v8pY71M5i"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["8lLd64QjSnilhPJNBvGUgr0tR7OewI5bV8KqVHHwnMR2d1mwg6T6X5x/XTrTXOMSqClvwr48aYpfNu5lGqmp3w=="]}

😉 Here is the corresponding PR: https://github.com/okp4/networks/pull/151


Bug:@SuperBuilder can't support @NonNull

@SuperBuilder
public abstract class Parent {
  @NonNull
  Number number;
}

@SuperBuilder
public class Child extends Parent {

  @Singular
  ImmutableList<Long> ids;
}

compile error

Duplicate of #1800 and already fixed in the current edge release.


update readme

Forgot to remove Travis test tags for Julia 0.5

Codecov Report

Merging #248 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #248   +/-   ##
=======================================
  Coverage   84.48%   84.48%
=======================================
  Files          24       24
  Lines        1457     1457
=======================================
  Hits         1231     1231
  Misses        226      226

Continue to review full report at Codecov.

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


feat(pool-labels): add a unique label to all pools created by control plane on request from msp

What does this PR do?

This PR changes the labels type to hashmap
This adds changes to populate labels on request.
This add changes in msp-operator, to add a unique label is the pool creation request comes to rest from msp-operator.

Signed-off-by: Abhinandan-Purkait<EMAIL_ADDRESS>

bors merge


How to change default align to right

hello
How to change default align to right ?

Try this

<template>
    <vue-editor
        id="editor"
        ref="editor"
    />
</template>

<script>

import { VueEditor } from "vue2-editor";

export default {
    components: {
        VueEditor
    },
    mounted() {
        // this.$refs.editor.quill.format('direction', 'rtl');
        this.$refs.editor.quill.format('align', 'right');
    },
}
</script>

Or
.ql-editor {
  /* direction: rtl; */
  text-align: right !important;
}

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.


Heavy network bandwidth usage with 0 good peers

Describe the bug
Heavy network bandwidth usage with 0 good peers.
edit: And apparently, it's accompanied by a high CPU usage.
Steps to reproduce
setup
Running reth from a minimal ubuntu server a LXC container. This is connected to another LXC container for networking. Which in turn is connected to a vpn.
I run this setup node(lxc) -> network(lxc) -> vpn with other nodes with no networking issues afaik (bitcoin, monero, goerli).
issue
Left it yesterday for an hour, and I found 0 good peers. Furthermore, the network usage seemed too excessive.
During periods of time it just maxs it completely, and I even lose ssh connection to the machine. This can either be during a couple seconds, to couple minutes. I only have the reth process running, and killing it (through proxmox UI) completely solves it.

Querying localhost:3000, the only rising value is: reth_p2pstream_disconnected_errors 191
If there's anything you want me run lmk. Currently running the node like:
RUST_LOG=info,sync::stages=trace,downloaders=trace ./reth node -v --db $DB --metrics <IP_ADDRESS>:3001

Node logs
No response
Platform(s)
Linux (x86)
Code of Conduct

[X] I agree to follow the Code of Conduct

with 0 good peers

what exactly do you mean here? I doubt this traffic is just from trying to establish connections

I have 0 headers 0 bodies, and to my knowledge haven't been able to find 1 good peer

these spikes look like lookup interval, it also makes sense why there are large spikes at the beginning and then it evens out.
this is due to the recursive lookup step, I'll come up with a fix that does not result in these heavy spikes

Closed by #731 #733


added script and tests to run aws inventory with powershell

Intent is to create PowerShell version of inventory scripts to allow for execution on Windows hosts which lack a bash shell. Discussion was had on whether to rewrite holistically in Python or port into the Lacework CLI, but the prevailing opinion currently is the PowerShell implementation is least work and most lift immediately (cc: @galenemery)
Automated testing indicates parity in results between bash and powershell versions, although it does take a while to run as it builds out RDS and Redshift resources.
Manual testing was performed on a Windows 10 box running PowerShell 5.x and on a MacOs machine running PowerShell 7.x. Implementation seems portable across older, full framework PowerShell and newer PowerShell Core runtimes.

@scottford-lw - Mind providing a second set of eyes on this change?

@galenemery @aedifex - Could I get a PR review and approval on this before blindly squash merging?


Can't set workspace button text color

It just defaults to whatever was in * {} or window#waybar {}. setting it in #workspaces button {} doesn't do a single thing.
heres a config
* {
  all: unset;
  font-family: VictorMono Nerd Font;
  font-size: 16px;
  color: #f5f4f1;
}
/*#window#waybar > box {
  margin: 4px 8px 8px 4px;
}*/
.modules-left {
  margin: 0px 0px 0px 40px;
}
.modules-right {
  margin: 0px 0px 0px 0px;
}

#cpu,
#pulseaudio,
#network,
#battery,
#window,
#clock {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right: 10px;
  margin: 40px 10px 40px 10px;
  background: #272822;
  border-radius: 11px;
  box-shadow: 3px 3px 0px #49483e;
  border: 2px solid #49483e;
}
#clock {
  margin-right: 40px;
}
#network {
  color: #66d9ef;
}
#battery {
  color: #a1efe4;
}
#cpu {
  color: #ae81ff;
}
#pulseaudio {
  color: #f4bf75;
}
#workspaces button {
  padding-top: 0px;
  padding-bottom: 0px;
  background: #272822;
  margin: 40px 20px 40px 0px;
  border-radius: 11px;
  min-width: 40px;
  min-height: 40px;
  box-shadow: 5px 5px 0px #49483e;
  border: 2px solid #49483e;
  color: red;
}

its not red. ive tried different versions of waybar and tons of different configurations but for some reason I can't seem to control the workspace button color, no matter what way i do it. setting color for literally anything else works but specifically the workspace button text color isn't working for me

thank you so much!

Wait nvm, that didn't actually work

wait nvm i fixed this. sorry for the trouble


duplicate language name

$ cldf validate cldf/StructureDataset-metadata.json
WARNING cldf/languages.csv:145 duplicate primary key: Semandang

changed the duplicate names and updated their Glottocode to
Samandang nucl1557
Onya Darat sema1269

Nice. It is also nice to see that we have already found a little problem
by simply converting to cldf. This happens often, since cldf checks for
very rough simple requirements one may easily forget...

Totally agree on this !
On 09/06/2020 17:25, Johann-Mattis List wrote:

Nice. It is also nice to see that we have already found a little problem
by simply converting to cldf. This happens often, since cldf checks for
very rough simple requirements one may easily forget...
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/cldf-datasets/tangclassifiers/issues/4#issuecomment-641372841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGS6L4DFFPECWCPPPPIGXNLRVZIAPANCNFSM4NZIQ5CQ.


The tests I added have some out of order and some in order but repeated

I don't think repeated is an issue unless they are out of order, e.g. this works as expected:
var commandText = SqlUtility.RenumberParameters("(Column1 = @p0 OR @p0 IS NULL) AND Column2 = @p1", totalArgumentCount: 12);
Assert.Equal("(Column1 = @p10 OR @p10 IS NULL) AND Column2 = @p11", commandText);

I'll look into why the sequence seems to matter as I'm not sure how that's causing an issue at the moment...

FYI, the last test you added ReNumberParametersWithExistingArgumentsWithThreeColonPrefixAndARepeatedValueAndMoreThanPrefixCharacter isn't going to work anyway as the expected string is quite different from the input (different spacing and different parameter names)...

I'll push 6.3.3 to nuget this evening.

Thanks Trevor


Genre

created new pull request for genre branch

Added some label tags so that the genre could be added to each poem.


Why use Associate?

Maybe It's a low-level question, but really I want to know why use the runtime, why not use computed properties?

The view presenting the toast view needs to retain the toast, so a stored property is required. In fact, that's true for all the properties used in the library (they all need to be retained). Unfortunately, Swift extensions don't allow stored properties (just like Objective-C categories). Here's more details: http://stackoverflow.com/questions/25426780/how-to-have-stored-properties-in-swift-the-same-way-i-had-on-objetive-c
Closing this ticket. If I'm missing something obvious, feel free to reopen with an example.


env variables not substituted on deploy -f

Forgive me, I'm a bit new to the serverless platform.
I'm trying to send asw pseudo params as environment variables into my lambda functions so I can construct arns in there for publishing to sns.   I have config like:
provider:
    ...
    environment:
        AWS_ACCOUNT_ID: '#{AWS::AccountId}'

upon sls deploy everything works great.
If I subsequently sls deploy -f myFcn, the pseudo params are not substituted but are in fact overwritten. In the aws console, the value of the env variables is the unsubstituted string '#{AWS::AccountId}'.  Then even a full deploy won't reset the env vars and I have to sls remove and sls deploy to get the env vars to reset.
Is this me just not understanding the sls lifecycle with regard to deploy -f? or is there some way to get the plugin to substitute the vars for function deploys.

Exactly the same thing is happening to me. +1!

Happened here too.
I was able to reverse this by temporarily removing the environmental variables and then putting them back with a few deploys.
Due to stored data in S3, I can't tear down the whole thing with sis remove.

I see the problem, it probably does have to do with the level where the plugin attaches. If someone can lend a hand with a PR, that is more than welcome

Hi,
I am a completely new to node so no chance of me fixing of this.  However maybe what I have found out may help...
I had recently been given a new laptop so built everything from scratch, which included serverless version 1.29.1.
And I had the issue described here.
On my old laptop I had the 1.24.1 and I was not getting the issue.  Anyhow I have rolled back serverless to 1.24.1 on my new laptop and the problem is now resolved.  Clearly this is not ideal, but it allows me to continue...
ta

@karticus @svdgraaf This solution is working great for me:
define the pseudo parameter(s) as a property in the custom field of your serverless.yml file and there add the template for inserting the pseudo parameter with this plugin, then call the custom property in your environment variables. Like this...
# serverless.yml
...
custom:
  accountId: "#{AWS::AccountId}"
...
provider:
  environment:
    ACCOUNT_ID: ${self:custom.accountId}

upvote +1 o/
will try to take a look into it in moment, maybe i can help.

I'm not sure there's an easy solution for this ... I tried getting replacement of things like #{AWS::AccountId} to work on function deploy but discovered what seems like a blocking problem. When you run serverless deploy --function <your function> it doesn't seem to process the cloud formation template. Instead it pushes the code and issues commands to update the environment. I registered a hook on before:deploy:function:deploy and it executes fine, can change the values of the environment for the function, but the problem is things like ${AWS::AccountId} do not get replaced because they are not processed by CloudFormation.

At a best guess, the problem introduced during this issue fix https://github.com/serverless/serverless/pull/4173 where by the sls -f parameter had its default change to additionally update the environment variables.  As this does not use the standard cloudFormation deployment I cant see where you add the pseudoParameter code.
What I have done on my local machine is commented out update of environment variables within the serverless framework for a function only deployment.
IMHO The ideal fix is to have another option within the serverless framework i.e. sls -fc "functionCode" only.

Same problem here, any news?

Same here. Would be great to have it fixed ...

Seeing as the command in question does a updateFunctionConfiguration (see: https://github.com/serverless/serverless/pull/4173/files#diff-4cbb6c3b54085f7b84b5aea9b859bb1eR141) and completely bypasses cloudformation, there is no way to use cloudformation pseudo parameters in that way.
I addition to this. If the value was changed manually through the api call, CF will not see any changes, and will happily skip over the changes you deployed manually. There is no way to fix this if you are doing this outside of cloudformation.
I recommend you do not use the inline updater and always do a full deploy for any changes.

I'm going to create an issue on Serverless and see what they say. They might accept to add a parameter to that function to not skip the CloudFormation step.

... if the value was changed manually ...

What do you mean ? which one ?
In the meantime I think it should be documented somewhere.

the same when using "invoke local"


Changed Data Types to Title Case

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (Closes #XXXX): Closes #8392

Description
Self explanatory...

Thanks @theflametrooper!


Sign Perm Not Working

Describe the bug
The permission for signs isn't working. I have op and have full access to editing signs though normal players don't with the correct permission?
To Reproduce
Give players the permission purpur.sign.click.opens and try to have them right click a sign with a sign. I tried myself with their group and it didn't work.
Screenshots or Videos
No, I think it makes sense.
Plugins
31.08 00:34:31 [Server] INFO Plugins (42): AAC, BBeeChecker, BetterRTP, Chair, ChestShop, Citizens, CommandHook, CoreProtect, dynmap*, Dynmap-Towny, Essentials, EssentialsSpawn, ExploitFixer, FeatherBoard*, HamsterAPI*, HeadDatabase*, HolographicDisplays, IllegalStack, LockettePro, LuckPerms, LumberJack, mcMMO, Multiverse-Core, MVdWPlaceholderAPI*, PL-Hide, PlaceholderAPI, PlayerWarps, ProtocolLib, ReinforcedTurtleHelmets, SAML, SuperVanish, TAB, Towny, TownyChat, TownyNameUpdater, Vault, ViaBackwards, ViaVersion, ViewDistanceTweaks, WorldEdit, WorldGuard, WorldGuard-Towny*
Version
31.08 00:35:07 [Server] INFO This server is running Purpur version git-Purpur-747 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT)
Is bug present on Paper, Spigot, CraftBukkit, or Vanilla
The sign editor was added only in Purpur, so no.
Additional Context:
None.

To Reproduce
Give players the permission purpur.sign.click.opens and try to have them right click a sign with a sign.

Use purpur.sign.edit perm node.
https://github.com/pl3xgaming/Purpur/blob/ver/1.16.2/patches/server/0054-Signs-editable-on-right-click.patch#L18


Unable to install stable version of extension in WSL

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.60.2
OS Version: Windows (WSL2)

Steps to Reproduce:

Install Jupyter extension 2021.8.2041215044 (this is tied to engine 1.60, stable version)
Some how during the installation a new extension (renderer extension gets pulled,

Renderer extension https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter-renderers
The renderer extension is a separate extension included in the insider version of Jupyter extension.
The latest insider version of Jupyter extension is published to the marketplace & tied to engine 1.61
However it seems VSCode is somehow getting things mixed up and pulling extensions that are not relevant

As a result @jflam cannot install the Jupyter extension in Stable vscode.

Please see logs below
@sandy081 /cc
Logs
[2021-09-24 07:28:20.294] [renderer1] [info] Creating lazy extension host: contains 1 extension(s): GitHub.vscode-pull-request-github.

[2021-09-24 07:28:22.734] [renderer1] [info] Downloading the 'ms-python.vscode-pylance' extension locally and install

[2021-09-24 07:28:24.209] [renderer1] [info] Downloading the workspace dependencies and packed extensions of 'ms-python.vscode-pylance' locally and install

[2021-09-24 07:28:24.209] [renderer1] [info] Downloaded extension: ms-python.python /c:/Users/jlam/AppData/Local/Temp/41a9ae12-157e-47c4-bb55-e4849a4aa64d

[2021-09-24 07:28:30.385] [renderer1] [info] Successfully installed 'ms-python.python' extension

[2021-09-24 07:28:30.501] [renderer1] [info] Downloaded extension: ms-toolsai.jupyter /c:/Users/jlam/AppData/Local/Temp/0d770c87-2d69-4a2a-98d3-75efe6bda868

[2021-09-24 07:28:32.923] [renderer1] [info] Successfully installed 'ms-toolsai.jupyter' extension

[2021-09-24 07:28:32.999] [renderer1] [error] Unable to install extension 'ms-toolsai.jupyter-renderers' as it is not compatible with VS Code '1.60.2'.: Error: Unable to install extension 'ms-toolsai.jupyter-renderers' as it is not compatible with VS Code '1.60.2'.

    at a.downloadCompatibleAndInstall (vscode-file://vscode-app/c:/Users/jlam/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2872:133252)

    at async a.downloadAndInstall (vscode-file://vscode-app/c:/Users/jlam/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2872:132847)

    at async a.installFromGallery (vscode-file://vscode-app/c:/Users/jlam/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2872:131878)

    at async Promise.all (index 0)

    at async Object.V [as settled] (vscode-file://vscode-app/c:/Users/jlam/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:77:21987)

    at async ps.installFromGallery (vscode-file://vscode-app/c:/Users/jlam/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2867:19777)

This happened right after I installed from the VSIX that you suggested (and every time I try to uninstall Jupyter). In this case, you can see it downloads the latest versions of pylance, python and Jupyter and then it tries to install Jupyter-renderers. I don’t understand how references between extensions are expressed so I don’t know where to look for what is pulling in Jupyter-renderers – should any production extension be referencing this new extension?

Yes it’s appearing consistently for me – code is effectively broken for Python on this machine. Also note that I’m using WSL2 as well.

That was quick. Thanks @sandy081 and @DonJayamanne!

@sandy081 @DonJayamanne In order to verify this, do we need to test this on stable VS code? And then create an extension pack that references insider only extensions and try to install it?

You can also test on insiders by having an extension (that is included in the pack) with newer version not compatible but one of the older versions is.

Sorry, but i was never able to repro this issue, even John wasn't able to repro this issue in insiders. it was only broken in stable for him, hence I don't see how we can test this (i.e. i  couldn't repro in stable except for John).

To verify:

Open any remote folder (WSL or SSH or DevContainer)
Enable remote.downloadExtensionsLocally setting to true
Search for sandy081.999-test-pack extension
Install and make sure Install succeeds and sandy081.998-test-incompatible is not installed.


[#29803] Fix nil pointer access in logRuntimeDependencies

Corrects a nil pointer usage when Python containers are built through processArtifactsInSetupOnlyMode()
Fixes #29803

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @damccorm @riteshghorse
CC: @tvalentyn

It is an odd pattern that at present:

setup passes down a nil logger,
then we manually re-build/wrap with buffered loggers wherever we actually do log something.

I'd expect us to pass around the buffered logger type from the top, instead of arbitrarily trying to re-construct it.
Stuff to clean up when it's not a release blocker.


instead of a redirect show a link in the root page

I think it would be clearer to show a link (or even multiple links to multiple names) in the root page instead of doing a redirect to 'world' immediately. This way people realize that they can change the path a bit more quickly.

And typically in real world applications people won't redirect from root.

Fair point. Root is now a very basic collection. We could of course turn it into a more fleshed-out collection now, but I'm hesitant to go too far with this template. I don't want the end product to be too perfect. That should be up to the users to figure out.
We also generate two separate projects out of one template, so there's a limit to what we can add before it gets too complicated.


Replace deprecated GHA ::set-output syntax

Summary
Use the new way of producing outputs in a github action as the old way is deprecated and will be removed (31st May 2023).
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
See also: https://github.com/paketo-buildpacks/github-config/pull/604
Use Cases
Keep the pipelines alive.
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Actually, I think this PR should not be needed, but the Update shared github-config  is failing for quite some time now.

This PR will become obsolete, once https://github.com/paketo-buildpacks/github-config/pull/684 is merged


Reduce left margin on small viewports for code block tabs to prevent line wrapping

Part of https://github.com/chec/marketing-chec/issues/481
If we're not happy with this adjustment then we'll need to get our hands dirty with the border radius on the background of the code block tabs. It's currently "rounded-full" which doesn't really work when it splits into two lines. Would need to be a specific number that works instead e.g. 200px or something.
This change prevents the home page on the marketing site from splitting over two lines.

LGTM

I used a specific media query instead of @screen because (A) our linter complained about it and (B) it's specific to this problem

Yeah our linter complaining is a bug with the linter.


Question about getPatch method

Hi, may I ask how is the getPatch method in data directory's common.py gets called? I've went through the implementation and only found it's called in SRData.py's getItem function but couldn't find where the getItem function gets called.
And another question  is if there's a way we could save the patches information we used for testing without re-trainning the model?
Thanks ahead for all the response!

Hello.
getitem method is called by MSDataLoader class.
It is a PyTorch convention to define your own dataset, and maybe you cannot find the line that contains 'getitem'.
Please check the link below for more details.
http://pytorch.org/docs/master/data.html#torch.utils.data.Dataset
Also, we use full images, not the patches when test time.
If you want to save the patch information you used for training, modify this lines and get_patch in data/common.py.
Thank you!

Hello.

We extract a patch from random location of the input image. We do not fixed the number of patches from each image. Image index and patch location is all random.

Actually, our full-size model is designed to fit in 12GB GPU. I will upload a configuration for that problem, but I cannot guarantee how long does it take to train the model.

Sorry. Use --ext img to use png files. I changed it just a few days ago.

Sorry, there are some issues to memory-efficient forward function.
Please use smaller batch size now.
Thank you.

Hi,
Thanks so much for the reply! We have one more question for the testing step:
Right now we want to analyse the patches of the LR image with the corresponding patches of the HR image (instead of just comparing the result of the whole image),  is there a way we can use to extract the patches from both LR images and HR images?
You've mentioned we could do it in the training step and we're wondering if it could also be achieved in test step?
Thanks so much for your help!

If you want to extract the patches at test stage (like our figures in the paper?), use --save_results argument to save the output images, and then make a short script to crop out the HR and LR patches.
Although we do not provide the script for extracting those patches, I think you can make it very easily.
If this answer is not what you expected, would you be more specific?
Thank you.


Is correct DefaultMemberAccess#setup?

Is correct following code?
https://github.com/jkuhnert/ognl/blob/0ca96030e40600892ea8b1548bbe275548ea1d48/src/test/java/ognl/DefaultMemberAccess.java#L114
Should be set the Boolean.FALSE in this case?
WDYT?

Yeah, looks like. Good 👁 :)

merged into master and 3.1.x branches.


PHP 5.4 and PHP5.5

I would suggest to remove php 5.4 and php 5.5 in some new versions and remove them in travis.

We'll do it after release Phalcon 4.0.0

Okay, just phalcon already doesn't support php 5.4 and 5.5 but fine.

Phalcon support 5.5

Oh right, okay, in phalcon 4 we should drop php 5 at all.

Yes, we plan support only 7.x for Phalcon 4.x


docs(): tutorial for persistent user configs in school

We need a tutorial to map the local settings in Home_auf_Server

@Lordnoname Like to submit a PR?

You mean how-to locate the Einstellungen folder?

No, not really.
We map our core settings in Home_auf_Server/Einstellungen by default (like firefox etc).
They are mapped for example from ~/.mozilla/ into ~/Home_auf_Server/Einstellungen/.mozilla.
But the defaults are limited, so for example if I want to have my .gitconfig saved permanently, then I need to copy the .gitconfig into Home_auf_Server/Einstellungen and it will be automatically mapped after a restart. This should be explained in a tutorial and maybe an example.

Ahh ok. Yes I'll do that Friday.

Very nice :+1: Thanks.


Does not work for local folders

Testing microsoft/vscode#161784
Open a local folder and run a python script from it.
You will get this error:

Fixed in remote repositories.


XRM Api deprecation

Hello,
Microsoft announced some deprecations in following article https://docs.microsoft.com/en-us/dynamics365/get-started/whats-new/customer-engagement/important-changes-coming  . One of them is related to XRM Api. I've checked javascript code used by portal and found out deprecated items are commonly used by portal. Is any upgrade of portal code planned? I am afraid that portal will suddenly stopped working. What impact will these deprecations have on portal? Do you have any information related to this problem?
Thank you in advance.
Matej

Hi, this has been discussed previously in this issue https://github.com/Adoxio/xRM-Portals-Community-Edition/issues/100. Let me know if you have any questions afterwards.


[V3-branch] switch  font/theme at runtime

without restart!

how did you implement this?
Imho there is some sort of buffering somewhere - did changing that at runtime work? (also with re-layouting, ..)

Call UIManager.setLookAndFeel(?) again and at some Controls re layout on:
    @Override
    public void updateUI() {
      super.updateUI();
       ......
      }

This has been already discussed in backlog, and is a great addition. We lack the implementation details but We can try various things, to achieve this functionality.
Having said that we also need to implement whats left of our backlog to finally release an open beta for v3, which is coming soon. This is a feature that we certainly want, and we will try to achieve on the following cycles.
If you already have some sort of experience on the UI, you can always make a Pull Request with a working code on https://github.com/tinyMediaManager/tinyMediaManager-LaF . We are always happy receiving community contributions.

@Longri could you create a PR with the needed patched to achieve that?

I'll do it next week.

just had a look at this and the fact is:
a) changing the font is doable with a few changes
b) changing the theme would also be doable, BUT I found no way to refresh the icons (some icons for the dark theme do have other colors than the ones for the light theme). thus changing not the whole theme will create a inconsistency which I will avoid.

I am sorry to say, that the icons also depend on the font size - thus we cannot change either fonts or theme at runtime without heavily redesign the UI code (and breaking standard swing patterns) just for preventing the user to restart once after changing..
such a small benefit for the huge amount of work to be done :(


Add Process IP to jaeger.thrift

Coverage increased (+0.02%) to 85.409% when pulling 4474b836c45a102f03aa70a1ec098510a4e99a70 on set_process_ip into d109b2b5e39041472cd9f187b50f575e9c49b1da on master.

Maybe as a part of this PR I can do https://github.com/uber/jaeger-client-go/blob/master/tracer.go#L347. We don't need to save process on the first span given that we send the process as part of the batch when reporting

Coverage decreased (-3.6%) to 81.766% when pulling 54b251eade68501a3bf005abc28e13f6ff68e391 on set_process_ip into 78cc568f17aa9acd9f352c2f2f10f0f9005e471c on master.

Coverage decreased (-0.08%) to 85.325% when pulling 396eec8b43bcc27faec67787fa9f8f497d79dee6 on set_process_ip into 78cc568f17aa9acd9f352c2f2f10f0f9005e471c on master.

Coverage decreased (-0.07%) to 85.332% when pulling 77b13eedf5ba7fe8ca8b6a2a6a9f755cb37020f3 on set_process_ip into 78cc568f17aa9acd9f352c2f2f10f0f9005e471c on master.

Coverage decreased (-0.1%) to 85.277% when pulling c28175155b70f00d1aa3abacdc48562e149dec6e on set_process_ip into 78cc568f17aa9acd9f352c2f2f10f0f9005e471c on master.

Coverage decreased (-0.1%) to 85.277% when pulling 7b9e08a4d91d1ab5859f8f88038c5a9705d482fe on set_process_ip into 78cc568f17aa9acd9f352c2f2f10f0f9005e471c on master.


[cloud_firestore]: Firestore Termination Issue on Flutter Web: "The client has already been terminated" Error After Clearing Persistence

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
cloud_firestore
Which platforms are affected?
Web
Description
I am using await FirebaseFirestore.instance.clearPersistence(); to clear cached data after a user signs out.
According to the documentation, this should only be called after terminating the Firestore session.
However, when I attempt to retrieve data again after logging back in, I encounter the following error:
"The client has already been terminated"
Note: This issue only occurs on Flutter Web. It works fine on Flutter mobile.
Are there any steps, which I'm missing? I already tried to recreate the whole Firebase app, but same error.
await FirebaseFirestore.instance.terminate();
await FirebaseFirestore.instance.clearPersistence();

Reproducing the issue
To reproduce the issue where clearing the cached data after a user signs out causes an error on Flutter Web, follow these steps:
After Sign Out of User:
Call the following code to clear the cached data:
await FirebaseFirestore.instance.terminate();
await FirebaseFirestore.instance.clearPersistence();

Sign In User:
Attempt to sign the user back in.
Retrieve Data:
Try to retrieve data from Firestore. For example:
var data = await FirebaseFirestore.instance.collection('your_collection').get();
Encounter Error:
Observe the following error message:
"FirebaseError: The client has already been terminated."
Note: This issue only occurs on Flutter Web. On Flutter mobile, it works as expected.
Firebase Core version
2.31.1
Flutter Version
3.19.6
Relevant Log Output
FirebaseError: The client has already been terminated.

Flutter dependencies

Expand Flutter dependencies snippet

Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments
No response

@sAtluna Thank you for posting this issue, can you please reverse the order in which you call these methods, I found a SOF answer that suggests that.
https://stackoverflow.com/questions/70935832/app-is-crashing-in-ios-the-client-has-already-been-terminated

@TarekkMA, thanks for the suggestion. I tried it, but unfortunately, it didn't solve the problem. It works fine for Android and iOS, but Flutter Web is throwing an exception. Since all systems should behave the same, I'm led to think this might be a bug in Flutter Web.


Python: NullLogger function signatures need to match the function signatures of logger.Logger object.

Describe the bug
NullLogger function signatures need to match the function signatures of logger.Logger object.

As seen in this https://github.com/microsoft/semantic-kernel/pull/2818/files/99cdd2523c2c299143f0e6780dabcbdbb7ae2414#r1327326272 implementation. When a user attempts to leverage logging behavior, it will raise an error due to the NullLogger expecting different parameters

To Reproduce
Steps to reproduce the behavior:

Import NullLogger in code
Assign it to a variable
Attempt to use it similar to how Logger would be used, (logger.debug("%s", "string"))

>       self._logger.debug(
            "matched_count=%s, upserted_count=%s",
            bulk_update_result.matched_count,
            bulk_update_result.upserted_count,
        )
E       TypeError: debug() takes 2 positional arguments but 4 were given

Expected behavior
The expected behavior should be that NullLogger does nothing and raises no error

@awharrison-28. FYI this is linked to the Mango DB connector request.