Update AnalyzerExtensions.cs

#Info (delete this section)
Please see the contributing guide, on the contributing section.
You should notify the maintainers on the issue you are working on before you send a PR.
Rebase and
squash your commits.
Submit one commit only, on top of the branch you are working on, master for bug fixes to the
stable version, vnext to new analyzers and fixers.
Verify if you pass the definition of done.
Always reference issue you are fixing (see bellow, e.g. Fixes #123)
#Start your PR description here (delete this line too)
Fixes # .

Coverage remained the same at 91.617% when pulling 4b1f4f1f10ac3d87f4c90b1c61898f74dc08d79d on Aayushthe1:master into 348ae95341cb1c5e9741d0fd7a4dad0233ef891b on code-cracker:master.

@Aayushthe1 I can't identity what you change in code!


Trouble creating magic-class with two functions, each decorated with @magicgui

We are updating some older magic-class code we used to control a microscope with napari. In the process, we discovered that our GUI is no longer being rendered correctly in napari. That led to some testing and questions on my part.
My main question is how do I create two functions in a magic-class, each decorator with magicgui options?
For example, I would expect this code,
from magicclass import magicclass
from magicgui import magicgui

# Test magicgui options
@magicclass(labels=False,name='Test two magicgui')
class TestTwoMagicgui:

    # initialize
    def __init__(self):
        self.value_1 = 25
        self.value_2 = 400
        self.value_3 = 0

    @magicgui(layout='horizontal',
              value_1={"widget_type": "FloatSpinBox", "min": 5, "max": 225, "label": 'Value 1'},
              call_button = 'Set value 1')
    def set_value_1(self, value_1 = 25.0):
        """
        Set value 1

        :param value_1: float

        :return None:
        """

        self.value_1=value_1

    @magicgui(layout='horizontal',
              value_2 = {"widget_type": "SpinBox",  "min": 0, "max": 100, "label": 'Value 2'},
              value_3 = {"widget_type": "FloatSpinBox", "min": 0.0, "max": 200.0, "label": 'Value 3'},
              call_button = "Set values 2 and 3"
             )
    def set_values_2_3(self, value_2= 50, value_3 = 10.0):
        """
        Set values 2 and 3

        :param value_2: int
        :param value_3: float

        :return None:
        """

        self.value_2 = value_2
        self.value_3 = value_3

if __name__ == "__main__":
    ui = TestTwoMagicgui()
    ui.show()

To show a GUI with two widgets. The first widget should have one entry and the second widget have two entries. Instead, I get a blank GUI that I have to expand to see the title of the window (screenshot attached).

Do you have any suggestions about how to properly setup the above magic-class?
Thanks!

It looks like a bug... @AlexCoul thank you for reporting it!
I found that the magicgui widgets are somehow invisible. I'll try to fix it later.
As a workaround for now, you can manually set the visibility to make it work: ui[set_value_1].visible = True.

Thank you, that worked!


determine if there is still something to record -> stop recording automatically

Hi
I'd like to implement a feature in my App where it stops a recording automatically when it is getting silent. I don't need a perfect solution. But is there a way to determine if there is still some noise or talking happening?
Thanks
Michael

Yes agreed this would be an awesome feature.

Work for that is being done in #112 but we'll need someone for the iOS implementation!


Add warning on duplicate dat. Closes #245

@yoshuawuyts this should work afaik, but doesn't yet. Somehow err.warn = true isn't preserved until it reaches models/error.js. This looks like an issue in choo, right?

I get the correct error message, but I hit the 'OK' button and it doesn't dismiss.

I get the correct error message, but I hit the 'OK' button and it doesn't dismiss.

I've noticed this too in another place, will investigate

I get the correct error message, but I hit the 'OK' button and it doesn't dismiss.

this is fixed now. @yoshuawuyts mind to give a little quick review on the last commit?

@yoshuawuyts also, can you please comment on this?

@yoshuawuyts this should work afaik, but doesn't yet. Somehow err.warn = true isn't preserved until it reaches models/error.js. This looks like an issue in choo, right?

Creating duplicate dats still crashes on my machine. I hit the create new dat button twice in a row on the same directory


LNDg cannot start using django v5.0+

I found the following error after successfully setup all steps
$ .venv/bin/python manage.py runserver <IP_ADDRESS>:8889
Performing system checks...
Exception in thread django-main-thread:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/utils/autoreload.py", line 64, in wrapper
fn(*args, **kwargs)
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/core/management/commands/runserver.py", line 133, in inner_run
self.check(display_num_errors=True)
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/core/management/base.py", line 485, in check
all_issues = checks.run_checks(
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/core/checks/registry.py", line 88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/core/checks/urls.py", line 14, in check_url_config
return check_resolver(resolver)
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/core/checks/urls.py", line 24, in check_resolver
return check_method()
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 516, in check
for pattern in self.url_patterns:
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/utils/functional.py", line 47, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 735, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/utils/functional.py", line 47, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 728, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/lndg/lndg/lndg/urls.py", line 22, in
path('', include('gui.urls')),
File "/home/lndg/lndg/.venv/lib/python3.10/site-packages/django/urls/conf.py", line 38, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/lndg/lndg/gui/urls.py", line 4, in
from . import views
File "/home/lndg/lndg/gui/views.py", line 12, in
from .forms import OpenChannelForm, CloseChannelForm, ConnectPeerForm, AddInvoiceForm, RebalancerForm, UpdateChannel, UpdateSetting, LocalSettingsForm, AddTowerForm, RemoveTowerForm, DeleteTowerForm, BatchOpenForm, UpdatePending, UpdateClosing, UpdateKeysend, AddAvoid, RemoveAvoid
File "/home/lndg/lndg/gui/forms.py", line 9, in
class RebalancerModelChoiceField(forms.models.ModelMultipleChoiceField):
File "/home/lndg/lndg/gui/forms.py", line 15, in RebalancerModelChoiceField
forms.MultipleChoiceField._set_choices)
AttributeError: type object 'MultipleChoiceField' has no attribute '_set_choices'
$
`
My environment:
Bitcoin Core 26.0
LND 0.17.3
OS: Ubuntu 22.04.3
$ lncli -v
lncli version 0.17.3-beta commit=v0.17.3-beta
$ bitcoin-cli --version
Bitcoin Core RPC client version v26.0.0
Copyright (C) 2009-2023 The Bitcoin Core developers
Please contribute if you find Bitcoin Core useful. Visit
https://bitcoincore.org/ for further information about the software.
The source code is available from https://github.com/bitcoin/bitcoin.
This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING
or https://opensource.org/licenses/MIT
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
`

In the requirements.txt file, do the following change:
Replace Django with Django==4.2.8
Then, re-run venv/bin/pip install -r requirements.txt (or wherever your venv is)
Django released v5 a few days ago which handles form choices a bit different (thus breaking things) and the requirements.txt would try to install the latest v5. If you rollback to Django v4 your problem will go away :)

Thanks @lacksfish for the root cause and interim fix! This issue will be resolved in the v1.8.0 release.

I see https://github.com/cryptosharks131/lndg/commit/fedef6d9199c6d5404f9af379331663426c36985 👍
OT: I have this running for about a good week now. Autofee seems to be working and adjusts every now and then.
I have AR enabled as well as under 'Advanced Settings' I manually enabled AR for all my channels. Some have been immediately disabled by AR again. I think that's expected? Still, my channels are not really balanced, either completely full or completely empty.
Does this sound like it's working ? I'd love to route more payments, but not much is happening. Perhaps my channels are not good (directional-bias, etc) ?

You don't want to enable all individual channels for AR, only the ones you want to invest sats into restocking the outbound liquidity for (so you can resell it at a higher price). All channels that are not marked for AR will be potential sources to refill those selected channels. The Autopilot feature will enable and disable channels based on their historical flow rates, so it's possible this is why you saw this behavior.
This guide can help understanding the process a bit better as well.
https://github.com/cryptosharks131/lndg/blob/master/quickstart.md

Successfully started lndg after changed Django==4.2.8. Thank you very much.

Just a hint for people using docker, you can change the Dockerfile to pick up your change to requirements.txt by adding a COPY line like this:
04:37 $ cat Dockerfile
FROM python:3
ENV PYTHONUNBUFFERED 1
RUN git clone https://github.com/cryptosharks131/lndg.git /lndg
WORKDIR /lndg
COPY requirements.txt /lndg/requirements.txt
RUN pip install -r requirements.txt
RUN pip install supervisor whitenoise

And then re-run docker-compose build --no-cache to make a new image and try it again. I also deleted the lndg container and lndg image for good measure before running docker-compose up again.


Provide support for all primitive types and arrays for annotations in IDL

Currently only strings are supported, there's no way to define:
@config(zones=[left, right, rear]

This could either be achieved by supporting other types (e.g. bool, int, real, string) and arrays and dicts or by specifying that the string given is interpreted as a JSON string and we use python JSON converted todo the job.
@config(zones=["left","right","rear"])

The other option would be to use inline YAML syntax.
@config(zones: [left, right, back], hello:{a: 10, b: 20})

And treat everything what can appear between the () as YAML object (so replace () with {}) and feet it to the yaml parser. By this we can use a powerful parser for this code and do not have the overhead of all the JSON ". It would also be aligned with the YAML external annotation files.
The only issue here is to be able to detect when the YAML part would end.

would be very useful, at least require full support for strings and boolean

@mkrus , @vpopovpcore
Please have a look here: https://github.com/Pelagicore/qface/tree/feature/yaml_annotations.
The annotation syntax has changed to be YAML based. Same as the external annotations file.
I would like to make you aware of the changes before I merge it in, as it will require to update your annotations.

looks good to me. maybe point our they should be single line in the documentation

This is fixed with c82d515e541c31019784e884e50d093fb955d49a


Classification Fairness - Metrics and Interventions

Pull Request Test Coverage Report for Build 146

238 of 346 (68.79%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.3%) to 71.429%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ethically/fairness/metrics/utils.py
5
7
71.43%

ethically/fairness/metrics/binary.py
53
64
82.81%

ethically/fairness/metrics/visualization.py
8
34
23.53%

ethically/fairness/interventions/threshold.py
153
185
82.7%

ethically/fairness/metrics/score.py
16
53
30.19%

Totals

Change from base Build 144:
2.3%

Covered Lines:
864

Relevant Lines:
1153

💛  - Coveralls


Pixi Cannot Render Emoji

Plain Canvas can render Emoji but Pixi can't. From what I can tell Pixi does text by drawing to a canvas which it then uses as a texture, so theoretically this should be possible unless I'm overlooking something.
See code here: https://gist.github.com/KenPowers/be39b6745dab4e9d5269
npm run canvas:

npm run pixi:

Verified in Chrome 46.0.2490.80 (64-bit) and Firefox 42.0 on Mac OS X 10.11.1.
Interestingly, Pixi can render Emoji in Safari 9.0.1 (116<IP_ADDRESS>):

It writes the text character (not colored) on Chrome 46.0.2490.86 m (64-bit) on Windows 10. This doesn't seem to be a PIXI issue because it is merely calling canvas.fillText. Instead it seems to be a browser issue and operating system issue.

It seems strange to me though because just calling fillText directly works but it doesn't work with Pixi.

I noticed you are not setting the font properties in the Pixi example (Pixi assumes a default), but they are being set in the Canvas example. There could be other properties on the default Text instance that cause it to fail as well. Can you check if http://jsfiddle.net/grovesNL/xsrLog4g/ works for you?

Seems to be a problem with the default font used by Pixi. I set the font to 10px sans-serif (canvas context default). Strange that it works in Safari, but this doesn't seem like an issue with Pixi itself.


ImportError: cannot import name 'np_utils' in ImageDataGenerator

The TensorFlow docs are open source! To get involved, read the documentation
contributor guide: https://www.tensorflow.org/community/contribute/docs
URL(s) with the issue:
Please provide a link to the documentation entry, for example:
https://www.tensorflow.org/api_docs/python/tf/keras/preprocessing/image/ImageDataGenerator#examples_2
Description of issue (what needs changing):
Clear description: np_utils is no longer available. It should be replaced with utils. Reproducible code is mentioned in this Colab.
For example, why should someone use this method? How is it useful? : Developers using ImageDataGenerator.flow use this code.
Correct links
Is the link to the source code correct? : Yes
Parameters defined
Are all parameters defined and formatted correctly? : Yes
Returns defined
Are return values defined? : Yes
Raises listed and defined
Are the errors defined? No
Usage example
Is there a usage example? : Yes
Request visuals, if applicable
Are there currently visuals? If not, will it clarify the content?
Submit a pull request?
Are you planning to also submit a pull request to fix the issue? See the docs
contributor guide: https://www.tensorflow.org/community/contribute/docs,
docs API guide: https://www.tensorflow.org/community/contribute/docs_ref and the
docs style guide: https://www.tensorflow.org/community/contribute/docs_style

Was able to reproduce the issue with TF v2.3 and TF-nightly. Please find the gist of it here. Thanks!


Handle moved ensemble.sample function

@tcstewar - I'm happy to merge this if you're happy?
Fixes #157.

It looks like something else moved too...  or at least we got rid of a parameter that wasn't needed at all...

I've now been using this long enough that I'm pretty sure it's right, so I'm merging it....


Mock ZAFClient for local dev and jest?

Hello!
I'm trying to use Jest and also use the local ZAT server to accelerate my development process, as the dev compiled version of my code is just too big to upload to Zendesk for testing.
I need to be able to mock my secure API calls in local dev, to streamline my development process, but can't find an easy way in webpack or jest to overwrite the one being by ZAT Server which is a bit of a mystery black-box from the user end.
I'm happy to have a dig around in the code and see if I can add something of value here...   is this an enhancement or contribution y'all would be open to?

Just noticed the ZCLI tool, so exploring that.

It looks like the scaffolds have been updated since I started using them to include Jest so that's a bonus:
https://github.com/zendesk/app_scaffold/blob/master/jest.config.js
Interesting to note that the ZAFClient global mocks init() but no other functionality.

How good is ZCLI


Refactor settlement account and transfer

refactoring proposal:
settlement:

makes use of the instructors and approvers of the corresponding accounts (instead of sender and reciever). The tricky part is to get the disclosure/undisclosure logic right. Assumption is that instructors and approvers are  subsets of {custodian, owner} which are the disclosureControllers of the Account and Holding implementations (had to change the disclosureControllers for our holding implementations to get it to work).
amends SettleOffledger to require the custodian , sender , and receiver to allocate/approve.
replaced signed by signedSenders and signedReceivers. Upon unallocate and unapprove they are set to empty resp. This changes the interface, but might be possible to keep signed in the interface (if we prefer not to change it).

accounts

changed the controllers for Debit (to be custodian and account.controllers.instructors) and Credit (to be custodian and account.controllers.approvers)
due to 2a, we can remove DebitAndCredit and have the transfer logic in the Transfer choice (I think that is easier to understand)

Generally like the change, as it does away with the CreditAndDebit choice, which is somewhat confusing.
What is not so nice generally is the growing complexity of the Instruction implementation. I wonder if we should have a default implementation that doesn't do any of the disclosure wizardry (and assumes all accounts are visible), and then an "auto-disclosing" one with the complexity.

Generally like the change, as it does away with the CreditAndDebit choice, which is somewhat confusing.
What is not so nice generally is the growing complexity of the Instruction implementation. I wonder if we should have a default implementation that doesn't do any of the disclosure wizardry (and assumes all accounts are visible), and then an "auto-disclosing" one with the complexity.

Yeah, the two advantages are:

settlement is more inline with our controllers logic from the account
the Transferable is easier to understand, and makes sense again in that it captures the transfer logic completely (except for controllers being derived from the account's used)
The disclosure complexity is still there, but at least it is happening under the hood. I'm afraid, it would become quite clunky to disclose Accounts and Holdings appropriately outside of the Instruction. I factored out some common code to a helper function which might make it a bit harder to read at first.

I'm afraid, it would become quite clunky to disclose Accounts and Holdings appropriately outside of the Instructions unless a public party is used (and at least for the Holdings the privacy is quite important).

I meant a situation where the settler a priori is made aware of all the accounts involved. In a marketplace / exchange app for example the participants would disclose their accounts explicitly to the exchange such that it can facilitate settlement. One could still leave the holding disclosure in, but I guess that would make things already considerably simpler. Just thinking of this as an alternative implementation, that is easier to understand / use in such situations (which I imagine might often be the case if you anyway have a central party doing the settlement).

I'm afraid, it would become quite clunky to disclose Accounts and Holdings appropriately outside of the Instructions unless a public party is used (and at least for the Holdings the privacy is quite important).

I meant a situation where the settler a priori is made aware of all the accounts involved. In a marketplace / exchange app for example the participants would disclose their accounts explicitly to the exchange such that it can facilitate settlement. One could still leave the holding disclosure in, but I guess that would make things already considerably simpler. Just thinking of this as an alternative implementation, that is easier to understand / use in such situations (which I imagine might often be the case if you anyway have a central party doing the settlement).
EDIT: maybe not something for this PR, but it could be an implementation we add later.

The advantage to the customer of such a simpler implementation is a reduction in the number of ledger events (no disclose + undisclose)

I'm afraid, it would become quite clunky to disclose Accounts and Holdings appropriately outside of the Instructions unless a public party is used (and at least for the Holdings the privacy is quite important).

I meant a situation where the settler a priori is made aware of all the accounts involved. In a marketplace / exchange app for example the participants would disclose their accounts explicitly to the exchange such that it can facilitate settlement. One could still leave the holding disclosure in, but I guess that would make things already considerably simpler. Just thinking of this as an alternative implementation, that is easier to understand / use in such situations (which I imagine might often be the case if you anyway have a central party doing the settlement).
EDIT: maybe not something for this PR, but it could be an implementation we add later.

The advantage to the customer of such a simpler implementation is a reduction in the number of ledger events (no disclose + undisclose)

We could call it DisclosingInstruction and NondisclosingInstruction (or SimpleInstruction, but I prefer descriptive names. And as far as I can see, this would only affect the instruction implementation, not the batch (which is nice). I guess one added complexity is then that we need another settlement factory for the new instruction type (or a flag on the existing one to tell whether to use disclosing or non-disclosing instructions).

I've created https://github.com/digital-asset/daml-finance/issues/428 for adding the non-disclosing instruction.


Switching to new environment cause network error

v0.27.0-rc1

Create a new environment
Switch to that environment from the manage environments page

Results:  Network error is being thrown in dev tools
WebSocket connection to 'ws://<IP_ADDRESS>:8080/v1/subscribe?eventNames=resource.change&include=hosts&include=instances&include=instance&include=loadBalancerConfig&include=loadBalancerTargets&include=loadBalancerListeners&include=instanceLinks&include=ipAddresses&projectId=1a9' failed: Invalid frame header
Expected:
No error

This is just a side effect of the socket closing...


Allow users to set maximum coordination fee rate for coinjoining

The idea is to protect users from malicious coordinators which could create rounds with very high coordination fee rates and drain the users balance. Many users would set it to zero so, zero should be the default(?)
It would be prudent to hardcode a hard limit upper limit of 0.3%.

Duplicate? https://github.com/WalletWasabi/WalletWasabi/issues/13106

I am worried about my mental health. How did this happened?


Make changes to be Python 3 compatible

While helping my advisor get PySM running, I found a few instances where syntax or usage restricted me to proceeding with a Python 2.7 instance. This PR includes the obvious (but probably sub-optimal) changes I made to get the installation and nosetests commands to complete without errors. Testing on a Python 2.7 instance also still worked (but my Python knowledge is pretty basic, so I don't know if I've made changes that make 2.6 and earlier now break).
Specifically, Python 2.7.6 and Python 3.6.1 with packages:
numpy = 1.13.0
scipy = 0.19.1
matplotlib = 2.0.2
sphinx = 1.6.3
nose = 1.3.7
healpy = 1.10.3

@jmert have you also tried to run the 2to3 tool (https://docs.python.org/2/library/2to3.html) to check if it picks up any other useful modification?

also, can you please add "3.5" and "3.6" to the Python versions that are tested in .travis.yml so that the unit tests also run on Python 3?

have you also tried to run the 2to3 tool (...) to check if it picks up any other useful modification?

I hadn't, but I just did. It caught a few more print statement -> function transformations for me which I've amended to my original by-hand modifications.
I've also added the remaining conversions made by 2to3 to the last commit (with slight modifications to either ignore what looked like unnecessary/erroneous conversions or to simplify where I thought I understood what was being done).

also, can you please add "3.5" and "3.6" to the Python versions that are tested in .travis.yml so that the unit tests also run on Python 3?

Done


Add ARCx Governance Token

Hi! What is your PR about?

[x] Add images for your space
[X] Add custom domain for your space
[X] Add alias for migrate your space
[X] Add or edit a skin

Done, let us know if there's anything else :)

Realised that the way of creating things on Snapshot has changed, used the UI instead and this PR just contains the logos and an entry to the domains list :)


Added stack data structure

@SaShaShady contribute here https://github.com/Ishaan28malik/Get-Dev-Resources


Add Jenkinsfile for  CI-spring-petclinic pipeline

@mariiayakubenko Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

No thank you


Switch default branch to main

It seems like many projects have adopted main as the default branch, and it's the default for new repos here on github  (and it's more inclusive language). Would you be willing to change the default branch here as well? It's always a bit of context switch for me when I go to check for updates to this project - I have muscle memory around git pull origin main (and fish autocompletes that for me) so it's a tiny bit jarring to back up and type master.

Hi there! As you may have noticed, this script doesn't get many updates (mostly cause it doesn't need them). As such, for as much as I understand the use case, it's not really something that needs checking more than once or twice a year.
On top of that, I'm quite reticent to changing the main branch name when I have no other significant changes to make. When the script will require changes next, I will consider it again 🤗

That makes sense. Thank you!


Can not install jpegio for Windows with pip

Command 'pip install jpegio' failed. May be here connection with INLINE macros, described early.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
/close

@sesheta: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Fix sidebar position for RustSDK

Explanation

Related issue

What type of PR is this
/kind bug

Proposed Changes

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!


x/build/cloudfns/wikiwebhook: wiki updates reporter does not report deleted pages

gopherbot reports changes to the wiki in e-mail to golang-wikichanges, which is very helpful.  However, it does not report when pages are deleted.  This means that when someone carelessly or maliciously deletes a page, we don't notice.  This recently happened with the page Mobile.md, in revision 0615f77906f56357715932cf43f79ef2b1823c80, and then again in revision 04aa758f8beac3ab957e3e48537d263b710c1f54, of the wiki repo, but no e-mail was sent either time.
CC @andybons

Currently the only events we get from GitHub are created and edited so we'd have to write our own loop to check this.

Well that is just absurd.

Fortunately Gerrit supports setting up notifications for the wiki repo for all changes, including those that involve deleting pages:


QC directory

Hi, I have run 20 MTB strains using UVP and found that the result of 1 strain is located in the QC directory, while the other 19 strains are located in the Results directory.
Might I know the is the potential cause of this?
Thanks

I thought this is due to a directory with the same name already exists the Results directory.
I have repeated the analysis and the results were located in the Results directory.

Good.
On Tue, Mar 26, 2019 at 5:08 AM alantsangmb<EMAIL_ADDRESS>wrote:

Closed #21 https://github.com/CPTR-ReSeqTB/UVP/issues/21.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CPTR-ReSeqTB/UVP/issues/21#event-2228980030, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFLYb4z8LtwLmtbOMWKPwVogNte7IiIiks5vaeOlgaJpZM4cKyb9
.


[Event Request] Codeunit "Where-Used Management" / Function "BuildWhereUsedList"

Hello,
we need an Event at the end of the function "BuildWhereUsedList" with following parameter:
Type, No, CalcDate

Any parameters by var? You should show the declaration of the event publisher, as well as how/where it should be called in the main function.

Thanks for your reply. I've edited my first post.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Dark Mode Button in Blogs Section

Current Behavior
The current UI of dark mode button is very basic
Desired Behavior
I want to make it more better than before
Screenshots / Mockups
Before
https://github.com/OSCode-Community/OSCodeCommunitySite/assets/101205226/cd7d50aa-fac8-4301-810c-98d5aa0080af
I will make this type of button in blog section and also make the ball transparnent
https://github.com/OSCode-Community/OSCodeCommunitySite/assets/101205226/e7fd8c47-cad1-48d1-b36f-b0b4e3dac7f9
I want to work on this Please assign me this issue

Hey @parasss19 , thanks for stepping up. Actually we are creating blog page using hashnode, so we won't be able to give access to everyone. If there is any thing else , u would like to work on, please go ahead!


support install by home-brew on macos

As mentioned in the title, this way, one can utilize the system's package management capabilities for installation and updates.

What can I help you? I don't have a macOS tho.

Home-brew is a package manager on macOS, like mason-registry.dev but for macOS, not just for nvim. I don't have any relevant experience.

I find it https://docs.brew.sh/Installation#linux-or-windows-10-subsystem-for-linux. I will try it when I schedule a time.

also, in want to support scoop on windows, aur on archlinux, 😄

also, in want to support scoop on windows, aur on archlinux, 😄

You the kid asking for too many sweets 😈, /s.
Okay, I will also look at that software registries.

also, in want to support scoop on windows, aur on archlinux, 😄

I would encourage you working on this if this can benefit your workflow.

I'll close it as not planning. This does not mean that I'm not concerned but it is not a really issue.
Once tinymist are registered to those registries by someone or me, they will be listed in the installation section in README.


fix/driver-agenda-register-query

Please review before merging.

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

GitHub release
v3.4.1

Your semantic-release bot :package::rocket:


Remove openstack dep

A database is created every time a new VC is added. All the NetworkElement information will be stored therein, per VC .
All the openstack dependencies, including NeutronSecurityContollerApi and org.osc.conroller.nsc.api.openstack4j are gone.

@dmitryintel  Is this ready for being reviewed again?  I looks like some comments still need to be addressed.

@dmitryintel is it ready to be reviewed

looks like @arvindn05  last comments have been addressed. I am approving and merging.


Create billboard.yml

a profile for advertising billboard

One mistake has been made in the operator field. I fixed it for you.


samples: drivers: led_ws2812: add fixture to sample.yaml

samples: drivers: led_ws2812: add fixture to sample.yaml
This sample should be executed only when connecting external
hardware (Led strip). Thus it is necessary to add fixture to avoid
execution when no hardware is connected.
Note: This is linked to the merge of PR #46936 "Feature/ws2812 cpol and cpha"
It causes test to failed on nucelo_h743zi and nucleo_g071rb, whereas test used to be filtered (because no led strip connected to those boards on automatic tests bench)

^^ @jeppenodgaard
This means you will need to add fixture to your map.yaml.

Not sure what you mean. I don't think I've seen a map.yaml file before.

If you are using twister
https://docs.zephyrproject.org/latest/develop/test/twister.html#executing-tests-on-multiple-devices
There is an option to generate such file: --generate-hardware-map
And below the way to add fixture in the generated file
https://docs.zephyrproject.org/latest/develop/test/twister.html#fixtures


[Feature Request]: Update the SSH Key Generation in e.g. the VM module to use the REST call instead

Description
Currently, the test cases (e.g., ref)

Generate the SSH Key using a deployment script
Then deploy the SSH Key Resource and provide it with the key
Return the public key to e.g. the VM

The way that is documented / recommended in the docs is actually to use a REST for the generation instead.
This would change the flow to

Deploy the SSH Key Resource
Trigger the REST call using a deployment script
Return the generated public SSH key to e.g. the VM

Was implemented in the meantime


do scope

First of all thanks for new hope.
And i'd like to contribute my two cents regard  do generated functions scope...
I know there is self, but also there are scenarios when self does not help.
For example i'm requiring a set of functions from another file and injecting them into prototype:
module.exports =
  save: do |data|
    post data, do |response|

and compiled code looks like:
(function(){
  var self = this;

  return module.exports = {
     save: function(data) {

so save function's self is Window,
though this is still correct cause it was inserted into base class's prototype,
so if do would behave like fat arrow this would make the deal...
There are of course "brute force" solutions like
var fn = do
  some code
post data, fn.bind(this)

or even
post data, _:bind({
  some code
}, this)

but as you can see they are just dirty hacks for such a elegant language.
So if do and { } will behave like fat arrow we will have two ways to define functions:

def will define regular functions bound to self
do and {} will define scoped functions bound to this

makes sense?
thank you.

or at least allow this construction to work:
post data, {
  some code
}.bind(this)

actually it throws: Module build failed: Parse error at [981:1]: Unexpected '.'

err, i meant
post data, { |response|
  some code
}.bind(this)

We do consider adding a func-keyword (or similar) - that behaves exactly like do but without binding self (fat arrow). It's not totally clear to me what you are trying to achieve -- but you can use this in imba as well. this will always refer to the real this, just like in plain javascript. You can also define methods with def in imba. These are closed scopes (self is not brought in from outer scope). So if I understand you correctly, you might want to do:

export def save data
    post(data) do |response| console.log('something')

This compiles to:
function save(data){
	return this.post(data,function() { return console.log('something'); });
}; exports.save = save;

I've promised to release the new site (with docs) this week, and we'll explain it there in more detail. But yes, lambda-style blocks are 'open', where their implicit self refers to the outer 'closed' scope. You can still use this explicitly though, it will never refer to anything else than the actual js this.
Method declarations (def) are 'closed' scopes, where the implicit self is not brought in from outer scopes.
And some more undocumented syntax I:
post data, { |response| some code }.bind(this)

is not valid in imba, we use regular parens instead:
post data, (|response|
   some code
).bind(this)

This only works for methods with arguments though, so it is a rather clumsy syntax which might be deprecated in favour of the ruby-like syntax you wrote. To be on the safe side, you could just do this:
post data, (do
   some code
).bind(this)

# with parens
post data, (do |res|
   some code
).bind(this)

exactly, but inside function() { return console.log('something'); } the this will be Window,
that's the issue.
my idea was do to generate functions like this:
function() { return console.log('something'); }.bind(this)

No, not in this example.
export def save data
	post(data) do
		self # self here is the method on which save is called

The implicit self of a do block is always the closest 'closed' scope, not the outermost. def save has a closed scope, which the inner do will refer to.

ok, wonderful,
export def works perfect!
self is just what it is expected to be.
thank you.
Imba is impressive!
hoping it is here to stay.
keep doing marketing.
nowadays marketing is most important language feature :)


client timeout too short and no timeout arg

I lost metrics on both my test devices and running the client command at a shell prompt shows timeout errors:
# goldy-client -h www2.orchardsystems.com -p 8650 -l 8649
2019-01-30 23:55:28.150585 send_one_dtls_packet(PID=2930): Seeding the random number generator...
2019-01-30 23:55:28.152707 send_one_dtls_packet(PID=2930): Loading the CA root certificate ...
2019-01-30 23:55:28.153144 send_one_dtls_packet(PID=2930): Connecting to udp www2.orchardsystems.com:8650 (SSL hostname: www2.orchardsystems.com)...
2019-01-30 23:55:28.771511 send_one_dtls_packet(PID=2930): The local client UDP source port is 48581
2019-01-30 23:55:28.771680 send_one_dtls_packet(PID=2930): Setting up the DTLS structure...
2019-01-30 23:55:28.772177 send_one_dtls_packet(PID=2930): Performing the SSL/TLS handshake...
2019-01-30 23:55:30.727752 send_one_dtls_packet(PID=2930):  ... during SSL handshake, ret=-26880 (WANT_READ=-26880, WANT_WRITE=-26752, RECV_FAILED=-76
2019-01-30 23:55:33.133607 send_one_dtls_packet(PID=2930):  ... during SSL handshake, ret=-26880 (WANT_READ=-26880, WANT_WRITE=-26752, RECV_FAILED=-76
2019-01-30 23:55:33.133782 send_one_dtls_packet(PID=2930): handshake duration: 4361 milliseconds
2019-01-30 23:55:33.133870 send_one_dtls_packet(PID=2930): ERROR: long time to perform handshake: 4361 milliseconds
2019-01-30 23:55:33.133977 send_one_dtls_packet(PID=2930): Closing the connection...
2019-01-30 23:55:33.134072 send_one_dtls_packet(PID=2930): Client socket was never opened ...
2019-01-30 23:55:33.134453 send_one_dtls_packet(PID=2930): Done, exitcode=0

Bad internet, possibly my DSL modem (pretty much ruled out everything but that).  I'm ordering a new modem but this could easily be a problem at real customer locations, so I think we need to log something (on the PoS) so we can restart goldy-client/gmond.  Right now I'm losing metrics repeatedly and usually they don't come back without the ^^ restarts.  We don't need to keep adding stuff to watchd, and my plan was to create a few more roles anyway (for baseline install and to maintain configuration) so that should suffice for this issue.  In this case, if goldy-client can detect the condition and crash itself it would automatically get restarted (once I make a role for it).

This is now happening on all new staging/dev installs to VMs (I still can't do a local device install yet).  It used to work (we got metrics fine from VM installs) and now it pukes in 0 msec:
# goldy-client -h www2.orchardsystems.com -p 8650 -l 8649
2019-03-06 02:41:58.848854 send_one_dtls_packet(PID=10465): Seeding the random number generator...
2019-03-06 02:41:58.849156 send_one_dtls_packet(PID=10465): Loading the CA root certificate ...
2019-03-06 02:41:58.849209 send_one_dtls_packet(PID=10465): Connecting to udp www2.orchardsystems.com:8650 (SSL hostname: www2.orchardsystems.com)...
2019-03-06 02:41:58.886632 send_one_dtls_packet(PID=10465): The local client UDP source port is 48417
2019-03-06 02:41:58.886645 send_one_dtls_packet(PID=10465): Setting up the DTLS structure...
2019-03-06 02:41:58.886688 send_one_dtls_packet(PID=10465): Performing the SSL/TLS handshake...
2019-03-06 02:41:58.886981 send_one_dtls_packet(PID=10465):  ... during SSL handshake, ret=-76 (WANT_READ=-26880, WANT_WRITE=-26752, RECV_FAILED=-76
2019-03-06 02:41:58.886991 send_one_dtls_packet(PID=10465): handshake duration: 0 milliseconds
2019-03-06 02:41:58.886995 send_one_dtls_packet(PID=10465): ERROR: failed! mbedtls_ssl_handshake returned -0x4c
2019-03-06 02:41:58.886999 send_one_dtls_packet(PID=10465): Closing the connection...
2019-03-06 02:41:58.887004 send_one_dtls_packet(PID=10465): Client socket was never opened ...
2019-03-06 02:41:58.887034 send_one_dtls_packet(PID=10465): Done, exitcode=0

You can debug it on any VM on appleseed (there are 2 new dev installls, one in dev_mode and one not).


Git FETCH_HEAD

Every project I create with PkgTemplates.jl shows the following message whenever I do a git pull:

branch            master     -> FETCH_HEAD
Already up-to-date.

Even though all the objected have been fetched, the message keeps appearing on every pull. What is done differently than PkgDev.jl, I don't get this message when I create the package with their generate() method.

Any idea of what is happening?

Sorry, I have not had time to look at this. I'll try to get to it this weekend.

I've added the following line to the .git/config of the repository and the problem was solved:
	fetch = +refs/heads/*:refs/remotes/origin/*

This line should be placed in the section origin (the GitHub clone), although I don't understand what it means:
[core]
	bare = false
	repositoryformatversion = 0
	filemode = true
	logallrefupdates = true
[remote "origin"]
	url = git@github.com:juliohm/LocallyWeightedRegression.jl
	fetch = +refs/heads/*:refs/remotes/origin/*
	pushurl = git@github.com:juliohm/LocallyWeightedRegression.jl
[branch "master"]
	remote = origin
	merge = refs/heads/master

How PkgTemplates.jl differs from PkgDev.jl when it comes to Git?

Okay, this should be at least partially fixed. I think you need to set your upstream branch (git push origin master -u) to get rid of the FETCH_HEAD thing. Let me know if that works!

You mean that PkgDev.jl also generated the same FETCH_HEAD message upon git pulls?

Correct, yet. Either way, the remote is now set identically to PkgDev.

I don't remember seeing this issue in a while, it should be fixed, thanks :blush:


Confusing guidance around cmake settings

Brief Issue Summary
If I want to pass an argument to CMake, I can use -D on the command line or on CLion, via the UI pretty easily.
In CMake Tools, the guidance is rather confusing. While it is clear that cmake.configureSettings should be used in settings.json, what is the UI equivalent of it?
The configure settings in the UI is not a nice tabulated view:

The Configure Environment, for my purposes, seems to work just as well - but is that the recommended approach?

There is no custom UI currently for CMake configure settings or arguments. We would like to implement such feature sometime in future (not very soon since we have other asks to address first) so I am leaving this GitHub issue open to track that.
An additional clarification, use cmake.configureSettings for CMake defines (-D arguments) and cmake.configureArgs for any kind of CMake arguments (-D or not).

For the record the docs for cmake.configureArgs say Do not pass -D arguments using this setting. which is confusing.

I just updated the docs to instead say that it is not recommended to pass -D args via cmake.configureArgs


The problem when  i run gradcam.py in segmentation task

First of all thanks for your code.
I refer to your unet segmentation example, my setting is
model = Network(channel=32, n_class=1)
model = torch.nn.DataParallel(model).cuda()
model.load_state_dict(torch.load(opt.pth_path))

current_path ='/home/'
# model = medcam.inject(model, label=2, replace=True, backend="gcam", layer='module.attn_conv4')
model = medcam.inject(model, output_dir=os.path.join(current_path, 'results/unet_seg/gcam'),
                      backend='gcam', layer='module.attn_conv4',
                      evaluate=True, save_scores=False, save_maps=True, save_pickle=False, metric='wioa')

but when I run the test.py  ,  there Is  an error issue come:
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/medcam_inject.py", line 199, in forward
self.test_run(batch, internal=True)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/medcam_inject.py", line 229, in test_run
_ = self.medcam_dict['model_backend'].generate_attention_map(batch, None)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/backends/base.py", line 21, in generate_attention_map
output = self.forward(batch)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/backends/grad_cam.py", line 109, in forward
return super(GradCAM, self).forward(data)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/backends/base.py", line 32, in forward
self._extract_metadata(batch, self.logits)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/backends/base.py", line 75, in _extract_metadata
self.output_batch_size = output.shape[0]
AttributeError: 'tuple' object has no attribute 'shape'
In    self.output_batch_size = output.shape[0],  the  output  comes  from   self.logits = self.model.model_forward(batch)
I  have no idea with what the kind of self.logist should be

Hi,
can you set evaluate=False, remove metric='wioa' and then tell me what happens?
Furthermore which network do you use and what is the shape of your input data?
Please also show me the code that includes the forward pass.
Best
Karol

Thank you for your reply! The problem i mentioned befored have been solved, it may be caused by the model have more than one output, and changing the output of model to one the problem disappeared.
However, the new problem happened.  The information are:
Traceback (most recent call last):
File "/home/cnu_nyfMyTest_gradCam.py", line 96, in
inference()
File "/home/cnu_nyf/MyTest_gradCam.py", line 80, in inference
result = model(image)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/medcam_inject.py", line 199, in forward
self.test_run(batch, internal=True)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/medcam_inject.py", line 229, in test_run
_ = self.medcam_dict['model_backend'].generate_attention_map(batch, None)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/backends/base.py", line 23, in generate_attention_map
attention_map = self.generate()
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/backends/grad_cam.py", line 126, in generate
attention_map = self._generate_helper(fmaps, grads, layer)
File "/home/cnu_nyf/anaconda3/envs/inf/lib/python3.6/site-packages/medcam-0.1.6-py3.6.egg/medcam/backends/grad_cam.py", line 182, in _generate_helper
attention_map = torch.mul(fmaps, weights)
RuntimeError: The size of tensor a (256) must match the size of tensor b (64) at non-singleton dimension 1
My model is a variation of resnet50, and the size of input images is (1,3,352,352). I have tried the measures you mentiond, it dosen't work and still make this error.

Hi again,
so you have a new error now?
Please post a snippet of the code you are using so I can get a better insight on the problem.
Best
Karol


[FLINK-16190][e2e] Migrate tests to FlinkResource

Based on #11246.
Migrates existing java e2e tests from the FlinkDistribution to the FlinkResource.
Tests should only work against the FlinkResource API; the distribution class is more of a low-level construct.
Since the distribution exposed more functionality than the FlinkResource does we had to extend things slightly.
For mutating the distribution (like copying jars) a new FlinkResourceSetup class was introduced with which tests can define customization steps for a distribution.
The FlinkResource now also exposes a method for searching logs.
The existing FlinkResource#addConfiguration method has been removed as it is subsumed by the resource setup.

I think this PR introduced an end to end test failure (that was reported in the PR CI): https://issues.apache.org/jira/browse/FLINK-16410


Support for new ShowRSS?

Do you have plans to support the new ShowRSS (http://new.showrss.info/)?

I did, Catch 1.9.3 supports it :) Eventually new ShowRSS with replace the old one, so even the "Launch ShowRSS" menu item will go to new ShowRSS. But the feeds work today!


Move internal/pppoe to pppoe.

The API is clean enough to share as a first-class thing. Yay.

LGTM. Not a ton to review here.


Combine two coils to produce single QA results for systems with limited Rx channels

I recently had to test a 56ch Rx coil on a GE system with maximum 32ch receivers. So I ran the coil QA protocol on two separate elements (anterior: 28ch ; posterior: 28ch), and the idea is then to combine the pfiles into a single coil correlation matrix and SNR maps.

[!WARNING]
The correlation matrix and SNR maps will be incorrect, given that 28ch were "turned off" during the acquisition of the noise correlation for the other 28ch. The purpose of combining the correlation matrices is simply to have a quick overview of how noise looks like for each set of elements.

Fixed in #8


:sparkles: Add configurable glob pattern for groups sync

TODO:

[x] Add tests
[ ] Update changelog

Codecov Report

Merging #20 (af3ffda) into master (b44f07c) will increase coverage by 0.45%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   93.38%   93.84%   +0.45%
==========================================
  Files          20       21       +1
  Lines         484      520      +36
==========================================
+ Hits          452      488      +36
  Misses         32       32

Impacted Files
Coverage Δ

mozilla_django_oidc_db/admin.py
100.00% <ø> (ø)

tests/test_admin_form.py
100.00% <ø> (ø)

mozilla_django_oidc_db/backends.py
78.08% <100.00%> (+0.30%)
:arrow_up:

...05_openidconnectconfig_sync_groups_glob_pattern.py
100.00% <100.00%> (ø)

mozilla_django_oidc_db/models.py
81.48% <100.00%> (+0.23%)
:arrow_up:

tests/test_backend.py
100.00% <100.00%> (ø)

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 b44f07c...af3ffda. Read the comment docs.


Client Doesn't Honor Region when used as documented.

Simply stated, this doesn't work (as it always assumes region of 'us-east-1'):
import localstack_client.session as boto3
lambda_client = boto3.client('lambda', region_name='us-west-2')
lambda_client.invoke(...)
But this works:
from localstack_client.session import Session
sess = Session(region_name='us-west-2')
lambda_client = sess.client('lambda')
This is because, if you look at the code,
def client(*args, **kwargs):
return _get_default_session().client(*args, **kwargs)
_get_default_session() always returns a defaulted Session item, not allowing you to modify it.  Creating the client() from that doesn't honor the kwargs either.
This all appears to be designed to use a single global Session, but I must admit, I don't see a benefit to that.  We should be able to create multiple sessions, into multiple regions, within a given "account".
I believe that, assuming you want to use the global space, would be to allow for multiple global sessions, specified by the kwargs passed in.  Alternatively, could you just only support the global entry for a client/resourse request with no kwargs?
def client(*args, **kwargs):
if not kwargs:
return _get_default_session().client(*args, **kwargs)
else:
return Session(**kwargs).client(*args, **kwargs)
With the change above:

import localstack_client.session as boto3
c = boto3.client('lambda', region_name='us-west-2')
c._client_config.region_name
'us-west-2'
c2 = boto3.client('lambda')
c2._client_config.region_name
'us-east-1'

Fixed in #31 . Thanks!


BARX-500 removes the retries for the install agent 7 and 6

What does this PR do?
This PR removes the retry from the job level for the install e2e tests.
Motivation
This goes into the effort of identifying flaky test and tackling it.
Additional Notes

Possible Drawbacks / Trade-offs
We might see more flakes on the install script tests

/merge


Handle empty files

Currently llwe exits with an error if the filename given on the command line doesn't correspond to an existing file.  It should start with an empty buffer instead so that llwe can be used to create new files without doing a touch first.

Fixed in 9fe9af3


Read me can be improved

Please assign this.

@ishneet890 go ahead :)

any update ?

@avinash201199 pls assign me this Issue. I would like to work on this Issue.

All the best Damini :)

please assign me this issue ,I would like to contribute

I would like to contribute in this issue. I will try to update read me more attractive.


Onboarding flow

We need to on board users in two ways:

Sign up and create an organisation
Sign and join an organisation via an invite

Wireframe
From @barto74 (#31):

Implementation
We somehow need to create user profiles with an organization in a way that they cannot set the organization themselves. Maybe this needs to be a cloud function?

@barto74 I would formulate the Slack invite a bit different. We should discuss what the role of slack should be. For example only for support...

@HaGuesto feel free to contribute to the formulation. I think Slack is definitely for support, feature requests.
And about the roles: yes, in the future for sure, but the roles are not in the MVP.

This looks great to me.
A little thing: I would agree with @HaGuesto that the Slack invite at that stage doesn't work. It looks like that is the call to action. Getting users onto Slack could be something we do later, after they have started using the app.

I agree to delete it, see the updated wireframe

On 30 May 2018, at 15:56, Ben Firshman<EMAIL_ADDRESS>wrote:
This looks great to me.
A little thing: I would agree with @HaGuesto https://github.com/HaGuesto that the Slack invite at that stage doesn't work. It looks like that is the call to action. Getting users onto Slack could be something we do later, after they have started using the app.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/dropapp/dropapp/issues/48#issuecomment-393150835, or mute the thread https://github.com/notifications/unsubscribe-auth/AkgpOrJATUV-88vi588LseVN96s8Rm8rks5t3pbtgaJpZM4USyFt.


The application does not open full screen, only the icon is visible.

The application does not open full screen, only the icon is visible.
I reinstalled the latest update but the same problem persists.
The application opens but it is not full screen and no image appears on the screen.

i couldn't reproduce the issue - could you please provide detailed steps to reproduce it?
also for now just delete the window settings in the config folder and you should be able to start the downloader

did you try to maximize the window (right-click on the small preview...)?

did you try to maximize the window (right-click on the small preview...)?

All I had to do was delete the window settings in the config folder.


jig bones generates incorrect json values for well-known types

Well-known types are marshaled to json mostly as individual values and not as messages (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf). jig bones does not know about this and just outputs messages as an exemplar. They should be rendered as described in the linked document.

It seems I sort-of knew this when I did the google.protobuf.Any field in the status response here: https://github.com/foxygoat/jig/blob/9dd122428316c081377ccf1102a5777de33a8688/testdata/greet.Greeter.Hello.jsonnet#L17 - but it didn't click that bones was doing the wrong thing.


Adding react-hot-loader to the SSR example

I've been playing out with the SSR example and it works like a charm! However I ran into a problem when trying to get it working with react-hot-loader. I get the server the reload on file-changes but I'm not sure how to properly handle the loadable-stats.json files and getting the client to refresh.
I'd love to see this being added to the current SSR example 👍

Hey. But a coincidence I'm maintaining react-hot-loader as well, and... loadable-components are not quite compatible with it.
So we cannot add an example you are looking for, as long as it would not work.

Ah, alright! Are there any plans for making it compatible? I feel like hot reloading is the only missing piece right now

There is a simple way how to make it more or less compatible - rewrite it to hooks. However it will also mean a complete rewrite and we would have to cancel all ongoing PRs and so on.
So I am not sure that's possible right now, but that's our future in any way.


it can't work well

I install it in chrome , when I click the icon, the popup page was white.
I clone the code , It also can't work.

Thanks for reporting and I'm glad you have it resolved. Please let me if there are other issues or if you have other questions.


support compressed storage for opaque alias types via the C++ API

(The hobbes API already supports this same method of storing compressed opaque alias types.)

This is a small change to the C++ structured compression API to use model types for opaque alias types as the model type of the underlying aliased type (tested with a datetime type as an example).

it seems that specializing int64_t introduces a type redefinition under Linux build.

@kthielen as a part of the contribution process, could you please add the following text in the commit message?
“Covered by “
This would be required for any PRs in the future as well.

it seems that specializing int64_t introduces a type redefinition under Linux build.

Oops, sorry will fix!

@kthielen as a part of the contribution process, could you please add the following text in the commit message?
“Covered by “
This would be required for any PRs in the future as well.

There must be some way to automate this if it’s implicit with each commit.  You know, in the same spirit as validating type descriptions only once.

@kthielen as a part of the contribution process, could you please add the following text in the commit message?
“Covered by “
This would be required for any PRs in the future as well.

There must be some way to automate this if it’s implicit with each commit.   However, it's not quite the same as what CONTRIBUTING.md requires at the moment.  Let us get back to you with the best practice on this.

@kthielen as a part of the contribution process, could you please add the following text in the commit message?
“Covered by “
This would be required for any PRs in the future as well.

There must be some way to automate this if it’s implicit with each commit.  However, it's not quite the same as what CONTRIBUTING.md requires at the moment. Let us get back to you with the best practice on this.

@kthielen sorry to keep you waiting.  Unfortunately git commit -s isn't an alternative per offline discussion.  Instead, would you be able to setup a commit template, as a git configuration local to your hobbes code repository?  Once configured, it should be reused for further commits.
$ cat .gitmessage
Covered by <your-submitted-dco-filename>
$ git config commit.template .gitmessage

It would be better if the three commits in this PR be squashed, so that we have to rewrite commit message just once.

Github auto-squashes PRs (see the past history).
Will you really not accept my PR unless I confirm the DCO already on file and visible in the source tree?  It’s a lot of ceremony ...

OK, I think that the legal disclaimer and the squash are redundant (AFAIK, GitHub is set up to auto-squash PRs when they're merged), but I don't want to make a big deal out of it so I made the change here.  :)
Anyway the background on this change is that I want to be able to store aliased types with compression.  In some tests I've been doing, I found that fixed-width fractions compress much better this way than IEEE floats and we have many use-cases where we use fixed-width fractions anyway.
The IEEE float compression can probably be improved by encoding them with the actual 3-tuple structure they're logically representing (instead of naively as a fixed-width byte sequence).

Thanks for your understanding (we've taken back the feedback internally to seek any possibilities for simplifying the PR process)!


[8.x] Add a doesntHave method to collections

In #32873, @andresayej introduced a new doesntHave method to the collections.
This was subsequently reverted, because its behavior was unintuitive when passed multiple keys.
This PR reintroduces the doesntHave method, but only with a single key.

So this approach? https://github.com/laravel/framework/pull/32873#discussion_r427195964

Is there an inconsistency here since has supports multiple arguments and doesntHave supports only a single argument?

Is there an inconsistency here since has supports multiple arguments and doesntHave supports only a single argument?

There is definitely something strange here.
If this method is only an inverse of the has method it should definitely support multiply arguments.
My naive analysis point's to a problem with the testDoesntHave test.
For example when I've tested a temporary fix/solution as described here: https://github.com/laravel/framework/pull/32873#discussion_r427195964, the testDoesntHave test had unexpected results, but the updated test testDoesntHaveReturnsValidResults from the link above passed...

Is there an inconsistency here since has supports multiple arguments and doesntHave supports only a single argument?

Yes. IMO that's better than having ambiguous behavior.
The other option is to just scratch this whole thing. Calling has directly and negating the result is not that bad anyhow.

Guess we'll just scratch it then.


watchdog for PX4 drivers driven by data ready interrupts

One of the missing pieces before we can safely start using data ready interrupts with IMUs is some kind of watchdog if the device somehow lost its configuration.
Possible Idea(s)

Use hrt to schedule a sensor health check XX ms in the future. Every time the driver runs normally and successfully transfers new data it pushes the health check out another XX ms.
Slightly related I think we need a standardized configuration check mechanism (https://github.com/PX4/Firmware/issues/10415). This should run periodically, but not every single transfer.

Questions

Do we need to add protections for the possible case where a data ready starts triggering at a significantly higher rate than intended? A possibly contrived example would be an interrupt configured on the FIFO high water mark. On reset the default interrupt behaviour might be on data ready at a significantly higher rate than intended. We would need to identify this quickly, disable the event, and attempt to reset before restoring the configuration.

This was done in the new Invensense IMU drivers with a simple backup hrt schedule.


increasing picard memory

Is this something that should be parametrized instead in pipeline.ini?

In thoery Picard tools are desinged to use no more than 2G. They are java progs and our launch scripts are configured to specify 2G of memory as well.

getPicardOptions uses -l mem_free - should this not be changed to mem_free?

probably. Its just convenient as it is at the moment because its in one place rather than in each of the functions that call getPicardOptions. I'll get round to altering it at some point.


add can_edit property on the serialized video object

Purpose
We want to know for a video object if a user connected on the standalone
site can edit the video, aka he is an adminstrator. A new property
can_edit is added to the serialized video. This property is computed the
same way the permission are checked.
Proposal

[x] add can_edit annotation on video object
[x] add can_edit property on video type

@kernicPanel @polyhb I revamp this PR. I remove the usage of the annotation, it was too complexe leading to duplicate errors when a single video was fetched.
I moved the can_edit in the serializer and the value is computed in it.

@kernicPanel @polyhb I added a new commit to control and limit the number of database queries made when a list of video is fetch


Improve gradle build script

First of all, I would like to thank you for making this project.This is exactly what I was looking for.
I've tried to make something similar to this, but I've failed many times.
At first, I read *.gradle files of this project and found the following problems:

However the main code is Kotlin, build the build scripts are not Kotlin but Groovy.
old style of applying plugin (apply plugin: "id" style) is used.
deprecated dependency declaration compile is used.
duplicated code of repositories{} block.

I thing Gradle Kotlin DSL is much better than Groovy, but there are still some problems, so I'd like to hear your thoughts on that.
The use of plugins{} block to apply plugin and implementation dependency declaration is strongly recommended, so these should be fixed.
I have nothing to say about code duplication. This may solved by moving to Gradle Kotlin DSL, because you can use  extension function to RepositoryHandler.
P.S. I'm not good at writing English and use machine translation in several places.

Thanks for your feedback. I created some issues:

Migrate all build.gradle to Kotlin DSL https://github.com/releaseshub/releases-hub-gradle-plugin/issues/74
Support plugins DSL https://github.com/releaseshub/releases-hub-gradle-plugin/issues/56

I already switched from compile to implementation


[currency] - add span attributes

Changes
Adds span attributes to currency conversion request

[x] Appropriate CHANGELOG.md updated for non-trivial changes

Should we update the trace table too or was that already done in a previous pr?

Should we update the trace table too or was that already done in a previous pr?

Looks like you did it already nvm

Should we update the trace table too or was that already done in a previous pr?

That is already part of previous efforts since we combine adding span attributes and events into the same task and this service already had span events. Perhaps we should consider breaking those 2 items out separately in the feature docs?


Could not initialize 'staging': socket hang up

amplify pull --appId [REDACTED] --envName staging fails with error:

Could not initialize 'staging': socket hang up

Just updated the data model with the Admin UI and intended to pull the changes.

Transferring this to the Amplify CLI repo. cc @jhockett @kaustavghosh06

Transferring this to the Amplify CLI repo. cc @jhockett @kaustavghosh06

Hi @patstahl, we don't create any socket connections when running amplify pull as far as I know. Could you please fill out the following information?
Amplify CLI Version
You can use amplify -v to check the amplify cli version on your system
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Mac/Windows/Ubuntu]
Node Version. You can use node -v to check the node version on your system
Default browser

Hi @patstahl, we don't create any socket connections when running amplify pull as far as I know. Could you please fill out the following information?
Amplify CLI Version
You can use amplify -v to check the amplify cli version on your system
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Mac/Windows/Ubuntu]
Node Version. You can use node -v to check the node version on your system
Default browser

@patstahl Also, if you are on Windows, are you using WSL?

@patstahl Also, if you are on Windows, are you using WSL?

Amplify CLI Version
4.41.0
Desktop (please complete the following information):
OS: MacOS 11.1
Node Version: v12.18.3
Default browser: Chrome
Cloned a new env (dev) and pulled this successfully. However, still not able to pull the 'staging' env.

Amplify CLI Version
4.41.0
Desktop (please complete the following information):
OS: MacOS 11.1
Node Version: v12.18.3
Default browser: Chrome
Cloned a new env (dev) and pulled this successfully. However, still not able to pull the 'staging' env.

@patstahl After running the failed pull command, can you post the last few lines from ~/.amplify/logs/<latest file> here?
Also could you include any error messages in the browser console log when trying to authenticate?

@patstahl After running the failed pull command, can you post the last few lines from ~/.amplify/logs/<latest file> here?
Also could you include any error messages in the browser console log when trying to authenticate?

Closing due to lack of response.

Closing due to lack of response.


Community information does not load for communities with apostrophe in name

Related to https://github.com/Esri/site-selector/issues/159
When the community drop-down is used to search for a community, the application spins indefinitely is a search is performed on a community with an apostrophe in the name.
Steps to repro:

Launch http://<IP_ADDRESS>/SiteSelectorSG and click OK on the splash screen
Click on the Communities tab
Turn on the radio button to "Search Communities in ..."
Select either Prince George's, Queen Anne's, or Saint Mary's from the list
Note the application spins indefinitely.  The map does not update and no geoenrichment information loads.

This behavior only appears to manifest if there is an apostrophe in the name.

@lindsayking, @LindsayThomas, @NikkiGolding
Text that contain a single quotation mark (apostrophe) need to be escaped when used for querying. The solution is to use an additional quotation mark to execute the query.
For e.g.,
NAME = 'Prince George's'   //incorrect
NAME = 'Prince George''s'   //correct
We identified two places in the app where this needs to be handled. They are:

Unified search feature in Buildings and Sites tab
Filter feature (regular and additional filter options in configuration)

We tested this with other special characters and did not encounter any issues that need to be handled specifically like the apostrophe issue.
Also, the app spins indefinitely because the busy screen was not cleared on error. We found a couple of places where this needs to be handled to ensure that the busy screen is cleared on error. This is a minor code change and will help to avoid showstoppers when the busy screen is not cleared.

@NikkiGolding @LindsayThomas
Tested the v1.9.2 fix for this issue.

Community names containing apostrophes no longer cause the app the hang.  The app behaves correctly and sharing is successful with these community names.  Names that contain spaces remain fine (#200 remains fixed).
Tested with unified searches containing apostrophes.  These searches resulted in multiple error messages and then no search results in earlier versions of the app.  Fixed now with v1.9.2.
Tested filtering on a field value containing an apostrophe in RegularFilterOprtionFields for both Buildings and Sites.

RegularFilterOptionFields: [
								{
									DisplayText: "Prince George's County",
									FieldName: "SITECOUNTY",
									FieldValue: "Prince George's",
								}
                            ],

Failed in earlier versions of the app.  The results were not filtered and an error displayed in the console:

Using the same RegularFilterOptionFields settings with v1.9.2 now successfully displays the correctly filtered results with no errors displaying in the console.

Tested with filtering on field values containing apostrophes in AdditionalFilterOptions for both Buildings and Sites:

AdditionalFilterOptions: {
                                Enabled: true,
                                FilterFieldName: "SITECOUNTY",
                                FilterOptions: [
                                    {
                                        DisplayText: "Howard",
                                        FieldValue: "Howard"
                                    }, {
                                        DisplayText: "Prince George's",
                                        FieldValue: "Prince George's"
                                    }, {
                                        DisplayText: "Saint Mary's",
                                        FieldValue: "Saint Mary's"
                                    }
                                ]
                            }

Failed in earlier versions of the app (results did not filter and error appeared in console).  Fixed with v.1.9.2.
Closing this issue.  All test cases now working correctly with v1.9.2.


New version: StefHeyenrath.GitHubReleaseNotes version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @StefH,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 746.)

[Policy] Needs-Attention
[Policy] Validation-Defender-Error

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-15 07:52:53.397 [FAIL] Installer failed security check. Url: https://github.com/StefH/GitHubReleaseNotes/releases/download/<IP_ADDRESS>/GitHubReleaseNotes.zip Result: 0x80004005

(Automated response - build 746.)

@wingetbot run


VPN solution to access to labs

Event based VPN solution should be introduced which means that users who would like to use haaukins in their environment should be able to access from anywhere using VPN credentials.

For implementation of VPN solution, going further with wireguard makes much more sense than openvpn, according to feedback of others. Which lead to integration of VPN into project  :)

Quite interesting document and includes crucial information about conterication of network, I think, this one is the right way to go for encrypted VPN solution check this out

Under test on https://beta.ntp-event.dk

closed #478


[Chat][Code Style] Add ktlint and mock unit test for chat

Purpose
Add ktlint for and mock unit test for chat
Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[X] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Pull Request Checklist

[ ] Public API changes
[ ] Verified for cross-platform
[ ] Synced with iOS, Web team
[ ] Internal review completed
[ ] UI Changes

[ ] Screen captures included
[ ] Tested for Light/Dark mode
[ ] Tested for screen rotation
[ ] Tested on Tablet and small screen device (5")
[ ] Include localization changes

[ ] Tests

[ ] Memory leak analysis performed
[ ] Tested on API 21, 26 and latest
[ ] Tested for background mode
[ ] Unit Tests Included
[ ] UI Automated Tests Included

How to Test
./gradlew ktlintformat

@iaulakh  regarding the test for redux store, it rely on AppStateReducer & AppReduxState which has not been added to chat project yet.


Meter Not Working

Meter isn't updating, logs are not saved as well.
Program runs fine, compared file repository to my working version on another computer, no files are missing.
Steps taken:

Downloaded latest .msi file.
Added exclusion in Windows Defender to ensure no files are quarantined.
Installed GBFR Logs using (1), ensured path is as specified in (2).
Ensured MSFT Edge Runtime WebView2 is installed.
Launch GBFR.
Launch GBFR Logs as Administrator.

And countless loops of restarts and reinstallations.
Unable to pinpoint issue, assistance is appreciated.

@cyrusdotes sorry that it's not working well for you!
Some details that would help me debug..

Which version of Windows are you running?
In the installation folder for C:\Program Files\GBFR Logs\logs, is there a "GBFR Logs.log" file that you can share?
In %AppData%\gbfr-logs, is there a gbfr-logs.txt that you can share as well?

thanks for the prompt reply, i might need to hit the sack soon so pardon my late replies after this, i'm on SGT (UTC +8).
GBFR Logs.log
additional information requested:

Windows 11
as attached
no repository "..\gbfr-logs" under %AddData%

thanks for the prompt reply, i might need to hit the sack soon so pardon my late replies after this, i'm on SGT (UTC +8). GBFR Logs.log
additional information requested:

Windows 11
as attached
no repository "..\gbfr-logs" under %AppData%

You mentioned you checked that no files were missing, that includes the hook.dll as well? 🤔 Just double-checking, since it seems like either it never had the hook file to be able to inject into the running game process or wasn't able to find your game process.
This is on the latest 1.1.3 version as well, right?

that's right - all files are present.

and version 1.1.3 checked.
if it helps to schedule a time for you to comms with me over a call and either allow you access into my computer or via a screen share do let me know.

Sorry.. this definitely seems difficult to debug. Can you try this next step?

Download hook-dbg.dll from https://github.com/false-spring/gbfr-logs/releases/tag/0.0.10
Add it to your installation path: C:\Program Files\GBFR Logs (you can keep it named as hook-dbg.dll, and it will use it)
Launch GBFR Logs and GBFR.

You should see a console window open up with additional details, it should look something like this:

downloaded hook-dbg.dll and added to installation path C:\Program Files\GBFR Logs as requested, reference to above screenshot.

Launched GBFR.
Launched GBFR Logs with and without administrative rights.
Completed a quest with damage events.
No console pop-ups, ref. above screenshot with GBFR Logs launched with administrative rights.

I had the same problem after updating the system to Windows 11, the program only detected whether the game was launched or not, and the rest of the states were unresponsive


removed ambiguous sentence

Learn Build status updates of commit cf97b24:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-vmware/concepts-storage.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@jjaygbay1,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Service Design refresh of Ordering Through Cloud Brokering Service diagram

Describe the issue
Audra needs to go to legal and train Ya-Shin, so this Service Design refresh of Ordering Through Cloud Brokering Service diagram will be helpful
Additional context

Julian thinks that the old diagram might need a complete redo

Definition of done

Retrieve the old diagram file from teams (likely in Paul's files and goodies)
Connect with Audra to update it to reflect the current/actual process
Test with Ya-Shin and Audra, then over to Audra for legal

not relevant


Files Crashes On Launch

Description
Alot of the time when I launch the files app it closes and says that an error occured. When this error occurs I have to keep opening the app
Steps To Reproduce
Open the App
Steps to fix
Fix the crash that occurs when I open the app.
Files Version
<IP_ADDRESS>
Windows Version
Windows 11 Pro 22H2 22621.1105
Log file
debug.log

What's your screens resolution? Can you reproduce this issue in other resolutions?

I am no longer having this issue after a restart which is strange as I have already restarted and the issue still existed

This is really weird

I saw the crash in the log file, used to happen on some screen resolutions but I havent seen it for a while. These issues are very difficult to debug.

@KinglyMinecon can you check again in v2.4.40?


There was a problem when I tried to introduce socket.io and deploy it as HTML

I tried to introduce socket.io into the project, which can run well on the desktop, but there was a problem when I was packaging and deploying html
project(":core") {
    apply plugin: "java-library"

    dependencies {
        api "com.badlogicgames.gdx:gdx:$gdxVersion"
        api "com.badlogicgames.ashley:ashley:$ashleyVersion"
        api "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
        api "com.badlogicgames.gdx:gdx-ai:$aiVersion"
        api "com.badlogicgames.gdx-controllers:gdx-controllers-core:$gdxControllersVersion"
        api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
        api "com.kotcrab.vis:vis-ui:1.4.11"
        api "io.socket:socket.io-client:0.9.0"
        api "com.alibaba:fastjson:1.2.83"
    }
}

Version of libGDX and/or relevant dependencies
libGDX 1.11.0
socket.io-client for java  0.9.0
fastJson 1.2.83
Stacktrace
PS D:\libGdxProject2\Yans> ./gradlew html:dist

> Task :html:compileGwt
Compiling module com.yans.GdxDefinition
   Tracing compile failure path for type 'com.yans.Hall'
      [ERROR] Errors in 'file:/D:/libGdxProject2/Yans/core/src/com/yans/Hall.java'
         [ERROR] Line 137: No source code is available for type io.socket.emitter.Emitter.Listener; did you forget to inherit a required module?
         [ERROR] Line 248: No source code is available for type com.alibaba.fastjson.JSONArray; did you forget to inherit a required module?
      [ERROR] Errors in 'file:/D:/libGdxProject2/Yans/core/src/com/yans/Yans.java'
         [ERROR] Line 21: No source code is available for type com.utils.UuidUtils; did you forget to inherit a required module?
         [ERROR] Line 22: No source code is available for type io.socket.client.Socket; did you forget to inherit a required module?
         [ERROR] Line 55: No source code is available for type io.socket.emitter.Emitter.Listener; did you forget to inherit a required module?
         [ERROR] Line 54: No source code is available for type io.socket.client.IO; did you forget to inherit a required module?
         [ERROR] Line 47: No source code is available for type io.socket.client.IO.Options; did you forget to inherit a required module?
   Tracing compile failure path for type 'com.yans.Yans'
      [ERROR] Errors in 'file:/D:/libGdxProject2/Yans/core/src/com/yans/Yans.java'
         [ERROR] Line 21: No source code is available for type com.utils.UuidUtils; did you forget to inherit a required module?
         [ERROR] Line 22: No source code is available for type io.socket.client.Socket; did you forget to inherit a required module?
         [ERROR] Line 55: No source code is available for type io.socket.emitter.Emitter.Listener; did you forget to inherit a required module?
         [ERROR] Line 54: No source code is available for type io.socket.client.IO; did you forget to inherit a required module?
         [ERROR] Line 47: No source code is available for type io.socket.client.IO.Options; did you forget to inherit a required module?
   [ERROR] Aborting compile due to errors in some input files

> Task :html:compileGwt FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':html:compileGwt'.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 12s
5 actionable tasks: 4 executed, 1 up-to-date

Please select the affected platforms

[ ] Android
[ ] iOS
[ √] HTML/GWT
[ ] Windows
[ ] Linux
[ ] macOS

 No source code is available for type io.socket.emitter.Emitter.Listener; did you forget to inherit a required module?
You have to declare librarie in GdxDefinition.gwt.xml in your html5 module.
after 	<inherits name="com.badlogic.gdx.backends.gdx_backends_gwt" />
I don't know socket.io, you have to be sure the librarie is GWT compatible.
https://libgdx.com/wiki/html5-backend-and-gwt-specifics#differences-between-gwt-and-desktop-java
If librarie is not integrable in a Gdx app, you can look at https://github.com/MrStahlfelge/gdx-websockets

 No source code is available for type io.socket.emitter.Emitter.Listener; did you forget to inherit a required module?
您必须在 html5 模块的 GdxDefinition.gwt.xml 中声明库。 后 <inherits name="com.badlogic.gdx.backends.gdx_backends_gwt" />
我不知道socket.io，一定要确保库是GWT的。 https://libgx.com/wiki/html5-backend-and-gwt-specifics#differences-between-gwt-and-desktop-java
如果库在 Gdx 应用程序中不可集成，您可以查看https://github.com/MrStahlfelge/gdx-websockets

Thank you very much for your answer. I will try

For this type of question, the Gdx discord channel is more adapted.
Contributors and experts can help you quickly.
There is a #help or a #html-gwt topics.
https://libgdx.com/community/discord/
Can you close your issue please.
Thanks for reading