Error while install tensorflow via recommended method on Getting Started guide

I'm having trouble install the Tensorflow engine via  conda and pip3. I'm pasting the information regarding the python toolchain and the system I'm trying to install on.
❯ conda install -c conda-forge tensorflow
Fetching package metadata .........
Solving package specifications: ..........

Package plan for installation in environment /Users/eklavya/anaconda:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    tensorflow-1.0.0           |           py35_0        32.7 MB  conda-forge

The following NEW packages will be INSTALLED:

    mock:       2.0.0-py35_0  conda-forge
    pbr:        1.10.0-py35_0 conda-forge
    protobuf:   3.2.0-py35_0  conda-forge
    tensorflow: 1.0.0-py35_0  conda-forge

The following packages will be SUPERCEDED by a higher-priority channel:

    conda:      4.2.13-py35_0             --> 4.2.13-py35_0 conda-forge
    conda-env:  2.6.0-0                   --> 2.6.0-0       conda-forge

Proceed ([y]/n)? y

Fetching packages ...
An unexpected error has occurred.#####################################################                 | ETA:  0:02:21  50.21 kB/s
Please consider posting the following information to the
conda GitHub issue tracker at:

    https://github.com/conda/conda/issues

Current conda install:

               platform : osx-64
          conda version : 4.2.13
       conda is private : False
      conda-env version : 4.2.13
    conda-build version : 1.21.3
         python version : 3.5.2.final.0
       requests version : 2.10.0
       root environment : /Users/eklavya/anaconda  (writable)
    default environment : /Users/eklavya/anaconda
       envs directories : /Users/eklavya/anaconda/envs
          package cache : /Users/eklavya/anaconda/pkgs
           channel URLs : https://repo.continuum.io/pkgs/free/osx-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/pro/osx-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : None
           offline mode : False

`$ /Users/eklavya/anaconda/bin/conda install -c conda-forge tensorflow`

    Traceback (most recent call last):
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/requests/packages/urllib3/response.py", line 228, in _error_catcher
        yield
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/requests/packages/urllib3/response.py", line 310, in read
        data = self._fp.read(amt)
      File "/Users/eklavya/anaconda/lib/python3.5/http/client.py", line 448, in read
        n = self.readinto(b)
      File "/Users/eklavya/anaconda/lib/python3.5/http/client.py", line 488, in readinto
        n = self.fp.readinto(b)
      File "/Users/eklavya/anaconda/lib/python3.5/socket.py", line 575, in readinto
        return self._sock.recv_into(b)
      File "/Users/eklavya/anaconda/lib/python3.5/ssl.py", line 929, in recv_into
        return self.read(nbytes, buffer)
      File "/Users/eklavya/anaconda/lib/python3.5/ssl.py", line 791, in read
        return self._sslobj.read(len, buffer)
      File "/Users/eklavya/anaconda/lib/python3.5/ssl.py", line 575, in read
        v = self._sslobj.read(len, buffer)
    socket.timeout: The read operation timed out

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/requests/models.py", line 664, in generate
        for chunk in self.raw.stream(chunk_size, decode_content=True):
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/requests/packages/urllib3/response.py", line 353, in stream
        data = self.read(amt=amt, decode_content=decode_content)
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/requests/packages/urllib3/response.py", line 320, in read
        flush_decoder = True
      File "/Users/eklavya/anaconda/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/requests/packages/urllib3/response.py", line 233, in _error_catcher
        raise ReadTimeoutError(self._pool, None, 'Read timed out.')
    requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/fetch.py", line 421, in download
        for chunk in resp.iter_content(2**14):
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/requests/models.py", line 671, in generate
        raise ConnectionError(e)
    requests.exceptions.ConnectionError: HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/cli/install.py", line 405, in install
        execute_actions(actions, index, verbose=not context.quiet)
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/plan.py", line 643, in execute_actions
        inst.execute_instructions(plan, index, verbose)
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/instructions.py", line 135, in execute_instructions
        cmd(state, arg)
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/instructions.py", line 47, in FETCH_CMD
        fetch_pkg(state['index'][arg + '.tar.bz2'])
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/fetch.py", line 353, in fetch_pkg
        download(url, path, session=session, md5=info['md5'], urlstxt=True)
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/fetch.py", line 440, in download
        raise CondaRuntimeError("Could not open %r for writing (%s)." % (pp, e))
    conda.exceptions.CondaRuntimeError: Runtime error: Could not open '/Users/eklavya/anaconda/pkgs/tensorflow-1.0.0-py35_0.tar.bz2.part' for writing (HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.).

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/exceptions.py", line 479, in conda_exception_handler
        return_value = func(*args, **kwargs)
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/cli/main.py", line 145, in _main
        exit_code = args.func(args, p)
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/cli/main_install.py", line 80, in execute
        install(args, parser, 'install')
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/cli/install.py", line 422, in install
        raise CondaSystemExit('Exiting', e)
      File "/Users/eklavya/anaconda/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/cli/common.py", line 573, in json_progress_bars
        yield
      File "/Users/eklavya/anaconda/lib/python3.5/site-packages/conda/cli/install.py", line 420, in install
        raise CondaRuntimeError('RuntimeError: %s' % e)
    conda.exceptions.CondaRuntimeError: Runtime error: RuntimeError: Runtime error: Could not open '/Users/eklavya/anaconda/pkgs/tensorflow-1.0.0-py35_0.tar.bz2.part' for writing (HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.).

Environment info
Operating System:
❯ uname -a
Darwin abhinavs-MBP.Home 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64

Other attempts
I've also tried installing via the pip3 package
❯ pip3 install tensorflow
Collecting tensorflow
  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

~
❯ pip3 install tensorflow-gpu
Collecting tensorflow-gpu
  Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )
No matching distribution found for tensorflow-gpu

Tried the alternative suggested by the site
The first part is completed without issues
~
❯ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-0.12.1-py3-none-any.whl

~
❯ pip3 install --ignore-installed --upgrade $TF_BINARY_URL
Collecting tensorflow-gpu==0.12.1 from https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-0.12.1-py3-none-any.whl
  Downloading https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-0.12.1-py3-none-any.whl (83.6MB)
    100% |████████████████████████████████| 83.6MB 6.9kB/s
Collecting protobuf>=3.1.0 (from tensorflow-gpu==0.12.1)
  Downloading protobuf-3.2.0-py2.py3-none-any.whl (360kB)
    100% |████████████████████████████████| 368kB 71kB/s
Collecting six>=1.10.0 (from tensorflow-gpu==0.12.1)
  Using cached six-1.10.0-py2.py3-none-any.whl
Collecting wheel>=0.26 (from tensorflow-gpu==0.12.1)
  Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
    100% |████████████████████████████████| 71kB 78kB/s
Collecting numpy>=1.11.0 (from tensorflow-gpu==0.12.1)
  Downloading numpy-1.12.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (4.4MB)
    100% |████████████████████████████████| 4.4MB 50kB/s
Collecting setuptools (from protobuf>=3.1.0->tensorflow-gpu==0.12.1)
  Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB)
    100% |████████████████████████████████| 399kB 78kB/s
Collecting appdirs>=1.4.0 (from setuptools->protobuf>=3.1.0->tensorflow-gpu==0.12.1)
  Downloading appdirs-1.4.2-py2.py3-none-any.whl
Collecting packaging>=16.8 (from setuptools->protobuf>=3.1.0->tensorflow-gpu==0.12.1)
  Downloading packaging-16.8-py2.py3-none-any.whl
Collecting pyparsing (from packaging>=16.8->setuptools->protobuf>=3.1.0->tensorflow-gpu==0.12.1)
  Downloading pyparsing-2.1.10-py2.py3-none-any.whl (56kB)
    100% |████████████████████████████████| 61kB 63kB/s
Installing collected packages: six, appdirs, pyparsing, packaging, setuptools, protobuf, wheel, numpy, tensorflow-gpu
Successfully installed appdirs-1.4.2 numpy-1.12.0 packaging-16.8 protobuf-3.2.0 pyparsing-2.1.10 setuptools-34.3.1 six-1.10.0 tensorflow-gpu-0.12.1 wheel-0.29.0

But when I actually try to import tensorflow, the session raises the following error

~
❯ python3
Python 3.5.2 |Anaconda custom (x86_64)| (default, Jul  2 2016, 17:52:12)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
Traceback (most recent call last):
  File "/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
    _pywrap_tensorflow = swig_import_helper()
  File "/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
  File "/Users/eklavya/anaconda/lib/python3.5/imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "/Users/eklavya/anaconda/lib/python3.5/imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: dlopen(/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow.so, 10): Library not loaded: @rpath/libcudart.8.0.dylib
  Referenced from: /Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow.so
  Reason: image not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/__init__.py", line 60, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
    _pywrap_tensorflow = swig_import_helper()
  File "/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
  File "/Users/eklavya/anaconda/lib/python3.5/imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "/Users/eklavya/anaconda/lib/python3.5/imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: dlopen(/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow.so, 10): Library not loaded: @rpath/libcudart.8.0.dylib
  Referenced from: /Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow.so
  Reason: image not found

Error importing tensorflow.  Unless you are using bazel,
you should not try to import tensorflow from its source directory;
please exit the tensorflow source tree, and relaunch your python interpreter
from there.
>>>

Could you please clarify exactly which instructions you are following?
I infer from the error messages above that you are running on Mac.  Are you following the instructions here: https://www.tensorflow.org/install/install_mac ?
Your output suggests that you are alternating between a CPU-only installation and a GPU enabled installation which is unable to find the Nvidia CUDA8 libraries.  Could you double-check the section entitled 'Requirements to run TensorFlow with GPU support' on that page?

@prb12
Yes, you are right. I tried installing the the gpu version once the first install failed.
Moreover when I tried uninstalling the tensorflow it raised not installed error
❯ pip3 uninstall tensorflow
Cannot uninstall requirement tensorflow, not installed

Nor can I install tensorflow again.
❯ pip3 install tensorflow
Collecting tensorflow
  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

So, I ran the command again.

> sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py3-none-any.whl

And it install without issues.
But raises the same error while importing the tensorflow package in a session.

@abhi18av I suspect that your original problem was due to trying to import tensorflow while running python in a directory with a subdir named tensorflow?  Could you please try this in a different directory?
❯ pip3 uninstall tensorflow
Cannot uninstall requirement tensorflow, not installed

This is mentioned in the instructions on https://www.tensorflow.org/install/install_mac:

Optional. If Step 5 failed (typically because you invoked a pip version lower than 8.1), install TensorFlow in the active virtualenv environment by issuing a command of the following format...

@prb12 not really. I know that it mentions "using from diff directory" but I was trying to invoke it from the default shell log in - ~/

However it mentions that my pip is out of date.

   99% |████████████████████████████████| 39.3MB 50kB/s eta 0:0    99% |████████████████████████████████| 39.3MB 53kB/s eta 0:0    99% |████████████████████████████████| 39.3MB 50kB/s eta 0:0    100% |████████████████████████████████| 39.4MB 20kB/s
Requirement already up-to-date: six>=1.10.0 in /usr/local/lib/python3.5/site-packages (from tensorflow==1.0.0)
Requirement already up-to-date: wheel>=0.26 in /usr/local/lib/python3.5/site-packages (from tensorflow==1.0.0)
Requirement already up-to-date: numpy>=1.11.0 in /usr/local/lib/python3.5/site-packages (from tensorflow==1.0.0)
Requirement already up-to-date: protobuf>=3.1.0 in /usr/local/lib/python3.5/site-packages (from tensorflow==1.0.0)
Requirement already up-to-date: setuptools in /usr/local/lib/python3.5/site-packages (from protobuf>=3.1.0->tensorflow==1.0.0)
Requirement already up-to-date: packaging>=16.8 in /usr/local/lib/python3.5/site-packages (from setuptools->protobuf>=3.1.0->tensorflow==1.0.0)
Requirement already up-to-date: appdirs>=1.4.0 in /usr/local/lib/python3.5/site-packages (from setuptools->protobuf>=3.1.0->tensorflow==1.0.0)
Requirement already up-to-date: pyparsing in /usr/local/lib/python3.5/site-packages (from packaging>=16.8->setuptools->protobuf>=3.1.0->tensorflow==1.0.0)
Installing collected packages: tensorflow
  Found existing installation: tensorflow 1.0.0
    Uninstalling tensorflow-1.0.0:
      Successfully uninstalled tensorflow-1.0.0
Successfully installed tensorflow-1.0.0
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

~   725s

But the pip versions for both python2 and python3 are up to date. Can't figure out the issue.
❯ pip --version
pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)

~
❯ pip3 --version
pip 9.0.1 from /Users/eklavya/anaconda/lib/python3.5/site-packages (python 3.5)

~
❯

@prb12 I appreciate you time 👍

This thread is getting very confused by lots of different unrelated symptoms.
Let's focus on your comment from 5 days ago, where you successfully installed tensorflow and then when you tried to import tensorflow but got an error.
When I scroll your console output to the right, I notice that the long line with the error message is talking about trying to load the CUDA8.0 runtime:
ImportError: dlopen(/Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow.so, 10): Library not loaded: @rpath/libcudart.8.0.dylib
  Referenced from: /Users/eklavya/anaconda/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow.so
  Reason: image not found

Are you sure that a) you installed the CUDA8.0 runtime correctly, and b) are the cuda libraries on you LD_LIBRARY_PATH environment variable?

@prb12 , I am happy to report that the installation finally got working though I have no idea how.
The only difference there was between running the basic conda install again was different - updated - versions of pip3.

❯ conda install -c conda-forge tensorflow
Fetching package metadata ...........
Solving package specifications: .

Package plan for installation in environment /Users/eklavya/anaconda:

The following NEW packages will be INSTALLED:

    mock:       2.0.0-py35_0  conda-forge
    pbr:        1.10.0-py35_0 conda-forge
    protobuf:   3.2.0-py35_0  conda-forge
    tensorflow: 1.0.0-py35_0  conda-forge

The following packages will be SUPERCEDED by a higher-priority channel:

    conda:      4.3.14-py35_0             --> 4.2.13-py35_0 conda-forge
    conda-env:  2.6.0-0                   --> 2.6.0-0       conda-forge

Proceed ([y]/n)? y

tensorflow-1.0 100% |##################################################################################| Time: 0:00:26   1.31 MB/s

~   104s
❯ refresh

Able to import the library now.
~
❯ python3
Python 3.5.2 |Anaconda custom (x86_64)| (default, Jul  2 2016, 17:52:12)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
>>>

As far as the error regarding the lack of CUDA-8 installation, unfortunately I'm unable to update to macOS Sierra ( req. for CUDA-8 ) for a couple months more at least so I'll have to make do with the CPU version.
I'll close this issue as the issue has been sorted out, but please do comment your views on what might've caused the trouble in the first place.
The fact that it throws up some "Tensorflow library wasn't compiled with..." might be relevant for a future reader.

>>> import tensorflow as tf
>>>
>>> # Simple hello world using TensorFlow
...
>>> # Create a Constant op
... # The op is added as a node to the default graph.
... #
... # The value returned by the constructor represents the output
... # of the Constant op.
... hello = tf.constant('Hello, TensorFlow!')
>>>
>>> # Start tf session
... sess = tf.Session()
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
>>>
>>> # Run the op
... print(sess.run(hello))
b'Hello, TensorFlow!'
>>>

Thank you @prb12 @aselle  for you time and patience. I appreciate it 👍

Relevant issues
https://github.com/tensorflow/tensorflow/issues/7778
https://github.com/tensorflow/tensorflow/issues/7778

I am having same issues issues am i am not able to install  tensorflow on anaconda .Error my mac throws is  The directory '/Users/muktamani/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/muktamani/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
But I could sort out with conda install -c conda-forge tensorflow
Thanks @abhi18av

I've trying so many tools to install TensorFlow on my mac. But I finally installed with this conda environment. Thanks bro!

I had same problem when using virtulenv, but I installed tensorflow successfully after try "sudo pip install --default-timeout=100 future".


Parse error when granting update privilege

The following statement leads to a parse error
grant update on x to y;

Error message is:
mismatched input 'update' expecting {<EOF>, 'lock', CALL, DELETE, EXPLAIN_PLAN, INSERT, MERGE, UPDATE, SELECT}

also for
revoke update on x from y;

https://github.com/IslandSQL/IslandSQL/blob/v0.3.0/src/main/antlr4/ch/islandsql/grammar/IslandSqlScopeLexer.g4#L84
should be changed to
https://github.com/IslandSQL/IslandSQL/blob/v0.3.0/src/main/antlr4/ch/islandsql/grammar/IslandSqlLexer.g4#L128
The scope in IslandSqlScopeLexer is larger and identifies a portion of a grant/revoke statement as an update statement.


Gap between the keyboard and the input view

Hi!
There's a gap between the keyboard and the textview. What I tried to do was setting the autocorrectionType of the textView to UITextAutocorrectionTypeNo but the gap is still there. If you have the autocorrection "boxes" enabled (the words that appear above the keyboard) and you swipe up and down this area, the gap disappears but I'm not really sure how to fix it programmatically.
How can we remove this gap? Thanks!

I haven't been able to reproduce this on the sample project. What I noticed, in my app, is that this doesn't happen on the simulator, only on the devices D: I'm not really sure why this happens ):

Now we know what the problem is. We're also using a library called IQKeyboardManager, this library was causing this issue. I don't know if this is the correct place to put the solution but if you have this problem (and you're using IQKeyboardManager) just call this line in the AppDelegate:
[[[IQKeyboardManager sharedManager] disabledDistanceHandlingClasses] addObject:[SLKTextViewController class]];
Thanks!

@dzenbot , @Axort  : Huge thanks guys  👍


TypeError: Object.hasOwn is not a function, messageLevel: 3

[x] I have read the Getting Started section
[x] I have already searched for the same problem

Environment

i am currently testing on ios and google pixel 3 emulator
Description
Ios work great, as in, i load up the web app using the package, perform a sign in or sign up and the user has access to their dashboard.
But Android doesn't work at all in fact the console is returns this error:
 {message: TypeError: Object.hasOwn is not a function, messageLevel: 3} {message: Uncaught (in promise) TypeError: Object.hasOwn is not a function, messageLevel: 3}
Steps to reproduce
CODE

Stacktrace/Logcat

What is the URL of the webpage? Have you tried plugin version 6?

What is the URL of the webpage? Have you tried plugin version 6?

Hey boss, i just tried the beta package flutter_inappwebview: ^6.0.0-beta.31 and i did necessary migrations. This time, i got an additional error;


Update voice-design.md

removing high pri loc tag

Docs Build status updates of commit 0b4c013:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/voice-design.md
:white_check_mark:Succeeded
View

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


Update index adding WPA to made in india collection

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md

Which change are you proposing?
Updating the index for made in india collection with a Kubernetes autoscaler project.

Hey @alok87 ! Thanks for your contribution! 😃 Can you please fill up the pull request template from here completely and post it as a comment on this PR?

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[ ] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Including Opensource project Kubernetes WorkerPodAutoscaler to the list of open source of projects made in India.

Hi @alok87 ! Thanks for your contribution ❤. Unfortunately, as per our contribution guidelines, we don't allow self-promotion if you are a maintainer of the project:

Maintainers of a project cannot add a topic or collection for their own project. If a topic is popular enough to warrant inclusion, someone else will add or improve it.

We do this so that project gets curated if there is enough support/activity in the community. Thank you!


MTB: Add test for Default deny network connections across tenants

https://github.com/kubernetes-sigs/multi-tenancy/blob/master/benchmarks/e2e/tests/default_deny_net_conn/README.md

/assign @phoenixking25

closing as the project is being restructured

closing as the project is being restructured


HOWTO:  Solve the QT Wallet Not Syncing Issue

SOLUTION = UPDATE YOUR CONFIG FILE!
If your wallet is taking too long to sync, you need to update the config file especially if you just did a new install.  It should not take more than 30 -60 min.
I've attached the file here to help you.
bitconnect_config_win_updated.zip
Copy the config file to the data directory C:\ Users \ USERNAME\AppData\Roaming\bitconnect
The original file is called bitconnect.CONF.  Rename the updated file to the original name.  Replace the contents of the orginal file.
You can cut and paste the servers , replace the file or rename the file.  If you cannot find the AppData folder, you may have to Show Hidden Files.  Google your specific operating system on how to reveal hidden files.
If you don't want to download the file because of security issues, I'll put the servers below.  You will need to copy and paste them into the Config file.

Will this solution work for BitconnectX-QT?
I opened an issue on the bitconnectX github, any help would be appreciated.


Help

This isn't necessarily an issue with your code and I haven't tested anything for 1.21, but I wanted to add a sword with custom attributes like you did and couldn't find anything anywhere on the internet. I ended up copying your code with changing several of the numerical values and lo and behold, it didn't work. The recipe doesn't show up with an output and I get a "No key id in MapLike" error in a server console twice and a "missed input:" error once. It's definitely an issue with the attribute system perhaps with updating to 1.21 but I was wondering if you knew anything about it. Thanks!

I got it working! Sorry for bothering you I got hopeless for a second.
The old UUID system had been replaced by just "id": ""

I somehow forgot that 1.21 had dropped already. I just updated the datapack and resource pack to the newest version, sorry about that.


access denied to push repository to github

git remote add origin git@github.com:avinashbattu/gitpractiserepo-ecommerce.git
i am trying to add git remote add origin it is showing error 403 and it is telling file already exist
please tell me the solution

please check these things:

check your git repo from local as well as remote
check your git repo is added or not
currently you are trying to push the same repository path or not.


NHMD Vascular Plants BGR "Dania" comes before "None"

This is the order that is returned from the prepare-db.bat call.

Should ideally be fixed in the SQL.


[translation] add keywords to assist in searching for the package in pypi

Love this! Also, you'll know better for this package, but maybe also add translation or translate?

Initially I was thinking to stick with product names, but I don't think it could hurt to try some words which describe what the package does. Will add.


Doing this with gulp itself

Hi, there!
Scrolling through gulp's repo, I found that there's a way to run tasks in series and parallel with task's depedencies.
Or am I missing something? It worked here with Gulp 3.9.0.
Anyway, thanks for run-sequence. It's very handy.

First line in the README explains this:

Runs a sequence of gulp tasks in the specified order. This function is designed to solve the situation where you have defined run-order, but choose not to or cannot use dependencies.


Update "Switch to a preview channel to test upcoming APIs and features"

Updated with small fixes and clarifications.

Docs Build status updates of commit b2db35b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/set-preview-channel.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/set-preview-channel.md

Line 38, Column 273: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 38, Column 273: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution' will be broken in isolated environments. Replace with a relative link.

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

Docs Build status updates of commit 1e8c72b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/set-preview-channel.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/set-preview-channel.md

Line 38, Column 273: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 38, Column 273: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution' will be broken in isolated environments. Replace with a relative link.

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

Docs Build status updates of commit 372c502:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/set-preview-channel.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/set-preview-channel.md

Line 38, Column 273: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 38, Column 273: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution' will be broken in isolated environments. Replace with a relative link.

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

Docs Build status updates of commit 9e3021d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/set-preview-channel.md
:white_check_mark:Succeeded
View

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


fix CI docs of GitHub Actions

PR Type

Docs Pull Request

Hello.
I find the  document of Continuous integration and try  below the sample code of GitHub Actions within my repository.
---
name: Molecule Test
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 4
      matrix:
        python-version: [3.6, 3.7]

    steps:
      - uses: actions/checkout@v2
        with:
          path: molecule_demo
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install dependencies
        run: |
          sudo apt install docker
          python3 -m pip install --upgrade pip
          python3 -m pip install -r requirements.txt
      - name: Test with molecule
        run: |
          molecule test

However, while testing, docker failed.
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
Error: Process completed with exit code 1.

I changed the code sudo apt install docker to this code↓ refering Docker docs(https://docs.docker.com/engine/install/ubuntu/)
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
            curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
            sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
            sudo apt-get update
            sudo apt-get install docker-ce docker-ce-cli containerd.io

I try test again and succeed in the test.
So, I fix the Continuous integration doc of GitHub Action and pull request.
It is the first time to pull request and would be the strange way to do.
In addition, I'm not good at English. If it is not easy to read sentences, I'm sorry.
Given the advice, I would manage to fix it.
Thanks.

Thank you for giving advice. I agree your opinion and I would fix the doc.
However, I am not used to Git Hub pull & request and I closed the commits by mistakes.
So, I try to pull & request again. Sorry.


Please help to add new device (check new device file)

I have a new device power meter for 3 fases.
I try to make the new device file, but I did error. COuld you please check and show error.
name: Power Clamp
primary_entity:
  entity: sensor
  class: energy
  dps:
    - id: 131
      type: energy
      name: total energy
      mapping:
        - scale: 100
      unit: kWh
      class: total_increasing
    - id: 132
      type: current
      name: total current
      mapping:
        - scale: 1000
      unit: A
    - id: 133
      type: power
      name: active power
      unit: W
    - id: 135
      type: frequency
      name: frequency
    - id: 136
      type: temperature
      name: temperature
      mapping:
        - scale: 10
secondary_entities:
  - entity: sensor
    category: diagnostic
    name: Voltage A
    dps:
      - id: 101
        name: sensor
        type: voltage
        unit: V
        mapping:
          - scale: 10
  - entity: sensor
    category: diagnostic
    class: current
    name: Current A
    dps:
      - id: 102
        name: sensor
        type: current
        unit: A
        mapping:
          - scale: 10
  - entity: sensor
    category: diagnostic
    class: power
    name: Power A
    dps:
      - id: 103
        name: sensor
        type: power
        unit: W
  - entity: sensor
    category: diagnostic
    class: power_factor
    name: Power factor A
    dps:
      - id: 104
        name: sensor
        type: power_factor
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    class: energy
    name: Energy A
    dps:
      - id: 106
        name: sensor
        type: energy
        unit: kWh
        class: total_increasing
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    name: Voltage B
    dps:
      - id: 111
        name: sensor
        type: voltage
        unit: V
        mapping:
          - scale: 10
  - entity: sensor
    category: diagnostic
    class: current
    name: Current B
    dps:
      - id: 112
        name: sensor
        type: current
        unit: A
        mapping:
          - scale: 10
  - entity: sensor
    category: diagnostic
    class: power
    name: Power B
    dps:
      - id: 113
        name: sensor
        type: power
        unit: W
  - entity: sensor
    category: diagnostic
    class: power_factor
    name: Power factor B
    dps:
      - id: 114
        name: sensor
        type: power_factor
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    class: energy
    name: Energy B
    dps:
      - id: 116
        name: sensor
        type: energy
        unit: kWh
        class: total_increasing
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    name: Voltage C
    dps:
      - id: 121
        name: sensor
        type: voltage
        unit: V
        mapping:
          - scale: 10
  - entity: sensor
    category: diagnostic
    class: current
    name: Current C
    dps:
      - id: 122
        name: sensor
        type: current
        unit: A
        mapping:
          - scale: 10
  - entity: sensor
    category: diagnostic
    class: power
    name: Power C
    dps:
      - id: 123
        name: sensor
        type: power
        unit: W
  - entity: sensor
    category: diagnostic
    class: power_factor
    name: Power factor C
    dps:
      - id: 124
        name: sensor
        type: power_factor
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    class: energy
    name: Energy C
    dps:
      - id: 126
        name: sensor
        type: energy
        unit: kWh
        class: total_increasing
        mapping:
          - scale: 100

About device:
I check it on localtuya and mapping all dps:
"model": "Power Clamp",
"dps_strings": [
"101 (value: 2284)",
"102 (value: 1073)",
"103 (value: 191)",
"104 (value: 78)",
"106 (value: 251)",
"111 (value: 2354)",
"112 (value: 748)",
"113 (value: 47)",
"114 (value: 100)",
"116 (value: 267)",
"121 (value: 2350)",
"122 (value: 753)",
"123 (value: 149)",
"124 (value: 84)",
"126 (value: 517)",
"131 (value: 1036)",
"132 (value: 2574)",
"133 (value: 188)",
"135 (value: 50)",
"136 (value: 390)"
],
"entities": [
{
"id": 101,
"friendly_name": "F1_Voltage",
"unit_of_measurement": "V",
"device_class": "voltage",
"scaling": 0.1,
"platform": "sensor"
},
{
"id": 102,
"friendly_name": "Current",
"unit_of_measurement": "A",
"device_class": "current",
"scaling": 0.1,
"platform": "sensor"
},
{
"id": 111,
"friendly_name": "F2_Voltage",
"unit_of_measurement": "V",
"device_class": "voltage",
"scaling": 0.1,
"platform": "sensor"
},
{
"id": 121,
"friendly_name": "F3_Voltage",
"unit_of_measurement": "V",
"device_class": "voltage",
"scaling": 0.1,
"platform": "sensor"
},
{
"id": 102,
"friendly_name": "F1_Current",
"unit_of_measurement": "A",
"device_class": "current",
"scaling": 0.001,
"platform": "sensor"
},
{
"id": 112,
"friendly_name": "F2_Current",
"unit_of_measurement": "A",
"device_class": "current",
"scaling": 0.001,
"platform": "sensor"
},
{
"id": 122,
"friendly_name": "F3_Current",
"unit_of_measurement": "A",
"device_class": "current",
"scaling": 0.001,
"platform": "sensor"
},
{
"id": 103,
"friendly_name": "F1_Power",
"unit_of_measurement": "W",
"device_class": "power",
"platform": "sensor"
},
{
"id": 104,
"friendly_name": "F1_PowerFactor",
"device_class": "power_factor",
"scaling": 0.01,
"platform": "sensor"
},
{
"id": 106,
"friendly_name": "F1_Energy",
"unit_of_measurement": "kWh",
"device_class": "energy",
"scaling": 0.01,
"platform": "sensor"
},
{
"id": 113,
"friendly_name": "F2_Power",
"unit_of_measurement": "W",
"device_class": "power",
"platform": "sensor"
},
{
"id": 114,
"friendly_name": "F2_PowerFactor",
"device_class": "power_factor",
"scaling": 0.01,
"platform": "sensor"
},
{
"id": 116,
"friendly_name": "F2_Energy",
"unit_of_measurement": "kWh",
"device_class": "energy",
"scaling": 0.01,
"platform": "sensor"
},
{
"id": 123,
"friendly_name": "F3_Power",
"unit_of_measurement": "W",
"device_class": "power",
"platform": "sensor"
},
{
"id": 124,
"friendly_name": "F3_PowerFactor",
"device_class": "power_factor",
"scaling": 0.01,
"platform": "sensor"
},
{
"id": 126,
"friendly_name": "F3_Energy",
"unit_of_measurement": "kWh",
"device_class": "energy",
"scaling": 0.01,
"platform": "sensor"
},
                            }
                        ],
                        "product_key": "r64livttuufctble"

sensor entities must have a dps named "sensor". Your primary entity does not have one.  Also, dps names should not have spaces in them.

I did it! You may add new device in your collection.
name: Power Clamp
primary_entity:
entity: sensor
class: energy
dps:
- id: 131
type: integer
name: sensor
mapping:
- scale: 100
unit: kWh
class: total_increasing
secondary_entities:

entity: sensor
category: diagnostic
name: Voltage A
class: voltage
dps:

id: 101
name: sensor
type: integer
unit: V
mapping:

scale: 10

entity: sensor
category: diagnostic
class: current
name: Current A
dps:

id: 102
name: sensor
type: integer
unit: A
mapping:

scale: 1000

entity: sensor
category: diagnostic
class: power
name: Power A
dps:

id: 103
name: sensor
type: integer
unit: W

entity: sensor
category: diagnostic
class: power_factor
name: Power factor A
dps:

id: 104
name: sensor
type: integer
mapping:

scale: 100

entity: sensor
category: diagnostic
class: energy
name: Energy A
dps:

id: 106
name: sensor
type: integer
unit: kWh
class: total_increasing
mapping:

scale: 100

entity: sensor
category: diagnostic
name: Voltage B
class: voltage
dps:

id: 111
name: sensor
type: integer
unit: V
mapping:

scale: 10

entity: sensor
category: diagnostic
class: current
name: Current B
dps:

id: 112
name: sensor
type: integer
unit: A
mapping:

scale: 1000

entity: sensor
category: diagnostic
class: power
name: Power B
dps:

id: 113
name: sensor
type: integer
unit: W

entity: sensor
category: diagnostic
class: power_factor
name: Power factor B
dps:

id: 114
name: sensor
type: integer
mapping:

scale: 100

entity: sensor
category: diagnostic
class: energy
name: Energy B
dps:

id: 116
name: sensor
type: integer
unit: kWh
class: total_increasing
mapping:

scale: 100

entity: sensor
category: diagnostic
name: Voltage C
class: voltage
dps:

id: 121
name: sensor
type: integer
unit: V
mapping:

scale: 10

entity: sensor
category: diagnostic
class: current
name: Current C
dps:

id: 122
name: sensor
type: integer
unit: A
mapping:

scale: 1000

entity: sensor
category: diagnostic
class: power
name: Power C
dps:

id: 123
name: sensor
type: integer
unit: W

entity: sensor
category: diagnostic
class: power_factor
name: Power factor C
dps:

id: 124
name: sensor
type: integer
mapping:

scale: 100

entity: sensor
category: diagnostic
class: energy
name: Energy C
dps:

id: 126
name: sensor
type: integer
unit: kWh
class: total_increasing
mapping:

scale: 100

entity: sensor
category: diagnostic
class: current
name: Total current
dps:

id: 132
type: integer
name: sensor
mapping:

scale: 1000
unit: A

entity: sensor
category: diagnostic
class: power
name: Total active power
dps:

id: 133
type: integer
name: sensor
unit: W

entity: sensor
category: diagnostic
class: frequency
name: Frequency
dps:

id: 135
type: integer
name: sensor

entity: sensor
category: diagnostic
class: temperature
name: Temperature
dps:

id: 136
type: integer
name: sensor
mapping:

scale: 10

Device (Tuya Smart Life Single 3 Phase WiFi Energy KWH Meter 300A 200A 80A Clamp Current Transformer App Monitor Energy Record Power):

Is the model number PC321-TY?  I can find several different brands with this model number matching the above picture (or differing only in the plastic casing - ie added vent holes or chamfered edges).

I'll check User Manual later. At this moment I can provide information from Tuya-IOT - Get Device Information:
{
"result": {
"active_time":<PHONE_NUMBER>,
"category": "zndb",
"category_name": "Smart Electric Meter",
"create_time":<PHONE_NUMBER>,
"gateway_id": "",
"icon": "smart/icon/ay1515026431018saCFs/272462f25ade846b58feb0f74916530a.png",
"id": "xxx",
"ip": "xxx",
"lat": "xxx",
"local_key": "xxx",
"lon": "xxx",
"model": "PC321",
"name": "Power Clamp New House",
"online": false,
"owner_id": "xxx",
"product_id": "r64livttuufctble",
"product_name": "Power Clamp",
"sub": false,
"time_zone": "xxx",
"update_time": xx,
"uuid": "xxx"
},
"success": true,
"t": xxx,
"tid": "xxx"
It's look like you are right.
I make configuration file for one more device. How to transfer it for you? Inside this issue or open one more or may be any direct channel for you more friendly.

Open another issue for the device.  And please use three backticks to mark the start and end of the code block if you paste the yaml inline - otherwise there will be formatting changes.

This is included in the 0.18.0 release


Guide to send custom event to GA4 with GTM

I have a really bad time about how to send custom event to GA4 with GTM, so I will share to your guys.
TagManager.dataLayer({
    dataLayer: {
      event: 'print',
      position: 'floating action button',
    }
  })

After you have this code to send dataLayer to GTM but GA4 will not recognize it until you register it with tag.
so you need to register new trigger as a custom dataLayer event

but you cannot send payload with it until you register dataLayer variable to reference it

after that you can pass payload as a event parameter

credit: https://hume.dev/articles/custom-event-tracking-ga4/

Today (Sep/2022), is possible use GA4 with react-gtm-module ???


grsecurity: option to disable/loosen reverse path filtering

Motivation for this change
cjdns requires it disabled to work
Things done

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

[x] NixOS
[ ] macOS
[x] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cjdns requires it for one thing.

hmm, I'll change it to allow loose filtering too.

Don't worry, I'mma squash.

Note that we're already doing reverse path filtering by default using the rpfilter iptables module if the firewall is enabled.
It's a bit weird weird to have the definition of networking.forceReversePathFiltering on the grsecurity module. Does grsecurity enable the rp_filter sysctl by default?
Furthermore, having two options in NixOS is very confusing. I would suggest to always disable the rp_filter by default (mkDefault) as it just filters IPv4 traffic. The netfilter module has much more configurations options and features due to the fact that it is an iptables module.
@joachifm What's your opinion on this?

Ah, grsecurity does indeed enable it by default as well.
Is the iptables rpfilter configurable from nixos?

Yup, there is networking.firewall.checkReversePath and networking.firewall.logReversePathDrops.
Was the firewall disabled for your tests with cjdns?

ah damn, I somehow missed them. I guess because I was looking at the sysctls, I didn't think to look at iptables :)
Since this is implemented in two places, the firewall settings should set the sysctl setting too, I think. Do you concur? If so, I'll close the PR and start a new one.

Was the firewall disabled for your tests with cjdns?

No, it wasn't. I'm not entirely sure that the cjdns problem was due to reverse path filtering now; I made a bunch of changes to various things and it's working :) But I didn't change the firewall RP filter.

Looks to me like this is unrelated to grsecurity.

Not unrelated, because grsecurity changes the default for the sysctl rp_filter setting.


[StrawberryShake] AddScopedXClient

Summary
Adds a new method to the service collection extension to register the client as scoped as opposed to singleton.
Why?
This is so a client generated for a Blazor WebAssembly project can be shared with the server hosting it. Sharing it as opposed to use a newly generated client with NoStore. This way a developer can reuse components and services between client side rendering and server side prerending.
Initially I tried to get a PR for having a client generated with two modes, one for the WebAssembly client (noStore = false) and one for the server side Aspnet (noStore = true). However this proved too difficult because data types were generated differently and there was a lot of mapping involved (entityIds vs entities) so sharing the components was not easy.
With this new approach there's the side effect that entityIds are also generated on the server (unlike the noStore = true approach) and so cache hydration from a prerendered page is easier to accomplish.
A followup PR will implement prerendering, stream rendering, and cache hydration of the Blazor components, I already have a working PoC.
This is what the new method look like with all the namespaces removed:
public static IScopedClientBuilder<FooClientStoreAccessor> AddScopedFooClient(this IServiceCollection services, ExecutionStrategy strategy = ExecutionStrategy.NetworkOnly, global::System.Action<IServiceCollection>? configureClientServices = null)
{
    ServiceCollectionServiceExtensions.AddScoped(services, sp =>
    {
        var serviceCollection = new ServiceCollection();
        ConfigureClientDefault(sp, serviceCollection, strategy);
        if (configureClientServices is not null)
        {
            configureClientServices(serviceCollection);
        }

        return new ClientServiceProvider(ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(serviceCollection));
    });
    ServiceCollectionServiceExtensions.AddScoped(services, sp => new FooClientStoreAccessor(ServiceProviderServiceExtensions.GetRequiredService<IOperationStore>(ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)), ServiceProviderServiceExtensions.GetRequiredService<IEntityStore>(ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)), ServiceProviderServiceExtensions.GetRequiredService<IEntityIdSerializer>(ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)), ServiceProviderServiceExtensions.GetRequiredService<global::System.Collections.Generic.IEnumerable<IOperationRequestFactory>>(ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)), ServiceProviderServiceExtensions.GetRequiredService<global::System.Collections.Generic.IEnumerable<IOperationResultDataFactory>>(ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp))));
    ServiceCollectionServiceExtensions.AddScoped(services, sp => ServiceProviderServiceExtensions.GetRequiredService<GetPersonQuery>(ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)));
    ServiceCollectionServiceExtensions.AddScoped(services, sp => ServiceProviderServiceExtensions.GetRequiredService<OnPersonSubscription>(ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)));
    ServiceCollectionServiceExtensions.AddScoped(services, sp => ServiceProviderServiceExtensions.GetRequiredService<CreatePersonMutation>(ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)));
    ServiceCollectionServiceExtensions.AddScoped(services, sp => ServiceProviderServiceExtensions.GetRequiredService<FooClient>(ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)));
    ServiceCollectionServiceExtensions.AddScoped(services, sp => ServiceProviderServiceExtensions.GetRequiredService<IFooClient>(ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)));
    return new ScopedClientBuilder<FooClientStoreAccessor>("FooClient", services);
}

This is a proof of concept on how to implement cache hydration, stream rendering, and prerendering:
https://gist.github.com/repne/2646d29fff4c959a91bc7de8986b2882
In order to do this, the same strawberry client needs to be used on both server and client Blazor projects.

I have a draft PR that builds on top of this and adds the hydrate functionality and pre-rendering support: https://github.com/repne/hotchocolate/pull/1
Let me know if I'm on the right track and I will get it ready.


Add sprite_manager

[ ] Load sprite and split into a dictionary {pos: tile obj}

Block: 32*32 px
Screen: 14 * 16 blocks


Implement suggested fix for splitChildren prototype

Resolves bigspaceship/shine.js#9
Final solution proposed by @benjaminbojko

Merged into master and tagged as version 0.2.8. Thanks for your help on this!

 I'm glad I could help and I'm super pleased with how it looks on the site I'm building.

Great to hear that and curious to see the result when it's done!

Hi Benjamin, it's a while since but I've just remembered I was going to show you the result of your code on the site I was building. Well you can see it here.
Many thanks again for your work on shine.js!

@bravokiloecho Awesome! Glad to see it out in the wild and I love the samples you have, esp. the Beach one :)


Added sample for windows webapp for devops starter for github

@bishal-pdMSFT Could you please review and approve the PR.


Add bit hamming

*Issue #283,
Description of changes:
As I see #264  that add Hamming distance in custom scoring it is a great functionality. i see there is bit_hamming space space_bit_hamming in nmslib. i think we can add this into plugin.
i refer to the code space_bit_hamming and space_bit_hamming_test, may be we could add "SpaceBitVector" into plugin and support bit_hamming space which is no optimized index.
i also refer to PR: #161 which add no optimized index for "negdotprod", i see the nmslib's python_binding code python_binding_nmslib, may be we could add a "save_data" into plugin and can store index and dataset for "no optimized index".
so, i submit this PR.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @luyuncheng,
Thanks for the PR! I will take a look some time early next week. My concern about the "non-optimized" indices is that we will end up storing two different files for the HNSW structure in the Lucene index. I need to think about the implications of doing this some more.

Hi @luyuncheng,
Thanks for the PR! I will take a look some time early next week. My concern about the "non-optimized" indices is that we will end up storing two different files for the HNSW structure in the Lucene index. I need to think about the implications of doing this some more.

#161 in this PR, it Write footer for .dat file. I reuse this as "non-optimized" data storage.
As i checked the nmslib's code, When we add "non-optimized" data storage, K-NN plugin can support all nmslib's Space Types

@luyuncheng  Apologies, have not gotten a chance to look at this yet. Will review in January.

Previously, this PR using string to parse the bit vector, this may occupy too much memory!
As i checked the code: space_bit_hamming.h in nmslib, i think use a int32 array to represent a bit vector is better

Previously, this PR using string to parse the bit vector, this may occupy too much memory!
As i checked the code: space_bit_hamming.h in nmslib, i think use a int32 array to represent a bit vector is better

This Pr is put to hold. Please refer https://github.com/opendistro-for-elasticsearch/k-NN/issues/283#issuecomment-755598088

This Pr is put to hold. Please refer https://github.com/opendistro-for-elasticsearch/k-NN/issues/283#issuecomment-755598088


Support  (instead of only )

I’m not a line break tag expert and I don’t have any authority over the topic, but it seems that just
 is a pretty popular and well accepted form of using the line break tag. I actually thought this was a bug in the library since my line breaks weren’t working, but then I realized it explicitly doesn’t do anything on the line break tag open. I thought the fix would be to simply do the same thing we do on tag close, but it seems there’s more to it.
This is what the sample looks like right now, with a red box at the bottom so we can observe the bottom space of the text:

If I simply change the
 to a
 in the sample, this is what we get:

We lost the line break as expected, but for some reason now we have a line break at the end of the text. So if I proceed with the fix I had in mind, this is what I get:

Line break is back but 1. it’s just a single line break now for some reason, and 2. the mysterious line break in the end remains. I haven’t investigated it further and I thought I’d file the issue just in case this is already something known.

Thank you for the report, this will be fixed in the next release.
This is because currently, the line break is only handled when encountering the closing tag instead of when encountering the opening tag.

For the record, I developed the first version of the library using a different HTML parser which had a special treatment for the br tag so I didn't notice the issue during my initial tests.
In addition to the quick fix in the handler, I'll add a special case in the parser to handle the
 and
 tags differently, similarly to how Firefox handles them.


Add "Part" dividers to the book

Divide the book into two parts in the TOC:
Part 1

chapter 1
chapter 2
chapter 3

Part 2

chapter 4
chapter 5
chapter 6?

DONE!


[build] Use llvm matching value for CMake policy CMP0077

Set policy CMP0077 to NEW, which matches the value used by llvm. This prevents option() from overwriting an existing value. This also prevents a cmake warning from being printed.

@swift-ci smoke test


GROOVY-9391: Cannot cast or coerce super

It may still make sense to cast or coerce this (Java allows it), but super is a hard error (Java won't even parse).
https://issues.apache.org/jira/browse/GROOVY-9391

Looks okay to me.


Restoring website

The website has gone awry. So, we need to restore the website to its original form.
Label: Bonus
Points: up to 50

I will do it assign me, (make the website as it was before few days)
https://github.com/07sumit1002/CabRental/assets/140265777/bc78b8c1-9aea-4d27-bd59-a12bd6269d44
similar to this

@Yaser-123 go ahead and work on it


Crash Report: update failed for AnAction(nl.rubensten.texifyidea.action.sumatra.ForwardSearchAction) with ID=texify.sumatra.ForwardSearch: Could not initialize class nl.rubensten.texifyidea.run.SumatraConversation

Description
Stacktrace
Please paste the full stacktrace from the IDEA error popup

Duplicate of #424


Hi, in the step 6. Insert the data into production tables, would be better use CTAS instead SELECT..INTO ?

in the step 6. Insert the data into production tables, would be better use CTAS instead SELECT..INTO ?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: afd452e0-2a07-ab5c-ecc2-084f51734ccd
Version Independent ID: c67af172-f9fc-f9d1-4c6d-841751fdfb8b
Content: Design a PolyBase data loading strategy for dedicated SQL pool - Azure Synapse Analytics
Content Source: articles/synapse-analytics/sql/load-data-overview.md
Service: synapse-analytics
Sub-service: sql
GitHub Login: @joannapea
Microsoft Alias: joanpo

@zerocoollp
Thanks for your feedback! We will investigate and update as appropriate.

@zerocoollp
Thanks for your contribution. Please add your ideas in below link, so our production team can review it and update the same.
Ideas · Community (azure.com)


Check correct mirroring logic

          Here the icon is not mirrored when it should. But it makes me think if this actually exposing an issue either:

with our Icon implementation, when receiving "AutoMirrored" icons, it should not scale.
with our test code, when using "AutoMirrored" icons, it should not pass iconRtlMode = IconRtlMode.Mirrored.

Either way, we should check the results when running an app with a device in rtl.
Originally posted by @luizgrp in https://github.com/google/horologist/pull/1795#discussion_r1387722572

Testing here https://github.com/google/horologist/pull/1801

Related: https://github.com/google/horologist/issues/1803


feat: add event logging for query execution progress

During the query execution, we'll log the execution progress every min with elapsed time and progress percentage.

abandoned


Buffer is not defined

For anyone who comes across this problem: https://solana.stackexchange.com/questions/212/uncaught-referenceerror-buffer-is-not-defined-using-phantom-wallet-solana-and


[BUG] Backing Image with an invalid URL will result in faulty volume

Describe the bug
When creating volume with unhealthy status backing image, attaching will cause the volume in faulty status.
To Reproduce
Steps to reproduce the behavior:

Create a backing image with invalid url
Create a volume with the volume created in last step
Attach the volume

Expected behavior
There can be two checkpoints in the UX path:

Invalid URI format should be warned
Using unhealthy status should be notify or block(TBD)

Log

Environment:

Longhorn version: master-head (20211021)
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): kubectl
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: rke

cc @shuo-wu


Training on Waymo dataset

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (dev) or latest version (1.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
1.1x branch https://github.com/open-mmlab/mmdetection3d/tree/1.1
Environment
none
Reproduces the problem - code sample
none
Reproduces the problem - command or script
CUDA_VISIBLE_DEVICES=0 python tools/train.py configs/dfm/multiview-dfm_r101-dcn_16xb2_waymoD5-3d-3class.py --work-dir=work_dirs/test
Reproduces the problem - error message
11/16 07:14:24 - mmengine - INFO - Result has been saved to -/mmdetection3d/work_dirs/test/modules_statistic_results.json
-/mmdetection3d/mmdet3d/models/dense_heads/anchor3d_head.py:92: UserWarning: dir_offset and dir_limit_offset will be depressed and be incorporated into box coder in the future
warnings.warn(
11/16 07:14:45 - mmengine - INFO - Distributed training is not used, all SyncBatchNorm (SyncBN) layers in the model will be automatically reverted to BatchNormXd layers if they are used.
11/16 07:15:08 - mmengine - INFO - load 4352210 Car database infos
11/16 07:15:08 - mmengine - INFO - load 2037627 Pedestrian database infos
11/16 07:15:08 - mmengine - INFO - load 49518 Cyclist database infos
11/16 07:15:17 - mmengine - INFO - After filter database:
11/16 07:15:17 - mmengine - INFO - load 4078739 Car database infos
11/16 07:15:17 - mmengine - INFO - load 2037627 Pedestrian database infos
11/16 07:15:17 - mmengine - INFO - load 49518 Cyclist database infos
Traceback (most recent call last):
File "--/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args)  # type: ignore
File "-/mmdetection3d/mmdet3d/datasets/waymo_dataset.py", line 100, in init
super().init(
File "-/mmdetection3d/mmdet3d/datasets/kitti_dataset.py", line 65, in init
super().init(
File "-/mmdetection3d/mmdet3d/datasets/det3d_dataset.py", line 115, in init
super().init(
File "--/lib/python3.8/site-packages/mmengine/dataset/base_dataset.py", line 247, in init
self.full_init()
File "--/lib/python3.8/site-packages/mmengine/dataset/base_dataset.py", line 298, in full_init
self.data_list = self.load_data_list()
File "-/mmdetection3d/mmdet3d/datasets/waymo_dataset.py", line 181, in load_data_list
data_list = super().load_data_list()
File "--/lib/python3.8/site-packages/mmengine/dataset/base_dataset.py", line 435, in load_data_list
raise TypeError(f'The annotations loaded from annotation file '
TypeError: The annotations loaded from annotation file should be a dict, but got <class 'list'>!
During handling of the above exception, another exception occurred:
Additional information

It seems like a data loading problem. I wonder if it's because I am using 1.2 version waymo dataset. I tried to debug, and found many key dismatch problems in the latest 1.1 branch code with the loaded data structure.

We update our info data structure, and please use tools/dataset_converters/update_infos_to_v2.py to update your info, if it's generated by 1.0.0rcx code.

Thanks a lot. I know for sure that there should be a converter tool somewhere, but can't find it in the doc.


Installation script for Windows does not install Chrome extension automatically

See the changes to install.sh in this commit: https://github.com/dannyvankooten/browserpass/commit/1817c088350f3ef213806a3a776d97af90c55282
The same behavior needs to be replicated in install.ps1 so that Chrome extension is installed automatically.
It would be awesome if someone who has Windows around could submit a tested PR 🙂
@qbit or @chrboe, maybe? :smile: :pray:

Closing due to inactivity and lack of interest.


[azure-storage-blob] list_blobs() cannot work with include=metadata

Package Name:  azure-storage-blob
Package Version: 12.4.0-b1
Operating System: Windows
Python Version: 3.7.7

Describe the bug
A clear and concise description of what the bug is.
When listing blobs in a container with metadata information, as description mentioned and track1 behavior, we could add --include=metadata to get such  results.
But when I use it in new sdk, I can get the response with metadata information in raw response here as shown below but after deserialization it is skipped and change to None.
b'\xef\xbb\xbf<?xml version="1.0" encoding="utf-8"?>
<EnumerationResults ServiceEndpoint="https://zuhdefault.blob.core.windows.net/" ContainerName="test1">
<MaxResults>2</MaxResults><Blobs>
<Blob><Name>a.txt</Name><VersionId>2020-08-06T03:20:00.9910412Z</VersionId>
<IsCurrentVersion>true</IsCurrentVersion><Properties><Creation-Time>Tue, 14 Jul 2020 07:58:04 GMT</Creation-Time>
<Last-Modified>Thu, 06 Aug 2020 03:20:00 GMT</Last-Modified><Etag>0x8D839B79AAF1A66</Etag>
<Content-Length>1200</Content-Length><Content-Type>text/plain; charset=utf-8</Content-Type><Content-Encoding />
<Content-Language /><Content-CRC64 /><Content-MD5>4edJNByMxQgCm9dVVN4KWQ==</Content-MD5>
<Cache-Control /><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier>
<AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState>
<ServerEncrypted>true</ServerEncrypted></Properties><Metadata><test>1</test></Metadata><OrMetadata /></Blob>
<Blob><Name>ast.md</Name><Properties><Creation-Time>Tue, 14 Jul 2020 07:58:05 GMT</Creation-Time>
<Last-Modified>Tue, 14 Jul 2020 07:58:05 GMT</Last-Modified><Etag>0x8D827CBA3A2B2BC</Etag>
<Content-Length>0</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding />
<Content-Language /><Content-CRC64 /><Content-MD5>1B2M2Y8AsgTpgAmY7PhCfg==</Content-MD5>
<Cache-Control /><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier>
<AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState>
<ServerEncrypted>true</ServerEncrypted></Properties><Metadata /><OrMetadata /></Blob></Blobs>
<NextMarker>2!72!MDAwMDA5IWZpbGUxLnR4dCEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-</NextMarker>
</EnumerationResults>'

I am guessing it is because Model ListBlobsFlatSegmentResponse doesn't include metadata properties. But I think if we have such behavior to include metadata, we should return response with metadata and it will be fine to align with track1 behavior.
If there is anything misuse, feel free to let me know.
To Reproduce
Steps to reproduce the behavior:

list_blobs() with include=metadata

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Hi @kaerm, it seems @xgithubtriage is  not valid name.

It should be working - there is some weirdness around github and how it displays team handles

Hi @Juliehzl
I'm not able to reproduce it, the test in this pr is working https://github.com/Azure/azure-sdk-for-python/pull/13260

Hi @Juliehzl, it should be working. As you have mentioned our list blobs operation is using ListBlobsFlatSegmentResponse however it does deserialize metadata. It has an attribute segment that gets desarialized. This attribute has a dependency on BlobFlatListSegment class which contains an attribute BlobItermInternal class which contains the metadata attribute.
Please let us know if you need further help. Otherwise we can proceed to close this issue.


Installation instructions: add IDE setup to installer page

Proposed documentation enhancement
When trying to instruct a new student to install MNE via the installers, we got stuck on the instruction pages, trying to find the steps for setting up spyder. I think it would be useful to have some setup/ getting started info (or a link) on the info page for the installers, as newbies do not go into the pip/conda section where some info can be found.
I thought this had been there at some point, but I couldn't find it.
Also, it seems the info about VS-code setup disappeared in the doc in version 1.8

I think this is all due to some re-structuring of the docs that happened quite recently. Might need to re-think this if it's not easy to use

Indeed I was hoping this link toward the bottom was discoverable enough:

But maybe keeping a second-level heading or something would be better. Maybe a toctree and a separate page so it shows up in the right sidebar?

I think the confusion was that the link takes you to the somewhere inside the description of the conda installation, even though the corresponding text talks about both. I think it would be clearer to make the IDE a separate page and have different sections about the integration with different types of installations.

Makes sense!
I think by splitting it up into separate pages we could actually keep the nice structure we have now but also have a .. toctree:: hidden that makes it show up in the right sidebar. I'll see if I can cook something up

But maybe keeping a second-level heading or something would be better. Maybe a toctree and a separate page so it shows up in the right sidebar?

Actually ideally the "first steps" would somehow pop up after the user has clicked the download button

Actually ideally the "first steps" would somehow pop up after the user has clicked the download button

Can you try to implement what you have in mind perhaps in #12947 ?
Currently on main and in this PR they are shown from the start:

It sounds like you are now suggesting to have them start hidden but then un-hide when the download button is clicked? It seems like content that's useful enough to always be shown. Maybe it would be better to highlight it somehow (change the background color / class to success or something?) rather than un-hide

I think what you've been working on in that recent PR is fine 😊


Fix/#472

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update slider to have warning when user moving towards 0

@mghazanfar warning seem to be showing decrease from any value, not from voted value only.
if I voted 65% and open slider go to 80 and come back to 75, I see warning, it should probably only show when below 65% ?
also there is this bug with demo.com account. when coming very close to zero, there is NaN showing.


PSNR is calculated by hr.max() not 255. or 1.

peak value should be constant

@lieyandadao make a PR then I will merge it


IndentationError in Cell 4.1

During re-testing of current changes, I get the following after running Cell 4.1:
File "", line 46
resp1 = requests.post(url=url1, data=json.dumps(data), headers=headers1)
^
IndentationError: unexpected indent

I am not able see this issue Scott, can you send me the screenshot for the same?
And do let me know when will you be available to discuss this issue?

I am actually blocked on issues with deploy-graph-db-container at the moment. I'll wait for a fix, and when I  get past the deploy-graph-db-container issue,  I'll retry the Notebook portion of this journey and see if this issue is still occurring.

The Deploy Orient DB container is a pre-requisite(https://github.com/IBM/deploy-graph-db-container). The credentials for the Orient DB needs to be entered in the notebook.

Not seeing this with Graph DB running properly


Can this method be used in hairstyle transfer on full-body image of person?

Did you find any solution ?

Did you find any solution ?

same question

any solution?


[BUG] Get-PnPFlow - Not pulling flows accurately

Reporting an Issue or Missing Feature
Get-PnPFlow cmdlet is not accurately pulling all of the flows for an environment.
Expected behavior
When running the cmdlet with the -AsAdmin switch I would expect to see ALL flows for the environment.
Actual behavior
Get-PnPFlow cmdlet is not accurately pulling all of the flows for an environment. Also it pulls different amounts of flows depending on if the -AsAdmin switch is used. In both cases, the returned results are incomplete. We are testing against a test environment and there are over 50+ flows in our "Default" environment.
Admin accounts being used with Connect-PnPOnline have the Azure roles of SharePoint Admin, Power Platform Admin, Teams Admin, Exchange Admin, etc.  We have tested this behavior with 2 different admin accounts and the behavior is repeatable.
The Azure enterprise application being used is the default "PnP Management Shell" with full permissions. This was created by running Register-PnPManagementShellAccess.
Steps to reproduce behavior

Connect-PnPOnline -Url "https://TESTTENANT-admin.sharepoint.com"
$ctx = Get-PnPConnection
Get-PnPFlowEnvironment -Connection $ctx
Get-PnPFlow -Environment 'Default-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx' -AsAdmin

Output WITHOUT the -AsAdmin switch

Output WITH the -AsAdmin switch

What is the version of the Cmdlet module you are running?
1.5.0
Which operating system/environment are you running PnP PowerShell on?

[X] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Not stale. Keep open.
On Sat, May 22, 2021, 9:42 PM github-actions[bot] @.***>
wrote:

This issue is stale because it has been open 14 days with no activity.
Remove stale label or comment or this will be closed in 5 days
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pnp/powershell/issues/617#issuecomment-846492170, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMJ2HJMQVDZZ7NRZKRL7UTTPBTQ3ANCNFSM43PJCOVQ
.

Not stale. Keep open.
On Sun, Jun 6, 2021, 10:31 PM github-actions[bot] @.***>
wrote:

This issue is stale because it has been open 14 days with no activity.
Remove stale label or comment or this will be closed in 5 days
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pnp/powershell/issues/617#issuecomment-855549972, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMJ2HPACBYAGBKEJIDOYK3TRQ4STANCNFSM43PJCOVQ
.

Not stale. Keep open.
On Mon, Jun 21, 2021 at 9:13 PM github-actions[bot] <
@.***> wrote:

This issue is stale because it has been open 14 days with no activity.
Remove stale label or comment or this will be closed in 5 days
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pnp/powershell/issues/617#issuecomment-865467647, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMJ2HOG7NP47A4DH6ZAS4LTT7WVBANCNFSM43PJCOVQ
.

Looking into this one

Can reproduce. Found the problem. Fixing it.

Fixed in PR https://github.com/pnp/powershell/pull/1136. You can test this after this PR has been merged and the next night has passed with the latest nightly build. Assuming this issue to be resolved by it. If not, feel free to reopen this issue.

This does indeed look much better! I validated the record counts against the CoE dashboard and it lines up now.


Yarn with namespace does not work any more

See https://github.com/mweststrate/relative-deps/commit/633bdcd4e15a8f0ef93ea69e0a5db0daed176133#r39928871

@DomiR is there any repo on which we could reproduce this / verify a solution? (Or feel free to PR a solution if you can imagine and verify a fix locally)


The Admin Panel is only displayed for the selected admins of a trip.

implemented with this commit: 70857dc


Add support for typing text into elements with contenteditable="true"

it seems that sendKeys doesn't work for such elements.
But this code works:

SelenideElement element = $(".notranslate");
executeJavaScript("if(arguments[0].contentEditable === 'true') {arguments[0].innerText = 'Длинный текст с описанием'}", element);

See https://ru.selenide.org/faq.html#comment-5340834866

Is there any example url with problem field?)
I've also have editable fields but all works fine)


Fixes containerd cri mirror updates

Updates the sed command that modifies the containerd config.toml file
to be able to edit the mirror configurations as they are different
between minikube v1.24.0 and v1.25.0. The v1.24.0 follows the form
'[plugins.cri.registry.mirrors]' and v1.25.0 follows the form
'[plugins."io.containerd.grpc.v1.cri".registry.mirrors]'.

I manually tested this change between both versions of the configuration file but the way that this is currently done doesn't make it easy for testing with the multiple escapes between the local shell and the minikube ssh pass.

Thanks for this contribution! So, this looks like a change that came along with the containerd update, right? Looks good to me, I'm going to just check and see if this change is covered by CI and will merge shortly.

I'm assuming that it came with the containerd update in minikube though I couldn't find anything in the release notes about it (and I didn't dive much into the diffs to see if they changed anything else).

Not sure why your PR didn't trigger a build in CircleCI, but I pulled your commit into #183 along with a Minikube version upgrade and it looks good.

Thanks again!

Thanks. I didn't see anything special in the contributing docs so now sure why it didn't kick things off.


Redis Signal with Subscriptions.

A Redis Signal based on #850 and the redis signal in production on the SAXS beamline at the Australian Synchrotron. It supports redis subscriptions if the redis server has notify-keyspace-events set to $K or AKE. There is also a Factory Class for returning keys for a specific Redis instance.
My first PR to Ophyd, definitely keen to get some feedback @tacaswell, @danielballan.

Thanks for pushing on this, @stmudie! Will take look in detail later this week.

@stmudie, @tacaswell, can we consider this PR overriding https://github.com/bluesky/ophyd/pull/850?

Do you mind rebasing, or let me rebase it on master so that it could pick up the GHA-based CI testing? Thanks!


Reconciling clusterwide resource fails while adding the namespace to MDC

Bug Report

What did you do?
Creating a reconciler watching a cluster wide resource (like "Namespace")
What did you expect to see?
I expected events to be issued like with Namespaced resources without exceptions in the log.
What did you see instead? Under which circumstances?
During activation of my reconciler, a nullpointer exception got thrown indicating that the metadata.namespace was added to MDC without validating that a namespace was present
Environment
Kubernetes cluster type:
"vanilla" - k3d
$ Mention java-operator-sdk version from pom.xml file
3.0.0.RC5
$ java -version
openjdk-11
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.0", GitCommit:"ab69524f795c42094a6630298ff53f3c3ebab7f4", GitTreeState:"clean", BuildDate:"2021-12-07T18:16:20Z", GoVersion:"go1.17.3", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.4+k3s1", GitCommit:"43b1cb48200d8f6af85c16ed944d68fcc96b6506", GitTreeState:"clean", BuildDate:"2022-02-24T22:38:17Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
Possible Solution
https://github.com/java-operator-sdk/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/MDCUtils.java#L32
Like with the generation field - only add it if it is present.
Additional context

thank you @jasmdk , attached  a PR, pls review.


cannot get time code

hi, I am not able get timecode from video.
DLABriding is always callling
public func processCapturedVideoSample(_ sampleBuffer: CMSampleBuffer,                                            of sender:DLABDevice) callback instead of
public func processCapturedVideoSample(_ sampleBuffer: CMSampleBuffer,                                            timecodeSetting setting: DLABTimecodeSetting,                                            of sender:DLABDevice)
can you please help me how to receive a time code?
have a good day

Thank you for reporting this issue.
I found that a logic bug in DLABridging/DLABDevice+Input.mm line 563-564, where
"self.outputVideoSetting.xx" should be "self.inputVideoSetting.xx"
Would you please try with above changes applied and verify if it works?
I would apply these update in later version.
NOTE: For SD capture, videoSetting.useVITC is true, and For HD capture useRP188 is true.
- (DLABTimecodeSetting*) createTimecodeSettingOf:(IDeckLinkVideoInputFrame*)videoFrame
{
    NSParameterAssert(videoFrame);

    // Check videoFrame
    DLABTimecodeSetting* setting = nil;

    BOOL useVITC = self.outputVideoSetting.useVITC; ###### should be inputVideoSetting
    BOOL useRP188 = self.outputVideoSetting.useRP188; ###### should be inputVideoSetting
:

Thank you, I will try it next week, because I don't have hardware here.

Yeah I fixed it, now it's callling public func processCapturedVideoSample(_ sampleBuffer: CMSampleBuffer,                                            timecodeSetting setting: DLABTimecodeSetting,                                            of sender: DLABDevice)
but when I do print:
print(timecodeSampleBuffer.decodeTimeStamp) print(timecodeSampleBuffer.outputDecodeTimeStamp) print(timecodeSampleBuffer.presentationTimeStamp) print(timecodeSampleBuffer.outputPresentationTimeStamp)
I got always zero.

Thank you. I need to fix DLABTimecodeSetting -createTimecodeSampleIn:videoSample:.
It uses null timingInfo instead of info from Video sample.
I will apply w/ new commit(s) later.
       // Extract timeingInfo from videoSample         CMSampleTimingInfo timingInfo = {0};         CMSampleBufferGetSampleTimingInfo(videoSampleBuffer, 0, &timingInfo);
       // Create new sampleBuffer         CMSampleTimingInfo timingInfoTMP = {0};         status = CMSampleBufferCreate(kCFAllocatorDefault,                                       dataBuffer,                                       true,                                       NULL,                                       NULL,                                       description,                                       1,                                       1,                                       &timingInfoTMP,                                       1,                                       &sizes,                                       &sampleBuffer);

now it works thank you, please which one data would you use to sync videos?
timecodeSampleBuffer.decodeTimeStamp
timecodeSampleBuffer.outputDecodeTimeStamp
timecodeSampleBuffer.presentationTimeStamp
timecodeSampleBuffer.outputPresentationTimeStamp

PresentationTimeStamp is to sync. In this framework every video sample do not use reorder.
NOTE: for compressed video stream like AVC coding it will reorder samples depends on type. Only such stream use decode timestamp with presentation timestamp.

it's working I do have 4 instances of DLABCaptureManager, and in
func processCapturedVideoSample(_ sampleBuffer: CMSampleBuffer,
                                           timecodeSetting setting: DLABTimecodeSetting,
                                           of sender: DLABDevice)

I write only frames from specific timecode, this way I synchronize the start of video, but I don't know how to sync audio because in
public func processCapturedVideoSample(_ sampleBuffer: CMSampleBuffer,
                                           of sender: DLABDevice)

I don't receive any timecode.
What do you think, is it possible to sync video and audio entirely without timecode? because in some type of cameras we don't have timecode.

Every CMSampleBuffer has presentation timestamp. Each Video/Audio/Timecode (now) uses same timeline.
After you put every sample into single QuickTime Movie container, actual sync b/w each media track is managed via movie object.

But for example I have 4 cameras and I need to create 4 separate videos with same length at same time.

OK, now your concern is on multi-device-capture-on-single-Mac-single-app, correct?
In short current version of DLABCaptureManager itself does not work in synchronized capture; no multiple instances support nor co-operative capture.
Main reason is simply I do not have such device (multiple input with synchronized capture feature).
But I can tell you from the API design issue side.
Please see SDK pdf - <IP_ADDRESS> Synchronized Capture.

— An application performing synchronized capture should perform the following steps: For each device to synchronize for capture.
— Call IDeckLinkProfileAttributes::GetFlag with the BMDDeckLinkSupportsSynchronizeToCaptureGroup flag to check that the DeckLink hardware supports grouping for synchronized capture.

Verify all of DLABDevice if device supports capturegroup feature using:
: DLABDevice - (NSNumber*) boolValueForAttribute:(DLABAttribute) attributeID error:(NSError**)error
: BMDDeckLinkAttributeID => DLABDeckLinkAttributeID
: BMDDeckLinkSupportsSynchronizeToCaptureGroup(Flag) => DLABAttributeSupportsSynchronizeToCaptureGroup(bool)

— Call IDeckLinkConfiguration::SetInt with the bmdDeckLinkConfigCaptureGroup configuration ID, along with a common integer value for the capture group. This setting is persistent until system reboot.

Assign "shared" group value on "every" DLABDevice using:
: DLABDevice - (BOOL) setIntValue:(NSInteger)value forConfiguration:(DLABConfiguration) configurationID error:(NSError**)error
: BMDDeckLinkConfigurationID => DLABConfiguration
: bmdDeckLinkConfigCaptureGroup(Int64) => DLABConfigurationCaptureGroup(Int64)

— Obtain IDeckLinkInput interface and enable each input in the capture group.
— IDeckLinkInput::EnableVideoInput, with the bmdVideoInputSynchronizeToCaptureGroup flag.
— IDeckLinkInput::EnableAudioInput

DLABCaptureManager.inputFlag with DLABVideoInputFlagSynchronizeToCaptureGroup need to be set.
NOTE: DLABCaptureManger.captureStart() does most of above, but need to modify skipping the last part "try device.startStream()".

— IDeckLinkInput::SetCallback
— For each input in the capture group, call IDeckLinkStatus::GetFlag with the bmdDeckLinkStatusVideoInputSignalLocked status ID to ensure that the input is locked.

NOTE: this feature is not available in DLABCaptureManager. You need to modify DLABCaptureManger.captureStart().

— To start the synchronized capture call IDeckLinkInput::StartStreams on any input device in the group.

NOTE: Instead of DLABCaptureManger.captureStart(), you need to run device.startStreams() by yourself, on one of input device only.

— To stop synchronized capture, call IDeckLinkInput::StopStreams on any input device in the group.

NOTE: You need to modify "try device.stopStreams()" only issued to one of inputdevice.

This is for synchronized capture, but how to sync writer? I mean guarantee for all recorded videos same length and time.

If all of devices support Synchronized Capture, every device produce first video sample at exactly same time stamp. (in other words, Movie 1 first Video Sample 00:00:00:00 == Movie 2 first Video sample 00:00:00:00, ...)
At end of capture, some device may produce extra sample though, you can calculate each accumulated sample duration for each devices and also number of Video samples. After finalizing each AVMovie into file(s), reopen them and validate each Movie, truncate to shortest one.
Truncating multiple movie file into exact same duration is tricky. And if your video source runs in different time resolution (for example one is in 29.97 fps, other are in 30.0 fps), last video sample could be truncated into less than one frame.
I hope this could be the answer to your question.

oh this sounds good, and the very last question is, if I can make this synchronized capture without external clocks?

Strictly, I believe external clock is mandatory for professional capture. Such like SMPTE multiplier for HDMI stream, etc.
If such strict synchronized capture is not required, I guess you can composite each QuickTime Movie using some Video editor application like iMovie or Final Cut Pro X.

My use case is: record 4 videos with my app and after that play those 4 videos in my app at same time without any offset

No no, I need to play 4 recorded movies in my app window.

Well, Playback AVMovie in application is not covered in this framework.
For synchronizing AVPlayer WWDC 2012-517 could meet your request. Preroll AVPlayer syncing on custom timeline.
https://developer.apple.com/videos/play/wwdc2012/517/
https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_517__realtime_media_effects_and_processing_during_playback.mov
I think I can close this issue because it is now out of scope from this framework feature. Please confirm.

I confirm, you can close thank you so much


Updated MessagePack to 3.1.0

Hi.
I saw the MessagePack authors released a new major version, and out of pure curiosity I updated MassTransit to use the latest version.
Unfortunately, two tests seem to fail due to the following exception for the .NET Framework 4.7.2 run:

System.NotSupportedException: A non-collectible assembly may not reference a collectible assembly.

I was able to track down the cause of the error, which I believe turned out to be MassTransit generating dynamic assemblies that are 'collectible', while MessagePack itself is generating 'non-collectible' assemblies, and referencing ours.
Normally I would not suggest making these sorts of changes, simply because some other library is doing so, but in this case I'd argue it'd make sense to change.
All dynamically generated types are cached, so as far as my understanding goes, they'd never be unloaded regardless, due to them still 'being in use'.

Unfortunately, I'm not making that change to something that's been part of MassTransit since the beginning of time. Why isn't Message pack using collect?


example.com - desktop site instead of mobile site

URL: http://example.com
Browser / Version: Firefox 73.0
Operating System: Mac OS X 10.14
Tested Another Browser: Unknown
Problem type: Desktop site instead of mobile site
Description: testing a thing
Steps to Reproduce:
hello there.

Browser Configuration

None

From webcompat.com with ❤

Cool:
<!-- @browser: Firefox 73.0 -->
<!-- @ua_header: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:73.0) Gecko/20100101 Firefox/73.0 -->
<!-- @reported_with:  -->
<!-- @public_url: https://github.com/webcompat/webcompat-tests/issues/2316 -->


fix issue #1793 - [closed]

In GitLab by @sokril on Dec 28, 2018, 06:13
Merges stream -> dev

In GitLab by @wknet123 on Nov 13, 2019, 11:36
The test coverage for backend is %  39.16%  , check  console log

In GitLab by @wknet123 on Nov 13, 2019, 11:36
closed


Hapi 18 support

Builds on the work done by @Y-Lyn-10 in roylines/node-epimetheus#52 to run the tests with Hapi 18 to ensure support.

Anything that is blocking this from being merged @roylines ?

Hmm, the npm module is actually published from ashoksahoo/node-epimetheus.
@ashoksahoo - would you merge this branch into your fork and publish it?  Or should I submit a PR to your repo?

FWIW I have published a fork of this module with this PR merged as menoetius.
Hopefully this PR will get merged one day and then I can delete it.


Error on WSL

I got an error on WSL that was solved by installing xdg-utils. I think it would be useful to provide a hint to do so on the following unwrap():
https://github.com/LucianoBestia/cargo_crev_reviews_workspace/blob/e5ab54256362a926cda637dc5903c8a3e1f4c36d/cargo_crev_reviews/src/bin/cargo_crev_reviews.rs#L56

Thank you.
I use Debian inside WSL2 and probably xdg-open was preinstalled:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

What distro do you use?

This project is a work in progress and I would like to hear more about how it works on other computers. There is a lot of assumption I make, that can go wrong in other systems. And I cannot test it all, because it would be a gigantic task.
I appreciate some feedback.
Have you installed this program from crates.io? Or clone it from github and build it using cargo auto?
Thank you.

I added some lines to the README.md:
Code-flow
Everything is compiled into one single executable binary for Linux: cargo_crev_reviews.
First it opens the default browser with xdg-open on http://<IP_ADDRESS>:8182/cargo_crev_reviews/index.html.
I received a comment that xdg-open is not preinstalled on every Linux distro. I use Debian 10 and have it.
On other distros it is possible to install it with xdg-utils.
If your WSL2 does not have yet a default browser run this:

I added a descriptive error message with except(""):
/// open browser with xdg-open
pub fn open_browser() {
    // open default browser in Linux
    // for WSL2 in Win10 I used my project https://crates.io/crates/wsl_open_browser
    let x = std::process::Command::new("xdg-open")
        .arg(&format!(
            "http://{}:{}/{}/index.html",
            SERVER_HOST.as_str(),
            SERVER_PORT.as_str(),
            SERVER_FIRST_SUBDIRECTORY.as_str()
        ))
        .spawn()
        .expect("Failed to open browser using `xdg-open`. Probably it is not installed on your system. Try to instal it with `xdg-utils`.");
    drop(x);
}

Perfect! I had installed it with cargo install.
Feel free to close this issue!