Keras 2.2.0 compatability with Tensorflow 1.3.0

Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[ x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[x ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[x ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

import tensorflow as tf
import keras
print(tf.__version__) #1.3.0
print(keras.__version__) #2.2.0
from keras.layers import Input, LSTM, RepeatVector

dropout=0.6
inputs = Input(shape=(60, 7,))
encoded = LSTM(200,name='encoder', recurrent_dropout=dropout, dropout=dropout)(inputs)
decoded = RepeatVector(60)(encoded)
decoded = LSTM(7, return_sequences=True, name='decoder', recurrent_dropout=dropout, dropout=dropout)(decoded)
autoencoder = Model(inputs, decoded)
autoencoder.compile(optimizer='adam', loss='mse')

Error:
TypeErrorTraceback (most recent call last)
<ipython-input-10-42ad0225d0f5> in <module>()
      7 dropout=0.6
      8 inputs = Input(shape=(60, 7,))
----> 9 encoded = LSTM(200,name='encoder',recurrent_dropout=dropout,dropout=dropout)(inputs)
     10 decoded = RepeatVector(60)(encoded)
     11 decoded = LSTM(7, return_sequences=True,name='decoder',recurrent_dropout=dropout,dropout=dropout)(decoded)

/opt/miniconda/envs/py2/lib/python2.7/site-packages/keras/layers/recurrent.pyc in __call__(self, inputs, initial_state, constants, **kwargs)
    498
    499         if initial_state is None and constants is None:
--> 500             return super(RNN, self).__call__(inputs, **kwargs)
    501
    502         # If any of `initial_state` or `constants` are specified and are Keras

/opt/miniconda/envs/py2/lib/python2.7/site-packages/keras/engine/base_layer.pyc in __call__(self, inputs, **kwargs)
    458             # Actually call the layer,
    459             # collecting output(s), mask(s), and shape(s).
--> 460             output = self.call(inputs, **kwargs)
    461             output_mask = self.compute_mask(inputs, previous_mask)
    462

/opt/miniconda/envs/py2/lib/python2.7/site-packages/keras/layers/recurrent.pyc in call(self, inputs, mask, training, initial_state)
   2110                                       mask=mask,
   2111                                       training=training,
-> 2112                                       initial_state=initial_state)
   2113
   2114     @property

/opt/miniconda/envs/py2/lib/python2.7/site-packages/keras/layers/recurrent.pyc in call(self, inputs, mask, training, initial_state, constants)
    607                                              mask=mask,
    608                                              unroll=self.unroll,
--> 609                                              input_length=timesteps)
    610         if self.stateful:
    611             updates = []

/opt/miniconda/envs/py2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.pyc in rnn(step_function, inputs, initial_states, go_backwards, mask, constants, unroll, input_length)
   2955             parallel_iterations=32,
   2956             swap_memory=True,
-> 2957             maximum_iterations=input_length)
   2958         last_time = final_outputs[0]
   2959         output_ta = final_outputs[1]

TypeError: while_loop() got an unexpected keyword argument 'maximum_iterations'

The same code works fine with Tensor flow 1.3.0 and Keras 2.1.2.

As a general rule, the latest release of Keras is compatible with the latest release of TensorFlow as well as the previous release of TensorFlow (in most cases, it is actually compatible with several prior TF releases, but that is not guaranteed).
TF 1.3 is now 5 releases behind (soon to be 6, since 1.9rc is already out), so you should either use a prior version of Keras or use an updated version of TensorFlow.

File "chinese_binary.py", line 49, in
model = utils.build_netword(catalogue=utils.BINARY_FLAG, dict=dict, embedding_size=embedding_size, max_sequence_length=max_sequence_length)
File "/data/home/rc/sunyongsong/keras_lstm/utils.py", line 85, in build_netword
model.add(krs.layers.wrappers.Bidirectional(krs.layers.LSTM(32, dropout=0.2, recurrent_dropout=0.2),merge_mode='concat'))
File "/data/sysdir/anaconda3/lib/python3.5/site-packages/keras/engine/sequential.py", line 181, in add
output_tensor = layer(self.outputs[0])
File "/data/sysdir/anaconda3/lib/python3.5/site-packages/keras/layers/wrappers.py", line 427, in call
return super(Bidirectional, self).call(inputs, **kwargs)
File "/data/sysdir/anaconda3/lib/python3.5/site-packages/keras/engine/base_layer.py", line 457, in call
output = self.call(inputs, **kwargs)
File "/data/sysdir/anaconda3/lib/python3.5/site-packages/keras/layers/wrappers.py", line 522, in call
y = self.forward_layer.call(inputs, **kwargs)
File "/data/sysdir/anaconda3/lib/python3.5/site-packages/keras/layers/recurrent.py", line 2194, in call
initial_state=initial_state)
File "/data/sysdir/anaconda3/lib/python3.5/site-packages/keras/layers/recurrent.py", line 649, in call
input_length=timesteps)
File "/data/sysdir/anaconda3/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 3011, in rnn
maximum_iterations=input_length)
TypeError: while_loop() got an unexpected keyword argument 'maximum_iterations'

python 3.5
keras '2.2.4'
tensorflow '1.0.1'

I encountered the same problem. Error is totally the same.
python 3.6.7
keras '2.2.4'
tensorflow '1.0.1'


Deal with system dnsmasq

Someone on @digiblur 's chat seemed to run into a problem using the script which may or may not have been related to the system dnsmasq running instead of tuya-convert's dnsmasq config.
Not completely sure, but while investigating it I patched my local copy to shutdown the system dnsmasq before tuya-convert attempts to start its own.
Possible benefits:

Deals with the system dnsmasq starting up after installation of the package and next time pi is rebooted for those on raspian on pi or other debian-based distros that start services as soon as they're installed.
Makes sure the tuya-convert dhcp server is really running, which will make phones and other devices attaching to the wlan interface happier, perhaps. (?)

Probably could be smarter but the main script is (knowingly) heavy handed with making sure stuff like apache isn't running, so I didn't get too wild with checking if the system one is really running, before attempting to stop it.
I do NOT stop the tuya-convert dnsmasq if the script flashes the intermediate firmware successfully --because I assume MAYBE (even though most people will not), someone MIGHT somehow flash intermediate firmware that DHCPs or somehow their device might need a DHCP server at that time. Unlikely, but felt safer to leave tuya-convert version running there. Which means it'll be running until the script runs again or reboot.
Only stopping at the top of start_flash.sh prior to AP start up, and only switching back to system dnsmasq if we bomb out without a successful intermediate flash.
Tested on raspian buster fully patched as of Nov 2nd 2019. Additional testing appreciated.

p.s. Also let me know if you would have preferred I forked off of development. Apologies if so.

Hi @denverpilot, thanks for the PR! This should actually already be covered by #350, we just need another confirmation before we go ahead and merge. Closing in favor of #350.


add logo, screenshots, etc.

Required if add-on is accepted for publication in the web store.

Added logo to website and about dialog. Still need screenshots for publication.

Added screenshots and additional promotional images necessary for publication.


JENKINS-46445 Add support for both client TLS and basic authentication.

In some setups both client certificate TLS authentication and
username password authentication is needed.
Here is how you would set it up.
Create a sslContext, and add it along with credentials this way
HttpClientBuilder builder = HttpClientBuilder.create();
builder.setSslcontext(sslContext);
JenkinsHttpClient client = new JenkinsHttpClient(uri, builder, username, password);
JenkinsServer jenkins = new JenkinsServer(client);

Would you please so kind to add this information to the ReleaseNotes file.

Sure - i have updated the PR.


Error: failed to parse some of the extra variables.

tower-cli version: 3.1.8
tower-cli workflow copy -v ID
OUTPUT
GET https://host/api/v1/workflow_job_templates/ID/
Params: {}

Error: failed to parse some of the extra variables.
variables:
{

While it works with curl on  ../api/v1/workflow_job_templates/ID/copy

Agree that we should swap out the copy method for workflows to POST to /workflow_job_templates/ID/copy/. Not all resources have that kind of endpoint, but where it is available, it is preferable.

Fix going out in next batch of releases.
We may eventually want to make use of the JT and workflow /copy/ endpoints, but they are not yet fully available in AWX, so I don't want to jump the gun.


[other]: can't find "/path/to/k230_sdk/src/big/utils/examples/hhb"

Other
in my workspace, can't see utils folder
➜  big git:(main) ✗ ls kmodel  mpp  nncase  rt-smart  unittest ➜  big git:(main) ✗ pwd /home/sail/repo/k230_sdk/src/big

your may not follow our document and steps.
please refer to our README.md at https://github.com/kendryte/k230_sdk
docker pull ghcr.io/kendryte/k230_sdk

git clone https://github.com/kendryte/k230_sdk
cd k230_sdk
make prepare_sourcecode
docker run -u root -it -v $(pwd):$(pwd) -v $(pwd)/toolchain:/opt/toolchain -w $(pwd) ghcr.io/kendryte/k230_sdk /bin/bash

make CONF=k230_evb_defconfig


pixivutil dont connect 2

Prerequisites

[x] Did you read FAQ section?
[x] Did you test with the latest releases or commit ?

Description
Cannot connect Pixivutil.
Error at doLogin(): (<class 'PixivException.PixivException'>, PixivException('Failed to get page: , please check your internet connection/firewall/antivirus.',), <traceback object at 0x04986F30>)
Cannot Login!
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Versions
pixivutil20190907 (last one as of today)
Hello, this is the same as issue 507, but while it seems Shirotora succeeded in making Pixivutil work, I did not.
I put the new cookie value and browser agent in config.ini with no effect.
AV tweaked, disabled, everything is opened in the router. I also tried to install the Python version with no success. I tried on both windows 10 and 7.

do you able to open the website on the browser? also try on other pc?
I have updated the script, can you pull the latest commit and rerun from script? Ensure you are using python 2.7.x

do you able to open the website on the browser?

Yes, no problem here

also try on other pc?

On other PC with windows 10 and 7 : not working. They are clean, by this I mean no AV or anything.

I have updated the script, can you pull the latest commit and rerun from script? Ensure you are using python 2.7.x

I am using 2.7.16.
It now ask for captcha : Server reply: {u'captcha': u'Please complete the reCAPTCHA verification.'}
Thank you for your time.

ok, then please follow the cookie login method. Ensure the user agent is the same with the browser you use for login.

I did, still asking for captcha.
Where do you modify cookie and browser agent in python version of pixiv since there is no config.ini ?
Notepad > PixivConfig.py > # Authentication related ?

no, run the script for the 1st time, it should create a config.ini in the application folder.
For captcha, this one I cannot prevent, as it is from the pixiv server itself.

Using 20190907b and it hangs on "Trying to log in with saved cookie"
It was working just fine yesterday..

can you redownload the latest zip file, I think I forgot to remove the debugging code (the code will show [true] or [false] on the screen, it will continue if you press enter.)

Looks like pixiv banned my IP, since resetting my router got it working again.

I modified the config.ini file of the python version of pixiv version 20190907b to just add the web agent and cookie : it worked.
I downloaded the windows package : it worked too !
So I tried again with updating my current install : not working.
config.ini files are the same, except for cookie value.
Any specific port to open in router maybe ?
I remember not installing any windows update during the time pixivutil stopped working, but I guess it may be my system that is preventing it to connect.
It also does not work on another fresh install of windows on a laptop.

captcha

This is based on Pixiv server, most likely they use heuristic similar like other sites implementing Captcha.

router port

No special port, it just connect to http (80) and https (443) on the pixiv server. If your isp shared the public ip address, then it might be detected as unusual connection at pixiv


Popovers is not matching the focused element

I tried the demo page and was able to trigger popovers that don't match the focused element.
I started with "With Animation" then switched to "without Animation" when it was available with popover "Lets talk features".

I think it is good to let you know this.

Ahh yes, I noticed that earlier today.  Should be quick fix, I will check tonight. Thanks for reporting.

Thank you for reporting. It has been fixed. Demo will be deployed soon.
@moghya no, that would be a mess. Also, it is something that app should be responsible of handling not the plugin. For now, I have updated the demo to reset the existing driver and run the new one.


Fix: Make eks_cluster_oidc_issuer_url Non-optional and Add Validation Rule

what

Make eks_cluster_oidc_issuer_url non-optional and add validation rule.

why

eks_cluster_oidc_issuer_url is currently optional, except it supplies the same value directly to cloudposse/eks-iam-role/aws, which has a validation rule on it not being empty. This results in a run-time error if eks_cluster_oidc_issuer_url is empty.

╷
│ Error: Invalid value for variable
│
│   on .terraform/modules/ocean_controller/main.tf line 28, in module "eks_iam_role":
│   28:   eks_cluster_oidc_issuer_url = var.eks_cluster_oidc_issuer_url
│
│ The eks_cluster_oidc_issuer_url value must have a value.
│
│ This was checked by the validation rule at .terraform/modules/ocean_controller.eks_iam_role/variables.tf:38,3-13.
╵
Releasing state lock. This may take a few moments...
exit status 1

See: https://github.com/cloudposse/terraform-aws-eks-iam-role/blob/7fbf1965f71d6897ec583c30fac2875a6582a8d2/variables.tf#L34-L42
references

Closes #26

/test all

Hmm the problem with this change is that now I have to provide this value even if I dont want to create an IAM role.
cc: @korenyoni


Stack Overflow.clip does not clip transformed children

The Stack widget documentation states that you can clip children using the overflow property and that "When this flag is set to Overflow.clip, children cannot paint outside of the stack's box." However, this does not seem to be true for transformed children.
Below you can see an example where:
1 (blue) - overflow is being clipped appropriately for non-transformed child widget
2 (red) - overflow is not being clipped for transformed child widget
3 (green) - overflow is being correctly clipped using ClipRect for transformed children

Feel free to test and play with the code here: https://dartpad.dev/fcb4de224a9dabac0ed574345188e1c9
Here is the offending (red above) code:
    Container(
      height: 100,
      width: 100,
      color: Colors.grey[200],
      child: Stack(
        overflow: Overflow.clip,
        children: [
          Transform(
            alignment: FractionalOffset.topLeft,
            transform: Matrix4.skewY(0.7), // skew will not go out of y bounds
            child: Container(
              height: 50,
              width: 300,
              color: Colors.red,
            ),
          ),
        ],
      ),
    );

side-note: thank you for all your hard work, flutter is amazing.. I'm just getting started and it's been a pleasure to build with

This is a duplicate of #40216, and is intentional. We only clip children whose size is larger than the stack; if they paint outside their bounds, that's not considered overflow (it's generally not a good idea to paint outside your bounds).


Npm Package Not Published

Your package seems to be unpublished.
This prevents npm i @mdxeditor/editor, as-per docs.

Seems to be resolved.


Get RGB body skeleton image from Azure Sensor Body Tracking DK

Is your feature request related to a problem? Please describe.

I'm currently developing an app using Azure Kinect Sensor Body tracking sdk in C# and I follow the code here, with the latest sdk version:
https://github.com/microsoft/Azure-Kinect-Samples/tree/master/body-tracking-samples/csharp_3d_viewer
Of course I changed the device initialization to below:
                    device.StartCameras(new DeviceConfiguration()                     {                         CameraFPS = FPS.FPS30,                         ColorResolution = ColorResolution.R720p,                         DepthMode = DepthMode.NFOV_Unbinned,                         WiredSyncMode = WiredSyncMode.Standalone,                     });
But still I see the Black&White body skeleton output on screen, but I want a colored body skeleton image, can someone teach me how to do it?
Describe the solution you'd like

A function that returns RGB image in bitmap form would be appreciated. Similar to line 200 in https://github.com/microsoft/Azure-Kinect-Samples/blob/master/build2019/csharp/1 - AcquiringImages/MainWindow.xaml.cs
Describe alternatives you've considered

Any suggestion with detailed example code would be appreciated
Additional context

Hi Rabbitdaxi, what we need to do is to overlay the skeleton on the RGB camera view. how can we call the RGB camera?
we may be able to use the depth map, but still we want the depth map to overlay in a transparent manner over the RGB camera view.
for our application, we will have a person that invoke the data capture, and this person need to be able to see the scene, in the RGB camera. the depth map is not a good image background for our case. {i'm pensyl... you will be answering to our software engineer, Lin)
we are in a bit of the deadline crunch... so if we can get a quick answer, it will help ALOT...
thanks

@linatpensyl is this still an open issue for you? A tool like OpenCV is helpful for overlaying these images. You can also colorize the depth image similarly to what K4aViewer does with the ColorizeBlueToRed function.

Yeah. This is still an open issue for me. I follow the from the sample code to use OpenGL here: https://github.com/microsoft/Azure-Kinect-Samples/blob/master/body-tracking-samples/csharp_3d_viewer/Renderer.cs So in this sample code, in which line should I colorize the depth image using ColorizeBlueToRed function, and what is the counterpart of ColorizeBlueToRed(C++) in C# library?

You will have to create a CS version, I don't know of one to use as a sample.

What I am trying to ask is whether we are able to draw the skeleton on top of RGB captured from the Kinect RGB camera instead of the depth camera.

@linatpensyl if you just want to draw skeleton on RGB camera, you should be able to do that. e.g. if you have the skeleton joints in depth camera coordinate system, let us a float3 position, you can easily call the k4a_calibration_3d_to_2d() function by passing the source camera is depth and target camera as color.
If you are asking future overlay body tracking segmentation image on RGB, you can also do that by another way of transform the entire segmentation image from depth camera to color camera with k4a_transformation_depth_image_to_color_camera_custom()
The idea of the transformation functions or how to use them depends on whether you just want to transform a few points or the entire image. You can refer to https://docs.microsoft.com/en-us/azure/Kinect-dk/use-image-transformation and https://docs.microsoft.com/en-us/azure/Kinect-dk/use-calibration-functions


Google Drive Backup.

.

It is showing Level 1 cloud backup is complete and that "Backup on Google" still not confirmed.
Also when I click on "Backup on Google" nothing is happening.

Not reproducing @antuz123 @cakesoft-swati Please check

Added Error modal for cloud if auto cloud upload

Once again facing the same issue on android device staging app v2.0(349).
Hard to reproduce this issue.

Duplicate of #4425


Scrolling terminal keyboard shortcuts not working on MacOS

Testing #12685.

VSCode Version: 1.6.0 insiders
OS Version: MacOs

Steps to Reproduce:

Open a terminal
execute command with multipage output
use Command+ArrowUp to scroll a single line up
-> 9A is printed to the console but no scrolling

Executing the command from the command palette works as expected.
Same for Scrolling a line down, or scrolling page wise.

@kieferrm do you have you have any terminal-related settings on your settings.json?

@Tyriar: No, I don't.

Cannot reproduce on my Mac, cmd+up/down scroll fine and shift+page up/down work (shift+fn+up/down).
One thing that should change is to use just page up/down for scrolling a page to be consistent with the default Mac terminal.


Dev Drive Insights doesn't correctly detect my previously-set NUGET_PACKAGES variable

Dev Home version
0.1301.472.0
Windows build number
10.0.26100.1000
Other software
OS Build Version: 10.0.26100.1000.amd64fre.ge_release_we_adept.240331-1700
.NET Version: .NET 8.0.3
Steps to reproduce the bug
I launched Dev Home, navigated to the Dev Drive Insights page, and inspected the list of recommendations for various technologies.
Expected result
Dev Drive Insights would only show me recommendations for technologies where I haven't already remapped the package locations to my Dev Drive.
Actual result
For dotnet, I saw a recommendation to set the NUGET_PACKAGES environment variable. The value that Dev Drive Insights reported for this variable referenced my C:\ drive, which doesn't match the state of the system (the environment variable is pointing to the Dev Drive when I query it).


fix(gyro_odometer): use all data

Signed-off-by: kminoda<EMAIL_ADDRESS>Description
I would like to change the implementation of gyro_odometer.
Current gyro_odometer had an issue when the IMU frequency is higher than the velocity frequency. For example when IMU freq = 200 Hz and velocity freq = 50 Hz, the current gyro_odometer will concatenate both data and output twist in 200 Hz. Since the velocity frequency is not that high, it upsamples velocity observation by simply publishing one observed data four times.
This may be a problem because, assuming that the covariance of IMU and velocity are properly estimated, EKF may be overly confident on the velocity observation.
To be accurate on probability theory, I would like to change the implementation to the following:

publish twist for every dt [sec] (e.g. dt=0.02[sec] or 50 Hz. This is also a parameter)
if either velocity or IMU is not observed in the last dt [sec], do not publish twist
if two or more data is observed for either velocity or IMU in the last dt [sec], publish a mean value of all the observed data (and lower the covariance based on central limit theorem)

Related links

Tests performed
Normal scenario test
Run Autoware with tutorial data and confirmed that the localization works fine and the covariance estimation is also reasonable
Edge-case test

Run Autoware without velocity (and also IMU) input and confirmed that the warning is output in log
Run Autoware, wait for a few seconds and kill velocity (and also IMU) topic, and confirmed that the error is output in log

Notes for reviewers

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

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

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

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

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

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

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

Let me make this PR a draft for now.
I encountered a possible degradation. The twist rate drops to 23-25 Hz even though output_rate = 50, IMU freq is 28-30Hz, wheel odometry freq is 28-30Hz.


Video checkpoint is broken

I've run the requirements installation, but the model spits out random words when I run the video examples from gradio.
The image captioning works fine.
The hugging face demo for video captioning works fine as well.

Sorry for that. I'll check and fix it.

Now it is available!

还是不能用


Outdated version on plugins.gradle.org

Hi,
I've just discovered this project through plugins.gradle.org and so far I like it pretty much. But the plugins seems to be outdated in their repository. What can I do to get the most recent release.
Kindest regards,
Nils-Börge Margotti

I will try to resolve the issue with the outdated plugins repo (some credantials are required that I seem to be missing). You can however still get the latest version here: https://mvnrepository.com/artifact/com.cinnober.gradle/semver-git/2.3.0

Thanks for the fast answer. I have added maven central to the repositories by adding:
pluginManagement {
    repositories {
        maven {
            url 'http://central.maven.org/maven2/'
        }
        gradlePluginPortal()
    }
}

to settings.gradle. And got the plugin by adding
buildscript {
    dependencies {
        classpath 'com.cinnober.gradle:semver-git:2.3.0'
    }
}

apply plugin: 'com.cinnober.gradle.semver-git'

to build.gradle.


Allow abcmeta types for injection policy for container policies

Fix "not valid tuple"  when using container policies: https://github.com/microsoft/DeepSpeed/issues/2602
Users have been working around the issue by "tuple-ing" the policy in inference engine then "un-tuple-ing" in replace_module.py. Instead we can allow tuple and ABCMeta types for policies.

closing since issue has been resolved with https://github.com/microsoft/DeepSpeed/pull/2831


Potential People

We should find people we want to interview!
Initial ideas:

Scotty
Casey
Curtis Hadfield
The guy in charge of the submarine for National Geographic
Antarctic Outpost guy
Santa Claus
Frigate Bird Dudes
Drone Operator
Koboat
Ben Katzeman
Rocket man

For each, open up a new issue explaining why and whether you've contacted. On contact, close issue if not going further, so we don't copy that person (we can search old issues to make sure we don't double). Or, keep open until blog post opened.

Contacted
@jongold
@urigo
@izzydoesizzy
Alexey
@gdpelican
Scotty
Amna
Declined
Ricardo

Taking this offline and privatizing it. If anyone has anyone they want to see on this, feel free to open an issue.


Allow arbitrary attributes on  element

Currently gulp-svg-symbols can output two attributes on a sprite's root element:

xmlns="http://www.w3.org/2000/svg" is hardcoded
class="<%= svgClassname %>" if options.svgClassname is truthy

While keeping all this in place, it would be useful for users to pass other attributes, which can vary depending on specific needs:

varying xmlns declarations,
aria-hidden="true" and maybe style="/* let's hide this */" for embedded sprites,
other use cases I’m not thinking of

I suggest adding an svgAttributes option that will be passed to templates, and rendered like this:
<svg<%= renderAttributes({className: svgClassname}, svgAttributes) %>>

The renderAttributes function could be defined in the template itself (see the attrs function here for an example, though it would need to be extended to accept and merge several objects). Or it could be defined once and provided to all templates. That would bring the list of data provided to templates to:

icons (Array)
defs (string)
renderAttributes (Function)
svgClassname (user defined)
svgAttributes (user defined)

(If I’m not missing anything.)

Hi,
That seems a really good idea :)
I think the renderAttributes function should be handled by the plugin. For what I see the main purpose would be to merge default attributes with custom, and convert className to class

svgClassname should be deprecated: All attributes should be handled in renderAttributes (In order to prevent too many options)
renderAttributes should be an object or a function that return an object

This change could be handled without a major version.
Like I said for your PR, I don't have time right now, but I will try to improve this on January.
Thanks for this suggestion!


strongswan -  error during user VPN connection

ISSUE TYPE

Bug Report

COMPONENT NAME
IPsec VPN Client

CLOUDSTACK VERSION
<IP_ADDRESS>

CONFIGURATION

Official ACS <IP_ADDRESS> systemvm template
Official packages

OS / ENVIRONMENT

CentOS 7

SUMMARY
The mgmt servers has been upgraded from 4.9.3 to <IP_ADDRESS> following the steps at: http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.11/upgrade/upgrade-4.11.html. The user VPN has been configured in VPC inside a project.
Tested with:

Native MacOS VPN L2TP over IPSEC with pre-shared key.
Windows 10 VPN client.

STEPS TO REPRODUCE

EXPECTED RESULTS
Connection established between client and server.

ACTUAL RESULTS

* VR /var/log/daemon.log file.
Dec  1 02:38:07 systemvm charon: 08[IKE] received draft-ietf-ipsec-nat-t-ike-06 vendor ID
Dec  1 02:38:07 systemvm charon: 08[IKE] received draft-ietf-ipsec-nat-t-ike-05 vendor ID
Dec  1 02:38:07 systemvm charon: 08[IKE] received draft-ietf-ipsec-nat-t-ike-04 vendor ID
Dec  1 02:38:07 systemvm charon: 08[IKE] received draft-ietf-ipsec-nat-t-ike-03 vendor ID
Dec  1 02:38:07 systemvm charon: 08[IKE] received draft-ietf-ipsec-nat-t-ike-02 vendor ID
Dec  1 02:38:07 systemvm charon: 08[IKE] received draft-ietf-ipsec-nat-t-ike-02\n vendor ID
Dec  1 02:38:07 systemvm charon: 08[IKE] received FRAGMENTATION vendor ID
Dec  1 02:38:07 systemvm charon: 08[IKE] received DPD vendor ID
Dec  1 02:38:07 systemvm charon: 08[IKE] <IP_ADDRESS> is initiating a Main Mode IKE_SA
Dec  1 02:38:07 systemvm charon: 08[ENC] generating ID_PROT response 0 [ SA V V V V ]
Dec  1 02:38:07 systemvm charon: 08[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (160 bytes)
Dec  1 02:38:07 systemvm charon: 09[NET] received packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (380 bytes)
Dec  1 02:38:07 systemvm charon: 09[ENC] parsed ID_PROT request 0 [ KE No NAT-D NAT-D ]
Dec  1 02:38:07 systemvm charon: 09[IKE] remote host is behind NAT
Dec  1 02:38:07 systemvm charon: 09[ENC] generating ID_PROT response 0 [ KE No NAT-D NAT-D ]
Dec  1 02:38:07 systemvm charon: 09[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (396 bytes)
Dec  1 02:38:07 systemvm charon: 10[NET] received packet: from <IP_ADDRESS>[4500] to <IP_ADDRESS>[4500] (108 bytes)
Dec  1 02:38:07 systemvm charon: 10[ENC] invalid ID_V1 payload length, decryption failed?
Dec  1 02:38:07 systemvm charon: 10[ENC] could not decrypt payloads
Dec  1 02:38:07 systemvm charon: 10[IKE] message parsing failed
Dec  1 02:38:07 systemvm charon: 10[ENC] generating INFORMATIONAL_V1 request<PHONE_NUMBER> [ HASH N(PLD_MAL) ]
Dec  1 02:38:07 systemvm charon: 10[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (92 bytes)
Dec  1 02:38:07 systemvm charon: 10[IKE] ID_PROT request with message ID 0 processing failed

I couldn't reproduce this against latest master and on Ubuntu and Windows 10, will test again. In your tests, was an issue with pre-shared key @msinhore @DennisKonrad ?

@rohit I changed the strongswan package to 5.7.2-1 from debian testing in
systemvm template and  now it is working fine. I suggest upgrade the
strongswan package to this version.
https://packages.debian.org/search?keywords=strongswan
On Sat, Jun 29, 2019 at 7:19 AM Rohit Yadav<EMAIL_ADDRESS>wrote:

I couldn't reproduce this against latest master and on Ubuntu and Windows
10, will test again. In your tests, was an issue with pre-shared key
@msinhore https://github.com/msinhore @DennisKonrad
https://github.com/DennisKonrad ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/cloudstack/issues/3071?email_source=notifications&email_token=AAA2L5VWCJ4X4VO7CXGD3L3P44ZKTA5CNFSM4GHSZOL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY3WGAQ#issuecomment-506946306,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA2L5VVXHGS7Q2FESVZNSLP44ZKTANCNFSM4GHSZOLQ
.

--
Marco Sinhoreli

Thanks @msinhore the new 4.11.3 systemvmtemplate has the latest package. Closing on your remark.

@rhtyd can you confirm the strongswan version are you using in the new systemvm template? 4.11.2 is using a debian stable and it isn't working for both, s2s VPN and client. The 5.7.2-1 is ok from me.
dpkg -l strongswan

The template has https://packages.debian.org/stretch/strongswan

I guess you'll have to upgrade for your specific environment @msinhore


HTTP method changed after redirect

I am trying to use reqwest for WebDAV and facing an issue with redirects. I am using
reqwest = { version = "0.11", features = ["blocking", "json"] }

First I am making a PROPFIND call to Apache server with WebDAV enabled:
PROPFIND /webdav/foo/bar HTTP/1.1

Apparently Apache requires the URL to have the trailing slash to it replies with HTTP 301:
HTTP/1.1 301 Moved Permanently
Date: Tue, 14 Mar 2023 22:21:13 GMT
Server: Apache/2.4.54 (Raspbian)
Location: http://host:8080/webdav/foo/bar/

At this point reqwest does a GET call instead of PROPFIND:
GET /webdav/foo/bar/ HTTP/1.1
referer: http://host:8080/webdav/foo/bar

I believe redirect should not change the method and this is a bug.

I looked at redirect policy in hope that I could somehow use it to restore the original method but it does not look to be possible.

This behavior is based on this point in RFC 9110:

For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request. If this behavior is undesired, the 308 (Permanent Redirect) status code can be used instead.

So, I suppose the question I'm now wondering, is does that note suggest that only POST would be changed? Or that anything not GET?

So, I suppose the question I'm now wondering, is does that note suggest that only POST would be changed? Or that anything not GET?

To me it reads like it's only POST. MDN is also ambiguous on this (https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections#permanent_redirections):

GET methods unchanged. Others may or may not be changed to GET. [1]

In any case I have found a workaround (setting trailing slash the request URL prevents Apache from redirecting) so feel free to close this if you prefer.

I'm running into this issue myself - PROPFIND is being 301 redirected, but the request then becomes a GET which does something very different in a WebDAV / CalDAV context.
If there's no desire to change the existing behavior, perhaps the redirect::Attempt::follow method could be augmented to allow specification of the HTTP method used when following the redirect, which would make this a situation that clients could handle themselves.

On re-reading again, I'd be open to two changes (both even):

Patch reqwest to only redirect POST, as the RFC mentions, and it seems browsers and curl do this as well.
Provide a ClientBuilder option that disables changing the HTTP method on a redirect entirely.

For us, it would be great if it would be possible to set the redirect policy so that we don't redirect POST requests at all; Currently, reqwest::redirect::Attempt doesn't expose the method.

For reference, this is the JS fetch() behavior from specs (point 12 of https://fetch.spec.whatwg.org/#http-redirect-fetch):
If one of the following is true
    status is 301 or 302 and request’s method is `POST`
    status is 303 and request’s method is not `GET` or `HEAD`
then:
    Set request’s method to `GET` and request’s body to null.
    For each headerName of request-body-header name, delete headerName from request’s header list.


Bug: Fix AutoFill not working when core is full

Your autofill drops items like that:
auto-fill.js:38
if (stack.amount) {
    Call.transferInventory(player, core);
} else {
    Call.requestItem(player, core, request, 999);
}

But when core is full of for example copper, it can't return the copper in your drone's inventory to core.
// Actually Java code, but JS syntax looks better
if (stack.amount > 0) {
    Call.transferInventory(player, core);
    if (stack.amount > 0) { // Throw out items, that core doesn't accept
        Call.dropItem(0F);
    }
} else {
    Call.requestItem(player, core, request.get(), 999);
}

My java version drops items that don't fit to core

And with inventory full of copper, you can't fill turrets etc.


Uint8 format lead to macro error

version v4.2.2
utoipa = { version = "4.2", features = ["preserve_order", "non_strict_integers"] }
error: unexpected format: UInt8, expected one of: Int32, Int64, Float, Double, Byte, Binary, Date, DateTime, Password
--> sosmr/src/lifecycle/epoch_id.rs:42:23
|
42 |     #[schema(format = UInt8)]

@so-schen Ah, it seems that the parsing side of the format for non strict integers has never been implemented. I'll fix this.


show status as online or show last seen timestamp

Can YakYak report that I am online?  For users using anything other than the new hangouts app, I appear to be offline when I'm using YakYak, although I will still receive messages sent to me.

Similar to me, some of my contacts show an online status, even though i know they are offline.

Different bugs you guys are reporting :)
@veasnalkj yours is probably a duplicate of #167 that I'm attempting to correct in #596
@darrenmcentee i've noticed yours recently with some of my test contacts being online (which haven't been online for more than a week)

Thank you!  Yes, you’re correct.  Mine appears to be the same as #167.  Also, thanks for the response.  Just found YakYak about two weeks ago and I’m really enjoying using it.  Great product.
Lucas

On Feb 16, 2017, at 10:50, André Veríssimo<EMAIL_ADDRESS>wrote:
Different bugs you guys are reporting :)
@veasnalkj https://github.com/veasnalkj yours is probably a duplicate of #167 https://github.com/yakyak/yakyak/issues/167 that I'm attempting to correct in #596 https://github.com/yakyak/yakyak/pull/596
@darrenmcentee https://github.com/darrenmcentee i've noticed yours recently with some of my test contacts being online (which haven't been online for more than a week)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/yakyak/yakyak/issues/592#issuecomment-280405751, or mute the thread https://github.com/notifications/unsubscribe-auth/AYj8XdtXgiRpQ7VMjK2szfWOh8k6ZMLGks5rdIx0gaJpZM4L_vwS.

@darrenmcentee this should be fixed in latests v1.4.2 pre-release, please try it.
Closing this issue as @veasnalkj is a duplicate of #167


Steps to migrate from prisma binding

Here were the steps I followed to move to Prisma Client from Prisma Binding.
I know nothing about formatting the front matter for the docs, and my markdown is ability is 0.  I'm hoping I've provided the steps where someone that knows markdown can properly format it and make the appropriate front matter changes.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks a lot for opening this PR @LawJolla. We're currently updating the docs to make it easier to understand when to use Prisma client vs Prisma binding. We'll get back to this PR soon!

Thanks @schickling !  I see you guys went in a different direction with the API, so I was going to close this.  But I can take a second swing once the API stabilizes.

Hey @LawJolla, thanks so much for opening this PR and the thought you've put into it! After an internal discussion we've decided to not merge it. The main reason for that is that we see the client and bindings to be used in distinct scenarios (more info in this forum post) so that there shouldn't actually be a need to "migrate" from one approach to the other. We are working on more "official" resources (other than the linked forum post) that will make the usages of both approaches more clear!
Thanks again for taking the time to create this PR and thinking along, this is very much appreciated! 🙏


Adding support for Self Hosted GitLab and remove an unnecessary http request as we run scripts on the active tab for detection purposes already

Solves #15

Removes the fetch of the current tab and replaces this with script injection to fetch the required elements.
For GitLab  this is

a metatag to detect whether the website is GitLab (SaaS or Self-Hosted)
the description or the MR.

For GitHub this is the description of the PR.
Adds permissions for the chrome extension to run on all websites, as we do not have a list of self-hosted GitLab instances
Fixes error message that did not appear when ran on websites that were not compatible.

Looks good. I kind of wanted to keep the permissions as narrow as possible though. Maybe there's a better way of solving this? For the host_permissions I was thinking we could use this optional_host_permissions

Are like regular host_permissions, but are granted by the extension's user at runtime, rather than in advance.

https://developer.chrome.com/docs/extensions/mv3/declare_permissions/
(for a nicer UX we could pick a the host from the URL and ask for confirmation)
The scripting part, I guess there might not be a better way of doing this

The scripting part, I guess there might not be a better way of doing this

Probably there is a cleaner way to show the code, but that would make is less readable. I am not the best javascript programmer, so hopefully someone in the community can help us clean this code. 🤞


DB scan admin command retry db operations

Coverage increased (+0.03%) to 69.011% when pulling 55ae1f0ec9c9f693eeaffca797fc045227f4cd89 on andrewjdawson2016:dbRetryOnScan into e62d76efe4aa45aa188b87cb9b280c80c8bca395 on uber:master.


[Select] Menu item in Select Component floating top about 1 px

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Don't float , it should be smooth for good user experience
Expected behavior 🤔
When menu item rendering or clicking select component for selecting item , menu items are floating top about 1px
https://mui.com/components/selects/#basic-select
if it doesn't, you should try another select expected native select
Steps to reproduce 🕹
Steps:
1.Click any select
2.
3.
4.
Context 🔦
No response
Your environment 🌎

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Hey @atillaaliyev, thanks for opening this issue! Could you be more specific about what's the issue you're seeing there? Is it the fact that there's no spacing between the Menu Item and the Select, as highlighted by the green line in this screenshot?

https://user-images.githubusercontent.com/6121871/148705465-258e97d4-e6a5-4196-b41e-aab0c19b7561.mp4
https://user-images.githubusercontent.com/6121871/148705643-27b9eff9-1d41-4ff1-85bb-eec50f282a0a.mp4
Hi @danilo-leal ,
You should focus to menu items, you will see rendering problem.

Yes, it is.

By accessing the documentation on my machine, I'm not being able to reproduce. But, accessing the Codesandbox for the first Select demo (https://codesandbox.io/s/m60rm?file=/demo.js) I can see the flickering indeed. @mui-org/core any ideas?

I cannot reproduce it on my machine (documentation and codesandbox). Are you sure that you are on 100% view because if I zoom out a little bit I can see the flicker?

@siriwatknp is correct. The flicker is happening if you are not on 100% view.

@siriwatknp you are right, Actually, my view is 100% on browser, but windows display setting is %125, I suppose it is. Is it bug, I'm not sure. If you think it's not bug, you can close this issue. Thank you.

Hi guys,
Sorry to revive the thread, but how is this not a bug? 😁
It just got reported by our QA team at the company I work at, with Windows OS display settings set to 125% scale, on 1920x1080 resolution screen.
Any chance to reconsider some possible fix?

@stoberov Please provide a reproduction (exact browser version, Material UI version, etc.). It might be browser-related.

@oliviertassinari - sorry for late reply. It's tricky providing an exact reproduction via our QA setup, as I myself cannot reproduce it.
However, I am able to reproduce 2 very similar, hopefully related, scenarios. Providing details below.
Browser = Microsoft Edge, Version 119.0.2151.97 (Official build) (64-bit)
OS = Ubuntu 22.04.3 LTS
Display = for what it's worth, at the time of writing my monitor is set to 3840x2160 resolution and 175% scale
Scenario 1:

I'm using the Sandbox from an earlier comment above - https://codesandbox.io/p/sandbox/basicselect-material-demo-m60rm?file=%2Fdemo.js%3A28%2C49 - all library versions are specified in the package.json
You have to look really carefully - upon opening the dropdown, the highlighted item moves ~1px
Browser zoom is set to 90% (!). I'm only reproducing at this zoom level. There is no issue with other zooms.

Scenario 2:

I'm using our local environment at work (cannot share a link due to security), but I've made a video posted below
MUI version = @mui/material = 5.13.5
You have to look really carefully - upon opening the dropdown, only items 4444 and 9999 move ~1px downwards
Browser zoom is set to 110% (!). I'm only reproducing at this zoom level. There is no issue with other zooms.


Callback replace gorm:query data return

Hi,
I've wrote a callback that replace the gorm:query for bigCache integration but now i have a problem.
If my data are different to sql.Rows how i can return it without using gorm.Scan()?

No one can answer, is there any documentation?


Undocumented feature for ECHO (colon)

I have been using a colon with echo in batch files, so that empty variables don't result in giving me the echo status (ON or OFF):
Consider:
@echo off
set A=TEST
set B=
echo %A%
echo ====
echo:%A%
echo ====
echo %B%
echo ====
echo:%B%
echo ====

Running this from a test.bat file will give the following results:
D:\tmp>test
TEST
====
TEST
====
ECHO is off.
====

====

The empty variable %B% without the colon gives me the status (off).
The empty variable %B% with the colon gives me a blank line (which is what I want).
The defined variable %A% gives me the desired result either way.

You can use the dot '.' as well.
It is documented that
echo.

gives a blank line, which explains the empty variable scenario, but doesn't explain that the dot "disappears" with the defined variable.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b73a4605-c4b3-46a8-ec4e-493751fff82b
Version Independent ID: 2bcfea05-35c7-49cb-0570-a0d5a4957ca1
Content: echo
Content Source: WindowsServerDocs/administration/windows-commands/echo.md
Product: windows-server
Technology: manage-windows-commands
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

Thank you for this interesting detail. I have been using the echo command in batch files a lot, ever since 1990, but I was not aware of the special case of empty variables displaying the echo status instead of a blank line. One of my most interesting feedback experiences comes from sharing my knowledge of the usage of the echo command is the use of the dot, backslash or colon as the special case when requiring a blank line to be displayed along with the other text output from the batch file.
I agree that it could be nice to have that special case documented for future use, so if you have suggestions for where to put that extra information and how to phrase it, I would happily start a Pull Request to have that information added. I presume that the current codestyle of the page needs to be followed, but some suggestions for the phrasing would be most useful.

Hey dseynhae,
Thanks again for contacting Microsoft. We value your feedback.
A documentation change has been made adding the colon (:) and its function for batch files into the remarks section and will be live after the next business day. We will now be closing this thread.
Thank you and have a most pleasant day.
#please-close


New name for this role?

While I was testing my change for https://github.com/ansible-community/ansible-vault/pull/174, I also noticed Ansible Galaxy still only has Brian's old role: https://galaxy.ansible.com/brianshumate/vault
Should we create a new one for the community repo now?

I'm trying to connect to Chris Houseknecht to help resolve this problem.

Thanks @bbaassssiiee. I also wonder if we want to rename this role to 'hashi-vault' instead of 'ansible-vault'.
This is because ansible-vault could also mean the command that people use for encrypting content in ansible: https://docs.ansible.com/ansible/latest/user_guide/vault.html

I updated the meta-data instead, should be clear now.

I updated the meta-data instead, should be clear now.


[SUPPORT]SparkSQL can not read the latest data(snapshot mode) after write by flink

SparkSQL can not read the latest data(snapshot mode) after write by flink.
To Reproduce
Steps to reproduce the behavior:

run a spark session first(e.g:spark-sql, spark-shell,thrift-server )
insert the data to hudi by flink stream api using hive sync
upsert the data to hudi by flink stream api using hive sync
using spark sql to query，it can not query the latest data in step3
using spark sql to execute refresh table xxx
using spark sql to query again, it can query the latest data in step3

Expected behavior
A clear and concise description of what you expected to happen.
Environment Description

Hudi version : 0.12.1

Spark version : 3.1.3

Hive version : 3.1.0

Hadoop version : 3.1.1

Storage (HDFS/S3/GCS..) : HDFS

Running on Docker? (yes/no) : no

@JoshuaZhuCN can you please help me understand if before the write from Flink you do a Spark SQL query?

As @danny0405 suggested, can you @JoshuaZhuCN try out switching off Spark's relations cache by setting spark.sql.filesourceTableRelationCacheSize=0

There is a related issue with Kafka source -  https://github.com/apache/hudi/issues/7452.
Either restarting the spark shell OR setting "spark.sql.filesourceTableRelationCacheSize=0" (as @alexeykudinkin suggested)
will force spark shell not to cache the relation and always return the latest data.

Closing it due to inactivity and not being a code issue. The workaround is mentioned above.


Account creation callback handling

Implementing the new version of the account creation library.
Also noticed that multichain requests were failing when no chain ids were specified so took a crack at fixing that.

Cherry picked these commits in, as opposed to merging since the base was all screwed up.


Create a new repo templates

Create a template or guidances on what should contains a new repo under the MeiliSearch organisation. It include the files like CODE_OF_CONDUCT.md, CONTRIBUTIONS.md... and the contain of certain files like INDEX.md header, type of license...

Good example https://github.com/othneildrew/Best-README-Template/blob/master/README.md

See https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/creating-a-template-repository

Once the CoC is ready, it should be added to the template #186

Waiting for confirmation to remove the integrations-contributing file

Work on CoC needs to resume #276
But @CaroFG I don't really get what you're talking about here. Could you elaborate? Thanks


Can't use source repositories with Gradle 6.0

I'm trying to use this with Gradle 6:
sourceControl {
    gitRepository(uri("https://github.com/MasonAmerica/mason-apps-build-system.git")) {
        producesModule("com.bymason.build:mason-apps")
        plugins { id("mason-apps") }
    }
}

It used to work, but now the plugins { id("mason-apps") } block keeps failing and says that it can't find the plugin. Nothing else has changed, so this seems like a bug in Gradle 6.

Do you have a fuller example? That looks like https://github.com/MasonAmerica/mason-apps-build-system.git is producing the plugin mason-apps and you're applying it to itself?

No, I'm trying to apply it in a private repo that I can't share. That repo works fine until I upgrade it to Gradle 6. After that, it says that it can't find the mason-apps plugin which is clearly there, especially given that I didn't change the target tag (consuming it with com.bymason.build:mason-apps:1.0.1).

What isn't clear to me is that https://github.com/MasonAmerica/mason-apps-build-system.git appears to be the build that creates the plugin mason-apps.  This plugin can only be applied to a Project object.
And in your example above, you're applying the plugin mason-apps to the source dependency (mason-apps-build-system).  This can't work since mason-apps can't be applied to a Settings object.

Your first statement is correct. mason-apps-build-system produces the plugin that should be consumed from the private project I tried upgrading to Gradle 6.0.
Your second statement is wrong. I'm wondering if the new plugins block in settings.gradle.kts is breaking things. The plugins block I'm using is VersionControlRepository#plugins. It's supposed to tell gradle that the source repo produces a plugin.

The plugins block I'm using is VersionControlRepository#plugins. It's supposed to tell gradle that the source repo produces a plugin.

Not quite.  This plugins is a list of plugins to inject into the source dependency.
Could you share how you're applying the mason-apps plugin to the build itself?

 No idea how that ever worked in the first place. Anyway, thanks for your help, removing that extra plugins block fixes everything.

No worries.  I didn't know we had inadvertently fixed a bug :)


Awesomeplete not highlighting matches

Also the search matching seems a little off.

Might be a newer release of awesomeplete by now...

Absolutely, might as well upgrade to latest version as part of this fix.
Could also be the css isn't being loaded.


main: shutdown gracefully.

Fixes issue #2277. Shuts down the server via Stop() and lets the main goroutine return in both modes.

@fabxc lgtm.
it would be better if you can move the interrupt handle helper into /pkg/osutil and add a test for it.
/cc @crawford @yichengq

If we move things to pkg/osutil this sort of encourages usage from other places but etcdmain. Multiple concurrent shutdown handlers seems like asking for trouble (not all of them finishing etc.)
Would a osutil.RegisterInterruptHandler(h) function and a final call to go osutil.HandleInterrupts(), that executes the handler funcs in order they were registered, be safer?

If we move things to pkg/osutil, this sort of encourages usage from other places but etcdmain. Multiple concurrent shutdown handlers seems like asking for trouble (not all of them finishing etc.)

Not exactly, I would like to see a separate pkg with test coverage.

Sorry, could you clarify. Do you think there won't be an issue of multiple handlers?
If so, @crawford mentioned killing ourselves with the same signal, so we need some sort of synchronization for that at least, so that main doesn't exit before we can do so.

Sorry, could you clarify. Do you think there won't be an issue of multiple handlers?

I do not quite understand this question. It seems this has nothing to do with testing the handler you write and put it into a util pkg.

It seems like a relevant consideration to me.
Also the handler as it is does not do what @crawford pointed out - so just adding a test won't suffice. The required changes bring up the same issue of which goroutine exits first.
See the new commit, it's slightly more code but makes things work.

@fabxc Please fix the print issue, then LGTM. I point out some of my concerns, but we probably do not need to care about them right now.

Done. Thanks for the feedback.

@fabxc LGTM. Thanks for the effort.


refactor: use build endpoint from apiland

Note: This PR uses this change https://github.com/denoland/apiland/pull/79


Training duration of pre-training model

Hello, I would like to ask how long it took to train the three pre-training models provided by Graphcast, and how much memory they occupy? Is there any specific data? Thanks!

Thanks for your question.
Training the main 0.25 deg ERA5 GraphCast those models took about four weeks on 32 TPU v4 devices (each TPU with 32GB of RAM). About two weeks for the initial 1 step phase, and another two weeks for the 2-12 steps annealing.
However, for ease of training (see more details here) I would recommend to use GPUs/TPUs with more memory than 32GB.
The operational one took about the same, except that it has an additional phase of 1AR fine-tuning in between those two phases, which takes an extra day.
The 1 deg model takes about 1.5 days to train in total.


NSFS | NC | Passing Flag --User With No Value Would Create an Account with true User

Environment info

NooBaa Version: master
Platform: NC

Actual behavior

Passing the flag --user with no value would create an account with a true user.

Expected behavior

Should not save distinguished_name as true.
We can: (1) throw an error or (2) ignore the value

Steps to reproduce

Create an account with the flag --user with no value, example:
sudo node src/cmd/manage_nsfs account add --name shira-6666 --email<EMAIL_ADDRESS>--new_buckets_path /tmp/nsfs_root1 --user

More information - Screenshots / Logs / Other output
CLI output (notice  "distinguished_name": "true"):
{
  "response": {
    "code": "AccountCreated",
    "reply": {
      "name": "shira-6666",
      "email"<EMAIL_ADDRESS>      "creation_date": "2024-01-23T07:57:20.252Z",
      "access_keys": [
        {
          "access_key": <access_key>,
          "secret_key": <secret_key>
        }
      ],
      "nsfs_account_config": {
        "distinguished_name": "true",
        "new_buckets_path": "/tmp/nsfs_root1"
      },
      "allow_bucket_creation": true,
      "_id": "65af71606e43fc5d0f15d0f6"
    }
  }
}

working as expected so we can update the defect. Validated in the downstream build

closing per the last comment


Ukrainian language support

Support for the Ukrainian language is very important. We really need an assistant in our language.  This will be the first assistant in Ukrainian history
I am ready to be a volunteer in this project in my free time from the war :)

I've started doing it, work is in progress. You can review already added sentences and suggest changes if needed.

Sign me in. I would gladly contribute to Ukrainian corpus.

@skynetua would you like to be the Ukrainian language leader?


Debugging scripts in PLC

As a script author, I want to be able to debug my programs so I can find out why they fail.
AC:
Can use some tool to step through a script execution
Can interpret the state at any point during debugging
Can map locations in debugging to original source
Can identify reasons for failure

[ ] https://github.com/IntersectMBO/plutus/issues/6115
[ ] https://github.com/IntersectMBO/plutus/issues/6116

We now have a debugger. #6116 isn't closed, but there isn't much point in keeping an Epic around when it just refers to a single open issue, so I'm closing this one.


build: enable building in Debug mode on Windows

Windows does not have an ABI stable C/C++ runtime, and is ABI incompatible between debug and release mode on the same version even. Ensure that we always use the release mode DLL variant of the C/C++ runtime (/MD) allowing us to build the client code in debug or release mode.

@swift-ci please test


fix: fix local postgres provisioning

Description
Fixed an issue where Docker Compose couldn't provision database properly by setting both user and database names to postgres
Does this introduce a breaking change?

[ ] Yes
[x] No

Other information
See https://github.com/docker-library/docs/blob/master/postgres/README.md#initialization-scripts

Hey @baumstern
Since the compose file is configured to mount data into the container and we are not using initialization scripts, i' m not sure that i can see the added value. My main concern is that we might ingest or manipulate the environmental variables somewhere else in the codebase and break existing functionality; f.x.: https://github.com/privacy-scaling-explorations/bandada/pull/382/files#diff-36363827b99883b7372891c3a79f3febf1773eafa34dba233e1048c77d4b9d80R29
In the end, let' s wait for the main contributors to express their opinion :)

Hey @baumstern Since the compose file is configured to mount data into the container and we are not using initialization scripts, i' m not sure that i can see the added value. My main concern is that we might ingest or manipulate the environmental variables somewhere else in the codebase and break existing functionality; f.x.: https://github.com/privacy-scaling-explorations/bandada/pull/382/files#diff-36363827b99883b7372891c3a79f3febf1773eafa34dba233e1048c77d4b9d80R29
In the end, let' s wait for the main contributors to express their opinion :)

Hi Nick, local Postgres container initializes with seed.sql by mounting a volume, as specified here: https://github.com/privacy-scaling-explorations/bandada/blob/main/docker-compose.yml#L60

Hey @baumstern Since the compose file is configured to mount data into the container and we are not using initialization scripts, i' m not sure that i can see the added value. My main concern is that we might ingest or manipulate the environmental variables somewhere else in the codebase and break existing functionality; f.x.: https://github.com/privacy-scaling-explorations/bandada/pull/382/files#diff-36363827b99883b7372891c3a79f3febf1773eafa34dba233e1048c77d4b9d80R29
In the end, let' s wait for the main contributors to express their opinion :)

Hi Nick, local Postgres container initializes with seed.sql by mounting a volume, as specified here: https://github.com/privacy-scaling-explorations/bandada/blob/main/docker-compose.yml#L60

Correct! Perhaps I didn' t express myself clearly in my previous message, so let me re-phrase it:
Of course the sql dump is file is being executed during the container' s initialization, restoring the data in pgsql.
A new volume is also created to be used as persistence storage; even if we remove the postgres image and re-build it, the sql file will not be executed because the postgres database directory already contains a database, and therefore the initialization is skipped.
To be completely honest, i cannot see how the custom environmental variables affect the db initialization.
Did you try to build & start the containers, and there was an error with postgres/bandada?

Hey @0xjei ,
TBH i' m not sure about the scope of this PR; as custom environmental variables do not affect the db initialization the way they have been set, and it has been used like this quite a while without any problem, my proposal would be to decline this PR. Additionally, replacing the POSTGRES_DB variable, will lead to db initialization against the postgres database, instead of the commonly used bandada.
@baumstern If you have any concerns or if during your testing the db initialization didn' t work or if you believe there is something i overlooked, please feel free to ping me to schedule a session in order to discuss it.

Hey @0xjei , TBH i' m not sure about the scope of this PR; as custom environmental variables do not affect the db initialization the way they have been set, and it has been used like this quite a while without any problem, my proposal would be to decline this PR. Additionally, replacing the POSTGRES_DB variable, will lead to db initialization against the postgres database, instead of the commonly used bandada.
@baumstern If you have any concerns or if during your testing the db initialization didn' t work or if you believe there is something i overlooked, please feel free to ping me to schedule a session in order to discuss it.

Oh, while trying to reproduce the db provisioning issue I was experiencing, I realized my mistake. I had been under the misconception that it was "bandana" instead of "bandada," which led me to mistakenly believe there was a problem on the database side. This happened because I entered all the bandada-api's database-related environment variables as "bandana." My bad...
@ntampakas Thank you for taking the time to review the PR. I missed your previous comment, so my response was delayed, sorry about that

Closing this PR as the issue stemmed from my misunderstanding—confusing "bandana" for "bandada"


Missing LICENSE file?

I am wondering what the license of the software in this library is (hopefully open-source). The default GitHub policy is (non open-source):

without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work.

https://help.github.com/articles/licensing-a-repository/

Added it!. Yes it is open source :)


When using postgres, don't use prepare statement, instance of compose sql manually

When using gorm with pgbouncer transaction mode, we face a problem.
Pgbouncer transaction mode doesn't support prepare statement, and gorm always use it.
So in this pr, I compose postgres sql instead of using prepare statement.
Therefore gorm can work fine with pgbouncer transaction mode.
In the meanwhile, I change "?" replacing logic.
Because of if the previous variable contain with "?", the next variable may be replaced in wrong position.

Hi @wmin0
Thank you for your PR, I think the ? replacing logic is kind of duplicated with PR https://github.com/jinzhu/gorm/pull/1655, which has been merged.
But I am not clear about the prepare statement issue, would you mind create another PR that only describe this issue or just ping me on gitter?
Thank you.


add Codegrid to YouTube channels

https://www.youtube.com/c/Codegrid/featured
Description from the Codegrid channel.
Since 2016, I have been living and breathing design. As of now, out here coding modern user interfaces and helping to make this world a little better through design & code.
P.S Hey Marko, my Prettier is acting weird, any tips how to fix this table situation?

Hey. It looks like your editor made some linting, so I have a ton of conflicts. Can you please, adjust it?
Thanks.

Or, even better open a new PR. It'll be easier for everyone.
Thanks!


feat(op): Add response_mode: form_post

As mentioned in this issue(https://github.com/zitadel/oidc/issues/515), the implementation of form_post is being requested. Additionally, as mentioned in this issue(#550) as well, there are issues with the current implementation of response_mode.
It is crucial to establish a secure method of returning Authorization Response in the implicit flow.
According to the OAuth 2.0 Form Post Response Mode specification, it is considered safe to return Authorization Response parameters using the form_post Response Mode even if the parameter's default response mode is set to the query or the fragment.

Security Considerations
As described in OAuth 2.0 Multiple Response Type Encoding Practices [OAuth.Responses], there are security implications to encoding response values in the query string and in the fragment value. Some of these concerns can be addressed by using the Form Post Response Mode. In particular, it is safe to return Authorization Response parameters whose default Response Modes are the query encoding or the fragment encoding using the form_post Response Mode.

Therefore I have implemented response_mode=form_post as it is considered beneficial.
Any feedback on this implementation would be greatly appreciated.
Definition of Ready

[x] I am happy with the code
[x] Short description of the feature/issue is added in the pr description
[ ] PR is linked to the corresponding user story
[ ] Acceptance criteria are met
[ ] All open todos and follow ups are defined in a new ticket and justified
[ ] Deviations from the acceptance criteria and design are agreed with the PO and documented.
[x] No debug or dead code
[x] My code has no repetitions
[ ] Critical parts are tested automatically
[ ] Where possible E2E tests are implemented
[ ] Documentation/examples are up-to-date
[ ] All non-functional requirements are met
[ ] Functionality of the acceptance criteria is checked manually on the dev system.

The approach looks good to me. I see the PR is in draft, is there still work to do?
At a first glance I would comment:

Parse the template ahead of time in a global variable using template.Must. No need to waste resources on every request.
Render the template in a buffer, so that the error can be handled correctly. As the code is now, Execute can return an error after partial output (and so a 200) is already written.

Once you mark the PR ready for review I will do a final review.
Cheers!

@muhlemmer
Thank you for the initial review!
I made this PR is ready. And I've addressed the feedback, so please take a look.

I get a bunch of compile errors when I build your branch:
# github.com/zitadel/oidc/v3/pkg/op_test [github.com/zitadel/oidc/v3/pkg/op.test]
pkg/op/auth_request_test.go:12:2: "time" imported and not used
pkg/op/auth_request_test.go:1122:6: unknown field ResponseMode in struct literal of type storage.AuthRequest

Another comment, I just reread the OAuth 2.0 Form Post Response Mode, section 2.  Form Post Response Mode and there is also the following requirement:

Because the Authorization Response is intended to be used only once, the Authorization Server MUST instruct the User Agent (and any intermediaries) not to store or reuse the content of the response.

So a Cache-Control: no-store header must be sent along with the response.

@muhlemmer
Thank you for your review!
I've addressed your feedback. Could you please review it once?
Also, regarding the tests, I've added RESPONSE_MODE to the example app for testing, and I've also tested it with the following URLs:
In both cases, the client's implementation is still pending, so I'm checking the request contents in the console.
http://localhost:9998/auth?client_id=web&prompt=Welcome back!&redirect_uri=http://localhost:9999/auth/callback&response_type=id_token&response_mode=form_post&scope=openid&state=751c4627-0a02-47e3-8630-bde7611964ad
http://localhost:9998/auth?client_id=web&prompt=Welcome back!&redirect_uri=http://localhost:9999/auth/callback&response_type=id_token+token&response_mode=form_post&scope=openid&state=751c4627-0a02-47e3-8630-bde7611964ad

The client implementation is quite simple. But you disabled push access to your PR. I've send a PR against this branch. Once merged, the examples work fine with RESPONSE_MODE="form_post" set for the app.

@muhlemmer Thanks a bunch! I've merged your PR.


Relative paths

This includes and resolves changes for #48 and #49.
@johaywood I looked over the tests we have here and they're covering the URI's, but mostly paths and params.  Anything we add here is likely overkill but I'm open to suggestions.

@allcentury looks good to me. I think the tests we have around this are OK already. My only suggestion would be to merge this and #50 into a branch with only a single minor version bump. I don't see really value in cutting 2 releases, especially since this one isn't a fix, per se, just an improvement.

We'd only want to do separate versions if we introduced a bug and didn't want to couple these two fixes in a rollback.  I merged them together in this branch and pushed the version 0.6.1.


Multiple Header Rows support?

Hi @AllenFang I'm a big fan of your react-bootstrap-table(s). My current project is using your original react-bootstrap-table, but i'm trying to migrate to your react-bootstrap-table-next because my customer wants that autoSelectText option. But my current table has 2 header rows, the first spanning multiple columns. And it looks like the new table structure doesn't handle that since datafield is required, and the column definition is missing the row & colspan attributes. Is there any plans to migrate this functionality or do you know of a way to insert an extra header?

Thank you!

@bookworm2death firstly, say thanks to you.
Currently, I dont have plan to support the header colspan or rowspan. However, I will try to implement it ASAP.  Sorry I can not tell you when I can support it. It's depends on my time.  thanks!

Hi @bookworm2death, were you ever able to get this to work? I see they have an example on the React Bootstrap Table home page, but I must be missing how to do this in the docs.

@bookworm2death any luck with this?

@arhimmel It looks like they removed that feature in the current versions. I ended up going with a different solution.

any news about multi header?

Can we revisit this? I was excited when I saw the image on the homepage, but disappointed that it is not a feature.

Hi @AllenFang, Were you able to put this feature on the roadmap? The example image on the homepage looks promising, but I cannot find an implemented example of the multiple header rows.

Any update?

Any update?

Ended using http://allenfang.github.io/react-bootstrap-table/example.html , that supports header groups

Hi team
Any update on this?

I also would like to know 👍

Any update?

Any update?

Any news on this? This seems like a really important function and I'm surprised it's not included yet.

hi, any update?

At least give us a way of hooking into the header so we can implement ourselves. There's no work around to this and something completely normal for HTML tables. It's been 3 years.

Any update on this ? @AllenFang

Last release was 2018. Not a single one of the 38+ contributors has commented in years.

I know a doomed requested feature when I see one, but bump anyway.

can we combine bootstrap tags and react bootstrap table next component?

I tried combined headers by using headerformater and columnformater
headerFormatter: (column) => (
<>

Heading

Sub heading one
Sub heading two

                        </>
                ),
                formatter: (cell, row, rowIndex, extraData) => (
                     <Row gutter={24}>
                        <Col span={12}>{cell} </Col>
                        <Col span={12}>{row.Subheadingtwo}</Col>
                        </Row>
                 )

I finally got a chance to take another look at grouped headings. @Atchaya-Kodeeswaran  your approach can of course work  but we lose column sort, and all sortValue/filterValue/etc... all need to implement all grouped values into the combo grouped column. The format and filter definition functions can be implemented all at one, but sorting is gone. Your work around is fine for unsorted columns. Thanks for the contribution.

Also, like every Node project this one has a million build dependencies and specialized tweaks. I tried patching it, but simply building is a challenge in itself.

OK, I used patch-package to create a patch for header.js and bootstrap-table.js. I added a columnGroups table prop that takes an optional object ( { <column idx #>: { title: <''>, colspan: <#>, className: <> } ) and if set, I have some logic that creates a TD/TH row before the normal header row.
The styling and the real header row work out, sorting and filtering work. However I'll need to do a bit more work to deal with column widths which, though it can be set in headerStyle, only the top/highest TD width will dictate the column width. For nested heading to work you need a matching TD above the existing TDs, even if they're not colspanned with a title.
Here's my patch file:
diff --git a/node_modules/react-bootstrap-table-next/dist/react-bootstrap-table-next.js b/node_modules/react-bootstrap-table-next/dist/react-bootstrap-table-next.js
index 2b73668..b3a06b8 100644
--- a/node_modules/react-bootstrap-table-next/dist/react-bootstrap-table-next.js
+++ b/node_modules/react-bootstrap-table-next/dist/react-bootstrap-table-next.js
@@ -3144,6 +3144,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
 var Header = function Header(props) {
   var className = props.className,
       columns = props.columns,
+      columnGroups = props.columnGroups,
       onSort = props.onSort,
       onFilter = props.onFilter,
       sortField = props.sortField,
@@ -3213,9 +3214,46 @@ var Header = function Header(props) {
     }
   }

+  // { idx #: { title: <>, colspan: <#>, className: <> }
+  let headGroups = undefined
+  if (columnGroups) {
+    let colCount = 0
+    for (let i = 0; i < columns.length; i++) {
+      const columnGroup = columnGroups[i]
+      if (columnGroup) {
+        headGroups.push(
+          _react2.default.createElement(
+            'td',
+            { className: c.className },
+            { colspan: c.colspan },
+            c.title
+          )
+        )
+        colCount = c.colspan
+      } else {
+        // either this is a column to add a placeholder for, or a spaned column
+        if (colCount === 0) {
+          _react2.default.createElement(
+            'td',
+            { className: c.className }
+          )
+        }
+      }
+      if(colCount > 0) colCount -= 1
+    }
+  }
+
+  if (headGroups) {
+    headGroups = _react2.default.createElement(
+      'tr',
+      headGroups
+    )
+  }
+
   return _react2.default.createElement(
     'thead',
     { className: wrapperClasses },
+    headGroups,
     _react2.default.createElement(
       'tr',
       { className: className },
@@ -3225,6 +3263,7 @@ var Header = function Header(props) {
 };

 Header.propTypes = {
+  columnGroups: _propTypes2.default.object,
   columns: _propTypes2.default.array.isRequired,
   onSort: _propTypes2.default.func,
   onFilter: _propTypes2.default.func,
diff --git a/node_modules/react-bootstrap-table-next/lib/src/bootstrap-table.js b/node_modules/react-bootstrap-table-next/lib/src/bootstrap-table.js
index 4bb7a5e..468b90e 100644
--- a/node_modules/react-bootstrap-table-next/lib/src/bootstrap-table.js
+++ b/node_modules/react-bootstrap-table-next/lib/src/bootstrap-table.js
@@ -111,6 +111,7 @@ var BootstrapTable = function (_PropsBaseResolver) {
     value: function renderTable() {
       var _props2 = this.props,
           columns = _props2.columns,
+          columnGroups = _props2.columnGroups,
           keyField = _props2.keyField,
           tabIndexCell = _props2.tabIndexCell,
           id = _props2.id,
@@ -163,6 +164,7 @@ var BootstrapTable = function (_PropsBaseResolver) {
           tableCaption,
           _react2.default.createElement(_header2.default, {
             columns: columns,
+            columnGroups: this.props.columnGroups,
             className: this.props.headerClasses,
             wrapperClasses: this.props.headerWrapperClasses,
             sortField: this.props.sortField,
@@ -222,6 +224,7 @@ BootstrapTable.propTypes = {
   keyField: _propTypes2.default.string.isRequired,
   data: _propTypes2.default.array.isRequired,
   columns: _propTypes2.default.array.isRequired,
+  columnGroups: _propTypes2.default.object,
   bootstrap4: _propTypes2.default.bool,
   remote: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.shape({
     pagination: _propTypes2.default.bool
diff --git a/node_modules/react-bootstrap-table-next/lib/src/header.js b/node_modules/react-bootstrap-table-next/lib/src/header.js
index 968a435..752ae79 100644
--- a/node_modules/react-bootstrap-table-next/lib/src/header.js
+++ b/node_modules/react-bootstrap-table-next/lib/src/header.js
@@ -42,6 +42,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
 var Header = function Header(props) {
   var className = props.className,
       columns = props.columns,
+      columnGroups = props.columnGroups,
       onSort = props.onSort,
       onFilter = props.onFilter,
       sortField = props.sortField,
@@ -111,18 +112,56 @@ var Header = function Header(props) {
     }
   }

-  return _react2.default.createElement(
-    'thead',
-    { className: wrapperClasses },
-    _react2.default.createElement(
-      'tr',
-      { className: className },
-      childrens
-    )
-  );
+    // { idx #: { title: <>, colspan: <#>, className: <> }
+    let headGroups = []
+    if (columnGroups) {
+      let colCount = 0
+      for (let i = 0; i < columns.length; i++) {
+        const columnGroup = columnGroups[i]
+        if (columnGroup) {
+          headGroups.push(
+            _react2.default.createElement(
+              'th',
+              { className: columnGroup.className, colSpan: columnGroup.colspan },
+              columnGroup.title
+            )
+          )
+          colCount = columnGroup.colspan > 1 ? (columnGroup.colspan - 1) : columnGroup.colspan
+        } else {
+          // either this is a column to add a placeholder for, or a spaned column
+          if (colCount === 0) {
+            headGroups.push(_react2.default.createElement(
+              'th'
+            ))
+          }
+        }
+        if(colCount > 0) colCount -= 1
+      }
+    }
+
+    let groupHeader = undefined
+    if (headGroups.length > 0) {
+      groupHeader = _react2.default.createElement(
+        'tr',
+        { className: className },
+        headGroups
+      )
+    }
+
+    return _react2.default.createElement(
+      'thead',
+      { className: wrapperClasses },
+      groupHeader,
+      _react2.default.createElement(
+        'tr',
+        { className: className },
+        childrens
+      )
+    );
 };

 Header.propTypes = {
+  columnGroups: _propTypes2.default.object,
   columns: _propTypes2.default.array.isRequired,
   onSort: _propTypes2.default.func,
   onFilter: _propTypes2.default.func,

Note that I account for the existence of the selectRow prop (the checkbox first column) and bump the index of which columns to colspan over by 1 in a component that includes BootstrapTable.

You can create multi header by adding multiple  tags inside table header and using colSpan property.

           Personal	           Other

           #	           First Name	           Last Name	           Username

           1	           Mark	           Otto	           @mdo

           2	           Jacob	           Thornton	           @fat

And the result is:

You can create multi header by adding multiple tags inside table header and using colSpan property.
And the result is:

Hi, Could you please provide the code how you're achieving this. Also, Filter and sorting are working or not after the implementations!

Code:
function BasicExample() {   return (

            Personal	            Other

            #	            First Name	            Last Name	            Username

            1	            Mark	            Otto	            @mdo

            2	            Jacob	            Thornton	            @fat

   ); }
Haven't tried filtering and sorting, I don't see why it wouldn't work, also question was just about headers.

You'll loose sorting. See my comment above and the other person that suggested something similar. Also your example doesn't appear to be related to this React component, it's just a table. In this component you can format the header and define columns, separately. Sorting doesn't automatically get attached to your own custom heading format. It's an integrated feature.
This should be a feature of this aging, but extremely useful component.


make.sh error......

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA -I/usr/local/lib/python3.5/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python3.5/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python3.5/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/include/python3.5m -c _roi_pooling.c -o ./_roi_pooling.o
In file included from /usr/local/lib/python3.5/dist-packages/torch/utils/ffi/../../lib/include/THC/THC.h:4:0,
from _roi_pooling.c:483:
/usr/local/lib/python3.5/dist-packages/torch/utils/ffi/../../lib/include/THC/THCGeneral.h:9:18: fatal error: cuda.h: No such file or directory
compilation terminated.
Traceback (most recent call last):
File "/usr/lib/python3.5/distutils/unixccompiler.py", line 118, in _compile
extra_postargs)
File "/usr/lib/python3.5/distutils/ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/usr/lib/python3.5/distutils/spawn.py", line 36, in spawn
_spawn_posix(cmd, search_path, dry_run=dry_run)
File "/usr/lib/python3.5/distutils/spawn.py", line 159, in _spawn_posix
% (cmd, exit_status))
distutils.errors.DistutilsExecError: command 'x86_64-linux-gnu-gcc' failed with exit status 1

fatal error: cuda.h: No such file or directory
Is your cuda installed correctly?

if you installed cuda,then remember set :
export LD_LIBRARY_PATH=/usr/local/cuda/lib
export PATH=$PATH:/usr/local/cuda/bin


Slaac address lost after restart "thread"

Tried to restart "thread" on device (it worked before):

ipaddr
fd11:1111:1122:0:388d:3a46:73b:2ab8
fe80:0:0:0:e8dd:4629:bd81:a4a8
Done
ifconfig up
Done
thread start
Done
ipaddr
2001:db8:8568:b2b5:5618:f8e8:7090:9f67
fd11:1111:1122:0:0:ff:fe00:c808
fd11:1111:1122:0:388d:3a46:73b:2ab8
fe80:0:0:0:e8dd:4629:bd81:a4a8
Done
thread stop
Done
ifconfig down
Done
ipaddr
fd11:1111:1122:0:388d:3a46:73b:2ab8
fe80:0:0:0:e8dd:4629:bd81:a4a8
Done
ifconfig up
Done
thread start
Done
ipaddr
fd11:1111:1122:0:0:ff:fe00:c808
fd11:1111:1122:0:388d:3a46:73b:2ab8
fe80:0:0:0:e8dd:4629:bd81:a4a8
Done
netdatashow
0314004020010db88568b2b5070211400504fffe3300030f004020010db88569b2b50103fffe00
Done
reset
ipaddr
fe80:0:0:0:e8dd:4629:bd81:a4a8
fd11:1111:1122:0:0:ff:fe00:c808
fd11:1111:1122:0:388d:3a46:73b:2ab8
Done
ifconfig
down
Done
ifconfig up
Done
thread start
Done
ipaddr
2001:db8:8568:b2b5:41f6:6e3d:d24c:a67a
fd11:1111:1122:0:0:ff:fe00:c808
fe80:0:0:0:e8dd:4629:bd81:a4a8
fd11:1111:1122:0:388d:3a46:73b:2ab8
Done

could ping both fd11:1111:1122:0:: addresses from OTBR:
pi@raspberrypi:~/openthread/openthread $ ping6 fd11:1111:1122:0:0:ff:fe00:c808
PING fd11:1111:1122:0:0:ff:fe00:c808(fd11:1111:1122::ff:fe00:c808) 56 data bytes
64 bytes from fd11:1111:1122::ff:fe00:c808: icmp_seq=1 ttl=63 time=94.4 ms
64 bytes from fd11:1111:1122::ff:fe00:c808: icmp_seq=2 ttl=63 time=53.7 ms
64 bytes from fd11:1111:1122::ff:fe00:c808: icmp_seq=3 ttl=63 time=56.1 ms
--- fd11:1111:1122:0:0:ff:fe00:c808 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 53.707/68.099/94.472/18.674 ms
pi@raspberrypi:~/openthread/openthread $ ping6 fd11:1111:1122:0:388d:3a46:73b:2ab8
PING fd11:1111:1122:0:388d:3a46:73b:2ab8(fd11:1111:1122:0:388d:3a46:73b:2ab8) 56 data bytes
64 bytes from fd11:1111:1122:0:388d:3a46:73b:2ab8: icmp_seq=1 ttl=63 time=115 ms
64 bytes from fd11:1111:1122:0:388d:3a46:73b:2ab8: icmp_seq=2 ttl=63 time=63.5 ms
64 bytes from fd11:1111:1122:0:388d:3a46:73b:2ab8: icmp_seq=3 ttl=63 time=54.1 ms
--- fd11:1111:1122:0:388d:3a46:73b:2ab8 ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3005ms
rtt min/avg/max/mdev = 54.135/77.716/115.422/26.940 ms
pi@raspberrypi:~/openthread/openthread

commit f824343f8cac34863c4267ae96a390da48c86ad3 (noticed on 1075e35327ec97e94404e3ecb0bb2381641423ee)
SiLabs EFR32MG13

Thanks for raising this issue.  I have reproduced the behavior and will submit a fix soon.

I submitted #2938 to resolve this issue.  Please validate/review.

I checked it, it works:

ipaddr
2001:db8:8568:b2b5:b5fd:eb36:d2f6:ffb7
fd11:1111:1122:0:0:ff:fe00:6
fe80:0:0:0:94e3:9dff:c548:275c
fd11:1111:1122:0:dc79:4152:e90c:b80b
Done
thread stop
Done
ipaddr
2001:db8:8568:b2b5:b5fd:eb36:d2f6:ffb7
fe80:0:0:0:94e3:9dff:c548:275c
fd11:1111:1122:0:dc79:4152:e90c:b80b
Done
ifconfig down
Done
ipaddr
fe80:0:0:0:94e3:9dff:c548:275c
fd11:1111:1122:0:dc79:4152:e90c:b80b
Done
ifconfig up
Done
ipaddr
fe80:0:0:0:94e3:9dff:c548:275c
fd11:1111:1122:0:dc79:4152:e90c:b80b
Done
thread start
Done
ipaddr
2001:db8:8568:b2b5:b5fd:eb36:d2f6:ffb7
fd11:1111:1122:0:0:ff:fe00:6
fe80:0:0:0:94e3:9dff:c548:275c
fd11:1111:1122:0:dc79:4152:e90c:b80b
Done

@NickNamerr, thanks for validating!


[BUG] Changlog is not updated by 'Dependabot PR actions' workflow when initially created for Dependabot PRs

Describe the bug
Please see https://github.com/opensearch-project/OpenSearch/pull/4547#issuecomment-1251875724
When dependabot PRs are initially created, the GHA workflow 'Dependabot PR actions' (https://github.com/opensearch-project/OpenSearch/blob/2.3.0/.github/workflows/dependabot_pr.yml#L51) will not update the changelog file.
Only ask dependabot to "recreate" the PR can solve the problem.
All the PRs created by dependabot on yesterday have got the problem: https://github.com/opensearch-project/OpenSearch/pulls?q=is%3Apr+label%3Adependabot+created%3A2022-09-19
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Please refer to the update on the comment here - https://github.com/opensearch-project/OpenSearch/issues/1868#issuecomment-1258827491
I have the change published at https://github.com/kotwanikunal/changelog-helper

Putting this on hold pending the discussion outcome from the proposal.


Org Remove Findings

I tested the organization remove feature and have some findingts, that are not blocking for merge but should be addressed later.
Acceptance criteria

[x] Add organization remove to the admin api #4917
[x] When I have deleted an organization, it is still listed in the organization overview with a removed state, if I go to the organization everything under it is not shown (users, projects, etc) this feels kind of strange #4837
[x] OrgQuery should be extended with a state filter, where i can put a list of states, so I am able to load all states but not the removed #4917
[x] Org Of ZITADEL Project should not be deletable #4875

I remove the open tasks and have created a new user story: #4974

@livio-a I think we can close this now, since the other prs are merged?


Ping webhook error

When webhook is first attached to a repo, it sends a ping to the server. this ping is giving an error, but the webhook is working properly.

Fixed in commit https://github.com/Autontool/auton/commit/45d5da48f91e56e098743098b688edb0202a20a3


Add account types

Introduces a concept of "account types" to the AccountsController.
The permission to wallet_manageIdentities is now known
as wallet_manageAccounts_*, where * is an account type identifier
string.
Currently this string is Ether for Ethereum accounts, per Ethereum's SLIP44 name.
Also introduces wallet_accounts_*, where * is again that same account type
identifier. This method is meant to so that eth_accounts can be an
alias for wallet_accounts_Ether, as a strict superset of that method.
If any parameters are present in a call to wallet_accounts_*, then
those parameters will be passed to the handler for the account defined
by the from value on its AccountMessageHandler function, allowing
account type snaps to define their own interfaces, and the accounts
permission to allow passing through messages related to the permitted
accounts.
Will benefit from a number of improvements:

[ ] Rendering protocol names from slip44 identifier.
[ ] Allow selecting (attenuating) accounts of non-eth protocols.
[ ] Redirect eth_accounts at wallet_accounts_*.
[ ] See if we can redirect all classic eth signing methods through
this new general purpose send method (allows keyrings to iterate faster
than the keyring-controller).

Alright got the tests passing.
I separated the two types of identifiers:

derivation identifiers, like slip44:60
account type identifiers, like Ether

We are using the former in Aaron's PR above to ensure that the key derivation permission is bound very explicitly to the input of the key derivation function.
The account type identifier is a "softer" guarantee: The two permissions that use this are for:

Registering accounts, and handling their incoming messages
Connecting to accounts, and sending them incoming messages.

To allow keyless account types, it's important that the account-service registry is not bound to a key derivation strategy (or key derivation at all, as in the case of contract accounts).


fix: Move policy.json back to /usr/etc temporarily while issues are worked out

Without this, this package conflicts with containers-common
We should likely repackage that with our changes and have this package provide it to fix this properly.

xref https://github.com/containers/bootc/issues/942#issuecomment-2525225513
More generally a few things here. One core problem is that policy.json would really be nicer as a .d file with drop-ins, and that would have simplified a lot here.
Or even just having a /usr and /etc split and moving the defaults into /usr; an issue exists for that in https://github.com/containers/image/issues/2157
Anyways, my short term recommendation here is just don't ship this config as an RPM; instead use the "artifact pattern" for it and copy it over or so, right?

Anyways, my short term recommendation here is just don't ship this config as an RPM; instead use the "artifact pattern" for it and copy it over or so, right?

I confirm that just cp-ing policy.json to it's location works.


Compilation fails

Describe the bug
Production build using pnpm build fails on linter errors (on refactor branch).
Failed to compile.

./src/app/components/badges/created-ago-badge/index.tsx
6:10  Error: 'useMemo' is defined but never used.  @typescript-eslint/no-unused-vars
10:8  Warning: The 'createdDate' object construction makes the dependencies of useEffect Hook (at line 19) change on every render. To fix this, wrap the initialization of 'createdDate' in its own useMemo() Hook.  react-hooks/exhaustive-deps

./src/app/components/header/buttons.tsx
3:10  Error: 'useSelectedLayoutSegment' is defined but never used.  @typescript-eslint/no-unused-vars

Environment

pnpm 7.29.1
node.js v18.15.0

Expected behavior
Build is possible without errors and code smells.
Thank you ;)

The same problem was encountered.

Sorry these are pretty easy fixes if someone wants to submit a pull request. I can't work on drift for the next ~week.

https://github.com/MaxLeiter/Drift/pull/145


build_info metric does not work with OpenTelemetry tracker

We will need to wait for an upstream fix to the opentelemetry-python project's prometheus metric reader.
There is an open PR to fix this in the opentelemetry-python repo: https://github.com/open-telemetry/opentelemetry-python/pull/3306

that's a fair point. what seems to happen though is no build_info metric is defined. only build_info_total

Ah, oh course. That's annoying

opentelemetry-python v1.20 includes the fix for this! i will open a PR that mentions this in the README (that versions before that do not work with build info)

closed with #92