hadoop: Always use registered hostname

Description
Fixes https://github.com/stackabletech/hdfs-operator/issues/468
This changes the datanode identity from the pod hostname to the IP address. This fixes both WebHDFS and the broken datanode dashboard in the namenode web UI.
Definition of Done Checklist

Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
Please make sure all these things are done and tick the boxes

- [ ] Changes are OpenShift compatible
- [ ] All added packages (via microdnf or otherwise) have a comment on why they are added
- [ ] Things not downloaded from Red Hat repositories should be mirrored in the Stackable repository and downloaded from there
- [ ] All packages should have (if available) signatures/hashes verified
- [ ] Does your change affect an SBOM? Make sure to update all SBOMs

hdfs-operator's smoke and kerberos tests pass against this image.


Missing dots ?

Thank you for sharing this (and all the other stuff) - it's much appreciated!
In a test-run of the install I had a hitch with the service-worker install promise failing. Seems to be a couple of missing dots after ".min" (before {{staticAssetsVersion}}) in the staticAssets URLs. E.g: https://github.com/nystudio107/craft/blob/27360ee91b80c738c8b5c2d3dbfa77504f1bdf22/templates/sw.js#L32
Perhaps only an issue running on Laravel Valet, but though I let you know anyways.
Cheers!

Thanks for the report -- will fix! :)

This is fixed in 1.0.4:
https://github.com/nystudio107/craft/releases/tag/1.0.4


Search Engine Performance

How do we let Google index BangleApps properly so a search for "Bangle.js BLE Scanner" goes directly to the "BLE Scanner" app? The URL would be banglejs.com/apps#blescan
I made some changes recently to try and help with this: 8beb44510b8d8ca24dc86901023509b754050db8
But there might be more we could do... It's got to help

I was going to say you could try generating an XML site map, but I'm not sure it considers # anchors to be different pages.
Is it possible to make the URL banglejs.com/apps/blescan instead? That way it looks like its it's own page. You can do that kind thing with the History API.
It would probably help if the apps actually part of initial HTML of the page, rather than added in with JavaScript. How about pre-rendering the apps HTML, so it's already there before the JS kicks in to make all the filtering work? You could do it as part of the build/deployment process. Maybe.

I guess to make banglejs.com/apps/blesca work I'd have to modify the webserver too. Nothing stops me from using query strings though - like banglejs.com/apps?a=blesca?
In terms of pre-rendering, I think we're ok as-is. If you google bangleapps you can see Google's managed to pull in the content from apps.json by running the JS, so it's just ensuring it knows how to link everything.


Can I exceed the 20GB limit?

can I exceed the 20GB limit through this API wrapper?

no

I see, thanks for the reply


whereHas error

On
ModelName::whereHas('something', function($q){
...
})
...
->get();
Error
"Method Jenssegers\Mongodb\Query\Builder::getOwnerKey does not exist.",

@behnamazimi I don't remember(((
It seems it was somthing wrong with relation on my side, try to check it.
I've searched along my project for whereHas() and found on;y this
$contribution = $this->contribution
                ->with(['proposal'])
                ->where('_id', $id)
                ->whereHas('proposal', function ($q) {
                    $q->where('user_id', Auth::id());
                })
                ->firstOrFail();

@behnamazimi did you find a solution ?

@jenssegers did you ever seen that ?

Error was raise when I want to use sub-relation like relationship hasManyThrough() in Laravel Eloquent.
I have 3 model: Book(_id, book_category), BookCategory(_id, book_id, category_id) and ReadAfter(book_id). I want to list all Book in Read After and Book has category in $categoryId array.
Model ReadAfter() with function:
public function book()     {         return $this->belongsTo('App\Model\Book', 'book_id', '_id');     }
Model Book with function:
public function bookCategory()     {         return $this->hasMany('App\Model\BookCategory');     }
Last, I query result
$item = $this->model->where($where)                     ->whereHas('book', function($query) use( $categoryId) {                         $query->whereHas('bookCategory', function($subquery) use($categoryId){                             $subquery->whereIn('category_id', $categoryId);                         });                     })                     ->with(['book'])->get();
This is my case, hope help you.

Error was raise when I want to use sub-relation like relationship hasManyThrough() in Laravel Eloquent.
I have 3 model: Book(_id, book_category), BookCategory(_id, book_id, category_id) and ReadAfter(book_id). I want to list all Book in Read After and Book has category in $categoryId array.
Model ReadAfter() with function:
public function book()
    {
        return $this->belongsTo('App\Model\Book', 'book_id', '_id');
    }

Model Book with function:
public function bookCategory()
    {
        return $this->hasMany('App\Model\BookCategory');
    }

Last, I query result
$item = $this->model->where($where)
                    ->whereHas('book', function($query) use( $categoryId) {
                        $query->whereHas('bookCategory', function($subquery) use($categoryId){
                            $subquery->whereIn('category_id', $categoryId);
                        });
                    })
                    ->with(['book'])->get();

This is my case, hope help you.


Add secure_cookies setting

See https://github.com/avenga/couper/pull/147 and https://github.com/avenga/couper/pull/148


Mega menu: Add flags for viewing variations

Additions

Adds MEGA_MENU_VAR_1 and MEGA_MENU_VAR_2 flags for viewing mega menu variations.

Testing

Add and enable MEGA_MENU_VAR_1 flag and reload local homepage to view variation 1 menu.
Disable MEGA_MENU_VAR_1 flag and enable MEGA_MENU_VAR_2 flag and reload local homepage to view variation 2 menu.

@contolini

It's a tough call, but I narrowly prefer variation 2. It feels a bit more useable and has a more modern look.

😆


Support defining generics on methods, parameters, properties, interfaces, super classes etc.

Feature description
Need a way to populate generics in generated sources

A good test for this would be generating a Micronaut Data entity + repository


Fix for issue whereby images with EXIF rotation don't get displayed

Images from digital cameras with embedded EXIF data which indicates they need rotation sometimes won't display as resetCropHost is called too early

👍  This fix actually seems to work. If someone can please accept this PR? Or is it been cherry-picked in any new release?

@alexk111  Can some one please merge this PR?


Oracle cloud vps

Hi, I'm using oracle cloud free vps to host the proxy it works locally but not from my pc even with open ports could you help me?

My first guess would be that a firewall is blocking the traffic somewhere along the way. If you've opened up your cloud instance's port 8888 as you've said, then it's probably the firewall running on that instance itself.
Closing this issue, as such networking troubleshooting is not an issue with proton-privoxy.


[HELP] - v4-beta2 - is-warning for input forms

Reading documentaion i can't found about warning state for input forms.
Is this on developing or removed?
I can found some instruction on v4-alpha version documentation

Warning states were removed in favor of only success and danger ones.

They've been gone for a long time now and aren't coming back. Search for related issues if you want more background.


TICKETS SYSTEM RESTART BUG

TICKETS SYSTEM
Is your feature request related to a problem? Please describe.
When the bot is restarted and has opened tickets displays error for the LogView.

Describe the solution you'd like
To fix the issue you have to add one line of code in tickets/views.py
Line 625: self.join_ticket.custom_id = str(channel.id)

This fix the error!
Sincerely,
Creator X

thank you for reporting, this bug has been patched with v2.1.14


Regarding drawing diagrams

Hi, thanks for your interest in our work. Unfortunately, I think the code to draw the plots is not included in the repository. The data should be reproducible with the code provided however. As far as I recall, we used simple matplotlib / seaborn commands to then create the graphs in a second step.
Best,
Tobias


"IndexError: list index out of range" when executing "python setup.py develop"

Error when running setup.py in the following environment

Conda(pytorch1.8.1,python3.8,cuda11.1)

The error message is as follows
I don't know the cause of the error, please help me.

No CUDA runtime is found, using CUDA_HOME='/apps/cuda/11.3.1'
running develop
running egg_info
writing pointpillars.egg-info/PKG-INFO
writing dependency_links to pointpillars.egg-info/dependency_links.txt
writing top-level names to pointpillars.egg-info/top_level.txt
/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/utils/cpp_extension.py:411: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
reading manifest file 'pointpillars.egg-info/SOURCES.txt'
writing manifest file 'pointpillars.egg-info/SOURCES.txt'
running build_ext
building 'voxel_op' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/TH -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/THC -I/apps/cuda/11.3.1/include -I/apps/cudnn/8.4.1/cuda11.3/include -I/home/ace14496ms/pypy38_pp/include -I/apps/centos7/python/3.8.13_gcc11.2.0/include/python3.8 -c voxelization/voxelization.cpp -o build/temp.linux-x86_64-3.8/voxelization/voxelization.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=voxel_op -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/TH -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/THC -I/apps/cuda/11.3.1/include -I/apps/cudnn/8.4.1/cuda11.3/include -I/home/ace14496ms/pypy38_pp/include -I/apps/centos7/python/3.8.13_gcc11.2.0/include/python3.8 -c voxelization/voxelization_cpu.cpp -o build/temp.linux-x86_64-3.8/voxelization/voxelization_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=voxel_op -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
Traceback (most recent call last):
File "setup.py", line 4, in
setup(
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/setuptools/command/develop.py", line 136, in install_for_development
self.run_command('build_ext')
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 765, in build_extensions
build_ext.build_extensions(self)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 513, in unix_wrap_single_compile
cflags = unix_cuda_flags(cflags)
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 480, in unix_cuda_flags
cflags + _get_cuda_arch_flags(cflags))
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1694, in _get_cuda_arch_flags
arch_list[-1] += '+PTX'
IndexError: list index out of range

Hello, did you install nvidia driver ?

我也遇到这个问题了，查了下nvidia驱动是有的，怎么解决呢，希望您回复一下，非常感谢

Error when running setup.py in the following environment

Conda(pytorch1.8.1,python3.8,cuda11.1)

The error message is as follows I don't know the cause of the error, please help me.

No CUDA runtime is found, using CUDA_HOME='/apps/cuda/11.3.1'
running develop
running egg_info
writing pointpillars.egg-info/PKG-INFO
writing dependency_links to pointpillars.egg-info/dependency_links.txt
writing top-level names to pointpillars.egg-info/top_level.txt
/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/utils/cpp_extension.py:411: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
reading manifest file 'pointpillars.egg-info/SOURCES.txt'
writing manifest file 'pointpillars.egg-info/SOURCES.txt'
running build_ext
building 'voxel_op' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/TH -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/THC -I/apps/cuda/11.3.1/include -I/apps/cudnn/8.4.1/cuda11.3/include -I/home/ace14496ms/pypy38_pp/include -I/apps/centos7/python/3.8.13_gcc11.2.0/include/python3.8 -c voxelization/voxelization.cpp -o build/temp.linux-x86_64-3.8/voxelization/voxelization.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=voxel_op -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/TH -I/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/include/THC -I/apps/cuda/11.3.1/include -I/apps/cudnn/8.4.1/cuda11.3/include -I/home/ace14496ms/pypy38_pp/include -I/apps/centos7/python/3.8.13_gcc11.2.0/include/python3.8 -c voxelization/voxelization_cpu.cpp -o build/temp.linux-x86_64-3.8/voxelization/voxelization_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=voxel_op -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
Traceback (most recent call last):
File "setup.py", line 4, in
setup(
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/setuptools/command/develop.py", line 136, in install_for_development
self.run_command('build_ext')
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 765, in build_extensions
build_ext.build_extensions(self)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/apps/centos7/python/3.8.13_gcc11.2.0/lib/python3.8/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 513, in unix_wrap_single_compile
cflags = unix_cuda_flags(cflags)
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 480, in unix_cuda_flags
cflags + _get_cuda_arch_flags(cflags))
File "/home/ace14496ms/pypy38_pp/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1694, in _get_cuda_arch_flags
arch_list[-1] += '+PTX'
IndexError: list index out of range

did you solve this problem , I also had this problem ,could you help me?

Hello, have you solved this problem?


What is the purpose of consul_agent_group_name in defaults/main.yml?

https://github.com/andrewrothstein/ansible-consul-cluster/blob/9b61bbf02b001b22fad2dc9638eecdd55233f3a7/defaults/main.yml#L2

the name of the Ansible group denoting the collection of hosts functioning as Consul agents. It's a convenient degree of freedom when you're managing multiple Consul clusters within a single large inventory.

This variable is set on the role level and not uses in tasks. What would be a use case?

It's set at the role level. It's referenced in the vars which are referenced in the tasks as well as the templates for every host.

Let me be more precise about my question - consul_agent_group_name  is not used:
$ git clone https://github.com/andrewrothstein/ansible-consul-cluster
$ grep consul_agent_group_name -r ansible-consul-cluster
ansible-consul-cluster/defaults/main.yml:consul_agent_group_name: consul

I'm interested in the idea of having two inventory groups consul_agent_server_group_name and consul_agent_group_name, but still don't see how this would work in practice.


Debugging

List of some things that are needed to make it easier to debug programs.

[x] Stacktraces
[x] Source maps
[ ] Breakpoints

Added a simple implementation of backtraces in 32e2b8e86b8b837d0e39f71e35c71b833fdd22bc

cc https://github.com/gluon-lang/gluon_language-server/pull/4


DEV 9394 Add migration query to deprecate KUBERNETES integration in master_integrations.sql

https://github.com/Shippable/pm/issues/9394

This is complete.
Closing.


The Nuxt3 Stackblitz app fails with 500 error

Nuxt3 Stackblitz does not load the example app preview as it fails with a 500:
ERROR  [nuxt] [request error] [unhandled] [500] terminated
at pA.onAborted (https://vuetifyprotiptapdemo-ffek-y39gpsfg.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:93:330807)
at pA.emit (https://vuetifyprotiptapdemo-ffek-y39gpsfg.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:30:10899)
at pA.terminate (https://vuetifyprotiptapdemo-ffek-y39gpsfg.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:93:318189)
at Object.onError (https://vuetifyprotiptapdemo-ffek-y39gpsfg.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:93:333385)
at _Request.onError (https://vuetifyprotiptapdemo-ffek-y39gpsfg.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:93:120945)
at errorRequest (https://vuetifyprotiptapdemo-ffek-y39gpsfg.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:93:312118)
at Socket.onSocketClose (https://vuetifyprotiptapdemo-ffek-y39gpsfg.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:93:299703)
at Socket.emit (https://vuetifyprotiptapdemo-ffek-y39gpsfg.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:30:10899)
at https://vuetifyprotiptapdemo-ffek-y39gpsfg.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:285:3666
at https://vuetifyprotiptapdemo-ffek-y39gpsfg.w-credentialless-staticblitz.com/blitz.134daa3c.js:40:198822

Nuxt3 Stackblitz is working properly


500 while creating users

Description
When an admin of a limited/private server goes to create a new user, the User visibility field of the "Create User Account" page has a bug.  Specifically, after the form submission validation is rejected, the User visibility dropdown seems to be mapping the wrong values.
This looks very similar to #25951, but it happens in gitea 1.21.5, and only happens after a form submission error.
Gitea configuration:
[service]
DISABLE_REGISTRATION              = true
DEFAULT_USER_VISIBILITY           = limited
ALLOWED_USER_VISIBILITY_MODES     = limited,private

Steps to reproduce:

Have a gitea instance configured as described above
Log in as an admin user
Attempt to create a new user through the /admin/users/new page, but fail the form validation
Correct the form fields and submit again
500 internal server error

I compared the DOM trees before and after the validation failure, and the dropdown box selection no longer has the classes active and selected.
Before validation failure:

Limited

After validation failure:

Limited

That might be the problem?  I'm not completely sure, but it looks likely to me.
Gitea Version
1.21.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots

Git Version
No response
Operating System
No response
How are you running Gitea?
official docker image, GOARCH=arm64
Database
PostgreSQL

I tried today's "nightly" docker build, and confirmed that this is fixed.  Thanks!
Wish the UI had some unit tests to prove these things tho...

Can't really unit-test a HTML form, but a e2e test might be able to.


switch progress bar color depending on the theme

Hi there,
Again, this is not really issue. Because you don't have a discussion section, I'll post my question here; hope that's okay?
My question: is there a way to change the colours in the progress bar after changing the theme, so that the colour looks more consistent with each of the dark/light background?
Allow me to explain:
In light mode, the progress bars now look like this:

In the dark mode:

Because of the dark background, it is far too gleaming.
The obvious solution is to use a callback to switch colours on the fly with a theme switch. As an example:
@callback(
    Output(component_id="progress_bar", component_property="sections"),
    Input(component_id="theme_switch", component_property="n_clicks"),
)
def on_switch():
    """blablabla"""
    return ["""__some sections with new colors___"""]

The problem with this method is that none of the supported colours are appropriate for the dark mode (apart from dark and gray). I am thinking of something like a "darker indigo":
"dark", "gray", "red", "pink", "grape", "violet", "indigo", "blue", "cyan", "teal", "green", "lime", "yellow", "orange"
Is it possible to make the progress bar colour look more "darky" in dark themes? Perhaps by adjusting the transparency? Is this currently an option?
Great work!
Don

Hi @Don-Yin
Supplying hex values for colors might be possible once Mantine v5 is released but until then you have to use the theme colors in DMC. However these theme colors can be modified as per your requirement. Just wrap your app with MantineProvider and define the new theme color.
app.layout = dmc.MantineProvider(
    theme={
        "colors": {
            # add your color
            "my-color": [
                "#E6E7EE",
                "#CBCDDE",
                "#B0B4D2",
                "#949ACB",
                "#777FC9",
                "#5662CC",
                "#3142D7",
                "#3744B7",
                "#3D4699",
                "#3F4681",
                "#3F446F",
                "#3D405F",
                "#3A3C53",
            ]
        }
    },
    children=[...],
)

How you generate these colors, you ask? Have a look here: https://omatsuri.app/color-shades-generator. I hope it helps.

Hi @snehilvj ,
Thanks for your reply! Please correct me if I'm wrong; my next question is how you would apply those colours to individual progress bars. After adding these new colours to the theme provider, I discovered that they do not appear in the app. I attempted the following, but it did not appear to work:
# ----apply themes----
app.layout = dmc.MantineProvider(  # apply themes to the whole app
    id="mantine-provider",
    theme={
        "colorScheme": "light",
        "fontFamily": "'Inter', sans-serif",
        "primaryColor": "indigo",
        "colors": {
            # add your color
            "my-color": [
                "#E6E7EE",
                "#CBCDDE",
                "#B0B4D2",
                "#949ACB",
                "#777FC9",
                "#5662CC",
                "#3142D7",
                "#3744B7",
                "#3D4699",
                "#3F4681",
                "#3F446F",
                "#3D405F",
                "#3A3C53",
            ]
        },
    },
    withGlobalStyles=True,
    withNormalizeCSS=True,
    children=layout,
)

progress_bar = dmc.Progress(  # one for progress, one for distribution of nodes
    size="xl",
    radius=0,
    sections=[
        {"value": 30, "color": "#E6E7EE", "label": "Documents"},
        {"value": 30, "color": "#E6E7EE", "label": "Apps"},
        {"value": 25, "color": "#E6E7EE", "label": "Other"},
    ],
)

Maybe I am doing something wrong?
Cheers,
Don

Thanks for your reply!
Why does the size have to be 10? I'm just curious. Does each of these elements serve a distinct function?
Plus, it seems like it only works when we directly wrap around the theme provider on the progress bar itself:
app.layout = dmc.MantineProvider(
    withGlobalStyles=True,
    withNormalizeCSS=True,
    theme={
        "colorScheme": "light",
        "colors": {
            # replace yellow
            "yellow": [
                "#C3C6A0",
                "#B3B780",
                "#A6AC63",
                "#979D4E",
                "#868C41",
                "#777D35",
                "#6A702B",
                "#585D27",
                "#494D23",
            ]
        },
    },
    children=[
        dmc.Progress(  # one for progress, one for distribution of nodes
            size="xl",
            radius=0,
            sections=[
                {"value": 30, "color": "yellow", "label": "Documents"},
            ],
        )
    ],
)

It stops working if we put the progress in a div:
app.layout = dmc.MantineProvider(
    withGlobalStyles=True,
    withNormalizeCSS=True,
    theme={
        "colorScheme": "light",
        "colors": {
            # replace yellow
            "yellow": [
                "#C3C6A0",
                "#B3B780",
                "#A6AC63",
                "#979D4E",
                "#868C41",
                "#777D35",
                "#6A702B",
                "#585D27",
                "#494D23",
            ]
        },
    },
    children=[html.Div(
        dmc.Progress(  # one for progress, one for distribution of nodes
            size="xl",
            radius=0,
            sections=[
                {"value": 30, "color": "yellow", "label": "Documents"},
            ],
        )
)
    ],
)

Is this by design? Is there a way around this? This is totally fine but seemingly a bit strange this way.
Again, thank you very much for your response.
Don


CORE-2274 Changing change log parameter from FileResource to String

When the Ant tasks were refactored the change log parameter because an Ant FileResource object. This means change logs can only be located on the file system. This negates the usefulness of the ResourceAccessor interface in Liquibase.
I have converted the change log parameter back to a String and am letting the ResourceAccessor handle the locating and reading of the file.
This fixes CORE-2274.

Thanks


[EMB-493][Collections] "Discard Changes" resets subjects on edit page when the project already has subjects.

Purpose
Currently on edit (not submit) page of Collections, when a project already has subjects, hitting Discard changes button on the subject picker clears all subjects, instead of resetting it to the state prior to changes. This PR fixes the problem.
Summary of Changes
In subject-picker/component.ts, the discard() method actually restores initialSubjects to  currentSubjects. The problem is that we always set initialSubjects to be an empty array, regardless of whether the project already has subjects associated with it.
Therefore, in the didInsertElement() hook, we store currentSubjects, which are the pre-existing subjects passed to the component, to initialSubjects so that we can restore it later if needed.
QA Notes
Make sure that on edit page of Collections,  hitting Discard changes would not clear all subjects. Also make sure that Discard changes on submit page works as it did prior to the change.
Ticket
https://openscience.atlassian.net/browse/EMB-493
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Pull Request Test Coverage Report for Build 1912

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.437%

Totals

Change from base Build 1894:
0.0%

Covered Lines:
4242

Relevant Lines:
5934

💛  - Coveralls


pipe-viewer --version returns wrong version

I installed the latest AUR package (0.4.8) but running pipe-viewer --version returns 0.4.5
yay -S pipe-viewer-git
Package (1)      Old Version          New Version          Net Change
pipe-viewer-git  0.4.8.r7.gbfa5a03-1  0.4.8.r7.gbfa5a03-1    0,00 MiB

pipe-viewer --version
CLI Pipe Viewer 0.4.5

Probably you have installed pipe-viewer manually, which gets installed by default in "/usr/bin/site_perl/".
Check:
which pipe-viewer

It should print "/usr/bin/pipe-viewer". If it prints something else, then delete that file.


Minor Linux changes

Add: reserved property to serverFarmWithRichSku
Add: linuxWorkersEnabled to geoRegions

Hi @LukaszStem, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (lukaszs). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

 https://github.com/Azure/azure-sdk-for-ruby/pull/485

 https://github.com/Azure/azure-sdk-for-node/pull/1919

 https://github.com/Azure/azure-sdk-for-python/pull/812


UI improvements

prerequisites:

[x] branch is up-to-date with the branch to be merged with, i.e. develop
[x] build is successful
[x] code is cleaned up and formatted

Summary

Use lighter background color on hover over column header
Rename Mapping / Scaling Type to Scaling in mapping dialog
Sort visualizations in ChangeRendererDialog by label
Increase spacing for change renderer groups
Use slightly darker primary action in dialogs
Increase bottom space for histogram in side panel
Change placeholder text for search input
Decrease font-size for side panel header
Center row renderer content
Modify checkbox label text for missing values
Modify style for selected items indicator in side panel
Modify style of side panel collapse toggle button
Center side panel header text
Rename Stratify to Group by

starting with the upcoming release there is a new prerequisite for PR:

[ ] tested with Firefox 52, Firefox 57+, Chrome 64+, MS Edge 16+

notes:

new side collapser is overlapping with the add column chooser

why so much space after the checkbox?

Change placeholder text for search input

but it is not a search operation (different action) but actually filtering the data, thus is the label misleading right now.

Center row renderer content

do you know how "expensive" in terms of layout styling this is?

tested with Firefox 52, Firefox 57+, Chrome 64+, MS Edge 16+

Which tool do you use to test all these browsers? I don't have all these browsers installed on my machine...

I addressed your styling comments in the last commits. I moved most of the styles then to the lineup_app (branch taggle_user_study).

do you know how "expensive" in terms of layout styling this is?
No, I'm not aware of it. Can you please explain/show it?


Support for configuring environment variables using configuration file

Add a function: the developer configures a json file, which will read all the contents of the configuration into the corresponding variables and parameters，then you can use it in android and iOS projects with custom variables
1、Define  json file
flutter build apk  --dart-define=CUSTOM_ENVIRONMENT_FILE=config.json

for example: config.json  content
{
  "facebookAppId": "xxx",
  "versionName": "1.0.0",
  "label": "xxx xxx",
  "versionCode": 1,
  "android_applicationId": "com.xxx.br",
  "ios_bundle_identifier": "com.xxx.xxxx.nomodify",
  "googleAndroidApiKey": "xxxx",
  "googleAndroidAppId": "1:xxx:android:xxx",
  "googleAndroidMessagingSenderId": "xxx",
  "googleAndroidProjectId": "first-xxx",
  "googleAndroidStorageBucket": "first-xxx.xxx.com",
  "googleAndroidClientId": "xxx-xxxx.apps.googleusercontent.com",
  "googleIosClientId": "com.xxx.apps.xxx-xxx",
  "googleIosBundleId": "com.xxxx.br",
  "schemeHost": "first.xxx.com",
  "scheme": "xxxxx",
  "privacyProtocol": "https://xxxx.com/privacyProtocol.html",
  "teamsOfService": "https://xxx.com/teamsOfService.html",
  "androidChannel": "1OSH1PP64X",
  "iosChannel": "1J6C22IH91",
  "iosUploadCSymS": "false",
  "universalLinkDomain": "br.xxx.com"
}

2、Use environment in flutter
You can get all json raw content:
var configRaw =
        const String.fromEnvironment("CUSTOM_ENVIRONMENT_FILE_RAW", defaultValue: "{}");

Or ,you can get field by
var facebookAppId =
        const String.fromEnvironment("facebookAppId", defaultValue: "");

3、Android project
file: build.gradle

    buildTypes {
        release {
            manifestPlaceholders = [
                    faceBook_appId       : facebookAppId
            ]

            resValue "string", "facebook_app_id", facebookAppId

4、iOS project
file: ios/Flutter/Generated.xcconfig
  facebookAppId=xxx
  versionCode=1
  android_applicationId=com.xxx.br
  ios_bundle_identifier=com.xxx.xxxx.nomodify
 ……

file: ios/Flutter/flutter_export_environment.sh
export "facebookAppId=xxx"
export "versionCode=1"
export "  android_applicationId=com.xxx.br"
export "ios_bundle_identifier=com.xxx.xxxx.nomodify"
……

You can use in Info.plist
	<key>CFBundleIdentifier</key>
	<string>$(ios_bundle_identifier)</string>

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

why json ? It seem unnecessarily verbose.

why json ? It seem unnecessarily verbose.

Type definitions are obvious  by use bool.fromEnvironment、int.fromEnvironment、stirng.fromEnvironment
friendly formatting and format check

This seems like a reasonable new feature. However, I think you should start by filing an issue as a new feature request, and then we should discuss the approach from there (for example, I think this should be a new flag, not a magic string parsed from --dart-define).
Thank you for contributing and hope to see you on the feature request!


how to fire an event onMove / onDrag?

I've got the same line chart with point working from the examples folder.
I need to update an external state based on the value displayed in the pointer (ie the selected chart value). I'd also like to fire a vibration as the user moves over data points in the chart. This requires some sort of event to be fired as the pointer is moved/updated.
I couldn't see reference to this in the documentation.

Same here


Identify Data Set Change Rate - Bolu

Identify the rate of change of the data set. The purpose of this task is to determine which strategy makes the most sense for updating a database with changes to the data set.
Purpose: To identify the rate of change of the various files in the Rebrickable set such that we can select a strategy for updating a database table with changes (in a future issue).
The task should

Collect several samples of each file over several days (it would probably be over several weeks in a normal project).
Take a difference between two files with the same name from different dates. This means you'll need to figure out how to keep multiple copies over time and how to identify differences. You should already have a small program that you can use to get the data set from Rebrickable.

You can choose to write a small program to perform the difference or you can use the 'diff' command line program under a Unix type operating system (Mac OS or Windows WSL) or you can use a difference application or plug in. Microsoft VS Code IDE (Integrated Development Environment) has one built in. It is possible your IDE has one too.
When making the comparison, be aware that sometimes processes can reorder rows in the CSV file. Obviously, you should make the comparison against the unzipped file and not the zipped file. While some tools can perform this task, you want to know how many rows change between days.
You should already have at least one set of this files. Use that as your baseline. Take a second set today and another on Monday. Compare the baseline against today's set, file by file and then compare today's set against the set on Monday. It is highly likely that if you compare the sizes of the files in zipped (or unzipped) form that may be enough to determine that nothing has changed however, prove your hypothesis by doing the diff at least once for each pair of files then make a statement (eg. same size file, manually examine the difference should allow a reasonable guess that if the file is the same size, it probably hasn't changed). Be careful with the Parts file. While it is pretty certain that the Themes and Colors file don't change very often, I have no confidence that this true for Parts and Sets. You'll want to add a comment to this issue with the rate of change as a percentage. eg. baseline to Friday changes * Colors.csv.gz: 0%, *Parts.csv.gz: 0.5% (200 rows) etc. Alphabetic order is sufficient.

Add a second comment to this issue with a recommendation on the frequency of updates - in a business environment, this data may change daily,  weekly, monthly, monthly following a delay to calculate some derived values, quarterly or some other schedule. We want to have some confidence that we can capture changes in a timely manner without wasting computing resources. While this is not really an issue with this data set, if we were looking at gigabytes and 100 thousand or millions of rows, the time and cost can be non-trivial.
Finally, add a third comment to this issue about how your difference method could be automated to test the difference between any two sets and provide a list of files that will need further processing to ingest changed data. You do not have to implement this program to automate the testing of the difference. If you use a tool, you should either investigate how you could use this tool in an automated way (hint: there is probably a command line version of the tool so find the reference for that) or make a very crude estimate of how long and what you could write in your favourite language to achieve this. In this case, it will be a very rough estimate. If you use a command line tool, make a suggestion on a simple algorithm to achieve this in a shell language. You should include the name and version of the tool, the shell you used (and version) and a simple algorithm that might be usable for this shell script. If you wrote your own tool, document the algorithm - either in your README.md or a separate md file and include in your comment in this issue, what additional error checks might be needed (eg. missing file, missing directory or directory pair etc.)

Rate of Change for Rebrickable Data Set
colors.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 0 words, 0% inserted | 0 words, 0% changed
2024-05-31 to 2024-06-01: 0 words, 0% inserted | 0 words, 0% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 0 words, 0% inserted | 0 words, 0% changed
elements.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 61 words, <1% inserted | 3 words, <1% changed
2024-05-31 to 2024-06-01: 135 words, <1% inserted | 2 words, <1% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 1100 words, 1% inserted | 13 words, <1% changed
inventories.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 6 words, <1% inserted | 0 words, 0% changed
2024-05-31 to 2024-06-01: 3 words, <1% inserted | 0 words, 0% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 36 words, <1% inserted | 1 words, <1% changed
inventory_minifigs.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 4 words, <1% inserted | 0 words, 0% changed
2024-05-31 to 2024-06-01: 4 words, <1% inserted | 0 words, 0% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 47 words, <1% inserted | 0 words, 0% changed
inventory_sets.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 0 words, 0% inserted | 0 words, 0% changed
2024-05-31 to 2024-06-01: 0 words, 0% inserted | 0 words, 0% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 0 words, 0% inserted | 0 words, 0% changed
inventory_parts.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 1006 words, <1% inserted | 448 words, <1% changed
2024-05-31 to 2024-06-01: 16170 words, 1% inserted | 249 words, <1% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 5513 words, <1% inserted | 1238 words, <1% changed
part_categories.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 0 words, 0% inserted | 0 words, 0% changed
2024-05-31 to 2024-06-01: 0 words, 0% inserted | 0 words, 0% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 0 words, 0% inserted | 0 words, 0% changed
parts.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 12 words, <1% inserted | 3 words, <1% changed
2024-05-31 to 2024-06-01: 986 words, <1% inserted | 18 words, <1% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 4151 words, <1% inserted | 0 words, 0% changed
sets.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 2 words, <1% inserted | 0 words, 0% changed
2024-05-31 to 2024-06-01: 10 words, <1% inserted | 0 words, 0% changed
2024-06-01 to 2024-06-02: 6 words, <1% inserted | 102 words, <1% changed
2024-06-02 to 2024-06-03: 0 words, 0% inserted | 67 words, <1% changed
themes.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 0 words, 0% inserted | 0 words, 0% changed
2024-05-31 to 2024-06-01: 0 words, 0% inserted | 0 words, 0% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 1 words, <1% inserted | 0 words, 0% changed
minifigs.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 10 words, <1% inserted | 0 words, 0% changed
2024-05-31 to 2024-06-01: 14 words, <1% inserted | 0 words, 0% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 216 words, <1% inserted | 15 words, <1% changed
part_relationships.csv:
2024-05-29 to 2024-05-30: 0 words, 0% inserted | 0 words, 0% changed
2024-05-30 to 2024-05-31: 6 words, <1% inserted | 0 words, 0% changed
2024-05-31 to 2024-06-01: 25 words, <1% inserted | 1 words, <1% changed
2024-06-01 to 2024-06-02: 0 words, 0% inserted | 0 words, 0% changed
2024-06-02 to 2024-06-03: 337 words, 1% inserted | 0 words, 0% changed


Autocompletion not working for javascript in polyglot notebook.

Describe the bug
Just installed it and it did not work like in vscode otherwise.
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
version: 7.0.306

OS

[x] Windows 10

Screenshots
An example, text not highlighted or anything so not working as otherwise in vscode:
https://i.imgur.com/iClp07k.png

This is a partial duplicate of #2560.
The missing code coloring is a different issue though. Where was the notebook running where you took the screenshot? I believe we've been seeing some code coloring issues in CodeSpaces but I can't reproduce this problem in VS Code.

This was in vscode. Well, the syntax highlighting and code completion both are not working at all.

What version of VS Code are you using?
Also, could you provide a screenshot of the output of the #!about magic command, including the lower right hand corner of the cell and the kernel chooser, like this:

vscode version:
https://i.imgur.com/6XSalfw.png
the about:
https://i.imgur.com/RgeAN9e.png
The scripts I put in there runs fine but the syntax highlighting and auto-completion is not there.

I've opened a new issue and am closing this one as a duplicate of #3123.

@leet0rz, if you see the syntax highlighting problem appear again, please open a new issue for it with as many details as you can provide.


Add a maritime tag onto boundaries

Add a maritime tag onto boundaries, which is yes when the original boundary way from OSM had a maritime=yes tag.
Note that this doesn't correspond to only the "3 nautical mile" boundaries to international waters, it looks like a very large number (but not all) of the boundaries which occur in water or rivers are marked this way too.
Note also that this also adds some run-time overhead. Because we're using geometry from the admin polygon boundaries to supply boundaries with correct left/right orientation and name properties, we need to operate on the original, unsimplified geometry in the post-processor and requires mapzen/TileStache#54.
Refs #210. For screenshots, see the parent issue.
@rmarianski could you review, please?

:+1:


Re-add database migration state commands

These were removed in PR #1661, but we do still need them for the time being
until we complete the ID migration as well.

This change is

seems to be just formatting and checkstyle failing


API to work with Redux-like app and Immutable state

Why client is restricted to mutation client.getData()-returned object? I'm working on Redux-based React app, and would like to use something like
client.sync = function(data) {
    Object.assign(this.doc.localCopy, data || {} );
    this.schedule();
}

What am I missing? Is there any dragons this road? Tried this in my app, don't see any problems.
https://github.com/kadmil/diffsync/blob/master/src/client.js#L122

You could do that, sure :)
Would be nice to see some tests for that and maybe an additional polyfill for Object.assign


Glob performance

[x] I've read the CONTRIBUTING guidelines

This PR is built on top of #4535, #4537 and https://github.com/sbt/io/pull/216. I will update the PR as those other PRs are merged and a new io version is released.
High level, this replaces a number of file apis within sbt with glob based apis. This is good for performance because the glob based file look ups are generally routed through the file system cache. Even when the cache is not used, the performance should be good because of optimizations that I made in swoval for recursively listing a directory. Another benefit is that in watch, I can swap out the global file tree repository to determine which globs are actually used by a task. This enables watch to work even when the watch sources are unspecified or hidden from the dependency graph in a dynamic task.
I also actually implemented #3678, which allows clean to be scoped to the compile task and Compile / Test configurations. I copied some of the scripted tests from that #3678 and added a few additional scripted tests.

Sigh, windows is proving annoying wrt the clean task. Hopefully I'll have everything working by tomorrow afternoon.

It turns out that the java watchservice for windows is not ideal for the sbt use case. It reports way too many events. For example, if you open a file, an event is created. I need to add a native windows watch service (similar to the one i wrote for macos) that filters watch events to swoval. This shouldn't be too hard because the two apis are similar (inotify is completely different). Also, I already have the test suite written.

Yeah, there was a nasty performance bug in swoval: https://github.com/sbt/io/pull/222

I turned off the cache in this PR. I'll make it configurable, but not default, in #4512.

@eatkins Does this work for you locally?
[error] x source-dependencies/relative-source-error
[error]  Cause of test exception: {line 3}  Command succeeded but failure was expected

https://github.com/sbt/sbt/pull/4539/commits/ffa69ea5d690b5d8d548e0eefd98e83587a30de2
The commit message is arguably a little bit glib. Relative source directories are a bit tricky since sbt doesn't have a notion of current working directory so relative sources are implicitly relative to the sbt base directory. I guess marking the test PENDING is an option rather than deleting it, but it's not straightforward to make the previous semantics work with the new version of the swoval library (which automatically converts non relative paths to absolute paths internally at interface boundaries).

As long as https://github.com/sbt/sbt/issues/923 remains fixed, we should be ok.


Workaround for updated values of 'event' not being properly visible when imported by babel

Hi,
Would you consider adding a getter for the 'event' property (either from this pull request or named differently if this doesn't work with the project's conventions) to ensure it will always work with projects using babel?
None of the solutions previously discussed in this bug report have worked for me (and I have successfully tested the getter in my project).

Sorry, but no; I’m not willing to introduce new API as a workaround for broken tooling.
Are you using Babel with Webpack? Often the problem with Webpack and using the d3 bundle (as opposed to importing directly from the separated D3 modules) is that Webpack’s web target defaults to using the browser entry point, which is the generated UMD bundle. Depending on whether you are using ES modules or CommonJS, you will likely either want the module entry point (index.js) or the CommonJS entry point (d3.node.js). Note in particular that the latter exposes d3.event as a getter, such that it always reports the correct value from the underlying d3-selection module.

No problem, and thanks for all the information.
Sadly, after some testing, importing the module entrypoint directly just breaks in meteor and using the commonjs entrypoint still returns a null (maybe because this still imports the generated umd module of d3-selection?), but I will continue looking for a way that works with the official release and I can maintain my fork in the meantime.
For reference, I am using the npm package with the latest meteor since I wanted to start my project with version 4 and the atmosphere package was still at 3.5.8.


[C++] Add lone surrogate pair test case for UTF8StringToUTF16

Describe the enhancement requested
Add lone surrogate pair test case for UTF8StringToUTF16.
Component(s)
C++

Is this something you are interested in contributing?  Or is there a particular reason why you believe this is needed?

take


Navigation Bar Color Issue

The navigation bar changes to a standard OnePassword color after logging in, but our custom navigation button color does not change, which makes it hard to read "Cancel" in our case.
I would expect the navigation bar and the navigation button to either both change colors to the standard color or both stay at the custom color defined by our app.
Here is a video to make this easier to see the issue.

Thanks for taking the time to write to us, @wlisac :+1:
This issue is a duplicate of #205, so I will close it as such.
Please refer to my comment on that issue for the related rdars and for the workaround.
Hope that this helps :wink:
Have an amazing weekend!

I'm not sure this is the same issue, but it may be related.
"The 1Password extension respects the appearance of your view controller navigation bar, but does not respect the preferredStatusBarStyle of your view controller."
This is not the behavior I'm seeing. 1Password stops respecting the navigation bar once the user has authenticated with 1Password. See the video above for details.

Hi @wlisac,

I'm not sure this is the same issue, but it may be related.

Yes, they are related :wink:

This is not the behavior I'm seeing. 1Password stops respecting the navigation bar once the user has authenticated with 1Password.

The workaround from my comment on issue #205 will solve your problem too. It will force the 1Password extension to ”ignore” your app’s theme ([UINavigationBar appearance]).
I was able to reproduce it in ACME, our demo app.
Before the workaround
Locked

Unlocked

After the workaround
Locked

Unlocked

See the video above for details.

I did watch your video before replying the first time. Sorry I didn't mention it in the initial reply.
Let me know if this helps :smiley:
Cheers!

Gracias. Thank you for your help!

Thank you for your help :)

Thanks for letting me know that you've sorted it all out, @wlisac! :+1:


Question: Using duplicity with google-drive-ocamlfuse

I'm using duplicity to backup some stuff to my google teams folder.
The advantage of duplicity against any other solution is that the data is both transported and stored fully encrypted with a GPG key.
duplicity supports different backends, so you can store the backups either locally (file://) or remotely (gdrive://, sftp://, etc...)
I'm currently using it with google-drive-ocamlfuse with the file:// backend: I mount my drive folder as usual and set the directory as destination for duplicity: So far it seems to be working (just started some minutes ago with the process)
However, I was wondering if integration between this app and google-drive-ocalmlfuse could be possible: Some dvantages could be (i guess) improved stability and full integration with the backup tool, so we can use features like backup progress indicators (that don't work with the file:// protocol)
I wonder if anyone can give feedback on using this tool with google-drive-ocamlfuse or wether integration would be feasible/worth it-
Thanks!

Sorry, but why are you not using the gdrive backend of duplicity?

Well, it's not properly working on my distro (arch)
I'm trying to find a solution for it.

Ok, It actually does work, however, I can't figure out how to make it work with team drives, and the dependencies for pydrive are a total mess. Nevermind, I thought I could use your solution as alternative backend.
Cheers.

Just from personal experience, while google-drive-ocamlfuse isn't exactly the fastest thing around, I have found that the Drive backend for duplicity (and Drive/Gnome integration in general) to be even slower and more unreliable still. So I am continuing to use a google-drive-ocamlfuse mount for my backups. Maybe this has changed recently, but this is why I am still using google-drive-ocamlfuse for my duplicity backups.


Saying "Stop" in a thread causes an error

Command that caused the error
No command
Image that caused the error
No response
Steps to reproduce

Go to any thread in a text channel
Say the word "Stop"

Self-hosted instance?
No
Error file
Message: TypeError: Cannot read properties of undefined (reading 'id')
    at new MusicCommand (file:///home/esmBot/esmBot/classes/musicCommand.js:7:57)
    at new StopCommand (file:///home/esmBot/esmBot/commands/music/stop.js?v=116:4:1)
    at default (file:///home/esmBot/esmBot/events/messageCreate.js:104:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Stack Trace: TypeError: Cannot read properties of undefined (reading 'id')
    at new MusicCommand (file:///home/esmBot/esmBot/classes/musicCommand.js:7:57)
    at new StopCommand (file:///home/esmBot/esmBot/commands/music/stop.js?v=116:4:1)
    at default (file:///home/esmBot/esmBot/events/messageCreate.js:104:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Additional context
No response

This is related to a limitation with Eris and how it interacts with the Discord API; at first, it thinks that the thread channel is a DM channel, so the bot falls back to its DM behavior (prefixless commands). Every subsequent message should be ignored by the bot, however, since the channel type is properly cached by the bot and Discord's gateway.
This should (hopefully) be fixed by the move to slash commands.

Ah alright, I see.


Unable to fetch standards from ISO

As shown in the images below, The standard exist on the site but relaton is unable to fetch the document.

Fixed. Please don't forget to remove local index file with relaton db clear


Mm 44545 show task list opened by default

Summary
This PR makes sure of starting the initial preferences for always showing the onboarding task list opened.
Ticket Link
https://mattermost.atlassian.net/browse/MM-44545
Related Pull Requests
https://github.com/mattermost/mattermost-server/pull/20284
Screenshots
Release Note
NONE

closed because the spinwick is not working well after a force push to a server branch with same name. I will create a new one that allow spinwick to work properly and facilitate QA test process.


Export Output to a file in Azure CLI

[Enter feedback here]
Does CLI support exporting output to a file similar to PowerShell ?  If it does, can you add examples ?

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

ID: 48273ba7-da5a-95f0-7ffc-8c6d5282313d
Version Independent ID: 83d348f9-fd1f-1041-0304-d8634e5526d4
Content: Output formats for Azure CLI
Content Source: docs-ref-conceptual/format-output-azure-cli.md
Service: azure-cli
GitHub Login: @dbradish-microsoft
Microsoft Alias: dbradish

@sandeepraichura Thanks for the question. We're investigating this and will get back to you shortly.

@sandeepraichura Azure CLI does not support exporting to a file as an option with the --output parameter, if that was the intent of the question. The current supported formats are json, jsonc, yaml, table, tsv and none, as mentioned in the linked article.
However, since Azure CLI can be run across platforms, here are a few options you can use:
# Using the file redirection operator (>)
az vm list > out.json

# Using Out-File cmdlet (PowerShell environments only)
az vm list | Out-File out.json

Adding @dbradish-microsoft for any additional insights if this ask was ever considered for Azure CLI.

@sandeepraichura Hope the above inputs help. Are there any further questions here?

@sandeepraichura We will now proceed to close this thread as resolved, but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Zap button doesn't work for podcast episodes

This is a server issue based on the way we look up content before issuing an invoice.

Fixed in https://github.com/wavlake/wavlake-server/pull/183


ROX-22760: fix SARIF printer for empty results

Description
We've received an issue where the SARIF report couldn't be generated in case no violations have been found during image / deployment check.
The reason is that the JSON path expressions we use with GJSON, particularily the help one, is returning a - as value. This is our "empty value" replacement string, which is needed to be returned for array values.
We didn't handle this properly during evaluating the JSON path expressions, so this is now being handled correctly.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change

see CI.

Manual test:
Run roxctl for a deployment which doesn't have violations and expect no errors being returned, just an empty SARIF report:
roxctl image check --image=quay.io/jetstack/cert-manager-webhook:v1.14.3 --output sarif

Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

Current dependencies on/for this PR:

#10150  👈
master

This stack of pull requests is managed by Graphite.


the ngp error in running

thank for your work! i have build the project successfully . but when i run the slam_demo with Replica data ,i get some problem.
Process Process-2: Traceback (most recent call last):   File "/home/alis/.conda/envs/nerf-slam/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap     self.run()   File "/home/alis/.conda/envs/nerf-slam/lib/python3.9/multiprocessing/process.py", line 108, in run     self._target(*self._args, **self._kwargs)   File "/media/alis/EXTERNAL_USB/kitti/NeRF-SLAM/./examples/../pipeline/pipeline_module.py", line 88, in spin     self.initialize_module()   File "/media/alis/EXTERNAL_USB/kitti/NeRF-SLAM/./examples/../fusion/fusion_module.py", line 25, in initialize_module     self.fusion = NerfFusion(self.name, self.args, self.device)   File "/media/alis/EXTERNAL_USB/kitti/NeRF-SLAM/./examples/../fusion/nerf_fusion.py", line 65, in __init__     self.ngp = ngp.Testbed(mode,0) # NGP can only use device = 0 TypeError: __init__(): incompatible constructor arguments. The following argument types are supported:     1. pyngp.Testbed(arg0: pyngp.TestbedMode)     2. pyngp.Testbed(arg0: pyngp.TestbedMode, arg1: str, arg2: str)     3. pyngp.Testbed(arg0: pyngp.TestbedMode, arg1: str, arg2: json)
when i change the code to self.ngp = ngp.Testbed(mode),this error disappear,but i get new problem
Process Process-2: Traceback (most recent call last):   File "/home/alis/.conda/envs/nerf-slam/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap     self.run()   File "/home/alis/.conda/envs/nerf-slam/lib/python3.9/multiprocessing/process.py", line 108, in run     self._target(*self._args, **self._kwargs)   File "/media/alis/EXTERNAL_USB/kitti/NeRF-SLAM/./examples/../pipeline/pipeline_module.py", line 88, in spin     self.initialize_module()   File "/media/alis/EXTERNAL_USB/kitti/NeRF-SLAM/./examples/../fusion/fusion_module.py", line 25, in initialize_module     self.fusion = NerfFusion(self.name, self.args, self.device)   File "/media/alis/EXTERNAL_USB/kitti/NeRF-SLAM/./examples/../fusion/nerf_fusion.py", line 72, in __init__     self.ngp.create_empty_nerf_dataset(n_images, nerf_scale, offset, aabb_scale, render_aabb) TypeError: create_empty_nerf_dataset(): incompatible function arguments. The following argument types are supported:     1. (self: pyngp.Testbed, n_images: int, aabb_scale: int = 1, is_hdr: bool = False) -> None
how can i solve this problem ?  i hold you can give me some advice , i couldn't find the reason for the error, and I searched for it for a long time

it seem some error in the pyngp ,but i build successfully in the build_ngp and get 100% in the end . It is worth noting that when I am in the terminal `(nerf-slam) alis@alis-System-Product-Name:/media/alis/EXTERNAL_USB/kitti/NeRF-SLAM$ python

import pyngp
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'pyngp'
 can you help me solve this problem ,i cant run the code successfully

i have solve this problem by use feature/nerf_slam branchhttps://github.com/ToniRV/NeRF-SLAM/issues/3

i have solve this problem by use feature/nerf_slam branchhttps://github.com/ToniRV/NeRF-SLAM/issues/3

@chengYi-xun  Can I ask if you compiled successfully on a server or desktop? Thank you！

i have solve this problem by use feature/nerf_slam branch #3

It does not works for me. Do you have any idea about this problem?


Packet selection when prev_updisocn and next is unqualified are satisfied simultaneously

If the last qualified inst. block satisfied the <prev_updisocn> condition, and issue the jump target address of previous jump.
But the last address of this qualified inst. block will not be reported by the condition <next_is_unqualified>, right? Since this qualified inst. block has already issued format1/2 packets.
So, is it ok for this situation which the last address of the trace flow is not reported?

That is correct.  The following support packet would then set qual_status to ended_ntr to indicate that the final address has already been reported for other reasons (ntr is an abbreviation for "nothing to report").
Iain
From: zhangdujiao @.>
Sent: 21 October 2024 04:47
To: riscv-non-isa/riscv-trace-spec @.>
Cc: Subscribed @.***>
Subject: [riscv-non-isa/riscv-trace-spec] Packet selection when prev_updisocn and next is unqualified are satisfied simultaneously (Issue #155)
If the last qualified inst. block satisfied the <prev_updisocn> condition, and issue the jump target address of previous jump.
But the last address of this qualified inst. block will not be reported by the condition <next_is_unqualified>, right? Since this qualified inst. block has already issued format1/2 packets.
So, is it ok for this situation which the last address of the trace flow is not reported?

Reply to this email directly, view it on GitHubhttps://github.com/riscv-non-isa/riscv-trace-spec/issues/155, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQOPSXAA6OXWB47DULWDLTZ4R2M7AVCNFSM6AAAAABQJG4E2GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYDCMRSGEYTENI.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>

That's brilliant and logically coherent!
Thanks!

I am a little confused here, Iain.
If current block (multi-retired inst.) satisfies “prev_updiscon” and "next_is_exception_only" conditions, then two packet will be issued to report the jump target address and inst. addr before trap.
If current block (multi-retired inst.) satisfies “prev_updiscon” and "next_is_unqualified" conditions, then only the jump target address will be reported, and the support-packet (qual_status = 2'b11 (ntr)) will be issued following.
Am I understand right? Why make such a difference on two packets issuing and only one packet issuing for these two circumstances?

Dujiao,
No, there is no difference between these.  For a multi-instruction retirement block:

If the first instruction in the block satisfies "prev_updiscon" then issue a packet reporting the address of the 1st instruction in the block (and any unreported branches from previous blocks - but not the branch status of this block if itype = 4 or 5)
If the last instruction in the block satisfies "next_is_exception_only" or "next_is_unqualified" or next is a sync packet for any other reason - e.g. resync or privilege change - and there are unreported branches, or this block has iretires > 0 and itype  1 or 2, then issue a packet reporting the address of the last instruction in this block (and any unreported branches from this and previous blocks)

If the block is a single instruction then the two conditions are conflated and a single packet is output reporting the address of the only instruction in this block (and any unreported branches from this and previous blocks).
Iain
From: Dujiao @.>
Sent: 18 November 2024 08:39
To: riscv-non-isa/riscv-trace-spec @.>
Cc: Robertson, Iain (DI SW EDA DDCP TST RD EAH) @.>; Comment @.>
Subject: Re: [riscv-non-isa/riscv-trace-spec] Packet selection when prev_updisocn and next is unqualified are satisfied simultaneously (Issue #155)
I am a little confused here, Iain.
If current block (multi-retired inst.) satisfies "prev_updiscon" and "next_is_exception_only" conditions, then two packet will be issued to report the jump target address and inst. addr before trap.
If current block (multi-retired inst.) satisfies "prev_updiscon" and "next_is_unqualified" conditions, then only the jump target address will be reported, and the support-packet (qual_status = 2'b11 (ntr)) will be issued following.
Am I understand right? Why make such a difference on two packets issuing and only one packet issuing for these two circumstances?

Reply to this email directly, view it on GitHubhttps://github.com/riscv-non-isa/riscv-trace-spec/issues/155#issuecomment-2482282224, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQOPSSXXSSGWJR3JS3LFBL2BGRTZAVCNFSM6AAAAABQJG4E2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBSGI4DEMRSGQ.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>


Extend ToolSettings for additional DupFinder settings

It would be useful to support some of the additional properties supported by DupFinderSettings, specifically the ability to customize the ThrowExceptionOnFindingDuplicates and DiscardCost behavior.
I have made an initial pass at adding what I need more immediately and will create a PR shortly.

@kcamp great idea!  Thanks for doing this!


Added link to Ram's blog.

If this PR needs approval, or if the commits need to be pulled into the private repo, contact @v-manidhiman. Thanks.

@alkohli

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@LouisBerner - i assume you mean @ManikaDhiman?  Can you change your comment to reflect the GitHub alias? thanks!
#assign: @ManikaDhiman

#sign-off


[WIP] Connection and mock overhaul

Expose WebSocket connection uniformly between the kernel and the terminal, with a connection state and signal.
Kernels and terminals no longer connect to the websocket automatically.
Expose the http and websocket urls so we can use them for mock-xhr and mock-socket.
Use the mock libraries instead of the custom ones.
Create utility functions that can be used to mock responses from the server, and use these instead of the mock client/server objects.

I'm going to consider this a proof of concept, informing #190, since I think it should be done at the same time.

But I'm going to wait until after we switch to the mono phosphor repo.

cf #189


UHF-8514: Add patch for simple_sitemap module.

UHF-0000

What was done

This thing was fixed

How to install

Make sure your instance is up and running on latest dev branch.

git pull origin dev
make fresh

Update the Helfi Platform config

composer require drupal/helfi_platform_config:dev-UHF-0000_insert_correct_branch

Run make drush-updb drush-cr

How to test

[ ] Check that this feature works
[ ] Check that code follows our standards

Other PRs

Link to other PR

Codecov Report

Merging #572 (2f4488e) into main (f950e0a) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 2f4488e differs from pull request most recent head f5baa25. Consider uploading reports for the commit f5baa25 to get more accurate results

@@            Coverage Diff            @@
##               main     #572   +/-   ##
=========================================
  Coverage     12.74%   12.74%
  Complexity      236      236
=========================================
  Files            30       30
  Lines           902      902
=========================================
  Hits            115      115
  Misses          787      787

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fixes #159 by checking if bitbucket user is the owner of the repository.

Looks great! Thank you for fixing this.


Object data API

Implement a Lua API for manipulating object data at compiletime. Initial version must have these features:

Reading stock object data (embedded into Ceres)
Reading custom object data (object files only) from the map
Automatically reading and merging all available object data in the default build-script
Writing object data back into the map
Object writer should automatically discard unmodified objects and fields to preserve space

Mostly implemented. Unmodified object data checking is not implemented.


Treat trailing commands as extra remaining arguments

If the user provides a command to a leaf command and strict parsing is turned off, the trailing command should be treated as an extra remaining argument instead of showing an error.

I have tested the code snippet provided by @MiloszKrajewski above, compiled it for .Net 6.0, and I cannot reproduce this bug.

I recompiled the code between each run above, the latter run including the line below to turn on strict parsing.
    static void Main(string[] args)
    {
        var testArgs = new[] {
            "run",
            "cmd",
            "-e", "A=7",
            "-e", "B=10",
            "--",
            "cmd", "/c", "set && pause"
        };
        var app = new CommandApp();
        app.Configure(config =>
        {
            config.AddCommand<RunCommand>("run");
            config.UseStrictParsing(); //                     <-- THIS TURNS ON STRICT PARSING
        }
        );
        app.Run(testArgs);
    }

I propose this issue can be closed as no longer reproducible.

This issue can be closed/marked as not reproduceable @patriksvensson, due to my re-testing above: https://github.com/spectreconsole/spectre.console/issues/190#issuecomment-1272552248


Testing failing nodes does not restore the cluster....

Testing failing nodes does not restore the cluster....
$ kubectl  delete pods consul-2 consul-1;
HTTP error code from Consul: 500 Internal Server Error

This is an error page for the Consul web UI. You may have visited a URL that is loading an unknown resource, so you can try going back to the root.

Otherwise, please report any unexpected issues on the GitHub page.

$kubectl  exec --tty -i consul-0 -- consul members
Node      Address           Status  Type    Build  Protocol  DC
consul-0  <IP_ADDRESS>:8301  alive   server  0.7.2  2         dc1
consul-1  <IP_ADDRESS>:8301   alive   server  0.7.2  2         dc1
consul-2  <IP_ADDRESS>:8301  alive   server  0.7.2  2         dc1

$ kubectl get pods -o wide
NAME           READY     STATUS    RESTARTS   AGE       IP            NODE
consul-0       1/1       Running   0          7h        <IP_ADDRESS>   ip-10-117-89-126.eu-west-1.compute.internal
consul-1       1/1       Running   0          8m        <IP_ADDRESS>    ip-10-117-97-131.eu-west-1.compute.internal
consul-2       1/1       Running   0          8h        <IP_ADDRESS>   ip-10-117-37-128.eu-west-1.compute.internal
docker-debug   1/1       Running   0          10h       <IP_ADDRESS>    ip-10-117-37-128.eu-west-1.compute.internal

$ kubectl  exec --tty -i consul-0 -- consul operator raft -list-peers
Operator "raft" subcommand failed: Unexpected response code: 500 (No cluster leader)

$ kubectl  exec --tty -i consul-0 -- consul members
Node      Address           Status  Type    Build  Protocol  DC
consul-0  <IP_ADDRESS>:8301  alive   server  0.7.2  2         dc1
consul-1  <IP_ADDRESS>:8301   alive   server  0.7.2  2         dc1
consul-2  <IP_ADDRESS>:8301  alive   server  0.7.2  2         dc1

$ kubectl  exec --tty -i consul-0 -- consul monitor
...
2017/01/20 10:50:59 [WARN] raft: Election timeout reached, restarting election
2017/01/20 10:50:59 [INFO] raft: Node at <IP_ADDRESS>:8300 [Candidate] entering Candidate state in term 4324
2017/01/20 10:50:59 [ERR] raft: Failed to make RequestVote RPC to {Voter <IP_ADDRESS>:8300 <IP_ADDRESS>:8300}: dial tcp <IP_ADDRESS>:8300: getsockopt: no route to host
2017/01/20 10:50:59 [ERR] raft: Failed to make RequestVote RPC to {Voter <IP_ADDRESS>:8300 <IP_ADDRESS>:8300}: dial tcp <IP_ADDRESS>:8300: getsockopt: no route to host
2017/01/20 10:50:59 [ERR] raft: Failed to make RequestVote RPC to {Voter <IP_ADDRESS>:8300 <IP_ADDRESS>:8300}: dial tcp <IP_ADDRESS>:8300: getsockopt: no route to host
2017/01/20 10:51:01 [ERR] raft: Failed to make RequestVote RPC to {Voter <IP_ADDRESS>:8300 <IP_ADDRESS>:8300}: dial tcp <IP_ADDRESS>:8300: getsockopt: no route to host
2017/01/20 10:51:05 [WARN] raft: Election timeout reached, restarting election
2017/01/20 10:51:05 [INFO] raft: Node at <IP_ADDRESS>:8300 [Candidate] entering Candidate state in term 4325
2017/01/20 10:51:08 [ERR] raft: Failed to make RequestVote RPC to {Voter <IP_ADDRESS>:8300 <IP_ADDRESS>:8300}: dial tcp <IP_ADDRESS>:8300: getsockopt: no route to host
2017/01/20 10:51:08 [ERR] raft: Failed to make RequestVote RPC to {Voter <IP_ADDRESS>:8300 <IP_ADDRESS>:8300}: dial tcp <IP_ADDRESS>:8300: getsockopt: no route to host
2017/01/20 10:51:08 [ERR] raft: Failed to make RequestVote RPC to {Voter <IP_ADDRESS>:8300 <IP_ADDRESS>:8300}: dial tcp <IP_ADDRESS>:8300: getsockopt: no route to host
2017/01/20 10:51:08 [ERR] raft: Failed to make RequestVote RPC to {Voter <IP_ADDRESS>:8300 <IP_ADDRESS>:8300}: dial tcp <IP_ADDRESS>:8300: getsockopt: no route to host
2017/01/20 10:51:12 [INFO] agent.rpc: Accepted client: <IP_ADDRESS>:42080
...

Hi
Happened to me in a cluster GKE upgrade version process.
I got a consul cluster deployed.
I performed the gke upgrade available process from 1.5.2 to 1.5.3.
As it restarts the nodes one by one, there were two pods in the same node. What happened?
The consensus was broken and I got the same error
HTTP error code from Consul: 500 Internal Server Error

In order to avoid a downtime in the consul cluster when performing an upgrade of version in GKE,
I modified the statefuleset with this
  lifecycle:
        preStop:
          exec:
            command:
            - /bin/sh
            - -c
            - consul leave

with this, if a pod is evicted from a node, if will leave the cluster gracefully.
Also I add a PodDisruptionBudget with a minAvailable of 2. So, the drain will wait until this is
accomplish.

Just ran a quick test on GKE off of PR #34 which is pretty close to mainline, just consul 1.2 instead of 0.9.1.  kill -9 on all the agents results in them getting brought back up - different hosts, but alive and sync'd just the same.


Representing compile-time errors in AST

Some clients of Kernel would like to keep as much information about an error as possible, including code that would otherwise be a compile time error.
For example, consider this snippet:
const x = [];

In this case, Fasta will generate this:
const x = throw new _CompileTimeError("Not a compile-time constant");

This is a semantic error, and we can easily represent the syntax of the erroneous expression, as it is just a ListLiteral.
For this reason, it would be useful to extend InvalidExpression to include:

A throw expression that generates a compile-time error.
A JSON string representing the error.

Similar extensions should be added to InvalidInitializer, InvalidStatement, and InvalidType.
Furthermore, errors can occur at other levels, for example in the signature of a Procedure. For this reason, it would be useful to be able to be able to add error information at the following levels:

Member, for example, error in signature.
Class, for example, error in hierarchy.
Library, for example, error in library declarations.

This is done.


Delete operation returning incorrect response when the resource does not exist

Describe the bug
Delete operation returning successful delete operation response even though the resource does not exist on the server.
To Reproduce

Try to execute a Delete operation on Patient resource with an id that does not exist.

Alternatively, this can also be achieved through a GUI:

Go to https://hapi.fhir.org
Click on Patient (or any resource you like)
In the Search Parameters field select _id and enter a random id in the Code (9999999), ensure that the response returns an empty bundle
Navigate back to the the resource and navigate to CRUD Operations
In the ID field of the Delete section enter the same id from step 3
Click "Delete"

Expected behavior
If a Delete operation is executed with an ID that does not exist, throw a ResourceNotFoundException
Screenshots

Environment (please complete the following information):

HAPI FHIR Version: 5.7.0

Additional context
The deletion does actually work. When the resource actually exists, it is deleted, it's just that when it doesn't exist it still tells you that a resource was deleted

I tried to repeat the operations and now the output message is: HAPI-0928: Failed to parse database resource[Patient/9999999 (pid 9999999, version R4): HAPI-1814: Incorrect resource type found, expected "Patient" but found "Observation"


Multitenanted use cases

Hello, I am working on an application where we work with different companies whose data is stored in their own elasticsearch instances. Currently, we roughly have a custom solution to make queries etc as our use cases until now have been quite basic. We are hoping to do more with elasticsearch and are hoping to use a more robust solution. Looking at the docs for this project, it looks like it would work well for a single tenant but I was wondering if you have any advice on how to use this in a multitenanted application.

We're not using it in a multi tenanted application I'm afraid. But I'd welcome suggestions on how to improve Snap to support this.


Pg_search migration not add column

I have two models
class Post < ApplicationRecord
  include PgSearch
  multisearchable :against => [:title, :content]
...

class Question < ApplicationRecord

  include PgSearch
  multisearchable :against => [:title, :content]

I run command
rails g pg_search:migration:multisearch
Its generate this migration
class CreatePgSearchDocuments < ActiveRecord::Migration
  def self.up
    say_with_time("Creating table for pg_search multisearch") do
      create_table :pg_search_documents do |t|

        t.text :content
        t.belongs_to :searchable, :polymorphic => true, :index => true
        t.timestamps null: false
      end
    end
  end

  def self.down
    say_with_time("Dropping table for pg_search multisearch") do
      drop_table :pg_search_documents
    end
  end
end

Its not add column title. Why so?
Rails 5.0.2
Ruby ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]

It's probably concatenating your title and content attribute values together and stores the resulting string in the content column. If you try saving a record and check in the rails console with:
ActiveRecord::Base.connection.exec_query('select content from pg_search_documents')


Missing / Out-of-Order Code in Tutorial

The Issue
Throughout the Bevy engine chess tutorial there are a number of places where the program will not function as described by the tutorial because code required for error-free execution (i.e. variable declarations) was not introduced at the step it should have been.
Specifics
Cannot find type Piece  in this scope.
In the tutorial after the paragraph: "We now need to implement something to change the unit positions. We'll change the select_square system to also move the pieces for now, and we'll refactor it into something neater later:" the following code is displayed:
fn select_square(
    pick_state: Res<PickState>,
    mouse_button_inputs: Res<Input<MouseButton>>,
    mut selected_square: ResMut<SelectedSquare>,
    mut selected_piece: ResMut<SelectedPiece>,
    squares_query: Query<&Square>,
    mut pieces_query: Query<(Entity, &mut Piece)>,
) {

At this point, you will receive the error "Cannot find type Piece in this scope.".
Solution: change the  PieceColor, PieceType, and Piece structs to all be public and add use crate::pieces::* to the top of board.rs. The tutorial shows neither of these steps, but the final code does.
Cannot find value pieces_vec in this scope.
In the tutorial after the paragraph: "Finally, we just need to call the function before moving a piece to check that the move is valid:" the following code is displayed:
fn select_square(
                [...]

                // Move the selected piece to the selected square
                if let Ok((_piece_entity, mut piece)) = pieces_query.get_mut(selected_piece_entity)
                {
                    if piece.is_move_valid((square.x, square.y), pieces_vec) {
                        piece.x = square.x;
                        piece.y = square.y;
                    }
                }

                [...]
}

At this point, you will receive the error "Cannot find value pieces_vec in this scope.".
Solution: add let pieces_vec = pieces_query.iter_mut().map(|(_, piece)| *piece).collect(); under the line if let Ok((_piece_entity, mut piece)) = pieces_query.get_mut(selected_piece_entity).
Note: The tuple inside the .map(| |) closure and Ok(()) lines only contains two arguments as the children argument has not been introduced by this point in the tutorial.
Field 0 of struct bevy::prelude::Children is private
In the tutorial after the paragraph: "Here's the new function that also takes care of despawning a piece after it's taken:" the following code is displayed:
...
 let pieces_entity_vec: Vec<(Entity, Piece, Vec<Entity>)> = pieces_query
                    .iter_mut()
                    .map(|(entity, piece, children)| {
                        (
                            entity,
                            *piece,
                            children.0.iter().map(|entity| *entity).collect(),
                        )
                    })
                    .collect();
...

At this point, you will receive the error "field 0 of struct bevy::prelude::Children is private" on the children.0.iter()... line.
Solution: Change children.0.iter() to children.iter().
This solution I don't understand as much since I just got it from tubotinatub on the Discord.
That is all. Let me know if I was mistaken or if you need help understanding any of these issues.
Thanks again for the great tutorial. It's really helped me grasp Bevy.

Thanks for being so thorough! I've fixed these issues now.
Last one is due to the update from Bevy 0.3 to 0.4, which changed how Children work, but since in the end we don't use them, I did not realize while updating!

Thanks for being so thorough! I've fixed these issues now.
Last one is due to the update from Bevy 0.3 to 0.4, which changed how Children work, but since in the end we don't use them, I did not realize while updating!


Fix markdown in MB topics

Acceptance Criteria

[ ]  Bold, headers, etc, in MB topics are formatted with MarkDown for correct presentation in the app

Staging app test: Bold not shown. * left in the text


Server admin mutual TLS support

Description
This is built on top of ma/chef-server-ctl-config and should be
merged after. The relevant commit for review is https://github.com/chef/chef-server/commit/00c7458172f91515abbb9c32162a8e7cb2201070
This fix has been running regularly as part of a Habitatized Chef server
built from a branch containing a collection of patches.  Moving this patch over
will help us get rid of that branch.
Our Habitatized Chef Server users mutual TLS authentication between all
components.  This fixes various calls inside the chef-server-ctl commands
to pass relevant TLS options during bifrost API calls.
This is a separate PR from ma/chef-server-ctl-config only to avoid invalidating the testing that has been done on that branch.

Running tests as ad-hoc #183


AttributeError: 'Int64Index' object has no attribute 'tz'

Problem Description
Please provide a minimal, self-contained, and reproducible example:
[Paste code here]

Please provide the full traceback:
Traceback (most recent call last):
  File "D:/work/paper/test.py", line 95, in <module>
    predictive_factor, pricing, quantiles=5, bins=None, groupby=code_sec, groupby_labels=sec_names)
  File "D:\work\air_systeam\venv\lib\site-packages\alphalens\utils.py", line 832, in get_clean_factor_and_forward_returns
    cumulative_returns,
  File "D:\work\air_systeam\venv\lib\site-packages\alphalens\utils.py", line 263, in compute_forward_returns
    if factor_dateindex.tz != prices.index.tz:
AttributeError: 'Int64Index' object has no attribute 'tz'

Please provide any additional information below:
Versions

Alphalens version: 0.4.0
Python version: 3.7.7
Pandas version: 1.2.4
Matplotlib version: 3.4.2

Please help me,How to solve this problem?

@EgoistaCercis  Have you solved this problem?


mac-2 lost external connection phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-2 lost external connection phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting machine to restore connection.


Remove unnecessary executable permissions on checked in files

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


Rescue and reboot form buttons should be aligned to second column not first

Superseded by #869, closing.


Need CONTRIBUTING.md

See https://github.com/marklogic/node-client-api/blob/develop/CONTRIBUTING.md.

got it.  will close after bt sync.


Editable paragraph

Summary
Ant-design provides an "editable" function like:
      <Paragraph editable={{ onChange: setEditableStr }}>{editableStr}</Paragraph>

that allows you to click on an icon next to a text to edit it like in:

Motivation
This is really practical as I often want to allow the user to modify a paragraph while displaying it like a regular text.

Try:
<script>
	import { P } from 'flowbite-svelte'
</script>

<P contenteditable>
	Here you are
</P>

Who, awesome, thanks a lot! Would it be possible to document it?


vite-plugin-vue-devtools + Vue Devtools integration not working

Describe the bug
I'm working on a project where we're using vite-plugin-vue-devtools to get Vue Devtools into our app. It makes the Devtools appear in the app similarly to how the VueQueryDevtools component makes TanStack Query's Devtools appear the app; as an overlay which can be toggled by an icon on the side of the page.
I really like this way of using Vue Devtools (or framework devtools in general) since the devtool is then automatically available right after cloning, installing dependencies and starting the dev server and developers don't have to separately install any browser extensions in their browsers.
When discovering Vue Query's integration with Vue Devtools, I got really excited, as I think having all devtools accessible through one panel which ships with the application (codebase), not requiring any browser extensions to be installed separately, would be so cool and good DX.
However, I've noticed that the integration (which is btw. enabled when passing enableDevtoolsV6Plugin: true to VueQueryPlugin) doesn't work with Vue Devtools through vite-plugin-vue-devtools.
It doesn't display any errors, but the Vue Query module simply doesn't appear in the sidebar of Vue Devtools.
I debugged the code enough to notice that the setupFn that Vue Query passes to setupDevtoolsPlugin is never invoked by Vue Devtools (or @vue/devtools-api).
Your minimal, reproducible example
https://stackblitz.com/edit/tanstack-query-i1agfe?file=src%2Fmain.ts
Steps to reproduce

Click on the Vue Devtools button on the bottom of the page.
Witness that Vue Query module doesn't appear there even though enableDevtoolsV6Plugin: true is set in VueQueryPlugin's options.

Expected behavior
Vue Query module would appear in Vue Devtools through vite-plugin-vue-devtools
How often does this bug happen?
Every time
Screenshots or Videos

Platform

OS: macOS Sonoma 14.4.1 (23E224)
Browser: Chrome (version: 123.0.6312.59 (Official Build) (arm64))

Tanstack Query adapter
vue-query
TanStack Query version
v5.28.13
TypeScript version
No response
Additional context
No response

Our build-in plugin only supports up to v6 of vue devtools, which is available as browser extension.
For v7+ they have made some breaking changes and specifically blacklisted vue-query to not run the plugin, cause it's not compatibile.
At this point, since there are many devtools avialbe for Vue like browser extension, vite, nuxt and potentially more in the future, it would be better for community to maintain those integrations.
From our end we will provide tanstack specific devtools that will have the most features and will be always up-to-date across frameworks.

Good news, https://github.com/vuejs/devtools-next/pull/421


Is it possible to make it so you can swap players without resetting the program in multiplayer?

Right now if you swap the player you're simulating during a game, the program starts over.  That makes it tough to test varying game situations.

I'm not seeing this behavior in Chrome on Windows. What's your device & browser?

Oh, you're right.  What was actually happening (Safari on Mac) is that the first press was just deselecting the console, so I'd need to press on the button twice to get back to the game, but before that happened, my time ran out.
I'll chalk this one up to user error.


Prepare the Portal Environment for Creating Sites (Neo)

Tutorials: https://developers.sap.com/tutorials/cp-portal-getting-started.html
This tutorial is not matched to current BTP cockpit, So we are getting confused to navigate step by step procedure.

Hi
You are using an outdated tutorial mission.  Please switch to https://developers.sap.com/mission.launchpad-cf.html
Thanks
Lindsay

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Lib usage

Sorry, it's not an issue, but I haven't got a response on SO. So it my thoughts about lib and maybe you will dispel my doubts.

Why should I use methods like addGet/addPost and split my controller by HTTP methods
Why should I involve models to routing?
I can use validators for authentication, but I have to choose some paths, that should be protected there. It duplicates logic, that stores in swagger json file.

Isn't it the right way to have a static swagger.json and build Express routes on it? Or maybe I don't understand some practics

Hi, take a look here:
https://groups.google.com/forum/#!topic/swagger-swaggersocket/8aZZk5wroeg
We're redoing how this library works very soon.

This is handled in #209


Set-UnifiedGroup Hide group from GAL looking for C# code

Hi there! I would like to find out which code is behind Set-UnifiedGroup at
https://docs.microsoft.com/en-us/powershell/module/exchange/users-and-groups/set-unifiedgroup?view=exchange-ps so we can integrate this in our c# project.
property we want to set: -HiddenFromAddressListsEnabled <$true | $false>
Which libraries do I need to look into?
Does this work with MFA?
Thx in advance!

@officedocsbot assign @yogkumgit

Hello @KristofVanGils
Thanks for your feedback, although this issue resource is specifically to report issues in current articles.
I kindly suggest to review if Microsoft Graph can help you to do what you need, see https://docs.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0#office-365-groups
Thank you

@get-itips  Thank you very much for the contribution and sharing this explanation. @KristofVanGils
Hope this comment is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close