Docs: callouts have horribly low contrast

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
In the new docs, info and warning callouts have text colour contrast that's below minimum 4.5:1 threshold.
Info callout

Text: #087990
Background: #CFF4FC
Contrast: 4.34:1

Link: #0D6EFD
Background: #CFF4FC
Contrast: 3.86:1

Code: #D63384
Background: #CFF4FC
Contrast: 3.86:1
Warning callout

Text: #997404
Background: #FFF3CD
Contrast: 3.9:1

Link: #0D6EFD
Background: #FFF3CD
Contrast: 4.06:1

Code: #D63384
Background: #FFF3CD
Contrast: 4.06:1
Reduced test cases
https://getbootstrap.com/docs/5.3/components/popovers/
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3

Overall colors and their links in default light mode are good now in main.

Pushing a PR to address the code color though, which will look like this:

lovely, thank you!


Running without CUDA (CPU only)

Hi,
I am just wondering if there is a way of running this model on a machine without a GPU? Running make attempts to find CUDA.
Thanks!

you can install cuda without gpu. haven't tried that though.

Current codes run fine on CPU, need to change NMS mode to CPU only.
On Tue, Mar 28, 2017 at 1:21 PM, Xinlei Chen<EMAIL_ADDRESS>wrote:

you can install cuda without gpu. haven't tried that though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/endernewton/tf-faster-rcnn/issues/25#issuecomment-289892295,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAM4K-eGWG5K1k8TuAhbGaKNmLFFny0Uks5rqWu7gaJpZM4Mkvv3
.

Ahh I see. thanks for the update. Closing.

@jwnsu Could you please describe how to run it on CPU in detail? Thank you.
The start script is most important.

Finally it shows:
iter: 20 / 70000, total loss: 2.201489
You need to:
change nms_wrapper.py.
change setup.py.
make at ./lib.
put the data at tf-faster-rcnn-master/data/VOCdevkit2007/VOC2007
and here are the parameters:
  parser.add_argument('--cfg', dest='cfg_file',
                      help='optional config file',
                      default="/home/gt/tf-faster-rcnn-master/experiments/cfgs/vgg16.yml", type=str)
  parser.add_argument('--weight', dest='weight',default="/home/gt/tf-faster-rcnn-master/vgg16.ckpt",
                      help='initialize with pretrained model weights',
                      type=str)
  parser.add_argument('--imdb', dest='imdb_name',
                      help='dataset to train on',
                      default='voc_2007_trainval', type=str)
  parser.add_argument('--imdbval', dest='imdbval_name',
                      help='dataset to validate on',
                      default='voc_2007_trainval', type=str)
  parser.add_argument('--iters', dest='max_iters',
                      help='number of iterations to train',
                      default=70000, type=int)
  parser.add_argument('--net', dest='net',
                      help='vgg16 or res101',
                      default='vgg16', type=str)

@guotong1988 Can you open a PR with a CPU option.. could be useful for users with GPU memory limits..

I think you can add a parameter in commandline to force CPU. i.e.
./experiments/scripts/train_faster_rcnn.sh 1 pascal_voc vgg16 **USE_GPU_NMS False**

@guotong1988
Can I know what change you did inside setup.py ?

@guotong1988
what  change ocured in nms_wrapper.py & setup.py?

@caunion's comment contains all that you need to do to force CPU. No need to change nms_wrapper.py or setup.py. Just tried it myself!

@endernewton great implementation of Faster RCNN. Really appreciate it.
Question though: I can't get this to work on CPU only. I've read through the above and tried those suggestions but can't seem to get it to work. @caunion @guotong1988 has anybody had success in making this work on CPU? If so, how?
Thanks in advance for any suggestions. Much appreciated!

So what is the error msg?
Sent from my iPhone

On Jun 5, 2017, at 16:27, Joel Iventosch<EMAIL_ADDRESS>wrote:
@endernewton great implementation of Faster RCNN. Really appreciate it.
Question though: I can't get this to work on CPU only. I've read through the above and tried those suggestions but can't seem to get it to work. @caunion @guotong1988 has anybody had success in making this work on CPU? If so, how?
Thanks in advance for any suggestions. Much appreciated!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

use this command
./tools/demo.py cpu

@riadhayachi
demo.py: error: unrecognized arguments: CPU

The nms_wrapper.py checks the model.config structure if USE_GPU_NMS flag is found. So, no need to change anything in nms_wrapper.py. Just set the flag in demo.py. Add the line cfg.USE_GPU_NMS =False after line 114 in demo.py. This worked for me.

Hi,
I would like to deploy this great project without GPU (I do not have GPU on my laptop). However, after reading all the threads above, I am still stuck in Step 3 as described on the project page w.r.t  Installation:

Build the Cython modules
make clean
make
cd ..

It throws the error message as follows,

python setup.py build_ext --inplace --compiler=mingw64
Traceback (most recent call last):
File "setup.py", line 55, in
CUDA = locate_cuda()
File "setup.py", line 43, in locate_cuda
raise EnvironmentError('The nvcc binary could not be '
OSError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set >$CUDAHOME
Makefile:2: recipe for target 'all' failed
mingw32-make: *** [all] Error 1

Any idea/suggestion how to proceed?
Thanks.
Regards,
Hang

@hang81 try this:
def customize_compiler_for_nvcc(self):
    """inject deep into distutils to customize how the dispatch
    to gcc/nvcc works.

    If you subclass UnixCCompiler, it's not trivial to get your subclass
    injected in, and still have the right customizations (i.e.
    distutils.sysconfig.customize_compiler) run on it. So instead of going
    the OO route, I have this. Note, it's kind of like a weird functional
    subclassing going on."""

    # save references to the default compiler_so and _comple methods
    default_compiler_so = self.compiler_so
    super = self._compile

    # now redefine the _compile method. This gets executed for each
    # object but distutils doesn't have the ability to change compilers
    # based on source extension: we add it.
    def _compile(obj, src, ext, cc_args, extra_postargs, pp_opts):
        print(extra_postargs)
        postargs = extra_postargs['gcc']

        super(obj, src, ext, cc_args, postargs, pp_opts)
        # reset the default compiler_so, which we might have changed for cuda
        self.compiler_so = default_compiler_so

    # inject our redefined _compile method into the class
    self._compile = _compile

# run the customize_compiler
class custom_build_ext(build_ext):
    def build_extensions(self):
        customize_compiler_for_nvcc(self.compiler)
        build_ext.build_extensions(self)

ext_modules = [
    Extension(
        "utils.cython_bbox",
        ["utils/bbox.pyx"],
        extra_compile_args={'gcc': ["-Wno-cpp", "-Wno-unused-function"]},
        include_dirs = [numpy_include]
    ),
    Extension(
        "utils.cython_nms",
        ["utils/nms.pyx"],
        extra_compile_args={'gcc': ["-Wno-cpp", "-Wno-unused-function"]},
        include_dirs = [numpy_include]
    ),
    Extension(
        "nms.cpu_nms",
        ["nms/cpu_nms.pyx"],
        extra_compile_args={'gcc': ["-Wno-cpp", "-Wno-unused-function"]},
        include_dirs = [numpy_include]
    )
]

setup(
    name='tf_faster_rcnn',
    ext_modules=ext_modules,
    # inject our custom trigger
    cmdclass={'build_ext': custom_build_ext},
)

This is what I used when debugging locally on my machine that has cpu only. I named it setup_cpu.py and had it next to the included setup.py and used one or the other based on if gpu machine or cpu only machine. Note this does not include the import lines bc some are custom my specific project, but...for me this worked for running the setup code for cython extensions when no gpu avail. Hope it helps!
Joel

This works thanks @joeliven. But I think you need to remove the 2nd Extension since 'nms.pyx' doesn't exist, at least in my repo.

No problem @lshe7842 , glad it worked for you!

@joeliven

Based on @shuang1330‘s answer in #72, what I have done to support CPU on Mac OS:

lib/setup.py: replace 'raise EnvironmentError' to pass to prevent the no CUDA environment error. Comment the block of Extension('nms.gpu_nms'..) to complile with out nms.gpu_nms.

Based on @shuang1330‘s answer in #72, what I have done to support running with CPU on Mac OS:

lib/setup.py: replace raise EnvironmentError to pass to prevent the no CUDA environment error; comment the block of Extension('nms.gpu_nms'..) to complile with out nms.gpu_nms.
lib/model/config.py: change __C.USE_GPU_NMS = True to __C.USE_GPU_NMS = False.
lib/model/nms_wrapper: comment from nms.gpu_nms import gpu_nms to prevent import error.

hi , i have a issue in running demo.py on cpu in ubuntu 16.04,
tensorflow version- 1.2
python 3.5
when i gave path to the model,it is present
error shows in saver.restore(sess, tfmodel)
Error:
Traceback (most recent call last):
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1139, in _do_call
return fn(*args)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1121, in _run_fn
status, run_metadata)
File "/usr/lib/python3.5/contextlib.py", line 66, in exit
next(self.gen)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.OutOfRangeError: Read less bytes than requested
[[Node: save/RestoreV2_529 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_529/tensor_names, save/RestoreV2_529/shape_and_slices)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/tf-faster-rcnn/tools/demo.py", line 155, in
saver.restore(sess, tfmodel)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1548, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 789, in run
run_metadata_ptr)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 997, in _run
feed_dict_string, options, run_metadata)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1132, in _do_run
target_list, options, run_metadata)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1152, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.OutOfRangeError: Read less bytes than requested
[[Node: save/RestoreV2_529 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_529/tensor_names, save/RestoreV2_529/shape_and_slices)]]
Caused by op 'save/RestoreV2_529', defined at:
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/tf-faster-rcnn/tools/demo.py", line 153, in
saver = tf.train.Saver()
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1139, in init
self.build()
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1170, in build
restore_sequentially=self._restore_sequentially)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 691, in build
restore_sequentially, reshape)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 407, in _AddRestoreOps
tensors = self.restore_op(filename_tensor, saveable, preferred_shard)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 247, in restore_op
[spec.tensor.dtype])[0])
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/ops/gen_io_ops.py", line 640, in restore_v2
dtypes=dtypes, name=name)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
op_def=op_def)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 2506, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/home/kpit/Desktop/Faster_Rcnn_Tensorflow/Virtualenv_tensorflow/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1269, in init
self._traceback = _extract_stack()
OutOfRangeError (see above for traceback): Read less bytes than requested
[[Node: save/RestoreV2_529 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_529/tensor_names, save/RestoreV2_529/shape_and_slices)]]

I used the method commented by grimfix on 30 Nov 2017 , and it worked without gpu.The comment is on the front.

@Nioolek  Do you use bash make.sh?

@endernewton Alright，I find this issue is about tf-faster-rcnn, but in pytorch-faster-rcnn, we should use bash make.sh,but without GPU,without nvcc, that would report error,how to solve it?

Can it run under python3.6？


Sending stream:features request

I am looking for some help.
We use hipchat and their specification says I can authenticate with a stream:features packet, so I don't have to use a generic JID , I can have users login with their actual userid and password
but alas I am not that good node-xmpp-client and I am hoping someone can provide me a simple example on how I would implement the XML code below
In advance thanks for any help
https://ecosystem.atlassian.net/wiki/display/HCDEV/HipChat+XMPP+Protocol+Documentation#HipChatXMPPProtocolDocumentation-RequestAuthToken
Requires TLS upgrade or port 5223 first, just like other auth methods.
<!-- server sends the stream:feature like: -->
<stream:features><auth xmlns="http://hipchat.com"/></stream:features>

<!-- client passes up 0 + email + 0 + password + 0 + resource, base64 encoded -->
<!-- node and ver should contain the same values provided on the initial presence -->
<auth xmlns="http://hipchat.com" node="http://hipchat.com/client/mac" ver="22">AGdhcnJldEBoaXBjaGF0LmNvbQBnYXJyZXQAdGVzdA==</auth>

<!-- server responds with success containing full jid and host namespaces -->
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"<EMAIL_ADDRESS>api_host="api.hipchat.com" chat_host="chat.hipchat.com" muc_host="conf.hipchat.com" web_host="www.hipchat.com"/>

In its current form it's not possible to send custom stream features with node-xmpp.
I started working on a rework that allows that https://github.com/node-xmpp/node-xmpp/pull/309 but it's not ready.
Meanwhile I recommend you to send a PR against master that adds that stream features. Shouldn't be hard check out https://github.com/node-xmpp/node-xmpp/blob/master/packages/node-xmpp-client/lib/Client.js#L332

Thanks, I'll have to try it a little bit later


Strange margins in the chart

I added this chart library unpkg to my pet project and I see strange margins, this is the screenshot https://postimg.cc/ykktdrJ1. What can cause this?

I don't know I think I got a virus

Hello!
Could you please try different browsers and try your browser in incognito mode, without plugins/extensions. It looks like some external app affects chart layout

Hello!
Could you please try different browsers and try your browser in incognito mode, without plugins/extensions. It looks like some external app affects chart layout

I understood that it can be because of the css collision, can I somewhere see classes used in this library?

I somewhere see classes used in this library?

We don't use any CSS classes to style the library (we inline some styles right inside elements, but nothing else). I believe you can easy detect what's wrong by using devtools and see, what styles are applied to the elements with that margins.

@Grayn did you solve your issue or still have a problem>

I'm going to close this issue for now. If you'll have any updates/issues with that - feel free to reopen it.


[BUG] running test suite fails on armv7l

Describe the bug
While packaging python-h5py for openSUSE, the running of test suite fails completely on armv7l:
[  664s] + export PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages
[  664s] + PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages
[  664s] + export PYTHONDONTWRITEBYTECODE=1
[  664s] + PYTHONDONTWRITEBYTECODE=1
[  664s] + pytest-3.10 /home/abuild/rpmbuild/BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/ -k 'not (TestMPI or test_float_round_tripping or test_register_filter)'
[  665s] ============================= test session starts ==============================
[  665s] platform linux -- Python 3.10.15, pytest-8.3.2, pluggy-1.5.0
[  665s] rootdir: /home/abuild/rpmbuild
[  665s] collected 745 items / 6 deselected / 739 selected
[  665s]
[  665s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_attribute_create.py . [  0%]
[  665s] ......                                                                   [  0%]
[  665s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_attrs.py . [  1%]
[  666s] .........................                                                [  4%]
[  666s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_attrs_data.py . [  4%]
[  666s] ......................                                                   [  7%]
[  666s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_base.py . [  7%]
[  666s] ..........                                                               [  9%]
[  666s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_big_endian_file.py . [  9%]
[  666s] .                                                                        [  9%]
[  666s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_completions.py . [  9%]
[  666s] .                                                                        [  9%]
[  666s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_dataset.py . [  9%]
[  666s] s....................................................................... [ 19%]
[  666s] .......s................................................................ [ 29%]
[  667s] .............................s............                               [ 34%]
[  667s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_dataset_getitem.py . [ 35%]
[  667s] ........................................................................ [ 44%]
[  667s] ..........................s...                                           [ 48%]
[  667s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_dataset_swmr.py . [ 48%]
[  667s] .........                                                                [ 50%]
[  667s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_datatype.py . [ 50%]
[  667s] .                                                                        [ 50%]
[  667s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_dimension_scales.py . [ 50%]
[  667s] ......................                                                   [ 53%]
[  667s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_dims_dimensionproxy.py . [ 53%]
[  667s]                                                                          [ 53%]
[  667s] ../../BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_dtype.py . [ 53%]
[  667s] Fatal Python error: Bus error
[  667s]
[  667s] Current thread 0xf73bd020 (most recent call first):
[  667s]   File "/home/abuild/rpmbuild/BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/_hl/dataset.py", line 999 in __setitem__
[  667s]   File "/home/abuild/rpmbuild/BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/tests/test_dtype.py", line 59 in test_compound_vlen_bool
[  667s]   File "/usr/lib/python3.10/unittest/case.py", line 549 in _callTestMethod
[  667s]   File "/usr/lib/python3.10/unittest/case.py", line 591 in run
[  667s]   File "/usr/lib/python3.10/unittest/case.py", line 650 in __call__
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/unittest.py", line 351 in runtest
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 174 in pytest_runtest_call
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 242 in <lambda>
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 341 in from_call
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 241 in call_and_report
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 132 in runtestprotocol
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 362 in pytest_runtestloop
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 337 in _main
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 283 in wrap_session
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 330 in pytest_cmdline_main
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
[  667s]   File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 175 in main
[  667s]   File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 201 in console_main
[  667s]   File "/usr/bin/pytest-3.10", line 8 in <module>
[  667s]
[  667s] Extension modules: h5py._errors, h5py.defs, h5py._objects, h5py.h5, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, h5py.utils, h5py.h5t, h5py.h5s, h5py.h5ac, h5py.h5p, h5py.h5r, h5py._proxy, h5py._conv, h5py.h5z, h5py.h5a, h5py.h5d, h5py.h5ds, h5py.h5g, h5py.h5i, h5py.h5f, h5py.h5fd, h5py.h5pl, h5py.h5o, h5py.h5l, h5py._selector (total: 37)
[  667s] /var/tmp/rpm-tmp.Sljaz0: line 52:  5434 Bus error               pytest-3.10 /home/abuild/rpmbuild/BUILDROOT/python-h5py-3.11.0-60.28.arm/usr/lib/python3.10/site-packages/h5py/ -k "not (TestMPI or $donttest)"

Complete build log with all packages used and log of all steps taken to reproduce.
Everything works correctly on other platforms.
Code to reproduce the behaviour:
see above, just run the test suite
Expected behaviour
test suite passes on all platforms
OS
Linux (openSUSE/Tumbleweed)
Python version
3.10.15 (but probably obsereveable on others)
Cython version
3.0.11
Additional context
No response

It's definitely possible that this is a Cython issue (I think we'd like to test some non-x64 architectures but it proved hard to do).
But it definitely isn't obvious that it is from what you posted. It'd think it's just as likely to be in HDF5 or an error in their code that calls it.
I don't want to dismiss it out-of-hand but I don't think we're the people to start investigating this.

On Mon Oct 14, 2024 at 10:27 PM CEST, da-woods wrote:

It's definitely possible that this is a Cython issue (I think we'd like to test some non-x64 architectures but it proved hard to do).
But it definitely isn't obvious that it is from what you posted. It'd think it's just as likely to be in HDF5 or an error in their code that calls it.

Possible, I just hoped that you would know better how much you care about armv7l and/or where to ask for more questions better than this overloaded Python package maintainer.

how much you care about armv7l

In principle it should work and we'd want to fix any bugs stopping it from working. However it's poorly tested on our side.

where to ask for more questions better than this overloaded Python package maintainer.

My uninformed guess is that it's an alignment error (i.e. it's trying to use data that isn't aligned like arm wants it to be). The first thing I'd do to debug it would be to build it with C debug symbols and try to catch it in gdb.
My thought is that the h5py maintainers would be best to make the first pass at that - they probably understand their build system and tests


Specific worksheets only?

Hey @bertrandmartel , this is such an  awesome library! Easy to use and super robust.
Quick question, are there any ways to only get a specific worksheet when getting a dashboard (rather than looking through dashboard.worksheets afterwards)?

@sidharthrajaram Hello, yes you can get the worksheet directly using getWorksheet("WORKSHEET_NAME") like :
from tableauscraper import TableauScraper as TS

url = "https://public.tableau.com/views/PlayerStats-Top5Leagues20192020/OnePlayerSummary"

ts = TS()
ts.loads(url)

worksheet = ts.getWorksheet("ATT MID CREATIVE COMP")
print(worksheet.data)

Great, thanks.


PNP-ChartControl loads old data on hover

Hi ,
I am using using Pnp - ChartControl to load list data in Pie chart.
on page load i am fetching all list data and showing in Pie chart.
after that on drop down change i want to reload the pie chart based on dropdown value.
data is displaying in pie chart correctly but on mouse hover its showing old data also.

Please suggest me how to clear the old data and append new data to pie chart.
If i am using two charts in a single webpart and i am using different dropdown values to render the chart separately then both charts are getting impacted instead of one chart.

please find the attached webpart file for you reference.
[homePageDashboard.zip](

https://github.com/pnp/sp-dev-fx-controls-react/files/4961252/homePageDashboard.zip)

Hello @Haritha2674,
From what I see in your code - you're using datapromise property of the Chart control. But later on, you are updating local variable when something is changed in the dropdown.
I assume it's better to use data instead of datapromise in that case. You can still load data when your component is mounted (componentDidMount). But then just update the local data (I would do that in state, not as a private var of the module) and assign it to the Chart control. Most probably you would also need to call update of the Chart Control.
Some additional remarks regarding your code if you don't mind.

Setting the state
Instead of

this.setState({startDateValue : startYear});
this.setState({endDateValue : endYear});
this.setState({isPickerDisabled : true});

you should do a single call:
this.setState({
  startDateValue: startYear,
  endDateValue: endYear,
  isPickerDisabled: true
});

Getting data from SharePoint
There is no need to use jQuery.ajax to do the requests.
It's much better to use spHttpClient property of web part's context, or PnPjs.

Use === and !== instead if == and !=.

I would not recommend to use "static" variables in the module as they will be shared between "instances". Most probably it leads to the second issue you've described. Create private fields of the class if the data stored in the vars logically can't be part of the state.

If you still have issues after updating the logic - please, provide simple project we can use to reproduce the issue.


Lagom: build with -Dpackage=LagomTools -DLAGOM_TOOLS_ONLY=ON is broken

Building ladybird with -Dpackage=LagomTools -DLAGOM_TOOLS_ONLY=ON fails due to LibWeb headers not found. Without these arguments, the build proceeds correctly.
 -O3 -DNDEBUG -std=c++23 -fdiagnostics-color=always -Wall -Wextra -fno-exceptions -ffp-contract=off -Wcast-qual -Wformat=2 -Wimplicit-fallthrough -Wmissing-declarations -Wsuggest-override -Wno-invalid-offsetof -Wno-unknown-warning-option -Wno-unused-command-line-argument -Werror -Wno-expansion-to-defined -Wno-literal-suffix -Wno-dangling-reference -fno-semantic-interposition -fvisibility-inlines-hidden -fstack-protector-strong -fstrict-flex-arrays=2 -Wno-maybe-uninitialized -Wno-shorten-64-to-32 -fsigned-char -ggnu-pubnames -fPIC -O2 -g1 -Wno-user-defined-literals -MD -MT Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o -MF Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o.d -o Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o -c /build/source/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp
ladybird> In file included from /build/source/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.h:12,
ladybird>                  from /build/source/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp:8:
ladybird> /build/source/Userland/Libraries/LibWeb/HTML/Window.h:16:10: fatal error: LibWeb/Bindings/WindowGlobalMixin.h: No such file or directory
ladybird>    16 | #include <LibWeb/Bindings/WindowGlobalMixin.h>
ladybird>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ladybird> compilation terminated.
ladybird> [47/198] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/StandardPaths.cpp.o
ladybird> [48/198] Building CXX object Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o
ladybird> FAILED: Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o
ladybird> /nix/store/j4ficcv5bf7cc2pw4d1wwf7j506jav6q-gcc-wrapper-13.3.0/bin/g++ -DUSE_FONTCONFIG=1 -D_FILE_OFFSET_BITS=64 -I/build/source -I/build/source/Userland/Services -I/build/source/Userland/Libraries -I/build/source/build/Lagom -I/build/source/build/Lagom/Userland/Services -I/build/source/build/Lagom/Userland/Libraries -I/build/source/Userland -I/build/source/build/Ladybird/WebContent/.. -O3 -DNDEBUG -std=c++23 -fdiagnostics-color=always -Wall -Wextra -fno-exceptions -ffp-contract=off -Wcast-qual -Wformat=2 -Wimplicit-fallthrough -Wmissing-declarations -Wsuggest-override -Wno-invalid-offsetof -Wno-unknown-warning-option -Wno-unused-command-line-argument -Werror -Wno-expansion-to-defined -Wno-literal-suffix -Wno-dangling-reference -fno-semantic-interposition -fvisibility-inlines-hidden -fstack-protector-strong -fstrict-flex-arrays=2 -Wno-maybe-uninitialized -Wno-shorten-64-to-32 -fsigned-char -ggnu-pubnames -fPIC -O2 -g1 -Wno-user-defined-literals -MD -MT Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o -MF Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o.d -o Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o -c /build/source/Userland/Services/WebContent/ConnectionFromClient.cpp
ladybird> In file included from /build/source/Userland/Libraries/LibWeb/Animations/KeyframeEffect.h:11,
ladybird>                  from /build/source/Userland/Libraries/LibWeb/Animations/Animatable.h:10,
ladybird>                  from /build/source/Userland/Libraries/LibWeb/DOM/Element.h:10,
ladybird>                  from /build/source/Userland/Libraries/LibWeb/Bindings/MainThreadVM.h:13,
ladybird>                  from /build/source/Userland/Services/WebContent/ConnectionFromClient.cpp:20:
ladybird> /build/source/Userland/Libraries/LibWeb/Animations/AnimationEffect.h:12:10: fatal error: LibWeb/Bindings/AnimationEffectPrototype.h: No such file or directory
ladybird>    12 | #include <LibWeb/Bindings/AnimationEffectPrototype.h>
ladybird>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ladybird> compilation terminated.
ladybird> [49/198] Building CXX object Lagom/Userland/Libraries/LibFileSystem/CMakeFiles/LibFileSystem.dir/TempFile.cpp.o
ladybird> [50/198] Building CXX object Lagom/Userland/Libraries/LibMain/CMakeFiles/LibMain.dir/Main.cpp.o
ladybird> [51/198] Building CXX object Lagom/Userland/Libraries/LibFileSystem/CMakeFiles/LibFileSystem.dir/FileSystem.cpp.o
ladybird> [52/198] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/ArgsParser.cpp.o
ladybird> [53/198] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/System.cpp.o
ladybird> ninja: build stopped: subcommand failed.

Oops, that's 7e57cc7b090455e93261c847064f12a61d686ff3, I'll try to build it from the latest commit now.

 -O3 -DNDEBUG -std=c++23 -fdiagnostics-color=always -Wall -Wextra -fno-exceptions -ffp-contract=off -Wcast-qual -Wformat=2 -Wimplicit-fallthrough -Wmissing-declarations -Wsuggest-override -Wno-invalid-offsetof -Wno-unknown-warning-option -Wno-unused-command-line-argument -Werror -Wno-expansion-to-defined -Wno-literal-suffix -Wno-dangling-reference -fno-semantic-interposition -fvisibility-inlines-hidden -fstack-protector-strong -fstrict-flex-arrays=2 -Wno-maybe-uninitialized -Wno-shorten-64-to-32 -fsigned-char -ggnu-pubnames -fPIC -O2 -g1 -Wno-user-defined-literals -MD -MT Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o -MF Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o.d -o Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o -c /build/source/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp
ladybird> In file included from /build/source/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.h:12,
ladybird>                  from /build/source/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp:8:
ladybird> /build/source/Userland/Libraries/LibWeb/HTML/Window.h:16:10: fatal error: LibWeb/Bindings/WindowGlobalMixin.h: No such file or directory
ladybird>    16 | #include <LibWeb/Bindings/WindowGlobalMixin.h>
ladybird>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ladybird> compilation terminated.
ladybird> [49/195] Building CXX object Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o
ladybird> FAILED: Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o
ladybird> /nix/store/j4ficcv5bf7cc2pw4d1wwf7j506jav6q-gcc-wrapper-13.3.0/bin/g++ -DUSE_FONTCONFIG=1 -D_FILE_OFFSET_BITS=64 -I/build/source -I/build/source/Userland/Services -I/build/source/Userland/Libraries -I/build/source/build/Lagom -I/build/source/build/Lagom/Userland/Services -I/build/source/build/Lagom/Userland/Libraries -I/build/source/Userland -I/build/source/build/Ladybird/WebContent/.. -O3 -DNDEBUG -std=c++23 -fdiagnostics-color=always -Wall -Wextra -fno-exceptions -ffp-contract=off -Wcast-qual -Wformat=2 -Wimplicit-fallthrough -Wmissing-declarations -Wsuggest-override -Wno-invalid-offsetof -Wno-unknown-warning-option -Wno-unused-command-line-argument -Werror -Wno-expansion-to-defined -Wno-literal-suffix -Wno-dangling-reference -fno-semantic-interposition -fvisibility-inlines-hidden -fstack-protector-strong -fstrict-flex-arrays=2 -Wno-maybe-uninitialized -Wno-shorten-64-to-32 -fsigned-char -ggnu-pubnames -fPIC -O2 -g1 -Wno-user-defined-literals -MD -MT Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o -MF Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o.d -o Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o -c /build/source/Userland/Services/WebContent/ConnectionFromClient.cpp
ladybird> In file included from /build/source/Userland/Libraries/LibWeb/Animations/KeyframeEffect.h:11,
ladybird>                  from /build/source/Userland/Libraries/LibWeb/Animations/Animatable.h:10,
ladybird>                  from /build/source/Userland/Libraries/LibWeb/DOM/Element.h:10,
ladybird>                  from /build/source/Userland/Libraries/LibWeb/Bindings/MainThreadVM.h:13,
ladybird>                  from /build/source/Userland/Services/WebContent/ConnectionFromClient.cpp:22:
ladybird> /build/source/Userland/Libraries/LibWeb/Animations/AnimationEffect.h:12:10: fatal error: LibWeb/Bindings/AnimationEffectPrototype.h: No such file or directory
ladybird>    12 | #include <LibWeb/Bindings/AnimationEffectPrototype.h>
ladybird>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ladybird> compilation terminated.
ladybird> [50/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/StandardPaths.cpp.o
ladybird> [51/195] Building CXX object Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/BackingStoreManager.cpp.o
ladybird> FAILED: Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/BackingStoreManager.cpp.o
ladybird> /nix/store/j4ficcv5bf7cc2pw4d1wwf7j506jav6q-gcc-wrapper-13.3.0/bin/g++ -DUSE_FONTCONFIG=1 -D_FILE_OFFSET_BITS=64 -I/build/source -I/build/source/Userland/Services -I/build/source/Userland/Libraries -I/build/source/build/Lagom -I/build/source/build/Lagom/Userland/Services -I/build/source/build/Lagom/Userland/Libraries -I/build/source/Userland -I/build/source/build/Ladybird/WebContent/.. -O3 -DNDEBUG -std=c++23 -fdiagnostics-color=always -Wall -Wextra -fno-exceptions -ffp-contract=off -Wcast-qual -Wformat=2 -Wimplicit-fallthrough -Wmissing-declarations -Wsuggest-override -Wno-invalid-offsetof -Wno-unknown-warning-option -Wno-unused-command-line-argument -Werror -Wno-expansion-to-defined -Wno-literal-suffix -Wno-dangling-reference -fno-semantic-interposition -fvisibility-inlines-hidden -fstack-protector-strong -fstrict-flex-arrays=2 -Wno-maybe-uninitialized -Wno-shorten-64-to-32 -fsigned-char -ggnu-pubnames -fPIC -O2 -g1 -Wno-user-defined-literals -MD -MT Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/BackingStoreManager.cpp.o -MF Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/BackingStoreManager.cpp.o.d -o Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/BackingStoreManager.cpp.o -c /build/source/Userland/Services/WebContent/BackingStoreManager.cpp
ladybird> In file included from /build/source/Userland/Libraries/LibWeb/HTML/TraversableNavigable.h:10,
ladybird>                  from /build/source/Userland/Services/WebContent/BackingStoreManager.cpp:8:
ladybird> /build/source/Userland/Libraries/LibWeb/HTML/Navigable.h:13:10: fatal error: LibWeb/Bindings/NavigationPrototype.h: No such file or directory
ladybird>    13 | #include <LibWeb/Bindings/NavigationPrototype.h>
ladybird>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ladybird> compilation terminated.
ladybird> [52/195] Building CXX object Lagom/Userland/Libraries/LibFileSystem/CMakeFiles/LibFileSystem.dir/TempFile.cpp.o
ladybird> [53/195] Building CXX object Lagom/Userland/Libraries/LibFileSystem/CMakeFiles/LibFileSystem.dir/FileSystem.cpp.o
ladybird> [54/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/ArgsParser.cpp.o
ladybird> [55/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/System.cpp.o
ladybird> ninja: build stopped: subcommand failed.

Fixed by adding -S Meta/Lagom to cmake flags.


Update Microsoft.EdgeWebView2Runtime: add ProductCode

This PR omits these files that are present in the current manifest:

(Automated response - build 509.)


[Documentation] Explain how to display math formulas in markdown

Possible solution

Recommend the use of RStudio as Markdown editor if formulas are required.
For GitHub, see A hack for showing LaTeX formulas in GitHub markdown.md

See also #21

Should be done in The Yarner's Book. See #21

Done in #111


not working in docker

Describe the bug
adapter does not start
To Reproduce
Steps to reproduce the behavior:

install adapter in docker
See error

Expected behavior
it must work
Screenshots & Logfiles

xterm.0
2021-11-08 00:47:19.894
debug
XTerm is listening on 7099

xterm.0
2021-11-08 00:47:19.892
debug
Using http createServer

xterm.0
2021-11-08 00:47:19.853
info
starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.xterm, node: v12.22.5, js-controller: 3.3.18

xterm.0
2021-11-08 00:47:19.127
debug
Plugin sentry Initialize Plugin (enabled=true)

host.iobroker
2021-11-08 00:47:17.065
info
instance system.adapter.xterm.0 started with pid 6667

**Versions:**
 - Adapter version: 0.2.0
 - JS-Controller version: 3.3.18
 - Node version:  v12.22.5
 - Operating system: docker 5.1.0
Additional context
and when the port changes, the cursor 'jumps' to the end. Also, there is no way to press the save and save and close button.

What exactly is not working? I can not see any error

Now I checked, it started with a yellow icon. When I try to connect, a login window pops up. But I don't understand what user is in the container? can't get into CLI

Here you need to enter iobroker credentials ... so from an ioBroker user

Thanks, managed go into the CLI.
By the way, I found a bug, if I erase the text with a backspace, then the cursor moves forward, not backward, while the text is actually deleted, but not on the screen, only the cursor moves forward.

Please create own issue for this ... also no idea if it is from us or from the used xterm lib


Update Polish translate

Below I add updated Polish translate for v1.4.3
pl.json

Thanks, I've included it for next release


In new api, what's the way to pass parameters?

I found the parameters of RocketMQSource are all set null, did I ignore some logic? What's the way of RocketMQSource in new api to pass the parameters? like consumerGroup, topic, accessKey, secretKey, etc.

@lizhimins Could you plz help me with this question?


fix(freespace_planning_algorithms): fix rrtstar can't arrive goal error

Signed-off-by: NorahXiong<EMAIL_ADDRESS>Description

fix #2099
Related links

Tests performed

Before
https://user-images.githubusercontent.com/103234047/203239784-3f031b1c-7935-42ca-bc10-1d120f994fad.mp4
After
Vehicle arrived at the goal in all three repetitions. Replanning is triggered in the first trial. The last segment is not traveled because arrive-at-goal tolerance in the second trial.
https://user-images.githubusercontent.com/103234047/203239792-cdc1f242-44ec-4b8e-8c73-4acf9803373b.mp4
Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

I've confirmed that the modification fixes the issue.


Missings ACEs

When working on a lab I noticed bloodhound-python is missing ACEs.
To compare, I used bloodhound ingestor from the official bloodhound repository. The 2 dumps were performed at the same time.
import json
with open("computers.json") as f:
     wrong = json.load(f)

with open("20210307143122_computers.json") as f:
     correct = json.load(f)

wrong['computers'][1]['Properties']['name']
'TEST.SUB.CORP.LOCAL'

correct['computers'][1]['Properties']['name']
'TEST.SUB.CORP.LOCAL'

len(wrong['computers'][1]['Aces'])
7
len(correct['computers'][1]['Aces'])
9

In this specific case, bloodhound is missing a critical ACE for domain user with Extended Rights :
        {
          "PrincipalSID": "S-1-5-21-1559563558-6653093943-1360247436-1103",
          "PrincipalType": "User",
          "RightName": "ExtendedRight",
          "AceType": "All",
          "IsInherited": false
        }

When running bloodhound-python I got no particular error except SID resolution (global catalog server not found) and nothing related to this user.

Could you post the list of aces that both tools output?

Sure !
From bloodhoud ingestor:
      "Aces": [
        {
          "PrincipalSID": "S-1-5-21-1559563558-6653093943-1360247436-512",
          "PrincipalType": "Group",
          "RightName": "Owner",
          "AceType": "",
          "IsInherited": false
        },
        {
          "PrincipalSID": "TEST.SUB.CORP.LOCAL-S-1-5-32-548",
          "PrincipalType": "Group",
          "RightName": "GenericAll",
          "AceType": "",
          "IsInherited": false
        },
        {
          "PrincipalSID": "S-1-5-21-1559563558-6653093943-1360247436-512",
          "PrincipalType": "Group",
          "RightName": "GenericAll",
          "AceType": "",
          "IsInherited": false
        },
        {
          "PrincipalSID": "S-1-5-21-1559563558-6653093943-1360247436-1103",
          "PrincipalType": "User",
          "RightName": "ExtendedRight",
          "AceType": "All",
          "IsInherited": false
        },
        {
          "PrincipalSID": "S-1-5-21-1559563558-6653093943-1360247436-519",
          "PrincipalType": "Unknown",
          "RightName": "GenericAll",
          "AceType": "",
          "IsInherited": true
        },
        {
          "PrincipalSID": "TEST.SUB.CORP.LOCAL-S-1-5-32-544",
          "PrincipalType": "Group",
          "RightName": "WriteDacl",
          "AceType": "",
          "IsInherited": true
        },
        {
          "PrincipalSID": "TEST.SUB.CORP.LOCAL-S-1-5-32-544",
          "PrincipalType": "Group",
          "RightName": "WriteOwner",
          "AceType": "",
          "IsInherited": true
        },
        {
          "PrincipalSID": "TEST.SUB.CORP.LOCAL-S-1-5-32-544",
          "PrincipalType": "Group",
          "RightName": "ExtendedRight",
          "AceType": "All",
          "IsInherited": true
        },
        {
          "PrincipalSID": "TEST.SUB.CORP.LOCAL-S-1-5-32-544",
          "PrincipalType": "Group",
          "RightName": "GenericWrite",
          "AceType": "",
          "IsInherited": true
        }
      ]
    },

From bloodhound-python:
      "Aces": [
        {
          "RightName": "Owner",
          "AceType": "",
          "IsInherited": false,
          "PrincipalSID": "S-1-5-21-1559563558-6653093943-1360247436-512",
          "PrincipalType": "Group"
        },
        {
          "RightName": "GenericAll",
          "AceType": "",
          "IsInherited": false,
          "PrincipalSID": "S-1-5-21-1559563558-6653093943-1360247436-512",
          "PrincipalType": "Group"
        },
        {
          "RightName": "GenericAll",
          "AceType": "",
          "IsInherited": false,
          "PrincipalSID": TEST.SUB.CORP.LOCAL-S-1-5-32-548",
          "PrincipalType": "Group"
        },
        {
          "RightName": "GenericAll",
          "AceType": "",
          "IsInherited": true,
          "PrincipalSID": "S-1-5-21-1559563558-6653093943-1360247436-519",
          "PrincipalType": "Unknown"
        },
        {
          "RightName": "GenericWrite",
          "AceType": "",
          "IsInherited": true,
          "PrincipalSID": "TEST.SUB.CORP.LOCAL-S-1-5-32-544",
          "PrincipalType": "Group"
        },
        {
          "RightName": "WriteOwner",
          "AceType": "",
          "IsInherited": true,
          "PrincipalSID": "TEST.SUB.CORP.LOCAL-S-1-5-32-544",
          "PrincipalType": "Group"
        },
        {
          "RightName": "WriteDacl",
          "AceType": "",
          "IsInherited": true,
          "PrincipalSID": "TEST.SUB.CORP.LOCAL-S-1-5-32-544",
          "PrincipalType": "Group"
        }
      ]
    },

I think the issue is in this line.
Just adding computer maybe fix your problem but if the computer has no laps you will see this in GUI. In order to avoid that message it is recommended to check laps first like this, as sharphound does too.
Keep in mind that there is another check for computer extendedright here that could be reported as an unexploitable ace.
I can make a PR if you want.
I would appreciate it if you would first accept or send feedback on this PR.

Hi @tiyeuse, any feedback about this?

Ah sorry, I haven't tested it yet. I'm gonna do this soon !

In my case these modification did the job, I could the see the previous missing permission.


How to registerOnChange on existing FormControl?

Is this possible to add a custom onChange function to the default FormControl?

Indeed, you can FormControl. But this is actually not an issue of the starter.

Indeed, you can FormControl. But this is actually not an issue of the starter.


"Color Palette" demo is not showing correctly

The "color palette" seems to be missing some styles. Currently there is not enough padding around each color and the color values and variables names are overlapping.
http://documentcss.com/examples/styles/variables.less.html

This is how they should display:

Closed by 682965e26557584e96896c500adcd36377ad07d8


Sir, How does this work

Each chapter from the book is a separate jupyter notebook. I would recommending getting the book to follow along.


Multiple databases

It would be great to be able to handle multiple databases (maybe each of them which a dedicated search string configured).

Good one, thanks for the suggestion. What value of "multiple" would work for you? Is 2 enough? 3?

personally, at the moment 3 is sufficient for me, but I wonder why you ask - why is a limit neccessary ?

personally, at the moment 3 is sufficient for me, but I wonder why you ask - why is a limit neccessary ?

I'm just thinking about the user experience:

separate unlocks of databases (with separate expirations)
at least 2 extra preference fields per database (keyword, database path)
should have a way to refer to different databases by name (when asking for password unlock, when showing error messages etc)

Just on the preference page alone, adding more than 2 additional databases is probably a non-starter.
And if those extra databases aren't tied to ulauncher keywords, then we'll need extra query syntax to specify which DB you need to search etc. Makes the whole thing complicated.
I'm looking at it. Will report back when I have something. In the meantime, if you have thoughts about UX for this, please share.


Geolocator gives different coordinates at the same location

  geolocator: ^6.1.6
It's return so many lat and lng when I using forceAndroidLocationManager: true. And also return many lat and lng when I using forceAndroidLocationManager: false.
Example: I didn't move the phone. Phone on my desk
Using forceAndroidLocationManager: true return more than 100 list of latLng within 1 minutes.
Using forceAndroidLocationManager: false return more than 20 list of latLng within 1 minutes.
Why return list of latLng without moving device? And also I remove duplicate latLng too.
  list.removeWhere((element) => element?.latitude == userLocation?.latitude || element?.longitude == userLocation?.longitude);
    list.add(userLocation);

Stream Data
    Geolocator.requestPermission().then((value) {
      if (value == LocationPermission.whileInUse || value == LocationPermission.always) {
        Geolocator.getPositionStream(desiredAccuracy: LocationAccuracy.bestForNavigation, distanceFilter: 0, timeInterval: 1000,
            forceAndroidLocationManager: false
        ).listen((event) {
          if (event != null) {
            _locationController.add(LocationModel.fromGeoLocatorData(event));
          }
        });
      }
    });

I am calculating totalKM based on the list of LatLng.
I am getting more than 10km result within 10 minutes without moving the device. Why is that?
  double getDistanceKM() {
    list.removeWhere((element) => element?.latitude == userLocation?.latitude || element?.longitude == userLocation?.longitude);
    list.add(userLocation);

    double calculate = 0;
     if (list.length > 1) {
        LocationModel firstLoc = list.elementAt(list.length - 2);
        LocationModel lastLoc = list.last;
        calculate = calculateDistance(firstLoc.latitude, firstLoc.longitude, lastLoc.latitude, lastLoc.longitude);
      }

//THIS WAY IS NOT WORKING TOO. BECAUSE SPEED IS ALWAYS RUNNING
//  if (userLocation.speed != null) {
//      if (userLocation.speed > .2 && list.length > 1) {
//        LocationModel firstLoc = list.elementAt(list.length - 2);
//        LocationModel lastLoc = list.last;
//        calculate = _cp.calculateDistance(firstLoc.latitude, firstLoc.longitude, lastLoc.latitude, lastLoc.longitude);
//      }
//    }

    totalKm += calculate;
    return totalKm;
  }

  double calculateDistance(lat1, lon1, lat2, lon2) {
    var p = 0.017453292519943295;
    var c = cos;
    var a = 0.5 - c((lat2 - lat1) * p) / 2 + c(lat1 * p) * c(lat2 * p) * (1 - c((lon2 - lon1) * p)) / 2;
    return 12742 * asin(sqrt(a));
  }

Hi @bhanuka96
I think what the problem is is that in your case Geolocator can't get a precise location enough to make this code work. In fact, the technology is simply not there yet.
Everytime a new location comes in, a small displacement gets added to your totalKM, eventually leading up to great distances.
Could you try to set the distanceFilter to let's say, 25 meters and see if there is any improvement?
Links for futher explanation:
FusedLocationProviderClient issue (default Api in android Geolocator uses)
More FusedLocationProviderclient
Stackoverflow issue where someone is explaining it far better than me

@Sempakonka Thanks for your reply. I will try and let you know

Closing this issue as per explanation of @Sempakonka.


Added German translation

Added German language file.

After a short fight with a surprise linter update, this is available in 1.8.2
Thanks @maziggy! :)


Clear AKV data after setting the connection attribute or when exception is thrown

Coverage increased (+0.02%) to 75.386% when pulling 6e9fab81c214b0c76cc80d59689d1fd4ab51654d on yitam:akvReset into 432901d7a07f7dc6cf81ec4795108a71b82d8d75 on Microsoft:dev.

Codecov Report

Merging #854 into dev will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #854      +/-   ##
==========================================
+ Coverage   80.18%   80.24%   +0.05%
==========================================
  Files          25       25
  Lines        7419     7451      +32
==========================================
+ Hits         5949     5979      +30
- Misses       1470     1472       +2

Impacted Files
Coverage Δ

...php-7.1.22-src/ext/pdo_sqlsrv/shared/core_conn.cpp
84.47% <0%> (+0.14%)
:arrow_up:

...x86/php-7.1.22-src/ext/sqlsrv/shared/core_conn.cpp
80% <0%> (+0.27%)
:arrow_up:

...x86/php-7.1.22-src/ext/sqlsrv/shared/core_sqlsrv.h
85.76% <0%> (+0.32%)
:arrow_up:

...php-7.1.22-src/ext/pdo_sqlsrv/shared/core_sqlsrv.h
83.03% <0%> (+0.36%)
:arrow_up:

Continue to review full report at Codecov.

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


Add GitHub Action that automatically displays all contributors in the READMEContributor

Hey @Vignesh025 Please acceept my PR with label "gssoc-ext", "hacktoberfest-accepted" and "level2"

Thankyou For Contributing!


Native bst support on Windows w/ WSL, remote execution only

See original issue on GitLab
In GitLab by [Gitlab user @sstriker] on May 30, 2018, 10:31
As outlined in https://mail.gnome.org/archives/buildstream-list/2018-May/msg00066.html:

Even when the target platform is Linux, there is a large set of developers on either OS X or Windows [laptops].   As we are considering different execution environments on workers, we can also start considering supporting BuildStream natively in these environments.

Remote execution only support is a good starting point.  This issue specifically limits the scope to Windows w/ WSL installed (https://docs.microsoft.com/en-us/windows/wsl/about).
Some work may be possible to start, but completion will depend on the remote execution client landing in BuildStream https://gitlab.com/BuildStream/buildstream/issues/454
Some other relevant ML posts:

https://mail.gnome.org/archives/buildstream-list/2018-June/msg00003.html
https://mail.gnome.org/archives/buildstream-list/2018-June/msg00006.html
https://mail.gnome.org/archives/buildstream-list/2018-June/msg00038.html

In GitLab by [Gitlab user @richardmaw-codethink] on Jun 25, 2018, 18:23
marked this issue as related to #411

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jul 23, 2018, 16:58
changed the description

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jul 23, 2018, 17:20
changed the description

In GitLab by [Gitlab user @knownexus] on Aug 6, 2018, 20:16
I'm going to attempt to tackle both this issue and #411 at the same time, so i will be posting this to both issues.
I've been looking into this and attempting to break down the task into smaller chunks
Unfortunately, until i have more knowledge/understanding, a lot of it is vague or guess work, but this is the breakdown i have so far
Research

Windows - WSL
Alternatives to FUSE

Prep

[ ]  Prepare Windows Laptop
[ ]  Enable WSL on Windows Laptop

Functionality

[ ]  Install Buildstream
[ ]  Find an alternative to the FUSE layer

This is not available on WSL

[ ]  Find out which tests fail
[ ]  Make tests pass, or if not possible, skip

Testing

[ ] (Optional) Add additional test runners to test Windows

In GitLab by [Gitlab user @edbaunton] on Aug 6, 2018, 21:28
Am I correct in thinking that both this and #411 depend on #454?

In GitLab by [Gitlab user @tristanvb] on Aug 7, 2018, 06:07
marked this issue as related to #454

In GitLab by [Gitlab user @tristanvb] on Aug 7, 2018, 06:08
[Gitlab user @edbaunton] I would certainly think that is the sensible way forward, otherwise I don't see how you would test that anything works.
In any case, marking #454 as related to both of these.

In GitLab by [Gitlab user @LaurenceUrhegyi] on Aug 7, 2018, 08:33
changed the description

In GitLab by [Gitlab user @toscalix] on Aug 7, 2018, 10:49
[Gitlab user @knownexus] from what I read about your proposal, the only plan is to consider Mac OSX -> VM -> Windows 10 -> WSL -> BuildStream. Correct?
If the above assumption is correct, from a maintenance and community support perspective, I believe we will need to consider the use case where BuildStream is used with a native Windows plus WSL. In my opinion, this case will get at least as many support requests upstream than the one on a Windows VM.
So I would consider as well: Windows 10 -> WSL -> BuildStream
This use case will also help us to contrast performance hits and other undetermined issues related with WSL, a technology that is fairly recent, compared to the VM case. I would expect small issues when we push it.

In GitLab by [Gitlab user @tristanvb] on Aug 7, 2018, 11:45
I missed the WSL part of this.
To be frank, I think that if we support the Windows 10 with WSL case, it should not be for remote execution only; we should ideally be able to run builds on the Windows 10 machine using the WSL layer.
For remote execution only, it seems to me that we shouldn't really need WSL, it would be nicer to be able to just run natively on windows.
I can see how running BuildStream with remote execution is the lowest effort possible, but I worry about what the longer term support expectations will be for this. For instance, if we duct tape it all together now and declare this setup "supported"; do we need to keep supporting this indefinitely, even when we have BuildStream running natively on windows without WSL ?

In GitLab by [Gitlab user @juergbi] on Aug 7, 2018, 14:07

For instance, if we duct tape it all together now and declare this setup "supported"; do we need to keep supporting this indefinitely, even when we have BuildStream running natively on windows without WSL ?

I don't expect much, if any, work to be required for only remote execution on WSL - except for general support of installing BuildStream without the local build feature, but we want that anyway for macOS. Due to this I don't expect any duct taping or big support costs. If it's indeed such a low hanging fruit, I think it makes sense to support it.
For local execution I expect the main blockers to be FUSE and bubblewrap. For the latter, see https://github.com/projectatomic/bubblewrap/issues/272
For a native Windows port I expect a lot more effort to be required, even just for remote execution. E.g., BuildStream's use of fork() could be a big issue. Due to this I suspect this is still a long way off and the low effort WSL support could be very useful.

In GitLab by [Gitlab user @LaurenceUrhegyi] on Aug 8, 2018, 09:06
changed the description

In GitLab by [Gitlab user @sstriker] on Aug 8, 2018, 15:10
changed the description

In GitLab by [Gitlab user @knownexus] on Aug 8, 2018, 15:30
[Gitlab user @toscalix] apologies if i did not make myself clear, I do not intend to make it work on MacOs by using a windows VM,
i was going to make it work on MacOS and to save from needing a 3rd computer, set up a VM and make it work on windows through that

In GitLab by [Gitlab user @knownexus] on Aug 8, 2018, 15:33
[Gitlab user @tristanvb] That is my goal, however i am unsure of how compatible it will be, either way i need to find a way past the lack of a fuse layer, but if possible, i intend to make windows WSL run buildstream natively

In GitLab by [Gitlab user @knownexus] on Sep 10, 2018, 13:25
mentioned in merge request !726

In GitLab by [Gitlab user @knownexus] on Sep 17, 2018, 17:14
This can now run on remote execution, further testing and documentation is required

In GitLab by [Gitlab user @knownexus] on Sep 18, 2018, 10:15
assigned to [Gitlab user @knownexus]

In GitLab by [Gitlab user @toscalix] on Sep 18, 2018, 15:17
marked this issue as related to #644

In GitLab by [Gitlab user @juergbi] on Sep 27, 2018, 15:55
mentioned in commit 261f65cafaf1ab06c52a3155a01256b67df92b70

In GitLab by [Gitlab user @juergbi] on Sep 27, 2018, 16:10
Fixed in !726.

In GitLab by [Gitlab user @juergbi] on Sep 27, 2018, 16:10
closed


Pywal color change in fish shell

How to make pywal change color with real time background image?
That is, when wallpaper changes pywal's color should change automatically in fish shell
For KDE am using ,
grep 'Image=' ~/.config/plasma-org.kde.plasma.desktop-appletsrc | sed 's/Image=//'
this to  fetch image
Can someone tell how can I write the code?

Hey. You might want to check this PR: https://github.com/dylanaraps/pywal/pull/568
If you want to configure it by using the main project, you could make a postrun script. Something like this here: https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/setbg which adds custom templates from here
https://github.com/LukeSmithxyz/voidrice/tree/master/.config/wal

i did it by
putting cat /home/username/.cache/wal/sequences in .config/fish/config.fish


feat!: update implementation for vue 3

resolves https://github.com/danielroe/stream-vue/issues/83

Summary by CodeRabbit

New Features

Introduced a new video stream management functionality in the Vue.js application.

Improvements

Upgraded Vue.js dependencies to support the latest version (Vue 3).
Refactored components to use the Composition API for better reactivity and simplicity.
Enhanced the type definitions for better flexibility in props.

Bug Fixes

Updated test configurations to be compatible with the latest Vue.js version.

Development Enhancements

Added Vite configuration for improved development and build processes.
Updated development dependencies to their latest versions.

thanks for the work done! but will there be a version update on npm? I have a problem when trying to install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: project@undefined
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/vue
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/stream-vue
npm ERR!   stream-vue@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

I do - thanks for the ping.

This is now released as v0.5.0. Please let me know of any issues you experience.

This is now released as v0.5.0. Please let me know of any issues you experience.

It works fine! Thank you very much for your work!


Invalid email addresses

Invalid email addresses should also mention spaces in the email address. When an Email address contains a space, EOP will mark the email as junk

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

ID: 3bd8eda3-422f-0ca5-328c-cf049daf296e
Version Independent ID: 24a28789-1473-dc1f-aa94-67015c1ff12d
Content: How EOP validates the From address to prevent phishing - Office 365
Content Source: microsoft-365/security/office-365-security/how-office-365-validates-the-from-address.md
Service: microsoft-365-security
Sub-service: mdo
GitHub Login: @chrisda
Microsoft Alias: chrisda

OK. Added:

From: <firstname<EMAIL_ADDRESS>(The email address contains a space.)

Thanks for the feedback.
Closing

Hello Chris,
Should that be visible already? I don’t see the change yet…
Kind regards
--
Jeroen Dronkers
Support Escal Eng
Eq-Uk Gtsc Bizapps Server
Customer Services and Support
Office: +44<PHONE_NUMBER>
<EMAIL_ADDRESS>[abc]

Team Manager | Frances Early<EMAIL_ADDRESS>+44 (20) 34251539
Did you know? You can submit your feedback for this Support ticket from the Navigation menu in the Microsoft 365 admin center
From: Chris Davis @.>
Sent: Thursday, November 3, 2022 4:40 PM
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: Jeroen Dronkers @.>; Author @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Invalid email addresses (Issue #10135)
OK. Added:
From: <firstname<EMAIL_ADDRESS>(The email address contains a space.)
Thanks for the feedback.
Closing
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F10135%23issuecomment-1302380483&data=05|01|jedronke%40microsoft.com|dcc3254cc5f345d0833508dabdba14a2|72f988bf86f141af91ab2d7cd011db47|1|0|638030904179280711|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=BKcACT4cGo7owNDamAuKMp%2BLwFJlG6X17tsHjLRHObQ%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKVZUKBBQGV2T7KFBOQRF5TWGPTGZANCNFSM6AAAAAARV343ZU&data=05|01|jedronke%40microsoft.com|dcc3254cc5f345d0833508dabdba14a2|72f988bf86f141af91ab2d7cd011db47|1|0|638030904179280711|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=AFWrFJeley6droMJfRN2wlnzUApQ75%2FIm4cSEOXzWq8%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


Panic in macos gateway code

Unfortunately we are sometimes seeing this panic in iroh. This is in 0.27, but from what I can tell, this code has not changed in the newer releases.
thread 'tokio-runtime-worker' panicked at /Users/rklaehn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/netdev-0.27.0/src/gateway/macos.rs:428:9:
assertion `left == right` failed
  left: 0
 right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Ref: https://github.com/n0-computer/iroh/issues/2448

Thank you for reporting.
Replace assert_eq! with error handling for RTM_VERSION check.
If the RTM_VERSION is not as expected, the function now eprintln! message and returns an io::Error with message.
The fix will be included in the next release. v0.30.0

Thanks a lot


Add cannon animation to gltf model in threejs

Hi i am new with cannon js , and i hope to achieve like this animation https://dribbble.com/shots/5999213-Developer-Website-Contacts-Page
any tips to start with this plz?

@leenFskr cannon is not maintained any longer. use cannon-es: https://github.com/pmndrs/cannon-es
as for your question, this contains full code: https://twitter.com/0xca0a/status/1414971353766240261 it is using cannon-es in react though via use-cannon.


Please make a new release to incorporate newest bug fixes.

Would you kindly enough to push another release?

Sure, will release 0.3.0 this weekend. You can use master meanwhile.

Done.


PostgreSQL: Table Backup creates .sql file in custom format by default

System information:

Windows 10
DBeaver 21.0.3

Connection specification:

PostgreSQL 11
PostgreSQL JDBC Driver
Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
By default, when using Tools->Backup on a PostgreSQL table, DBeaver uses the Custom format, which creates a file in a PostgreSQL-specific binary format. Yet, by default, the file is named with a ".sql" extension, even though its content is not SQL, due to the File name pattern, which defaults to "dump-${database}-${timestamp}.sql".
The proper fix would be to make File name pattern dependent on the format, or to exclude the extension from the pattern.
Steps to reproduce, if exist:

Bring up the context menu on a PostgreSQL table
Open Tools
Select Backup
Activate the Start button

The problem will not happen if a backup was already done and the last one was in SQL format.

thanks for the report

Fixed.

verified


Containers provider bearer authentication status appears as unreachable even though refresh works

@yaacov @simon3z @abonas

@miq-bot add_label bug, providers/containers

@miq-bot assign yaacov

Closing this, its yet another local issue.
This happened because we were using the fill script.


Put a big z-index

I have some floating content and it overlaps fixed content.

thanks, released.


ListView Deprecated

Whenever running my application an error is thrown saying that ListView is deprecated.

+1

Duplicate of #69

Yeah, I got it too.


Installation error in julia 0.5.0

Any idea what's causing this?
LoadError: SystemError: opening file /Users/IanB/.julia/v0.5/Homebrew/deps/usr/Library/Taps/homebrew/homebrew-core/Formula/mongo-c.rb: No such file or directory
while loading /Users/IanB/.julia/v0.5/LibBSON/deps/build.jl, in expression starting on line 27

This prints just after a @osx_only depreciation warning

brew seems to have renamed the mongo c formula
mongo-c -> mongo-c-driver

Created PRs https://github.com/pzion/LibBSON.jl/pull/26 and https://github.com/pzion/Mongo.jl/pull/23


[MWPW-140239] Import Milo table block to staging

Built the feature table (table-ax) block for AX from the milo tables block.
Implemented all the necessary features as described in the new one-plans design doc.
Outstanding features/to dos:

Authoring documentation & kitchen sink examples

Add examples with header buttons (showing {{dark}} button prop) to kitchen sink
Add examples showing +/- feature values to columns

Fix header button text wrapping before tablet break
Dark button for free plan,

Consider alternative method for targeting the free plan button (currently triggered by an authored prop)
Fix dark button's inconsistent height

Update Sticky Header styling to be full width, borderless, with shadow on scroll (as per design doc)
General text styling (not sure text styles should be defined in CSS file, or authored on the page)
General layout styling (adjustments to spacing, padding, etc.)
Confirm page contents?

"Place linked Ps/Ai files" under "Photo & Design" shows included and not included for free plan on different pages
Free plan states more Adobe Stock Backgrounds than the premium and teams plans
Educators page shows Free plan's offerings under Premium header

Resolves: https://jira.corp.adobe.com/browse/MWPW-141070
Test URLs:
Kitchen sink: https://milo-tables--express--wbstry.hlx.page/docs/library/kitchen-sink/table-ax
Before: https://milo-tables--express--adobecom.hlx.page/drafts/aaronatkinson/milo-tables/?martech=off
After: https://milo-tables--express--wbstry.hlx.page/drafts/aaronatkinson/milo-tables/?martech=off

As per discussion with @JingleH  since there is deviation from milo table to express table, it is more of pricing-table now. Closing this ticket.


change of about section

Pull Request Checklist
Fixed issue #170

[ ] I have added screenshots and videos to show the working of my code.
[ ] I have ensured that the screen size is set to 100% while making the video.
[ ] I have synced the latest fork with my local repository and resolved any conflicts.

Add screenshots of what you have done

This branch has conflicts resolve them
And add screenshots from the live website before and after changes

Before

After

hello , kindly sync your fork and make a NEW pr if required


Adding tests

Added units tests for functions.
Added sample media files for the uni tests

Merging - has tests and sample file


STEPPartImporter Not Working

I'm not sure what I'm doing wrong, but I'm trying to import a STEP file using something like the following code...
...
from cqparts.codec.step import STEPPartImporter
...
class RobotAssembly(Assembly):
    def make_components(self):
        chassis = Chassis()
        stepper1 = Stepper()
        stepper2 = Stepper()
        stepper3 = Stepper()
        stepper4 = Stepper()
        heatset1 = STEPPartImporter('./parts/cots/94180A312_HEAT-SET INSERTS FOR PLASTICS.STEP')

        return {'chassis': chassis, 'stepper1': stepper1, 'stepper2': stepper2,
                'stepper3': stepper3, 'stepper4': stepper4, 'heatset1': heatset1}

... but I get the following error on the return statement. No error is thrown on the import.
Running the Python command 'CadQueryExecuteScript' failed:
Traceback (most recent call last):
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/CQGui/Command.py", line 232, in Activated
    imp.load_source('__cq_freecad_module__', tempFile.name)
  File "/tmp/tmplYhe9O", line 51, in <module>
    robot_assembly.world_coords = CoordSystem()
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/component.py", line 49, in world_coords
    self._placement_changed()
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/assembly.py", line 115, in _placement_changed
    self.solve()
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/assembly.py", line 125, in solve
    for (component, world_coords) in solver(self.constraints, self.world_coords):
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/assembly.py", line 105, in constraints
    self.build(recursive=False)
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/assembly.py", line 226, in build
    self.verify_components(new_components)
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/assembly.py", line 159, in verify_components
    ) % (name, component))

invalid component type from make_components(): ('heatset1', <cqparts.codec.step.STEPPartImporter object at 0x7f2f086fea10>) (must be a (str, Component))

Have I made an obvious mistake? Isn't the importer call supposed to return a Part object?

@jmwright
STEPPartImporter is a class that does not inherit from Component... hence the error.
The STEPPartImporter is a Component factory class that will return an instance of a class it creates t import the STEP file you give it.
Have a read of https://fragmuffin.github.io/cqparts/doc/cqparts/import-export.html?highlight=import#getting-an-importer
filename = './parts/cots/94180A312_HEAT-SET INSERTS FOR PLASTICS.STEP'

# change this...
heatset1 = STEPPartImporter(filename)

# to this
heatset1 = cqparts.Part.importer('step')(filename)
# if the step file has multiple parts, you'll want
heatset1 = cqparts.Assembly.importer('step')(filename)
# If you don't know what's in the file, I'd recommend going with the Assembly importer.

Let me know if that solves your problem.

Ok, sorry, I should have spent more time in the docs. I got fixated on STEPPartImporter and didn't look hard enough for anything else.
I still get an error, but it's different now.
Running the Python command 'CadQueryExecuteScript' failed:
Traceback (most recent call last):
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/CQGui/Command.py", line 232, in Activated
    imp.load_source('__cq_freecad_module__', tempFile.name)
  File "/tmp/tmpKETji6", line 52, in <module>
    robot_assembly.world_coords = CoordSystem()
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/component.py", line 49, in world_coords
    self._placement_changed()
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/assembly.py", line 115, in _placement_changed
    self.solve()
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/assembly.py", line 125, in solve
    for (component, world_coords) in solver(self.constraints, self.world_coords):
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/assembly.py", line 105, in constraints
    self.build(recursive=False)
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/assembly.py", line 224, in build
    components_iter = genwrap(self.make_components(), "make_components", dict)
  File "/tmp/tmpKETji6", line 21, in make_components
    heatset1 = cqparts.Part.importer('step')(os.environ.get("MYSCRIPT_DIR") + '/parts/cots/94180A312_HEAT-SET INSERTS FOR PLASTICS.STEP')
  File "/home/jwright/.FreeCAD/Mod/cadquery-freecad-module/ThirdParty/cqparts/codec/step.py", line 87, in __call__
    'make': make,

type() argument 1 must be string, not unicode

I'm running this in FreeCAD stable in Ubuntu 17.10 using the latest version of the CadQuery workbench.
OS: Ubuntu 17.10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13522 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)

A side note for anyone using cqparts from the CadQuery workbench: The workbench executes scripts in a temporary file, so if you want to access step files embedded with your project, you can use the environment variables.

@jmwright

Ok, sorry, I should have spent more time in the docs

No problem mate! that's what I'm here for ;)
also... fixing bugs...

I still get an error, but it's different now.

That's a good find! I believe that's being raised because I'm trying to set the name of a dynamically created class with unicode (I would have guessed that was a python3 issue, but you're using 2.7)
I'll fix this later today.
Thanks for the feedback @jmwright !

Great, thanks.
I'm trying to figure out how to handle cqparts updates in the FreeCAD workbench. I update the CadQuery library between releases so that users always have access to the latest version. I'm guessing I should do the same with cqparts.

@jmwright

I'm trying to figure out how to handle cqparts updates in the FreeCAD workbench. I update the CadQuery library between releases so that users always have access to the latest version

Hmm, but as you get more libraries, you'll end up doing a lot of work in between releases... I guess you could automate the process so each user's installation can check for updates and install them as they're released, but then you'd also need a way to intentionally hold back to a particular version.
This design could very quickly lead to making your own mini package management system, but instead...
Could you use pip install --upgrade --target cadquery/libs/folder -r requirements.txt where the requirements.txt file can be edited by an expert user to isolate particular versions (if they want).

I've got a script to update all the requirements from PyPi, but I run weird setups sometimes so that users can get the latest features quickly, and I like to have (and sometimes need) manual control. At this time, I'm only maintaining CadQuery and PyQode updates manually.  CadQuery to roll features out more quickly, PyQode because it's abandonware and I have to make the updates myself. I don't think that adding cqparts to the manual maintenance mix will add that much more work.

I believe #116 has fixed that issue. Issue closed.
@jmwright if that hasn't fixed the issue you're experiencing, let me know and I'll re-open this issue.

Thanks, that fixed it.
I took the opportunity to update everything cqparts related in the FreeCAD workbench. I did all the cqparts_* directories, even if they are just placeholders. Users will be able to get the latest by updating through the add-ons manager.


Scroll to the selected list item in mobile ResultPage

Reason (Why?)
In the mobile version the list should scroll to the selected list item (post) so it is on the top of the list.
Solution (What?)
Only the list should scroll, not the whole screen. That means if the map is visible at the top of the screen it should not move after selecting a post. Only the list itself should scroll.
Out of scope
Any other page that is not the result page. The Webversion of the page.
Relation to other Issues
#76
Acceptance criteria

Click on a list item to select it. The list item should be shown at the top of the list.
Open the map an scroll so you can see a part of the map an a part of the list. Then select a post. Only the list should scroll to the list item but the map should stay visible and unmoved.

This Issue was resolved by #495


Weird syntax highlight with dark theme

Hi !
First, thank you for your theme (and for not using Google Font or any CDN stuff <3).
I really like your dark theme but code blocks highlighting stings the eyes, because of white background :

Does the futur toggle for white/dark mode will take into consideration this syntax highlight for code block or inline code ?
Cheers !

Hi,
Thanks for the feedback. That really does not look that nice, especially the part of burning everyones eyes.
I have multiple options that would fix this:

Excluding the code blocks from the invert filter (like the images).
Moving from an CSS invert filter to actual theme colors, for example with CSS variables.

Both should have only a small impact on the CSS size and would allow users of the theme to have consistent syntax highlightning themes accross light and dark mode.
Additionally, option 2 would allow emojies to render in zhe correct color, which I would prefer.
What's your opinion on this?

I am not very familiar with web development but I think that solution #2 is quite well. User will be able to modify those variables and customize as he wants (if he wants to set a custom highlight_theme value which fit better for example) AND have correct emojis.
My skills are weak (like my English 😃) but I can test you solution by grabbing a test branch if needed.
Thank you for your help.

@Zilkos I justes implemented an fix in https://github.com/oltdaniel/dose/commit/70d54fe47825b7d761c57e58df6687c3548c5954 . Now we use colors instead of the invert mode, which means we don't have weird color shifts.

Awesome !

@Zilkos I fixed a little bug that occured, the time element for the main page listing was invisible in the dark mode. Fix can be found in commit https://github.com/oltdaniel/dose/commit/a1a567401590e5330b6117e7181415dfda64754e.


[SPARK-30267][SQL] Interoperability tests with Avro records generated by Avro4s

What changes were proposed in this pull request?
Tests to ensure interoperability with Avro4s.
These tests check, that Avro records generated by Avro4s can be successfully deserealized to Spark SQL records.
Avro4s version 2.0.4 is used - the latest version compatible with Avro 1.8 (used by Spark).
Why are the changes needed?
Avro4s is a popular library to make conversions between Avro records and Scala case classes.
I faced the issue with ClassCastException https://issues.apache.org/jira/browse/SPARK-30267 when using Avro records generated by Avro4s.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
New tests: Avro4sInteroperSuite.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Let's don't add a test with a dependency unnecessarily. Looks it's orthogonal and the relationship between Spark <> Avro4s seems not clear. I suspect Avro4s should work with Spark if both complies Avro?

The relation is:

Spark provides the ability to convert an Avro record to a Spark SQL data structure
Avro4s is a popular library to generate Avro records

The compliance of both products with Avro protocol does not give the guarantee of interoperability between the two. The issue with ClassCastException illustrated the problem.

SPARK-30267 one was a bug in Spark <> Avro.

can we have a small test to simulate the class generated by avro4s? instead of adding the avro4s dependency.

Technically we can write case classes simulating the output of avro4s. This approach has a disadvantage: no clue about what version of avro4s we are compatible with.
With current approach we can see that avro4s 2.x is supported, but not 3.x. If one day Spark migrates to Avro 1.9 (from currently used 1.8), the compatibility with avro4s 2.x might be broken => we can notify users about broken compatibility and migrate to avro4s 3.x.

Promise the compatibility with avro4s is a big thing and needs to be voted by the PMC committee, so that the community will maintain it and clearly document it.
If we just fix a specific case class that should be supported, it's a bug fix and any committer can merge it with a proper review.

I'm fine with both approaches. Compatibility with Avro4s looks like additional value to me. However, if the community disagrees with test-scope dependency on Avro4s, then I can modify this PR.


V2 starter

Refactored starter code

This activity is currently not working so I refactored it- the started code should be merged to main and solution branch left as is


Feature Request | KeyStateObservable Get All Pressed/Released Keys

So... Essentially, what I am missing is a method that returns an Array of
VirtualKeys which are either pressed or released.
KeyStateObservable observable = KeyStateObservable.of(...)
VirtualKey[] pressed = observable.getPressedKeys();

Example:
KeyStateObservable observable = KeyStateObservable.of(VirtualKey.values());
observable.subscribe((update) -> System.out.println(VirtualKey.fromCodes(observable.getPressed())));


Allow magicgui to return a worker object

Description
This follows on #2581 (which allowed a magicgui widget to return a concurrent.futures.Future object representing a future result to be added to the viewer), and adds support for directly return a ._qt.qthreading.FunctionWorker (i.e. the result of calling a function decorated with @threadworker):
from magicgui import magicgui
from napari.qt.threading import thread_worker, FunctionWorker
from napari.types import ImageData

@magicgui
def my_widget(...) -> FunctionWorker[ImageData]:

    @thread_worker
    def do_something_slowly(...) -> ImageData:
        ...
        return image_data

    return do_something_slowly(...)

I've updated the mgui_with_threading.py example here as well.
this includes #2581, but they should be considered separately.
Type of change

[x] New feature (non-breaking change which adds functionality)

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

It looks like some tests are failing, but should be easy to get this in soon

yeah... actually... there is a rather tricky problem in #2581 that is also showing here, which is that Future is not generic in python 3.7 (so Future[something] doesn't work) ... and also the forward reference is being difficult.  So I actually may need to improve some things on the magicgui side before any of this can merge

Looks like this still needs a bit of work so I'm going to bump to 0.4.9, but let me know @tlambert03 if you want to try and get it in for 0.4.8

Yep, bump this

This has one test fail @tlambert03 - maybe we review after #2581. Not sure though if @jni @nclack might want to look at this now too though when looking at the other one. Also cc @jaimergp @Carreau

yeah, there's a fair amount of overlap between this and #2581, so let's do that one first, and then I'll merge into this PR and cleanup

@tlambert03 I see you just merged in main and all tests are passing so i'm giving this a merge!


Anti reverse engineering

Hi, can I use c, c++ source code protectors like "VMProtect" or "The Enigma Protector" as a protective layer that wraps the .exe file generated by Nuitka to increase security ?

For Python we have this: https://nuitka.net/doc/bundles.html
Such tools are of course useful. With Themida, interaction from within Python can control the VMs, so it can be way better for simple and powerful usages.


beanshell interpreter crashes

From @GoogleCodeExporter on May 31, 2015 11:31
Samsung Galaxy S III SGH-T999

Cyanogenmod 10

What steps will reproduce the problem?

1. Get the beanshell addon.
2. Tap Install.
3. In SL4A, start a beanshell interpreter.

What is the expected output? What do you see instead?

Expected: Beanshell starts.

Observed: Beanshell crashes, failing to find the Interpreter class.

What version of the product are you using? On what operating system?

Latest, on Android 4.2.2 Jelly Bean.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 12 Apr 2013 at 12:09
Copied from original issue: damonkohler/android-scripting#680

From @GoogleCodeExporter on May 31, 2015 11:31
Also happens on CM 7.2.0. I tried to install other versions to see if it is
just this version that is broken, but r1, r2, and r3 all install BeanShell
2.0b4. r2 is the featured/default, but the other two seem to be the same
version.

This is the output I get when attempting to run hello_world.bsh or just the
interactive interpreter:

java.lang.ClassNotFoundException: bsh.Interpreter
        at java.lang.Class.classForName(Native Method)
        at java.lang.Class.forName(Class.java:234)
        at java.lang.Class.forName(Class.java:181)
        at com.android.internal.util.WithFramework.main(WithFramework.java:36)
        at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NoClassDefFoundError: bsh.Interpreter
        ... 5 more
Caused by: java.lang.ClassNotFoundException: bsh.Interpreter in loader
dalvik.system.PathClassLoader[/mnt/sdcard/com.googlecode.bshforandroid/extras/bs
h/bsh-2.0b4-dx.jar]
        at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
        ... 5 more

Original comment by james.r.haigh on 10 Jan 2014 at 2:26

From @GoogleCodeExporter on May 31, 2015 11:31
Ok

Original comment by<EMAIL_ADDRESS>on 10 Jan 2014 at 3:38