uv hangs when using tox-uv

See more details at https://github.com/tox-dev/tox-uv/issues/11
any advice on how to debug this?
hacking tox-uv to add a -v to the `uv invocation i get
py: 584 W install_package> /Users/david/environments/uv-bugs/bin/uv pip install -v --reinstall --no-deps<EMAIL_ADDRESS>[tox/tox_env/api.py:427]
 uv::requirements::from_source<EMAIL_ADDRESS>    0.000707s DEBUG uv_interpreter::virtual_env Found a virtualenv through VIRTUAL_ENV at: /Users/david/dev/uv-bugs/.tox/py/.venv
    0.001068s DEBUG uv_interpreter::interpreter Using cached markers for: /Users/david/dev/uv-bugs/.tox/py/.venv/bin/python
    0.001074s DEBUG uv::commands::pip_install Using Python 3.12.0 environment at /Users/david/dev/uv-bugs/.tox/py/.venv/bin/python
 uv_client::flat_index::from_entries
 uv_resolver::resolver::solve
      0.203508s   0ms DEBUG uv_resolver::resolver Solving with target Python version 3.12.0
   uv_resolver::resolver::choose_version package=root
   uv_resolver::resolver::get_dependencies package=root, version=0a0.dev0
        0.203564s   0ms DEBUG uv_resolver::resolver Adding direct dependency: my-package*
   uv_resolver::resolver::choose_version package=my-package
        0.203677s   0ms DEBUG uv_resolver::resolver Searching for a compatible version of my-package @ file:///Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz (*)
 uv_resolver::resolver::process_request request=Metadata my-package @ file:///Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz
   uv_distribution::distribution_database::get_or_build_wheel_metadata dist=my-package @ file:///Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz
     uv_distribution::source::build_source_dist_metadata
          0.205756s   0ms DEBUG uv_distribution::source Preparing metadata for: my-package @ file:///Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz
       uv_dispatch::setup_build package_id="my-package @ file:///Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz", subdirectory=None
            0.205869s   0ms DEBUG uv_build Unpacking for build: /Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz
         uv_resolver::resolver::solve
              0.208806s   0ms DEBUG uv_resolver::resolver Solving with target Python version 3.12.0
           uv_resolver::resolver::choose_version package=root
           uv_resolver::resolver::get_dependencies package=root, version=0a0.dev0
                0.208837s   0ms DEBUG uv_resolver::resolver Adding direct dependency: poetry-core*
           uv_resolver::resolver::choose_version package=poetry-core
             uv_resolver::resolver::package_wait package_name=poetry-core
         uv_resolver::resolver::process_request request=Versions poetry-core
           uv_client::registry_client::simple_api package=poetry-core
             uv_client::cached_client::get_cacheable
               uv_client::cached_client::read_and_parse_cache file=/Users/david/Library/Caches/uv/simple-v0/pypi/poetry-core.rkyv
         uv_resolver::resolver::process_request request=Prefetch poetry-core *
                  0.209834s   0ms DEBUG uv_client::cached_client Found fresh response for: https://pypi.org/simple/poetry-core/
 uv_resolver::version_map::from_metadata
           uv_distribution::distribution_database::get_or_build_wheel_metadata dist=poetry-core==1.9.0
             uv_client::registry_client::wheel_metadata built_dist=poetry-core==1.9.0
               uv_client::cached_client::get_serde
                 uv_client::cached_client::get_cacheable
                   uv_client::cached_client::read_and_parse_cache file=/Users/david/Library/Caches/uv/wheels-v0/pypi/poetry-core/poetry_core-1.9.0-py3-none-any.msgpack
                0.210159s   1ms DEBUG uv_resolver::resolver Searching for a compatible version of poetry-core (*)
                0.210165s   1ms DEBUG uv_resolver::resolver Selecting: poetry-core==1.9.0 (poetry_core-1.9.0-py3-none-any.whl)
           uv_resolver::resolver::get_dependencies package=poetry-core, version=1.9.0
         uv_dispatch::install resolution="poetry-core==1.9.0", venv="/private/var/folders/jb/193kg8hd62n5mx9mz29k7fl00000gn/T/.tmp8WfoYo/.venv"
              0.210333s   0ms DEBUG uv_dispatch Installing in poetry-core==1.9.0 in /private/var/folders/jb/193kg8hd62n5mx9mz29k7fl00000gn/T/.tmp8WfoYo/.venv
              0.210698s   0ms DEBUG uv_installer::plan Requirement already cached: poetry-core==1.9.0
              0.210709s   0ms DEBUG uv_dispatch Installing build requirement: poetry-core==1.9.0
           uv_installer::installer::install num_wheels=1
            0.214843s   9ms DEBUG uv_build Calling `poetry.core.masonry.api.get_requires_for_build_wheel()`
         uv_build::run_python_script script="get_requires_for_build_wheel", python_version=3.12.0
          0.372848s 167ms DEBUG uv_build Calling `poetry.core.masonry.api.prepare_metadata_for_build_wheel()`
       uv_build::run_python_script script="prepare_metadata_for_build_wheel", python_version=3.12.0
          0.738287s 532ms DEBUG uv_distribution::source Prepared metadata for: my-package @ file:///Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz
   uv_resolver::resolver::get_dependencies package=my-package, version=0.1.0
Resolved 1 package in 557ms
    0.761061s DEBUG uv_installer::plan Identified uncached requirement: my-package @ file:///Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz
    0.761283s DEBUG uv_installer::plan Unnecessary package: httpcore==1.0.3
    0.761289s DEBUG uv_installer::plan Unnecessary package: h11==0.14.0
    0.761292s DEBUG uv_installer::plan Unnecessary package: httpx==0.26.0
    0.761293s DEBUG uv_installer::plan Unnecessary package: certifi==2024.2.2
    0.761295s DEBUG uv_installer::plan Unnecessary package: sniffio==1.3.0
    0.761315s DEBUG uv_installer::plan Unnecessary package: anyio==4.2.0
    0.761316s DEBUG uv_installer::plan Unnecessary package: idna==3.6
 uv_installer::downloader::download total=1
   uv_installer::downloader::get_wheel name=my-package @ file:///Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz, size=None, url=""
     uv_distribution::distribution_database::get_or_build_wheel dist=Source(Path(PathSourceDist { name: PackageName("my-package"), url: VerbatimUrl { url: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz", query: None, fragment: None }, given: Some("/Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz") }, path: "/Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz", editable: false }))
       uv_distribution::source::build_source_dist
            0.762486s   0ms DEBUG uv_distribution::source Building: my-package @ file:///Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz
         uv_dispatch::setup_build package_id="my-package @ file:///Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz", subdirectory=None
              0.763308s   0ms DEBUG uv_build Unpacking for build: /Users/david/dev/uv-bugs/.tox/.tmp/package/5/my_package-0.1.0.tar.gz
           uv_resolver::resolver::solve
                0.767418s   0ms DEBUG uv_resolver::resolver Solving with target Python version 3.12.0
             uv_resolver::resolver::choose_version package=root
             uv_resolver::resolver::get_dependencies package=root, version=0a0.dev0
                  0.767464s   0ms DEBUG uv_resolver::resolver Adding direct dependency: poetry-core*
             uv_resolver::resolver::choose_version package=poetry-core
               uv_resolver::resolver::package_wait package_name=poetry-core
                  0.767493s   0ms DEBUG uv_resolver::resolver Searching for a compatible version of poetry-core (*)
                  0.767505s   0ms DEBUG uv_resolver::resolver Selecting: poetry-core==1.9.0 (poetry_core-1.9.0-py3-none-any.whl)
             uv_resolver::resolver::get_dependencies package=poetry-core, version=1.9.0
               uv_resolver::resolver::distributions_wait package_id=poetry-core-1.9.0
           uv_resolver::resolver::process_request request=Prefetch poetry-core *

[hangs here]

This could be the same as https://github.com/astral-sh/uv/issues/1355.

yes, #1607 seems to fix this. thanks!


Discrepancy between TC synthesis in Lean 3 and 4

I have posted this on Zulip as I'm not sure if it is a real issue or just my incorrect expectation of how Lean 4 should behave. On Zulip it fell through the crack with no response, so I'm posting it here.
The issue:
I have a piece of code that in Lean 3 fails to synthesize an instance in finite number of steps but in Lean 4 it timeouts. I really do not understands what is going wrong in the Lean 4 code, maybe nothing and it is behaving as expected. However, it gets into very strange infinite loop.
Lean 3 code that fails on the last example. The failure is a proper failure and not a timeout.
universes u v w

class Vec (X : Type u)

class IsLin {X Y} [Vec X] [Vec Y] (f : X → Y)

structure ℝ :=
  (value : nat)

instance {X : Type u} {Y : Type v} [Vec X] [Vec Y] : Vec (X × Y) := sorry
instance {α : Type u} {X : Type v} [Vec X] : Vec (α → X) := sorry

@[priority std.priority.default+1]
instance : Vec ℝ := sorry

--------------

instance comp_is_lin {X Y Z : Type} [Vec X] [Vec Y] [Vec Z]
  (f : Y → Z) (g : X → Y) [IsLin f] [IsLin g]
  : IsLin (λ x, f (g x)) := sorry

----------------

class Trait (X : Type u) :=
  (R : Type v)

attribute [reducible] Trait.R

class SemiInner (X : Type u) (R : Type v) :=
  (semiInner : X → X → R)

@[reducible] instance instTrait (X) (R : Type u) [SemiInner X R] : Trait X := ⟨R⟩

class SemiHilbert (X) (R : Type u) [Vec R] extends Vec X, SemiInner X R

instance instSemiHilbertForAll (X R) [Trait X] [Vec R] [SemiHilbert X R] (ι : Type v) : SemiHilbert (ι → X) R := sorry
instance instSemiHilbertℝ : SemiHilbert ℝ ℝ := sorry

--------------

def norm {X} [Trait X] [inst : SemiInner X (Trait.R X)] (x : X) : Trait.R X := sorry
def sum' {n} (f : fin n → ℝ) : ℝ := sorry

variables (n m : nat)

-- these all should work
-- oddly enough lean 3 does not require the `reducible` attribute to get these working
example : Trait (fin n → fin m → ℝ) := infer_instance
example : SemiInner ℝ (Trait.R ℝ) := infer_instance
example : SemiHilbert (fin n → ℝ) ℝ := infer_instance
example : SemiHilbert (fin n → ℝ) (Trait.R ℝ) := infer_instance
example : Trait (fin n → fin m → (Trait.R ℝ)) := infer_instance
example : SemiHilbert (Trait.R ℝ) ℝ := infer_instance

-- This fails to synthesize in finite number of steps
example : IsLin  (λ (x : ℝ), sum' (λ i : fin n, norm x)) := infer_instance

Fails with:
failed to synthesize type class instance for
n : ℕ
⊢ IsLin (λ (x : ℝ), sum' (λ (i : fin n), norm x))

Hopefully identical code in Lean 4 that timeouts instead:
class Vec (X : Type u)

class IsLin {X Y} [Vec X] [Vec Y] (f : X → Y)

structure ℝ where
  value : Float

instance {X : Type u} {Y : Type v} [Vec X] [Vec Y] : Vec (X × Y) := sorry
instance {α : Type u} {X : Type v} [Vec X] : Vec (α → X) := sorry

instance (priority := mid+1) : Vec ℝ := sorry

--------------

instance comp_is_lin {X Y Z : Type} [Vec X] [Vec Y] [Vec Z]
  (f : Y → Z) (g : X → Y) [IsLin f] [IsLin g]
  : IsLin (λ x => f (g x)) := sorry

----------------

class Trait (X : Type u) where
  R : Type v

attribute [reducible] Trait.R

class SemiInner (X : Type u) (R : Type v) where
  semiInner : X → X → R

@[reducible] instance (X) (R : Type u) [SemiInner X R] : Trait X := ⟨R⟩

class SemiHilbert (X) (R : Type u) [Vec R] extends Vec X, SemiInner X R

instance (X R) [Trait X] [Vec R] [SemiHilbert X R] (ι : Type v) : SemiHilbert (ι → X) R := sorry
instance : SemiHilbert ℝ ℝ := sorry

--------------

def norm {X} [Trait X] [inst : SemiInner X (Trait.R X)] (x : X) : Trait.R X := sorry
def sum {n} (f : Fin n → ℝ) : ℝ := sorry

variable (n m : Nat)

-- these all should work
example : Trait (Fin n → Fin m → ℝ) := by infer_instance
example : SemiInner ℝ (Trait.R ℝ) := by infer_instance
example : SemiHilbert (Fin n → ℝ) ℝ := by infer_instance
example : SemiHilbert (Fin n → ℝ) (Trait.R ℝ) := by infer_instance
example : Trait (Fin n → Fin m → (Trait.R ℝ)) := by infer_instance
example : SemiHilbert (Trait.R ℝ) ℝ := by infer_instance

-- set_option synthInstance.maxHeartbeats 50 in
-- set_option pp.explicit true in
-- set_option trace.Meta.synthInstance true in

-- This should not timeout but failt in finite number of steps like in Lean 3
example : IsLin  (λ (x : ℝ) => sum λ i : Fin n => norm x) := by infer_instance

Fails with:
(deterministic) timeout at 'typeclass', maximum number of heartbeats (500) has been reached (use 'set_option synthInstance.maxHeartbeats <num>' to set the limit)

I'm expecting the Lean 4 version to fail in the same fashion as Lean 3 code.
 I will investigate why the other thresholds we have did not "fire" here. That being said, I will catch the heartbeat exception in the TC module and generate a better error message.

To get a quick failure like in Lean 3, we must tag the instance comp_is_lin with the attribute [inferTCGoalRL].
@[inferTCGoalsRL]
instance comp_is_lin {X Y Z : Type} [Vec X] [Vec Y] [Vec Z]
  (f : Y → Z) (g : X → Y) [IsLin f] [IsLin g]
  : IsLin (λ x => f (g x)) := sorry

BTW, instance comp_is_lin is also problematic because it produces high-order metavariables for f and g, and is doomed to be unstable.
@Kha @gebner Any thoughts? I am planning to close this issue. Perhaps, we may add a linter in the future that reports problematic instances such as comp_in_lin.

Thank you very much for looking into this. What is inferTCGoalsRL roughly doing? Searching GitHub, Zulip or googling didn't yield anything for me and I'm on mobile right now so I can't grep the code base.
Also what does it mean that the instance is unstable? It is absolutely crucial to my project SciLean and such instance was my motivation for modifying TC in the first place.

What is inferTCGoalsRL roughly doing?

It changes the order Lean solves the TC subgoals. For example, to apply the instance comp_is_lin, Lean has to solve 5 subgoals: [Vec X], [Vec Y], [Vec Z], [IsLin f], and [IsLin g]. By default, Lean solves them from left to right. The attribute instructs Lean to solve them from right to left.

Oh that is great! The problem might be then solved by adding this attribute to the following instance instead
instance (X R) [Trait X] [Vec R] [SemiHilbert X R] (ι : Type v) : SemiHilbert (ι → X) R := sorry

And the Trait X can be dropped as it was there only as a safe guard to prevent synthetising Vec R if there is no hope to synthesise SemiHilbert X R

I still do not understand what is going on. Here is a simpler code exhibiting the same behavior and does not contain the problematic instance comp_is_lin. In Lean 4 it timeouts and Lean 3 it works correctly. It can be solved by modifying the priority on the instance instance : Vec ℝ := ⟨⟩ but it is not necessary in Lean 3.
To me it feels that using either priority := mid+1  or inferTCGoalRL is just some patchwork dealing with some deeper hidden issue.
Lean 4 code:
class Vec (X : Type u)

class IsLin {X Y} [Vec X] [Vec Y] (f : X → Y)

structure ℝ where
  value : Float

instance {X : Type u} {Y : Type v} [Vec X] [Vec Y] : Vec (X × Y) := ⟨⟩
instance {α : Type u} {X : Type v} [Vec X] : Vec (α → X) := ⟨⟩
instance : Vec ℝ := ⟨⟩
-- instance (priority := mid+1) : Vec ℝ := ⟨⟩

----------------

class Trait (X : Type u) where
  R : Type v

class SemiInner (X : Type u) (R : Type v) where
  semiInner : X → X → R

instance (X) (R : Type u) [SemiInner X R] : Trait X := ⟨R⟩

class SemiHilbert (X) (R : Type u) [Vec R] extends Vec X, SemiInner X R

instance (X R) [Vec R] [SemiHilbert X R] (ι : Type v) : SemiHilbert (ι → X) R := sorry
instance : SemiHilbert ℝ ℝ := sorry

--------------

set_option synthInstance.maxHeartbeats 20 in
set_option trace.Meta.synthInstance true in
example (n m) : Trait (Fin n → Fin m → ℝ) := by infer_instance

Lean 3 code:
universes u v w

class Vec (X : Type u)

class IsLin {X Y} [Vec X] [Vec Y] (f : X → Y)

structure ℝ :=
  (value : nat)

instance {X : Type u} {Y : Type v} [Vec X] [Vec Y] : Vec (X × Y) := Vec.mk
instance {α : Type u} {X : Type v} [Vec X] : Vec (α → X) := Vec.mk
instance : Vec ℝ := Vec.mk

----------------

class Trait (X : Type u) :=
  (R : Type v)

class SemiInner (X : Type u) (R : Type v) :=
  (semiInner : X → X → R)

instance instTrait (X) (R : Type u) [SemiInner X R] : Trait X := ⟨R⟩

class SemiHilbert (X) (R : Type u) [Vec R] extends Vec X, SemiInner X R

instance instSemiHilbertForAll (X R) [Vec R] [SemiHilbert X R] (ι : Type v) : SemiHilbert (ι → X) R := sorry
instance instSemiHilbertℝ : SemiHilbert ℝ ℝ := sorry

--------------

example (n m) : Trait (fin n → fin m → ℝ) := infer_instance

Now the problematic instances are
attribute [inferTCGoalsRL] SemiHilbert.toSemiInner instSemiHilbertForAll

At least for the latter instance, you can simply swap the parameters alternatively.

To me it feels that using either priority := mid+1 or inferTCGoalRL is just some patchwork dealing with some deeper hidden issue.

Lean 4 infers goals from left to right by default, Lean 3 community does the opposite. Neither approach is complete. There is no one-size-fits-all solution.

@Kha @gebner Any thoughts?

It looks to me like the main issue is this one:

And the Trait X can be dropped as it was there only as a safe guard to prevent synthetising Vec R if there is no hope to synthesise SemiHilbert X R

Users do not expect that unsolved metavariables are introduced during TC synthesis. We have a handful of examples like transitive coercions where this is useful, but I believe that at the very least, this dangerous behavior should be made opt-in per-instance.

Ahh makes sense and adding the attribute to SemiHilbert.toSemiInner makes sense.
I was trying:
@[inferTCGoalsRL]
instance (X R) [Vec R] [SemiHilbert X R] (ι : Type v) : SemiHilbert (ι → X) R := sorry

and it didn't work.

Users do not expect that unsolved metavariables are introduced during TC synthesis. We have a handful of examples like transitive coercions where this is useful, but I believe that at the very least, this dangerous behavior should be made opt-in per-instance.

I tripped over this behavior before, the solution was exactly to reorder the typeclasses and in more complicated cases to use the Trait class as a safe guard. At the time, I didn't know about the attribute inferTCGoalsRL which solves the problem too.

I am planning to close this issue too.


United fee limit

I was challenged by callebyc so here is my very first PR ever.

The fee limit is now determined from fee_reserve() and passed to WALLET.pay_invoice(), to ensure maintaining fee limit = fee reserve (otherwise it may cause a vulnerability).

This fee limit is now implemented in LndRestWallet, LndWallet and CLightningWallet (here the 0.5% default fee limit is being overwritten).

Thanks for your feedback and to Kixunil for his guidance.

Thanks a lot for the PR. Very cool that you have implemented it in the LndRPC and c-lightning backends!
What happens if fee_reserve is set to 0? I am thinking that we could still have a max-fee policy in that case, maybe we should use a separate function to calculate the max fee (which should always be at least some amount)? What do you think?

What happens if fee_reserve is set to 0?

In principle it should forbid any fee (thus only allow free transactions). In practice I'm worried that the ridiculous design of Golang to set variables to zero by default could cause zero to mean "unlimited" which would be very wrong. If I guess right then fee_reserve should enforce minimum reserve 1 sat or somehow make sure LND enforces the fee.

Just to reiterate explicitly: for all payments up to 100 sat, the max_fee will be 1 sat. Above that, it will be 1%. Is this a smart policy?
I know there are payments below 100 sat that require 1-2 sat fees. These would not go through anymore. Maybe we should think about increasing the min value to 2 sat.

I've tried zero fee_reserve with lnd and got no_route with a hop involved, but direct payment passes through. So says the API Ref:

If this field is left to the default value of 0, only zero-fee routes will be considered. This usually means single hop routes connecting directly to the destination.

How about exposing the limit to the user and allow setting it? There can still be a reasonable default (e.g. what you suggest).

@iWarpBTC that's great news, no danger there!

Do you guys agree that we should increase the minimal value to 2 sat? I'm open to reasons against it.

I agree. Would be cool to expose the limit later. Actually, it's required for lnbits backend to be secure.

I don't see any reasons against it...

With clightning we should also set the exemptfee to 0 (default is 5000 msat) in order to ensure the backend never spends above the lnbits wallet balance. Agree?
https://lightning.readthedocs.io/lightning-pay.7.html

Not familiar with C-lightning but from the documentation it seems to be the case.

@iWarpBTC got confirmation from Rusty that indeed it needs to be set to 0.

With clightning we should also set the exemptfee to 0 (default is 5000 msat) in order to ensure the backend never spends above the lnbits wallet balance. Agree?

Agree.

After precision is set, I will have one more look at all changes and we're ready to merge.


add upscaler support with tiling

This feature would be greatly appreciated.
@Coyote-A built an upscaler for Automatic1111's web-ui that looks very promising., Would love to see something like that for SHARK!

That project does indeed look nice! Good find - looking at code now... might offer to help.. still learning though.


Windows 10 Update of VSCode from 1.91 -> 1.92/1.93 not working (Scheme contains illegal characters )

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

VS Code Version: 1.92 and 1.93
OS Version:  Windows 10 Pro

Steps to Reproduce:

Start vscode of versions 1.92 / 1.93 either from commandline or double clicking the icon

Issue description
After updating from 1.91-> 1.92 / 1.93 Vscode doesn't start. Error message after running with --verbose argument is shown below.
I have tried

Disabling all extensions
Downloading and executing the portable installer
disable-gpu

Error message
[main 2024-09-07T14:28:09.147Z] Error: [UriError]: Scheme contains illegal characters.
    at l (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:46:20915)
    at new f (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:46:22115)
    at new g (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:46:23813)
    at f.parse (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:46:22607)
    at C.Bb (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:117:128067)
    at new C (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:117:123341)
    at $.o (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:64:1608)
    at $.createInstance (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:64:1100)
    at j.rb (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:118:46308)
    at j.cb (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:118:34790)
    at j.Z (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:118:33799)
    at j.open (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:118:29689)
    at async yt.startup (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:118:58105)
    at async Fe.a (C:\Users\myuser\Downloads\VSCode-win32-x64-1.93.0\resources\app\out\vs\code\electron-main\main.js:120:1275)

Thanks!
### Tasks

i still have this issue with version 1.94.0
Steps

Download zip installer for windows
Unzip to folder vscode
Create data folder within vscode folder
Open comand prompt and navigate to folder
start with .\Code.exe

c:\temp\vscode>
[main 2024-10-07T09:01:34.636Z] Error: [UriError]: Scheme contains illegal characters.
    at wv (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:30:14931)
    at new ec (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:30:16154)
    at new nr (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:30:17591)
    at ec.parse (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:30:16655)
    at ja.Bb (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:71:52443)
    at new ja (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:71:48287)
    at id.o (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:107:1581)
    at id.createInstance (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:107:1078)
    at tu.rb (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:72:26240)
    at tu.cb (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:72:15731)
    at tu.Z (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:72:14798)
    at tu.open (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:72:11113)
    at async Du.startup (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:81:6030)
    at async R3.a (file:///c:/temp/vscode/resources/app/out/vs/code/electron-main/main.js:111:34559)
[948:1007/110134.748:ERROR:command_buffer_proxy_impl.cc(323)] GPU state invalid after WaitForGetOffsetInRange.
[948:1007/110134.749:ERROR:command_buffer_proxy_impl.cc(323)] GPU state invalid after WaitForGetOffsetInRange.

reset of the machine fixed the issue. Still unclear of what the issue actually was.


Failed to load model class 'MPLCanvasModel' from module 'jupyter-matplotlib'

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

Upgrading to the new version v2024.8.0 started throwing the error
[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'MPLCanvasModel' from module 'jupyter-matplotlib'
Error: No version of module jupyter-matplotlib is registered
    at ph.loadClass (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/amcar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.19/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4099813)
    at ph.loadClass (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/amcar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.19/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4403287)
    at ph.loadModelClass (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/amcar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.19/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4097773)
    at ph._make_model (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/amcar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.19/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4094616)
    at ph.new_model (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/amcar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.19/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4092246)
    at ph.handle_comm_open (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/amcar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.19/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4091039)
    at https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/amcar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.19/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4402511
    at n._handleCommOpen (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/amcar/.vscode/extensions/ms-toolsai.jupyter-2024.8.2024081201-win32-x64/dist/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js:3:80955)
    at async n._handleMessage (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/amcar/.vscode/extensions/ms-toolsai.jupyter-2024.8.2024081201-win32-x64/dist/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js:3:82830)

Rollback to version v2024.7.0 fixed the error message and now everything works again

VS Code Version
Version: 1.93.0 (user setup) Commit: 4849ca9bdf9666755eb463db297b69e5385090e3 Date: 2024-09-04T13:02:38.431Z Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: <IP_ADDRESS>-electron.0 OS: Windows_NT x64 10.0.22631
Jupyter Extension Version
v2024.8.0
Jupyter logs
No response
Coding Language and Runtime Version
Python 3.10.11
Language Extension Version (if applicable)
Python Extension: v2024.14.0
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local

Visual Studio Code (1.93.0, undefined, desktop)
Jupyter Extension Version: 2024.8.0.
Python Extension Version: 2024.14.0.
Pylance Extension Version: 2024.8.2.
Platform: win32 (x64).
Temp Storage folder ~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.8.0
Workspace folder ~\Documents\python\him-on-gr-hbn, Home = c:\Users\amcar
10:58:42.776 [debug] Start refreshing Kernel Picker<PHONE_NUMBER>776)
10:58:43.981 [trace] Search for KernelSpecs in Interpreter ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe
10:58:44.016 [trace] Search for KernelSpecs in Interpreter ~\AppData\Local\Programs\Python\Python310\python.exe
10:58:44.018 [trace] Search for KernelSpecs in Interpreter ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe
10:58:44.020 [trace] Search for KernelSpecs in Interpreter c:\Program Files\Inkscape\bin\python.exe
10:58:44.021 [trace] Search for KernelSpecs in Interpreter ~\.local\pipx\venvs\poetry\Scripts\python.exe
10:58:44.031 [debug] Get Custom Env Variables, Class name = Em, completed in 1256ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
10:58:44.031 [debug] Jupyter Paths kernels:
10:58:44.034 [warn] Kernel Spec for 'venv' (c:\ProgramData\jupyter\kernels\venv\kernel.json) hidden, as we cannot find a matching interpreter argv = 'C:\Users\~\Documents\python\python-assignments\venv\Scripts\python.exe'. To resolve this, please change 'C:\Users\~\Documents\python\python-assignments\venv\Scripts\python.exe' to point to the fully qualified Python executable.
10:58:44.035 [debug] Kernel Spec Root Paths, ~\AppData\Roaming\jupyter\kernels, c:\ProgramData\jupyter\kernels
10:58:46.004 [debug] KernelProvider switched kernel to id = .jvsc74a57bd0530c4a137a047274ab3f434e8a010a3ceb054fdce29930fb1bbedd1e341274af.c:\Users\~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe.c:\Users\~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe.-m#ipykernel_launcher
10:58:46.005 [debug] start the kernel, options.disableUI=true for ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb
10:58:46.009 [debug] Controller selection change completed
10:58:48.454 [debug] Get Custom Env Variables, Class name = Em, completed in 1ms, has a truthy return value, Arg 1: "/c:/Users/~/Documents/python/him-on-gr-hbn", Arg 2: "RunPythonCode"
10:58:48.459 [info] Starting Kernel (Python Path: ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe, Poetry, 3.10.11) for '~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb' (disableUI=true)
10:58:48.460 [trace] Creating raw notebook for resource '~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb'
10:58:49.636 [debug] Get Custom Env Variables, Class name = Em, completed in 37ms, has a truthy return value, Arg 1: "/c:/Users/~/Documents/python/him-on-gr-hbn/odmr_hamiltonian.ipynb", Arg 2: "RunPythonCode"
10:58:51.264 [trace] Hiding default KernelSpec python for interpreter ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe (KernelSpec file ~\Documents\python\him-on-gr-hbn\.venv\share\jupyter\kernels\python3\kernel.json)
10:58:51.268 [trace] Hiding default KernelSpec python for interpreter ~\AppData\Local\Programs\Python\Python310\python.exe (KernelSpec file ~\AppData\Local\Programs\Python\Python310\share\jupyter\kernels\python3\kernel.json)
10:58:51.271 [debug] End refreshing Kernel Picker<PHONE_NUMBER>776)
10:58:54.460 [debug] Launching kernel .jvsc74a57bd0530c4a137a047274ab3f434e8a010a3ceb054fdce29930fb1bbedd1e341274af.c:\Users\~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe.c:\Users\~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe.-m#ipykernel_launcher for ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb in ~\Documents\python\him-on-gr-hbn with ports 9001, 9000, 9004, 9002, 9003
10:58:54.560 [debug] Get Custom Env Variables, Class name = Em, completed in 5ms, has a truthy return value, Arg 1: "/c:/Users/~/Documents/python/him-on-gr-hbn/odmr_hamiltonian.ipynb", Arg 2: "RunPythonCode"
10:58:54.605 [warn] Failed to get activated env vars for ~\AppData\Local\Programs\Python\Python310\python.exe in 50ms
10:58:54.686 [debug] Create ProcessService, Class name = Cm (started execution), Arg 1: undefined
10:58:54.702 [debug] Get Custom Env Variables, Class name = Em, completed in 16ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunNonPythonCode", Arg 3: undefined
10:58:54.703 [debug] Create ProcessService, Class name = Cm, completed in 17ms, has a truthy return value, Arg 1: undefined
10:58:54.914 [info] Process Execution: ~\AppData\Local\Programs\Python\Python310\python.exe -c "import site;print("USER_BASE_VALUE");print(site.USER_SITE);print("USER_BASE_VALUE");"
10:59:03.230 [debug] Got env vars from Python Ext in 13631ms for ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe, with env var count 70.
10:59:03.231 [trace] Prepend PATH with python bin for ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe
10:59:03.233 [debug] Getting activated env variables, Class name = vd, completed in 13633ms, has a truthy return value, Arg 1: "/c:/Users/~/Documents/python/him-on-gr-hbn/odmr_hamiltonian.ipynb", Arg 2: "~\\DOCUMENTS\\PYTHON\\HIM-ON-GR-HBN\\.VENV\\SCRIPTS\\PYTHON.EXE", Arg 3: undefined
10:59:03.429 [info] Process Execution: ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
10:59:03.435 [debug] Got env vars from Python Ext in 14982ms for ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe, with env var count 70.
10:59:03.435 [trace] Prepend PATH with python bin for ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe
10:59:03.438 [debug] Getting activated env variables, Class name = vd, completed in 14985ms, has a truthy return value, Arg 1: "/c:/Users/~/Documents/python/him-on-gr-hbn", Arg 2: "~\\DOCUMENTS\\PYTHON\\HIM-ON-GR-HBN\\.VENV\\SCRIPTS\\PYTHON.EXE", Arg 3: undefined
10:59:03.538 [info] Process Execution: ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe -m pip list
10:59:03.543 [trace] USER_SITE for ~\AppData\Local\Programs\Python\Python310\python.exe is c:\Users\~\AppData\Roaming\Python\Python310\Scripts
10:59:03.545 [trace] Prepend PATH with user site path for ~\AppData\Local\Programs\Python\Python310\python.exe, user site c:\Users\~\AppData\Roaming\Python\Python310\Scripts
10:59:03.547 [trace] Prepend PATH with python bin for ~\AppData\Local\Programs\Python\Python310\python.exe
10:59:03.548 [debug] Getting activated env variables, Class name = vd, completed in 8993ms, has a truthy return value, Arg 1: "/c:/Users/~/Documents/python/him-on-gr-hbn/odmr_hamiltonian.ipynb", Arg 2: "~\\APPDATA\\LOCAL\\PROGRAMS\\PYTHON\\PYTHON310\\PYTHON.EXE", Arg 3: undefined
10:59:03.673 [info] Process Execution: ~\AppData\Local\Programs\Python\Python310\python.exe c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.0-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 34900
    > cwd: ~\.vscode\extensions\ms-toolsai.jupyter-2024.8.0-win32-x64\pythonFiles\vscode_datascience_helpers
10:59:05.657 [debug] Interpreter for Pylance for Notebook URI "~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb" is ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe
10:59:06.727 [trace] Got a response of 1332 for INITIALIZE_INTERRUPT:0
10:59:07.041 [info] Process Execution: ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe -m ipykernel_launcher --f=c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v3db96837470e269fe4dd2611b93ff2808dd8baa76.json
    > cwd: ~\Documents\python\him-on-gr-hbn
10:59:07.042 [debug] Kernel process 90648.
10:59:08.018 [trace] ipykernel version & path 6.25.1, ~\Documents\python\him-on-gr-hbn\.venv\lib\site-packages\ipykernel\__init__.py for ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe
10:59:19.975 [debug] Waiting for Raw Session to be ready in postStartRawSession
10:59:19.976 [debug] Waiting for Raw session to be ready, status: connected
10:59:19.976 [trace] Raw session connected
10:59:19.979 [debug] Waited for Raw session to be ready & got status: connected
10:59:19.979 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
10:59:19.980 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
10:59:19.980 [debug] Sending request for kernelInfo
10:59:19.984 [debug] Kernel output 90648: To connect another client to this kernel, use:
--existing c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v3db96837470e269fe4dd2611b93ff2808dd8baa76.json
10:59:20.320 [trace] Got response for requestKernelInfo
10:59:20.326 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 346ms
10:59:20.334 [trace] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
10:59:20.399 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
10:59:20.402 [trace] Started running kernel initialization for ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb
10:59:20.406 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
10:59:20.945 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
10:59:20.947 [trace] Determined IPyWidgets Version as 8
10:59:20.949 [trace] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
10:59:21.018 [trace] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
10:59:21.020 [debug] Requesting Kernel info
10:59:21.023 [trace] Got Kernel info
10:59:21.026 [trace] End running kernel initialization, now waiting for idle
10:59:21.029 [trace] Waiting for idle on (kernel): e278fc51-90d6-4f02-b8c5-68db0f87afdf -> idle
10:59:21.032 [trace] Finished waiting for idle on (kernel): e278fc51-90d6-4f02-b8c5-68db0f87afdf -> idle
10:59:21.035 [trace] End running kernel initialization, session is idle
10:59:21.040 [trace] Registering Kernel Completion Provider from kernel .venv (Python 3.10.11) for language python
10:59:21.043 [info] Kernel successfully started
10:59:21.342 [trace] Conda file is conda
10:59:29.784 [trace] IPyWidgetScriptSource.initialize
10:59:29.789 [trace] Registering commtarget jupyter.widget
10:59:29.795 [debug] Start refreshing Interpreter Kernel Picker
10:59:29.796 [debug] Start refreshing Kernel Picker<PHONE_NUMBER>796)
10:59:29.808 [trace] Version of IPyWidgets 8 determined after 0.013s
10:59:29.821 [debug] getDataDirsImpl, Class name = Mr (started execution), Arg 1: "/c:/Users/~/Documents/python/him-on-gr-hbn/odmr_hamiltonian.ipynb", Arg 2: "~\\DOCUMENTS\\PYTHON\\HIM-ON-GR-HBN\\.VENV\\SCRIPTS\\PYTHON.EXE"
10:59:29.833 [debug] Get Custom Env Variables, Class name = Em, completed in 11ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
10:59:29.834 [debug] Jupyter Paths :
10:59:29.946 [info] Process Execution: ~\Documents\python\him-on-gr-hbn\.venv\Scripts\python.exe c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.0-win32-x64\pythonFiles\printJupyterDataDir.py
10:59:30.716 [trace] Web view is ready to receive widget messages
10:59:30.772 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
10:59:30.962 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
10:59:30.979 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
10:59:30.984 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
10:59:30.990 [trace] IPyWidget version in Kernel is 8.
10:59:30.994 [trace] Version of IPyWidgets 8 determined after 0s
10:59:30.997 [trace] Version of IPyWidgets 8 determined after 0s
10:59:31.000 [trace] Version of IPyWidgets 8 determined after 0s
10:59:31.002 [trace] Version of IPyWidgets 8 determined after 0s
10:59:31.005 [trace] Version of IPyWidgets 8 determined after 0s
10:59:31.007 [trace] Version of IPyWidgets 8 determined after 0s
10:59:31.010 [trace] Version of IPyWidgets 8 determined after 0s
10:59:31.031 [trace] Version of IPyWidgets 8 determined after 0s
10:59:31.039 [trace] Version of IPyWidgets 8 determined after 0s
10:59:31.045 [trace] Version of IPyWidgets 8 determined after 0.001s
10:59:31.264 [debug] Got an empty Jupyter Data Dir from C:\USERS\~\DOCUMENTS\PYTHON\HIM-ON-GR-HBN\.VENV\SCRIPTS\PYTHON.EXE, stderr = undefined
10:59:31.266 [debug] getDataDirsImpl, Class name = Mr, completed in 1445ms, has a truthy return value, Arg 1: "/c:/Users/~/Documents/python/him-on-gr-hbn/odmr_hamiltonian.ipynb", Arg 2: "~\\DOCUMENTS\\PYTHON\\HIM-ON-GR-HBN\\.VENV\\SCRIPTS\\PYTHON.EXE", Return Value: <Uri:/C:/Users/~/AppData/Roaming/jupyter>, <Uri:/c:/Users/~/Documents/python/him-on-gr-hbn/.venv/share/jupyter>, <Uri:/C:/ProgramData/jupyter>
10:59:31.685 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/AppData/Roaming/Code/User/globalStorage/ms-toolsai.jupyter/version-2024.8.0/scripts/e9ac82aaf2ad2d16929a7cbb865fe7cef73d4baa9d85df44fa21cb9449fb496b/jupyter
10:59:31.694 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/AppData/Roaming/Code/User/globalStorage/ms-toolsai.jupyter/version-2024.8.0/scripts/e9ac82aaf2ad2d16929a7cbb865fe7cef73d4baa9d85df44fa21cb9449fb496b/jupyter
10:59:32.098 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"jupyter-matplotlib","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/AppData/Roaming/Code/User/globalStorage/ms-toolsai.jupyter/version-2024.8.0/scripts/e9ac82aaf2ad2d16929a7cbb865fe7cef73d4baa9d85df44fa21cb9449fb496b/jupyter/nbextensions/jupyter-matplotlib/index","source":"local"}]
10:59:32.103 [trace] Widget Message: Source for IPyWidget jupyter-matplotlib found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/AppData/Roaming/Code/User/globalStorage/ms-toolsai.jupyter/version-2024.8.0/scripts/e9ac82aaf2ad2d16929a7cbb865fe7cef73d4baa9d85df44fa21cb9449fb496b/jupyter/nbextensions/jupyter-matplotlib/index.
10:59:32.112 [trace] Widget Message: Registering IPyWidget jupyter-matplotlib found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/AppData/Roaming/Code/User/globalStorage/ms-toolsai.jupyter/version-2024.8.0/scripts/e9ac82aaf2ad2d16929a7cbb865fe7cef73d4baa9d85df44fa21cb9449fb496b/jupyter/nbextensions/jupyter-matplotlib/index.
10:59:36.773 [debug] Handle Execution of Cells 5 for ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb
10:59:36.777 [trace] Execute Notebook ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 1
10:59:36.779 [trace] Connect to Kernel ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 2
10:59:36.782 [trace] Connected to Kernel ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 3
10:59:36.784 [trace] executeCell 5. Step 4
10:59:36.790 [trace] Cell Index:5 sent to kernel
10:59:36.825 [trace] Start cell 5 execution @<PHONE_NUMBER>821 (clear output)
10:59:36.833 [debug] Kernel acknowledged execution of cell 5 @<PHONE_NUMBER>821
10:59:38.129 [debug] Handle Execution of Cells 6 for ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb
10:59:38.131 [trace] Execute Notebook ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 1
10:59:38.132 [trace] Connect to Kernel ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 2
10:59:38.134 [trace] Connected to Kernel ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 3
10:59:38.135 [trace] executeCell 6. Step 4
10:59:41.402 [debug] Handle Execution of Cells 7 for ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb
10:59:41.404 [trace] Execute Notebook ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 1
10:59:41.405 [trace] Connect to Kernel ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 2
10:59:41.407 [trace] Connected to Kernel ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 3
10:59:41.410 [trace] executeCell 7. Step 4
10:59:48.036 [debug] Handle Execution of Cells 29 for ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb
10:59:48.037 [trace] Execute Notebook ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 1
10:59:48.039 [trace] Connect to Kernel ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 2
10:59:48.041 [trace] Connected to Kernel ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 3
10:59:48.042 [trace] executeCell 29. Step 4
10:59:49.250 [trace] Cell 5 completed in 12.428s (start:<PHONE_NUMBER>821, end:<PHONE_NUMBER>249)
10:59:49.253 [trace] Cell 5 executed successfully
10:59:49.257 [trace] Cell Index:6 sent to kernel
10:59:49.296 [trace] Start cell 6 execution @<PHONE_NUMBER>296 (clear output)
10:59:49.300 [debug] Kernel acknowledged execution of cell 6 @<PHONE_NUMBER>296
10:59:55.301 [trace] Python API env change detected, update => 'C:\USERS\~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE'
10:59:55.306 [trace] Python API env change detected, update => 'C:\USERS\~\DOCUMENTS\PYTHON\HIM-ON-GR-HBN\.VENV\SCRIPTS\PYTHON.EXE'
10:59:55.313 [trace] Python API env change detected, update => 'C:\USERS\~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.10.EXE'
10:59:55.317 [trace] Python API env change detected, update => 'C:\PROGRAM FILES\INKSCAPE\BIN\PYTHON.EXE'
10:59:55.321 [trace] Python API env change detected, update => 'C:\USERS\~\.LOCAL\PIPX\VENVS\POETRY\SCRIPTS\PYTHON.EXE'
10:59:55.336 [debug] Refreshed Environments
10:59:56.342 [debug] End refreshing Kernel Picker<PHONE_NUMBER>796)
11:00:08.150 [trace] Cell 6 completed in 18.854s (start:<PHONE_NUMBER>296, end:<PHONE_NUMBER>150)
11:00:08.151 [trace] Cell 6 executed successfully
11:00:08.155 [trace] Cell Index:7 sent to kernel
11:00:08.172 [trace] Start cell 7 execution @<PHONE_NUMBER>172 (clear output)
11:00:08.177 [debug] Kernel acknowledged execution of cell 7 @<PHONE_NUMBER>172
11:00:08.214 [trace] Cell 7 completed in 0.042s (start:<PHONE_NUMBER>172, end:<PHONE_NUMBER>214)
11:00:08.216 [trace] Cell 7 executed successfully
11:00:08.219 [trace] Cell Index:30 sent to kernel
11:00:08.252 [trace] Start cell 30 execution @<PHONE_NUMBER>252 (clear output)
11:00:08.255 [debug] Kernel acknowledged execution of cell 30 @<PHONE_NUMBER>252
11:00:08.270 [trace] Cell 30 completed in 0.018s (start:<PHONE_NUMBER>252, end:<PHONE_NUMBER>270)
11:00:08.272 [trace] Cell 30 executed successfully
11:00:12.451 [debug] Execution of code ms-toolsai.jupyter-1 completed in 149ms
11:00:22.147 [debug] Handle Execution of Cells 29 for ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb
11:00:22.148 [trace] Execute Notebook ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 1
11:00:22.150 [trace] Connect to Kernel ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 2
11:00:22.152 [trace] Connected to Kernel ~\Documents\python\him-on-gr-hbn\odmr_hamiltonian.ipynb. Step 3
11:00:22.153 [trace] executeCell 29. Step 4
11:00:22.155 [trace] Cell Index:29 sent to kernel
11:00:22.166 [trace] Start cell 29 execution @<PHONE_NUMBER>166 (clear output)
11:00:22.169 [debug] Kernel acknowledged execution of cell 29 @<PHONE_NUMBER>166
11:00:22.287 [trace] Widget Message: WidgetManager: Loading class LayoutModel:@jupyter-widgets/base:2.0.0
11:00:22.333 [trace] Widget Message: WidgetManager: Loading class MPLCanvasModel:jupyter-matplotlib:^0.11
11:00:22.354 [trace] Widget Message: WidgetManager: failed, Loading class MPLCanvasModel:jupyter-matplotlib:^0.11
11:00:22.361 [error] Widget load failure {} [ 'jsdelivr.com', 'unpkg.com' ] {
  className: 'MPLCanvasModel',
  moduleName: 'jupyter-matplotlib',
  moduleVersion: '^0.11',
  isOnline: true,
  timedout: false,
  error: '{}'
}
11:00:22.364 [trace] Widget Message: WidgetManager: Loading class LayoutModel:@jupyter-widgets/base:2.0.0
11:00:22.371 [trace] Widget Message: WidgetManager: Loading class ToolbarModel:jupyter-matplotlib:^0.11
11:00:22.378 [trace] Widget Message: WidgetManager: failed, Loading class ToolbarModel:jupyter-matplotlib:^0.11
11:00:22.384 [error] Widget load failure {} [ 'jsdelivr.com', 'unpkg.com' ] {
  className: 'ToolbarModel',
  moduleName: 'jupyter-matplotlib',
  moduleVersion: '^0.11',
  isOnline: true,
  timedout: false,
  error: '{}'
}
11:00:22.782 [trace] Widget Message: Received display data message b4986c36d0bd4993a0390556fe1ae95e
11:00:22.791 [trace] Cell 29 completed in 0.623s (start:<PHONE_NUMBER>166, end:<PHONE_NUMBER>789)
11:00:22.793 [trace] Cell 29 executed successfully
11:00:22.851 [trace] Version of IPyWidgets 8 determined after 0s
11:00:22.919 [trace] Widget Message: Waiting for model to be available before rendering it b4986c36d0bd4993a0390556fe1ae95e
11:00:22.922 [trace] Widget Message: WidgetManager: Loading class ErrorWidgetView:@jupyter-widgets/base:2.0.0
11:00:22.929 [trace] Widget Message: WidgetManager: Loading class LayoutView:@jupyter-widgets/base:2.0.0

Definitely reproducible:

Tested on simple code and minimal packages.

I have the same issue.
If I remove the line "jupyter.widgetScriptSources": ["jsdelivr.com", "unpkg.com"] from the settings.json file it will ask to download the widget (and add that line back into the json). This then lets the widget work.
However, if I then reload VSCode again the same error returns.

It is also mentioned in the Settings that one should not remove both lines:

Duplicate of https://github.com/microsoft/vscode-jupyter/issues/16008


Upgrading dependencies

Hi @danybeltran, there are some changes in my pull request.

Removing the caret (^) to use exact versions of dependencies.
Updating GitHub Action for testing.

awesome! thnx


RevealBackgroundBrush doesn't follow cursor position

Describe the bug
I noticed that the RevealBackgroundBrush doesn't follow the cursor position, unlike the RevealBorderBrush which works just fine. Here you can see that the border brush is correctly following the cursor (ignore the mouse offset, that's due to DPI scaling), while the background light remains stuck in the top left corner.

Steps to reproduce the bug

Steps to reproduce the behavior:

Create a new app targeting (I tried targeting both 17134 and 17763, same result)
Paste this code in the main page:

<Grid Background="#FF101010">
    <Grid Margin="120">
        <Border x:Name="BackgroundBrush">
            <Border.Background>
                <RevealBackgroundBrush TargetTheme="Dark"/>
            </Border.Background>
        </Border>
        <Border BorderThickness="2">
            <Border.BorderBrush>
                <RevealBorderBrush TargetTheme="Dark"/>
            </Border.BorderBrush>
        </Border>
    </Grid>
</Grid>

And this in the main page constructor:
this.Loaded += (s, e) => RevealBrush.SetState(BackgroundBrush, RevealBrushState.PointerOver);

Expected behavior
Both the background light and the border light should follow the mouse cursor around.
Version Info
Latest version of VS Enterprise, W10 Pro x64 17736.194
NuGet package version:

Windows 10 version:

[ ] Insider Build (xxxxx)
[X] October 2018 Update (17763)
[ ] April 2018 Update (17134)
[ ] Fall Creators Update (16299)
[ ] Creators Update (15063)
[ ] Anniversary Update (14393)

Device form factor:

[X] Desktop
[ ] Mobile
[ ] Xbox
[ ] Surface Hub
[ ] IoT

Additional context
Note that using a custom brush works fine, it's just the builtin implementation of the RevealBackgroundBrush that doesn't seem to be working right.
If I manually create a PointerPositionSpotLight, add it to the root UI element, create a brush and assign the brush to it, and use that as the background light brush, then it works just fine and the light correctly follows the pointer around.

Oh, I see now what you're saying. That is a problem we've seen occasionally but I wasn't aware of any current issues about it.
Could you try the nuget package that we just pushed to the feed yesterday?
If it still repros then I'd like @DmitriyKomin to take a look.

@jevansaks That might actually be a problem.
I can't currently set the SDK 17763 as target SDK, as that immediately breaks the app build, due to a known issue (post on the MSDN forum here).
So because of that, I can't even use the WinUI library at the moment 😕
Should I assume then that the whole RevealBackgroundBrush brush, the implementation linked to the Windows 10 version, will just keep having this glitch until I eventually move on to 19H1?


[gui error report] Error: Command failed: powershell.exe -NoProfile -NonInteractive -InputF

👉 Please describe what you were doing when this error happened.
Specifications

OS: win32 10.0.19045
IPFS Desktop Version: 0.27.0
Electron Version: 19.1.9
Chrome Version: 102.0.5005.167

Error
Error: Command failed: powershell.exe -NoProfile -NonInteractive -InputFormat None -Command Get-AuthenticodeSignature -LiteralPath 'C:\Users\linar\AppData\Local\ipfs-desktop-updater\pending\temp-IPFS-Desktop-Setup-0.28.0.exe' | ConvertTo-Json -Compress | ForEach-Object { [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($_)) }

    at ChildProcess.exithandler (node:child_process:408:12)
    at ChildProcess.emit (node:events:526:28)
    at maybeClose (node:internal/child_process:1092:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)

See workaround in https://github.com/ipfs/ipfs-desktop/issues/2335#issuecomment-2161827010


Waterfall sound repeating and not stopping at spot where water meets magma

Mod Version:
1.12.2 - <IP_ADDRESS>
Forge Version:
<IP_ADDRESS>07
Link to crash log (if applicable):
N/A
Description:
Heard repeating waterfall sound over and over at the spot where a waterfall encountered a magma block. No crash, but the sound persisted even after closing the server and kept playing even throughout the main menu.

Seems to have fixed it, for me at least.

There is one thing I noticed with the waterfall sound is that it can cause other sounds to Mute, e.g the footstep sounds just dissappear, equipment "switch" sounds stop playing, ....
This might happen if there are too many waterfall sounds playing at once.
E.g. in my case using Quark Realistic with Worleys Caves and Subterranean Waters causes a lot of waterfalls.
Setting Waterfall Cutoff didn't help
The only thing (workaround) that "fixed" the issue instantly for me as
        dsurround:waterfall.0 block
        dsurround:waterfall.1 block
        dsurround:waterfall.2 block
        dsurround:waterfall.3 block
        dsurround:waterfall.4 block
        dsurround:waterfall.5 block

(basically block the waterfall sound from playing, which I did from the ingame mod configuration)

I'm on <IP_ADDRESS>, and I still get this when removing flowing water. Relogging works, and I've gone ahead and disabled the waterfall sounds in my instance. It seems that the code to stop the sound when the water stops flowing is broken.

I am fixing a bug related to waterfall handling.  I think it addresses this one as well.  Going to mark it fixed for now.  The change will show up in the next maintenance release (<IP_ADDRESS>).

Pushed DynamicSurroundings-1.12.2-<IP_ADDRESS> to CurseForge.


Custom Video Prediction sample code

Hi team,
First of all, thank you so much for every single effort in pushing ImageAI to be this great framework.
Can show me the sample code to use custom model to predict the video and overlay the result frame-by-frame? Sample in this video: https://www.youtube.com/watch?v=jmE4JAa6zgo
This is from ActionNet, which also uses ImageAI. I found there's CustomImagePrediction and assume we could loop each frame in the video to process. However, I'm very new to Python, so I want to see if someone has any simple way / best practice to do. That'd be appreciated.
Thanks,
Brad

See the full code below.
predictor = CustomImagePrediction()
    predictor.setModelPath(model_path="action_net_ex-060_acc-0.745313.h5")
    predictor.setJsonPath(model_json="model_class.json")
    predictor.loadFullModel(num_objects=16)

    cap = cv2.VideoCapture(os.path.join(execution_path, "test-videos", "video.mp4"))
    output_video = cv2.VideoWriter(os.path.join(execution_path, "test-videos", "video-result.avi"), cv2.VideoWriter_fourcc('M', 'J', 'P', 'G'),
                                   24, ((int(cap.get(3)), int(cap.get(4)))))

    progress_tracker = 0
    response_label = ""
    skip_frame = 5

    while (cap.isOpened()):
        valid, frame = cap.read()

        if valid == True:
            progress_tracker += 1

            if (progress_tracker % skip_frame == 0):

                cv2.imwrite("video_image.jpg", frame)

                try:
                    predictions, probabilities = predictor.predictImage(
                        image_input="video_image.jpg", result_count=1)
                    print(predictions, " : ", probabilities)
                    response_label = predictions[0] + " : " + probabilities[0][0:3] + "%"
                except:
                    None

            font = cv2.FONT_HERSHEY_PLAIN
            frame = cv2.putText(frame, '{}'.format(response_label), (150, 35), font, 3, (207, 109, 4), 3, cv2.LINE_AA)
            cv2.imshow('Image Viewer', frame)

            output_video.write(frame)

            if cv2.waitKey(1) & 0xFF == ord('q'):
                break

        else:
            break

    cap.release()
    output_video.release()
    cv2.destroyAllWindows()
`


hangman game using python

Create Hangman Game using Python

ping me here once the issue is solved

sorry for the blunders, and thank you for pointing out the bugs

ping me here once the issue is solved


[$500] [One expense report] Approving a one-expense report and navigating back to it results in infinite skeleton loader

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @JmillsExpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1719260322759149?thread_ts=1718639291.925919&cid=C049HHMV9SM
Action Performed:

Pre-requisite: Create a Collect policy on OldDot, configure bank account and auto-reimbursement. Require manual approvals.
Have a workspace member submit a report for one single $50 expense
Have the approver approve the report
Navigate away from the report
Navigate back

Expected Result:
This is the expected result, but we want to update this to Implement a skeleton loader that can serve as a placeholder for either the report preview or the expense details in the case of a one-expense report. This loader will provide a smoother transition and more consistent user experience while the system determines and retrieves the correct view.

Actual Result:
You see a report with an infinite loader for a single expense preview
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~013fae0265fccbdf4d
Upwork Job ID:<PHONE_NUMBER>903286119
Last Price Increase: 2024-07-04

Issue OwnerCurrent Issue Owner: @ahmedGaber93

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

I can't reproduce this on staging or prod.

I reproduced the slow loading in my high-volume account, but I'm trying to figure out how to move forward here since I can't get the infinite loader a la "You see a report with an infinite loader for a single expense preview".

Ok, so this is a bit of a bigger fix for this problem, but I'll summarize the thread:
Problem Users experience a delay in viewing the transaction details of one-expense reports, initially seeing a transaction preview instead of the expense preview. This is due to a scaling issue for large expenses where we load a default view and must wait for onyx data to be returned to know which type of view we should show: report or expense detail. The current approach causes a jarring user experience as the view switches from preview to details once the actual data is retrieved.
Solution: Implement a skeleton loader OR a spinner (😬) that can serve as a placeholder for either the report preview or the expense details in the case of a one-expense report. This loader will provide a smoother transition and more consistent user experience while the system determines and retrieves the correct view.

Jk, @dubielzyk-expensify just handled in thread. We're going with the skeleton route!

Alright, updated the OP with our new 'expected' outcome.

Waiting on proposals

Waiting on proposals

Maybe a higher price will fetch some proposals.

Waiting on proposals

Waiting on proposals

@ahmedGaber93 do you want to look into this yourself? I'm somewhat inclined to think it might also have the same, if not similar root cause as this reported issue as well: https://github.com/Expensify/App/issues/44878

I am facing some difficulties in reproducing this issue.

Pre-requisite: Create a Collect policy on OldDot, configure bank account and auto-reimbursement. Require manual approvals.

I create new collect workspace on OldDot, and from NewDot in workspace settings > workflow I was adding bank account following this slack thread.

settings > workflow

How can I enable "auto-reimbursement. Require manual approvals"? CC @trjExpensify @m-natarajan
and when trying to reproduce without enable them, I can't reproduce the issue.
https://github.com/Expensify/App/assets/41129870/daf9a54a-e7d1-4e5a-8ae8-4a33b10ededc

How can I enable "auto-reimbursement.

@ahmedGaber93, if you go to the workspace settings in OldDot. Head to the Reimbursements page, and then check there's a manual reimbursement threshold value there. The default for auto-reimbursement is $100 I believe, so submit an expense report below $100 for it to be auto-reimbursed after approval.

Require manual approvals"?

Go to the workspace on OldDot. Head to the Members page, and modify this value to $0.00. That will make all expense reports require manual approval.

I am investing some hours to reproduce this issue but still not able to reproduce the exact case, but I notice when opening IOU preview with a single transaction for the first time to approve it, it always opens like that with multiple transaction without full screen loading (fullscreen loading show only for report loading not transaction loading), I will investigate tomorrow if we can show fullscreen loading while the single transaction is loading or not?

screenshot

vide
https://github.com/Expensify/App/assets/41129870/4d7cafa6-9edc-4be5-a031-3fa0e8908d01

Thanks, @ahmedGaber93. Did you get any further on this investigation?

I will investigate tomorrow if we can show fullscreen loading while the single transaction is loading or not?

@trjExpensify I will work on it today as I didn't find enough time yesterday.

Still investigating

I will investigate tomorrow if we can show fullscreen loading while the single transaction is loading or not?

I think displaying fullscreen loading instead of loading preview actions is not the good way to fix this issue, because there is no case we should display any preview actions for one transaction reports, and this probably displayed by some malformed data.

@garrettmknight I think this a "Bug" not as "New feature" and we need to be able to reproduce it as I am not able to reproduce it right now.

No proposals yet

@JmillsExpensify also hasn't seen the expense preview skeleton loading again either, so we can close this one too.


[ML-5672] simplify docker/travis setup

Similar to https://github.com/databricks/spark-deep-learning/commit/846bfc0509ec5f8ba6641e535a9021a24cdef210 we use docker/docker-compose to describe the test env and hence simplify the content in .travis.yml.
A major difference between this PR and https://github.com/databricks/spark-deep-learning/commit/846bfc0509ec5f8ba6641e535a9021a24cdef210 is that we use conda to activate the env instead of updating env variables directly. This provides better compatibility. But we need to use interactive shell to load the profile (bash -i).
We also mount "~/.ivy2" to avoid unnecessary download in sbt build.

LGTM, thanks!


SSL for downloads site

I'm working on enabling SSL for everything in Asterisk.  One of the scripts downloads jansson from http://www.digip.org/jansson/releases/ to support building it for unpackaged build of jansson.  Would it be possible to enable SSL for this site?  I'm unsure of your server configuration but free certificates can be acquired from https://letsencrypt.org/.
I know you're busy but I hope you'll consider making this change.  The main problem is that I need a place to download release tarballs which includes the generated 'configure' and verify it.  Currently the downloads and signatures are only available from HTTP.

Why don't you just use the release here on GitHub: https://github.com/akheron/jansson/releases?

The point of signatures is, if you have imported the correct Petri Lehtinen public key into your system, no one else can create a signature which that public key validates. So if you check the signatures correctly, then you don't need "secure" downloads of the tarballs nor the signatures, because a maliciously substituted signature would not be made with the correct public key.

But how can you trust the signature posted on an HTTP site where the package and signature could be generated by a man in the middle attacker?

You're thinking of a hash, like sha256. An attacker can generate a hash of the malicious tarball, and substitute it the same was as the tarball. A "signature by Petri Lehtinen's private key" cannot be made by an attacker. And with Petri Lehtinen's public key, that's what you validate.

I'll have to look into the possibility of using GPG verification, I was thinking of SHA256 or similar hashes.  One issue is that this download is being done from a script and I'm not sure how to check it without manipulating the system itself.  I'll have to see if it's possible to verify a signature matches a public key that is not imported (check against Petri's public key stored in a file only).  I suppose I could use the GPG key to manually verify the file I download then generate an SHA hash to be included in our own tarball.
As for using the github releases they are not the same as the digip.org downloads, they are missing some files such as ./configure.  Adding autoconf as a dependency would be difficult.

Enabling HTTPS has actually been on my todo list for a while. The hosting of digip.org is not entirely in my own hands, but I'll see what I can do.

https://digip.org/jansson/releases/ is correctly setup with Let's encrypt - so this is another issue that can be closed.
And also for the very last release the tarballs and keys were uploaded in the release.
@akheron Maybe you can edit the old releases (from gdigip.org) and post-add at least the tarballs? To have the GitHub Releases as a mirror is a nice thing; it also is good to not only have this, I'm currently working from an machine over SSH which seems to be blocked by GitHub (or its cdn is broken for that area, also possible).


Add Application Auto Scaling

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html

Thanks!


bpf: Fix misaligned access in bpf_xdp with prefilter and IPv6

When both prefilter and IPv6 are enabled, bpf_xdp fails to load with:
51: (79) r1 = *(u64 *)(r2 +30)
52: (7b) *(u64 *)(r10 -12) = r1
misaligned stack access off (0x0; 0x0)+0+-12 size 8

This is caused by the memcpy call on pfx.lpm.data:
memcpy(pfx.lpm.data, &ipv6_hdr->saddr, sizeof(pfx.addr));

This call uses our optimized memcpy implementation which requires the destination on-stack objects to the 8-bytes aligned. Normally we would fix it by aligning the pfx object, but here the destination buffer is actually, pfx.lpm.data which is not at the start of pfx. We therefore need to fallback to the unoptimized, builtin memcpy.
Tests for this regression will come as a separate PR in the form of an extended K8sVerifier test (which is how the regression was found in the first place).
Fixes: https://github.com/cilium/cilium/pull/11089
Fix BPF verifier rejection with IPv6 prefilter

test-me-please

I guess the XDP prefilter is not widely used, so having the slower version of memcpy here is OK. Anyway, it'd be good if @borkmann could take a look too.

Yes, that's what I thought. Plus, it's not a performance regression anyway, since we're just not taking the optimized function that broke prefilter.

I guess the XDP prefilter is not widely used, so having the slower version of memcpy here is OK. Anyway, it'd be good if @borkmann could take a look too.

Yes, that's what I thought. Plus, it's not a performance regression anyway, since we're just not taking the optimized function that broke prefilter.

Yeah looks okay, alternative could be 4-byte wide copies which should also resolve it. But likely not many folks have this enabled anyway.


Fix for #101 merge

Looks like #101 was merged to the "move-to-locators" branch after #100 was merged to master.

@6.1.1


Proposal: fig rm -f shortcut for fig rm --force

Would it be possible to create a shortcut for fig rm --force? That would be cool to type four letters less :)
Currently, the output looks as follows:
$ fig rm -f
Remove stopped service containers.

Usage: rm [options] [SERVICE...]

Options:
    --force   Don't ask to confirm removal
    -v        Remove volumes associated with containers

Thanks,
Pawel

Agreed, we should support -f.

Agree


Refresh supercells with displacements when displacements are set

Codecov Report

Merging #204 (46c110d) into develop (1f3d43a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #204   +/-   ##
========================================
  Coverage    48.81%   48.81%
========================================
  Files          112      112
  Lines        17576    17577    +1
========================================
+ Hits          8580     8581    +1
  Misses        8996     8996

Impacted Files
Coverage Δ

phonopy/api_phonopy.py
50.64% <100.00%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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


Properly install composer dependencies

Q
A

Bug fix?
Yes

New feature?
No

BC breaks?
No

Deprecations?
No

Fixed tickets
N/A

Code should be tested on package versions defined in composer.lock rather then last versions of packages from composer update.
Commit c3564a28ac5289465494c23a1ad763edec4737b2 introduced composer update to workaround symfony php 5.4 compability.

But what is deployer installed via composer require deployer/deployer? Then composer.lock will be ignored. In this case testing with lower/higher deps is better.

@elfet If you want to follow this scenario, then composer.lock should be removed completely. Then both cases (composer require and direct use + composer install) would behave same — install will get last versions.

composer.lock is used when building phar version on build server.


added index to allow quicker lookup of last_result

We experienced problems on certain StatusChecks that had a moderate number of StatusCheckResults that had problems looking up the latest check when updating. This lead to high load on the database and the app not being able to update checks correctly. Having an index on the exact lookup of last_result removes this problem.

Good point @m-brown - let's leave it for compatibility


Labels do not show for the current rack version

There are no labels displayed with the current dev version of rack. Recorder looks as intended, from the other two only clock multiplier is labeled, and no other markings on the modules.

I finally updated the code for Rack 0.4.0, please check if it works now. Send me a screenshot if it's still an issue: https://github.com/dekstop/vcvrackplugins_dekstop/releases

For info, same issues here:
rack0.4.0
Mac Yosemite

Ah ok, thanks. It looks like it's an issue with background texture loading. Unfortunately this part of VCV will change a lot over the coming versions... I'm just looking at converting backgrounds to SVGs.

I just pushed an SVG version of the plugins. I you can compile it yourself, then please check if current HEAD improves things. It compiles against the most recent Rack development version.

Thanks , but no compilation possible here ;-)

Here's an OSX build: dekstop-osx-20171110a.zip

don't work, nothing appear in Rack ( i've rename the folder dekstop-osx)
and there's only 2 svg files in the res folder  ?

Hm ok, then I don't know -- maybe we need to wait until things settle for the 0.5.0 release. (Only two of the plugins use a texture. The Recorder plugin doesn't.)

yes, of course, better to wait 0.5, will be soon now ( #ihope) ;-)

v0.5.0 was just released! When you have a moment, please update both your VCV and the dekstop plugin, and try again:
https://github.com/VCVRack/Rack/releases
https://github.com/dekstop/vcvrackplugins_dekstop/releases

Works fine ! Thanks a lot

Hah, magic!


Azure CP connection disappears in SP 2019

When the confiq wizard is ran on the cache servers, it removes the AzureCP connect in Central Admin.

@mspilot54 it is surprising because both things are quite unrelated, is this something you reproduced more than once?

My customer has been facing this problem since Jul 2022.. Every month, after patching we need to reapply the AzureCP configuration. we couldn't find the cause/ solution to this problem so far..

When the confiq wizard is ran on the cache servers, it removes the AzureCP connect in Central Admin.

Are you facing this issue during every config wizard run?

@vishnookumar based on your description, it seems that the SharePoint config wizard deletes the AzureCP persisted object, which of course should not happen.
Do you know if this happens when a specific server runs the wizard? Or if any SharePoint server will trigger the issue?

@Yvand We always run the wizard first on the central admin server & it triggers this issue always..

Hi there, it happens every time in all environments.  I think it only happens when I run the wizard on the cache server.

Hi there, it happens every time in all environments. I think it only happens when I run the wizard on the cache server.

@mspilot54, can you double check that the AzureCP assemblies are present in the GAC of this server?
A quick way to check that is to validate if you can load this assembly:
Add-Type -AssemblyName "AzureCP, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=65dc6b5903b51636"
[azurecp.AzureCPConfig]::GetConfiguration("AzureCPConfig")

Hi there, it happens every time in all environments. I think it only happens when I run the wizard on the cache server.

@mspilot54, can you double check that the AzureCP assemblies are present in the GAC of this server? A quick way to check that is to validate if you can load this assembly:
Add-Type -AssemblyName "AzureCP, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=65dc6b5903b51636"
[azurecp.AzureCPConfig]::GetConfiguration("AzureCPConfig")

we ran this command, it is able to load the assembly and fetch the Azure CP config.

Tbh I have no idea why SharePoint decides to delete the persisted object while doing the upgrade, I never saw this issue before...
I would encourage you to migrate to EntraCP, but I don't know if it will fix this issue

@Yvand when we move to EntraCP which is a different claim provider, do we need to re-run the user migration?

@vishnookumar nope, this is not necessary because they generate the entities exactly the same way.

@vishnookumar @mspilot54 have you tried to fetch the EntraCP/Azure configuration directly from the SharePoint Config database (by using previously saved PersistenObjectId or simply select * from [objects] where Name like '%CPConfig')?
Do the Status and Version stay the same after executing Configuration Wizard?


Added 'Living MIPs' menu item.

@blimpa up to you if you think this is a good idea. Feel free to merge and/or edit if needed.

@LongForWisdom, thank you for taking the trouble to update the tag list :)


FYI: NCO Constrain previously had invalid results on ARM

Hello,
It looks like prior to https://github.com/jgaeddert/liquid-dsp/commit/f415521f9e5505d318385755554701552bbdd58a#diff-fe503c82f2e39633d33b9e831d08b92999123815a7ac0e61488eec28b43b7b34 , constrain produced invalid results on ARM. This is because converting a negative floating point number to an unsigned integer produces 0 on ARM. I looked through issues but I couldn't tell if you knew this and that's why the fix was applied.
This is quite likely the issue behind https://github.com/jgaeddert/liquid-dsp/issues/160 and https://github.com/jgaeddert/liquid-dsp/issues/146 .
Any liquid-dsp users who might operate on ARM should strongly consider upgrading.
Cheers!

Hey, thanks! I hadn't realized this off hand, but I did notice a decent number of issues on various systems. I still don't love how the NCO operates, and have aspirations to streamline it on several fronts, but am ok pushing it to the back burner until it becomes a hot issue again (to keep the metaphor alive)!


Safebrowsing requests are stuck due to a DNS error

This issue is randomly reproduced when I spend some time with Wi-Fi off, and then get the connection back.
/safebrowsing.js requests are stuck for 15+ seconds in this case
Also, I observe a lot of similar records in the log:
2018/10/17 01:21:48:711  AGUrlRequest	[id=3122] Error connecting to sb.adtidy.org:443. DNS error: 4(non-recoverable failure in name resolution)
2018/10/17 01:21:48:712  AGFilterSafebrowsing	failed to download safebrowsing list match information from safebrowsing api -- some internal error happened (status code 1)

We don't have a function to reread DNS servers settings on network change in AGDnsSettings/ProxyUtils for Mac and Windows platform.

Also, on Mac we may implement triggering this in objc adapter - add FSEvents handler on any change of /etc/resolv.conf.

core/pull-requests/764


release/12.26.0

Update home URL for project
Release updated conda package for 12.26.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.


Additional metadata for processors on CPU details (graphs) display?

As we begin to explore the new worlds of Windows 11 and 12-th Gen Intel CPUs - and their interactions - it could be nice to be able to see some additional data for each of the "logical processors".
Basically, I have 3 possible "enhancements" so far:

for Win10/Win11, some visual indication of the physical cores and their associated logical processors (like a very thin dotted line around each physical core's grouping? Yes, this is a very preliminary suggestion, and doesn't handle very well logical processors that are on the same core but on different rows of the display)

an indication of the type of physical core "type" (like P or E at the start of the %-usage display?)

an indication of "parked" status (like replacing the graph area of a parked core / logical processor with cross-hatching?) - and yes, this may have relevance pre-Windows 11 / 12th-Gen Intel CPUs

Aside from the obvious eye-candy aspects - which may or may not be enough to justify dev time - I am thinking features like these could be of real help in seeing the results of the schedulers (both H/W and S/W) and their interactions with workloads.
And increased visibility into these underlying processes could eventually lead to increased understanding.

indication of the type of physical core "type" (like P or E

The latest nightly build now shows E-Core or P-Core in the tooltip when hovering the mouse over the processor graphs 👍


IE cuts the page url if it is assigned to title

Since the release of<EMAIL_ADDRESS>we use general approach when searching for IE windows, and do it by enumerating window titles. It caused failures of screenshot functional tests, because we are still putting page URLs to the window title, and unfortunately IE cuts them if they are too long. As an example for the screenshot test
url was
http://<IP_ADDRESS>:2000/sj5drnbq/http://localhost:3000/api/es-next/take-screenshot/pages/index.html
and title was:
[ http://<IP_ADDRESS>:2000/sj5drnbq/http://localhost:3000/api/es-next/take-screenshot/pages/index. - internet explorer
html part of URL was missing.
So I propose to put TestRunId in window title instead of page url. What do @inikulin, @helen-dikareva think about it?

I agree of course, because too long page Urls will provide us problems in future, not only for functional tests

So I propose to put TestRunId in window title instead of page url.

As far as I remember we've discussed to use browserWindowId in context of browser providers. Maybe we will switch to it now? TestRun id is intrinsic thing of testcafe it's not quite good to use it in utility library which browser-native will become.

That's fine, except I thought that this is urgent. In that case fix for this issue will be delayed until browser providers will be merged.

OK, let's go with test run id for now

ok


Ignite 2294 SQL DML

Main notices for now:

Move everything you've added to IgniteH2Indexing to separate component like DmlExecutor.
SqlSplitter should not be touched at all.

It also makes sense to wait until all other feature branches will be merged to master.

@svladykin,
Regarding some of your comments:

Use assertEquals(a, b) instead of assert a.eaquals(b) in all tests
There are no keyword based assertions in any new tests that this branch introduces. Please specify where exactly you found those.
JdbcPreparedStatement.executeBatch must throw unsupported exception
Done, removed tests as well.
JdbcPreparedStatement.ensureArgsSize: if we know exact number of parameters from getNativeStatement(), then we have to check parameter index here.
We don't know exact number of params here - PreparedStatement interface does not give that number and H2 library is not among dependencies of ignite-core, therefore we can't cast to H2's JdbcPreparedStatement either.
JdbcQueryTask constuctor: why locQry became Boolean?
Typo, fixed.
JdbcStatement.updateCounterFromQueryResult and updateCnt always use long internally, convert to int if public API needs int.
Done.
Avoid using UUID.randomUUID()
Could you please elaborate on this? JdbcStatement has been using randomUUID for a long time, nothing new added here. And besides that, the only uses of randomUUID I see in this diff are in tests.
executeBatch have to throw SQLFeatureNotSupportedException
Done, removed test as well.
QueryCursorImpl.isResSet rename to isQry Done.
QueryCursorImpl.forUpdateResult: itemCnt must be long, fieldsMeta must not be empty Done.
IgniteSQLException.toJdbcException: always wrap getCause() to another SQLException Done.

The rest is WIP.

Also lets change UUID.randomUUID() to IgniteUuid.randomUuid() in V2 jdbc task.

The ticket is resolved, closing PR.
Please close PRs for your resolved tickets and other non-needed PRs.
Alternatively, ask a committer

to use GitHub UI (committer can associate accounts here: https://gitbox.apache.org/setup/ )
or ./scripts/apply_pull_request.sh from Apache Ignite source.
or mention in commit message 'Fixes #(a number of PR)'.

These methods will automatically close PR.
Feel free to reopen this PR if it is anyway actual.


KfConsumer.java:47-56: Data polling example:...

The puzzle 41-73d202c2 from #41 has to be resolved:
https://github.com/eo-cqrs/eo-kafka/blob/446bb9731e9486671d27b8e2651b668c62935196/src/main/java/org/eocqrs/kafka/consumer/KfConsumer.java#L47-L56
The puzzle was created by @h1alexbel on 26-Feb-23.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@l3r8yJ , I'm Investigated already, data needed to poll the data from broker is the following: timeout in Duration, and topic as String.

@h1alexbel nice, also our docker container will be ready soon. can you assign this issue to me?

@h1alexbel ill take this one too

The puzzle 41-73d202c2 has disappeared from the source code, that's why I closed this issue.

@l3r8yJ this is an updated ticket: #81
in order to render the javadocs I'm needed to edit the puzzle


Makefile: don't ignore return code examples tests

Travis now actually fails for python 3.3, but that's unrelated to this commit.

@joostvanzwieten Can you rebase this against master to confirm that all tests pass now?

Works!


missing rake command in Dockerfile

Pull Request (PR) description
Dockerfile failed to build as it was missing rake inside the bundle exec
This Pull Request (PR) fixes the following issues
Dockerfile build failed with following error:
Step 10/11 : RUN bundle exec release_checks
 ---> Running in ea81d27199df
bundler: command not found: release_checks
Install missing gem executables with `bundle install`
The command '/bin/sh -c bundle exec release_checks' returned a non-zero code: 127```

Tests should be fixed with https://github.com/voxpupuli/puppet-python/pull/519. Could you please rebase your branch? :)

Thank you for you contribute! :) This was already fixed in the master branch by https://github.com/voxpupuli/puppet-python/pull/520. I therefore closing this issue.


cant convert materials for cycles in 2.78

neither 4.0 nor 5.0 can convert materials for cycles and report error like this
Traceback (most recent call last):
  File "G:\Blender\2.78\scripts\addons\mmd_tools\operators\material.py", line 18, in execute
    cycles_converter.convertToCyclesShader(obj)
  File "G:\Blender\2.78\scripts\addons\mmd_tools\cycles_converter.py", line 143, in convertToCyclesShader
    i.material.node_tree.links.new(i.material.node_tree.nodes['Material Output'].inputs['Surface'], outplug)
KeyError: 'bpy_prop_collection[key]: key "Material Output" not found'

location: <unknown location>:-1

hope to fix it

The issue has been fixed in my branch dev_test. You might try it, or just download the raw file cycles_converter.py from this page (or download directly -> cycles_converter.py) and replace your old one. Thank you. :smile:

thank you for fix it and hope to merge to master branch or tell others . i think lots of people hope this too
:)

this issue will be close


why <IP_ADDRESS>:5000 is not treated as insecure registry?

Description
I run a local registry, and pushed an image. At first, I try to pull with <IP_ADDRESS>:5000, it fails. However, it succeeds with localhost:5000.
Steps to reproduce the issue:

run a local registry at :5000
pull images with <IP_ADDRESS>:5000

Describe the results you received:
oot@kind-worker3:/# crictl -D pull <IP_ADDRESS>:5000/pingcap/tidb-operator-e2e:latest
DEBU[0000] PullImageRequest: &PullImageRequest{Image:&ImageSpec{Image:<IP_ADDRESS>:5000/pingcap/tidb-operator-e2e:latest,},Auth:nil,SandboxConfig:nil,}
DEBU[0000] PullImageResponse: nil
FATA[0000] pulling image failed: rpc error: code = Unknown desc = failed to resolve image "<IP_ADDRESS>:5000/pingcap/tidb-operator-e2e:latest": no available registry endpoint: failed to do request: Head https://<IP_ADDRESS>:5000/v2/pingcap/tidb-operator-e2e/manifests/latest: http: server gave HTTP response to HTTPS client
root@kind-worker3:/# crictl -D pull localhost:5000/pingcap/tidb-operator-e2e:latest
DEBU[0000] PullImageRequest: &PullImageRequest{Image:&ImageSpec{Image:localhost:5000/pingcap/tidb-operator-e2e:latest,},Auth:nil,SandboxConfig:nil,}
DEBU[0000] PullImageResponse: &PullImageResponse{ImageRef:sha256:fb856176674ffb86916404ec985b2be41bd7034d54def6f18db3c8ff33c84a52,}
Image is up to date for sha256:fb856176674ffb86916404ec985b2be41bd7034d54def6f18db3c8ff33c84a52

Describe the results you expected:
I hope we can pull images with <IP_ADDRESS>:5000.
Output of containerd --version:
# ./containerd --version
containerd github.com/containerd/containerd 1.2.6-0ubuntu1

Any other relevant information:

This should have been fixed in containerd 1.2.8
https://github.com/containerd/cri/issues/1201


Add exchanges Dusseldorf & Hamburg; shift Frankfurt early close

Add exchanges Dusseldorf & Hamburg. Their schedules appear identical, but I'm basing off tradinghours.com because English resources not as good as for Frankfurt. But the later close supported by Yahoo Finance (1T5.DU)
Then I shifted Frankfurt's December early close, because CBOE thinks its 2pm. https://www.cboe.com/about/hours/european-equities I couldn't find any other confirmation of what early close should be.
Any German-speakers can cross-check?

Found the announcement for 2023: https://cms.boerse-frankfurt.de/fileadmin/Bilder/Handel/Jahresschlussboerse_2023/Bekanntmachung_FWB_zur_Jahresschlussboerse_2023.pdf

Thanks for this PR @ValueRaider, and for the input @jenskeiner.


Reorder Bootstrapping Flow (part of bootstrap meeting)

The current control flow of the bootstrapping process involves synchronizing the snarked ledger before we verify the scan state associated with the block that points to the snarked ledger we download. We should actually verify the scan state before synchronizing the snarked ledger, otherwise and adversary can trick us into synchronizing to a snarked ledger for a completely invalid state. An adversary can provide us with a valid block with an invalid scan state, but they cannot provide us with a valid block with an invalid snarked ledger. Reordering control flow reduces the possibility for an adversary to make us download an invalid snarked ledger.

Discussed this at the bootstrap meeting, we've decided that this is important to do for mainnet but otherwise not a high priority.


[NodeJS question] TypeError: This handle type can't be sent

I'm dealing with NodeJS multiple processes and would like to send the socket handle to a different process by process.send(message, sendHandle)
AFAIK, this would be possible by sending a net.Socket instance in the sendHandle parameter. Is it possible to get the net.Socket handle from uWebSocket's WebSocket instance?
Thanks

No this is not supported

@alexhultman thanks for your reply. Do you have any idea if it would be possible to have in uWS? If you can give me some direction I'd like to contribute by implementing this.

Is it possible in websockets/ws? It certainly is possible but I haven't considered per process concurrency.


Axis=y broken with line-height: 1.15 and font-family: sans-serif

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Axis=y broken with line-height: 1.15 and font-family: sans-serif.
Expected Behavior

Scroll like example Axis.
Current Behavior

Can not scroll to the second slide on iOS and MacOS.
Steps to Reproduce (for bugs)

Use Safari on  iOS (10 or 11) or Chrome on MacOS (10.13.3)
Open https://codesandbox.io/s/o7kkqvnzxy
Scroll and watch

Context

It's a special bad case I meet when using normalize.css and Sans-serif font.
Your Environment

Tech
Version

react-swipeable-views
0.12.13

React
16.2.0

platform
iOS and MacOS

etc

BTW. I found a hack way to solve this problem. I don't know why but it works for me. https://codesandbox.io/s/3187wxkkrm


ECMWF cumulative variables

There are some variables that are cumulative.

This is quite tricky for the model to handle, as delayed in data can have a real impact.
OF course the model should learn to take the difference but, it perhaps is easier to give the model what we want
Tasks

add datapipes that adds/replaces variables with the diff
[ optional] Adjust ECMWF normalisation values for diffed variables
Retrain PVnet UK with these diffs
Retrain Windnet with these diffs

It seems like wind variables are not cumulative, so it shouldn't affect windnet too much, but definetly should retrain PVNet for india with it. And do diffs for all cumulative variables in the future, as I don't think any model will handle it very well, and normalization won't work very well for this

This is mostly solved by #314. The only thing not covered would be to add normalisation values for the diffed ECMWF variables over India

Shall i close this now @dfulu ?

Shall i close this now @dfulu ?

Yeh sure


New version: PowerGraphics v0.3.0

Registering package: PowerGraphics
Repository: https://github.com/NREL-SIIP/PowerGraphics.jl
Created by: @claytonpbarrows
Version: v0.3.0
Commit: 7d45141d9adc21a81a29796442af660337818e52
Reviewed by: @claytonpbarrows
Reference: https://github.com/NREL-SIIP/PowerGraphics.jl/commit/7d45141d9adc21a81a29796442af660337818e52#commitcomment-38020440

@claytonpbarrows FYI

[noblock]


[SUB-TASK][KPIP-1] Implement /sessions/execpool/statistic

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
This is a subtask of umbrella issue #KPIP-1
Motivation
No response
Describe the solution
No response
Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Hi @simon824 Can you please also archive this issue to #950 ?


Update Set-SPEnterpriseSearchAdministrationComponent.md

Filled in placeholder text.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Set-SPEnterpriseSearchAdministrationComponent.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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.


When completing Stereo Madness, a random sprite appears

Note: this appears in random spots

This was not so random, it was appearing where the player was when the level end triggered.
This is now fixed!


[System Tests] Provide a restart process of Sarama Consumers when they fail to connect

Is your feature request related to a problem? Please describe.
Running system tests we have observed that sometimes Sarama Consumers are not able to connect to the topic/broker (example) and it is not retried like with kcat or Strimzi Test clients.
2024-06-18 03:56:16 INFO  io.kroxylicious.systemtests.utils.KafkaUtils:110 - Timeout! Received: Failed to get my-topic-3caccd offsets for partition 0: %!w(sarama.KError=5)

Describe the solution you'd like
When this failure happens try to reconnect/restart the job (delete and launch it again) to be able to consume the messages.

Will tuning the Job's backoff policy help? https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy

@franvila in general, before we workaround the error, we should make sure we understand the root cause.  What did you find out in this case?    It might be that retrying at the Kubernetes level is the right course of action, but we should be able to articulate why we think that is so.   We should continually strive to find the best solution to each problem - that's helps keep the system small and easy to reason about.

The reason I finally decided to go for retrying at Kubernetes level is that I didn't find a retry/reconnect configuration inside kaf implementation. It seems there is no reconnection at all, it exit(1) when cannot get the offset of a partition.

Thank you. that matches my analysis of the issue. KError=5 is org.apache.kafka.common.protocol.Errors#LEADER_NOT_AVAILABLE, so it looks like kaf is trying to consume from the topic before the leader is elected on the Broker.  The Java Kafka Client spins in this case, but as you found out, Kaf doesn't.  It just calls system exit.  The Kaf implementation seems weak.  There might be merit raising an upstream issue against Kaf.
When you've analysed an issue please record the findings on the issue.  It'll save time if we see a recurrence or need to understand why we made a change.
I agree with your approach.