RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/gradio/routes.py", line 275, in predict
	output = await app.blocks.process_api(body, username, session_state)
  File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 274, in process_api
	predictions = await run_in_threadpool(block_fn.fn, *processed_input)
  File "/usr/local/lib/python3.8/dist-packages/starlette/concurrency.py", line 41, in run_in_threadpool
	return await anyio.to_thread.run_sync(func, *args)
  File "/usr/local/lib/python3.8/dist-packages/anyio/to_thread.py", line 31, in run_sync
	return await get_asynclib().run_sync_in_worker_thread(
  File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
	return await future
  File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 867, in run
	result = context.run(func, *args)
  File "/usr/local/lib/python3.8/dist-packages/gradio/interface.py", line 500, in <lambda>
	lambda *args: self.run_prediction(args)[0]
  File "/usr/local/lib/python3.8/dist-packages/gradio/interface.py", line 682, in run_prediction
	prediction = predict_fn(*processed_input)
  File "aet_demo.py", line 60, in transfer
	src_model = SSLDualLightningModule(config).load_from_checkpoint(
  File "/root/ssl_speech_restoration/lightning_module.py", line 623, in __init__
	super().__init__(config)
  File "/root/ssl_speech_restoration/lightning_module.py", line 307, in __init__
	self.vocoder = load_vocoder(config)
  File "/root/ssl_speech_restoration/utils.py", line 44, in load_vocoder
	vocoder.load_state_dict(torch.load(config["general"]["hifigan_path"])["generator"])
  File "/usr/local/lib/python3.8/dist-packages/torch/serialization.py", line 608, in load
	return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/usr/local/lib/python3.8/dist-packages/torch/serialization.py", line 787, in _legacy_load
	result = unpickler.load()
  File "/usr/local/lib/python3.8/dist-packages/torch/serialization.py", line 743, in persistent_load
	deserialized_objects[root_key] = restore_location(obj, location)
  File "/usr/local/lib/python3.8/dist-packages/torch/serialization.py", line 175, in default_restore_location
	result = fn(storage, location)
  File "/usr/local/lib/python3.8/dist-packages/torch/serialization.py", line 151, in _cuda_deserialize
	device = validate_cuda_device(location)
  File "/usr/local/lib/python3.8/dist-packages/torch/serialization.py", line 135, in validate_cuda_device
	raise RuntimeError('Attempting to deserialize object on a CUDA '
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

that is when upload a sample file with spanish

anyone?

??


Does not work on Python 3.11

Describe the issue
Dear all,
thanks for this great library!
Since a few days my script reports an error instead of the status of my vevicle (Mini SE):
bimmerconnected status -j <mail> <pw> rest_of_world
This is resulting in the following (shortend) response:
ValueError: mutable default <class 'bimmer_connected.models.GPSPosition'> for field location is not allowed: use default_factory
bimmer_connected is executed in docker (latest python:3) and installed via
 /usr/local/bin/python -m pip install --upgrade pip > /mnt/ceph/log.txt
pip3 install --upgrade bimmer_connected >> /mnt/ceph/log.txt
The process/scripts are unchanged since months so I would assume a bug in bimmer_connected resulting in an unhandled error.
Do you need further infos for investigation?
Max
Expected behavior
I would expect the status in JSON.
Which Home Assistant version are you using?
--- (just jusing the command line)
What was the last working version of Home Assistant Core?

What is your region?
Rest of world
MyBMW website

[X] I can still successfully login to the BMW MyBMW website and the car status is available there.
[X] I have MyBMW enabled for my vehicle.

Number of cars

[ ] I have 2 or more cars linked to the MyBMW account.
[X] I have a Mini vehicle linked to my account.

Output of bimmer_connected fingerprint
Traceback (most recent call last):
  File "/usr/local/bin/bimmerconnected", line 5, in <module>
    from bimmer_connected.cli import main
  File "/usr/local/lib/python3.11/site-packages/bimmer_connected/cli.py", line 16, in <module>
    from bimmer_connected.account import MyBMWAccount
  File "/usr/local/lib/python3.11/site-packages/bimmer_connected/account.py", line 17, in <module>
    from bimmer_connected.vehicle import MyBMWVehicle
  File "/usr/local/lib/python3.11/site-packages/bimmer_connected/vehicle/__init__.py", line 4, in <module>
    from .vehicle import ConnectedDriveVehicle, MyBMWVehicle, VehicleViewDirection  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/bimmer_connected/vehicle/vehicle.py", line 14, in <module>
    from bimmer_connected.vehicle.location import VehicleLocation
  File "/usr/local/lib/python3.11/site-packages/bimmer_connected/vehicle/location.py", line 16, in <module>
    @dataclass
     ^^^^^^^^^
  File "/usr/local/lib/python3.11/dataclasses.py", line 1221, in dataclass
    return wrap(cls)
           ^^^^^^^^^
  File "/usr/local/lib/python3.11/dataclasses.py", line 1211, in wrap
    return _process_class(cls, init, repr, eq, order, unsafe_hash,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dataclasses.py", line 959, in _process_class
    cls_fields.append(_get_field(cls, name, type, kw_only))
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dataclasses.py", line 816, in _get_field
    raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'bimmer_connected.models.GPSPosition'> for field location is not allowed: use default_factory

Anything in the logs that might be useful for us?
No response
Additional information
No response

You're too up to date ;) The error message is caused by some changes with Python 3.11 (we currently only test agains 3.6-3.10).
I checked for a quick fix, but that breaks the tests in many other ways so I'll have to dive much deeper there.
For now the workaround would be using Python 3.10.

Thanks for your quick response! I can confirm, that it works as expected with python 3.10.

@rikroe: It's still the same error message. I cannot confirm, that the current version works with python 3.11.
Tested versions today: bimmer_connected-0.10.4-py3-none-any.whl and python 3.11.0

Tested versions today: bimmer_connected-0.10.4-py3-none-any.whl and python 3.11.0

You need bimmer_connected>=0.11.0 for Python 3.11 (see https://github.com/bimmerconnected/bimmer_connected/releases/tag/0.11.0).


Add the ability for a scrolling content

I suggest to add the option to scroll the pop up content if its text is larger than the view's height instead of truncating the text, as appears in the following screenshot:

Hey @murad1981, the contents of your popup is entirely up to you, you can add a ScrollView if you'd like


Automatic error report

No idea what happened internally or what caused it.
The only thing that I found was that the "Help" window did not respond.
Traceback
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 264, in <lambda>
    self.finished(ec, es))
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 335, in finished
    self.show_data(justanalyzed=True)
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 362, in show_data
    self.datatree.show_tree()
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 526, in show_tree
    rootkey = self.find_root()  # This root contains profiler overhead
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 507, in find_root
    self.profdata.sort_stats("cumulative")
AttributeError: 'NoneType' object has no attribute 'sort_stats'

Package Versions

Spyder version: 3.2.8
Python version: 3.6.5
Qt version: 5.6.2
PyQt5 version: 5.6
Operating system: Windows 10

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.4.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
numpy >=1.7      :  1.13.3 (OK)
sphinx >=0.6.6   :  1.7.4 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.12.0 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  None (NOK)
cython >=0.21    :  None (NOK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.3.1 (OK)
pylint >=0.25    :  1.8.4 (OK)

Thanks for reporting. It looks like its a problem with the Spyder profiler. Were you doing anything with that beforehand? Also, there are a number of known issues with the TensorFlow Anaconda environment you seem to be working under. Please describe in detail the circumstances in which the error occurred, and post the information listed in relevant subsection of the Spyder Troubleshooting Guide as a comment to this issue, and we'll try to help if we can. Otherwise, your issue will likely have to be closed after one week (7 days).
Also, if it occurs again, please reference Spyder Troubleshooting Guide, specifically the Basic First Aid section for some basic steps to try to fix it or at least narrow it down for us. Thanks, and best of luck!

I currently use 3 environments in anaconda. The base, the glueviz and the tensorflow environments.
The crash only happened once in the tensorflow environment as far as I know.
I just tested the above-mentioned error in connection with the help function and the ctrl-1 shortcut for all of the above when selecting a command in the editor.
No command in the editor that I tested was recognised by the helper. The ones in the command windows did work.
Ps:
When there is any further information I can provide I will do my best to deliver, but as I am relatively new to git I am not too experienced, so sorry about that

Also here is a gif of a reproduction of the error. Dropbox link

Thanks for the quick response.

The crash only happened once in the tensorflow environment as far as I know.

Okay, then this implies there's something going on with your install, likely outside of Spyder's control. Exactly what that might be, I'm not entirely sure, but most likely some form of dependency conflict. It does look we might be able to at least catch the error, but it won't be easy to confirm without a way to reproduce it.

I just tested the above-mentioned error

I'm still not clear—how did you reproduce the error? By what specific steps?

No command in the editor that I tested was recognised by the helper. The ones in the command windows did work.

If I understand you correctly, this part is a well known issue, likely install related in your case (enum34, maybe?) and is a duplicate or near duplicate of #2162 and #5393 .

Also here is a gif of a reproduction of the error. Dropbox link

All I could see was a brief shot you you clicking on the launch button for Spyder. Is there a part to it I'm missing? Also, you should be able to embed gifs directly in github by just copy and pasting here.

I have fixed the problem by using the steps described in the comments of #5393. Please feel free to close this error report and mark this problem as solved.
In case I can reproduce the crash I will try to write a more detailed description about it in another report.

Thanks for the update, and glad you got that one fixed. If you can reproduce the crash, since its already the subject of this issue there is no need to open another duplicate. Instead, just re-open this issue with a comment describing it in more detail. Best of luck!


[Figure 2] Illustrating lambda scheme figure [help]

As one of the figures I wanted a clear conceptual figure that explains how the lambda switching works, but using a concrete example to make it easier to understand. I also wanted to make a connection to thinking of it in terms of probability distributions to then make the concept of overlap easier to understand later on.
Below is my first pass at this figure. I would appreciate any comments, or suggestions for improvements.
Fig2.pdf

One issue is that too many colors are changing, indicating that more things are changing than should be.  The "solvent" is changing color (blue to orange), but also the chemical moiety.  It might be better if the part of the chemical that is present in A was the color of the distribution in B, with the solvent remaining the same.
I think there does need to be x and y labels on the distributions.  The question is what the x axis, which is not always easy to summarize for a complex transformation.    But collapsing all the configurations down to a single coordinate is as always challenging (unless one is dealing with harmonic oscillators or something).  So maybe it's just P(\xi), where \xi is defined in the caption as a generalized coordinate capturing the overall configuration space change.  But it is NOT P(\lambda) . . .
One other thing that could be useful for visualizing changing lambda is a graph of U(r,lambda) for, say, the softcore Lennard-Jones transformation, something like this:

Though that particular graph isn't as good, since the energy scale is too large and doesn't make it clear that it's a Lennard-Jones function at lambda=1.

I agree with the colour changes! I think a soft-core plot of some sort would be a good idea, but unsure how to visualise it. I find it difficult to understand what I am looking at in the attached plot. I'll have a think about softcore, or how to visualise this. We would have to point out that this is just one example though rather than all alchemical schemes use soft core.

Sorry if the graph is not clear.  It's a curve where U(r,lam=0) = 0, and where U(r,lam=1) = Lennard-Jones potential.  It smoothly interpolates between the two potentials.

I can work on a new version later today. . .

Thanks. I am likely to work on the draft on Sunday again and happy to coordinate.

See PR #40 for additional graphics.

Fig2.pdf
New attempt incorporating softcore potential and colour updates.

Overall this is looking great. I'm wondering if the bottom two panels should have inlaid cartoons showing what the energy represented is for (but maybe that's too hard). Otherwise I'm enthusiastic about this one.

Yeah that would be a nice idea, but lack the skills to do this in a timely fashion.


Accept next Fractal tokens until they are received

This lets the user:

"Connect to Fractal" while not logged in
Log in
Extension is connected when loading the Fractal page

Let me submit this. I need to think through implications.

Let me submit this

I'm not sure what you mean with this. Happy to talk through whenever!

I'm used to the pattern of the author submitting PRs. Some people have recently submitted my PRs for me, without me explicitly telling them to. That's just me saying "Don't do that", as I'm not sure if I'm good to submit it.

🤔 submit as in merge?


teams create conversation

extension methods on TurnContext to create and follow threads

more unit tests tbd

Pull Request Test Coverage Report for Build 81870

0 of 0   changed or added relevant lines in 0 files are covered.
22 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.9%) to 78.416%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder/Teams/TeamsActivityExtensions.cs
2
76.92%

/libraries/Microsoft.Bot.Builder/Teams/TeamsTurnContextExtensions.cs
20
31.03%

Totals

Change from base Build 81740:
0.9%

Covered Lines:
4207

Relevant Lines:
5365

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.3.1

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.3.1


update logrotate module to support Ubuntu Xenial

Ubuntu Xenial also needs syslog as the su_group
Change case statement to if so that su_group will be applied to Trusty and later

The changes I made to this from the upstream repo (yo61/puppet-logrotate) did not quite work out like I had hoped so this branch/repo may not be the best one to submit pull requests to.
Also, the changes you made seam to fail the tests.  Based on what I can tell, you may be better off leaving the case statement and adding in xenial.  That may be a better practice anyway to limit the cases to OS/versions that are in the supported OS list in the metadata.json file.
It may be best to fork and submit a pull request to the upstream, however right now the tests will fail in general on that repo.  I just submitted a pull request upstream to fix that.  There wasn't much to it, so hopefully it will be accepted soon.  I am also making some changes that will involve this file in particular while I try to fix what I had previously attempted to add in to this module.


Test compute restart with AND without safekeepers

So, are most of the tests currently run with or without safekeepers? Should we run all tests with safekeepers?

I think that we should run all tests with and without safekeepers as we support both operation modes. This may also provide a finer grained feedback on failure in some cases. I can change other tests to behave in the same way. I did it for a compute restart in the first place, as I trying to figure out what I do wrong in the #365

I think that we should run all tests with and without safekeepers as we support both operation modes

I propose to merge this as is, since it's a self-contained change for the better.


Removed a duplicate sentence

Removed a duplicate sentence :
Before :
"When script files are wrapped by an IIFE, you can safely concatenate. When script files are wrapped by an IIFE, you can safely concatenate or safely combine files without concern of scope collision."
After :
"When script files are wrapped by an IIFE, you can safely concatenate or safely combine files without concern of scope collision."

Thanks!


v0.17.0 breaks completion with typography plugin

v0.17.0 breaks completion completly for me.. i am trying to find out why this happens...
/cc @voorjaar

seems to just breaks on svelte projects

UPDATE: it breaks on all languages ( i've tested html & svelte) one big project and one just simple one.
It breaks if an windi.config file with the typography plugin exists.. if this plugin is removed from config everything works as expected.. v0.16.x of intellisense works too.
Not sure why it breaks.. no error thrown..

v0.17.1 should fix it. try it.

v0.17.1 fixes this. correct 👍


Get single product missing in ProductsService.

Hi,
Would you please add:
public async Task GetProductAsync(
ProductType productId)
{
return await SendServiceCall(HttpMethod.Get, $"/products/{productId.GetEnumMemberValue()}").ConfigureAwait(false);
}
to ProductsService. I wish I could do it myself, but you have too many weird things going on in ProductsServiceSpecs, that I'm not confident, I wont screw it up. I'm pretty new to C#.
Thank you very much.

hi @JensKDK. this is all set please update to the latest version on NuGet (https://github.com/dougdellolio/coinbasepro-csharp/releases/tag/v1.0.42)


FAB-00000 Enrich test net docs.

Add network diagram and Docker network container table.
This makes understanding the test network easier.

It has been awhile since I have updated this. I will add your suggestions and resubmit. Thank you.

@kentbull Are you still planning on updating this PR? The DCO check failed. It would be nice to get this in a state where we can merge it.
Thanks.

Thanks for the reminder. Yes. I’ll update this.
Sent from my iPhone

On Aug 26, 2022, at 1:44 AM, Arnaud J Le Hors @.***> wrote:

@kentbull Are you still planning on updating this PR? The DCO check failed. It would be nice to get this in a state where we can merge it.
Thanks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.


0.5.1: sphinx warnings reference target not found

First of all currently it is not possible to use straight cleanly sphinx-build command to build documentation out of source tree

+ /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v5.0.2
making output directory... done
WARNING: html_static_path entry '_static' does not exist
myst v0.17.2: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=[], linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', disable_syntax=[], all_links_external=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, highlight_code_blocks=True, number_code_blocks=[], title_to_header=False, heading_anchors=None, heading_slug_func=None, footnote_transition=True, sub_delimiters=('{', '}'), words_per_minute=200)
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 7 added, 0 changed, 0 removed
reading sources... [100%] requirements
WARNING: autodoc: failed to import module 'evaluator' from module 'unearth'; the following exception was raised:
No module named 'unearth'
WARNING: autodoc: failed to import class 'evaluator.Evaluator' from module 'unearth'; the following exception was raised:
No module named 'unearth'
WARNING: autodoc: failed to import class 'evaluator.Package' from module 'unearth'; the following exception was raised:
No module named 'unearth'
WARNING: autodoc: failed to import class 'evaluator.TargetPython' from module 'unearth'; the following exception was raised:
No module named 'unearth'
WARNING: autodoc: failed to import function 'evaluator.evaluate_package' from module 'unearth'; the following exception was raised:
No module named 'unearth'
WARNING: autodoc: failed to import module 'finder' from module 'unearth'; the following exception was raised:
No module named 'unearth'
WARNING: autodoc: failed to import class 'finder.PackageFinder' from module 'unearth'; the following exception was raised:
No module named 'unearth'
WARNING: autodoc: failed to import class 'finder.BestMatch' from module 'unearth'; the following exception was raised:
No module named 'unearth'
WARNING: autodoc: failed to import module 'link' from module 'unearth'; the following exception was raised:
No module named 'unearth'
WARNING: autodoc: failed to import class 'link.Link' from module 'unearth'; the following exception was raised:
No module named 'unearth'
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/docs/cli_reference.md:4: ERROR: Failed to import "cli_parser" from "unearth.__main__".
No module named 'unearth'
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-Unearth.3 { requirements api/evaluator api/finder api/link cli_reference contributing } done
build succeeded, 12 warnings.

This can be fixed by patch like below:
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -10,9 +10,9 @@
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #
-# import os
-# import sys
-# sys.path.insert(0, os.path.abspath('.'))
+import os
+import sys
+sys.path.insert(0, os.path.abspath("../src"))

 # -- Project information -----------------------------------------------------

This patch fixes what is in the comment and that can of fix is suggested in sphinx example copy.py https://www.sphinx-doc.org/en/master/usage/configuration.html#example-of-configuration-file
Than .. on building my packages I'm using sphinx-build command with -n switch which shows warmings about missing references. These are not critical issues.

+ /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v5.0.2
making output directory... done
WARNING: html_static_path entry '_static' does not exist
myst v0.17.2: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=[], linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', disable_syntax=[], all_links_external=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, highlight_code_blocks=True, number_code_blocks=[], title_to_header=False, heading_anchors=None, heading_slug_func=None, footnote_transition=True, sub_delimiters=('{', '}'), words_per_minute=200)
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 7 added, 0 changed, 0 removed
reading sources... [100%] requirements
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.BestMatch.applicable:1: WARNING: duplicate object description of unearth.finder.BestMatch.applicable, other instance in api/finder, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.BestMatch.best:1: WARNING: duplicate object description of unearth.finder.BestMatch.best, other instance in api/finder, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.BestMatch.candidates:1: WARNING: duplicate object description of unearth.finder.BestMatch.candidates, other instance in api/finder, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-Unearth.3 { requirements api/evaluator api/finder api/link cli_reference contributing } /home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/evaluator.py:docstring of unearth.evaluator.evaluate_package:: WARNING: py:class reference target not found: Requirement
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/evaluator.py:docstring of unearth.evaluator.evaluate_package:: WARNING: py:class reference target not found: Requirement
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder:: WARNING: py:class reference target not found: PyPISession
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder:: WARNING: py:class reference target not found: PyPISession
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder.download_and_unpack:: WARNING: py:class reference target not found: Path
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder.download_and_unpack:: WARNING: py:class reference target not found: Path
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder.download_and_unpack:: WARNING: py:class reference target not found: Path
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder.download_and_unpack:: WARNING: py:class reference target not found: Path
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder.download_and_unpack:: WARNING: py:class reference target not found: Path
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder.download_and_unpack:: WARNING: py:class reference target not found: Path
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder.find_best_match:: WARNING: py:class reference target not found: Requirement
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder.find_best_match:: WARNING: py:class reference target not found: Requirement
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder.find_matches:: WARNING: py:class reference target not found: Requirement
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/finder.py:docstring of unearth.finder.PackageFinder.find_matches:: WARNING: py:class reference target not found: Requirement
/home/tkloczko/rpmbuild/BUILD/unearth-0.5.1/src/unearth/link.py:docstring of unearth.link.Link.from_path:: WARNING: py:class reference target not found: Path
done
build succeeded, 19 warnings.

You can peak on fixes that kind of issues in other projects
https://github.com/latchset/jwcrypto/pull/289
https://github.com/click-contrib/sphinx-click/commit/abc31069
https://github.com/latchset/jwcrypto/pull/289
https://github.com/RDFLib/rdflib-sqlalchemy/issues/95
https://github.com/sissaschool/elementpath/commit/bf869d9e
https://github.com/jaraco/cssutils/issues/21
https://github.com/pywbem/pywbem/pull/2895

Did you install docs/requirements.txt before running sphinx command?

I have installed in build all requirements and those warnings have nothing to do with requirements.
On log there is nothing about missing modules.
Please try what I've described.

For example. sys.path.insert('../src') doesn't make sense to me because I always build docs from the project root, that path should be ./src.

Of course it make sense.
sphinx-buid command on its start changes current directory to the directory where is conf.py file.
Did you had a look on https://www.sphinx-doc.org/en/master/usage/configuration.html#example-of-configuration-file?
Without fixed refferences for example any API names mentioned in html or qch documentation format will be only hinglighted. When those warnings will be fixed you will have liks to exact symbols descriptions.
I'm interested only roff output (man page) and in this case thiose refferences are not used.
If you don't care about presence of those links that is perfectly fine.

Do you know how can I configure sphinx to make -n happy? I already tried intersphinx but it still complains target not found :Requirement

There is no such thing in this case like "sphinx configutation".
Look on links to the tickets/PRs/commitch which I've dropped.

Yeah I have looked at them, they are similar and all leave some reference not found warning unresolved in the end.
What do you want from my side to fix it? Ignore the warnings? The sys.path.insert doesn't do the trick

My advice is "do what you want".
I'm only a messanger ..
Altering sys.path is to allow AT ALL sphinx-build command process files when it is used directly to generate documentation out of source tree without have unearth module installed.
This patch has nothing to do with those warnings.

Fixed in the main branch

Testeda and now it looks clean 👍 😄
+ /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v5.0.2
making output directory... done
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
loading intersphinx inventory from https://packaging.pypa.io/en/latest/objects.inv...
loading intersphinx inventory from https://requests.readthedocs.io/en/latest/objects.inv...
myst v0.17.2: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=[], linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', disable_syntax=[], all_links_external=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, highlight_code_blocks=True, number_code_blocks=[], title_to_header=False, heading_anchors=None, heading_slug_func=None, footnote_transition=True, sub_delimiters=('{', '}'), words_per_minute=200)
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 8 added, 0 changed, 0 removed
reading sources... [100%] requirements
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-Unearth.3 { requirements api/evaluator api/finder api/link api/session cli_reference contributing } done
build succeeded.

Thank you 😃


Holybro S500 Airframe

Describe problem solved by the proposed pull request
Thanks to feedback from Holybro we realized that on their S500 Kit the default parameters don't result in a user-friendly tuning and we created a profile for users using that exact kit. Furthermore we'll check the default gains on 450-500 size quadcopters to see if they need to be adjusted for best first flight experience.
Additionally the default rate constrol integral gain for roll and pitch was increased because @bkueang and me realized that on every frame we tune it's much too low. Usually it needs to be increased to 0.3 or even 0.4 to have better "locked in" flight performance and 0.2 seems like a good compromise for a safe default.
Test data / coverage
The tuning of the Holybro S500 airframe was tested on site on a brand new assembled kit (with calibrated ESCs). The team from Holybro that was present at the PX4 Dev Summit was able to test it.

👏


certs: typo in is_crl_internal

Hi!
ref. https://forum.opnsense.org/index.php?topic=31109.0
(external (imported) CRLs cannot be viewed\edited)
since comparision have highest precedence then coalescing, is_crl_internal returns string if array member exists.
so all CRLs starts treated as internal
Thanks!

Thanks!!)


[fix] Fix generation of remote backends

Summary
We should only configure remote_states for sibling components of type terraform.
Furthermore, remote some dead JSON code
Test Plan
unittests

Codecov Report

Merging #447 into master will increase coverage by 0.10%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #447      +/-   ##
==========================================
+ Coverage   61.33%   61.43%   +0.10%
==========================================
  Files          19       19
  Lines        1906     1893      -13
==========================================
- Hits         1169     1163       -6
+ Misses        586      579       -7
  Partials      151      151

Impacted Files
Coverage Δ

config/v2/config.go
7.46% <ø> (+0.05%)
:arrow_up:

util/testing.go
0.00% <0.00%> (ø)

plan/plan.go
84.24% <100.00%> (+0.24%)
:arrow_up:

Continue to review full report at Codecov.

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


fix: relocate CodeAlly banner to fit layout

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #50526

Ok I've just added it.


[BUG] Properties (non-writeable) doesn't display a false value for boolean type

Describe the bug
For boolean properties, the value is blank when it should be false.
To Reproduce

Set a read-only property
Set the value to false
Observe a blank in the value field for the property.

Expected behavior
"false" instead of a blank field.
Screenshots

Desktop (please complete the following information):

Windows
10
0.11.1

Please check out our latest release 0.11.3 which has the fix included. Thank you again for reporting the issue.


repokitteh: add support for randomized auto-assign.

This will allow us to pick dedicated API shepherds for each PR, ensuring
we have clear review ownership.
Fixes #13350
Signed-off-by: Harvey Tuch<EMAIL_ADDRESS>

/rk-bless

@itayd The URL generated by team_get_by_name 404s, see https://prod.repokitteh.app/traces/ui/envoyproxy/envoy/da2e6780-2def-11eb-93cf-0ed3d0042198. This is despite it being a legit team name (see https://github.com/orgs/envoyproxy/teams/api-shepherds).
I think the v3 API is a bit different, see https://developer.github.com/v3/teams/members/#list-team-members. Do RepoKitteh base modules need updating?

weird, i think this worked before. i'm going to update it.

this is odd - this version of the docs shows the current path: https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#get-a-team-by-name

this fails specifically for api-shepherds. all other teams called on in the trace succeed. are there any permissions issues maybe?

from traces, checking the calls:
/orgs/envoyproxy/teams/api-shepherds succeeds
/orgs/envoyproxy/teams/envoyproxy/api-shepherds fails
you got a bug there somewhere


ARMv7 (32-bit) build of SDK fails after zlib roll

The -mrelease -aarm build of create_sdk is failing, probably since the land of
https://dart-review.googlesource.com/c/sdk/+/81007
which introduced a new zlib version in third_party/zlib.
The arm v7 toolchain does not seem to provide a header file required by the new zlib code:
I think this is happening on both versions 2.1.0-dev.9.0 and bleeding edge. We don't seem to have an arm cross-build happening on the buildbot for 32-bit, only for 64-bit armV8.
Could this be happening because I have a newly installed Linux desktop, and there are requirements for building Dart that haven't been installed?  I thought the downloaded toolchains included everything they needed.
@zanderso @mraleph @mkustermann
[9/1693] CC obj/third_party/zlib/zlib_arm_crc32.arm_features.o
FAILED: obj/third_party/zlib/zlib_arm_crc32.arm_features.o
../../buildtools/linux-x64/clang/bin/clang -MMD -MF obj/third_party/zlib/zlib_arm_crc32.arm_features.o.d -DTOOLCHAIN_VERSION=fe9a2eb683127f4874267e0349933ccc2ff46bd5 -DNDEBUG -DCRC32_ARMV8_CRC32 -DARMV8_OS_LINUX -I../../third_party/zlib -I../.. -Igen -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -fno-exceptions -fPIC -pthread --target=arm-linux-gnueabihf -fcolor-diagnostics -mfpu=neon -mthumb -Wall -Wextra -Werror -Wendif-labels -Wno-missing-field-initializers -Wno-unused-parameter -Wno-tautological-constant-compare -fdebug-prefix-map=/src/dart/sdk=../.. -no-canonical-prefixes --sysroot=../../build/linux/debian_wheezy_arm-sysroot -Wheader-hygiene -Wstring-conversion -O3 -fno-ident -fdata-sections -ffunction-sections -g3 -ggdb3  -c ../../third_party/zlib/arm_features.c -o obj/third_party/zlib/zlib_arm_crc32.arm_features.o
../../third_party/zlib/arm_features.c:17:10: fatal error: 'sys/auxv.h' file not found
#include <sys/auxv.h>
^~~~~~~~~~~~
1 error generated.

The compilation is trying to use the debian_wheezy_arm-sysroot, which is actually missing this file.
Jessie is later, we have a jessie sysroot downloaded, and the file is there at sdk/build/linux/debian_jessie_arm-sysroot/usr/include/arm-linux-gnueabihf/sys/auxv.h
Also, we only have jessie for arm64.  So why are we building with wheezy for arm?

I see there is a commit that switches from wheezy to jessie, which just missed being caught in the full push to dev.  I'll file a cherry-pick to dev request for it.  That should solve this issue.  Closing.


Add generic annotation for pass method

It looks like the tests failed due to an internal error, so rerunning should fix the issue.


fixed write locking between procesess

# 🤖 AutoRest automatic publish job 🤖
> will publish once PR gets merged


check-dnsseeds hangs on MacOS

See https://github.com/bitcoin-core/bitcoin-maintainer-tools/pull/116#issuecomment-926567308

$ ./check-dnsseeds.py
* Mainnet
OK   seed.bitcoin.sipa.be (39 results)
OK   dnsseed.bluematt.me (31 results)
OK   dnsseed.bitcoin.dashjr.org (36 results)
OK   seed.bitcoinstats.com (37 results)
OK   seed.bitcoin.jonasschnelli.ch (37 results)
OK   seed.btc.petertodd.org (37 results)
OK   seed.bitcoin.sprovoost.nl (36 results)
OK   dnsseed.emzy.de (29 results)
OK   seed.bitcoin.wiz.biz (31 results)

* Testnet
OK   testnet-seed.bitcoin.jonasschnelli.ch (23 results)
OK   seed.tbtc.petertodd.org (38 results)
OK   testnet-seed.bluematt.me (6 results)
OK   seed.testnet.bitcoin.sprovoost.nl (34 results)
$ vim check-dnsseeds.py
$ git diff
diff --git a/check-dnsseeds.py b/check-dnsseeds.py
index 32b6ef1..700dd19 100755
--- a/check-dnsseeds.py
+++ b/check-dnsseeds.py
@@ -7,7 +7,7 @@ import subprocess

 SEEDS_MAINNET=["seed.bitcoin.sipa.be","dnsseed.bluematt.me","dnsseed.bitcoin.dashjr.org",
         "seed.bitcoinstats.com","seed.bitcoin.jonasschnelli.ch","seed.btc.petertodd.org",
-        "seed.bitcoin.sprovoost.nl", "dnsseed.emzy.de","seed.bitcoin.wiz.biz"]
+        "seed.bitcoin.sprovoost.ne", "dnsseed.emzy.de","seed.bitcoin.wiz.biz"]
 SEEDS_TESTNET=["testnet-seed.bitcoin.jonasschnelli.ch","seed.tbtc.petertodd.org",
         "testnet-seed.bluematt.me","seed.testnet.bitcoin.sprovoost.nl"]

$ ./check-dnsseeds.py
* Mainnet
OK   seed.bitcoin.sipa.be (39 results)
OK   dnsseed.bluematt.me (31 results)
OK   dnsseed.bitcoin.dashjr.org (36 results)
OK   seed.bitcoinstats.com (37 results)
OK   seed.bitcoin.jonasschnelli.ch (37 results)
OK   seed.btc.petertodd.org (37 results)
FAIL seed.bitcoin.sprovoost.ne
OK   dnsseed.emzy.de (29 results)
OK   seed.bitcoin.wiz.biz (31 results)

* Testnet
OK   testnet-seed.bitcoin.jonasschnelli.ch (23 results)
OK   seed.tbtc.petertodd.org (38 results)
OK   testnet-seed.bluematt.me (6 results)
OK   seed.testnet.bitcoin.sprovoost.nl (34 results)
$ echo $?
0
$ uname -a
Darwin llc.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64 x86_64
$ sw_vers
ProductName:    macOS
ProductVersion: 12.1
BuildVersion:   21C52
$

check-dnsseeds questionably exits 0 even if no seed is reachable

check-dnsseeds questionably exits 0 even if no seed is reachable

Yes, i've never really used its exit status. There's no standard way to report "it's mostly OK" exit status. Could define a convention and document it, but I'm not sure anyone is using this script in any kind of programmatic monitoring way.

As for on topic, we might want to use Python module dns.resolver (as also used by makeseeds.py) instead of calling out to host at some point. This introduces a dependency, but removes the impact of platform specific tool difference.

How about this as an initial spec?

no seed failed: return 0
any seed failed: return a random number, but do not return 0

On Tue, Mar 1, 2022 at 6:19 PM laanwj @.***> wrote:

check-dnsseeds questionably exits 0 even if no seed is reachable
Yes, i've never really used its exit status. There's no standard way to
report "it's mostly OK" exit status. Could define a convention and document
it, but I'm not sure anyone is using this script in any kind of
programmatic monitoring way.
—
Reply to this email directly, view it on GitHub
https://github.com/bitcoin-core/bitcoin-maintainer-tools/issues/117#issuecomment-1055673382,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMRS4WY4S6ZCK2ZHZ2T4OWLU5ZGQLANCNFSM5EWEQOYA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

no, better have them parsing the output
sorry for the noise

no, better have them parsing the output
sorry for the noise

$ ./check-dnsseeds.py | \
            sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g' | \
            awk 'BEGIN {sum_ok=0; sum_fail=0} {if ($1 == "OK") sum_ok += 1; if ($1 == "FAIL") sum_fail += 1} END {print "OK: ", sum_ok, "\nFAIL: ", sum_fail}'
OK:  14
FAIL:  0
$

back on topic: this does not really hang, does it?
can close...

if @Sjors can verify it's no longer hanging we can close this.

Took only a few seconds on macOS 12.3.1 with using the latest main branch, on two different machines (Python 3.9.10 and 3.10.0).
% ./check-dnsseeds.py
* mainnet
OK   seed.bitcoin.sipa.be (39 results)
OK   dnsseed.bluematt.me (31 results)
OK   dnsseed.bitcoin.dashjr.org (36 results)
OK   seed.bitcoinstats.com (37 results)
OK   seed.bitcoin.jonasschnelli.ch (37 results)
OK   seed.btc.petertodd.org (37 results)
OK   seed.bitcoin.sprovoost.nl (36 results)
OK   dnsseed.emzy.de (31 results)
OK   seed.bitcoin.wiz.biz (31 results)

* testnet
OK   testnet-seed.bitcoin.jonasschnelli.ch (23 results)
OK   seed.tbtc.petertodd.org (38 results)
OK   testnet-seed.bluematt.me (6 results)
OK   seed.testnet.bitcoin.sprovoost.nl (34 results)

* signet
OK   seed.signet.bitcoin.sprovoost.nl (15 results)

P.S. it should probably explicitly check reachability via IPv4 and IPv6 as well whether it returns both IPv4 and IPv6 entries. But don't fail if one is missing, as I'm not sure all seeds support IPv6 reachability, and not everyone running this script will have IPv6 access.

Thanks for testing. Closing.
Sounds like a good feature to have when using a more fully-featured DNS lookup library. Might want to open a new issue for that :smile:


docs: Add support for Hologres

SUMMARY

[db engine] Add support for Hologres
Hologres is a cloud-native Hybrid Serving & Analytical Processing (HSAP) system that is seamlessly integrated with the big data ecosystem. You can use Hologres to analyze and process PB-scale data with high concurrency and low latency. With Hologres, you can use your business intelligence (BI) tools to analyze data in multiple dimensions and explore your business in real-time.
It is fully compatible with PostgreSQL 11 and integrates seamlessly with the big data ecosystem.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #12710 (0c5920f) into master (0143a98) will decrease coverage by 3.60%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #12710      +/-   ##
==========================================
- Coverage   66.89%   63.28%   -3.61%
==========================================
  Files        1020      487     -533
  Lines       49905    30029   -19876
  Branches     4888        0    -4888
==========================================
- Hits        33384    19005   -14379
+ Misses      16396    11024    -5372
+ Partials      125        0     -125

Flag
Coverage Δ

cypress
?

javascript
?

python
63.28% <ø> (-0.82%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/databases/commands/create.py
32.65% <0.00%> (-59.19%)
:arrow_down:

superset/sql_validators/postgres.py
50.00% <0.00%> (-50.00%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.24%)
:arrow_down:

superset/views/database/mixins.py
59.64% <0.00%> (-22.81%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/db_engine_specs/presto.py
81.38% <0.00%> (-7.15%)
:arrow_down:

superset/databases/schemas.py
93.40% <0.00%> (-6.05%)
:arrow_down:

superset/databases/dao.py
94.11% <0.00%> (-5.89%)
:arrow_down:

superset/databases/api.py
86.55% <0.00%> (-5.47%)
:arrow_down:

... and 553 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #12710 (0c5920f) into master (0143a98) will decrease coverage by 3.60%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #12710      +/-   ##
==========================================
- Coverage   66.89%   63.28%   -3.61%
==========================================
  Files        1020      487     -533
  Lines       49905    30029   -19876
  Branches     4888        0    -4888
==========================================
- Hits        33384    19005   -14379
+ Misses      16396    11024    -5372
+ Partials      125        0     -125

Flag
Coverage Δ

cypress
?

javascript
?

python
63.28% <ø> (-0.82%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/databases/commands/create.py
32.65% <0.00%> (-59.19%)
:arrow_down:

superset/sql_validators/postgres.py
50.00% <0.00%> (-50.00%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.24%)
:arrow_down:

superset/views/database/mixins.py
59.64% <0.00%> (-22.81%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/db_engine_specs/presto.py
81.38% <0.00%> (-7.15%)
:arrow_down:

superset/databases/schemas.py
93.40% <0.00%> (-6.05%)
:arrow_down:

superset/databases/dao.py
94.11% <0.00%> (-5.89%)
:arrow_down:

superset/databases/api.py
86.55% <0.00%> (-5.47%)
:arrow_down:

... and 553 more

Continue to review full report at Codecov.

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

@TimothyDing Hi Timothy, thanks for the contribution.
@ktmud Jesse, Timothy is also an alumni from ali. please meet 😄
cc @zhaoyongjie

@TimothyDing Hi Timothy, thanks for the contribution.
@ktmud Jesse, Timothy is also an alumni from ali. please meet 😄
cc @zhaoyongjie

@TimothyDing Hi Timothy, thanks for the contribution.
@ktmud Jesse, Timothy is also an alumni from alibaba. please meet 😄
cc @zhaoyongjie

@ktmud Jesse,@junlincc
Nice to meet you!

@TimothyDing Hi Timothy, thanks for the contribution.
@ktmud Jesse, Timothy is also an alumni from alibaba. please meet 😄
cc @zhaoyongjie

@ktmud Jesse,@junlincc
Nice to meet you!

Good to see you on GitHub, Timothy.
On Mon, Jan 25, 2021 at 10:09 AM Ye Ding<EMAIL_ADDRESS>wrote:

@TimothyDing https://github.com/TimothyDing Hi Timothy, thanks for the
contribution.
@ktmud https://github.com/ktmud Jesse, Timothy is also an alumni from
alibaba. please meet 😄
cc @zhaoyongjie https://github.com/zhaoyongjie
@ktmud https://github.com/ktmud Jesse,@junlincc
https://github.com/junlincc
Nice to meet you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/superset/pull/12710#issuecomment-766494067,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPMKUTKLKJJQ7GTO7WU7KLS3THFXANCNFSM4WPVOJEQ
.

Good to see you on GitHub, Timothy.
On Mon, Jan 25, 2021 at 10:09 AM Ye Ding<EMAIL_ADDRESS>wrote:

@TimothyDing https://github.com/TimothyDing Hi Timothy, thanks for the
contribution.
@ktmud https://github.com/ktmud Jesse, Timothy is also an alumni from
alibaba. please meet 😄
cc @zhaoyongjie https://github.com/zhaoyongjie
@ktmud https://github.com/ktmud Jesse,@junlincc
https://github.com/junlincc
Nice to meet you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/superset/pull/12710#issuecomment-766494067,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPMKUTKLKJJQ7GTO7WU7KLS3THFXANCNFSM4WPVOJEQ
.

Good to see you on GitHub, Timothy.
…
On Mon, Jan 25, 2021 at 10:09 AM Ye Ding @.> wrote: @TimothyDing https://github.com/TimothyDing Hi Timothy, thanks for the contribution. @ktmud https://github.com/ktmud Jesse, Timothy is also an alumni from alibaba. please meet 😄 cc @zhaoyongjie https://github.com/zhaoyongjie @ktmud https://github.com/ktmud @. https://github.com/junlincc Nice to meet you! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#12710 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPMKUTKLKJJQ7GTO7WU7KLS3THFXANCNFSM4WPVOJEQ .

@zhaoyongjie
I hope I can be more active on github in the future

Good to see you on GitHub, Timothy.
…
On Mon, Jan 25, 2021 at 10:09 AM Ye Ding @.> wrote: @TimothyDing https://github.com/TimothyDing Hi Timothy, thanks for the contribution. @ktmud https://github.com/ktmud Jesse, Timothy is also an alumni from alibaba. please meet 😄 cc @zhaoyongjie https://github.com/zhaoyongjie @ktmud https://github.com/ktmud @. https://github.com/junlincc Nice to meet you! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#12710 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPMKUTKLKJJQ7GTO7WU7KLS3THFXANCNFSM4WPVOJEQ .

@zhaoyongjie
I hope I can be more active on github in the future

Thanks for the contribution @TimothyDing ! Given that Hologres is Postgres 11 compatible, I assume all time grains and other properties defined in the Postgres db engine spec are valid?

@villebro Nice to meet you!
Do you mean whether hologres supports PostgreSQL window functions? Could you please give me some details

Thanks for the contribution @TimothyDing ! Given that Hologres is Postgres 11 compatible, I assume all time grains and other properties defined in the Postgres db engine spec are valid?

@villebro Nice to meet you!
Do you mean whether hologres supports PostgreSQL window functions? Could you please give me some details

Thanks for the contribution @TimothyDing ! Given that Hologres is Postgres 11 compatible, I assume all time grains and other properties defined in the Postgres db engine spec are valid?

To be fully supported, the time grains, epoch conversion function and datetime conversion functions should preferably be identical to the base Postgres dialect, otherwise Superset might not function properly.

Thanks for the contribution @TimothyDing ! Given that Hologres is Postgres 11 compatible, I assume all time grains and other properties defined in the Postgres db engine spec are valid?

To be fully supported, the time grains, epoch conversion function and datetime conversion functions should preferably be identical to the base Postgres dialect, otherwise Superset might not function properly.

Thanks for the contribution @TimothyDing ! Given that Hologres is Postgres 11 compatible, I assume all time grains and other properties defined in the Postgres db engine spec are valid?

To be fully supported, the time grains, epoch conversion function and datetime conversion functions should preferably be identical to the base Postgres dialect, otherwise Superset might not function properly.

Thanks for the contribution @TimothyDing ! Given that Hologres is Postgres 11 compatible, I assume all time grains and other properties defined in the Postgres db engine spec are valid?

To be fully supported, the time grains, epoch conversion function and datetime conversion functions should preferably be identical to the base Postgres dialect, otherwise Superset might not function properly.

Yes, we support it.
For example

Thanks for the contribution @TimothyDing ! Given that Hologres is Postgres 11 compatible, I assume all time grains and other properties defined in the Postgres db engine spec are valid?

To be fully supported, the time grains, epoch conversion function and datetime conversion functions should preferably be identical to the base Postgres dialect, otherwise Superset might not function properly.

Thanks for the contribution @TimothyDing ! Given that Hologres is Postgres 11 compatible, I assume all time grains and other properties defined in the Postgres db engine spec are valid?

To be fully supported, the time grains, epoch conversion function and datetime conversion functions should preferably be identical to the base Postgres dialect, otherwise Superset might not function properly.

Yes, we support it.
For example

@TimothyDing perfect, then Hologres seems to be fully supported 👍

@TimothyDing perfect, then Hologres seems to be fully supported 👍

@TimothyDing perfect, then Hologres seems to be fully supported 👍

@villebro
I hope we could merge this pr as soon as possible.
And Hologres is a very amazing DataWarehouse.

@TimothyDing perfect, then Hologres seems to be fully supported 👍

@villebro
I hope we could merge this pr as soon as possible.
And Hologres is a very amazing DataWarehouse.

@TimothyDing can you rebase? I think this is ready to to, so I'll be happy to merge once the conflict is resolved.

@TimothyDing can you rebase? I think this is ready to to, so I'll be happy to merge once the conflict is resolved.

@TimothyDing thank you for contributing this and welcome to the community!
I tested documentation locally and the logo rendered just fine. This is optional, but can you remove the trailing , in the last element of docs/src/resources/data.js. This still seems to work, but it's technically not valid JavaScript! (Only the first to n-1 elements in a list object in Javascript should have a trailing comma ,, but not the n element!)

@TimothyDing thank you for contributing this and welcome to the community!
I tested documentation locally and the logo rendered just fine. This is optional, but can you remove the trailing , in the last element of docs/src/resources/data.js. This still seems to work, but it's technically not valid JavaScript! (Only the first to n-1 elements in a list object in Javascript should have a trailing comma ,, but not the n element!)

@TimothyDing thank you for contributing this and welcome to the community!
I tested documentation locally and the logo rendered just fine. This is optional, but can you remove the trailing , in the last element of docs/src/resources/data.js. This still seems to work, but it's technically not valid JavaScript! (Only the first to n-1 elements in a list object in Javascript should have a trailing comma ,, but not the n element!)

@srinify Nice to meet. Thank you for your message, I will fix it.

@TimothyDing thank you for contributing this and welcome to the community!
I tested documentation locally and the logo rendered just fine. This is optional, but can you remove the trailing , in the last element of docs/src/resources/data.js. This still seems to work, but it's technically not valid JavaScript! (Only the first to n-1 elements in a list object in Javascript should have a trailing comma ,, but not the n element!)

@srinify Nice to meet. Thank you for your message, I will fix it.

@TimothyDing thank you for contributing this and welcome to the community!
I tested documentation locally and the logo rendered just fine. This is optional, but can you remove the trailing , in the last element of docs/src/resources/data.js. This still seems to work, but it's technically not valid JavaScript! (Only the first to n-1 elements in a list object in Javascript should have a trailing comma ,, but not the n element!)

@srinify Nice to meet. Thank you for your message, I will fix it.

Excellent! Sorry for the confusion, I changed the screenshot I was referencing. Dang clipboard!
Also, just a reminder to rebase off of master to fix the merge conflict!

@TimothyDing thank you for contributing this and welcome to the community!
I tested documentation locally and the logo rendered just fine. This is optional, but can you remove the trailing , in the last element of docs/src/resources/data.js. This still seems to work, but it's technically not valid JavaScript! (Only the first to n-1 elements in a list object in Javascript should have a trailing comma ,, but not the n element!)

@srinify Nice to meet. Thank you for your message, I will fix it.

Excellent! Sorry for the confusion, I changed the screenshot I was referencing. Dang clipboard!
Also, just a reminder to rebase off of master to fix the merge conflict!

@TimothyDing thank you for contributing this and welcome to the community!
I tested documentation locally and the logo rendered just fine. This is optional, but can you remove the trailing , in the last element of docs/src/resources/data.js. This still seems to work, but it's technically not valid JavaScript! (Only the first to n-1 elements in a list object in Javascript should have a trailing comma ,, but not the n element!)

@srinify Nice to meet. Thank you for your message, I will fix it.

Excellent! Sorry for the confusion, I changed the screenshot I was referencing. Dang clipboard!
Also, just a reminder to rebase off of master to fix the merge conflict!

@TimothyDing thank you for contributing this and welcome to the community!
I tested documentation locally and the logo rendered just fine. This is optional, but can you remove the trailing , in the last element of docs/src/resources/data.js. This still seems to work, but it's technically not valid JavaScript! (Only the first to n-1 elements in a list object in Javascript should have a trailing comma ,, but not the n element!)

@srinify Nice to meet. Thank you for your message, I will fix it.

Excellent! Sorry for the confusion, I changed the screenshot I was referencing. Dang clipboard!
Also, just a reminder to rebase off of master to fix the merge conflict!

@srinify
I found that if I delete the comma in the last line, the manual will fail to build. So I added a comma again, and now all the checks have passed.
@villebro  Please help me merge, thank you.

@TimothyDing thank you for contributing this and welcome to the community!
I tested documentation locally and the logo rendered just fine. This is optional, but can you remove the trailing , in the last element of docs/src/resources/data.js. This still seems to work, but it's technically not valid JavaScript! (Only the first to n-1 elements in a list object in Javascript should have a trailing comma ,, but not the n element!)

@srinify Nice to meet. Thank you for your message, I will fix it.

Excellent! Sorry for the confusion, I changed the screenshot I was referencing. Dang clipboard!
Also, just a reminder to rebase off of master to fix the merge conflict!

@TimothyDing thank you for contributing this and welcome to the community!
I tested documentation locally and the logo rendered just fine. This is optional, but can you remove the trailing , in the last element of docs/src/resources/data.js. This still seems to work, but it's technically not valid JavaScript! (Only the first to n-1 elements in a list object in Javascript should have a trailing comma ,, but not the n element!)

@srinify Nice to meet. Thank you for your message, I will fix it.

Excellent! Sorry for the confusion, I changed the screenshot I was referencing. Dang clipboard!
Also, just a reminder to rebase off of master to fix the merge conflict!

@srinify
I found that if I delete the comma in the last line, the manual will fail to build. So I added a comma again, and now all the checks have passed.
@villebro  Please help me merge, thank you.

@srinify trailing comma is valid javascript and we have a lint setting to enforce it. It helps with git diffs/blame/merge conflicts, as developers don't need to alter the line (just to add a ,) when adding to the array.

@srinify trailing comma is valid javascript and we have a lint setting to enforce it. It helps with git diffs/blame/merge conflicts, as developers don't need to alter the line (just to add a ,) when adding to the array.


Added parameters to calls to super() in forms.py to be Python 2.7 compatible

In Python 2.7, super requires the name of the class and an instance of the class (self) as parameters.
This patch fixes the following error:
TypeError: Error when calling the metaclass bases

Thanks for the contribution :+1:


BLE services and characteristics fail to initialize

Hello all,
I have some problems with creating BLE services. I tried with the ESP32-WROOM and ESP32C3-MINI.
First I tried with the latest version. I compiled and flash the project successfully, but I couldn't get the BLE services to start.
AT+GMR
AT version:<IP_ADDRESS>-dev(s-bd890df - ESP32 - May 12 2023 08:47:33)
SDK version:v5.0-541-g885e501d99
compile time(c5af3bc):May 15 2023 12:00:57
Bin version:2.5.0(WROOM-32)

OK

When I try to set up the BLE I get the following:
AT+BLEINIT=2

busy p...

OK

AT+BLEGATTSSRVCRE

busy p...

OK

AT+BLEGATTSSRV?

busy p...
+BLEGATTSSRV:1,0,0x,1
+BLEGATTSSRV:2,0,0x,1

OK

I can connect to ESP with my phone, but there isn't any service or characteristics visible.
I think I get similar problem as described in issue #696
My solution was that I build the 2.4 release for ESP AT (5641e0aa2b3cbc36b2d843a72dd00d248daaef40), but I was unable to compile it with the ESP-IDF 5.0.
Probably because of the different versions?
branch:release/v4.3
commit:588436db47da792736dade1c21fcbf2c879456a4
repository:https://github.com/espressif/esp-idf.git

Diagnostic information:
    IDF_PYTHON_ENV_PATH: C:\Espressif\python_env\idf5.0_py3.11_env
    Python interpreter used: C:\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe

ESP-IDF v4.3.2-553-g588436db47
A fatal error occurred: idf.py build failed

I tried to compile it with ESP-IDF 4.3, without changing the branch I get similar error:
Diagnostic information:
    IDF_PYTHON_ENV_PATH: C:\Espressif\python_env\idf4.3_py3.11_env
    Python interpreter used: C:\Espressif\python_env\idf4.3_py3.11_env\Scripts\python.exe

ESP-IDF v4.3.2-553-g588436db47
A fatal error occurred: idf.py build failed

Later I changed the commit to (33b3db35d73d60d12dae52157b2f5c5dbe1a813c)
build and flash are successful.
serial monitor snippet:
AT+GMR
AT version:<IP_ADDRESS>(s-fb731d2 - ESP32 - Aug 25 2022 03:48:17)
SDK version:v4.3.5-83-g33b3db35d7
compile time(f64aa35):May 15 2023 13:19:23
Bin version:2.4.1(WROOM-32)

OK
AT+BLEGATTSSRVCRE

busy p...

OK
AT+BLEGATTSSRV?

busy p...
+BLEGATTSSRV:1,0,0xA002,1
+BLEGATTSSRV:2,0,0xA003,1

OK
AT+BLEGATTSSRVSTART=1

busy p...

OK
AT+BLESECPARAM=1,3,16,3,3,0

busy p...

OK
AT+DRVI2CINIT=0,19,18,100000

ERROR

Thank you for your help.

@xiewenxiang could you please help with this issue.

Is there any solution to this problem? Or there is something wrong with my approach?

@JakaKor  We will fix it as soon as possible.

+1
Any updates on that topic? I am facing the same issue.  See #728 (which I closed already). Please fix it.

@JakaKor @3s1d
This issue has been fixed and incorporated into the master. You can update your AT firmware to the latest. Test to see if the issue has been fixed. If it has been fixed, please close the issue. Thank you. (https://github.com/espressif/esp-at/actions/runs/8294336044)

Closing due to inactivity. Please feel free to re-open or file a new issue if you have any more questions.


Timeout for the finalizing stage

The OLM operators are installed in the Finalizing stage, which may
double the overall installation time. Adding a timeout for this stage.

/lgtm


Typo in Permission Service breaks removeUsersFromRole()

There is a typo on line 353 of api/services/PermissionService that breaks the removeUsersFromRole() function in the Permission Service. This bug essentially renders this function useless and doesn't allow for a convenient way to revoke roles from users.
Line 353 currently reads:
role.users.remove(user.id);
It should read:
role.users.remove(users.id);
Note the change from user.id to users.id in the argument passed to remove()
Tested locally and this seemed to fix the issue.

Sorry, just realized this appears to be fixed in 2.0.0-alpha.

Thanks for bringing this up.  This is fixed in master and in 2.0.


Make a debugger for Jecs

As discussed with @Ukendio:
Describe your Feature
Jecs is currently without a debugger, which means debugging in-game is not as effective as it should be. A debugger will provide the necessary tools for users to be able to properly inspect their system performance and the ECS world as a whole.
The proposed features for the debugger (version 1) include:

Viewing system performance in microseconds (μs)
Viewing query performance / resource usage (%)
Disabling systems during runtime
Hover over models in world to see information (component data, pairings etc.)
Despawn entities during runtime
Debug controls on systems (change values used by a system during debugging)

Implementation
We will be writing the debugger using ReactLua.
As this is a very large feature addition, and one that won't be directly added to Jecs' source. It will be worked on separately as an addon to Jecs. The debugger will be worked on by myself (@Nidoxs) and @SolarHorizon. Implementation details will be covered in more detail on the debugger's repository (in the form of issues).
Repository will be linked here once it is made.

Ideas for the debugger are welcome here from all observers of this repository! Let us know what you'd like to see and we will discuss it openly here.


Configurable maximum item size for memcache

Setting max_item_size to 5m fixes SERVER_ERROR object too large for cache  errors on large deployments

Not that I doubt you ran into this, but wow that is a large amount of metadata for an image repo!

@stefanprodan please let me know if you'd like to have more changes to the PR

@white-hat that image that has 1M of metadata is it on a public registry?


Container Creation Entrypoint is a single string instead of a list

/kind bug
Description
The parameters to create a container (the Create type in the varlink schema) takes a single string. However, the OCI image configuration and the config key out of InspectImage can be an array.
Steps to reproduce the issue:

Try to create a container with an array entrypoint (either from an image with one or via varlink API)

Describe the results you received:
{'error': 'org.varlink.service.InvalidParameter', 'parameters': {'parameter': 'client.call.create.entrypoint'}}

Describe the results you expected:
Successful creation of a container
Additional information you deem important (e.g. issue happens only occasionally):
Based on https://github.com/containers/libpod/blob/bd3d8f4e282dc7a552d955bf5958b53d23937604/cmd/podman/varlink/io.podman.varlink#L318 I'm sure this is still in master.
Output of podman version:
Version:            1.6.4
RemoteAPI Version:  1
Go Version:         go1.13.5
Git Commit:         5cc92849f7fc9dd734ca2fd8f3ae8830b9a7eb26
Built:              Sat Dec 21 13:13:24 2019
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: 5cc92849f7fc9dd734ca2fd8f3ae8830b9a7eb26
  go version: go1.13.5
  podman version: 1.6.4
host:
  BuildahVersion: 1.12.0-dev
  CgroupVersion: v1
  Conmon:
    package: 'conmon: /usr/libexec/podman/conmon'
    path: /usr/libexec/podman/conmon
    version: 'conmon version 2.0.2, commit: unknown'
  Distribution:
    distribution: debian
    version: unknown
  IDMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  MemFree: 188473344
  MemTotal:<PHONE_NUMBER>
  OCIRuntime:
    name: runc
    package: 'runc: /usr/sbin/runc'
    path: /usr/sbin/runc
    version: |-
      runc version 1.0.0~rc9+dfsg1
      commit: 1.0.0~rc9+dfsg1-1
      spec: 1.0.1-dev
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 4
  eventlogger: journald
  hostname: cayde7
  kernel: 5.3.0-3-amd64
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: 'slirp4netns: /usr/bin/slirp4netns'
    Version: |-
      slirp4netns version 0.4.1
      commit: 4d38845e2e311b684fc8d1c775c725bfcd5ddc27
  uptime: 79h 6m 34.73s (Approximately 3.29 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
store:
  ConfigFile: /home/astraluma/.config/containers/storage.conf
  ContainerStore:
    number: 79
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: 'fuse-overlayfs: /usr/bin/fuse-overlayfs'
      Version: |-
        fusermount3 version: 3.7.0
        fuse-overlayfs: version 0.7.2
        FUSE library version 3.7.0
        using FUSE kernel interface version 7.31
  GraphRoot: /home/astraluma/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 139
  RunRoot: /run/user/1000
  VolumePath: /home/astraluma/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
Complicated

I did check with https://github.com/opencontainers/image-spec/blob/master/config.md to see what the OCI had to say on the subject.

Given the deprecation of Varlink, I'm going to go ahead and close this as WONTFIX. The feedback has been addressed in the new HTTP API, though.


chore: Update requirements and fix small typos

I update simple UI for TrollRestore. It when run app, connected device, enter app and run

By removing the breaking hard link part, you cause a bootloop. Also the tool is pretty simple as is, you just double click it and enter the apps name lol

Oh, I think it's okay :v. I'll update it

if you want to use the version with gui you can use my fork, the app is tested and does not cause bootloop since breaking hard link part is present, you can also scroll through the system apps (and not) since I inserted a drop-down menu, the code is testable also on ios 18 but obviously trollhelper will not install. I leave you my repo here: https://github.com/seregonwar/TrollRestore-GuiVersion

Fghe

I'm a bit confused at the purpose of this PR; it seems to have some UI stuff but was that removed?

In any case I don't think shelling out to pip is the correct approach


Remove ethereumjs-util dependency

The dependency ethereumjs-util has been removed. It was listed as a devDependency despite being used in the actual KeyringController module, but only for a few trivial things that were easy to replace.

This depends upon #95


Typo "Teams Room Systems"→"Teams Rooms Systems"

https://learn.microsoft.com/en-us/microsoftteams/cloud-video-interop
https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/blob/public/Teams/cloud-video-interop.md
#PingMSFTDocs

@MikePlumleyMSFT PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


S4: As a logged in user, I want to be able to view my user profile

[ ] sopra-fs24-group-43/client#50
[x] sopra-fs24-group-43/client#65
[x] #118

Task List (front & back):

[ ] implement navigation (not when in-game) when clicking the profile icon to the profile page (front)
[ ] get user data from Data base using REST request (front)
[ ] display this data in a pleasing manner (front)
[ ] provide navigation back to other pages where user was previously (front)
[ ] implement REST method that provides the necessary data

improved in https://github.com/sopra-fs24-group-43/server/commit/03db24bf5a14cd225eb1cc33ef2007f0565ce5d3


Refactor file.writes

This is a refactoring, not a serious proposal to change your first project 😁

This will now be handled by https://github.com/darbiadev/shopworks-onsite-edp
Thanks for the idea to use kwargs, it was very helpful!


Firefox/userscript support?

implemented in #6

now pending review on the firefox addons portal

its there now https://addons.mozilla.org/en-US/firefox/addon/scam/


Documentation Inconsistency

What happened?
There are some inconsistencies in the projects documentation
Bug Report Template
In Section minecraft-exporter version, the output of minecraft-exporter version is requested, which results in
minecraft-exporter: error: unexpected version, try --help

while --version yields the desired information.
(sorry for nit-picking...)
Mod Server Stats Flag
Possible typo in https://github.com/dirien/minecraft-prometheus-exporter/blob/main/README.md?plain=1#L175 (Config Section)
Differs from https://github.com/dirien/minecraft-prometheus-exporter/blob/main/README.md?plain=1#L153 (Usage Section)
Using the flag --mod-server-stats results in failure to start the process.
Jul 18 15:43:14 machine systemd[1]: Started Minecraft Exporter.
Jul 18 15:43:14 machine minecraft-exporter[18469]: minecraft-exporter: error: unknown long flag '--mod-server-stats', try --help
Jul 18 15:43:14 machine systemd[1]: minecraft_exporter.service: Main process exited, code=exited, status=1/FAILURE
Jul 18 15:43:14 machine systemd[1]: minecraft_exporter.service: Failed with result 'exit-code'.

Works with --mc.mod-server-stats
How can we reproduce this?

Start minecraft-exporter with arg --mod-server-stats
See process status

[Unit]
Description=Minecraft Exporter
Wants=network-online.target
After=network-online.target
[Service]
User=prometheus
Group=prometheus
Type=simple
ExecStart=/usr/local/bin/minecraft-exporter \
  --mc.rcon-address="<host:port>" \
  --mc.rcon-password=<rcon password> \
  --mc.world=/path/to/world \
  --mod-server-stats=papermc
[Install]
WantedBy=multi-user.target

Works with --mc.mod-server-stats

minecraft-exporter version
minecraft_exporter, version 0.15.0 (branch: HEAD, revision: 39f5c9af230852b7de3ed8853af3ad2cb92b9e6b)
  build user:       goreleaser
  build date:       2022-07-18T09:46:44Z
  go version:       go1.18.3
  platform:         linux/amd64

Search

[X] I did search for other open and closed issues before opening this.

Code of Conduct

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

Additional context
Obviously this is not a bug report, but there is (as of yet) no template for editorial changes.

Ok, there is a spelling error :) It must be --mc.mod-server-stats
I will update the docs!

Thanks ^^, please also have a look at the issue with the bug report template (--version ouput)

Also (sorry for posting this here, as it might be an issue), using the --mc.mod-server-stast=papermc on a Purpur (fork of Paper) Server does not yield tps stats (not 0, they don't export)

Ah okay looks liek purpur renders the tps different then paper!
[17:02:56 INFO]: Unknown command. Type "/help" for help.
[17:02:56 INFO]: [⚡] TPS from last 5s, 10s, 1m, 5m, 15m:
[17:02:56 INFO]: [⚡]  20.0, 20.0, 20.0, 20.0, 20.0
[17:02:56 INFO]: [⚡]
[17:02:56 INFO]: [⚡] Tick durations (min/med/95%ile/max ms) from last 10s, 1m:
[17:02:56 INFO]: [⚡]  50.6/50.7/76.6/76.6;  50.6/50.7/76.6/76.6
[17:02:56 INFO]: [⚡]
[17:02:56 INFO]: [⚡] CPU usage from last 10s, 1m, 15m:
[17:02:56 INFO]: [⚡]  0%, 0%, 0%  (system)
[17:02:56 INFO]: [⚡]  0%, 0%, 0%  (process)

@TMUniversal, would you mind to create a new issue for this? along the line: Support for PurpurMC?

https://github.com/dirien/minecraft-prometheus-exporter/blob/main/charts/minecraft-exporter/README.md?plain=1#L44 says minecraft-exporte (missing r) in the namespace

Hi @TMUniversal,
fixed the points. Thanks for taking the time to find the inconsistency.


Flaky test in investment test_views?

test_document_delete_creates_user_event_log[permissions0-False-True] - datahub.investment.evidence.test.test_views.TestEvidenceDocumentViews
More info:
https://circleci.com/gh/uktrade/data-hub-leeloo/6182

This seems to be a duplicate of #1153 which was fixed by #1345.


Spec change 2015.03

$ prove -e perl6
t/basic.t .. 1/21
# Failed test 'empty read'
# at t/basic.t line 19
# expected: (Nil)
#      got: ''
# Looks like you failed 1 tests of 21
t/basic.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/21 subtests

Test Summary Report
-------------------
t/basic.t (Wstat: 256 Tests: 21 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=1, Tests=21,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.47 cusr  0.03 csys =  0.52 CPU)

16:14 jnthn: bbkr: I think "is" got stricter around type object-y things
16:14 jnthn: bbkr: It used to just stringify them to empty
16:14 jnthn: So an empty array would probably have matched any type object, not just Nil, before
16:15 timotimo: aye


Added access to attachment ID in Codeunit "EMail Message"

Summary
Access to the attachment ID has been added in the “Email message” codeunit. In addition to the name and other properties of the mail, the attachment ID is also available via the “EMail Message” codeunit
Work Item(s)
Fixes #2038

@microsoft-github-policy-service agree company="GOB Software & Systeme"


Update Marketplace search term for AKS

Searching for "Azure Kubernetes Service" gives incorrect result. AKS seem to have been renamed "Kubernetes Service" in Marketplace (at least when searching).

@jwalter : Thanks for your contribution! The author, @gabrtv, has been notified to review your proposed change.

Hi, @jwalter, sorry you ran into issues, and thanks for your contribution. When I search for "Kubernetes service" in the portal, I do still get the correct results:

It looks like this doc was largely re-written for the GA release last month, so this section is no longer actually included. Instead, it now links directly to the quickstarts to create an AKS cluster in the portal or with the CLI. Hopefully this reduces the confusion.
#please-close


Add integration webhook to add the custom logic during subscription activation

Is your feature request related to a problem? Please describe.
Add integration webhook to add the custom logic during subscription activation
Describe the solution you'd like
Add integration webhook to add the custom logic during subscription activation
Describe alternatives you've considered
Add integration webhook to add the custom logic during subscription activation
Additional context
Add any other context or screenshots about the feature request here.

As an ISV, I need the hooks to write to automatically provision users/subscription/quotas, etc in my SaaS. The hooks must pass on subscription data (context) and web-form metadata (if collected) to the listener. Ditto for end-state hooks of the user/subscription lifecycle.

I've been thinking about this a lot.
Today, there is the ability to custom code your logic in the accelerator (there are some hooks where you can tie in your code) and redeploy the accelerator.
However, that does not really work well with the "no-code" approach that we took with the deployment steps (where the partner deploys the code without establishing a real CI/CD pipelines and just deploy a point-in-time version of the accelerator).
As a potential solution or feature-add, I like the approach the MONA accelerator took, that is, deploy a blank Logic App, and tie it to the webhook controllers, so that the partners can have a no-code / no-redeployment option in case they need to trigger any extra functionality from the webhooks.

I have a proposal on how to implement this feature we can discuss. Have already vetted it with Julio, Santhosh, and Patrick.

As the other one is marked as duplicate, removing the duplicate tag on this.

Hi @dstarr and @santhoshb-msft ; any update on this please?
This is rather important, to put it politely. Many B2B SaaS these days is DIY/self-serve, so only focusing on sales person assisted/high-touch onboarding and fullfilment isn't desirable.

Design:
Phase-1

Send a copy a of webhook payload to an endpoint.
A setting in the config to provide an endpoint URL
Fire and forget and log the response (if any).
Add the subscription info

Phase-2

Retry at multiple scenarios (re-try 3times, ability to retry each failed webhook from the UI)

prelim discussion on the json structure
 : [LandingPage, ChangePlan, ChangeQuantity, Renew, Unsubscribe, Suspend, Reninstate]
{
"custominfo": {
"applicationName": "",
"eventType": "",
"landingpageFields" : {
"" :"",
"" :"",
"" :"",
"" :""
} [optional, fields from the db]
},
"EventPayloadFromMarketplace": "{
[ Payload] [response from the marketplace client lib result]
}
}


Training problem when epoch changing

when i'm training with the Refined MS1M data-set as the training data
the loss would change greatly during the epoch number changes
attached is my tensorboard results

from above you can see the loss change
and this would become a terrible problem when the learning rate decrease since it would increase the converge time that you need to finish the training greatly
have you ever meet this problem when you training the net?
if so, how did you solve this?
thanks a lot

@ltcs11 @muyoucun thanks for point out the bug. It likely caused by dataset.shuffle, the reason is that  (total samples) % (shuffle buffer size) = remainder， if remainder far away smaller than suffer buffer size that  dataset.shuffle will repeat it until equal to buffer size， so the end of every epoch will lead to overfiting，and increase the loss when beginning to train next epoch.(refer to https://stackoverflow.com/questions/46928328/why-training-loss-is-increased-at-the-beginning-of-each-epoch)
Temporary measures is annotation “dataset.shuffle”  if your datasets had randomly enough, or set the dataset.shuffle buffer size to len(datasets).

https://github.com/sirius-ai/MobileFaceNet_TF/commit/604e36bf5d98d875a0d68ca2ef8b624973f91a0a
close！

No description provided.

can you provide the hyperparameters you set，my inference loss doesn't get converge

did you just annotate the dataset.shuffle? i used the dataset it provided,i don't know weather it has disordered

did you just annotate the dataset.shuffle? i used the dataset it provided,i don't know weather it has disordered

the provided dataset is in order by the label number
i just randomly split one tfrecord file into many small size files and use dataset.shuffle(size) big enough to cover the max length  of those files
i just use the default hyperparameters, and i didn't get the results as 99.2+ either

i have 5822653 images and i use shuffle buffer size 35504, so the remainder will be 5822653 % 35504 = 35501 .
According to @sirius-ai , it will only repeat 3 images at last since 35504-35501=3. If my understanding is right, the remainder is so close to shuffle buffer size so maybe it would not overfit.
But the loss changed great when first epoch ends. (BTW after that the second epoch or the third epoch ends, loss will not increase greatly)
maybe i should split one tfrecord file into many small size files.
i check the numbers of the tran.tfrecord(generate by the default datasets),there is only 3804846 pictures in it?(if i doesn't make any mistake), and i change the buffer size to 8747(3804846%8747=99), but the increase loss still occur. maybe it is not a good idea. did you try the method ltcs11 provide? i am going to try it

insightface author has updated his datasets. you can download from his github.
and about this issue, now i believe it's totally the SHUFFLE's problem ( you can see https://stackoverflow.com/questions/46444018/meaning-of-buffer-size-in-dataset-map-dataset-prefetch-and-dataset-shuffle?noredirect=1&lq=1)
i test it. like this:
a = np.array([1,2,3.....,59])
...
dataset = dataset.shuffle(10)
dataset = dataset.batch(9)
...
el = iteration.get_next()
and i print the el every time. one example like this
[ 5  7  8  4  1  3 14 10 17]
[ 6 16 15 20 13 24 21  2  9]
[18 19 23 25 28 12 29 30 32]
[36 33 27 39 26 31 11 34 45]
[43 40 41 38 42 50 35 22 53]
[54 48 52 49 55 56 51 58 46]
[44 37 47 57]
you can see that it will get smaller number firstly.
since the provided dataset is in order by the label number, the batch chosen is not random.
so now i generate the tfrecords again and before this i shuffle the data.

insightface author has updated his datasets. you can download from his github.
and about this issue, now i believe it's totally the SHUFFLE's problem ( you can see https://stackoverflow.com/questions/46444018/meaning-of-buffer-size-in-dataset-map-dataset-prefetch-and-dataset-shuffle?noredirect=1&lq=1)
i test it. like this:
a = np.array([1,2,3.....,59])
...
dataset = dataset.shuffle(10)
dataset = dataset.batch(9)
...
el = iteration.get_next()
and i print the el every time. one example like this
[ 5 7 8 4 1 3 14 10 17]
[ 6 16 15 20 13 24 21 2 9]
[18 19 23 25 28 12 29 30 32]
[36 33 27 39 26 31 11 34 45]
[43 40 41 38 42 50 35 22 53]
[54 48 52 49 55 56 51 58 46]
[44 37 47 57]
you can see that it will get smaller number firstly.
since the provided dataset is in order by the label number, the batch chosen is not random.
so now i shuffle the data and generate tfrecord file again.

i follow your advice. and find that if i annotate the dataset.shuffle, an error occur.
Traceback (most recent call last):
File "train_nets4.py", line 262, in
eer = brentq(lambda x: 1. - x - interpolate.interp1d(fpr, tpr)(x), 0., 1.)
File "/opt/app/anaconda3/lib/python3.6/site-packages/scipy/optimize/zeros.py", line 442, in brentq
r = _zeros._brentq(f,a,b,xtol,rtol,maxiter,args,full_output,disp)
File "train_nets4.py", line 262, in
eer = brentq(lambda x: 1. - x - interpolate.interp1d(fpr, tpr)(x), 0., 1.)
File "/opt/app/anaconda3/lib/python3.6/site-packages/scipy/interpolate/polyint.py", line 79, in call
y = self._evaluate(x)
File "/opt/app/anaconda3/lib/python3.6/site-packages/scipy/interpolate/interpolate.py", line 610, in _evaluate
below_bounds, above_bounds = self._check_bounds(x_new)
File "/opt/app/anaconda3/lib/python3.6/site-packages/scipy/interpolate/interpolate.py", line 642, in _check_bounds
raise ValueError("A value in x_new is above the interpolation "
ValueError: A value in x_new is above the interpolation range.
i don't know why this happened, did you encounter this problem?

@muyoucun thanks you！
@zfs1993 Don't using pretrained model  to Initialize weights, and trying to retrain.

@muyoucun thanks you！
@zfs1993 Don't using pretrained model to Initialize weights, and trying to retrain.

i trained model from initial.the accuracy on lfw has reached 98.5%,the val is 95%,but the result on agebd is really bad,especially the val part which is about 30%,it has a huge difference

@zfs1993 @sirius-ai   Did your problem fixed? I have trained model from scratch too, but on lfw it reached 98.5% but no higher for a long time. The result on agedb is 92.7%. I have changed learning rate schedule to [4, 7, 10, 12].


No support to enter path/query params according to the correct syntax

 Issue by dilinisg
Tuesday Oct 10, 2017 at 07:32 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/3448

No support from the composer to enter path/query params according to the correct format. If we write partially and check somewhere else for the correct syntax, the previously partially written code will give an error and removed from the text box. This is not user friendly.

Implementation was differed we have removed path adding from the diagram


Doc: Update import for Response

In the documentation for Response (https://www.ember-cli-mirage.com/docs/api/modules/response~Response) the current import path is reused from miragejs/response :
import { Response } from 'miragejs';

I think it should rather refer to ember-cli-mirage :
import { Response } from 'ember-cli-mirage';

Yes, you're right + that's confusing.
We should probably scrape all imports from API doc comments, so the comments remain portable while miragejs and ember-cli-mirage both still exist in their current form.


[MJAR-271] - Flag for maven-jar-plugin to prevent artifact attachment

Signed-off-by: Raymond Augé<EMAIL_ADDRESS>Following this checklist to help us incorporate your
contribution quickly and easily:

[x] Make sure there is a JIRA issue filed
for the change (usually before you start working on it).  Trivial changes like typos do not
require a JIRA issue.  Your pull request should address just this issue, without
pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [MJAR-XXX] - Fixes bug in ApproximateQuantiles,
where you replace MJAR-XXX with the appropriate JIRA issue. Best practice
is to use the JIRA issue title in the pull request title and in the first line of the
commit message.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will
be performed on your pull request automatically.
[x] You have run the integration tests successfully (mvn -Prun-its clean verify).

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[x] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004

[ ] In any other case, please file an Apache Individual Contributor License Agreement.

Corresponding issue was closed, so I close this PR also.


Allow json contentType to support versioning schemes

Currently the converter for json only supports application/json we should allow a more flexible definition to support vnd and version content-types such as application/vnd[...]+json and application/vnd[...].version+json

@garyrussell @mbogoevici After thinking through I think we should replace the current JSON converter to simply accept any payload that contains json, valid types could be:
application/json
application/json;charset=utf-8
application/vnd.vendor.type.v1+json
application/vnd.vendo.typer+json; version=1
Those seems to be the most used cases for json and versioning around, if it's ok by you guys I'd just modify the current JSON converter to simply accept any contentType that contains json as part of the mimetype
Cheers

As part of the content-type-improvements epic, this will be added on the custom MappingJackson2MessageConverter


Minor clean up, spell fixes and syntax fixes.

Various cleanups and Fixes that I noticed.

Submitting this as a separate PR as it can reduce unrelated noise in other PRs.

Please review @spahl , @cmaloney

One thing then 🚢

Addressed review comments.

🚢


Added blake2 function with parameters for F function

Introduced blake2_f function, that can get rounds, h, m, t, f as parameters directly.
Compared with the current upstream implementation, it's impossible to set those parameters directly. It means incompatibility for specific use cases.

@joshuajbouw any chance you'd consider accepting this?


feat(treesitter): add ensure_installed_map

Description
This update introduces a simple way for users to enable or disable parsers through the configuration. It also streamlines the process of adding additional Tree-sitter parsers without relying on list_extend. This approach can also be applied to Mason.
Related Issue(s)

Screenshots

Checklist

[x] I've read the CONTRIBUTING guidelines.

You don't have to use list_extend to add additional Treesitter parsers. lazy.nvim's opts.extend = { "ensure_installed" } takes care of that.
The only thing you would need to do to overwrite Mason's ensure_installed completely from LazyVim's defaults is to define opts as a value function in your personal configuration.

Yeah, I don't see why this is needed. Thank you anyway

Thank @folke, I think it is still useful when user want to disable parser they do not want to ensure installed from their config. This is similar to Mason.

But they can, with opts as a function like @dpetka2001 mentioned