No right padding on hide password icon

Thank you for your package.
I think there should be a right padding on hide password icon, same as showpassword icon. When we changing their states, the icon looks moving from right to left.
...

class DefaultShowHidePasswordButton extends StatelessWidget {
  ....

  @override
  Widget build(BuildContext context) {
    return Column(
     ...
      children: [
        GestureDetector(
          onTap: _onPressed,
          child: _hidePassword
              ? _hidePasswordIcon ?? // << there should be a padding here as well
                  const FaIcon(
                    FontAwesomeIcons.eye,
                  )
              : Padding(
                  padding: const EdgeInsets.only(right: 6),
                  child: _showPasswordIcon ??
                      const Icon(
                        FontAwesomeIcons.eyeSlash,
                      ),
                ),
        ),
      ],
    );
  }
}

Hey @kterrago18 , thanks for using this package. Sorry for the late reply. I have been very busy.
That totally makes sense, i will adjust this tomorrow. Thanks!

Hey @kterrago18 , this MR #20 was merged. It makes much more flexible to change the icons as needed. So i guess this will solve your issue.
I am going to close this for now. But feel free to reopen if you feel like you still need help on this.


 Can anyone spot what is missing here?

Are you trying to run that command manually?
I don't think that multisrc  location is going to work with multiple parameters. When the internal conversion is used it gathers all the files together in one temporary folder with simplified names with just a single incrementing number (location=i_%05d.jpg) The program also inserts the temporary folder name.
There have been problems with latest stretch due to some bits of gstream not being updated. I have tried to see what is wrong in the past but will have to need to look again.
If you want to experiment with it manually then temporarily edit the preview.php file. Around line 192 there should be a line starting $cmd =
Just edit out the rm -rf $tmp; from this line. This will stop the temp file getting deleted. You can now try to run the internal conversion method. The files will be left in their temp folder so you can then run the command again manually

It didn't run from the interface and then I was trying to manually run to see if I can find errors. I will try to do the changes you have suggested to avoid file removal, but so far nothing got removed as well (strange).


numpy.core._exceptions.UFuncTypeError when trying to run Vision Detector Inference

Hi,
I've successfully train a custom Image detector but when I want to use it I have the following error :
I've tried to use it with the :

image path :
result = detector.predict('IMG_2189.jpg')

OR

as a numpy array :
img = Image.open('IMG_2189.jpg')
numpydata = asarray(img,dtype=int) (I've tried without the int conversion)
result = detector.predict(numpydata)

and I have the same error (maybe It requires another type ?) :
There is the Traceback of the error :
Traceback (most recent call last):
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 142, in _na_arithmetic_op
result = expressions.evaluate(op, left, right)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/computation/expressions.py", line 235, in evaluate
return _evaluate(op, op_str, a, b)  # type: ignore[misc]
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/computation/expressions.py", line 69, in _evaluate_standard
return op(a, b)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/ops/roperator.py", line 9, in radd
return right + left
numpy.core._exceptions.UFuncTypeError: ufunc 'add' did not contain a loop with signature matching types (dtype('<U32'), dtype('<U32')) -> dtype('<U32')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 27, in
print("Resultat : " + result)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/ops/common.py", line 65, in new_method
return method(self, other)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/arraylike.py", line 93, in radd
return self._arith_method(other, roperator.radd)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/frame.py", line 5982, in _arith_method
new_data = self._dispatch_frame_op(other, op, axis=axis)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/frame.py", line 6008, in _dispatch_frame_op
bm = self._mgr.apply(array_op, right=right)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 425, in apply
applied = b.apply(f, **kwargs)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 378, in apply
result = func(self.values, **kwargs)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 189, in arithmetic_op
res_values = _na_arithmetic_op(lvalues, rvalues, op)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 149, in _na_arithmetic_op
result = _masked_arith_op(left, right, op)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 111, in _masked_arith_op
result[mask] = op(xrav[mask], y)
File "/home/penta/.local/lib/python3.8/site-packages/pandas/core/ops/roperator.py", line 9, in radd
return right + left
numpy.core._exceptions.UFuncTypeError: ufunc 'add' did not contain a loop with signature matching types (dtype('<U32'), dtype('<U32')) -> dtype('<U32')
Thanks for your help.
Regards.

Hi,
Object detector is able to take str(filepath), pd.DataFrame with 'image' column, or raw ndarray input. I've verified that all of these input type is working well. I suspect there's something weird going on with your image. If you look at the traceback, the code is not going into autogluon vision. Will close this issue


Make curves and their fields easier to find

TITLE
Description
Description of the pull request changes and motivation.
Type of change
I made the short weiestrass curves accessible through the main list of fields
Please delete options that are not relevant.
Checklist

[x] Linked to Github Issue
[ ] Unit tests added
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

[ ] This change is an Optimization

[ ] Benchmarks added/run

Closes #795

Thanks for the comment, we've reorganized everything


Remove Upload Test Results Build Step

Goal being to remove the path not found warning in AZDO CI.
https://github.com/dotnet/aspnetcore/pull/23046#issuecomment-646364845
The CI now reports a successful (green) status:

Note the following warning for no .xml files found in the test upload step is now shown.
https://dev.azure.com/dnceng/public/_build/results?buildId=695273&view=logs&j=0bc77094-9fcd-5c38-f6e4-27d2ae131589&t=06f525b6-1103-55ff-8b74-f96f9e995ef4&l=11

All warnings gone for the blazor-ci pipeline! Thanks @dougbu!


irrelevant links

Some irrelevant pages created:
http://bd-iati.github.io/bower_components/anchor-js/
http://bd-iati.github.io/bower_components/jquery/

Thanks @mijaved, this looks like a weird bug in the way Github generates jekyll sites which has only just appeared. I fixed it with a hack in 94f4f56


Error when using profiler

I'm using silk with django 3.1 and python 3.9
The problem is when I use profiler on any of my views, my request page becomes like this:

and I also get this error:
Traceback (most recent call last):
  File "/home/joofi/.virtualenvs/py38/lib/python3.8/site-packages/silk/collector.py", line 199, in finalise
    profile_query_models.append(query['model'])
KeyError: 'model'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/joofi/.virtualenvs/py38/lib/python3.8/site-packages/silk/middleware.py", line 121, in _process_response
    collector.finalise()
  File "/home/joofi/.virtualenvs/py38/lib/python3.8/site-packages/silk/collector.py", line 201, in finalise
    raise SilkInternalInconsistency(
silk.errors.SilkInternalInconsistency: Profile references a query dictionary that has not been converted into a Django model. This should never happen, please file a bug report

My settings environment is:
SILKY_MAX_REQUEST_BODY_SIZE = -1
SILKY_MAX_RESPONSE_BODY_SIZE = -1
SILKY_INTERCEPT_PERCENT = 100
SILKY_MAX_RECORDED_REQUESTS = 10 ** 4
SILKY_MAX_RECORDED_REQUESTS_CHECK_PERCENT = 10

SILKY_AUTHENTICATION = True
SILKY_AUTHORISATION = True

SILKY_META = True
SILKY_ANALYZE_QUERIES = True
SILKY_PYTHON_PROFILER = True
SILKY_PYTHON_PROFILER_BINARY = True
SILK_PROFILER_RESULT_PATH = "/silk/"
SILKY_STORAGE_CLASS = "silk.storage.ProfilerResultStorage"
SILKY_PYTHON_PROFILER_RESULT_PATH = "{}{}".format(BASE_DIR, SILK_PROFILER_RESULT_PATH)

Reverted this merge due to this issue with meta profiling
Exception when performing meta profiling, dumping trace below
Traceback (most recent call last):
  File "C:\Users\username\Documents\Repositories\Conreq-docs\.venv\lib\site-packages\silk\middleware.py", line 132, in _process_response
    collector.finalise()
  File "C:\Users\username\Documents\Repositories\Conreq-docs\.venv\lib\site-packages\silk\collector.py", line 189, in finalise
  File "C:\Users\username\Documents\Repositories\Conreq-docs\.venv\lib\site-packages\django\db\models\fields\related_descriptors.py", line 1015, in set
    self.add(*new_objs, through_defaults=through_defaults)
  File "C:\Users\username\Documents\Repositories\Conreq-docs\.venv\lib\site-packages\django\db\models\fields\related_descriptors.py", line 950, in add
    self._add_items(
  File "C:\Users\username\Documents\Repositories\Conreq-docs\.venv\lib\site-packages\django\db\models\fields\related_descriptors.py", line 1126, in _add_items
    target_ids = self._get_target_ids(target_field_name, objs)
  File "C:\Users\username\Documents\Repositories\Conreq-docs\.venv\lib\site-packages\django\db\models\fields\related_descriptors.py", line 1062, in _get_target_ids
    raise ValueError(
ValueError: Cannot add "<SQLQuery: SQLQuery object (None)>": the value for field "sqlquery" is None

is there any update?


manual.py breaks when trying to convert...

Hey so I installed the requirements.txt, used python3 what does this error mean, from what I can see its quessit? Any help would be great I kind like this project from what I can see.
Manual processor started.
Python 64-bit 3.8.2 (default, Feb 26 2020, 22:21:03)
[GCC 9.2.1 20200130].
Guessit version: 3.1.0.
/usr/bin/python3
Loading config file /home/hyperion/sickbeard_mp4_automator/config/autoProcess.ini.
Traceback (most recent call last):
  File "/home/hyperion/.local/lib/python3.8/site-packages/guessit/api.py", line 192, in guessit
    config = self.configure(options, sanitize_options=False)
  File "/home/hyperion/.local/lib/python3.8/site-packages/guessit/api.py", line 163, in configure
    self.rebulk = rules_builder(advanced_config)
  File "/home/hyperion/.local/lib/python3.8/site-packages/guessit/rules/__init__.py", line 56, in rebulk_builder
    rebulk.rebulk(episodes(_config('episodes')))
  File "/home/hyperion/.local/lib/python3.8/site-packages/guessit/rules/properties/episodes.py", line 168, in episodes
    rebulk.chain(
  File "/home/hyperion/.local/lib/python3.8/site-packages/rebulk/builder.py", line 179, in regex
    return self.pattern(self.build_re(*pattern, **kwargs))
  File "/home/hyperion/.local/lib/python3.8/site-packages/rebulk/builder.py", line 107, in build_re
    return RePattern(*pattern, **kwargs)
  File "/home/hyperion/.local/lib/python3.8/site-packages/rebulk/pattern.py", line 441, in __init__
    pattern = call(re.compile, pattern, **self._kwargs)
  File "/home/hyperion/.local/lib/python3.8/site-packages/rebulk/loose.py", line 60, in call
    return function(*call_args, **call_kwargs)
  File "/usr/lib/python3.8/site-packages/regex/regex.py", line 348, in compile
    return _compile(pattern, flags, ignore_unused, kwargs)
  File "/usr/lib/python3.8/site-packages/regex/regex.py", line 585, in _compile
    raise ValueError('unused keyword argument {!a}'.format(any_one))
ValueError: unused keyword argument 'conflict_solver'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manual.py", line 382, in <module>
    main()
  File "manual.py", line 370, in main
    tagdata = getInfo(path, silent=silent, tmdbid=args.get('tmdbid'), tvdbid=args.get('tvdbid'), imdbid=args.get('imdbid'), season=args.get('season'), episode=args.get('episode'))
  File "manual.py", line 110, in getInfo
    tagdata = guessInfo(fileName, tvdbid=tvdbid, tmdbid=tmdbid, imdbid=imdbid, season=season, episode=episode)
  File "manual.py", line 155, in guessInfo
    guess = guessit.guessit(fileName)
  File "/home/hyperion/.local/lib/python3.8/site-packages/guessit/api.py", line 71, in guessit
    return default_api.guessit(string, options)
  File "/home/hyperion/.local/lib/python3.8/site-packages/guessit/api.py", line 222, in guessit
    raise GuessitException(string, options)
guessit.api.GuessitException: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.1.0
string=Rick and Morty - S04E05 - Rattlestar Ricklactica.mkv
options={}
--------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hyperion/.local/lib/python3.8/site-packages/guessit/api.py", line 192, in guessit
    config = self.configure(options, sanitize_options=False)
  File "/home/hyperion/.local/lib/python3.8/site-packages/guessit/api.py", line 163, in configure
    self.rebulk = rules_builder(advanced_config)
  File "/home/hyperion/.local/lib/python3.8/site-packages/guessit/rules/__init__.py", line 56, in rebulk_builder
    rebulk.rebulk(episodes(_config('episodes')))
  File "/home/hyperion/.local/lib/python3.8/site-packages/guessit/rules/properties/episodes.py", line 168, in episodes
    rebulk.chain(
  File "/home/hyperion/.local/lib/python3.8/site-packages/rebulk/builder.py", line 179, in regex
    return self.pattern(self.build_re(*pattern, **kwargs))
  File "/home/hyperion/.local/lib/python3.8/site-packages/rebulk/builder.py", line 107, in build_re
    return RePattern(*pattern, **kwargs)
  File "/home/hyperion/.local/lib/python3.8/site-packages/rebulk/pattern.py", line 441, in __init__
    pattern = call(re.compile, pattern, **self._kwargs)
  File "/home/hyperion/.local/lib/python3.8/site-packages/rebulk/loose.py", line 60, in call
    return function(*call_args, **call_kwargs)
  File "/usr/lib/python3.8/site-packages/regex/regex.py", line 348, in compile
    return _compile(pattern, flags, ignore_unused, kwargs)
  File "/usr/lib/python3.8/site-packages/regex/regex.py", line 585, in _compile
    raise ValueError('unused keyword argument {!a}'.format(any_one))
ValueError: unused keyword argument 'conflict_solver'
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================

Solved it...
`diff --git a/rebulk/loose.py b/rebulk/loose.py
index 5e747a8..e92d594 100644
--- a/rebulk/loose.py
+++ b/rebulk/loose.py
@@ -56,7 +56,7 @@ def call(function, *args, **kwargs):
:rtype: object
"""
func = constructor_args if isclass(function) else function_args

call_args, call_kwargs = func(function, *args, **kwargs)

call_args, call_kwargs = func(function, *args, ignore_unused=True, **kwargs)
return function(*call_args, **call_kwargs)`

Save that to a patch file, and patch rebulks loose.py
Hope that helps some

This looks like a guessit bug, does it do this for every file or just certain ones?
I would open a ticket on their github about this patch; not really an SMA issue though

Looks like this might be the underlying issue
https://github.com/guessit-io/guessit/issues/633
Does adding that environment variable change to the top of manual.py fix this?
os.environ["REGEX_DISABLED"] = "1"

Further digging looks like they know about the issue, hopefully the environment variable fixes things
https://github.com/Toilal/rebulk/issues/20

It was pretty easy to fix but I can see some people not having a clue, I dont like waiting on other developers so I figured Id mention it, just in case anyone else had the same problem. Thanks for getting back to me so soon.

If you revert your fix does using the environment variable change I posted above fix things? That would be something I could include.

28b2191354ba423261efc352b1bbdbf8d720cfcf


Unable to ssh to few vagrant instances created by molecule

Issue Type

Question

ansible <IP_ADDRESS>
molecule, version 2.3.1

I'm using molecule with 2 vagrant instances to test mutually exclusive roles. They are working good without any issue, However i noticed that i can only ssh to one vagrant instance even though my vagrant global-status lists 2 instance ids as below
12598f6  instance-1 virtualbox running /home/xxx/ansible-testing/molecule/default/.molecule
fbfd564  instance-2 virtualbox running /home/xxx/ansible-testing/molecule/default/.molecule
when i try to ssh to instance-1 - i see a message as not configured but i can run roles on instance-1 using molecule converge via playbook.yml.  I can ssh to instance-2
XXX@host1:~/ansible-testing$ vagrant ssh 12598f6
The machine with the name 'instance-1' was not found configured for
this Vagrant environment.
i read the documentation at https://molecule.readthedocs.io/en/latest/configuration.html#molecule-vagrant-module but my create.yml and destroy.yml are different may be the documentation is out dated or am doing something wrong.
my configuration is available here

Thank you !!


optional: OfPointer, OfAssert, OfIndex, OfReceive

Codecov Report

Merging #11 (cbb6f1c) into main (941964f) will increase coverage by 0.41%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
+ Coverage   93.01%   93.42%   +0.41%
==========================================
  Files           8        8
  Lines         272      289      +17
==========================================
+ Hits          253      270      +17
  Misses         17       17
  Partials        2        2

Impacted Files
Coverage Δ

optional/value.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


[BUG] - (TESTNET)Candidate contains blocks from future exceeding clock skew limit

Internal/External
External
Area
Synchronization
Summary
After 3740720 block my testnet node got an error:
Candidate contains blocks from future exceeding clock skew limit: fc328904a230e72d2d5006a96579f8ef82f65449664dd0b989b77cf418f433d3 at slot 64657800, slots fc328904a230e72d2d5006a96579f8ef82f65449664dd0b989b77cf418f433d3@64657800
And then:
...
[developM:cardano.node.DnsSubscription:Warning:121] [2022-07-28 17:04:02.48 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2600:1f1c:d4f:6d00:0:1:0:3]:3001
[developM:cardano.node.DnsSubscription:Warning:121] [2022-07-28 17:04:02.48 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2406:da18:99d:9200:0:1:0:1]:3001
[developM:cardano.node.DnsSubscription:Warning:121] [2022-07-28 17:04:02.48 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2600:1f16:fae:3000:0:1:0:1]:3001
[developM:cardano.node.DnsSubscription:Warning:121] [2022-07-28 17:04:02.48 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2a05:d014:e00:a201:0:1:0:3]:3001
[developM:cardano.node.DnsSubscription:Warning:121] [2022-07-28 17:04:02.48 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2600:1f16:fae:3000:0:1:0:2]:3001
[developM:cardano.node.DnsSubscription:Notice:515] [2022-07-28 17:04:02.48 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination <IP_ADDRESS>:3001
[developM:cardano.node.DnsSubscription:Notice:515] [2022-07-28 17:04:02.87 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt End, destination <IP_ADDRESS>:3001 outcome: ConnectSuccess
[developM:cardano.node.DnsSubscription:Warning:121] [2022-07-28 17:04:02.87 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Failed to start all required subscriptions
[developM:cardano.node.DnsSubscription:Error:515] [2022-07-28 17:04:04.70 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Application Exception: <IP_ADDRESS>:3001 InvalidBlock (At (Block {blockPointSlot = SlotNo 64658539, blockPointHash = b4f725b9286956e507c5cc0581270774783461f8c5c0a62e02b79a3ad01212d7})) b891cc4fd3d7604c16b369867ad32ada06d882093d21987312ed0c64e06a6ac6 (InFutureExceedsClockSkew (RealPoint (SlotNo 64658508) b891cc4fd3d7604c16b369867ad32ada06d882093d21987312ed0c64e06a6ac6))
...
So it's just stuck and can't sync. Restart doesn't help.
Steps to reproduce
Steps to reproduce the behavior:

Launch the cardano-node over the testnet;
Wait

Expected behavior
Synchronization.
System info (please complete the following information):

OS Name: Mint
OS Version 20.3
Node version cardano-node 1.35.2 - linux-x86_64 - ghc-8.10 git rev 7612a245a6e2c51d0f1c3e0d65d7fe9363850043
CLI version cardano-cli 1.35.2 - linux-x86_64 - ghc-8.10 git rev 7612a245a6e2c51d0f1c3e0d65d7fe9363850043

Hmm.. seems to be gone. I'll watch if it starts again.


people list updates

These changes I made to the /people list page are essentially is how I would mockup the /partners list page.

put the list inside a vuetify v-container component that gives it some margin/padding and keeps it responsive
utilized a table because I think the list does very well in providing a simple but clear structure

If these changes are acceptable, then the /partners list page can follow this simple strucure.

John, I'd love to merge this, but in order for me to test it locally it needs to be a branch in the official repo. If you don't mind could you create a branch and move your changes into that and open a new pull request. Just as a reminder, you should follow the software engineering workflow outlined in the mentorhub read me. PS you may also nneed to rebase your code with those changes as I'm currently merging another PR to main.


Not smart on suggestion.

Environment data

Language Server version: v2021.7.4
OS and version: Win10
Python version (& distribution if applicable, e.g. Anaconda): 3.9

Expected behaviour
For example, in the following code:
import pandas as pd
import numpy as np
import pyspark

df_pd = pd.DataFrame()

spark = pyspark.sql.SparkSession.builder.getOrCreate()
df_spark = spark.createDataFrame([
    [1, ]
], ["A"])

a = np.arange(10)

I expected I could have suggestions list when I type spark and df_spark even a like in the PyCharm.
Actual behaviour
It does not work at all.
I even could not get the full Autocomplete and IntelliSense when I type pyspark.
For example, it will not give me the suggest of sql when I type pyspark. But it works well when I switch to JediLSP Language Server.
And all of the above behavior works much better in the PyCharm.
Logs

XXX

Code Snippet / Additional information

XXX

Looks like SparkSession is not exported from pyspark/__init__.py
you'll need to import it directly
from pyspark.sql import SparkSession

I am seeing a possible issue with auto-completions not triggering.
you can manually bring up the completions with ctrl+space

Do you have the "Github Copilot" extension install?
I think there might be an issue with it eating our auto-completion after "." trigger

Thanks for your response.
I haven't installed the Github Copilot. And I tried to disable all extensions and then only open the python related include the Pylance. Nothing has changed.
Follow your steps, spark works well, but df_spark still does not work, even I type Ctrl+Space.
I know of from pyspark.sql import SparkSession can work. But it's really not well enough. As it works well when I change to JediLSP Language Server, And I need not change to from pyspark.sql import SparkSession. And especially when I use the PyCharm, everything is perfect. Of course, I can't compare it with the PyCharm. But I think it's a little weird it really can be smarter, and I think the JediLSP was a prototype to learn.
Thanks for your reply again. have a great day : ).

And from the comment of the questioner on the SO. We found an interesting thing, As the Autocomplete and IntelliSense works perfectly in the interactive.

Pylance is doing the right thing here based on the type information provided by the pyspark library. It indicates that SparkSession is not exported directly from pyspark. You must therefore import it from the pyspark.sql submodule. You can do this one of two ways:

Import the submodule by adding this line to your code:

import pyspark.sql

Import the symbol directly from the submodule by adding this line to your code:

from pyspark.sql import SparkSession

If you think this is an error and that SparkSession should be (re)exported directly from the top-level module, then you can file a bug (or even better, submit a PR) to the pyspark repo.
Here is some documentation for how library authors can provide type information to work with pylance and similar tools.

Thanks for your response, got it.

Yeah, I agree with that, that's logical. But the interactive is really smart.
They designed follows the different logic, one of them is as possible as they can, another one: just do the things we need to do. Thanks for your timely response.


How to use mask sampling for tracing?

我阅读了你们的论文，其中提到了通过提供初始帧掩码的方式进行采样，然后进行跟踪的方法。我想要知道你们提供了相关的测试代码吗？如果有提供就太好了
I read your paper which mentions a method of sampling by providing an initial frame mask and then tracking it. I would like to know if you have provided any test code for this? It would be great if you do.

Hej, thanks for your interest. If you are looking for the point method used to sample points from the mask, it is implemented in the extract_kmedoid_points function. If you are looking for the Video Object Segmentation (VOS) code where an initial GT mask is given and tracked throughout the video, then you can look into the documentation on running the VOS experiments or look directly into the VOS evaluation script. Have I understood your question correctly? Let me know if I can provide further help!

extract_kmedoid_points only gives you the +ve points.
How to get the -ve points using the same algorithm ?

Hi @ManuBN786, the function extract_kmedoid_points also supports sampling negative points when given the inverted mask as input. For example, if the mask is a float tensor, then you invert it with 1 - mask. For more context, check how we extract the negative points here. In our experiments, I've always used Mixed Sampling for selecting negative points.


Baron Samedit Detection, Story, Macros

Detections for https://blog.qualys.com/vulnerabilities-research/2021/01/26/cve-2021-3156-heap-based-buffer-overflow-in-sudo-baron-samedit

@davisshannon : thanks again for a new PR, do you have the attack_data for this? in this PR we would appreciate if you can contribute a test file for this.

@davisshannon : thanks again for a new PR, do you have the attack_data for this? in this PR we would appreciate if you can contribute a test file for this.

Thank you @davisshannon. Created a duplicate PR: https://github.com/splunk/security_content/pull/1153 since there are some issues with app-inspect

Thank you @davisshannon. Created a duplicate PR: https://github.com/splunk/security_content/pull/1153 since there are some issues with app-inspect


az network public-ip create

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az network public-ip create
Errors:
cannot import name 'BatchManagementClient' from 'azure.mgmt.batch' (/usr/lib/python3/dist-packages/azure/mgmt/batch/__init__.py)
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 233, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 558, in execute
    self.commands_loader.load_arguments(command)
...
network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py, ln 6, in <module>
    from azure.mgmt.batch import BatchManagementClient
ImportError: cannot import name 'BatchManagementClient' from 'azure.mgmt.batch' (/usr/lib/python3/dist-packages/azure/mgmt/batch/__init__.py)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az network public-ip create --resource-group {} --name {} --sku {} --allocation-method {} --query {} -o {}

Expected Behavior
Environment Summary
Linux-5.11.0-7620-generic-x86_64-with-glibc2.33
Python 3.9.5
Installer: DEB

azure-cli 2.18.0 *

Extensions:
azure-devops 0.19.0

Additional Context

network

It's dependency issues. Please upgrade CLI by command.
az upgrade

Just ran into this issue and https://github.com/Azure/azure-cli/issues/19122#issuecomment-893176500 didn't fix the problem.


fix: Set starting position(#86)

i got problem(#86) caused by #68e387c
so i added -1 again, and.. it seems work to me!

That works for me as well. Thanks @kwon-evan

Closed by #88

Thanks, closing since #88 merged already.


Add the generate_link endpoint to the GoTrue Auth Server reference page

Improve documentation
Link
GoTrue Auth Server
Describe the problem
This page lists the endpoints exposed by the Supabase GoTrue server, however, it seems that it's out of date since it is missing the recent addition of /generate_link in the endpoints.
Describe the improvement
Add a reference to the /generate_link API (and any other APIs that might have been added recently).

Please find the OpenAPI Specification for GoTrue here
PRs are welcome :)


Watch mode sometimes watches files that aren't targeted for compilation, depending on installed packages

TypeScript Version:  2.8.1
I also tried with typescript@next, but the issue persisted.

Search Terms:
too many files watched in watch mode
Code
I created a repo that is as minimal as possible while still demonstrating the problem. Details are in the README.
Expected behavior:
When giving tsc specific files to compile, watch mode should only check for recompilation when those files are changed.
Actual behavior:
With the dependencies in the repo's package.json, watch mode recompiles when other files are changed, like package.json, a JS file in the top level directory, or a JS file within node_modules. This occurs even though none of the dependencies are used by the file that is targeted for compilation. Removing any of the dependencies fixes the problem.
Playground Link: N/A
Related Issues: #7211
Trying to debug this issue would have been easier if there was a way to get more insight into the watch mode. I don't think there's a way to get tsc to list which files are being watched or which file triggered a recompilation.

@types packages in your typeRoot are included by default. so every-time you do npm install a new compilation needs to be triggered. if you do not want these types to be added in your context use --types or "types": [] in your tsconfig.json.
Also you can use tsc --listFiles to see what files were included in your compilation.

Thanks for the info. The issue I'm experiencing is more that the list of files in my compilation doesn't seem to match up with the list of files that are watched by tsc.
In my example repo, if I change bar.js in the top level directory, recompilation is triggered, even though bar.js doesn't show up in the output of tsc --listFiles. Even changing a JS file in node_modules triggers it, and the file is not in a @types package.

Even changing a JS file in node_modules triggers it, and the file is not in a @types package.

that is since we the @types are included automatically, so node_modules need to be watched.
In general watching more files should be OK, and watch implementation in 2.7 and later is optimized to only triggered needed work. Is there a specific scenario where you are seeing issues due to watchers?

It's not a huge deal. It's just mildly annoying to see the "File change detected" message whenever I change an unrelated file. I can understand why node_modules would have to be watched, but it doesn't make sense that bar.js is being watched as well.
I'm also very curious about the root cause. I don't understand why removing a particular dependency would fix the issue in terms of bar.js being watched when it doesn't even import anything.
I understand that this doesn't seem like an important issue, but the behavior still seems like a small bug, given that the documentation for the watch flag says that it watches "input files", and the tsconfig.json in the repo does not include bar.js. I'm not very familiar with the intricacies of file watching, but I'd be concerned that watching irrelevant files can chew up system resources unnecessarily.

@sheetalkamat can you take a look.

Note that on most OS the file save is emitted as file remove and add hence the directory watchers are invoked. We are watching the root directory for any new modules additions. Your program has 263 files in it and we cap at 250 to go through each file to actually check if the added file is definitely changing the module resolution. And hence you see the program changed detected message. note the the new program creation will be faster in many cases compared to figuring out if the file added/removed is going to affect the module resolution.
DirectoryWatcher:: Triggered with c:/temp/tsc-watch-bug/bar.js:: WatchInfo: c:/temp/tsc-watch-bug 1 Failed lookup locations
Scheduling program update
Elapsed:: 1ms DirectoryWatcher:: Triggered with c:/temp/tsc-watch-bug/bar.js:: WatchInfo: c:/temp/tsc-watch-bug 1 Failed lookup locations

That is very enlightening. Thank you for looking into it, @sheetalkamat. I appreciate it.


Paper revision

We can discuss the paper revision here.
Link to paper: https://github.com/linksmart/border-gateway/blob/master/paper/paper.md
To keep track, add this issue number i.e. #39 to future commits.

Here are my comments:

Fraunhofer-Institut für Angewandte Informationstechnik FIT

Change to Fraunhofer Institute for Applied Information Technology

Border Gateway

Why is this wrapped in backquotes? (and twice)

using an extensible micro services architecture implemented for Node.js.

This is vague. Isn't it better to say implemented in Node.js? I guess it can be extended in other languages as well, so the used micro services architecture is not specific to Node.js.

Currently the common protocols HTTP, MQTT and WebSocket are supported.

Reference for this? Why are these common?

using a simple rule format

Format not described.
Regarding the diagram:

are we allowed to used those icons?
The icon for Websocket app is a shrunk version of proxies and interfaces (those in blue).

Lastly, the Bibliography needs improvements. The citations are incomplete and I don't think the editor names are relevant.

Also, it may be useful to add some performance metrics.

Many thanks for the comments.
Changing institute name to English.
The backquote wrapping was done because the example paper did the same for their title (https://joss.readthedocs.io/en/latest/submitting.html#example-paper-and-bibliography). Yet they were referring to a Python package... no need to wrap the name of the software per se.
I thought about this phrasing regarding Node.js too. Switching to "Node.js JavaScript" according to the first answer in https://softwareengineering.stackexchange.com/questions/299152/is-node-js-a-framework.
Changing "common" to "widely used".
The rule format is described in the documentation, no need to explain it in the summary.
The icons are from standard AWS sets in draw.io. I could not find any license information, so I guess they are free to use. The icons are arbitrary, so I don´t think it´s an issue that WebSockets icon looks similar to the icon used for the proxies.
Many citation styles rely on an author or editor field, so I´ll keep it that way.
Raphael asked Hareeqi whether we can publish his thesis, then we could add a link. I added a reference to this thesis and some more technical references.
Adding relevant performance metrics would be a lot of work, so I will not include anything for this submission unless the JOSS reviewers suggest it.

Changing institute name to English.

"Fraunhofer Institute for Applied Information Technology FIT" is grammatically wrong. Either the FIT should be in parenthesis or removed. The fact that it is used wrongly everywhere doesn't make it correct :). The abbreviation is not a part of the institute name:
https://www.fraunhofer.de/en/institutes/institutes-and-research-establishments-in-germany.html

The rule format is described in the documentation, no need to explain it in the summary.

Then there should be a citation right where you mention "simple rule".

The icons are arbitrary, so I don´t think it´s an issue that WebSockets icon looks similar to the icon used for the proxies.

Then I suggest making the websocket icon grayscale, same as the other application icons.

Many citation styles rely on an author or editor field, so I´ll keep it that way.

The problem is that the editor is not Marc Jentsch. The title of the website is "COMPOSITION - Ecosystem for collaborative manufacturing processes" and the publication year is probably 2016. You may add urldate for the retrieval date and author as COMPOSITION Consortium.
@online{composition,
    editor = {Marc Jentsch},
    title = {COMPOSITION},
    url = {https://www.composition-project.eu},
    year = 2019
}

All suggestions incorporated.

I noticed that here they use square braces for the citations but you are using curly braces.

Not sure what you mean... where do I use curly braces?
If I used square braces to cite entries in paper.bib R Markdown would translate them to regular braces, so the result would be the same.

Sorry I meant round braces. You use round instead of square. E.g.:
MQTT v3.1.1 (@mqtt) and WebSocket (@rfc6455) are supported.

Here are some examples of JOSS publication for software systems (for your reference):
https://joss.theoj.org/papers/093a37e7d698d3350b2d4e564dcfb69b
https://joss.theoj.org/papers/0cacbf19f5822f668e915f788dec1a82
https://joss.theoj.org/papers/54da18fdbf5d8a61fa66df3a21554008
Full list of publications: https://joss.theoj.org/papers/published

The square brackets are only used in the "source code" and will be translated to round braces in the paper. See my updated paper version. In this one I also switched back to the default citation style back from ieee-internet-of-things-journal.csl.
Regarding the length I will come up with some more content and discuss it with Raphael also.

Added some more content to the summary. I am happy about further suggestions about content / motivation / structure.

Added some more content to the summary. I am happy about further suggestions about content / motivation / structure.

It is much better now.
I made some minor corrections. Sorry, I meant to make a PR, but ended up committing on master by mistake.

additionally a more fine-grained authorization using a simple rule format (see below) is performed

Note that fine-grained authorization rules are currently not supported for the WebSocket proxy.

Regarding fine-grained authorization, I think BGW doesn't offer object level security on either of the protocols.

Note that fine-grained authorization rules are currently not supported for the WebSocket proxy.

Regarding fine-grained authorization, I think BGW doesn't offer object level security on either of the protocols.

What is currently possible with WebSockets as far as I can see it, it's only possible to block them or allow them right?

These are then authenticated against an OpenID Connect (OIDC) provider [@oidc] and additionally a more fine-grained authorization using a simple rule format (see below) is performed.

I would change this to
These are authenticated against an OpenID Connect (OIDC) provider [@oidc] and then authorized using the BGW rule format (see below).
Since authentication is not a form of authorization, but the original sentence suggests this. Also you drop the fine-grained part, which sounds a bit to much like snake oil marketing.
Also drop the simple and maybe add easy to write and read.

Note that fine-grained authorization rules are currently not supported for the WebSocket proxy.

What is currently possible with WebSockets as far as I can see it, it's only possible to block them or allow them right?

Yes, authorization is done on connection establishment only and not on a level of individual messages. Made that clear in the paper.

Regarding fine-grained authorization, I think BGW doesn't offer object level security on either of the protocols.

For HTTP and MQTT we are not checking the payload, yes. The question is compared to what?

All uses of "fine-grained" have been removed :-).

Many thanks for the suggestions from both of you!

Paper has been submitted.


improve codelens processor's performance

This pull request attempts to improve test discovery performance when codelens is enabled.
Changes were tested with 12 test projects in solution that contains around 1500 tests in total. Before it was taking more than 3 minutes till test discovery completed after each rebuild. With this PR it takes 13 seconds.
Could be related to #13

Hi again @vytautassurvila,
This looks fantastic, I'll have a test of your branch, but if all is well, I don't see anything further required in order to get this merged in.
Thanks so much!


migrating down on last initial removes migration history

when running db-migrate down all the way to the bottom the migrations table gets whipped aswell. It would be nice to keep this data.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1257614-migrating-down-on-last-initial-removes-migration-history?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github).

closed as duplicate of #33


fix docker & ccache

[x] fix docker builds: fix #195, partially revert #209

[x] ensure docker builds do not fail silently: fixes #194
[x] upgrade docker images to ubuntu 18.04 (from 16.04)

[x] fix boost

[x] use ACE, ITK in docker builds
[x] fix ccache in docker
[x] use newer ccache syntax for normal travis builds

depends on #212 -> #213

ok now getting (https://api.travis-ci.org/v3/job/499919417/log.txt):
test 3
    Start 3: Gadgetron_TESTS
...
3: 1: [  FAILED  ] 2 tests, listed below:
3: 1: [  FAILED  ] hoNDArray_blas_Cplx/0.nrm2Test, where TypeParam = std::complex<float>
3: 1: [  FAILED  ] hoNDArray_blas_Cplx/2.nrm2Test, where TypeParam = Gadgetron::complext<float>

hmmm. strange as 18.04 is their reference system.
I'll try to see in a VM if I can reproduce this. Only possibly reason that I see is the addition of the two CBLAS lines when building Gadgetron? sorry. not really what you want to have to fix.

Turns out libatlas-base-dev was required (https://github.com/CCPPETMR/SIRF-SuperBuild/issues/195#issuecomment-467510107) even though their List of Dependencies does not mention it.
In the end I just used
https://github.com/gadgetron/gadgetron/blob/b03e500e09d6b60f2ce94c859ee07fa95d6c0a4f/docker/base/ubuntu_1804/Dockerfile#L8-L10


Fix panics in e2e tests

Currently we skip only BeforeAll part of our tests, but AfterEach is executed on each platform which leads to panics.
  Skipping AWS E2E tests
  In [BeforeAll] at: /home/mfedosin/projects/cluster-capi-operator/e2e/aws_test.go:41

  Full Stack Trace
    github.com/openshift/cluster-capi-operator/e2e.glob..func1.1()
    	/home/mfedosin/projects/cluster-capi-operator/e2e/aws_test.go:41 +0x10c

  There were additional failures detected after the initial failure:
    [PANICKED]
    Test Panicked
    In [AfterEach] at: /usr/local/go/src/runtime/panic.go:260

    runtime error: invalid memory address or nil pointer dereference

    Full Stack Trace
      github.com/openshift/cluster-capi-operator/e2e/framework.DeleteMachineSets({0x3df5318, 0xc000812540}, {0xc000943ec8, 0x1, 0x0?})
      	/home/mfedosin/projects/cluster-capi-operator/e2e/framework/machineset.go:116 +0xbb
      github.com/openshift/cluster-capi-operator/e2e.glob..func1.2()
      	/home/mfedosin/projects/cluster-capi-operator/e2e/aws_test.go:50 +0x85

This commit fixes it by adding Skip in AfterEach blocks as well.

/retest-required

/approve
/lgtm
/retest-required


Native ads dont work when Google Playstore is disabled

i noticed that Native ads do not work on debug mode while Playstore is disabled. i havent tested it using the release version while Playstore is disabled && if they were not to work while PlayStore is disabled it would be a disaster. what might be the cause of this issue?

It seems your question is best suited for support channels like google-admob-ads-sdk group, so please ask the same there for solutions if any.
If you are proposing a change, please use the appropriate new issue template and fill out the requested details so that we can address this issue properly.
Closing for now.


Fix/kalman

Kalman is now synced with the vision frame. The orientation is not affected by the angular speed command only the x,y position. If the object is not update since the last prediction (flickering), the current time is use to predict the next state.

NOTE: Covariances are NOT adjust to that.


Slug Uppercase

Hi, thank you for your job. Can we use uppercase with slug as www.example.com/TITLE  ?

Sorry I found the solution :)
For anyone else;
use : {Slug} instead : {slug}


Panel buttons not visible in Excalidraw window.

Is the bug present when using the default Obsidian theme?
No
Is the bug present when snippets and plugins are disabled?
No
Minimal theme version
6.1.0
Describe the bug
I have installed Excalidraw plugin in Obsidian, After using minimal theme in dark mode (dracula), All the panel objects are not visible. Already raised it with obsidian-excalidraw (https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/877). they suggest it to be minimal theme issue.
Steps to reproduce:
Steps to reproduce the behavior:
install minimal theme
Install Minimal Theme Settings plugin
Choose the dark mode schema as Dracula
Setting --> Appearance --> Base color scheme = "Dark"

Debug info
SYSTEM INFO:
Obsidian version: v1.0.3
Installer version: v0.13.23
Operating system: Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:25 PDT 2022; root:xnu-8020.140.41~1/RELEASE_X86_64 21.6.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Minimal
Snippets enabled: 0
Restricted mode: off
Plugins installed: 2
Plugins enabled: 2
1: Excalidraw v1.7.27
2: Minimal Theme Settings v6.1.0

Reported the issue to Excalidraw Plugin, they reported it to be theme issue:
https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/877

Duplicate of #427


Kill WPT server with SIGINT instead of SIGTERM

After running npm run test, several python processes are left behind. This is because the WPT web server isn't shutdown properly.
Python doesn't register a default handler for SIGTERM and it doesn't run __exit__() methods of context managers when it gets that signal. Using SIGINT avoids this problem
I've tested this on Linux and Windows. It doesn't make a difference on Windows but it doesn't break anything either

Well done on this one @i8-pi. For anyone looking the doc on optional child.kill([signal]) is here. https://nodejs.org/api/child_process.html#child_process_class_childprocess

This is what I see:

Run npm run test
When the WPT server has fully started up, look at the process list. There are 7 python processes
Kill the test or wait for it to complete
Look at the process list again. There are still 6 python processes remaining.

There should not be any python processes left behind after the tests have terminated

Hmm, on Windows 10 this causes the tests to hang at the end for me...

Ah, sorry, false alarm, I was just staring at a slow test. Merged as 178a3ad1722a968c2e84a8666f8c10b7330527b4 with a comment added. Thank you!!


[Suggestion] Change Dreadful Carnage prerequisite to Furious Focus instead of Dazzling Display

Dreadful Carnage in TT requires Furious Focus as prerequisite. Owlcat changed it to require Dazzling Display as they don't have Furious Focus (later FF).
With FF added, Dreadful Carnage prerequisites could be changed to require FF and not Dazzling. Perhaps this could be togglable in mod settings.

Fixed in next release


⚠ PrivateHD has degraded performance

In d62eaff, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 3401 ms

Resolved: PrivateHD performance has improved in c1b8c61.


feat: implements BeforeClusterUpgrade hook

What problem does this PR solve?:
This implements BeforeClusterUpgrade hook and executes the same logic. There's some common code that I'd like ideas on how to consolidate while also having the handlers be separate lifecycle hooks.
Which issue(s) this PR fixes:
Fixes #
How Has This Been Tested?:

Special notes for your reviewer:

Any reason that the existing lifecycle hooks do not retry? 🤔

They do retry as part of the reconciliation loop. The BeforeClusterUpgrade hooks just allow us to set a specific amount of time to retry after.

Thanks for explaining that!

Rebased and fixed conflicts after merge of #637.


SmartThingsTV pypi module

Would you consider publishing the code under custom_components/samsungtv_smart/api/smartthings.py as a pypi module so that other projects can use the SmartThingsTV class?
If not, do you mind if I fork and publish it myself as a pypi module?
I want to get basic smartthings support inside the HomeAssistant samsungtv component to get some missing features in the build-in integration.

@starkillerOG,
this is in my plan, I will do this shortly.
But consider that add SmartThings support to native SamsungTV integration was already discussed in the past, the point was that HA teams don't want to have "hybrid" integration that works both local and cloud based. I don't know if somethink is changed, honestly I don't think.

@ollo69 good to know, thanks!
I will ask around if it "hybrid" would be acceptable.

@ollo69 I discussed this with HomeAssistant core, and they will allow us to implement SmartThings cloud into the buildin samsungtv integration to extend the features.
However cloud needs to be optional and cloud should only be used for features that are not locally available.
So we can defenitly work on this.
If you get the pypi module published we can then start working on a first implementation for the buildin integration.


GH-41430: [Docs] Use sphinxcontrib-mermaid instead of generating images from .mmd

Rationale for this change
This is for easy to maintain.
What changes are included in this PR?

Install sphinxcontrib-mermaid
Install Chromium to generate SVG from .mmd
Use Debian instead of Ubuntu for building docs because Ubuntu provides Chromium only via snap
Use a normal user not root to build documents because Mermaid require additional --no-sandbox argument when we use root

Are these changes tested?
Yes.
Are there any user-facing changes?
No.

GitHub Issue: #41430

@github-actions crossbow submit preview-docs

@github-actions crossbow submit preview-docs

@github-actions crossbow submit preview-docs

http://crossbow.voltrondata.com/pr_docs/41455/format/Flight.html#downloading-data
Hmm. <img> nor <object> don't exist...
We can't use :caption: with .. mermaid::...?

@github-actions crossbow submit preview-docs

Images weren't generated without :caption:. It's not related.

@github-actions crossbow submit preview-docs

Images on flight.rst (http://crossbow.voltrondata.com/pr_docs/41455/format/Flight.html) don't seem to be generated yet :(

Ah, we may need to install chromium-sandbox explicitly.
https://github.com/ursacomputing/crossbow/actions/runs/8930481377/job/24530668947#step:7:13590
b'\nError: Failed to launch the browser process!\n[0502/215143.044964:ERROR:zygote_host_impl_linux.cc(126)] No usable sandbox! If this is a Debian system, please install the chromium-sandbox package to solve this problem. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.\n\n\nTROUBLESHOOTING: [https://pptr.dev/troubleshooting\n\n](https://pptr.dev/troubleshooting/n/n)    at Interface.onClose (file:///usr/local/lib/node_modules/@mermaid-js/mermaid-cli/node_modules/@puppeteer/browsers/lib/esm/launch.js:253:24)\n    at Interface.emit (node:events:529:35)\n    at Interface.close (node:internal/readline/interface:534:10)\n    at Socket.onend (node:internal/readline/interface:260:10)\n    at Socket.emit (node:events:529:35)\n    at endReadableNT (node:internal/streams/readable:1400:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n\n'

@github-actions crossbow submit preview-docs

Hmm. It seems that cap_add: SYS_ADMIN isn't used by archery docker run:
https://github.com/ursacomputing/crossbow/actions/runs/8941096370/job/24560653133#step:7:6346
DEBUG:archery:Executing `['docker', 'run', '--rm', '-e', 'SETUPTOOLS_SCM_PRETEND_VERSION=17.0.0.dev61', '--volume', '/home/runner/work/crossbow/crossbow/build/:/build/', '-e', 'ARROW_C_FLAGS_DEBUG=-g1', '-e', 'ARROW_CUDA=ON', '-e', 'ARROW_CXX_FLAGS_DEBUG=-g1', '-e', 'ARROW_HOME=/tmp/local', '-e', 'ARROW_JAVA_SKIP_GIT_PLUGIN=true', '-e', 'ARROW_SUBSTRAIT=ON', '-e', 'BUILD_DOCS_C_GLIB=ON', '-e', 'BUILD_DOCS_CPP=ON', '-e', 'BUILD_DOCS_JAVA=ON', '-e', 'BUILD_DOCS_JS=ON', '-e', 'BUILD_DOCS_PYTHON=ON', '-e', 'BUILD_DOCS_R=ON', '-e', 'CCACHE_COMPILERCHECK=content', '-e', 'CCACHE_COMPRESS=1', '-e', 'CCACHE_COMPRESSLEVEL=6', '-e', 'CCACHE_DIR=/ccache', '-e', 'CCACHE_MAXSIZE=1G', '-e', 'GITHUB_ACTIONS=true', '-v', '/home/runner/work/crossbow/crossbow/arrow:/arrow', '-v', 'debian-ccache:/ccache', 'apache/arrow-dev:amd64-debian-12-docs', '/bin/bash', '-c', '  sudo mkdir -p /build /ccache &&\n  sudo chown -R `id --user --name`: /build /ccache &&\n  /arrow/ci/scripts/cpp_build.sh /arrow /build &&\n  /arrow/ci/scripts/python_build.sh /arrow /build &&\n  /arrow/ci/scripts/c_glib_build.sh /arrow /build &&\n  /arrow/ci/scripts/r_build.sh /arrow /build &&\n  /arrow/ci/scripts/js_build.sh /arrow /build &&\n  /arrow/ci/scripts/java_build.sh /arrow /build']`

https://github.com/ursacomputing/crossbow/actions/runs/8941096370/job/24560653133#step:7:13594
b'\nError: Failed to launch the browser process!\nFailed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted\n[0503/155413.287408:FATAL:zygote_host_impl_linux.cc(200)] Check failed: . : Operation not permitted (1)\n\n\nTROUBLESHOOTING: [https://pptr.dev/troubleshooting\n\n](https://pptr.dev/troubleshooting/n/n)    at ChildProcess.onClose (file:///usr/local/lib/node_modules/@mermaid-js/mermaid-cli/node_modules/@puppeteer/browsers/lib/esm/launch.js:253:24)\n    at ChildProcess.emit (node:events:529:35)\n    at ChildProcess._handle.onexit (node:internal/child_process:292:12)\n\n'

@github-actions crossbow submit preview-docs

This worked!
http://crossbow.voltrondata.com/pr_docs/41455/format/Flight.html#downloading-data

@github-actions crossbow submit preview-docs

I've added comments and rebased.
(I also re-submit preview-docs just in case.)
This is ready for review.

I'll merge this in a few days if nobody objects this.


wagtailfrontendcache throws an error when a root page is created without a site

On a new install of wagtail w/ wagtailfrontendcache enabled, I go through the following steps:

Go to the admin
Delete the default "welcome" page from the database
Create a new root page

After I create the new root page, I get the following error:
[17/Apr/2015 20:02:28] ERROR [django.request:231] Internal Server Error: /admin/pages/new/pages/genericpage/1/
Traceback (most recent call last):
  File "/Users/jryding/.virtualenvs/cms/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/Users/jryding/.virtualenvs/cms/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/Users/jryding/.virtualenvs/cms/lib/python2.7/site-packages/wagtail/wagtailadmin/views/pages.py", line 211, in create
    revision.publish()
  File "/Users/jryding/.virtualenvs/cms/lib/python2.7/site-packages/wagtail/wagtailcore/models.py", line 1141, in publish
    page_published.send(sender=page.specific_class, instance=page.specific)
  File "/Users/jryding/.virtualenvs/cms/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 198, in send
    response = receiver(signal=self, sender=sender, **named)
  File "/Users/jryding/.virtualenvs/cms/lib/python2.7/site-packages/wagtail/contrib/wagtailfrontendcache/signal_handlers.py", line 9, in page_published_signal_handler
    purge_page_from_cache(instance)
  File "/Users/jryding/.virtualenvs/cms/lib/python2.7/site-packages/wagtail/contrib/wagtailfrontendcache/utils.py", line 100, in purge_page_from_cache
    logger.info("[%s] Purging URL: %s", backend_name, page.full_url + path[1:])
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Digging into the code, this error is the request of the following line:
logger.info("[%s] Purging URL: %s", backend_name, page.full_url + path[1:])

This line failes because page.full_url is set to None when it executes, which results in the line throwing an exception. The new page model is still saved, so I just need to refresh the admin in my browser to get back into a good working state.

The workaround for this issue is to register the new root page as the root of a new site in Wagtail. When the last root page is deleted, it looks like the Site record is also removed from the system.
One caveat though is that it seems that this error will still occur when new root pages are created.

Hi @strife25,
Thank you for the report. You are hitting the bug described in #687.
Closing this as duplicate. Will work on issuing a warning as proposed in https://github.com/torchbox/wagtail/issues/687#issuecomment-60032801

I think this is different to #687, although the two are certainly related...
The way that the page/site model is designed makes it possible for a page to have no routable URL. This in itself is not a bug - although it's not something that you'd intentionally want to happen, so it's appropriate to give a warning as per #687.
Nevertheless, a page with no routable URL is still perfectly valid, and wagtailfrontendcache ought to be fixed so that it doesn't break in the presence of such pages.

Fair enough.
What is the desired behaviour in this case? Only add page.full_url to the purge string when it is not None? Or skip the purge all together?

I'm not really familiar with wagtailfrontendcache's behaviour, but it seems to me that it would be appropriate to simply skip the page. If a page is not accessible at any URL, then there's no way that it can exist in a front-end cache in the first place.


Compatible with Trino syntax, type and functions

Feature request
There are some syntax, types and functions in Trino that do not correspond to each other in Starrocks. In order to reduce the cost of user migration, we need to be as compatible as possible with Trino in syntax, types and functions
Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Great work!


NOISSUE - Update docs

What type of PR is this?
This is a documentation update

What does this do?
Enhances the docs for more step by step guidance and clarity

Which issue(s) does this PR fix/relate to?
No issues

Have you included tests for your changes?
No

Did you document any new/modified features?
No

Notes

This can be closed. It is updated in the PR Preload docker images to the vm


Next - Services API Gateway Investigation

Overview

Evaluate options for ensuring that non-app services can be called only by other apps
Most desirable: only apps with specific authorization to call other services can call them

This is not a problem.  The API endpoint can allow requests from the app endpoint via CORS, or apps can proxy their API requests, such as how next.js does it with getServerSideProps


Update privileged PSP to allow all capabilities

kubernetes/kubernetes#51337 adds support for using * as a value in the allowedCapabilities field. This PR updates examples to use a this feature for the "privileged" PSP.
PTAL @pweil-
CC @simo5

PTAL @eparis

/lgtm


implement the depfile command-line option for the "cython" tool

Tested with the cythoner from SciPy after editing in the -M argument and updating lots of meson generators to expect a depfile.
/cc @rgommers @ev-br
I do not like the delayed import of Build.Dependencies.DependencyTree but it is needed to avoid a circular import, if anyone has suggestions to fix this I'm all ears. (I think this would require more refactoring than I'm comfortable with, but TBH the code is massively confusing in layout to me.)
This is missing tests but I have no time left today for that (I'll finish this up on Sunday), so, posting for discussion.

This looks pretty clean to me so far; the one code block moved into write_depfile_for is a straightforward refactor, and the rest seems about as minimal as it gets for adding a new command-line option.

Tests pass locally.

Thanks!
Is there interest in backporting this to 0.29.x?

Backporting to 0.29.x would need some minor manual tweaks: https://github.com/cython/cython/pull/4576
(optparse/argparse at least)

Alright, I tried a backport.


Fix ci after location patch

CI started failing with the previous push due to old supertest versions installed only in ci not correctly url encoding before making the request. By encoding it ourselves in the test supertest works as expected in both versions.

New habits are hard to break. I used template literal strings which obviously didn't work in old versions. Should be fixed now.

I am not sure why appveyor and coveralls did not trigger here but I am going to merge anyway.


stdlib: Add another missing @_versioned annotation

We cannot diagnose uses of a non-public conformance yet, so this
was resulting in a linker failure.
Fixes rdar://problem/32536790.

@swift-ci Please smoke test


Python program can't resize window in Hyprland

I use Hyprland tiling window manager and I am writing a GUI application in Python using tkinter. When I want to set the window size, nothing happens:
import tkinter as tk

root = tk.Tk()
root.geometry("300x300")
root.attributes('-type', 'dialog')

root.mainloop()

If I add one line root.overrideredirect(True) I am able to set the size, but then other things like text fields or binds don't work. This disables the resize lock, but also throws away half of the window's functionality. How can I disable this lock in a different way?

wayland apps are generally not allowed to resize themselves, see #271

I used the wrong word. I don't resize the window. I can't even set the default size. root.geometry("widthxheight") should do it, but it doesn't. I know it can be disabled because _overrideredirect(True) _ disables it.

override_redirect is an X11 term. It does not exist in Wayland. Are you sure your library supports wayland?

See https://wayland.app/protocols/xdg-shell#xdg_toplevel:request:set_max_size
set_max_size and set_min_size can be used in tandem to make a window some specific size.


Use advanced select on landvoc terms in admin form

The 'related concepts' field for adding Land Portal users still uses the scroll down menu with having to press ctrl to be able to add multiple fields, which many people do not know how to do.
This should be the same as the related terms / LandVoc terms for news, publications, blogs, the Land Library, etc. Please switch it.
Thanks,

Done, it will be live in the next release (already visible on stage).
Also note that currently, on the 'public' register form the select/tag are already working.
The fix (see issue 200) is even broader than just the admin user. It should now work on most admin forms (may still need fine tuning).
See also https://github.com/landportal/drupal/issues/200


Warning does not matter, right?

Hi,
Am I the first user to fork this repository! I feel cool about that! ^.^
When I compile the code as the README.md suggested, although it succeeded, I got the following warnings:

2017-07-26 22:18:20.679 WARNING /tf-graph-info/tf-graph-icon.html.js:11: WARNING - Bad type annotation. Unknown type tf.graph.Node
* @type {tf.graph.Node}
^
2017-07-26 22:18:20.820 WARNING /tf-graph-info/tf-graph-icon.html.js:22: WARNING - Bad type annotation. Unknown type tf.graph.render.RenderNodeInfo
* @type {tf.graph.render.RenderNodeInfo}
^
2017-07-26 22:18:20.820 WARNING /tf-graph-info/tf-node-list-item.html.js:9: WARNING - Bad type annotation. Unknown type tf.graph.Node
* @type {tf.graph.Node}
^
2017-07-26 22:18:20.821 WARNING /tf-graph-info/tf-node-list-item.html.js:14: WARNING - Bad type annotation. Unknown type tf.graph.Node
* @type {tf.graph.Node}
^
2017-07-26 22:18:20.822 WARNING /tf-graph/tf-graph-scene.html.js:20: WARNING - Bad type annotation. Unknown type d3_zoom
/** @type {d3_zoom} d3 zoom object */
^
2017-07-26 22:18:20.822 WARNING /tf-graph/tf-graph-scene.html.js:60: WARNING - Bad type annotation. Unknown type d3.scale.ordinal
* @type {d3.scale.ordinal}
^
2017-07-26 22:18:20.822 WARNING /tf-graph/tf-graph-scene.html.js:67: WARNING - Bad type annotation. Unknown type tf.scene.Minimap
* @type {tf.scene.Minimap}
^
2017-07-26 22:18:20.823 WARNING 0 error(s), 7 warning(s), 63.2% typed
INFO: From Vulcanizing /tensorboard.html:
2017-07-26 22:18:20.751 WARNING /tf-graph-info/tf-graph-icon.html.js:11: WARNING - Bad type annotation. Unknown type tf.graph.Node
* @type {tf.graph.Node}
^
2017-07-26 22:18:20.820 WARNING /tf-graph-info/tf-graph-icon.html.js:22: WARNING - Bad type annotation. Unknown type tf.graph.render.RenderNodeInfo
* @type {tf.graph.render.RenderNodeInfo}
^
2017-07-26 22:18:20.820 WARNING /tf-graph-info/tf-node-list-item.html.js:9: WARNING - Bad type annotation. Unknown type tf.graph.Node
* @type {tf.graph.Node}
^
2017-07-26 22:18:20.821 WARNING /tf-graph-info/tf-node-list-item.html.js:14: WARNING - Bad type annotation. Unknown type tf.graph.Node
* @type {tf.graph.Node}
^
2017-07-26 22:18:20.821 WARNING /tf-graph/tf-graph-scene.html.js:20: WARNING - Bad type annotation. Unknown type d3_zoom
/** @type {d3_zoom} d3 zoom object */
^
2017-07-26 22:18:20.822 WARNING /tf-graph/tf-graph-scene.html.js:60: WARNING - Bad type annotation. Unknown type d3.scale.ordinal
* @type {d3.scale.ordinal}
^
2017-07-26 22:18:20.822 WARNING /tf-graph/tf-graph-scene.html.js:67: WARNING - Bad type annotation. Unknown type tf.scene.Minimap
* @type {tf.scene.Minimap}
^
2017-07-26 22:18:20.823 WARNING 0 error(s), 7 warning(s), 63.1% typed

I guess it does not matter, right? It runs well in my browser.

Correct: these seven warnings are known. See https://github.com/tensorflow/tensorboard/pull/149 for more details.

Thanks a lot! @wchargin

You're welcome. :-)


SUBTASK: R53 backup system demo and documentation

Acceptance Criteria:

Documentation for manual restore []
System is demoed to team [X]

Manual restore process will need to be tested once a dev account is procured.


AppState: autorun not cleaned up

Working code:
Session.set('value', 1);
AppState.set('a', function() {
  console.log('Function called!');
  return Session.get('value');
});
Meteor.setTimeout(function() {
  Session.set('value', 2);
}, 1000);

Output, as expected:
Function called!
Function called!

Non-working code:
Session.set('value', 1);
AppState.set('a', function() {
  console.log('Function called!');
  return Session.get('value');
});
AppState.set('a', 'notAFunctionAnymore');
Meteor.setTimeout(function() {
  Session.set('value', 2);
}, 1000);

Unexpected output:
Function called!
Function called!

You shouldn't be using AppState to create random computations. Use Tracker.autorun for that and you can control when to stop them.

What random computation are you talking about?
If you think this issue is not worth fixing, you can call it a "limitation" and add something in the doc about it :-)

With random computation I mean, use function() only to retrieve a value using return, not to process other stuff not related to the value you are setting.
It took me a while but I have created a failing test related to this case:
https://github.com/worona/meteorflux/commit/9f351e96ab6668883345efab6ab1c3f483fb082c

This is quite complex with the current implementation, so I won't fix it for now until we see if this is really an issue or not.
If it is, I will bring it back.

Sounds reasonable.
My initial thought was to store the computation in the _deps tree and to recurse through children when a set occurs, in order to stop any computation. But you probably thought about this already.

Having something in the doc about this would be nice (maybe in the Possible improvements paragraph), so that we don't forget about it.


Adding Rigging for e2e tests.

And github actions for ci.
Note: this is not working yet. Don't expect it to pass e2e. Still need to figure out how to get the upstream operator for RabbitMQ to get installed into kind here.

/lgtm
/approve


Incorrect ANF terminology used

Geert van Teylingen, Azure NetApp Files Product Manager here.
Reviewing this page turns out to expose too much detail on how the Azure NetApp Files service is built.
Typically we do not want to expose constructs like "LIF" and "SVM" to the general public, nor that the service is built on "NetApp systems" in the level of detail.
Hence we'd need to have some paragraphs reworded to ensure everything stays in line with the way the service is built and brought to market. Current wording is causing lots of confusion and increase in support cases. Which doc owner can I work with to discuss and has this out? I can be reached at<EMAIL_ADDRESS>
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a770df7f-77e3-a9ba-727a-7b6925a78a3d
Version Independent ID: bb599f80-c0e8-65d8-4634-567fa64835d8
Content: SAP HANA Azure virtual machine ANF configuration - Azure Virtual Machines
Content Source: articles/virtual-machines/workloads/sap/hana-vm-operations-netapp.md
Service: virtual-machines-sap
GitHub Login: @msjuergent
Microsoft Alias: juergent

Hi, we are investigating your issue and will update you shortly.
Best,
James

Thanks Juergen, these we very welcome changes. Support teams were struggling with answering questions about LIFs and SVMs… 😊
After speaking to Bernd there are a few additional changes we’d like to recommend for this document, hope you’re OK supporting us with those as well…:
--- included message
Under: https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/hana-vm-operations-netapp#important-considerations

The throughput of an Azure NetApp volume is a function of the volume quota and Service level, as documented in Service level for Azure NetApp Fileshttps://docs.microsoft.com/en-us/azure/azure-netapp-files/azure-netapp-files-service-levels. When sizing the HANA Azure NetApp volumes, make sure the resulting throughput meets the HANA system requirements. Alternatively consider using a manual QoS capacity poolhttps://docs.microsoft.com/azure/azure-netapp-files/manual-qos-capacity-pool-introduction where volume capacity and throughput can be configured and scaled independently (SAP HANA specific example herehttps://docs.microsoft.com/azure/azure-netapp-files/azure-netapp-files-service-levels#throughput-limit-examples-of-volumes-in-a-manual-qos-capacity-pool)

…
Under: https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/hana-vm-operations-netapp#sizing-for-hana-database-on-azure-netapp-files
The table below demonstrates that it could make sense to create a large “Standard” volume to store backups and that it does not make sense to create a “Ultra” volume larger than 12 TB because the maximal physical WRITE bandwidth capacity of a single volume would be exceeded.
The maximum write throughput for a volume and a single Linux session is between 1.2 and 1.4 GB/s. If you require more write throughput for /hana/data, you can use SAP HANA data volume partitioning to stripe the I/O activity during data reload or HANA save points across multiple HANA data files that are located on multiple NFS shares. To improve read throughput the NFS nconnect mount optionhttps://docs.microsoft.com/azure/azure-netapp-files/performance-linux-mount-options#nconnect can be used. For more details on Azure NetApp Files Linux performance and nconnect read Linux NFS mount options best practices for Azure NetApp Fileshttps://docs.microsoft.com/en-us/azure/azure-netapp-files/performance-linux-mount-options. For more details on HANA data volume striping read these articles:
…
The table should be changed with a footnote added Throughput*

write or single connection read throughput (in case NFS mount option nconnect is not used) limits

…
Since all three KPIs are demanded, the /hana/data volume needs to be sized toward the larger capacity to fulfill the minimum read requirements. When using manual QoS capacity pools, size and throughput of the volumes can be defined independently. Since both capacity and throughput are taken from the same capacity pool, the pool‘s service level and size must be large enough to deliver the total performance (see example herehttps://docs.microsoft.com/en-us/azure/azure-netapp-files/azure-netapp-files-service-levels#throughput-limit-examples-of-volumes-in-a-manual-qos-capacity-pool)
…
For HANA systems which are not requiring high bandwidth the ANF volume throughput can be lowered by either a  smaller volume size or - in case of manual QoS - adjusting the throughput directly.
…
To meet the SAP minimum throughput requirements for data and log, and according to the guidelines for /hana/shared, the recommended sizes - when using an auto QoS capacity pool - would look like:
…
Under https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/hana-vm-operations-netapp#backup:
SAP HANA supports:

Storage-based snapshot backup support for single container system with SAP HANA 1.0 SPS7 and higher
Storage-based snapshot backup support for Multi Database Container (MDC) HANA environments with a single tenant with SAP HANA 2.0 SPS1 and higher
Storage-based snapshot backup support for Multi Database Container (MDC) HANA environments with multiple tenants with SAP HANA 2.0 SPS4 and higher

….
Available solutions for storage snapshot based application consistent backup:

Microsoft Azure Application Consistent Snapshot tool (AzAcSnap) is a command-line tool that enables data protection for third-party databases by handling all the orchestration required to put them into an application consistent state before taking a storage snapshot, after which it returns them to an operational state. AzAcSnap supports snapshot based backups for HANA Large Instance as well as Azure NetApp Files. See What is Azure Application Consistent Snapshot toolhttps://docs.microsoft.com/en-us/azure/azure-netapp-files/azacsnap-introduction for more details
For users of Commvault backup products, another option is Commvault IntelliSnap V.11.21 and later. This or later versions of Commvault offer Azure NetApp Files snapshot support. The article Commvault IntelliSnap 11.21https://documentation.commvault.com/11.21/essential/116350_getting_started_with_backup_and_restore_operations_for_azure_netapp_file_services_smb_shares_and_nfs_shares.html provides more information.

With kind regards/Met vriendelijke groet,
@.***
Geert van Teylingen
Azure NetApp Files Product Manager
Mobile: +31646234500 – Email<EMAIL_ADDRESS>|<EMAIL_ADDRESS>https://azure.microsoft.com/services/netapp/https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fnetapp%2F&data=02|01|b-gevant%40microsoft.com|dc8b62206c2c43b4244008d850d64928|72f988bf86f141af91ab2d7cd011db47|1|0|637348228564525803&sdata=L8gK1JdEli7qXS4ykiX%2F2GKvHqIXM9K1ebDe8FsM%2Fd0%3D&reserved=0
Azure NetApp Files documentation found herehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-netapp-files%2F&data=02|01|b-gevant%40microsoft.com|dc8b62206c2c43b4244008d850d64928|72f988bf86f141af91ab2d7cd011db47|1|0|637348228564525803&sdata=08XnNk9FfQSxIP2JN5Eh0Yh%2BFS09Wbu%2Bqfq6q%2F0vhIU%3D&reserved=0
From: Juergen Thomas @.>
Sent: Thursday, 26 August, 2021 06:22
To: Geert van Teylingen (NETAPP INC) @.>; MicrosoftDocs/azure-docs @.>; MicrosoftDocs/azure-docs @.>
Cc: Author @.***>
Subject: RE: [MicrosoftDocs/azure-docs] Incorrect ANF terminology used (#79557)
Done Geeert,
Hope when you wake up and check that the modified content is released already. PR just merged.
Cheers  Juergen
From: Geert van Teylingen (NETAPP INC<EMAIL_ADDRESS>Sent: Wednesday, August 25, 2021 2:22 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Juergen Thomas<EMAIL_ADDRESS>Cc: Author<EMAIL_ADDRESS>Subject: RE: [MicrosoftDocs/azure-docs] Incorrect ANF terminology used (#79557)
Hi Juergen, thanks for reaching out. Few terms of concern used are “LIF” and “SVM”. We don’t (want to) expose these terms as they raise AFF/ONTAP on-prem type expectations, hence they’re no such constructs in ANF.
So here’s a few suggested changes:
Under https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/hana-vm-operations-netapp#sizing-for-hana-database-on-azure-netapp-fileshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Fworkloads%2Fsap%2Fhana-vm-operations-netapp%23sizing-for-hana-database-on-azure-netapp-files&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964465231|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=EZehlPFl%2B9nLsY3LJFhXNIbjSeVv%2BtlPkCaAZ4GHKPE%3D&reserved=0:
The throughput of an Azure NetApp volume is a function of the volume size and Service level, as documented in Service levels for Azure NetApp Fileshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-netapp-files%2Fazure-netapp-files-service-levels&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964475187|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=UqI9whHl0eFiJOv3vNUiNYxolXn0Nx7QjbSgMKRhvco%3D&reserved=0.
Important to understand is the performance relationship the size and that there are physical limits for a storage endpoint of the service. Each storage endpoint will be dynamically injected into the Azure NetApp Files delegated subnethttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-netapp-files%2Fazure-netapp-files-delegate-subnet&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964475187|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=8maaMXIgj1y%2Blz1N7iEbWdoQPjvxtnFYZXUaw9QY4rw%3D&reserved=0 upon volume creation and receive an IP address. Azure NetApp Files volumes can – depending on available capacity and deployment logic – share a storage endpoint.
The table below demonstrates that it could make sense to create a large “Standard” volume to store backups and that it does not make sense to create a “Ultra” volume larger than 12 TB because the maximum bandwidth capacity of a single volume would be exceeded.
The maximum write throughput for a volume and a single Linux session is between 1.2 and 1.4 GB/s. If you require more throughput for /hana/data, you can use SAP HANA data volume partitioning to stripe the I/O activity during data reload or HANA savepoints across multiple HANA data files that are located on multiple NFS shares. For more details on HANA data volume striping read these articles:
Under https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/hana-vm-operations-netapp#volumes-and-ip-addresses-and-capacity-poolshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Fworkloads%2Fsap%2Fhana-vm-operations-netapp%23volumes-and-ip-addresses-and-capacity-pools&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964485143|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=mTFa6HV1iBRkpc3wM1x%2Br0n%2BpgoAk%2BPDFx7dfiEDVQM%3D&reserved=0:
With ANF, it is important to understand how the underlying infrastructure is built. A capacity pool is only a construct which provides a capacity and performance budget and unit of billing, based on capacity pool service levelhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-netapp-files%2Fazure-netapp-files-cost-model&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964485143|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=d0QPX0HqPB7cCOHJNAaawy3lbZbakGR1mToii%2FzdFoc%3D&reserved=0. A capacity pool has no physical relationship to the underlying infrastructure. If you create a capacity pool only a shell is created which can be charged, not more. When you create a volume on the service, a storage endpoint is created. A single IP address is assigned to this storage endpoint to provide data access to the volume. If you create several volumes, all the volumes are distributed across the underlying bare metal fleet, tied to this storage endpoint over this multi-controller NetApp cluster. Even if you get only one IP the data is distributed over several controllers. ANF has a logic that automatically distributes customer workloads once the volumes or/and capacity of the configured storage reaches an internal pre-defined level. You might notice such cases because a new storage endpoint, with a new IP address, gets created automatically to access the volumes. The ANF service does not provide customer control over this distribution logic.
##Log volume and log backup volume The “log volume” (/hana/log) is used to write the online redo log. Thus, there are open files located in this volume and it makes no sense to snapshot this volume. Online redo logfiles are archived or backed up to the log backup volume once the online redo log file is full or a redo log backup is executed. To provide reasonable backup performance, the log backup volume requires a good throughput. To optimize storage costs, it can make sense to consolidate the log-backup-volume of multiple HANA instances. So that multiple HANA instances leverage the same volume and write their backups into different directories. Using such a consolidation, you can get more throughput with since you need to make the volume a bit larger.
The same applies for the volume you use write full HANA database backups to.
With kind regards/Met vriendelijke groet,
@.***
Geert van Teylingen
Azure NetApp Files Product Manager
Mobile: +31646234500 – Email<EMAIL_ADDRESS>|<EMAIL_ADDRESS>https://azure.microsoft.com/services/netapp/https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fnetapp%2F&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964485143|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=wSecQbST2OFuHS7B62N8z8OaCRck06yPGn4cIbLCS%2Fk%3D&reserved=0
Azure NetApp Files documentation found herehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-netapp-files%2F&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964495101|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=kQXRCJ62wmvnicjXH%2B1obPVtPampuGe1wPAI2NHSjXA%3D&reserved=0
From: Juergen Thomas<EMAIL_ADDRESS>Sent: Wednesday, 25 August, 2021 20:32
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Geert van Teylingen (NETAPP INC<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Incorrect ANF terminology used (#79557)
Geert, you can work with me. Please send me your suggestions
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F79557%23issuecomment-905775463&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964495101|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=IN4w326hF1KaXPqoe6tk4W8l5HAjc7MUyTWP6RkAANg%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAO3RWIRTEF4SQUHWI2XMMDTT6UZLDANCNFSM5B6DF74Q&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964505057|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=UcZCyHIE7pynDCG1hE9UGIwsizWqrVGNV3SMn2f1fX4%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964505057|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yq7VM%2BfG%2BO9O1zMNcaut7Dk1AZ5OHhcPOHD1IGBYWdo%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26utm_campaign%3Dnotification-email&data=04|01|b-gevant%40microsoft.com|01327ba6e6ec4f001ab308d96848fc4b|72f988bf86f141af91ab2d7cd011db47|1|0|637655484964515012|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=I%2F0KX2wnvpAGamFjj%2FLbq%2FLC9oXyqgYCXhFrQrwhIEg%3D&reserved=0.

@gvanteylingen It looks like the original issue was solved, so I'm going to close this request. Please see my Teams message if you need help with making further changes to the documentation. Thanks!
#please-close


How to use short mode names?

I would like to use short mode names, is there a way of doing that?
I know that the modes are comming from data.lua and in this line  display_names are being called but I don't know a way of changing that.
Thanks for this awesome plugin. :heart:

See this TJ comment


libjpeg8 libjpeg8-dev 安装时找不到

libjpeg8 在debian8安装时提示找不到，Unable to locate package libjpeg8,可以用libjpeg-dev代替
libjpeg8-dev安装时提示如下：
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libjpeg8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libjpeg62-turbo-dev

不好意思，刚查了一下，debian 7是用的这两个包


Mark tokens as expired instead of deleting them

Fixes https://github.com/matrix-org/sliding-sync/issues/305
This PR changes the following:

adds a expired column which defaults to false
Sets the expired flag when we receive a 401 from upstream
when setting up a connection and we know about the hash, but it is expired, returns 401 to the client
starts a timer to remove expired tokens

With the failing test, I'm wondering the same as @DMRobertson here #302 (comment) The new test added in #302 is happy here, but the "old" one is failing.

This isn't quite right. The failing test is TestPollersCanBeResumedAfterExpiry. The tests referred to in #302 are TestPollerExpiryEnsurePollingRace and TestPollerExpiryEnsurePollingRaceDoesntWedge.
The failing test is 401ing alice's token because it is old as per comments:
// Inject an old token from Alice and a new token from Bob into the DB.

It then calls h.callbacks.OnExpiredToken(context.Background(), hashToken(p.accessToken), p.userID, p.deviceID) due to the test calling:
	t.Log("Manually trigger a poller cleanup.")
	v3.h2.ExpireOldPollers()

So the token for alice will be marked as expired in the DB in this PR, hence the 401. The failing section of test is:
	t.Log("Alice makes a new sliding sync request")
	res := v3.mustDoV3Request(t, aliceToken, sync3.Request{
		Extensions: extensions.Request{
			AccountData: &extensions.AccountDataRequest{
				Core: extensions.Core{
					Enabled: &boolTrue,
				},
			},
		},
	})

	t.Log("Alice's poller should have been polled.")
	v2.waitUntilEmpty(t, aliceToken)

Which makes sense as the expired aliceToken won't hit /whoami or anything anymore, it'll just immediately 401. The test needs to be updated to use a new token for Alice.

@kegsay is it still worth taking a look at this or can we close this?

I think we can close this for now. We may want to revisit this later on.


Circular import

I'm having an issue with circular imports. As described in the documentation, I have a ModelIndex defined for a model in app_name/bungiesearch_indices.py. I necessarily import the model in bungiesearch_indices.py.
Also as described in the documentation, I do from "bungiesearch.managers import BungiesearchManager" in app_name/models.py and set objects = BungiesearchManager() on the relevant model.
In my settings.py, I have  BUNGIESEARCH setting with an INDICES key that points to 'appname.bungiesearch_indices'.
When my project loads, my model is imported, which tries to import BungiesearchManager, which (by loading Bungiesearch in bungiesearch/init.py) tries to load the indices. Trying to load the indices requires loading my model, which requires BungiesearchManager to be imported, etc.
If I remove the BungiesearchManager import (and the objects = BungiesearchManager()), everything loads fine, but then I can't use BungiesearchManager on the models.
Is there a solution to this? Normal solutions to circular imports (like importing inside a function) don't work in this case.

What version of Django are you using? Bungiesearch does not work with Django >= 1.10.
Can you also provide the tree of your project just to have a better idea as to why this circular import happens? Thanks


Mask quality

A robust policy would have a minimum levels of mask quality and fit. Eg "KF94 or better" , "well-fitted", "fit-tested". As written, baggy cloth masks would meet the standard.
Recommended: minimum of a medical mask for the "some effort" level, minimum of N95 for adults and KF94 for minors for the robust level.

Oh yes, that's a great idea, thank you! We're looking at making the overall grading more granular, perhaps by splitting "Efforts Made" into "Some Efforts Made" and "Significant Efforts Made," and I think your suggestion here maps neatly into a Some/Significant/Robust grading.


Upgrade Azure SDK to latest resource manager SDK

Signed-off-by: Ze Chen<EMAIL_ADDRESS>This change is to upgrade the Azure management modules SDK (services//mgmt/) to Azure resource management SDK (sdk/resourcemanager//arm).
This is the migration guide I followed to make this change:
https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/MIGRATION_GUIDE.md

Thank you so much for doing this @zechenbit
Could you use a replace statement in inletsctl/inlets-operator in go.mod and try this out end to end?
https://thewebivore.com/using-replace-in-go-mod-to-point-to-your-local-module/
If you're participating in Hacktoberfest, I'll add that topic to this repo so that you can get a credit towards your 4 PRs and a free t-shirt too.
Will there be any differences to the docs? https://docs.inlets.dev/reference/inletsctl/#example-usage-with-azure
Alex

Thanks for the tip about go.mod replacement. I have tested and updated the PR description about how it was tested.
Regarding the doc, this PR itself does not make any change. However, as you might know, we need to update the command to create the Azure auth file, this should have done sooner and not related to this PR:
az ad sp create-for-rbac --role Contributor --scopes "/subscriptions/<subscript id>" --sdk-auth > ~/client_cred.json

Compared to the current one on the docs (which is not working anymore):
az ad sp create-for-rbac --sdk-auth > ~/Downloads/client_credentials.json

I'm happy to update the doc as well if you can point me to the GitHub URL to modify.
Regarding Hacktoberfest, I didn't know. Looks like a fun thing to do. So yeah, please add.


Proofs in log files

I am not seeing attempted proofs in log files. I have changed log level to INFO. Any suggestions?

firstly did you restart the application after changing log level?

I did. I am seeing INFO level log entries just none that show attempted proofs or eligible plots.

I restarted harvester and I am getting proofs now.


(WIP) Fix #275, ES comment cleanup

Describe the contribution
Draft to consider for comment updates (remove end, remove function name)
Fix #275
Testing performed
None
Expected behavior changes
None
System(s) tested on
N/A
Additional context
None
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

Slightly simpler commenting pattern (remove function name comment, end function comment, EOF comment no longer really necessary) - looking for CCB suggestions or concurrance

@skliper what did we agree to for this?

@astrogeco Just that the pattern was OK with the addition of an obvious delimiter.  I'll work the real change in the future (leave as WIP/Draft).


datetime serialisation will struggle with microseconds

creating a datetime object within MZQC object context containing microseconds will result in serialisation failure.

e.g.:
ValueError: unconverted data remains: .427994


No module named 'preprocessing'

ModuleNotFoundError: No module named 'preprocessing'

How to resolve this issue?

open Anaconda prompt and install
pip install preprocessing


Decimal places when number format

Default decimal place is 2, I want to change it depending on variable, is it possible?
cell.v = parseFloat(cell.v),
cell.t = 'n';
cell.z = XLSX.SSF._table[2]; // 0.00

@karaxuna if you want to override a specific format, you can make your own:
delete cell.w;
cell.z = "0.0000";
//XLSX.utils.format_cell(cell); // uncomment if you want to see the value.

Test this out and please reopen the issue if you have any problems

I'm using utils.aoa_to_sheet and having trouble overriding the default setting. @reviewher any help? I don't seem to have access to the actual cells themselves.


Fixed Issue #49 - Deleted files show up in Gallery

Hey @pawank0411,
Fixed Issue #49 - Deleted files show up in Gallery
Please let me know whether this PR meets your expectations. Please let me know if I had to do something better...
Thank You

@VishnuSanal Thank for your PR.


Budge Pecan window to reveal Basemaps

Related Issues
When  #4305 is fixed, this probably won't be an issue
Context
Pecan finds many maps, I like the suggestions, I don't want to close the window just to keep the suggestions open as a viewing option, but there is no way to collapse them so I can change my basemap.
Process

(in my case) Import Twitter data with 2 hashtags
Pecan finds 17 maps! <- great
I test one of the suggested maps ( torque)
I can't change my basemap :(

Expected result
I would like a way to re-trigger the pecan suggestions, so that I can collapse the "17 maps found!" modal and change my (now obscured) basemap picker tool without losing those suggestions.
Current result
I have to forfeit basemap experiments until I'm willing to close Pecan Cookies.
Possible Fix

have a 'minimize pecan' modal option (next to the "X" to close)
move pecan modal window slightly above the basemap picker, so both are accessible at the same time
fix the related issue listed below to allow for re-triggering pecan

budge-pecan screenshot

Thanks @auremoser. This will be fixed in the new editor layout. :)


Users contracted for project loses ability to view project they are contracted for in their dashboard

Prerequisites

[x] I've searched for existing issues

Describe the bug
Removing community connector or Accessibility Consultant role from an individual who is contracted for projects, the individual loses ability to view "Project I'm contracted for" option from their dashboard.
To Reproduce
Steps to reproduce the behavior:

Log into an account that is contracted for a project.
Update their role to not have either community connector nor accessibility consultant.
Go to Dashboard
See that the "Project I'm contracted for" option is not present.

Expected behavior
User should still be able to see "Project I'm contracted for" option on their dashboard.

This should also apply to the tabs on the projects page as well.

Completed in the above pull request


Fix for overshooting end frame when FPS is low

Addresses issue of overshooting the ending frame of an AnimatorTimeline on low-performing devices when the MovieClip's loop property is true and the end frame of the animation is also the last frame of the MovieClip's Timeline.
This isn't my favorite solution for this problem. I think the right way to deal with this would be to make the Animator or AnimatorTimeline responsible for advancing the MovieClip's Timeline, but that seems like it would be a relatively larger change, and I'm assuming there's a reason the Animator wasn't made that way in the first place.

Tests pass locally for me - fluke on Jenkins?


sql: dont read dbstat by default

this is debug information and can be enabled to be collected.
moreover reading dbstat frequently can interfere with other workloads.

bors merge