updating dependencies and code to support k8s 1.28

Description of the change:

Relates: operator-framework/operator-sdk#6554
Updating go dependecies to support k8s 1.28
Updating code to support k8s dependency changes
Updating pip dependencies and container dependencies so that container can be built

Motivation for the change:
To keep project current.

Looks like the e2e tests are failing due to https://github.com/operator-framework/ansible-operator-plugins/blob/ba5d25a75275830407abaa2570a2fb20285899f6/internal/ansible/flags/flag.go#L165 - need to update this to "leases" I think.

Looks like the e2e tests are failing due to
https://github.com/operator-framework/ansible-operator-plugins/blob/ba5d25a75275830407abaa2570a2fb20285899f6/internal/ansible/flags/flag.go#L165

need to update this to "leases" I think.

I'm not sure what we want to do for this flag, since there can only be one value now and it's hardcoded to resourcelock.LeasesResourceLock (I have yet to push that update). The helm plugin does not expose this flag, so I'm not sure if removal or deprecation is the best option for this flag.

Looks like the e2e tests are failing due to
https://github.com/operator-framework/ansible-operator-plugins/blob/ba5d25a75275830407abaa2570a2fb20285899f6/internal/ansible/flags/flag.go#L165

need to update this to "leases" I think.

I'm not sure what we want to do for this flag, since there can only be one value now and it's hardcoded to resourcelock.LeasesResourceLock (I have yet to push that update). The helm plugin does not expose this flag, so I'm not sure if removal or deprecation is the best option for this flag.

Based on https://github.com/kubernetes-sigs/controller-runtime/blob/6747c42ce33966b0e77cac278c6b9087cc2f51c7/pkg/manager/manager.go#L146-L177 it looks like we should update the default value of that flag to "leases"

Based on https://github.com/kubernetes-sigs/controller-runtime/blob/6747c42ce33966b0e77cac278c6b9087cc2f51c7/pkg/manager/manager.go#L146-L177 it looks like we should update the default value of that flag to "leases"

Just to restate again, there can only be one value and it's hardcoded and cannot come from the flag, so IMO the flag doesn't serve a purpose and should either be deprecated or removed. Other plugins do not have this flag.

Based on https://github.com/kubernetes-sigs/controller-runtime/blob/6747c42ce33966b0e77cac278c6b9087cc2f51c7/pkg/manager/manager.go#L146-L177 it looks like we should update the default value of that flag to "leases"

Just to restate again, there can only be one value and it's hardcoded and cannot come from the flag, so IMO the flag doesn't serve a purpose and should either be deprecated or removed. I'd prefer removal since other plugins do not have this flag.

Maybe I'm misunderstanding, but I don't see a reason for this to be hardcoded? This still appears to be a configurable option based on<EMAIL_ADDRESS>The default should be updated to reflect the default used by controller-runtime and the description updated to reflect what controller-runtime recommends, which is that this option only be modified if you know what you are doing.
We most certainly can deprecate this flag, but we unfortunately cannot just remove it.


pyo3-build-config cleanups

In https://github.com/PyO3/pyo3/pull/4758 I fixed the urgent bug with PYO3_CONFIG_FILE changes not correctly triggering rebuilds.
I think we can take action to ensure we don't have a similar accident again. I was playing around with various ideas, I've seen two so far which I think make sense:

A lot of pyo3-build-config APIs require being run in a build script. I wonder if we should have something like a BuildScriptContext struct which all those APIs take, and it can collect info about environment accesses so that we can both test them and emit to cargo reliably.
We can add clippy configuration to ban direct environment variable access, as suggested by @alex .

I will have some free time in the second half of December, and I'd like to try to do this, if it's not too late.
I'm still somewhat familiar with the pyo3-build-config code base from working on Windows cross-compilation support two years ago.

Please go ahead, I think 0.24 will land sometime early in the new year so it would be great to see this happen in December :)


Hyper link might be outdate:

https://internetcomputer.org/docs/current/developer-docs/ai/overview

https://discord.gg/QnV6TNgV

Addressed in https://github.com/dfinity/portal/pull/2784


Add default select procedure for eigs

At the moment, eigs returns tentative eigenvectors and eigenvalues even if not converged. This is a design problem.
By default, there are not selection procedure and thus no krylov-schur restart. The basis of eigenvectors is pre-allocated. If kdim is not passed, it performs 4*nev iterations before stopping. If kdim is passed, it performs kdim iterations.
Two options:

either we raise a warning if not select procedure is passed.
or we use a default selection procedure (e.g. similar to what is done in the associated test).

Closed with #95


fix: switch addons-website to use alpha over latest release

The release tag for @carbon/addons-website doesn't include components required for dev. Yarn doesn't use semver for alpha packages so it's effectively pinned to alpha.0.
Maybe using the alpha tag for the carbon-elements packages could be a better solution than pinning them to alpha.31

I need a tool to that plays the yakkity sax whenever I make a PR with offline-mirror issues.


⚠ PrivateHD has degraded performance

In 93272f3, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2726 ms

Resolved: PrivateHD performance has improved in ca9e176.


Random Battle Move and Ability Updates

Reject Mach Punch as the only STAB move.
Reject Bullet Punch as the only STAB move if the Pokemon does not have
Technician. Affects Metagross and Mega Lucario.
Reject Sheer Force with Fake Out in Doubles. Affects Hariyama.
Reject Flash Cannon with Iron Head in Doubles to match the rule in
Singles. Affects Aegislash.

I want to discuss Cherrim. In Singles, since it is so frail, I don't think it has as much of a use for the sun if it doesn't have Weather Ball/Solarbeam (although I guess the Special Defense boost helps). I was thinking of adding other moves like Dazzling Gleam or Healing Wish to compensate. Maybe Giga Drain could also be added but Cherrim's low stats means it really might want Energy Ball in randbats for the raw power (as opposed to it wanting Giga Drain in PU)

Treat Mach Punch the same as Bullet Punch because Breloom.
Cherrim is pretty weak for Dazzling Gleam. Giga Drain would be better if it didn't have Synthesis but for now I'd keep it with Energy Ball. Growth is an option. I'm worried Healing Wish would get poor sets because the only viable set would be Energy Ball / HP Ice / Synthesis / Healing Wish. Anything else it should not be getting.

We could treat them as separate Pokemon so Sunshine gets Sunny Day but the normal forme doesn't!
["energyball","dazzlinggleam","hiddenpowerfire","synthesis","healingwish"]
(Dazzling Gleam is okay here cause it'd get Life Orb; there's also no other move options...)
["sunnyday","solarbeam","weatherball","hiddenpowerice","synthesis"]

So something like this? (Taking the Smogon set mostly for the Singles set)
I made Cherrim's Doubles sets the same (with Protect in place of HP Ice) because Flower Gift can support its teammate as well.

No need for HP Rock. It isn't even in usage stats.

OK. And now a new thing to help out Emolga to prevent it from having Charge Beam / Thunderbolt / Substitute / Baton Pass, which isn't a very good set.

Well, it's a Baton Pass set and not a sweeping set.

Perhaps rejecting Thunderbolt with Charge Beam if it has no other Special Attacks AND not counting Charge Beam as STAB. So it would get Charge Beam / Air Slash / Substitute / Baton Pass.

All right, done (kind of). I'm still rejecting Charge Beam with Thunderbolt if it has no other Special Attacks, and rejecting Thunderbolt with Charge Beam if it has at least one other Special Attack.
Also, no matter how much of a Baton Pass set it is, double STAB like that isn't very helpful

Done. I also switched around some moves for Mega Glalie.
In both Singles and Doubles, Taunt is unheard of and Freeze-Dry is very common, so Taunt was removed and Freeze-Dry was added.
In Singles, Crunch was also very uncommon. After some discussion in the staff room, we believe that Crunch isn't that necessary when you have Freeze-Dry (hits Waters) and Earthquake (hits Steels and Fires, and also hits non-levitating Ice harder than Crunch) for Glalie. Do you think it's worth using, @TheImmortal?

Ice Shard is now a seperate case

I definitely don't think crunch is worth using.


FreqDist Error

Hi,
total newbie so bear with me :) Despite starting my session with the instruction 'from nltk.book import *', when I try to use the FreqDist function, I keep getting NameError: name 'FreqDist' is not defined. Any thoughts? I'm using version 2.7.6
Thanks a lot!

FreqDist is from a different module. Try using from nltk.probability import FreqDist.

NB https://github.com/nltk/nltk_book/issues/163

Many thanks to you all.


Vulnerable Dependency  - braces

chokidar uses braces which has a vulnerability of 7.5, CVE-2024-4068. Can we use an alternative or are waiting for a fix from them?

It is not a real vulnerability.  They are either esm only, or very slow, or potentially dangerous with unknown maintainers

@thomashohn no.
Is there something in "we are using version ranges" phrase you don't understand?

No sir


Follow-up article on pandas-operations.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

This is a follow-up article to my previous articles on pandas.

@paulywill : Hi paulywill,  My pleasure to contribute. Thank you for accepting it. :) I do have more articles pending for merge on the same topic. Would you mind to have to look and do the necessary or please let me know if any comments. Below are the Pull request no.
#34184
#32621
#31801
#31661
I really appreciate your help.
Thanks,
Hari.

@harikrishnand I'll take a look.


Line edits RE #35

Closes #35

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (025079d) 100.00% compared to head (1a67011) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #44   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            5         5
=========================================
  Hits             5         5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add Animations to the Pricing Page !

Is your feature request related to a problem? Please describe.
On Clicking the view all button , the pricing page appears suddenly ! I think if we add animations to it , it will look much better ! I want to work in this issue ! Please assign me under JWOC 2024.
Are you contributing under any open-source program ?

Yes , under JWOC 2024.

@SohanRC I have assigned you. Just give me a preview here after your make your changes

@SohanRC I have assigned you. Just give me a preview here after your make your changes

ok

@SohanRC I have assigned you. Just give me a preview here after your make your changes

I have submitted a PR for this issue ! Please review it !


try "make android" on Linux

this is the error  how can i repair it !  thank you
CMake Error at toolchains/android.toolchain.cmake:616 (message):
Could not find any working toolchain in the NDK.  Probably your Android NDK
is broken.
Call Stack (most recent call first):
/usr/local/share/cmake-3.0/Modules/CMakeDetermineSystem.cmake:98 (include)
CMakeLists.txt:3 (project)
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file: /home/tgiser/ CProject/tangram-es-0.3-android/build/android/CMakeFiles/3.0.0/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file: /home/tgiser/ CProject/tangram-es-0.3-android/build/android/CMakeFiles/3.0.0/CMakeCXXCompiler.cmake
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name
if it is in the PATH.
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler
name if it is in the PATH.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

@TGISer read the first error: Could not find any working toolchain in the NDK. Probably your Android NDK is broken.
What does echo $ANDROID_NDK print out? and is that the right path to your NDK?

@TGISer Make sure to use the r10e version of the NDK as this is what we use currently (Should be added to the README..)

@hjanetzek  i use the android-ndk-r11c  i will try your suggestion

@hjanetzek
i try to use android-ndk-r10e but it can not work , have the same error.
tgiser@tgiser-ThinkPad-Edge-E531:~/ CProject/tangram-es-0.3-android$ echo $ANDROID_NDK
/home/tgiser/software/android-ndk-r10e

You might need to run make clean-android first, in case CMake cached the old NDK location.

@blair1618
i try to use make clean-android  first  but it can not work , have the same error.

We have not been able to reproduce this issue. @TGISer please try this again and open a new issue if you still can not get android builds to run using the command line.
Thanks


Extra +s are being appended to formData's strings

When sending in formData with some structure as { key: "this is a test" }, all of the spaces in the string are replaced with + after being processed.

Hi! Sorry this took a while! You can now pass convertPluses: true as a config option to form and softForm to enable this behaviour. Otherwise if it's default, it would interfer with actual plus signs. If you want to avoid this altogether you can use enctype="multipart/form-data" in your form which will encode strings properly.

Thanks!

No prob :) I also added file upload support in 1.5.0


Navbar disappears randomly

The main navbar on my website is rendered correctly.

    Blog

    About

    Demo

However, every now and then (about 1 in 10 page refreshes) it disappears. The markup for the navbar then looks like this:

We released the Pagekit Beta today. I close this issue because the code base completely changed. Please open a new issue if it still exists.


Issue using Glide

I have facing with this issue that I am not able to solve yet:
java.lang.NoSuchMethodError: No virtual method centerCrop()Lcom/bumptech/glide/request/RequestOptions; in class Lcom/bumptech/glide/request/RequestOptions; or its super classes (declaration of 'com.bumptech.glide.request.RequestOptions' appears in /data/app/com.example.autoffacil.myapplication-2/split_lib_dependencies_apk.apk)
Can someone help me?

Try to remove Gilde from the pickphotoview and Dependency newest Glide in your project

Any updates? @werbhelius  you mean downgrade the latest Glide version??
I am just using Builder and what you mean by "remove Glide from the pickphotoview"?

No virtual method centerCrop()Lcom/bumptech/glide/request/RequestOptions; in class Lcom/bumptech/glide/request/RequestOptions

@AlexGZC @DJDrama any solutions so far?

I tried this:
implementation ('com.werb.pickphotoview:pickphotoview:0.4.8',{
exclude group: 'com.github.bumptech.glide'
})
Same issue...

downgraded Glide to 4.8.0 ...

@yarodevuci I think this may be a problem with Android Studio compilation. try to delete build dir and clean Android Studio Cache than rebuild project

@yarodevuci  i started using other library instead which doesnt have any conflicts with the latest Glide version

@DJDrama what other library are you using?
@werbhelius that's first thing I tried. Did not helped.

I forked this library and maintain it on my own branch. Critical differences is it's written in Java, keeps the old v3.0 UI which I think looks better, Glide is up to date, and uses native Glide image loading instead of a custom implementation.
https://github.com/searchy2/PickPhotoSample

@DJDrama Thanks!

@yarodevuci  Sorry for late reply~
i am using below link one. it has like 2k stars which more robust
https://github.com/yanzhenjie/Album

I am using glide 4.1.1 version my issue was solve..


Add isHighlighted flag as data to renderItem

These changes are to add an isHighlighted flag to the render data for renderItem. This will make it easier to style highlighted items differently, as mentioned in https://github.com/moroshko/react-autosuggest/issues/383

Thanks!


Style Sidenav toggle button

The sidenav toggle button should not be raised.

After Commit 602c64c9277b95942bd59e8bd65d395662a8a4c4 it is not possible to use the package.
Cannot find module 'ngx-material-navigation' or its corresponding type declarations


fix: BaseURL should not be hardcoded (#90)

Thanks for taking the time, I understand why it makes sense in your use case, but I don't want to require everyone to provide the parameter, along with it being a breaking change.


Question about target data

I noticed that the data source and timeframe changed so that there is no longer flu data before 2024-11-02. Are the data before this date from this source invalid?

They are valid. We originally truncated to only include data submitted through the new source under the updated requirements so that we wouldn't cause issues with the target data for the previous season. The old data source was the raw data submitted from facilities and states, the new data source undergoes quality control measures so the data may not always align. We plan to use the old source and original target data for the 23/24 and past seasons, but the new source and new target data for the 24/25 and likely beyond. Once the new preliminary data are released on Wednesday, we will include a longer timeseries.


Consecutive profiles

Hey there,
thank you very much for creating this tool! I just noticed that once you download a profile, further changes are not applied to consecutive downloads. So you have to reload the page for every new profile. Can you reproduce this behavior?
Thanks, Lucas

I had the same experience, and almost went mad trying to understand why the subsequent profiles I was generating were not different from the first. Thank you for pointing this out!
Created a pull request to fix. @klinquist is all over it. :)


What is Decoding Attention?

Hello @Bruce-Lee-LY . Can you please provide a reference to decoding attention? I am not able to find how decoding attention works.
Also, do we have any opencl implementation of all these attentions in your repo?

Decoding attention is specially optimized for multi head attention (MHA) using CUDA core for the decoding stage of LLM inference. It mainly refers to OpenPPL and Flash Attention, which can solve the problem of low tensor core utilization of Flash Attention in the decoding stage of LLM inference and support more types of attention and quantization optimization.
In most LLM inference decoding scenarios, the performance of Decoding Attention is better than Flash Attention and Flash Attention v2. In addition, Decoding Attention also supports GQA / MQA and ALiBi inference scenarios.
At the same time, various quantization methods were explored for KV cache in Decoding Attention, which can save nearly half of the GPU memory and reduce the cost of LLM inference.
You can refer to main.cu. There is currently no implementation of opencl.


Read The Docs badge

Add RTD badge on README.md

Solve on https://github.com/drgarcia1986/drf-pdf/commit/6733363fbf47333460cf952ca7cd721efae53376#diff-04c6e90faac2675aa89e2176d2eec7d8R2


oauth2-proxy with our Dex IDP

We are integrating oauth2-proxy with our Dex IDP fro Kubernetes Dashboard.
Configuration is basing on:

nginx ingress
oauth2-proxy
DeX IDP
Kubernetes Dashboard

In general Kubernetes dashboard allows login using Authorization (Baerer token) so we want to use nginx ingress with auth annotations.
We setup everything running, but seems we have diffrences between JWT token which we are getting from oauth2-proxy and JWT token from kubelogin payload.
From kubelogin:
{
"iss": "https://dex.abc.services",
"sub": "ChFkYXdpZC5yb2dhY3pld3NraRICYWQ",
"aud": "abc.services",
"exp":<PHONE_NUMBER>,
"iat":<PHONE_NUMBER>,
"nonce": "272b4f908e972cc5",
"at_hash": "KisaX68Reyuwvu2AcylUOg",
"email": "***************",
"email_verified": true,
"groups": [
"Engineering",
"SSLVPNUsers",
"aws_allow_logon",
"aws_allow_sudo",
"kohactive-vpn",
"nexus-admin",
"nexus-anonymous",
"k8s_platform"
],
"name": "john.kowalski"
}
Oauth2-proxy:
{
"iss": "https://dex.abc.services",
"sub": "ChFkYXdpZC5yb2dhY3pld3NraRICYWQ",
"aud": "abc.services",
"exp":<PHONE_NUMBER>,
"iat":<PHONE_NUMBER>,
"nonce": "272b4f908e972cc5",
"at_hash": "KisaX68Reyuwvu2AcylUOg",
"email": "***************",
"email_verified": true,
"name": "john.kowalski"
}
Are there any parameters to gather those data from DEX?
Expected Behavior
Tokens should be same
Current Behavior
Tokens are different
Context
We are not able to integrate proper authorization for kubernetes dashboard
Your Environment
Kubernetes 1.9

Version used:
4.0

This seems be related to https://github.com/dexidp/dex/blob/0db538a4bbf4fc059d5bd29f0c84eee6b50a40c4/Documentation/custom-scopes-claims-clients.md question does oauth2-proxy supports such scopes?

we solved this using following configuration in oauth chart:
oauth2-proxy:
  config:
    clientID: 'production.something.services'
    clientSecret: '**************'
    cookieSecret: 'CdZulwsl18VvCA7G0kZaSw=='

  extraArgs:
    cookie-secure: false
    provider: oidc
    oidc-issuer-url: https://dex.production.something.services
    set-authorization-header: true
    whitelist-domain: ".production.something.services"
    cookie-domain: ".production.something.services"
    scope: "openid groups profile"
    exclude-logging-paths: "/ping"

  service:
    type: ClusterIP

  ingress:
    enabled: true
    annotations:
      kubernetes.io/ingress.class: nginx-internal
    hosts:
      - dashboard.production.something.services
    path: /oauth2

  image:
    repository: "quay.io/pusher/oauth2_proxy"
    tag: "v4.0.0"
    pullPolicy: "IfNotPresent"


Add shared job to check pr-builder job dependencies

This PR adds a shared job to run rapids-check-pr-job-dependencies.
Details on what that script does and why it's needed can be found below.

https://github.com/rapidsai/gha-tools/pull/30

I've tested this script locally, but I want to test it in a PR before we merge it.

I tested these changes successfully in https://github.com/rapidsai/rmm/pull/1185.
I've consolidated the size-checker and this new pr-job-dependencies check into a new other-checks job.
This will ensure that the existing number of checks on PRs doesn't grow as a result of these changes.
I think there's value in having check-style and check-generated-files as their own jobs since it lets users see if the status of those checks directly from the PR page (without having to click into the GH Action job for more details).
For checks that aren't likely to fail often (e.g. size-checker, pr-job-dependencies), I think it's fine to consolidate them into this new other-checks job.
@bdice, thoughts?

Good enough for me! I would have consolidated the dependencies generated files as well, since it only takes a couple clicks to see the failing step. Either way is fine.


BUG?: SURE fails to find any dipoles

Take mixed_norm_inverse.py and change meg-eeg-fwd.fif to meg-fwd.fif so that only MEG channels are used, and SURE does not find any dipoles because it selects an alpha that is too large (100; meg-eeg-fwd.fif selects 84). Not sure if this is by design, but it seems like a bug...?
Same problem occurs if you leave it as meg-eeg-fwd.fif but evoked.decimate(2), which should be fine given that the data are sampled at 600 Hz and low-passed at 40 Hz already.

@PABannier or @QB3 do you have time to look?

Arg, there are 2 possibilities:

a bug in the estimation of the SURE
the SURE requieres the knowledge of the true noise level (that is set to 1 by default because data is assumed to be whitened)

this diff works for me @larsoner
diff --git a/examples/inverse/mixed_norm_inverse.py b/examples/inverse/mixed_norm_inverse.py
index 5dfca4d791..23eac96783 100644
--- a/examples/inverse/mixed_norm_inverse.py
+++ b/examples/inverse/mixed_norm_inverse.py
@@ -29,7 +29,7 @@ from mne.viz import (plot_sparse_source_estimates,
 print(__doc__)

 data_path = sample.data_path()
-fwd_fname = data_path + '/MEG/sample/sample_audvis-meg-eeg-oct-6-fwd.fif'
+fwd_fname = data_path + '/MEG/sample/sample_audvis-meg-oct-6-fwd.fif'
 ave_fname = data_path + '/MEG/sample/sample_audvis-ave.fif'
 cov_fname = data_path + '/MEG/sample/sample_audvis-shrunk-cov.fif'
 subjects_dir = data_path + '/subjects'
@@ -39,7 +39,7 @@ cov = mne.read_cov(cov_fname)
 # Handling average file
 condition = 'Left Auditory'
 evoked = mne.read_evokeds(ave_fname, condition=condition, baseline=(None, 0))
-evoked.crop(tmin=0, tmax=0.3)
+evoked.crop(tmin=0.05, tmax=0.150)
 # Handling forward solution
 forward = mne.read_forward_solution(fwd_fname)

@larsoner this should speed things a bit but honeslty on my machine this example on main runs in 15s for me. With the diff it's 13s. A lot of time is spent on the rest: plotting of dipoles / stc.plot / sparse morph etc.

without the plot code this example is just 6s.

this diff works for me @larsoner

Sure, it's not urgent because I found another way to speed things up (below), but I thought it would be worth looking into why it fails to find any dipoles in most of the other cases I tried. I hope others are at least able to replicate the two problematic cases I noted above...?

@larsoner this should speed things a bit but honeslty on my machine this example on main runs in 15s for me.

Before #10071, which is now in main, CircleCI had:
    - ../examples/inverse/mixed_norm_inverse.py:                              162.41 sec

I was able to drop it to 28.44 sec on CircleCI by just avoiding the small alphas with sure_alpha_grid=np.linspace(100, 40, 10). So I assume since you said you tested this example on main you are benefitting from my changce already :) Remove that and I suspect it'll be (a lot) slower on your system, too, like it was for me (and CircleCI) before #10071.

then I missed the commit 🤦
so we are good here?

To me the situation is that SURE fails more often than it works, at least with this example. If that's not considered a bug, then yes we can close.

I don't think there is anything to fix here. MxNE is for short time windows and as soon as I reduced the evoked length focussing on the evoked peak it worked fine.


Add buildOptions.jsxInject to config

Changes
Adds buildOptions.jsxInject to configuration to remove the need for manually importing React/h/Fragment in every file if set. This is an opt-in feature that does not change the default requested in #2864.
Testing
Tests have been added in test/build/jsx-inject!
Docs
Yes, the configuration docs have been updated.

LGTM, go ahead and merge! Since this is entirely new and fairly small, let's actually get this one merged in for v3.1.


I've narrowed the problem down to commit 1dd2cd57ab7b1fbcbe1c19ea8859f229555ed504, looks like it is causing an infinite recursion.

The issue is occurring again with some schemas, reopening.


uint256.FromHex() with leading zeroes is inconsistent

Hi,
We have a problem converting hash values into uint256 as uint256.FromHex() does not accept hex values with leading zeroes. Is there a particular reason for this?
Why do I think this behavior is inconsistent? I can easily convert byte array with leading zeroes to uint256:
uint256.NewInt(0).SetBytes([]byte{0x00, 0x01})

It would be nice to be able to covert using FromHex() directly without intermediate manipulations.
Thanks

That's due to historic reasons, to make it a drop-in replacement in go-ethereum. For some old reason I don't know, leading zeroes is disallowed.
However, if you want to convert from a hash, you can use e.g. new(uint256.Int).SetBytes32, and not use the hex format at all.
I'll close this issue, because it's something that will not be fixed -- we're going to have to live with it for legacy reasons.
oh, and sorry for taking so long in responding!


Ship 3.0.1

Last time we did an issue list, things went amazingly well. I think I'll start organizing it every release so that we know what to work on.

[ ] #978, #1373 (same fix apparently)
[ ] #1507, #1554 (same one?)
[ ] #1514 JSX gives newcomers some of the most confusing errors. Highest pri, but really hard. Requires a refactor I think.
[ ] #1549 <- this would be great
[ ] #1562
[x] #1580
[x] #1616
[x] #1635
[ ] #1648

Bonus:

[x] #1500

Shipped


Opening doc link in VS2017 uses "unsupported" internet explorer browser

The default documentation URL points to github.com.  Doing this in VS2017 results in a message from github that internet explorer is an unsupported browser.
Workaround is to use local storage/clone of the wiki.

Yes I havent found a solution for that in the last three years, thus if someone knows how to open the default webbrowser and direct it to a certain webpage, do let me know!

Sorry for the duplicate--I searched.  If anyone else is interested in my workaround, it is fairly trivial.  Do this in gitbash (or macos or linux) with pandoc installed:
# after cloning the wiki
cd doc
for f in *.md; do pandoc -t html --css NICE_STYLE.css "$f" -s -o "${f%.md}"; done

The css style made it as attractive as the github wiki--just find a dark theme if you into that kind of UI.


[docs] Revise the Joy UI "Avatar" component page

Part of #33998
This PR revises the Joy UI "Avatar" component page.

style and grammar changes throughout
added info on basic/default usage and component Anatomy
rearranged a few sections

I also added a new kind of h2 to this page, which I haven't tried elsewhere: Usage with [some other component]. I think this helps to differentiate the content from what would otherwise fall under Customization, and hopefully makes it easier for users to find. cc @oliviertassinari do you think this pattern would work in the Material UI docs as well?
https://deploy-preview-35152--material-ui.netlify.app/joy-ui/react-alert/

The removal of the ## Component section. I feel that it duplicates with ## Basics. We can move the installation instructions somewhere else, but why not remove them too, there is already an overall getting started area in the section. Developers could find it.

Whoops! That's an artifact from the earlier version of the doc. I'll address this and the need for a demo under Basics in #35162.


Tab support

First of all great work thank you,
I was wondering is there any support and example using bootstrap tabs. So each time creating new group, form will be more tidy.
Thanks

The examples in the readme serve as a minimal example of the markup required to make the repeater functional, but you should be able to decorate this with additional markup.


Fixes segfault on plugin loading in lunar

before this fix, segfaulted when plugin was loaded. This closes https://github.com/gareth-cross/rviz_satellite/issues/21

@gareth-cross pleas check this and https://github.com/gareth-cross/rviz_satellite/pull/40 . Please merge otherwise currently broken :/


Label related method

related issue: https://github.com/Chatie/wechaty/issues/1856 https://github.com/Chatie/wechaty/issues/1627

@huan Waiting for your review,  Wechaty's PR depends on this one. After this one merged, that one will be all green. Thank you very much.

@huan ping

@huan ding

I have re-designed the API and pushed it to this PR just now.
Please let me know what you think, thank you very much!

Please see my modification in Wechaty repo.

I have see the method findAll(), it could find all tags of the bot, but why we must get all tags from contact one by one and then deduplicate them, we have API for find all tags of the bot.
I think it's better to find all tags by API. For example, we could defined one method named allTags() or tagList() to get all tags of the bot.

About to add the tagList() API, I have two questions:
The first is: is there an underlying Wechat Protocol that has the tagList() interface?  Or we just save as all tags by our server?

if the Wechat Protocol has the tagList() functionality, then I'd love to add it to puppet;
otherwise, I'd like to leave this task to the high-level API;

The second is that the Tag system will support both Contact and Favorite in my design.
If we have a puppet API named tagList(), how can we differentiate the Contact and Favorite?
Should we:

return all tags of both Contact and Favorite?
or we need to add a parameter to specify which one do we want?

For question 1:
The Wechat Protocol has the tagList() functionality, so we could add tagList() to puppet.
For question 2:
If we want to let Tag system service for both Contact and Favorite, it's better to add parameter to specify which one do we want.
BTW: the tag for Contact and Favorite is not same in WeChat, I'm not very clear about this design about reuse Tag.
Now tagAddContact() method work for Contact, if we want to support for Favorite, we should add tagAddFavorite() method? If I am right, I think Tag should be abstract class, and ContactTag, FavoriteTag are based on Tag for different functions.

@huan ping

@huan ping


Num Lock on sends both the number and arrow input for a keypress

Probably another ImGui thing?
For example, starting with this textbox focused:

Num Lock ON, pressed numpad 2/down arrow:

=both arrow key and number events sent
Num Lock OFF, pressed numpad 2/down arrow:

(correct behavior)

Ah interesting, that could be something in our code, I remember having to hack some stuff to support ctrl+tab switching tabs. I'll have a look.


Improvement in Docs.

I will add more here, gradually.
WIP : docs for meta attributes.

Thanks for reviewing this. I have taken note of all your points.

@sushobhana rebase this one too, and see if you can pick off some of those last few remaining minor comments so I can merge it

@keflavich Ready to merge!

I'll review again & merge by the end of the week, I hope - ping me again if I don't get to it soon (traveling now).

This looks ready to merge, but for reasons I don't understand, the python3.4 tests aren't running.  I've restarted a second time...

@keflavich there is a known problem with pytest's latest version, fixed it in the earlier PR. Now that I have rebased it, it should pass.


add third-party tool

add a new battlesnake tester
https://github.com/jfgodoy/battlesnake-tester

That's awesome! Thanks for the contribution


Revert "Updating method used to retrieve a blob stream"

Reverts Azure/azure-functions-dotnet-worker#1976

Temporarily reverting this to inspect failures.


(GH-147) Gracefully fail on LoadError when compiling manifests

Fixes #147
Note - Technically this doesn't fix the error, but at least Editor Services will not crashing or throw bad data.  The fact a gem is missing from the ruby environment is outside the control of Editor Services.
Previously the sidecar would error completely when a LoadError was encountered.
This could be caused by gem Facter trying to load libraries which are not
present.  StandardError does not trap these.  This commit also traps the
LoadError and allows the sidecar to return a properly formatted response to
Editor Services intead of dumping error text to STDERR.

No tests required for this.


Refactor DDL Module

Enhancement
Our DDL module is too complex and inefficient, it can't work well under a large number tables with multiple ddl. In order to upport for a larger number of tables, we need to refactor ddl module.
For the new DDL infrastructure, we will do the following settings:

[x] Make each table deal with its own inner schema changes( such as add columns, drop columns, modify columns, ..,etc), to avoid that multiple tables affect each other's performance due to schema changes
[x] Only the schema changes between tables( such as create table, truncate table .. etc) will still sync in the background thread.
[x] For the table without tiflash replica or table with no data, we will not create a physical table in tiflash, to reduce unnecessary space occupation.
[x] For each keyspace, we use an independent schemaSyncer to update the schema synchronization to support the scalability under a large number of keyspaces.
[x] Optimize DDLGuard(https://github.com/pingcap/tiflash/issues/7636)
[x] Enhance TiFlashMetrics containing keyspace info(https://github.com/pingcap/tiflash/issues/7640)
[ ] Don't store table schema locally by using schema.sql(https://github.com/pingcap/tiflash/issues/7311)
[x] Parallel sync schema to speed up(https://github.com/pingcap/tiflash/issues/7641)

We're going to close this issue because most of the reaction is done. The leftover issue remains as an enhancement for further investigation.


Translations

Had a look through messages/ja/app.php where there are a lot of corresponding English and Japanese sentences and phrases. I wanted to suggest some translations/phrasings for the English version of the site. Please see my suggested changes here:
https://gist.github.com/frozenpandaman/5b44ded588725094f576/revisions
In "Excluded: Posted Player, All Players(when Private Battle), Posted Player's Team Member(when Squad Battle or Splatfest Battle)", I wasn't sure what "posted player" meant, so I did not make any changes to that phrasing.
Sorry for not fixing these & just submitting a PR myself – not sure exactly what files besides just app.php I'd needed to have changed. Please let me know if I should do this or if you need anything else from me.
何か質問があれば、日本語もいいです。ありがとうございます！

Thank you. I'll fix it.

Could you get the meaning about "Posted Player" and sentense?

That makes sense. Sorry for not understanding. I would say "uploader" (one who uploads/posts their battle to stat.ink). I think that captures the sense of "投稿者" but it is a tricky translation.
From your image I understand that in Private Battles, all players (blue) are excluded. In Squad Battles & Splatfest battles, uploader's teammates (orange) are excluded.
But data from the uploader ("posted player") is always excluded? Why?
Thanks for helping me understand!

The sentence is used at this page: https://stat.ink/entire/weapons .
That page has a not translated string “※できる限り重複カウントしないように除外設定を行っていますが、連戦やナワバリフレンド合流の影響により重複カウントしやすい状況が発生します。”. This sentence may help make your sense.
I cannot translate this sentence. I try literal translation, “as much as possible / configured excluded for not duplicate count / there is possible to duplicate count / by continue(?) and(or?) join to friends.”
The stats page estimates global weapon usage.
I was setting it for "not duplicate count."
Private Battle:
Whole players ignored.
In this play, weapon data too-duplicate and players may playful(?).
It's a junk data for global weapon stats.
Squad Battle:
Teammates' data ignored.
In this play, teammates may fixed and weapons also fixed.
Splatfest:
Teammates' data ignored.
In this play, you can continue and teammate(s) also may so.
Others:
The uploader's data ignored.
The uploader's weapon always duplicate. It's not reflect global weapon usage.
(For example, if you choose "Carbon Roller" and play 3 battles, should the system count "Carbon Roller" 3 times? I think, no.)
Join Friends (Regular Battle):
The uploader's data ignored.
Friends' weapon maybe duplicate, but the system does not detect it now.

I think a translation of:
** This exclusion is in to attempt to minimize overcounting in weapon usage statistics.*
would be good. The second part of the sentence was a bit difficult for me to understand but I think it's saying "it is easy to overcount when playing multiple battles in a row with friends" or similar. However, probably just the first part is enough in attempt to justify why some data are excluded.
Thanks for your great explanation.
I agree Private Battles would provide junk weapon data. You are correct – people are more playful in Private Battles, or you could say they are less likely to take them seriously.
The rest makes sense to me as well, and is probably the best way to minimize overcounting/counting duplicates as much as possible.
Given all of that, I'd recommend these translations:
集計除外: プライベートマッチと、投稿ユーザ、タッグマッチ・フェスマッチ時の投稿者のチームメンバー  =>  Excluded: Private Battle data, uploader's data, teammates' data (during Squad Battles and Splatfest)
※できる限り重複カウントしないように除外設定を行っていますが、連戦やナワバリフレンド合流の影響により重複カウントしやすい状況が発生します。  =>  * This exclusion is in to attempt to minimize overcounting in weapon usage statistics.
Thanks again very much for spending so much time helping me understand!

@fetus-hina Just saw your translation of the first one: "Excluded: The uploader, All players (Private Battle), Uploader's teammates (Squad Battle or Splatfest Battle)"
That's clear to me and works as well!

The website including your contribution has been released!
This issue close at this time. Please create another issue for new or update translation.
Thank you very much for all your help!


Proposal: Add Queue::dispatch callback

Currently, in the latest Laravel version (5.3) the Queue does not have any ability to catch a job when it's dispatched so it can be altered or logged.
My proposal would be to introduce a new Queue::dispatch callback that's similar to Queue::before and Queue:after. The callback code should be allowed to modify the connection on which the job should be dispatched, the job itself as well as any job payload metadata.
Although this callback could have multiple applications in both logging as well as altering the job, my specific use case is this: In a multi-tenant application I need to be able to add additional tenant specific metadata to the job payload so that I can access that metadata later in the Queue::before and Queue:after callbacks to figure out the tenant which dispatched the job (the app runs a single queue worker for all the tenants).
The above can't be achieved by simply adding some fields to the job itself as the solution needs to be able to work for jobs dispatched by any third-party package (e.g. by Laravel Scout) not just by the app's code. Right now the only solution seems to be to override the Queue driver Connector class and the Queue class for each driver used in the app, to get access to the createPayload method.
Looking forward to hear your thoughts on this. If this does seem like something that would be accepted in a future version, I can look into putting together a pull request with the required changes.

Thank you but for suggestions and feature requests please use the https://github.com/laravel/internals repo.
Sorry :) We try to keep this repo for bug reporting only.


Wimukthi objective c

Description

Types of changes

[ ] Bug fix or improving code quality
[x] New language
[ ] New feature

Checklist:

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.

Added objective c hello world statement


ENH: HCP-MMP1.0 parcellation?

There is a nice new parcellation of cortex available:
https://doi.org/10.1038/nature18933
https://balsa.wustl.edu/WN56
And a kind soul has already converted it to fsaverage:
https://figshare.com/articles/HCP-MMP1_0_projected_on_fsaverage/3498446/2
It would be nice to be able to do:
labels = read_labels_from_aparc('fsaverage', 'HCP-MMP1.0')

But that won't work without putting the files in $SUBJECTS_DIR/fsaverage/label. So we could do something like:
mne.datasets.hcp_mmp.install()

That will download the files to $MNE_DATA/HCP-MMP1.0 and then copy the *aparc* files to $SUBJECTS_DIR/fsaverage/label. The workflow would then just be:
mne.datasets.hcp_mmp.install()
labels = read_labels_from_aparc('fsaverage', 'HCP-MMP1.0')

Sound good? Better ideas?

I'd like having these labels available. API looks very simple. Good idea.

I would say :
mne.datasets.fetch_hcp_mmp_parcellation()
but otherwise ok for me.

so fetch_hcp_mmp_parcellation would both download and install it (by default) to $SUBJECTS_DIR/fsaverage/label?

yes


Update Internet Archive / Open Library

Backstory
There are two ways to delete the account, instead of redirecting users to account page I think it's better to mention the official help page. Mail is not necessary but I think instead of  deleting your existing pages manually, mailing them for that could be the better option, so for us it's medium level difficulty.
Data

name: Internet Archive / Open Library
url: https://help.archive.org/help/how-do-i-delete-my-account/
difficulty: medium
notes: Click on your screen name in the top right-hand corner. Click on Account setting, enter your password to unlock modifying settings, click “Delete Account”. Your library pages will remain unless you remove them manually before deleting your account. OR send them an email to remove pages from their side.
email<EMAIL_ADDRESS>email_subject:
email_body:
domains: archive.org, web.archive.org, openlibrary.org

Thanks for your contribution!


[General] Error handling, response strings, formatting

This is a general follow-up to #111. See the last three commits in particular.

It applies similar error handling elsewhere in the code base (avoiding log.Fatal, returning errors). [commit]
I've done a first pass over response strings for things like Github vs GitHub, etc. [commit]
Ran go fmt ./... on everything (I was noting formatting changes from previous commits). [commit]

@imiller31 I've submitted this as a draft PR. Does it look reasonable, or is there anything it would be helpful for me to pay further attention to?

@imiller31 thank you for the feedback. Changes pushed.

@imiller31 I resolved the merge conflicts but deleted the errors-2 branch accidentally. I can PR again if helpful? https://github.com/asw101/draft/tree/errors-2


ak.bond_cb_jsl

ak.bond_cb_jsl
这个接口哈
Originally posted by @icecoldsnow1 in https://github.com/akfamily/akshare/issues/3852#issuecomment-1582207173

ak.bond_cb_jsl 这个接口哈
Originally posted by @icecoldsnow1 in #3852 (comment)

接口正常


storage.get takes forever and never downloads when using BlobId.of(bckt, name)

I have the following code code in my Java Spring Boot application
 // download image
        var imagePath = Paths.get(name);
        logger.info("downloading image {} {}", storageObject.getBucket(), storageObject.getName());
        var blob = storage.get(BlobId.of(storageObject.getBucket(), storageObject.getName()));
        logger.info("got blob");

        if (blob == null || !blob.exists()) {
            logger.info("blob does not exist any more, is probably deleted {}", storageObject.getName());
            return true;
        }
        logger.info("downloadTo {}", imagePath);
        blob.downloadTo(imagePath);
        logger.info("downloaded! {} {}", storageObject.getBucket(), storageObject.getName());

Logs
n.o.m.s.GoogleCloudStorageSubscriber     : handle event with extension jpg product/219168/0001.jpg
n.o.m.s.GoogleCloudStorageSubscriber     : downloading image omoda-media-pre-processing-2 product/219168/0001.jpg

It never goes further than the storage.get line and I'm waiting like half an hour or so. it never logs got blob.
I don't know what it could be. Is this some kind of silent error handling in the library?
Version
<dependency>
    <groupId>com.google.cloud</groupId>
    <artifactId>google-cloud-storage</artifactId>
    <version>2.4.5</version>
</dependency>
<dependency>
    <groupId>com.google.apis</groupId>
    <artifactId>google-api-services-storage</artifactId>
    <version>v1-rev20220210-1.32.1</version>
</dependency>

It's fixed with removing BlobId
var blob = storage.get(storageObject.getBucket(), storageObject.getName())

It strange that the BlobId thing does not work since I thought it was in de documentation on some places.

There is no silent error handling that I have been able to find in that code path. Also the method you mention working is just a wrapper around the method you say does not work.
See: https://github.com/googleapis/java-storage/blob/main/google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java#L269-L272
I will try to replicate this problem but as general advise it is always advisable to keep the most up to date version of our client.

Since there was a few days in between the swap to storage.get(storageObject.getBucket(), storageObject.getName()) can you validate that the original code path storage.get(BlobId.of(storageObject.getBucket(), storageObject.getName())); is still hanging?

Hmm it also could be that I set the repo on public instead of private!

are you still experiencing this issue on storage.get(BlobId.of(storageObject.getBucket(), storageObject.getName()));?

Not anymore, but it seems like if the bucket is not public it does not work.


v2 - beta feedback

It seems v2.0.0-beta8 is stable enough. If no feedback with errors will be provided this week i will release it on Friday 19th May.
Please post feedback in this post. If currently any problems are present.

work perfect with beta8 in AXhub, no errors

hello also beta 8 not working:
see log below
ogger: homeassistant.config_entries
Source: custom_components/hikvision_axpro/__init__.py:89
Integration: hikvision_axpro
First occurred: 08:08:10 (2 occurrences)
Last logged: 08:13:01

Error setting up entry Hikvision_axpro_<IP_ADDRESS> for hikvision_axpro
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
OSError: [Errno 113] Host is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 244, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/local/lib/python3.10/http/client.py", line 1283, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.10/http/client.py", line 1329, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.10/http/client.py", line 1278, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.10/http/client.py", line 1038, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.10/http/client.py", line 976, in send
    self.connect()
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb17582d0c0>: Failed to establish a new connection: [Errno 113] Host is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /ISAPI/System/Network/interfaces (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb17582d0c0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/hikvision_axpro/__init__.py", line 89, in async_setup_entry
    mac = await hass.async_add_executor_job(axpro.get_interface_mac_address, 1)
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.10/site-packages/hikaxpro.py", line 235, in get_interface_mac_address
    response = self.make_request(endpoint, consts.Method.GET)
  File "/usr/local/lib/python3.10/site-packages/hikaxpro.py", line 274, in make_request
    response = requests.get(endpoint, headers=headers)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 565, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /ISAPI/System/Network/interfaces (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb17582d0c0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))

@nautilus7

I will have to investigate a little bit. Might not get that info from AXHub
The break down - means there is fault. I guess this is something from AXHub. Not sure if AXPro has it same. I dont think it is really a problem.

@nautilus7

I will have to investigate a little bit. Might not get that info from AXHub
The break down - means there is fault. I guess this is something from AXHub. Not sure if AXPro has it same. I dont think it is really a problem.

The break down apears when sensor is open, when sensor is close change to online. dont know why.

HI,
for me always the same errors for all Beta versions. Also now I can no longer install version 1.3.1 which worked for me.
Below is the error received.
Hope you can fix it.
Thank you

`Logger: homeassistant.config_entries
Source: custom_components/hikvision_axpro/model.py:662
Integration: hikvision_axpro
First occurred: 11:19:59 (2 occurrences)
Last logged: 11:20:53
Error setting up entry Hikvision_axpro_<IP_ADDRESS> for hikvision_axpro
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/hikvision_axpro/init.py", line 105, in async_setup_entry
await hass.async_add_executor_job(coordinator.init_device)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/hikvision_axpro/init.py", line 177, in init_device
self.load_devices()
File "/config/custom_components/hikvision_axpro/init.py", line 181, in load_devices
devices = self._load_devices()
File "/config/custom_components/hikvision_axpro/init.py", line 194, in _load_devices
return ZonesConf.from_dict(response.json())
File "/config/custom_components/hikvision_axpro/model.py", line 822, in from_dict
list = from_list(ListElement.from_dict, obj.get("List"))
File "/config/custom_components/hikvision_axpro/model.py", line 29, in from_list
return [f(y) for y in x]
File "/config/custom_components/hikvision_axpro/model.py", line 29, in
return [f(y) for y in x]
File "/config/custom_components/hikvision_axpro/model.py", line 806, in from_dict
zone = ZoneConfig.from_dict(obj.get("Zone"))
File "/config/custom_components/hikvision_axpro/model.py", line 662, in from_dict
chime_warning_type = ChimeWarningType(obj.get("chimeWarningType"))
File "/usr/local/lib/python3.10/enum.py", line 385, in call
return cls.new(cls, value)
File "/usr/local/lib/python3.10/enum.py", line 710, in new
raise ve_exc
ValueError: 'continuous' is not a valid ChimeWarningType`
After some time added more errors

`Logger: custom_components.hikvision_axpro.hikax.hikax
Source: custom_components/hikvision_axpro/hikax/hikax.py:208
Integration: hikvision_axpro
First occurred: 11:28:59 (1 occurrences)
Last logged: 11:28:59
Debug data  7936be44ebdaef3efcb443785042c2be917999626e4948284d66867552681190 e47a993acf5b7fd7b253fbb4f7ef3624 100 true true 2.1 3519F0AB7181690F20D90DCCC9EC9239577C5FA5C213048AED81B2AB3BBA8C8E 894FC272840644114F489CCBCABFB7BED9F97226E2528C021ABD0321AB6D3421 `
`Questo errore ha avuto origine da un'integrazione personalizzata.
Logger: custom_components.hikvision_axpro.hikax.hikax
Source: custom_components/hikvision_axpro/hikax/hikax.py:93
Integration: hikvision_axpro
First occurred: 11:28:53 (1 occurrences)
Last logged: 11:28:53
Debug data  da1d7a578ee5aa63ddf592894a0d06469e83029fc8977bff7dcf24c8982de3b3 29d7dac5170e32c2888ce93de3c2dc43 100 true true 2.1 3519F0AB7181690F20D90DCCC9EC9239577C5FA5C213048AED81B2AB3BBA8C8E 894FC272840644114F489CCBCABFB7BED9F97226E2528C021ABD0321AB6D3421 `

Beta9 - Released

@leciuk81 Any feedback on beta9 ? changes ? works?

Hello, with Beta 9 it started working fine again.

Version 2.0.0-beta16 was released.
If there will be no issues until end of this week version 2 will be released as stable.

No issues found over beta 2. It is going to be released today.

Version 2.0.0 released to public


Add rule renaming (and fix import bug)

Following discussion in #148, this PR adds the syntax %import .local.file.rule -> foobar allowing to rename a rule while importing it.
While writing tests, I've encountered a bug: %import .local.file.rule internally renames the rule as local.file.rule, but this is not a valid group identifier for Python, which makes lexer._build_mres crash. I've changed so that the named rule is local__file__rule to avoid the issue.
Also added some more doc, tests, examples.
Please review carefully as I don't know your codebase, so I may have broken things inadvertently!

Other than that it looks good!

All tests that perform relative imports should use a .lark file (see test_relative_import), so that it works with pytest and other test libraries.

Could you tell me what I should change? The tests performing relative imports that I wrote are using the tests/grammars/ab.lark file I believe.

The since you have several (4) files for the same example, it's better that you create a directory inside examples specifically for that example (or group of examples of the same sort).

I've edited my commit.

For example test_relative_import_rename

For example test_relative_import_rename

That test imports from the file tests/grammars/test.lark due to this line:
%import .grammars.test.NUMBER -> N
I'm not sure I understand, could you tell me what I should do instead?

Just put the string in a separate .lark file, and use _Lark_open, otherwise the relative import won't always be relative to the right directory

Oh I see now, like the code examples that have been pushed to master before I did this PR.
I tried to change that, and I have rebased on master as well, tell me what you think!


Update code-signing-cert-manage.md

Reinstated links to CAs that were removed without reason: Certum, IdenTrust and Sectigo.

Thanks, @anaharris-ms - yes, I believe the registration process and this page should have a complete list of all CAs that offer EV code signing, not just a small sub-set.


remove rosdep entries removed from Homebrew

Unfortunately Homebrew has removed many of the older qt4 related formula. I tried to resurrect them in https://github.com/ros/homebrew-deps/pull/31 and https://github.com/ros/rosdistro/pull/14459 but I was unable to do so.
See prs which removed each formula (note that the "boneyard" also no longer remains):

qt (https://github.com/Homebrew/homebrew-core/pull/8306) (now aliased to qt5)
pyqt (https://github.com/Homebrew/homebrew-core/pull/6817) (now aliased to pyqt5)
pyside (https://github.com/Homebrew/homebrew-core/pull/5725)
shiboken (https://github.com/Homebrew/homebrew-core/pull/5726)
pyqwt (https://github.com/Homebrew/homebrew-core/issues/4850)
libqglviewer (https://github.com/Homebrew/homebrew-core/pull/6827)

@scpeters and @mikepurvis fyi


Add storybook for front-end testing

Is your feature request related to a problem? Please describe.
Test coverage on the front-end needs to be improved; storybook will substantially help in this area by providing automated tests to many front-end (React) components.
Describe the solution you'd like
Storybook with jest integration to improve test quality / coverage.
Describe alternatives you've considered
Implementation in only jest; this would be much more time consuming, more complex to maintain, and would not reflect current best-practises.
Additional context
Storybook provides a jest add-on for test integration, which will help raise test coverage, specifically for the front-end (nodemapper component).

storybook was added in #346  as nodemapper now defines reusable components such as DialogPrompt, DialogAlert, etc.


Separate case studies and spotlights in showcase

There was separation in the original site, but we intentionally merged for MDL v1 because there was only one case study.
We need to revisit this in future when there are more case studies.

Fixed this


give run_performance_tests a main method

In this way, external users can add perf tests for other languages
by adding to scenario_config.LANGUAGES then calling
run_performance_tests.main.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

@fengli79 @shinfan Can you guys take a look?
One question I wasn't able to resolve: currently all languages are built with build_performance.sh. An external user wouldn't be able to provide their own build script. I thought about something like this:
We could give each language (in scenario_config) a method build_cmdline that returns the command used to build the language. But then builds of different languages will run in parallel and all compile C++ code leading to a race.
Does gRPC team have an opinion on how to best resolve this? Maybe compile C++ in a separate jobset?

@pongad ,
My understanding is C/C++ always get compiled first, and then all wrapper languages should use the built artifacts. As veneer supports multiple languages, you can add additional commands to build them, but all of them should depends on previous C/C++ outputs, I don't see a race there.

@adelez why change like this doesn't trigger any test?

@matt-kwong , AFAIK, since we switched to Kokoro, outside contributors' PRs need to have label kokoro:run for running the tests.

@adelez
There are some tests either failed or keep hanging:

Basic Tests Windows (internal CI)
Interop Cloud-to-Prod Tests (internal CI)
Basic Tests C & C++ Linux [dbg] (internal CI)
Basic Tests C & C++ Linux [opt] (internal CI)
Basic Tests Multi-language Linux (internal CI)
Is it expected?

A bunch of these tests are also failing in other PRs, so I don't think it's related to this change. Not sure about "expected" though.

The hanging issues were fixed yesterday, after these tests were run. The interop failure looks like a flake.
The tests we run on PRs shouldn't cover the changes. Performance tests take a long time, so we trigger those manually. Feng/Adele, please make sure someone builds https://grpc-testing.appspot.com/view/Performance/job/gRPC_performance_adhoc/ before merging this.

All the tests finished. The failures are all test failures, except the first one that says "infrastructure error". You can ignore this one for now. For the test failures. the normal workflow is either file a bug or find an existing bug and list them here. Please also post the sponge link if you are filing a bug.

@adelez The multi-language test failed by #10142. The rest are also connection failures, similar to other PRs like #12244. A bunch of these are internal CIs, are we OK posting links?

Yes, it's ok to post. Please use Sponge links rather than CI build links though.

@adelez I posted issue for test flake at #12279. Just a reminder: I don't have write access to this repo :)

Please wait for @jtattermusch's approval for merge. I never worked on this script.

So I don't see much value in "external users can add perf tests for other languages
by adding to scenario_config.LANGUAGES then calling
run_performance_tests.main." (because anyone can just modify the scenario_config.py script to achieve the same result), but I think there's some value in refactoring the code of run_performance_tests.py.
The changes look fair to me, but we'll need to test the changes first (how did you test?) - the problem is we are no longer running tests using this script on pull requests, so we need some out of band indication that this change is actualy safe.

@jtattermusch I ran the script locally on a few languages :)
I guess I was trying to avoid forking grpc. In that way, I don't need to deal with merge conflicts. I guess it's possible that scenario_config will change in ways that break the external script. I guess experience will tell :)

@jtattermusch Ping, if this looks good to you can you merge this? I don't have write access to this repo.

None of the tests on the PR is affected by changes in run_performance_tests.py, so I will merge this (based on the fact that it has been tested manually). After merging, we need to watch to perf dashboard https://performance-dot-grpc-testing.appspot.com/explore?dashboard=5652536396611584 to double check the change didn't break anything.

Looking at the test dashboard, everything seems to be working OK. I'll keep an eye on it for a while longer though.


Cannot invoke a ref cell

@paili0628 also ran into when building the HiSparse design in Calyx. At a high-level, the problem is that we do compile-ref before compile-invoke. Let's look at an example:
comp main() {
  cells { F = Foo(), B = Bar () }
  invoke F[bar = B](...)
}

comp Foo() {
  cells { ref B = Bar() }
  invoke B()
}

First, compile-refs runs:
comp main() {
  cells { F = Foo(), B = Bar () }
  invoke F[bar = B](...)
}

comp Foo(/* Bar's ports */) {
  cells { /* Bar is removed as a cell */ }
  invoke B() // <- unknown cell
}

The right solution is to merge compile-invoke and compile-ref into one pass so that during the compilation of invokes, we can wire up the ref cell correctly within a group and allow it to be invoked.

The current blocker is that we run a bunch of optimization passes run between compile-ref and compile-invoke because those passes don't yet support ref cells:
                CompileRef
                ComponentInliner,
                CombProp,
                CellShare, // LiveRangeAnalaysis should handle comb groups
                SimplifyWithControl, // Must run before infer-static-timing
                CompileInvoke, // creates dead comb groups

To actually support this, we must first change the passes to support ref cells.

In those examples do we ever invoke a component that is itself a ref cells? If so, I'm surprised that worked?

Ah you're right. In the examples above, the invoked component is a vanilla (non-ref) cell. It's just that the invoked component takes inputs by reference, meaning that it has in its cells block some ref cell(s). I see now that my examples above are sorta besides the point when it comes to this issue.
The subtly different point of #1648 is that, even when all the invoked components are vanilla (non-ref) cells, if they have ref inputs within them, and you make a chain of these invokes, you run into trouble.

This is a super subtle (and seemingly important) pass interaction. I like @rachitnigam's summary that:

At a high-level, the problem is that we do compile-ref before compile-invoke.

This is a fundamental problem because it only makes sense to invoke things that are actual cells, and compile-ref destroys the "integrity" of cells, smashing them up into a bunch of interface wires instead.
I am certain this will not work, but I don't have a clear description about why: could we "just" move compile-invoke before compile-ref? This would first turn the invokes into manipulations of the component's ports (compile-invoke); it would then rewire those ports to ports on the parent component (compile-ref). I'm sure I'm missing something here, but it must be a different problem from the current one.
Maybe this would be an interesting topic for the synchronous Calyx meeting sometime?

I was originally thinking of doing something similar (moving compile-ref after compile-invoke) but the problem is that there is no direct way to represent passing ref cells structurally:
invoke foo[a=r](...)

Here, the assignment a=r is the cell r being passed for the ref cell argument a but there is no way to turn this into a group representation in compile-invoke; we have to represent it using the assignments implied by the ref cell assignment.
Put differently, compile-ref changes the signature of a module so that it can be structurally invoked (invoked using a group) which means compile-invoke, which transforms control invocations into structural ones cannot run before it.

Ah, thanks for helping me along. I'm starting to get the sense that this could be a good synchronous discussion, but I wonder if we could still somehow make this work—i.e., to allow structural use of ref cells, and thus allow compile-invoke to go first.
Borrowing your example, we want this to work:
comp Foo() {
  cells { ref B = Bar() }
  control { invoke B() }
}

In a fantasy world, if compile-invoke went first, this would turn into a structural use of the ref cell named B. Something like this:
comp Foo() {
  cells { ref B = Bar() }
  wires {
    group invoke1 {
      B.go = 1;
      invoke1[done] = B.done;
    }
  }
  control { invoke1 }

And then later, when compile-ref runs, it replaces those B.go and B.done port references with B_go and B_done ports on Foo. (Or hooks them up with std_wires or whatever.) Is this an unreasonable thing to imagine?

Yeah, that case makes sense to me (invoking a ref cell). I'm talking about the case where you pass ref cells by argument:
comp Foo() {
  cells { ref B = Bar() }
}
comp Baz {
  cells { B0 = Bar(), F = Foo() }
  control {
    invoke F[B=B0](...)
  }
}

When compiling this program, if you run compile-invoke before compile-ref, what is the compiler supposed to do when it sees the [B=B0] argument? There is no way to turn that into a group.

Ah, right, of course—I don't know why I keep losing track of which case this problem exists in (invoking cells? invoking ref-cells? invoking cells with cell arguments? invoking cells with ref-cell arguments? invoking ref-cells with non-ref-cell arguments? it's all a bit much 😂).
That's pretty convincing. You would have to work very hard to allow structural "passing" of "cell arguments" in the absence of invoke… something like:
group invoke1 {
  F.B = B0;
  invoke1[done] = F.done;
}

which is very very weird; what are we even doing with that F.B = B0 assignment. So yeah, I think we're back to square 1 (thanks for leading me back there), i.e., compile-invoke and compile-ref unfortunately need to get glued together.


Adds Shimmer loader to the Table Issues and Footer

Summary of Changes
Adds a Shimmer loader on the Table Issues and Footer
Tests
Updates tests
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes, including screenshots of any UI changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes all tests documented in the developer guide

Codecov Report

Merging #483 into master will decrease coverage by 5.83%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #483      +/-   ##
==========================================
- Coverage   80.89%   75.05%   -5.84%
==========================================
  Files         223       42     -181
  Lines        5485     1752    -3733
  Branches      635      161     -474
==========================================
- Hits         4437     1315    -3122
+ Misses        987      392     -595
+ Partials       61       45      -16

Impacted Files
Coverage Δ

...ts/common/ResourceListItem/TableListItem/index.tsx

...eSearchResults/ResultItemList/ResultItem/index.tsx

...pplication/static/js/ducks/tableMetadata/api/v0.ts

...ndsen_application/static/js/interfaces/Feedback.ts

...js/components/TableDetail/WatermarkLabel/index.tsx

...omponents/common/Bookmark/MyBookmarks/constants.ts

amundsen_application/static/js/utils/logUtils.ts

...undsen_application/static/js/ducks/search/utils.ts

...ation/static/js/components/Tags/TagInput/index.tsx

amundsen_application/static/js/interfaces/Tags.ts

... and 169 more

Continue to review full report at Codecov.

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


Not work in Vuejs 3

Failed to compile.
<EMAIL_ADDRESS>11:52
Module parse failed: Unexpected token (11:52)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|     if (typeof onload === "function")
|       onload.call(this);

duration.value = (duration.value || sound.value?.duration() || 0) * 1e3;

|     if (autoplay === true) {
|       isPlaying.value = true;

@alex-wdmg could you provide more information on your setup (e.g. content of package.json, nuxt config if applicable, and the full Vue component where you'd like to use vueuse/sound)? Given the limited context you've initially provided it'll be very hard for anyone to help you with this 🙂


[$50] Typing football in the emoji picker shows some weird emojis

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: 9.0.2-4
Reproducible in staging?: y
Reproducible in production?: y
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: @mountiny
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1719476576192849
Action Performed:

Open app
Go to any report
Click on the emoji picker
Enter "footb"

Expected Result:
Should display football icon
Actual Result:
Does not give correct result only when searching for "socc" gives the  correct emoji
Workaround:
unknown
Platforms:

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

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

Screenshots/Videos

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

Upwork Job URL: https://www.upwork.com/jobs/~01282929ab196528f4
Upwork Job ID:<PHONE_NUMBER>191013443
Last Price Increase: 2024-06-27

Issue OwnerCurrent Issue Owner: @fedirjh

Proposal
Please re-state the problem that we are trying to solve in this issue.
Typing football in the emoji picker shows some weird emojis
What is the root cause of that problem?
the keyword mapping of ball doesn't contain the word "football" https://github.com/Expensify/App/blob/82b76c1a36cf1a01b00c14510a5812a591e7f2fd/assets/emojis/en.ts#L3053-L3055
What changes do you think we should make in order to solve the problem?
we need to add football and maybe soccer to the emoji above

@fedirjh I can handle the review on this one

Unassigned @abzokhattab. I was not aware we have this issue widespread on more emojis.
@Krishna2323 Can you get all the data in the correct order from Emojipedia and then use chatGPT to format it in the shape we need it? I feel like that should work and not take that long

Discussing here btw

Yes I think we can close in favour of https://github.com/Expensify/App/issues/42588, and handle all emoji in one issue.


Add Nest Guard Icon

@renanholler Thanks for the PR, please add a screenshot example of this running in the extension. Thanks.


Background Task Stops Prematurely on Android 12+ and Android 14 with react-native-background-actions

Issue Description:
I'm encountering a problem with the react-native-background-actions library on Android 12 and above. Despite configuring foreground service types and granting all required permissions as per the documentation, the background task only runs for 2-4 minutes before stopping abruptly when the app is killed.
Steps Taken:
Implemented foreground service types as specified.
Ensured all necessary permissions (ACCESS_FINE_LOCATION, ACCESS_BACKGROUND_LOCATION, etc.) are granted.
Verified that the app is correctly configured to handle background tasks.
Expected Behavior:
The background task should continue to run reliably in the background on Android 12 and above, without being terminated prematurely.
Additional Information:
Library Version:4.0.0
Android Device OS: Android 12+Android 14
Development Environment: React Native 0.74.3
Any guidance or insights into resolving this issue would be greatly appreciated. Thank you!

This is common, as the OS has absolute control over the background processes of the device. See https://github.com/Rapsssito/react-native-background-actions/issues/22#issuecomment-628737527


Dynamic loading not happening

On the team page

It's not just the faces being blurry, it's not loading any stuff dynamically

I can't reproduce this. Not locally, and not on Netlify.

Not sure what changed but it seems fine now, working for you @shuttle1987?

Doesn't seem to work for me either when I'm looking online.

I suspect this has to do with CloudFront's caching. Will take a look.

Let me know if it works now


Support services with JSON encoding (non-proto)

As per title, currently the SDK only supports services that use proto encoding; get from the daemon whether the service uses proto or json encoding and adjust the client instance accordingly.

related to #9 . see switch_to_json_payload_encoding from utils_proto.py in snet-cli. ( I mean that this function shoudn't be re-implemented, but it should be separated in common library)


Eliminate drop cascade notice message in migration

When running the migrations, we get a notice message about the drop cascading. We re-add the type immediately afterwards, so it would be good to suppress this message specifically if possible because it looks like an error.

Here's the message:
CREATE FUNCTION
psql:./../functions.sql:369: NOTICE:  drop cascades to function mz_calculate_transit_routes_and_score(bigint,bigint)
CONTEXT:  SQL statement "DROP TYPE mz_transit_routes_rettype CASCADE"
PL/pgSQL function inline_code_block line 4 at SQL statement
DO
CREATE FUNCTION

I no longer see this.


Issue with Hint

I'm following the example on this path https://github.com/uber/react-vis/blob/master/showcase/sankey/link-hint.js and I'm getting the following warning:
Warning: 'NaN' is an invalid value for the left css style property.     in div (created by Hint)     in Hint (at sankeychart2.jsx:55)     in div (at sankeychart2.jsx:61)     in SankeyChart2 (created by inject-SankeyChart2-with-campaignAdminstore)     in inject-SankeyChart2-with-campaignAdminstore (at routes.jsx:12)     in sankey2 (created by Route)     in Route (at routes.jsx:20)     in div (at routes.jsx:16)     in Router (created by HashRouter)     in HashRouter (at routes.jsx:15)     in Pages (at src/index.js:13)     in Provider (at src/index.js:12)     in Root (at src/index.js:16)
This is how I'm rendering the Hint component:
`
_renderHint() {
    const {activeLink} = this.state;
    // calculate center x,y position of link for positioning of hint
    const x =
      activeLink.source.x1 + (activeLink.target.x0 - activeLink.source.x1) / 2;
    const y = activeLink.y0 - (activeLink.y0 - activeLink.y1) / 2;
    console.log("("+x+" - "+y+")")
    const hintValue = {
      [`${activeLink.source.name} ➞ ${
        activeLink.target.name
      }`]: activeLink.value
    };
    return <Hint x={x} y={y} value={hintValue} style={{left: 14}}/>;
  }`

I'll appreciate any help.

I am getting this same message but cannot find good doc/examples of how to use Hint - ie, props examples with 'left' or other props that would also cause this type of issue.

I found it in the code that in _getCSSLeft(x) it tries to add marginLeft, which is not defined. The same applies to marginTop. You will avoid the error by including the properties:
<Hint x={x} y={y} marginLeft={0} marginTop={0} value={hintValue} />
The hint styling is still broken and it does not look like it does in the example.


Check tiller health before upgrade

Feature Request
Before triggering the upgrade we should verify that tiller pod is running and healthy to make sure that users' helm charts can be installed/upgraded.
Success:

[x] Upgrade executes a pre-check that verifies tiller health.

[x] The check should not run if "catalog" feature is disabled in manifest.

Done in 5.5, PRs to 6.1, 7.0 and master are created.


webrtc don't work

Which version are you using?
v1.X.X and later
Which operating system are you using?

[x] Linux amd64 standard
[ ] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[ ] macOS amd64 Docker
[x] Other (LXC)

Describe the issue
Description
Since version 1.X.X, in the old version of the chrome browser (66 and up to 74), webrtc links (https://external-ip:port/stream) no longer open, the browser cannot log in and, as a result, a black screen is visible. the same problem on phones with the android 9(pie) operating system. It’s not difficult to update the browser on a computer to version 75, but on a phone it’s quite problematic.
in version 0.23.8 everything works fine
log from server
2023/11/01 16:27:36 DEB [WebRTC] [conn X.X.X.X:11470] OPTIONS /path1/whep
2023/11/01 16:27:36 DEB [WebRTC] [conn X.X.X.X:11470] [c->s] OPTIONS /path1/whep?controls=0 HTTP/2.0
Host: external-ip:port
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7
Origin: https://external-ip:port
Referer: https://external-ip:port/path1/?controls=0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

2023/11/01 16:27:36 DEB [WebRTC] [conn X.X.X.X:11470] [s->c] HTTP/1.1 401 Unauthorized
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Server: mediamtx
Www-Authenticate: Basic realm="mediamtx"

2023/11/01 16:27:38 DEB [WebRTC] [conn X.X.X.X:11470] OPTIONS /path1/whep
2023/11/01 16:27:38 DEB [WebRTC] [conn X.X.X.X:11470] [c->s] OPTIONS /path1/whep?controls=0 HTTP/2.0
Host: external-ip:port
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7
Origin: https://external-ip:port
Referer: https://external-ip:port/path1/?controls=0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

2023/11/01 16:27:38 DEB [WebRTC] [conn X.X.X.X:11470] [s->c] HTTP/1.1 401 Unauthorized
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Server: mediamtx
Www-Authenticate: Basic realm="mediamtx"

2023/11/01 16:27:40 DEB [WebRTC] [conn X.X.X.X:11470] OPTIONS /path1/whep
2023/11/01 16:27:40 DEB [WebRTC] [conn X.X.X.X:11470] [c->s] OPTIONS /path1/whep?controls=0 HTTP/2.0
Host: external-ip:port
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7
Origin: https://external-ip:port
Referer: https://external-ip:port/path1/?controls=0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

log from android 9
requesting ICE servers
:port/favicon.ico:1 Failed to load resource: the server responded with a status of 404 ()
:port/path1/whep?controls=0:1 Failed to load resource: the server responded with a status of 401 ()
?controls=0:115 error: TypeError: this.pc.addTransceiver is not a function
?controls=0:108 requesting ICE servers
:port/path1/whep?controls=0:1 Failed to load resource: the server responded with a status of 401 ()
?controls=0:115 error: TypeError: this.pc.addTransceiver is not a function
?controls=0:108 requesting ICE servers
?controls=0:110 OPTIONS https://external-ip:port/path1/whep?controls=0 401 ()
start @ ?controls=0:110
restartTimeout.window.setTimeout @ ?controls=0:243
?controls=0:115 error: TypeError: this.pc.addTransceiver is not a function
?controls=0:108 requesting ICE servers
?controls=0:110 OPTIONS https://external-ip:port/path1/whep?controls=0 401 ()
start @ ?controls=0:110
restartTimeout.window.setTimeout @ ?controls=0:243
setTimeout (async)
scheduleRestart @ ?controls=0:241
fetch.then.catch @ ?controls=0:116
Promise.catch (async)
start @ ?controls=0:114
restartTimeout.window.setTimeout @ ?controls=0:243
?controls=0:115 error: TypeError: this.pc.addTransceiver is not a function
?controls=0:108 requesting ICE servers
?controls=0:110 OPTIONS https://external-ip:port/path1/whep?controls=0 401 ()

log from browser on pc
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158
Promise.catch (async)
start @ ?controls=0:156
restartTimeout.window.setTimeout @ ?controls=0:287
setTimeout (async)
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158
Promise.catch (async)
start @ ?controls=0:156
restartTimeout.window.setTimeout @ ?controls=0:287
?controls=0:157 error: TypeError: this.pc.addTransceiver is not a function
?controls=0:150 requesting ICE servers
?controls=0:152
start @ ?controls=0:152
restartTimeout.window.setTimeout @ ?controls=0:287
setTimeout (async)
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158
Promise.catch (async)
start @ ?controls=0:156
restartTimeout.window.setTimeout @ ?controls=0:287
setTimeout (async)
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158
Promise.catch (async)
start @ ?controls=0:156
restartTimeout.window.setTimeout @ ?controls=0:287
setTimeout (async)
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158
Promise.catch (async)
start @ ?controls=0:156
restartTimeout.window.setTimeout @ ?controls=0:287
setTimeout (async)
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158

While examining the code, I discovered that the js part in webrtc_read_index.html had been changed
Describe how to replicate the issue

start the server
publish with rtsp
read with browser(android9 phone or pc)

Did you attach the server logs?

yes / no
Did you attach a network dump?

yes / no

aler9 please help me fix this bug

UPD.
I apologize if I misled you. Swears on the ice server, from updated information.
"error: InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'. 'unified-plan' will become the default behavior in the future, but it is currently experimental. To try it out, construct the RTCPeerConnection with sdpSemantics:'unified-plan' present in the RTCConfiguration argument.", source: https://external-ip:port/path1/ (116)

Hello, after digging i found out the explanation for this problem. Even though it involves a small number of users, i added the sdpSemantics parameter inside the server in order to support Chrome versions older than M72.