[BUG] pip install hangs on windows.

Describe the bug
As the title says, when Installing on windows with python3.exe -m pip -vv install pytermgui the installation hangs.
To Reproduce

run python3.exe -m pip -vv install pytermgui
wait

Expected behavior
pytermgui to be installed.
Screenshots
Collecting pytermgui
  Created temporary directory: C:\Users\MyUser\AppData\Local\Temp\pip-unpack-ijudf3ut
  Looking up "https://files.pythonhosted.org/packages/c9/ce/2e249bae470c52429b1c93b5013db52f6c7105a82054ce7e88df08494bd8/pytermgui-2.0.0.tar.gz" in the cache
  Current age based on date: 2986
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 2986
  Using cached pytermgui-2.0.0.tar.gz (62 kB)
  Added pytermgui from https://files.pythonhosted.org/packages/c9/ce/2e249bae470c52429b1c93b5013db52f6c7105a82054ce7e88df08494bd8/pytermgui-2.0.0.tar.gz#sha256=6cdd4636278bf8ef008508a9327576726f2caaaf19f694a855e3b475b1681dc3 to build tracker 'C:\\Users\\MyUser\\AppData\\Local\\Temp\\pip-req-tracker-eznv_81d'
  Running setup.py (path:C:\Users\MyUser\AppData\Local\Temp\pip-install-a8zu6svx\pytermgui_981a92d1aa834d8086c13fa048af84be\setup.py) egg_info for package pytermgui
  Created temporary directory: C:\Users\MyUser\AppData\Local\Temp\pip-pip-egg-info-4hm9lmls
  Running command python setup.py egg_info

System information

Windows 10 Home (21H2)
Python 3.10.2
The below traceback shows pycharm 2021.3.1, but the error still occurs in the root python3 install location.

Possible cause
After force closing the installation (Ctrl + C) the traceback indicates the installation is waiting for userinteraction str = proc.stdout.readline()
Exception information:
Traceback (most recent call last):
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 164, in exc_logging_wrapper
    status = run_func(*args)
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\cli\req_command.py", line 205, in wrapper
    return func(self, options, args)
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\commands\install.py", line 338, in run
    requirement_set = resolver.resolve(
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve
    result = self._result = resolver.resolve(
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 482, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 349, in resolve
    self._add_to_criteria(self.state.criteria, r, parent=None)
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria
    if not criterion.candidates:
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_vendor\resolvelib\structs.py", line 151, in __bool__
    return bool(self._sequence)
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__
    return any(self)
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in <genexpr>
    return (c for c in iterator if id(c) not in self._incompatible_ids)
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built
    candidate = func()
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 201, in _make_candidate_from_link
    self._link_candidate_cache[link] = LinkCandidate(
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 281, in __init__
    super().__init__(
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 156, in __init__
    self.dist = self._prepare()
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 225, in _prepare
    dist = self._prepare_distribution()
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 292, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 482, in prepare_linked_requirement
    return self._prepare_linked_requirement(req, parallel_builds)
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 546, in _prepare_linked_requirement
    dist = _get_prepared_distribution(
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 58, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(finder, build_isolation)
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\distributions\sdist.py", line 49, in prepare_distribution_metadata
    self.req.prepare_metadata()
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\req\req_install.py", line 561, in prepare_metadata
    self.metadata_directory = generate_metadata_legacy(
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\operations\build\metadata_legacy.py", line 59, in generate_metadata
    call_subprocess(
  File "c:\users\MyUser\pycharmprojects\tui_project\venv\lib\site-packages\pip\_internal\utils\subprocess.py", line 204, in call_subprocess
    line: str = proc.stdout.readline()
  File "S:\Programs\Python310\lib\encodings\cp1252.py", line 22, in decode
    def decode(self, input, final=False):
KeyboardInterrupt
Removed pytermgui from https://files.pythonhosted.org/packages/c9/ce/2e249bae470c52429b1c93b5013db52f6c7105a82054ce7e88df08494bd8/pytermgui-2.0.0.tar.gz#sha256=6cdd4636278bf8ef008508a9327576726f2caaaf19f694a855e3b475b1681dc3 from build tracker 'C:\\Users\\MyUser\\AppData\\Local\\Temp\\pip-req-tracker-eznv_81d'
Removed build tracker: 'C:\\Users\\MyUser\\AppData\\Local\\Temp\\pip-req-tracker-eznv_81d''```

Does this occur for other programs too? None of the code i the traceback is PyTermGUI related as far as I can see. Everything seems to be within pip internals. Other users have confirmed the project to work just fine on Windows, so I don't see what the issue could be.

Other programs install just fine. Including pytermgui==1.1.0. just fails on pytermgui==2.0.0

I too experienced this issue on windows and installing just hanging.

That's really weird. I have no clue what piece of code could've cause this issue between the versions, since there was no code in the traceback from the library. I don't have a Windows machine with me until late next week, so I can't really test it myself for the time being. Until then, I'll put this into Help needed mode, and hope someone can figure it out.
Sorry for the inconvenience!

Just faced exactly the same problem as the topic starter.

I've now narrowed it down to #19, but I am still looking into ways to get around it.

So for the time being PyTermGUI won't support window resize events. It is possible to do using the Windows API, but since I don't really have a development machine I won't be able to include it for now.

@bczsalba, can you publish a new release?

@bczsalba, no problem, thank you.

@javad94 Just pushed it!

@bczsalba Thanks man. Not available in PyPI yet to test it.

Yeah, just realized those keys are missing. Will fix soon, either by silencing the key error or figuring out what the keys are.

That part should be fixed with the newest commit. I didn't get the error on my machine when I was messing around yesterday, so I really don't know if other things will also break.

That part should be fixed with the newest commit. I didn't get the error on my machine when I was messing around yesterday, so I really don't know if other things will also break.

haven't been released on PyPI yet to check it.
You don't have unit tests for such issues?

It is one of the weaknesses of the library that we do not have unit tests. It is something I am planning on doing in the hopefully near future, but I am kind of bogged down with other things at the moment so I can't do it now.

haven't been released on PyPI yet to check it.

I am not at home at the moment so I can't do a release. If you're interested, you can install the project using pip install git+https://github.com/bczsalba/PyTermGUI, or if that doesn't work by cloning the repo and running pip install ..

It is one of the weaknesses of the library that we do not have unit tests. It is something I am planning on doing in the hopefully near future, but I am kind of bogged down with other things at the moment so I can't do it now.

I see. Hope you can do it in the near future.

I am not at home at the moment so I can't do a release. If you're interested, you can install the project using pip install git+https://github.com/bczsalba/PyTermGUI, or if that doesn't work by cloning the repo and running pip install ..

I got an error with:
pip install git+https://github.com/bczsalba/PyTermGUI

But it was installed with git clone --depth 1 --branch master https://github.com/bczsalba/PyTermGUI.
But now I got an error when running an example code:
The code:
import pytermgui as ptg

demo = ptg.Window(
   ptg.Label("[210 bold]Hello world!"),
   ptg.Label(),
   ptg.InputField(prompt="Who are you?"),
   ptg.Label(),
   ptg.Button("Submit!")
)

The error:

Could you check it with the latest commit? Will publish release if it works, just don't really want to have two different versions for the same issue.

Could you check it with the latest commit? Will publish release if it works, just don't really want to have two different versions for the same issue.

Thanks. It's working now. The only issue I have is that I can't exit the program using ctrl+c.

Will try to look into that one as well. Regardless of whether I can fix it I will release a package sometime later today.

Alright, version 2.1.1 was just pushed out. It fixed all of the issues you talked about here.
If you run into anything else it would be a bit easier to follow if you raised a new issue.
Thank you for letting me know of these problems!

Alright, version 2.1.1 was just pushed out. It fixed all of the issues you talked about here.
If you run into anything else it would be a bit easier to follow if you raised a new issue.
Thank you for letting me know of these problems!

Thank you very much. it works exactly as expected right now.


add EU

Related Issues

T-18161

Security Implications
[none]
System Availability
[none]

@MadDataScience @anotherminh FYI missing version bump here!


GUI : Add test cases to check static and DHCP network setting.

GUI : Add test cases to check static and DHCP network setting.

https://gerrit.openbmc-project.xyz/#/c/11170/


add action integrity check in CI with ghasum

we use all integrity checking mechanisms, esp. when it's ours by @ericcornelissen
https://github.com/ericcornelissen/ghasum/

Starting to use it should be fairly easy (assuming the tool works), just download the binary and run ghasum init in the root of this project.
Beyond that it's a bit more complicated, the main points being:

Actually validating the integrity during the workflow. In the project itself I do this by just go running the project (example). That won't work for this (or other) projects. So you'd need to find a suitable way to run ghasum in the workflow. See also https://github.com/ericcornelissen/ghasum/issues/4
Supporting automatic updates. You use Renovate to automatically update your actions but since Renovate doesn't know about ghasum it won't know to update the gha.sum file. Hence, for the time being, you'd have to update these manually or automatically using a workflow similar to https://github.com/ericcornelissen/ghasum/blob/82d6993e3d1e0787fa1c947b3c77e076cb33de52/.github/workflows/ghasum.yml. See also https://github.com/ericcornelissen/ghasum/issues/9


Reorder checks

We have multiple checks, for instance, whether we shortcircuit on an already complete deployment or whether you are deploying to a real network.
We should delay the confirm real network check until we are sure actual transactions will be executed.
The current check occurs in hardhat-plugin from index.ts:
https://github.com/NomicFoundation/ignition/blob/729c6cc9c81a75e8970265cd5ef301d8f9ab327c/packages/hardhat-plugin/src/index.ts#L105
This is before all other checks, it would be ideal if we can only ask for confirmation when all other checks have passed. So interjecting just before the core execution:
https://github.com/NomicFoundation/ignition/blob/729c6cc9c81a75e8970265cd5ef301d8f9ab327c/packages/core/src/Ignition.ts#L112
But that will need some inversion of control, as we are injecting into core a ui level concern (the prompt).
We should also consider adding a check for all actions executed on previous run (we get it by default with the journal loading currently), so that we can avoid asking for confirmation if the complete execution has already been done. But that is a nice to have.

No longer part of the codebase.


Made detail view scrollable

Optimize detail view by reorganizing labels with stack view and make it
scrollable to make content fully visible

Approved thanks! 👍


[ADLS] Adding vnet to read-only account properties and test examples for each API

For ADLS management plane, added vnet to read-only account properties. added test examples for each API. fixed some example links.
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[X] The title of the PR is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[X] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[X] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@ravbhatnagar can you please take a look, this PR introduces CRUD on network rules.

any more comments are appreciated. Thanks

Signing off. One major thing noted in the review was PUT on parent creating the child. This is an antipattern in ARM. But RP has this model for other resource types as well and would want to continue this. In the next api-version, RP should fix this.

Automation for azure-sdk-for-node

Automation for azure-libraries-for-java

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

@AutorestCI build azure-sdk-for-java

I didn't understand your command:
build azure-sdk-for-java

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
build azure-sdk-for-java

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
build azure-sdk-for-java

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
build azure-sdk-for-java

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
build azure-sdk-for-java

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
build azure-sdk-for-java

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

@AutorestCI regenerate azure-sdk-for-java

Automation for azure-sdk-for-java


Validation: Fix multiple issues

This PR addresses the following validation issues and includes an updated ms.date:
missing description
disallowed html attribute

Docs Build status updates of commit 562a49e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/schema/property-element-in-properties-bdcmetadata-schema.md
:warning:Warning
View
Details

docs/schema/property-element-in-properties-bdcmetadata-schema.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 6f04947:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/schema/property-element-in-properties-bdcmetadata-schema.md
:warning:Warning
View
Details

docs/schema/property-element-in-properties-bdcmetadata-schema.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

This PR addresses the following validation issues and includes an updated ms.date:
missing description
disallowed html attribute
Global effort to fix build validation errors
@VesaJuvonen
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you'd like to see. Thank you!


Misplaced entries?

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-data-sources
.
Just curious why
137.	ODBC
138.	OLE DB
are in the "other" category rather than "DB" category?

Hi @ronssssss, thanks for your question. Sending on to the doc author for consideration.

It's based on how the engineering team has organized them in the product. Thanks!


Energy Data no longer showing after 10 Oct after latest update

The problem
Energy Data no longer showing after 10 Oct after latest update. I could see it yesterday but after update 2022.10.3 it is missing and nothing is recording today?
Home Assistant 2022.10.3
Supervisor 2022.10.0
Operating System 9.0
Frontend 20221010.0 - latest
What version of Home Assistant Core has the issue?
2022.10.3
What was the last working version of Home Assistant Core?
2022.10.2
What type of installation are you running?
Home Assistant Supervised
Debug log
Enable debug logging by following the instructions here
Additional context
Add any other context about the problem here.
This error originated from a custom integration.
Logger: custom_components.hildebrandglow_dcc.glow
Source: custom_components/hildebrandglow_dcc/glow.py:194
Integration: Hildebrand Glow (DCC) (documentation, issues)
First occurred: 08:35:57 (1 occurrences)
Last logged: 08:35:57
Glow response status code: 500 (https://api.glowmarkt.com/api/v0-1/resource/0328f32a-09c1-4769-8ffa-889d9313f86b/tariff)
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:515
First occurred: 08:35:55 (3 occurrences)
Last logged: 09:00:55
Update of sensor.gas_tariff_standing is taking over 10 seconds
Update of sensor.electric_tariff_standing is taking over 10 seconds

@thorrrr I don't believe this is an issue with the latest update, it's an ongoing issue on Hildebrand's end, and it manifests in HA by the sensors showing as unavailable periodically throughout the day. If you happen to restart and the next poll returns a 500 error, the sensors will show as unavailable until the next successful poll.

Broken as well with
'''
Glow response status code: 500 (https://api.glowmarkt.com/api/
'''

I'm also seeing the same issue

Good day .
Has anyone been able to fix the above issue. I am getting the exact same error.
Also I am only getting readings every hour instead of every 30min in my energy dashboard
Before. In September

After . Yesterday

Same must be the API feed i guess to restrict data

My data stopped on the 23rd of Sep:

I can still see the data in the bright mobile app.
Is this the same issue?
Glow response status code: 500 (https://api.glowmarkt.com/api/v0-1/resource/REDACTED)
Error connecting to Glow HTTPSConnectionPool(host='api.glowmarkt.com', port=443): Max retries exceeded with url: /api/v0-1/resource/REDACTED/catchup (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff4d6795d0>: Failed to establish a new connection: [Errno -3] Try again'))

This has now become a occurring issue and I do not see any feedback from the contributors.
It would have been nice if someone would have said, we are working on it and should be resolved within ......
a bit disappointing.

Good day . Has anyone been able to fix the above issue. I am getting the exact same error. Also I am only getting readings every hour instead of every 30min in my energy dashboard Before. In September
After . Yesterday

I too have this issue since the 10th Oct. It is only showing every hour rather than 30min. Anyone know how to fix?

Hey all,
The issue here is that this integration is hitting rate limits imposed by Hildebrand as it is putting a lot of strain on their servers - the changes detailed in https://github.com/HandyHat/ha-hildebrandglow-dcc/discussions/191 should fix this, but this entails a full rewrite of the integration and thus is taking quite a while. PRs are always welcome!

These changes have been implemented in v1.0.0 of the integration, and so this should no longer occur. Please say if this persists!

Its been running on and off past few days and today stopped at 5am this morning !!!!!!
Was hoping 2023 would be better !!!!!

Over the last few days there has been some API instability on the glow end. I've been running v1.0.0 all day today and it's been working well.

Over the last few days there has been some API instability on the glow end. I've been running v1.0.0 all day today and it's been working well.

Thanks so much for all of your effort rewriting this.  If anyone can, now would be a great time to sponsor this project <3

After updating I had to change the Dashboard > Energy > Gas value to "DCC Sourced smart gas meter Usage (today)"..  The original entity was no longer available.

fwiw this hasn't worked since 3rd

@JohnMcLear As in you've stopped seeing data? Are there any errors in the log?

Yea nothing hitting HA at all (since 3rd), I see the values in bright app..
I searched for "glow" in logs but nothing exists.
Sorry for slow response and thanks for following up

@JohnMcLear how odd. Just to confirm, you are running v1.0.2? Is data still flowing in the Bright app?

v1.0.3 (just updated from v1.0.2) and yea data is in Bright app, nothing in logs.  Should I enable verbose logging and report back?

Yes please! Feel free to open a new issue if it's easier :) @JohnMcLear

It's worked since 19th of Jan, no changes made...  *shrugs


New bets should go to the top of Active bets once confirmed in the betslip

Currently when I confirm a bet in the betslip, the betslip automatically switches from betslip to Active bets but the new bet goes to the bottom of the list. Unless I scroll down, I don't see it.

Ok! Closing


Enable support for windows.

add posibility to add a  node on a windows PC

PRs welcome, but the entire stack was built for only Linux in mind when I was more involved.

@Omeryl  @baxandrei  ever heared about wsl

@Wesley-VanNeck Yes, but it's not meant for production environments and at that point you might as well just be using linux .. since windows is non-free and requires licensing costs why would you buy a windows license to install this software into WSL (which may or may not even work?)...
My point stands.

@Omeryl  well if have pc with oem like me from were you buyed your pc and yes i know linux id free but not everybody knows how to use it

@Wesley-VanNeck This software really isn't meant for you then, man.

@Omeryl i know how to use linux

I know how to use linux, but I prefer windows for work.

@baxandrei well maybe install docker for windows and run panel inside docker?


Change the UI of carousel and make it responsive which is on the home page.

Hey @swapnilsparsh can i work on it please assign this to me.

Ok @patel-atul

Can i improve other things too or only make carousal responsive

@patel-atul Make the carousel responsive only.

Can i improve other things too or only make carousal responsive

Make the carousel responsive and change the UI also.
I am changing the name and level of this issue.

@swapnilsparsh  Please assign this to me and check my PR.

Hey, can you please give me this issue to work on?

Hey, can you please give me this issue to work on?

@swapnilsparsh Please assign this to me and check my PR.

Ok

@swapnilsparsh Please assign this to me and check my PR.

Ok

Hey, can you please give me this issue to work on?

Thank you for showing you interest in the project.
@Sloth-Panda  you have to wait for 3-5 days as 2 people are already assigned on this issue.
Kindly give some time to the assignees to resolve the issue then you can work on this issue till then look after some other issues.
We appreciate your patience

Hey, can you please give me this issue to work on?

Thank you for showing you interest in the project.
@Sloth-Panda  you have to wait for 3-5 days as 2 people are already assigned on this issue.
Kindly give some time to the assignees to resolve the issue then you can work on this issue till then look after some other issues.
We appreciate your patience

Issue resolved by @sourav-coder

Issue resolved by @sourav-coder


How to calculate the polygon area

The distance can be obtained from latlong2，but how to calculate the polygon area?

Hi, this package is still WIP, polygon area is not yet implemented here.
If you want to help us with the library, you could port the functionality from Turf.js https://github.com/Turfjs/turf/blob/master/packages/turf-area/index.ts
And take a look at our contributors guide
https://github.com/dartclub/turf_dart/blob/main/CONTRIBUTING.md

scheduled for implementation #136, closed therefore


Use job pools to limit link parallelism

@erg Please review and merge or reject.

@swift-ci Please smoke test


Dat test

Reimpl of DatNode, introduction of DatManager. Updated Emblem.js to use new API.
Main point is to break apart phases of Dat api to unit testable functions; allows the largest latency operation (joining the network) to be removed from most tests.
Added event emitting mechanism for managing callbacks from dat manager / dat node operations

The following file is updating when I run the tests, it seems to be zero bytes...
https://github.com/DecentricCorp/Coval.js/blob/dat_test/test/datresources/oldshare/.dat/metadata.latest

There is more covereage that can be added to the DAT protocol; but I'm leaving it off to work on other things until DAT becomes higher priority.
Key elements of this branch: the use of promises; the breaking apart of DatNode into discrete phases (init, import, join, close); and the introduction of DatManager which is used to ensure all DatNodes are closed. The intention is the DatManager would be instantiated in a DatLayer, which would be added in the initialization code in the server(less) host environment.


9). Add topic files 11 to 14

@mairaw
This PR is for user story #1576037.
It adds four topic files, makes corresponding deletions from the C# and VB folders, and adds redirection entries.
cc: @tfosmark

@jameshkramer should this and #17021 target the linq-to-xml branch, not master?

@pkulikov, yes, sorry. I'll fix.


internalBinding is not defined with version 1.3.0

I'm seeing the following error in a travis build with version 1.3.0, any thoughts on what's going on?
12 12 2018 15:41:47.243:ERROR [plugin]: Error during loading "/home/travis/build/tensorflow/tfjs-core/node_modules/karma-browserstack-launcher" plugin:
  internalBinding is not defined
12 12 2018 15:41:47.468:ERROR [reporter]: Can not load reporter "BrowserStack", it is not registered!
  Perhaps you are missing some plugin?

I have the same problem today. 1.2.0 is working fine

Hm, I just got the same problem, also with version 1.3. The only occurrence of internalBinding I found in natives package. And just have a look at the latest commit:

Compatibility fix for internalBinding

I tried updating natives to 1.1.6 but that did not help

Hm, and launcher 1.2 did not work for me...

FYI this error doesn’t show up in Node 8 so we switched testing to that environment. This is a problem with Node 10 (and natives 1.1.6 didn’t fix it for me either).

I upgraded to natives 1.1.6 and the problem went away. npm makes it easy to not successfully upgrade a package, if your own package is not directly dependent on it. So I'll detail what I did.
Prior to the upgrade, my test suite fails like the description given in this issue, and I'm running natives 1.1.4:
$ npm ls natives
<EMAIL_ADDRESS>[...]/salve
└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └─┬<EMAIL_ADDRESS>      └─┬<EMAIL_ADDRESS>        └─┬<EMAIL_ADDRESS>          └──<EMAIL_ADDRESS>
As shown above, the dependency is deep in the tree of packages, so I'm using --depth=10 to get npm upgrade (aka npm up) to go into the tree. I did not count the depth precisely, I just rounded up to 10. Using a --depth argument with a large enough value is necessary, otherwise npm up won't fix it. So:
$ npm up natives --depth=10
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+<EMAIL_ADDRESS>
The last line shows that natives was updated.
Let's check with npm ls:
$ npm ls natives
<EMAIL_ADDRESS>[...]/salve
└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └─┬<EMAIL_ADDRESS>      └─┬<EMAIL_ADDRESS>        └─┬<EMAIL_ADDRESS>          └──<EMAIL_ADDRESS>
Yup, now it shows 1.1.6 and my test suite runs without error.


trivial change to test CLA

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Changdrew
To complete the pull request process, please assign brenodemedeiros
You can assign the PR to them by writing /assign @brenodemedeiros in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

@googlebot I signed it!

@googlebot I signed it!


fix dir

Description of Changes
Fixes thsi problem:
In [1]: import spyder

In [2]: dir(spyder)
Traceback (most recent call last):

  File "<ipython-input-2-d9a631b9c2b0>", line 1, in <module>
    dir(spyder)

TypeError: 'str' object is not callable

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

Hello @impact27! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/__init__.py:

Line 77:80: E501 line too long (87 > 79 characters)

/show binder


SED-ML Reset before Each Simulation

Currently, if you have two uniform timecourse simulations, the model does not get reset between them. I asked Lucian and the idea in SED-ML is that these two simulations should be independent. Therefore, I was planning on causing a reset between uniform timecourse simulations.

Looks good. Closing this.


Add save changes

Closes #93, closes #98.
This PR refactors the existing profile page code in order to allow the user to click 'save changes' to apply updates to all modified accounts at once. This replaces the old functionality of just updating the modified field instantly.
There is client and server-side input validation. On the client side, buttons for adding a new account, canceling changes, and submitting changes all become disabled if the information is missing, reflecting similar behavior to most sites:

The 'add account' button is disabled if there is an empty field in the add account portion of the form.
The 'cancel changes' button is disabled if there have been no changes to the user's accounts.
The 'submit changes' button is disabled if any of the accounts' textboxes are empty.

Functionality now works like so:

Anytime the user adds, updates, or deletes any user account, that change is stored on the client side in an appropriate array (add, edit, or remove). If the user makes a change to some text but then retypes it as it was originally, it is seen as no change, and thus the entry is removed from the edit array. This makes sure that only changes to the user's account are actually sent back to the user.
If the user clicks submit, the server knows to either add, update, or delete each modified account. Accounts that were untouched by the user are thus untouched by the backend and the database.
If the user clicks cancel, they are prompted for confirmation and the page reloads. Any additions, updates, or deletes since the user clicked submit last are removed. This makes it possible to undo things like deletes.

Note that adding and deleting accounts are not finalized until you click 'submit.' Submitting will submit account additions, edits, and deletions, so the user will need to manually hit 'submit' no matter what change they want to make.
In addition, success and error messages are added to the page when the user is redirected back to it after submitting their changes, which closes that related issue mentioned above.
I definitely encourage you to test this functionality on your end a bit to make sure that there are not bugs, that buttons enable/disable at the right times, etc.

Firstly, make sure you pull before you make any more changes @paytonshaltis
Secondly, Yup. This is perfect. It's much more responsive to what the user does and pretty much addresses everything I think Nisha and I were talking about the other day.
I'm ready to approve this but first, I'd like to hear how @lelekaz @thadakn1 @matyis1 feel about this.
Obviously, now that it's much more reliant on the user to click through these, it's a little slower. I wonder if that should be considered a big deal, or if it's fine given the nature of how the user is expected to manage their accounts.
I can ask other people in the STEM building when I'm there later.
I'm gonna approve this but you should get their feedback too Payton. Really nice job!
You're an absolute unit.

@paytonshaltis great work payton!!! it works perfectly!!
just a minor suggestion, do you think on the frontend side we could move the "Add account" button outside of the div its in and add a  statement before so there's more spacing.  i tested out these changes locally and it would make it look better and still remain functional. it still works the way it should even if its outside of the div though which is good. just lmk what you think

@paytonshaltis great work payton!!! it works perfectly!!
just a minor suggestion, do you think on the frontend side we could move the "Add account" button outside of the div its in and add a statement before so there's more spacing. i tested out these changes locally and it would make it look better and still remain functional. it still works the way it should even if its outside of the div though which is good. just lmk what you think

i can make a new issue for that if you just want to merge this and go right ahead. i can take up that issue too

just a minor suggestion, do you think on the frontend side we could move the "Add account" button outside of the div its in and add a statement before so there's more spacing. i tested out these changes locally and it would make it look better and still remain functional. it still works the way it should even if its outside of the div though which is good. just lmk what you think

Yeah, that sounds like a good idea! I knew that the arrangement of buttons would likely need to change; I just wanted to get the functionality working correctly. If you want to pull from this branch, make the change, then push back here we can include these changes all in this same PR since I think they are relevant here.

perfect! i already pulled the branch so i'll make these changes permanent and i'll push back to this pr

@thadakn1 Changes to button placement look good!


:heart_eyes: compatibility with pos_order_receipt_custom

@Ramil-Mukhametzyanov Can you repeat the errors for the module v10.0?

I close this PR, because the updates updates will be merged from 10.0 to 11.0, then from 11.0 to 12.0 after merging the https://github.com/it-projects-llc/pos-addons/pull/876


Option for pure-ESM mode

Projects using native ECMAScript modules could use a command line flag to limit closure-calculate-chunks to only following ESM imports (import, import(), and export * from), and to ignore require(), goog.require(), and the like.
Code that uses the imperative RequireJS API for loading external libraries at runtime can cause tracebacks when closure-calculate-chunks attempts to parse them.

Do you have an example of the problematic code? The only goal of this project is to identify the correct source set and allocate the files to the correct output chuck for feeding into closure-compiler. If you have discoverable code that is not actually intended to be included in the compilation, there is not currently an option to exclude it.


Bring up to date with upstream

@bglopez
Just wanted to ask you, why have you closed the PR and what would you like to do with the changes?
Let us merge your work and share it with the cheat.sh users.
I think that what you've done could be really useful for many of them.
I have a concept of so-called "cascading cheat sheets", that I will describe in README.md
after your changes are merged.


Production failing on browser

Taking the prod build npm run build  compilation successful but when i run index.html from build folder  getting console error on browser Failed to load resource

The same problem

I think it expect to run under root. Typically you serve it using serve (product of zeit). Navigate into that folder and run serve.

npm i serve -g
Use serve to solve my problem


Clarify cookie banner options

Add clearer language to explain the different scenarios our cookie banner guidance covers.
Based on backlog comment from a user that found the current wording confusing: https://github.com/alphagov/govuk-design-system-backlog/issues/12#issuecomment-1898436250

If we can commit the heading markdown change this looks good to me

Ahh thanks for catching – will squash and merge.

...I'm also gonna be cheeky and merge this myself since Cal is on holiday 🏝


SWC-6365

Memorized value (via useMemo()) rather than the function (useCallback()), as Nick recommended.


Map TextInput textContentType strings to Objective-C constants (#22611)

Fixes https://github.com/keybase/client/pull/17103. I'm testing this on device now, will update the yarn.lock on that PR when/if this is merged. r? @keybase/react-hackers

Tested, it works :+1:


Generated resources shouldn't include top-level apiVersion and kind

The generated code currently includes the apiVersion and kind in the resource args. These fields are redundant because they are already set in the resource constructors.
Example:
const test = new kubernetes.rbac.v1.Role("test", {
    apiVersion: "rbac.authorization.k8s.io/v1",
    kind: "Role",
    metadata: {
        name: "test",
    },
    rules: [{
        apiGroups: [""],
        resources: [
            "pods",
            "services",
            "services/finalizers",
        ],
        verbs: [
            "create",
            "delete",
            "get",
            "list",
            "patch",
            "update",
            "watch",
        ],
    }],
});

Should be:
const test = new kubernetes.rbac.v1.Role("test", {
    metadata: {
        name: "test",
    },
    rules: [{
        apiGroups: [""],
        resources: [
            "pods",
            "services",
            "services/finalizers",
        ],
        verbs: [
            "create",
            "delete",
            "get",
            "list",
            "patch",
            "update",
            "watch",
        ],
    }],
});

Development for converting Kubernetes manifests to Pulumi programs has moved over to: https://github.com/pulumi/pulumi-converter-kubernetes.
This enhancement has been addressed in the Kubernetes converter plugin.


Compatibility with cvxpy 1.0 ?

Hi,
I am wondering if the error I am getting is because of some incompatibility with cvxpy1.0.
Here comes some sample code (Based on your example in README.md):
import os

from cvxpy import *
import sdpt3glue

# Declare variables:
X = Variable((3,3), PSD=True)

# Define objective:
obj = Minimize(X[0, 2])

# Define constraints
constraints = [-0.2 <= X[0, 1], X[0, 1] <= -0.1, 0.4 <= X[1, 2], X[1, 2] <= 0.5]
constraints += [X[i, i] == 1 for i in range(3)]

# Construct the Cvxpy problem
problem = Problem(obj, constraints)

print problem.solve(solver=CVXOPT)

# Generate filenames
folder ='/tmp/'
matfile_target = os.path.join(folder, 'matfile.mat')  # Where to save the .mat file to
output_target = os.path.join(folder, 'output.txt')    # Where to save the output log

result = sdpt3glue.sdpt3_solve_problem(problem, sdpt3glue.OCTAVE, matfile_target,
                                       output_target=output_target)
print result

-0.9779977643152715

TypeError                                 Traceback (most recent call last)
 in ()
27
28 result = sdpt3glue.sdpt3_solve_problem(problem, sdpt3glue.OCTAVE, matfile_target,
---> 29                                        output_target=output_target)
/usr/local/lib/python2.7/dist-packages/sdpt3glue/solve.pyc in sdpt3_solve_problem(problem, mode, matfile_target, output_target, discard_matfile, **kwargs)
55     # Write the problem to a .mat file in Sedumi format
56     problem_data = problem.get_problem_data('CVXOPT')
---> 57     sw.write_cvxpy_to_mat(problem_data, matfile_target)
58
59     return sdpt3_solve_mat(matfile_target,
/usr/local/lib/python2.7/dist-packages/sdpt3glue/sedumi_writer.pyc in write_cvxpy_to_mat(problem_data, target, simplify)
35
36     A, b, c, K, offset = make_sedumi_format_problem(
---> 37         problem_data, simplify=simplify)
38     assert offset == 0
39     write_sedumi_to_mat(A, b, c, K, target)
/usr/local/lib/python2.7/dist-packages/sdpt3glue/sedumi_writer.pyc in make_sedumi_format_problem(problem_data, simplify)
103         A, b, c, K: Data defining an equivalent problem in Sedumi format.
104     '''
--> 105     problem_data = problem_data_prep(problem_data)
106     dims = problem_data['dims']
107     assert not dims[
/usr/local/lib/python2.7/dist-packages/sdpt3glue/sedumi_writer.pyc in problem_data_prep(problem_data)
87         (rows are for constraints, columns are for variables)
88     '''
---> 89     problem_data['A'] = cvxmat(1. * problem_data['A'])
90     problem_data['b'] = cvxmat(1. * problem_data['b'])
91     problem_data['G'] = cvxmat(1. * problem_data['G'])
TypeError: tuple indices must be integers, not str

I have a very similar problem when I run the toy example from the readme page (with matlab instead of octave).
I could fix some issues connected with the transition from Python2 to Python3, but the problem @ipa-lth mentioned remains.
Since this issue dates back to 2018;
@TrishGillett  Is sdpt3glue still maintained?

Hey @fkan95!  I would still love to keep this maintained, but I've struggled to make time for it... I finished my PhD in 2016 and have been pretty busy in an unrelated domain these days.
A few months ago a kind soul @TK-21st submitted a PR https://github.com/TrishGillett/pysdpt3glue/pull/41 which I hope might address this issue, but there are a couple things in it that I wanted to verify by testing locally and that's where I've been stuck - these days I don't even have my environment set up to work on this package and I haven't found time to dig in.  At this point I'd be happy to merge https://github.com/TrishGillett/pysdpt3glue/pull/41 if a second person (ie, someone other than the PR author) could confirm that it works as expected.


Command 'make' failed

Hello. I'm deploying my node app using redis-memory-server at railway, and i'm getting this error:
#11 71.52 Downloading Redis stable: 0 % (0mb / 3.3mb)

#11 71.52 failed to download/install Redis binaries. The error: Error: Command failed: make

#11 71.52 sh: 1: cc: not found

#11 71.52     CC Makefile.dep

#11 71.52 sh: 1: cc: not found

#11 71.52 make[3]: cc: No such file or directory

#11 71.52 make[3]: *** [Makefile:270: alloc.o] Error 127

#11 71.52 make[2]: *** [Makefile:55: hiredis] Error 2

#11 71.52 make[1]: [Makefile:384: persist-settings] Error 2 (ignored)

#11 71.52     CC adlist.o

#11 71.52 /bin/sh: 1: cc: not found

#11 71.52 make[1]: *** [Makefile:436: adlist.o] Error 127

#11 71.52 make: *** [Makefile:6: all] Error 2

#11 71.52 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Do I gotta do something to install make and get this working?
In my local i didn't had to do anything, and I'm not really accustomed to this 'make', i guess it was probably installed by default on my Mac.

It says cc: not found. You'll need to install an OS dependency that provides cc.

It might sound dumb, but how can I do such a thing in a deploy platform? I've never deal with this before.

These docs may help:

https://docs.railway.app/deploy/builds#build-configuration
https://nixpacks.com/docs/guides/configuring-builds#install-additional-packages

I could't really get a good result. I've get one step back to try solve the problem, and I realised I'm only using this library for testing purposes. Technically, i doesn't even really need to install this on my deploy, because its never gonna be used. But, redis-memory-server is installed, so it try to downloads. Is there a way to prevent the lib to try the download only on my deployment, and keep it on my tests?

You can set the environment variable REDISMS_DISABLE_POSTINSTALL=1. You could also yarn install --production.

It works. Thank you a lot for the help and for this library, it will be a game changer for my e2e tests that envolves my queue.


Add hot state updating via wheel events.

This fixes an edge case where we receive a wheel event at a location different than the last move event.

No need for an issue, I'll send a simple PR with that comment in a few minutes.

I have a thought related to this that I'm not sure I've ever spelled out:
I think it should be an invariant that changes in mouse position always generate a move event.
That is: a click or a wheel or any other mouse event should always occur at the same position as the last move.
If this isn't something the platform enforces, it's something that we could implement in druid-shell.
I think this offers a lot of clarity at the druid layer; it would simplify a lot of code, and would then be a very useful guarantee that we could pass along to users.
Is there any reason this doesn't make sense?

Yeah that makes sense and we can do it. I don't think any of the platforms we support guarantee a move event before click, but druid-shell could do that. It would indeed greatly simplify not just druid logic, but also the logic in apps built on druid.

Yes, this sounds like a good idea, after all widgets care about mouse movement relative to their own position, which would be changed by scrolling a Scroll for example. Not sure tho, if it should always generate a MouseMove, for example when nothing is moving despite scrolling. But then again I doubt there is any harm in having to many stationary move events :thinking:

I wouldn't include scroll in this, I think that's an over-complicaiton. Hot might change as scroll does, but this doesn't involve a mouse move?

Hmm, well this is actually a bit tricky. So druid-shell could guarantee that there's a move even before a click event if the position has changed - but this is only in relation to the window.
Druid would still suffer. Imagine the following scenario:

Mouse is moved to location X, druid widget gets the move event.
Druid widget moves to a new location (could be a timer, a database result, whatever)
Mouse is clicked, druid-shell doesn't send a move event because in relation to the window the mouse is in the same position as previously. However in relation to the widget the location has changed.
The widget gets a click event with a position different from the last move event.

I don't think this can be solved without keeping some sort of state per widget about the mouse location. This would have to be in druid, not druid-shell.

I guess the other thing to consider is do we want to make scrolling first-class, and have some sort of 'ScrollChanged' lifecycle event?

Not sure I understand. ScrollChanged sent to children of Scroll to inform of origin changes?`
(Also just to be clear, my example above about a widget moving is independent of scrolling and can happen with regular widgets and regular clicks.)

I think druid should generate MouseMove events when scrolling or layout in general changes :thinking:
Because currently the list example visualizes the issue quite nicely, hovering a button marks it 'hot', after scrolling until the cursor is no longer over the button it still is hot and the button that should be hot did not get an update.

Hot state is already updated after layout changes. I think this is something specific to Scroll. I opened #956 to track this.

I see, as long as hot state is reliable, it could be ok not to generate MouseMoves when scrolling but I still think it would be necessary to get something like region select + scroll which most platforms allow, as it would probably require reliable MouseMoves relative to the widget position.

I think MouseMove should only be sent if the user has moved the mouse.
And yes, ScrollChanged would be a lifecycle event sent to children in a container that has been scrolled. I'm not saying we want this, but it's possible; there are a bunch of funny things about scrolling that suggest it might need special casing.


spideroak: 6.0.1 -> 6.1.9

Motivation for this change
New upstream version available
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I will rebase this PR if #29481 is accepted and merged, since it includes the commit from that PR.

@AndrewMorsillo Please review


How do I implement efficient data fetches for nested objects?

Hello, great work with the project. I have a question pertaining to how to build an efficient implementations given nested objects.
To demonstrate, take a sample blog schema where you have articles that have comments, and comments that have favorites. Favorites are their own relation with an associated user_id to the user that favorited that comment.
A query to fetch all the data you need to render an article would go two relations deep like this:
article(article_id: 123) {
    comments {
        favorites {
            user_id
        }
    }
}

The system is implemented on a relational store, and a simplified version of your Juniper article object looks like this:
graphql_object!(<'a> &'a Article: Context |&self| {
    field comments(&executor) -> Vec<Comment> {
        // SELECT * FROM comments WHERE article_id = self.article_id
    }
}

Comments are similar, with a nested favorites field:
graphql_object!(<'a> &'a Comment: Context |&self| {
    field favorites(&executor) -> Vec<Favorite> {
        // SELECT * FROM favorites WHERE comment_id = self.comment_id
    }
}

The trouble is that if we execute the query above, it will resolve successfully, but it will do so in a way that's degenerately inefficient. To get all our favorites we'll execute N + 1 total queries (1 to get comments, and then N to get favorites for each comment), and every further level of nesting will multiply the total number of queries by another N.
What we'd do ideally is when fetching favorites, use this naive implementation above if we're only fetching them for a single comment, but when we're fetching them for a set of comments, have a higher level execute only a single query:
SELECT * FROM favorites
WHERE comment_id IN (comment_id11, comment_id2, comment_id3)
ORDER BY comment_id;

And then partition the results and distribute them to the underlying "favorites" objects being resolved.
Do you have any recommendations for how to make this sort of pattern possible in a relatively performant and sustainable (in the sense of code complexity) way? I've found some references to "context switching", and looking the source code suggests that it seems like something that might be what I'm looking for, but the documentation for it is light. Is that what I should be using?
Thanks!

Generally Facebook suggests using something like https://github.com/cksac/dataloader-rs, which is what they do internally

@LegNeato Ah, thank you. Yeah, I saw that Data Loader seems to be common in GraphQL implementations from other languages. If this is the right way, it might be helpful to have an example of its integration with Juniper — given heavy reliance on futures, etc., it's somewhat non-trivial to integrate.

There are essentially two approaches to this.
One is a futures and dataloader style async approach, tracked in #2.
With the large changes in currently happening in the Futures/Tokio ecosystem, I'm afraid this is still a bit farther on the horizon.
The other option is to inspect the requested schema and smartly determining what to fetch in a root resolver.
There is a PR for this, and the tracking issue is #124 .

Closing this issue here, feel free to discuss further in one of the two other issues.

Thanks @theduke. #16 turns out to be exactly what I'm looking for here.

AKA the GraphQL N+1 Problem #387 .


Commandline Tool not returning / returning invalid?

Hi,
seems that the commandline tool is returning with an invalid state.
Background: Using nswag command line tool in a postbuild event:
echo 'Starting nswag'
if "$(BuildingInsideVisualStudio)"=="true" if $(ConfigurationName) == Release  nswag run "$(ProjectDir)\..\$(ProjectName).nswag"
echo 'nswag completed'

Output from Build:
1>  'Starting nswag'
1>  NSwag command line tool for .NET 4.6.1+ WinX64, toolchain v<IP_ADDRESS> (NJsonSchema v<IP_ADDRESS> (Newtonsoft.Json v<IP_ADDRESS>))
1>  Visit http://NSwag.org for more information.
1>  NSwag bin directory: C:\Program Files (x86)\Rico Suter\NSwagStudio\Win
1>
1>  Executing file 'C:\TFS\ViMa\AuReS_NEVU_DEV\Source\Reisewitz\Controller\AuReSPlaningController\AuReSPlaningController\\..\AuReSPlaningController.nswag'...
1>  Done.
1>
1>  Duration: 00:00:04.9409131

All commands behind nswag commandline tool are ignored. So ie. the output: "nswag completed" is missing.

Maybe you have to put the echo on a new line? This way it may be passed as arguments to the nswag binary?

I think this is a problem with the new nswag.cmd which redirects the call to the correct assembly.
Can you go to the following path on your system:
C:\Program Files (x86)\Rico Suter\NSwagStudio
And check the nswag.cmd file? Maybe the problem is inside this and you know how to fix it?

Just to clarify: You are using the NSwag command line tools via the NSwagStudio installer, yes?

Yes installed via NSwagStudio Installer

Don't know what and how to fix:
This is the actual content:
@ECHO OFF
set args=%*

IF NOT "%args:/runtime:winx86=%" == "%args%" (
    "%~dp0/Win/nswag.x86.exe" %*
    GOTO end
)

IF NOT "%args:/runtime:netcore10=%" == "%args%" (
    dotnet "%~dp0/NetCore10/dotnet-nswag.dll" %*
    GOTO end
)

IF NOT "%args:/runtime:netcore11=%" == "%args%" (
    dotnet "%~dp0/NetCore11/dotnet-nswag.dll" %*
    GOTO end
)

IF NOT "%args:/runtime:netcore20=%" == "%args%" (
    dotnet "%~dp0/NetCore20/dotnet-nswag.dll" %*
    GOTO end
)

"%~dp0/Win/nswag.exe" %*
:end

Any suggestions? @RSuter ?

Any news on this topic?

Have you tried to modify this batch file so that it does not suppress the commands after?

No, because I don't know what / in which direction to edit this file.

Try
echo 'Starting nswag'
if "$(BuildingInsideVisualStudio)"=="true" if $(ConfigurationName) == Release cmd /c nswag run "$(ProjectDir)\..\$(ProjectName).nswag"
echo 'nswag completed'

I think I found another solution by invoking nswag in a different way:
https://stackoverflow.com/a/16831269
echo 'Starting nswag'
if "$(BuildingInsideVisualStudio)"=="true" if $(ConfigurationName) == Release  nswag run "$(ProjectDir)\..\$(ProjectName).nswag"
echo 'nswag completed'

with
cmd /c nswag nswag.json

it seems to work


feat: add terraform example usage to apply alerts to Hello app

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[18.03 backport] makefile and linting changes, bump go 1.11

See if we can get CI to pass with some of the linting back ports and Makefile improvements
Backports of

https://github.com/docker/swarmkit/pull/2745 Adding a Dockerfile and making it easy to use it for dev
https://github.com/docker/swarmkit/pull/2751 go {build,test}: rm -i option
https://github.com/docker/swarmkit/pull/2750 Use gometalinter; switch from x/net/context -> context

erm; well, without the context change (because some dependencies are too old)

https://github.com/docker/swarmkit/pull/2766 Adding a hack/debug script
https://github.com/docker/swarmkit/pull/2811 Fix make check
https://github.com/docker/swarmkit/pull/2866 Swap gometalinter for golangci-lint
https://github.com/docker/swarmkit/pull/2752 Switch to go 1.11

@dperny @kolyshkin PTAL

Seems it's looking better now!

I skipped the /x/context -> context change in this one; would've been nice to have, but required bumping some dependencies and possibly other work.
We can still do that change at some point if we have some time (definitely not critical, just can make backporting somewhat easier)


Release the scan for Log4Shell (CVE-2021-44228)

I have to admit, that I am not sure what the proper steps are to release a new version in der Burp Store.
However, as https://github.com/albinowax/ActiveScanPlusPlus seems not be updated anymore and here is not option to open tickets, I decided to raise the awareness, that the check, that was added on Friday, is not released yet.

Releasing is a manual process from the Burp team. As per this note, I recommend using an alternative extension (which the bapp team are currently working on releasing into the store): https://twitter.com/albinowax/status/1470337600829407235


touch the redirection file

Docs Build status updates of commit 2d8346c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docfx.yml
:warning:Warning

Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docfx.yml

Line 0: [Warning] Multiple documents redirected to '/microsoft-edge/devtools-guide/storage' with document id: 'microsoft-edge/devtools-guide/debugger/cookies.md', 'microsoft-edge/devtools-guide/debugger/indexeddb.md'

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

Docs Build status updates of commit 2d8346c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docfx.yml
:warning:Warning

Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docfx.yml

Line 0: [Warning] Multiple documents redirected to '/microsoft-edge/devtools-guide/storage' with document id: 'microsoft-edge/devtools-guide/debugger/cookies.md', 'microsoft-edge/devtools-guide/debugger/indexeddb.md'

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


Russian changelog for <IP_ADDRESS>, <IP_ADDRESS> and <IP_ADDRESS>

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Other

Short description (up to few sentences):
Russian changelog for last releases.

There are some weird translations.


Recommendations on how to leverage ABAP Cleaner as part of a pipeline

Currently considering building a pipeline that auto-generates ABAP Code and it will be great to be able to via CI/CD tool to call the ABAP Cleaner pass a piece of code, request to clean it and get the code back.
As of now, the only viable way would be using some scripting tool with a VM and the standalone ABAP Cleaner BUT perhaps you're thinking about that or already figured it out.
Thanks, Diego.

You might want to get in touch with @stockbal. He was working on a GitHub workflow last year: https://github.com/SAP/abap-cleaner/issues/118#issuecomment-1741860852

if generating code, I assume that there is multiple things that needs to fit together, ie. you'd like early feedback on the syntax
something like https://github.com/abap-openapi/abap-openapi generates ABAP code, and checks it with abaplint for early syntax feedback
can also quick fix issues npm install @abaplint/cli -g && abaplint --fix

Hi Diego,
regarding ABAP cleaner, you could check how far you can get with Calling ABAP cleaner from the command line, which also includes an example of a GitHub Actions workflow usage.
Kind regards,
Jörg-Michael


[release-1.26] Backports for 2023-10 release

Types of Changes
Backports for:

https://github.com/k3s-io/k3s/pull/8402
https://github.com/k3s-io/k3s/pull/8458
https://github.com/k3s-io/k3s/pull/8470
https://github.com/k3s-io/k3s/pull/8604
https://github.com/k3s-io/k3s/pull/8602
https://github.com/k3s-io/k3s/pull/8064
https://github.com/k3s-io/k3s/pull/8342
https://github.com/k3s-io/k3s/pull/8624

Verification

Testing
See linked issues
Linked Issues

https://github.com/k3s-io/k3s/issues/8428
https://github.com/k3s-io/k3s/issues/8485
https://github.com/k3s-io/k3s/issues/8472
https://github.com/k3s-io/k3s/issues/8606
https://github.com/k3s-io/k3s/issues/8609
https://github.com/k3s-io/k3s/issues/8613
https://github.com/k3s-io/k3s/issues/8620
https://github.com/k3s-io/k3s/issues/8626

User-Facing Change

Further Comments

S390x is having issues, all other tests are passing. Merging.


[SPARK-43517][PYTHON][DOCS] Add a migration guide for namedtuple monkey patch

What changes were proposed in this pull request?
This PR proposes to add a migration guide for https://github.com/apache/spark/pull/38700.
Why are the changes needed?
To guide users about the workaround of bringing the namedtuple patch back.
Does this PR introduce any user-facing change?
Yes, it adds the migration guides for end-users.
How was this patch tested?
CI in this PR will test it out.

cc @sadikovi and @ueshin for a look.

Merged to master and branch-3.4.


Advocate not to use :latest

Addresses #316
@bgrant0607 @kubernetes/docs

Looks good for me.

LGTM. Thanks.


Fix typo, command below references 7B model

#305 includes the same fix.

@mhaeussermann thanks! closing.


chore: Update README.md

This solves the current only active warning from megalinter

Please review #21 instead.


Substack feeds are not loadings

Hello, the substack RSS feeds I have subscribed to aren't loading, showing up in red. I have asked around, people that use other RSS services and apparently, substack feeds are working great, so is it an issue with CommaFeed?
By the way, I love CommaFeed. It's great.

Looks like the IP address of the new server is blocked by cloudflare. There seems to be a procedure to apply to be a verified bot though (https://developers.cloudflare.com/bots/reference/verified-bots-policy/). I filled the form we'll see how it goes :)

I received no feedback from cloudflare yet, but it looks like I can subscribe to substack feeds now.
Also, I can't find substack feeds in error in the database. Is the issue fixed for you now?

Yes, thank you! It is working great. Whatever you did worked a beauty! Thanks for the quick response, solution and follow-up!


Mac OS spinning pinwheel when launching Tray app from CLI, but not from .app

On Mac OS if I launch an app with a Tray icon from the CLI, about half the time it pinwheels for ~10 seconds before continuing to work. It seems like a race condition or a timeout or something to me, but I haven't been able to figure out the cause.
Here is a minimal test case (you will have to put an Icon.png in the folder with it for the icon to show up in the tray)
var path = require('path')
var app = require('app')
var Tray = require('tray')

app.on('ready', function ready () {
  var tray = new Tray(path.join(__dirname, 'Icon.png'))
})

Then run atom-shell app.js and you should get a pinwheel within the first few tries when you try and click on the icon in the tray.
The weird part is, if I package the app in a .app (using https://www.npmjs.com/package/atom-shell-packager) it never pinwheels on startup.
I've been able to replicate this on multiple Mac OS machines so far.

What would happen if you move tray out of the ready callback like the following?
var tray;
app.on('ready', function ready () {
  tray = new Tray(path.join(__dirname, 'Icon.png'))
})

In your code tray will be garbage collected after some time.

@zcbenz I am still able to reproduce the spinning pinwheel issue with your suggestion

Not able to reproduce on v0.33.0, seems to have been fixed by previous Chrome updates.


JabRef does not shutdown at all after interacting with OpenAI

(see title)

refs https://github.com/square/okio/issues/738

VisualVM shows

One cannot shutdown OkHttp using a parameter. See https://github.com/square/okhttp/issues/6173.

I think, I found the root cause: https://github.com/langchain4j/langchain4j/pull/1449

Waiting for 60 seconds, the tasks are like this:

JabRef running (on main branch)

New threads after inputting a message:

pool-4-thread-1, pool-8-thread-1, and pool8-thread-2 are new.

Opening Tab only:

Next step: Find out what is this pool-4-thread-1:

Current state: This thread is created at dev.langchain4j.chain.ConversationalRetrievalChain#execute. Need to dive more into it.

@koppor thank you very much for the findings!!!
Will also try to investigate it!

To searcha for the thead starter, Byteman could be used. Source: https://stackoverflow.com/a/78051083/873282
However, I do not know at all how to start with Gradle. -- Maybe it is very simple: pass the JAVA_TOOL_OPTIONS using IntelliJ somehow.


Release

@valegrajales & @javiesgm
We are ready for "release" or "production". I just set the Milestone 1.4.1 to this issue, so mind the date.
Thanks a lot for your hard work!

@danipilze please redirect the site and close this issue after.

done!


update PIL to Pillow?

I tried to install moddotplot on my M2 Mac Air which has Python 3.12 from home-brew. The env failed because PIL requires py >= 3.7 and <3.11. Updating PIL to the Pillow fork let me install and I was able to view static and interactive plots with the sample sequences.

same error to me, did you figure it out?


"Minified Redux Error" After Installing v1.12.1 When Attempting to Re-order Collections Alphabetically

Hi team and @helloanoop, hope you are well and congrats for Golden Edition release.
There is a small issue when attempting to re-order collection alphabetically after v1.12.1 install. I installed it over v1.
I also did a refresh install, the same was happening too.
Config:
Mac M1.
Used the bruno_1.12.1_arm64_mac to install.

Error: Minified Redux error #8; visit https://redux.js.org/Errors?code=8 for the full message or use the non-minified dev environment for full errors.
    at g (file:///Applications/Bruno.app/Contents/Resources/app.asar/web/_next/static/chunks/pages/_app-1ccb54918d40d9bf.js:1:1159408)
    at file:///Applications/Bruno.app/Contents/Resources/app.asar/web/_next/static/chunks/pages/_app-1ccb54918d40d9bf.js:1:26158
    at file:///Applications/Bruno.app/Contents/Resources/app.asar/web/_next/static/chunks/pages/_app-1ccb54918d40d9bf.js:1:10409
    at file:///Applications/Bruno.app/Contents/Resources/app.asar/web/_next/static/chunks/972-4d6d61501f147946.js:1:305329
    at onClick (file:///Applications/Bruno.app/Contents/Resources/app.asar/web/_next/static/chunks/972-4d6d61501f147946.js:1:305342)
    at Object.Oe (file:///Applications/Bruno.app/Contents/Resources/app.asar/web/_next/static/chunks/framework-49f1e091cbf6b261.js:1:16876)
    at Ae (file:///Applications/Bruno.app/Contents/Resources/app.asar/web/_next/static/chunks/framework-49f1e091cbf6b261.js:1:17030)
    at file:///Applications/Bruno.app/Contents/Resources/app.asar/web/_next/static/chunks/framework-49f1e091cbf6b261.js:1:36930
    at Ir (file:///Applications/Bruno.app/Contents/Resources/app.asar/web/_next/static/chunks/framework-49f1e091cbf6b261.js:1:37024)
    at Ur (file:///Applications/Bruno.app/Contents/Resources/app.asar/web/_next/static/chunks/framework-49f1e091cbf6b261.js:1:37439)
    ```

Solved in 1.12.2. Closing this.


Use dlopen for sox

This commit changes the way torchaudio integrates libsox.
Previously, libsox has been statically linked and shipped.
This commit changes it so that libsox will be dl-opened at runtime.
Users now need to install libsox separately. Conda users can do so by
conda install -c conda-forge sox libopus. Ubuntu users can use apt install libsox-fmt-all
The notable difference is that the supported formats are different from
one distribution to another, thus some formats will not be available unless users build libsox
with these formats enabled.
If this change causes an unrecoverable issue, one can use TORCHAUDIO_USE_SOX=0 to disable
libsox integration at runtime.

superseded by #3497, which is simpler


DNS Query Pulls from Public DNS

This seems to be a recent issue, but I have split horizon DNS configured on my internal network so that I can use a single FQDN for my printers. All DNS lookups work fine at an OS level on all my device, except iOS devices. If I kill all my apps and flush DNS on my iPhone, I can then perform a lookup and it reports the proper internal IP address. I can use any number of other apps without a problem, but the moment I launch Octopod my iPhone's DNS table changes my FQDN resolution to my public IP instead of the internal IP address. This then breaks communication and sends traffic outside my network for no apparent reason.
Steps to test:
Kill all apps
Flush DNS on iOS device
Ping FQDN
Receive internal IP address
Launch any app that connects to local IPs with success
Ping FQDN and see appropriate IP
Launch Octopod (fails)
Ping FQDN and see public IP
Current workarounds:
Use cellular data to connect
Enter IP address in configuration
This isn't ideal, and oddly it works fine on my wife's printer which is an identical hardware and software configuration. It does happen to multiple iOS devices, so it's not my particular iOS device. And I'm sure the network is fine as every other device receives and keeps the appropriate DNS resolution.
Thoughts?

Hi @aethernex,
Thanks for sharing a detailed report. Unfortunately, it is hard to tell how to achieve your desired effect. OctoPod does not directly uses DNS or changes which DNS server to use or flushes or populates DNS. I use the standard network SDK for making HTTP requests. Apple's libraries do the hard low level work. Maybe check in Apple dev forums?
Sorry for such an unhelpful answer. :(
Gaston

Thanks for the reply. I honestly expected this to be the answer, so don't
worry about it. I figured you used a standard implementation, it's just so
weird that it happens nowhere else, even other Octoprint installations. I'm
going to try rebuilding the OctoPi on a Pi4 and configure my reverse proxy
to handle traffic instead of a direct connection to the Pi. Then I'll try a
clean install of iOS in case there's something messed up in my devices if
that doesn't work. Then I'll reach out to Apple if none of that works.
Take care,
On Tue, Nov 24, 2020 at 2:46 PM Gaston Dombiak<EMAIL_ADDRESS>wrote:

Hi @aethernex https://github.com/aethernex,
Thanks for sharing a detailed report. Unfortunately, it is hard to tell
how to achieve your desired effect. OctoPod does not directly uses DNS
or changes which DNS server to use or flushes or populates DNS. I use the standard
network SDK
https://developer.apple.com/documentation/foundation/url_loading_system
for making HTTP requests. Apple's libraries do the hard low level work.
Maybe check in Apple dev forums?
Sorry for such an unhelpful answer. :(
Gaston
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gdombiak/OctoPod/issues/407#issuecomment-733195004,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMFRJBG2WVGLIHE4IMR3CKLSRQESVANCNFSM4TXI52EQ
.

Sounds like a solid plan to me! Good luck and keep me posted!
Gaston


riscv64/x390: add *_overflow

currently a draft and only riscv64

@bjorn3 can you take a look? also, I haven't found umul equivalent (or mul with zext*) in s390x. do you know what are their names?

Hi @ghostway0,   a few comments on the s390x part:

All the new instruction rules you added seem to provide only a single return, the overflow bit.  However, my understanding is that smul_overflow and all the other overflow instructions are defined to have two returns, the low-part result and the overflow bit.  I think you'll need to use some form of with_flags to construct the pair of results (like x86 and aarch64 already do).
You're simply re-using the same instructions used for the "normal" operation (add/sub/mul) also for the overflow operation.  That is correct for 32-bit and 64-bit operations, but not for 8-bit and 16-bit operations.  The reason is that the 390x ISA does not actually have any 8-bit or 16-bit arithmetic instructions, so we simply use the 32-bit version also for 8-bit and 16-bit operations.  That provides the correct (low-part) result, but any overflow indication would be incorrect.
There is no unsigned-multiply instruction with overflow indication on our platform.  What other compilers do is to use the 32x32->64 or 64x64->128 bit wide multiply instruction, and check whether the high-part of the output is zero.


Fix a build error

Sometime build error occurs as follows:
An async function or method must return a 'Promise'. Make sure you have
a declaration for 'Promise' or include 'ES2015' in your --lib option.
ISSUE=none

@romandev, is this issue still happened?


FR: Get description in template

I use description to summarize/comment article. It is good if add description in template?

#41

Hey @skyue, we have added description in the template in the latest release


Require FxA state to match session (fixes #866)

I'm not crazy about how I'm setting the state data in the session but this seemed a lot simpler than writing a middleware. The user id is in the state just to invalidate it when the user logs in or out.
r? @kumar303

Looks like a legit test failure

I'm not crazy about how I'm setting the state data in the session

Since we use cookie sessions, I think it's fine. If we were using some server session backend I would suggest using a signed blob (like a JWT) but signed cookies have the same benefit.

I don't think the user ID is required to be in the state data. I'll verify that the session is cleared on login/logout but even then it may not matter since we just want to make sure that the user actually initiated the request. Clearing the state on login/logout isn't required to make guessing 32 bytes of random data hard.

r+wc after the tests pass


Console now prints song name.

Console now prints the name of the song that is being downloaded, in addition to the url.
Song name is printed inside single quotes; song url is printed inside square brackets.

One issue with this is that it makes the printed output take up two lines instead of one.

i get this error:
Traceback (most recent call last):
File "run.py", line 159, in main
from musicbot import MusicBot
File "C:\Users\Apu\Documents\MusicBot\musicbot_init_.py", line 1, in
from .bot import MusicBot
File "C:\Users\Apu\Documents\MusicBot\musicbot\bot.py", line 31, in
from musicbot.playlist import Playlist
File "C:\Users\Apu\Documents\MusicBot\musicbot\playlist.py", line 8, in
from .entry import URLPlaylistEntry
File "C:\Users\Apu\Documents\MusicBot\musicbot\entry.py", line 217
try:
^
SyntaxError: invalid syntax

ERROR

Closing:

Conflicts
No changes after changes requested
No recent activity
Incorrect syntax
Possibility of breaking with unsupported characters


CS0579 - (wrongly flagged) duplicate attribute

Issue Type: Bug
On a dotnet core console application, I've got both obj/Debug and obj/Release folders (since I've published it as well) - all the attributes under MyProjectName.AssemblyInfo.cs under release are flagged as duplicate, for example:
Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute (CS0579) [MyProjectName]
I suspect it mixed it up with the debug file, though I'm not sure.
VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (4 x 2712)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.93GB (2.83GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

vscode-css-formatter
aes
1.0.1

vscode-pull-request-github
Git
0.7.0

csharp
ms-
1.19.1

team
ms-
1.149.2

Please file this against the C# extension

Found this issue for OmniSharp: OmniSharp/omnisharp-vscode#3050


DOCS example missing namespace

update of https://github.com/heyday/silverstripe-versioneddataobjects/pull/34

Thanks!

No problem :-)


Fix plans acceptance test

Signed-off-by: Denica Madzhirova<EMAIL_ADDRESS>

Coverage remained the same at 92.071% when pulling 757cf5a64f93c489a60afa2ca48a437ec9c5ff6a on SAP:fix_acc_test into 5ab67894bed60304fb023ec3531c8ffc8f14cadb on cloudfoundry-incubator:master.


Back CircularBuffer with Deque from swift-collections

swift-collections is vending a Deque that is fulfilling the same purposes of our CircularBuffer. We should check if we can just back the CiruclarBuffer with Deque. While doing this we should also check if there are any API surfaces that Deque is implementing that we are defaulting in CircularBuffer, i.e. Deque implements append(contentsOf:).

I had a very quick look into this a while ago: Deque does not have a capacity property:
/// Unlike arrays, deques do not currently provide direct unsafe access to their
/// underlying storage. They also lack a `capacity` property -- the size of the
/// storage buffer at any given point is an unstable implementation detail that
/// should not affect application logic. (However, deques do provide a
/// `reserveCapacity` method.)

I didn't follow up with @lorentey as to whether it would be possible to add one.

Don't think this is reasonably possible because Deque isn't self-slicing but CircularBuffer is.

@weissi Thanks for chiming in here! Just to clarify and see if I understand you correctly. Currently, it doesn't make sense to back CircularBuffer with Deque because of the difference in self-slicing; therefore, how indices are handled, right?
For our next major release do you see it feasible to drop CircularBuffer and replace all our use-cases with Deque?

@FranzBusch Well, CircularBuffer's API is self-slicing. Deque isn't and that's why you can't keep the API and implement it on Deque efficiently. You could back it with Slice<Deque> but this still has the efficiency issues described above.
W.r.t. deprecating CircularBuffer and removing it in the next major release: works for me.

Thanks, that's exactly how I understood it! Let's keep this issue for the next major then!


[guidance] - Websocket authentication

Hello, I wanted to ask some questions about the authentication process.
this is my middleware

And it connects to websocket

And this connection method

I wanted to see if this clintID is safe and logical, to identify the user with this, and in this section I receive the user.
Auth().user();
If several requests come at the same time, there will be no interference?

Hello @MtyNet
No there is no interference.


No active device Issue

Issue Description
Unable to use the plugin. When I setup my Security.Store file as well as the URI I get the issue of  "No active device" and when I go to see the issue it tells me there are "No devices found on Spotify".  I do have Spotify premium, but I don't believe that to be the issue. This issue is similar to issue #6 but the solution there didn't help here.
Functionality Affected
Please mark the functionality of the plugin that is affected by the issue:

[ ]
2022-05-08.txt
Controlling the local Spotify client (changing track, pausing, skipping, muting)
[ ] Searching Spotify for albums, artists or songs

Software Versions
Please fill in the following information:

Spotify client version (Help > About Spotify): Spotify for Windows
<IP_ADDRESS>6.gc5f8b819
Flow Launcher version (Flow Settings > About): 1.9.3

Please also make sure you're running the latest version of Flow.Launcher.Plugin.SpotifyPremium

Do you see this issue while spotify is actively playing music?

Yes, I see it both when spotify is playing music as well as when spotify is not playing anything or even open. The last time I tried to use the plugin I got the following error:
Flow Launcher version: 1.9.3
OS Version: Microsoft Windows NT 10.0.19044.0
IntPtr Length: 8
x64: True
Date: 05/11/2022 13:45:36
Exception:
SpotifyAPI.Web.APIException: invalid_client
at SpotifyAPI.Web.Http.APIConnector.ProcessErrors(IResponse response)
at SpotifyAPI.Web.Http.APIConnector.DoRequest(IRequest request)
at SpotifyAPI.Web.Http.APIConnector.DoSerializedRequest[T](IRequest request)
at SpotifyAPI.Web.Http.APIConnector.SendAPIRequest[T](Uri uri, HttpMethod method, IDictionary2 parameters, Object body, IDictionary2 headers)
at Flow.Launcher.Plugin.SpotifyPremium.SpotifyPluginClient.ConnectWebClient(Boolean keepRefreshToken) in C:\Repos\Flow.Launcher.Plugin.SpotifyPremium\SpotifyPluginClient.cs:line 262
at Flow.Launcher.Plugin.SpotifyPremium.SpotifyPlugin.ReconnectAsync(Boolean keepRefreshToken) in C:\Repos\Flow.Launcher.Plugin.SpotifyPremium\SpotifyPlugin.cs:line 447
at Flow.Launcher.Plugin.SpotifyPremium.SpotifyPlugin.QueryAsync(Query query, CancellationToken token) in C:\Repos\Flow.Launcher.Plugin.SpotifyPremium\SpotifyPlugin.cs:line 101
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 192
--- End of stack trace from previous location ---
at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 191
at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass137_0.<g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 613
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 587
at System.Threading.Tasks.Task.<>c.b__140_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

One more thing before examining your security store file - can youttype sp reconnect to force clear the refresh token?

I tried the command and it worked. Thank you very much for the suggestion.

No problem! Let me note this down somewhere (Readme? Wiki?) as I suspect this isn't the first time the issue will come up 🙂


CUDA version used for the project

Hello, thank you for your work.
I would like to try running your code, but it seems that I cannot find CUDA version recommended for this project. Would you please tell me what CUDA version you have used for this code?

You probably already figured this out but it really doesn't matter which version you use but I would recommend just working with what is listed here.
Nvidia Website for installing CUDA


Colab notebook is out of sync with the latest update

Hi, I am trying to run the Colab notebook: https://colab.research.google.com/github/tensorflow/tpu/blob/master/tools/colab/bert_finetuning_with_cloud_tpus.ipynb
I was able to run it yesterday before the last git update. There were substantial changes to run_classifier.py code (eg. convert_examples_to_features function now requires "output_file" argument which is not there in the colab notebook, input_fn_builder function does not recognize 'features' argument anymore, but requires 'input_file' and so on).
Will the colab notebook be updated soon to reflect these changes? Thanks.

I just un-did the latest change so that now the Colab (and people's code who depended on it) should work again. The new versions are called filed_based_convert_examples_to_features and file_based_input_fn_builder and the old versions of convert_examples_to_features and input_fn_builder are still in run_classifier.py.

Please let me know if it's working for you again (without any changes to the Colab)!


Basic Docker support

Hi @willbar, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (William Bartholomew). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

LGTM.
Does it also work with ospo-crawler-dashboard? I wonder if we should bump up the version in package.json and re-publish it.

I don't think that's necessary because ospo-crawler-dashboard won't be using these changes. It can get a version bump when we add something it needs.


Team viaversion already exists in this scoreboard

What version of ViaVersion are you using? Type /ver viaversion
Last on GitHub 0.6.8
What version of Spigot are you using? Type /ver
Last version
What plugins are you using? Type /plugins
Plugins (28): WorldEdit, Essentials, AutoMessage, Buycraft, HolographicDisplays, FancyPortals, TeleportSigns, WorldGuard, BungeePlayerCounter, EssentialsChat, WGRegionEvents, PressurePush, PermissionsEx, SQLibrary, Just2Tools, ViaVersion, WGCustomFlags, StaffChat, CustomJoinItems, Vault, HubSpeed, EssentialsSpawn, TitleManager, PlayerPoints, ColoredTags, ChestCommands, WGRegionCommands, ColoredTablist
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
Last version of Bungeecord 1.8-1.9
Plugins : BungeePerms, BungeeStaffChat, CommandControl, ServerListPlus and Just2Ban
How does this error happen? login? Using an item?
Random
Is there an error in the console? Use pastebin.com. Is there a kick message?
We have someone disconnection with this error in bungee console : http://pastebin.com/B2b2ubCV

Disable auto-team


mere comment

Thanks !  Love the token control.
Just wish your example was Keynes v Hayek.

Ha, nice. You are free to add that to the notebook example if you like :)


Tidying up

What
Updated sdk to not include /v1 as a prefix so that it could be handled by baseUrl
Updated endpoints to include /v1
Tidied up inconsistencies
How to review
Review code and test
Who can review
Anyone

Should go to release/0.3.0 first

release/0.3.0 created based on master, PR updated to merge into new branch


Connect errors

After open it and add auth key
python3 main.py
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.10/tkinter/init.py", line 1921, in call
return self.func(*args)
File "/home/mymy/autobirdton/gui.py", line 227, in connect_websocket
self.game_client = GameClient(tg_data=auth_key_dict, ui=self)
File "/home/mymy/autobirdton/client.py", line 81, in init
self.ADS_URL = self.ADS_URL.format(user_id=temp["user"]["id"], chat_instance=temp["chat_instance"])
KeyError: 'chat_instance'

Seems like it got updated and "chat_instance" is not available anymore, and ad urls stopped accepting this parameter also.
I've pushed an update, should be working now ✅
Do git pull to update
Let me know if it works for you

It worked thanks so much

Thanks for reporting this issue. It's now resolved


Resolve pm2 problem in Windows

Related with issue Unknown file extension ".CMD" #241

Thank you @dajuguan!

You are welcome, thanks for providing the awesome learning resources!


Broken of links  in smaller width

Describe the bug
When we are changing width to smaller all the links are breaking in two parts which is not a good UI . So we can use   so that the links will not breaks in two
To Reproduce
Steps to reproduce the behavior:

Go to 'https://akshitagupta15june.github.io/PetMe/'
Change the size by using devoloper tools in browser
See error

Expected behavior
Link should not break they should in 1 line
Screenshots

You can see the error
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi maintainers pls assign me this issue thank you


import sysutils/py-Beaver and its dependencies

this branch includes beaver port for FreeBSD and its dependencies.
the ports has NOT been tested with the latest ports tree but should be fine.
the latest port can be found at our github repository.
https://github.com/reallyenglish/freebsd-ports/tree/reallyenglish/sysutils/py-Beaver

Hey @trombik, thanks for the PR. I appreciate this is an extremely delayed reply. I'm a new contributor to the project so I'm just working through the outstanding issues and PRs.
Are you still looking to get this merged upstream? If so, we need to discuss test cases as Travis have no plans to support FreeBSD any time soon (https://github.com/travis-ci/travis-ci/issues/1818) so it would make CI difficult for us. If not, I'll close off this PR
Thanks again for your contribution!

Closing due to inactivity. Feel free to reopen!


change proxy log level

It's wrong location of this file. It is has been moved from core-impl/proxy/src/main/resources/log4j.xml  to core-impl/proxy/src/test/resources/log4j.xml.  see  #8


[mesheryctl] Automatically updating meshconfig file

See mesheryctl Command Tracker for current status of commands.
Current Behavior

mesheryctl is unable to parse old meshconfig(.meshery/config.yaml) files-
➜  ~ mesheryctl system context create k8s
Error: error processing config: 2 error(s) decoding:
* 'contexts[bob].token' expected type 'string', got unconvertible type 'map[string]interface {}'
* 'contexts[local].token' expected type 'string', got unconvertible type 'map[string]interface {}'
Usage:
  mesheryctl system context create <context-name> [flags]

Desired Behavior

This is because the meshconfig file the user has will have been created by an older version of mesheryctl and the user may be using a new version of mesheryctl in which the structure of the meshconfig may have been changed.
A graceful error handling is needed here that will backup the current meshconfig file and ask user if they want to let mesheryctl create a new meshconfig file which is of the latest format.
This handling is necessary as the structure of meshconfig file may be changed frequently and otherwise the users will need to manually delete their meshconfig files and run the commands again.

Implementation

This could be a check in PreRunE, basically catching any errors when trying parse the meshconfig file.
Mockups

➜  ~ mesheryctl system context create k8s
Looks like you are using an outdated config file. Do you want to generate a new config file [y/n] ?

Contributor Resources

mesheryctl Contributing Guide
Beginner's guide to contributing to Meshery and mesheryctl
mesheryctl Command Tracker
Meshery CLI Commands and Documentation

hello i'am searching a new issue to work on. can i take this ?

@fallmor, yes, sounds great.


Configure Karma to use ChromeHeadless

Chrome doesn't seem to work on the remote setup we are using. The errors
I'm getting when running npm run test look like this:
17 07 2020 23:13:06.698:WARN [karma]: No captured browser, open http://localhost:9876/
17 07 2020 23:13:06.705:INFO [karma-server]: Karma v5.0.9 server started at http://<IP_ADDRESS>:9876/
17 07 2020 23:13:06.705:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
17 07 2020 23:13:06.709:INFO [launcher]: Starting browser Chrome
17 07 2020 23:13:07.595:ERROR [launcher]: Cannot start Chrome
    [990616:990616:0717/231307.508014:ERROR:browser_main_loop.cc(1469)] Unable to open X display.
[0717/231307.533182:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

17 07 2020 23:13:07.595:ERROR [launcher]: Chrome stdout:
17 07 2020 23:13:07.595:ERROR [launcher]: Chrome stderr: [990616:990616:0717/231307.508014:ERROR:browser_main_loop.cc(1469)] Unable to open X display.
[0717/231307.533182:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

Switching to ChromeHeadless seems to fix the issue.

I rebased this PR on the current main branch. Please take another look.


Add docs for invoker factory

They are non-existent.

+1

I thought that the create factory would bind the function's context when it invoked the method. It doesn't. One needs the invoker for that.


nokia-1-text-clipped-new-app-onboarding

What
-nokia-1-text-clipped-new-app-onboarding

Strange: does that mean that there's a problem with Flexible? Or with the "Next" button as Positioned? Or with the AutoSizeText with \n in the String?
Looks like AutoSizeText is not bullet proof with bold texts: https://github.com/leisim/auto_size_text/issues/104 https://github.com/leisim/auto_size_text/issues/119

Could not reproduce it (I don't have a Nokia 1).


Peak Trimming MS2 Top N peaks with multiple windows

Another way of trimming peaks is to divide the peaks into small windows and then to filter for n most intense peaks in each small window.

this is sort of already in mzLib but I implemented it differently and it's a little buggy and we don't use it. you could just edit what's there already and enable it in MM

added an extension method to mzlib that partitions list into equal segments that might be valuable here:
public static IEnumerable<List> Partition(this IList source, Int32 size)
{
for (int i = 0; i < Math.Ceiling(source.Count / (Double)size); i++)
yield return new List(source.Skip(size * i).Take(size));
}

merged with #621