pysot model.pth to onnx  occurred error

torch_out = torch.onnx.export(net,dummy_input,"siamrpn_alex_dwxcorr.pth",export_params=True)
when export siamrpn_alex_dwxcorr.pth to onnx the error is occurred.
error position-> :template = data['template'].cuda()
builtins.IndexError: too many indices for tensor of dimension 4
why this happened and how to solve it

anybody ever try convert pysot siamrpn pretrained xxxx.pth model format to other counterpart format like xxxx.onnx and is there any successful experience

We override forward, which requires a dict as input. And the dict requires labels. I think you'll need to write a wrapper class which only takes template and search as input, and the predict tensor as outputs (without loss).

@lb1100  thanks for response,  do you mean write a new ModelBuilder class to replace the original one used in training and the rewrite ModelBuilder class only include 'template' and 'search'  as  input data of dict type for forward and output only give cls and loc predict tensor ? And it is merely for inference ?  Also the downloaded pysot pretrained xxxx. pth could adopt this new write ModelBuilder class directly convert  to xxxx.onnx or not?  I confused why torch.onnx.export would call this override forward but demo.py not.  Would I need other extra work if  want convert trained xxxx.pth model to xxxx.onnx for inference purpose?
And any gap between my understand and your meaning, Thanks!

During inference, we don't directly call forward (in both demo.py and test.py). You can refer to tracker.py, we call these two functions template and search  instead of forward .

do you solve this problem ？

@rollben  do you solve this problem ？

sorry,I don't know~
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2019年8月12日(星期一) 中午11:40
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: Re: [STVIR/pysot] pysot model.pth to onnx  occurred error (#125)
@rollben  do you solve this problem ？
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@lb1100  In which case  the override forward  will be called directly .I don't quite make sense why the process of format conversion to onnx would call the override forward. where the input is a img e.g. torch tensor (1,3, 511,511)  , and the tensor  set as dummy_input for  torch.onnx.export(model ,dummy_input, xxxx.onnx) .you know  if the override forward is called , the error of  course would happen , because the required data of override forward  requires  a dict  not a tuple and  so it can not find 'template' , so how to modify it to avoid conflict in inference.

torch.onnx.export will call model.forward to obtain the computation graph to convert model. You should write a wrapper class like this (untested).
class ConvertModel(nn.Module):
    def __init__(self, model):

        self.model = model

    def forward(self, template, search):
        zf = self.model.backbone(template)
        xf = self.model.backbone(search)
        cls, loc = self.rpn_head(zf, xf)
        return cls, loc

@lb1100 OK got it ，appreciated.

@rollben  do you want to use onnx-> trt ,do inference?

Not limit to TRT, there is multiple choices depends on the hardware you wanna the model to populate.

@rollben  any suggestion?  i just know tensorrt  to accelerate  model ,but i have some question, i dont know how to transform torch.view() to  trt code   and  how to transform F.con2d() to trt code.

I train SiamRPN++ with backbone with resnet50 and Multirpn mode and generate checkpoint_e1.pth and then I use the checkpoint_e7.pth to generate the onnx model through class of ConvertModel and
torch.onnx.export(new_model,dummy_input,"siamrpn_r50_l234_dwxcorr.onnx",export_params=True)
but came across critical errors as follows:
Traceback (most recent call last):
File "/home/superspace/PycharmProjects/Pysot_ONNX/tools/demo_model.py", line 138, in
main()
File "/home/superspace/PycharmProjects/Pysot_ONNX/tools/demo_model.py", line 97, in main
torch.onnx.export(new_model,, dummy_input,"siam_r50_pth_e7_coco.onnx")  ## add for debug  """graph, params,"""
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/onnx/init.py", line 25, in export
return utils.export(*args, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/onnx/utils.py", line 131, in export
strip_doc_string=strip_doc_string)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/onnx/utils.py", line 363, in _export
_retain_param_name, do_constant_folding)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/onnx/utils.py", line 266, in _model_to_graph
graph, torch_out = _trace_and_get_graph_from_model(model, args, training)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/onnx/utils.py", line 225, in _trace_and_get_graph_from_model
trace, torch_out = torch.jit.get_trace_graph(model, args, _force_outplace=True)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/jit/init.py", line 231, in get_trace_graph
return LegacyTracedModule(f, _force_outplace, return_inputs)(*args, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/jit/init.py", line 294, in forward
out = self.inner(*trace_inputs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 491, in call
result = self._slow_forward(*input, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 481, in _slow_forward
result = self.forward(*input, **kwargs)
File "/home/superspace/PycharmProjects/Pysot_ONNX/pysot/models/model_converter.py", line 40, in forward
cls, loc = self.model.rpn_head(zf, xf)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 491, in call
result = self._slow_forward(*input, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 481, in _slow_forward
result = self.forward(*input, **kwargs)
File "/home/superspace/PycharmProjects/Pysot_ONNX/pysot/models/head/rpn.py", line 111, in forward
c, l = rpn(z_f, x_f)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 491, in call
result = self._slow_forward(*input, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 481, in _slow_forward
result = self.forward(*input, **kwargs)
File "/home/superspace/PycharmProjects/Pysot_ONNX/pysot/models/head/rpn.py", line 90, in forward
cls = self.cls(z_f, x_f)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 491, in call
result = self._slow_forward(*input, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 481, in _slow_forward
result = self.forward(*input, **kwargs)
File "/home/superspace/PycharmProjects/Pysot_ONNX/pysot/models/head/rpn.py", line 76, in forward
kernel = self.conv_kernel(kernel)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 491, in call
result = self._slow_forward(*input, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 481, in _slow_forward
result = self.forward(*input, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 491, in call
result = self._slow_forward(*input, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/module.py", line 481, in _slow_forward
result = self.forward(*input, **kwargs)
File "/home/rollben/miniconda3/envs/pysot/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 338, in forward
self.padding, self.dilation, self.groups)
RuntimeError: Given groups=1, weight of size 256 256 3 3, expected input[1, 512, 15, 15] to have 256 channels, but got 512 channels instead
Process finished with exit code 1
I am confused that that why no error happened during train period, but do at forward when convert the trained model of  siamrpn_r50_l234_dwxcorr_16gpu of checkpoint_e7.pth  to onnx format ?
@lb1100 Do you have any idea about this weird problem?

If you didn't modify my code, it seems that you need to add neck forward after backbone.

@rollben do you want to use onnx-> trt ,do inference?

I think convert to trt will be a little difficult. Correlation layer is not supported. You will have to split the network in to several parts if you want to use trt.

@lb1100 I solve it and thanks for your reminder.
As for your mention of correlation layer is not yet supported by trt , besides the internal compute structure, I am also curious about whether the following warning would be a barrier of convert onnx to trt model ? Do you have same point of view or just thinks it doesn't matter , it's just a expected ultimate output for onnx model .so what's your opinion?
Warning as follows:(when convert pytorch pth format model to onnx one)
pysot/core/xcorr.py:46: TracerWarning: Converting a tensor to a Python integer might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
out = F.conv2d(x, kernel, groups=batch*channel)

@lb1100  OK ,thank you

@lb1100
can you give the code of CAM of channels?
thanks

why alexnet model size is not same to alexnetlegacy model size  ,i saw the model structure both same ,why the model size is not same ?
@lb1100

My experience: you should script the xcorr part and use the scripted model before tracing it to avoid warning.

Since no further question is asked, I'm closing it for now.
Please reopen it or create a new issue if you have further question.

hi, did you transform pysot model.pth to onnx successfully? I have meet the same problem with you, could you please give me some help? email<EMAIL_ADDRESS>

/pysot/pysot/core/xcorr.py:46: TracerWarning: Converting a tensor to a Python integer might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
out = F.conv2d(x, kernel, groups=batch*channel)
does this warning matter？

My code:
import torch
import torchvision.models as models
import torch.nn as nn
import argparse
import torchvision
import torch.onnx
from collections import OrderedDict
from pysot.core.config import cfg
from pysot.models.model_builder import ModelBuilder
parser = argparse.ArgumentParser(description='trans demo')
parser.add_argument('--config', type=str, help='config file')
parser.add_argument('--snapshot', type=str, help='model name')
args = parser.parse_args()
cfg.merge_from_file(args.config)
cfg.CUDA = torch.cuda.is_available() and cfg.CUDA
device = torch.device('cuda' if cfg.CUDA else 'cpu')
class ConvertModel(nn.Module):
def init(self, model0):
super(ConvertModel, self).init()
self.model = model0
def forward(self, template, search):
    zf = self.model.backbone(template)
    xf = self.model.backbone(search)
    cls, loc = self.model.rpn_head(zf, xf)
    return cls, loc

载入预训练的型
model0 = ModelBuilder()
model0.load_state_dict(torch.load(args.snapshot, map_location=lambda storage, loc: storage.cpu()))
model0.eval()
print(model0)
model = ConvertModel(model0)
x = torch.randn(1, 3, 127, 127)
z = torch.randn(1, 3, 287, 287)
torch_out = torch.onnx._export(model, (x,z), "model.onnx", export_params=True)

Hello,
Has anyone tried to convert SiamMask to ONNX?
I am trying to achieve this using shupinghu's code with minor editing, but I end up with the following error:
RuntimeError: Unsupported: ONNX export of Slice with dynamic inputs. DynamicSlice is a deprecated experimental op. Please use statically allocated variables or export to a higher opset version.
Here is the code.
`import torch
import torchvision.models as models
import torch.nn as nn
import argparse
import torchvision
import torch.onnx
from collections import OrderedDict
from pysot.core.config import cfg
from pysot.models.model_builder import ModelBuilder
parser = argparse.ArgumentParser(description='trans demo')
parser.add_argument('--config', type=str, help='config file')
parser.add_argument('--snapshot', type=str, help='model name')
args = parser.parse_args()
cfg.merge_from_file(args.config)
cfg.CUDA = torch.cuda.is_available() and cfg.CUDA
device = torch.device('cuda' if cfg.CUDA else 'cpu')
class ConvertModel(nn.Module):
def init(self, model):
super(ConvertModel, self).init()
self.model = model
def forward(self, template, search):
    zf = self.model.backbone(template)
    xf = self.model.backbone(search)

    if cfg.MASK.MASK:
        zf = zf[-1]
        self.model.xf_refine = xf[:-1]
        xf = xf[-1]
    if cfg.ADJUST.ADJUST:
        zf = self.model.neck(zf)
        xf = self.model.neck(xf)
    mask, self.mask_corr_feature = self.model.mask_head(zf, xf)
    cls, loc = self.model.rpn_head(zf, xf)

    return cls, loc, mask

model0 = ModelBuilder()
model0.load_state_dict(torch.load(args.snapshot, map_location=lambda storage, loc: storage.cpu()))
model0.eval()
print(model0)
model = ConvertModel(model0)
x = torch.randn(1, 3, 127, 127)
z = torch.randn(1, 3, 255, 255)
torch_out = torch.onnx._export(model, (x,z), "onnx-ized.onnx", export_params=True)
`
Can anyone help me with that?

#368

I have been following this thread, has anyone been able to successfully convert the model to tensorrt or onnx?
thanks

change this, add opset_version = 11 ,maybe work
torch_out = torch.onnx._export(model, (x,z), "onnx-ized.onnx", export_params=True,opset_version = 11)

pysot/pysot/models/neck/neck.py:25: TracerWarning: Converting a tensor to a Python index might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
x = x[:, :, l:r, l:r]
to onnx warnning

pysot/pysot/models/neck/neck.py:25: TracerWarning: Converting a tensor to a Python index might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
x = x[:, :, l:r, l:r]
to onnx warnning


_type example typo

Adding "?"

@FesterCluck : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


bugfixes for Domestic Beethoven use

Two minor bugs that prevent bith-annotator from working properly. Code used in the same way as Star Brightly Shining demo app.

should be fine now – thanks


How to replace postCSS with SCSS?

Question
How to?
First of all - thanks for the great boilerplate. It's superb although I'm not sure if I want to learn PostCSS at the moment (ReactJS is enough).
I'm working towards removing PostCSS and all its signs from the boilerplate. I've no issues with installing the sass-loader and node-sass, it's just I want to make sure that there's nothing left for the PostCSS. Could you point me into the right direction?
Thanks!!

there is an answer given in #332
@choonkending want to add an that as an explanation to the read me, because I feel like this question is going to keep popping up.
Alternatively as we move to 2.0 is style implementation something we want to break out into its own project, or do you think that complicates things too much?

Thanks @iKonrad!

It's superb although I'm not sure if I want to learn PostCSS at the moment (ReactJS is enough).

I can understand that concern.
To only use sass-loader without postcss plugins, you would look at replacing this and this bit for dev mode and this bit in production mode with something such as below:
{
     test: /\.scss$/,
    loader: ExtractTextPlugin.extract('style-loader', 'scss-loader')
}

Hahaha. @caranicas you're too quick! Yes, we definitely need to write up a README for this.

Thanks guys for immediate answer!
I've put that line in place and now it's complaining that the ExtractTextPlugin doesn't exist. Have I missed something?

@iKonrad var ExtractTextPlugin = require('extract-text-webpack-plugin'); is currently only found in webpack.config.prod.js  you probably just need to add it to the webpack.config.dev-client.js

so one my my production projects is using an older version of this boilerplate, when we were still using scss.
in webpack.dev i have the following
module: {
      loaders: commonLoaders.concat([
        { test: /\.scss$/,
          loader: 'style!css?module&localIdentName=[local]' + //__[hash:base64:5]
            '&sourceMap!postcss-loader!sass?sourceMap&outputStyle=expanded' +
            '&includePaths[]=' + encodeURIComponent(path.resolve(__dirname, '..', 'app', 'scss'))
        }
      ])
    },

and in webpack.dev.server i have
module: {
      loaders: commonLoaders.concat([
           { test: /\.scss$/,                                                                           //__[hash:base64:5]
             loader: ExtractTextPlugin.extract('style-loader', 'css-loader?module&localIdentName=[local]!postcss-loader!sass?includePaths[]='
                                               + encodeURIComponent(path.resolve(__dirname, '..', 'app', 'scss')))
           }
      ])
    },

I moved the __[hash:base64:5]  because I couldn't get it to jive with some external libs.
but if you look at how it is being used with postCSS then you can put it back if you'd like.
loader: 'style!css?module&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader'

Sorry to be a pain, but now I'm getting:
Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin
Have you declared any plugins with it?

Right, I've added the plugins for scss files and then
require('style!css!sass!styles/app.scss');
in App.jsx but now I'm getting:

Invalid CSS after "...load the styles": expected 1 selector or at-rule, was "var content = requi"

It looks like my stylesheet goes through the parser twice. How should I import my SCSS stylesheet into the app?

Removing style!css!sass from the require does the trick. :)
Thanks a lot!

yeah, glad to help. Feel free to any more questions you may have. If you could write up some a docs outlining your process for moving down to scss that would really be awesome. 💯   Put it in the docs folder and then link it too it from  the css page

Just spent about 6 hours trying to get it converted but no success :(
Adding it to the docs would be super appreciated @iKonrad / @caranicas!

By using this repo - https://github.com/donpinkus/reactgo-scss

@choonkending thanks for providing a solution, but the solution you've provided is not applicable anymore. Could you throw some light on how can I integrate SASS/SCSS with the current state of the boilerplate.
Any, help is much appreciated.


Spelling error in Web Interface

Hi,
sorry, I don't have the means to produce a pull request right now, but I just spotted this little typo in the /www/index.html file on line 60:
<button type="button" id="btn_modeNight" onclick="cam.set({mode: 'NIGHT'}; modal.close();)">🌙 Night mode</button>
should be
<button type="button" id="btn_modeNight" onclick="cam.set({mode: 'NIGHT'}); modal.close();">🌙 Night mode</button>
The same way as it is in the line above (day mode).

Thanks! Fixed in https://github.com/TinkerTurtle/Sentry-Picam/commit/12312fbb867638d3162ab384a716694d9d50c1fe


Update local docker

Do not merge - WIP - unit tests are running - functional tests are failing to run

@ldimaggi fabric8/fabric8-ui:SNAPSHOT-PR-2072-2 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2072-fabric8-planner.badger.fabric8.io

@ldimaggi fabric8/fabric8-ui:SNAPSHOT-PR-2072-3 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2072-fabric8-planner.badger.fabric8.io

@ldimaggi fabric8/fabric8-ui:SNAPSHOT-PR-2072-4 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2072-fabric8-planner.badger.fabric8.io

DO NOT COMMIT THIS PR - it should simply be closed - https://github.com/fabric8-ui/fabric8-planner/pull/2080 makes this PR obsolete. Thx!


Cannot use query or form_post for response_mode

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

[x] Chrome version 70.0.3538.77 (Official Build) (64-bit)
[ ] Firefox version XX
[ ] IE version XX
[ ] Edge version XX
[ ] Safari version XX

Library version

Library version: 0.2.3

## Current behavior
MSAL enforces response_mode=fragment

## Expected behavior
Default to response_mode=fragment but add response_mode to the config and allow query and form_post. This would be particularly useful for Angular Routing with Azure B2C scenarios

@kevmcdonk Here is a link to the OAuth implicit flow spec which allows only response_type= token:
https://tools.ietf.org/html/rfc6749#section-4.2.1

This is also the problem here: https://stackoverflow.com/a/54129602/114029 when trying to use app.UseOpenIdConnectAuthentication.


Patch ldap conf

Would it be possible for you to include also these options?
ldap.conf
TIMELIMIT
TIMEOUT
[sudo-ldap] (http://www.sudo.ws/man/1.8.15/sudoers.ldap.man.html)
BIND_TIMELIMIT
SUDOERS_BASE

I added two other options:
BINDDN
BINDPW

@kronos-pbrideau binddn, bindpw, timelimit, and timeout look good.
bind_timelimit is a shared parameter, not sudo specific. For example, it is an nss_ldap option.
http://linux.die.net/man/5/nss_ldap
We should drop the sudo on that and move it out of the "# SUDO options" section.
All the existing parameters are lowercase versions of the ldap.conf key. SUDOERS_BASE is the key, so for consistency the parameter should be sudoers_base. We should drop the sudo on that and leave it in the "# SUDO options" section.

@werekraken thanks for the suggestions, here are the changes you asked for :)


feat: Add maintainState property to Route

Description
Add a boolean property to the Route component named pageTransient. When true (by default), the current behavior remains where the state of the child Component is retained. If pageTransient is set to false, the child Component of the Route will be rebuilt when the Route is pushed onto the stack again.
Checklist

[ x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ x] I have followed the Contributor Guide when preparing my PR.
[x ] I have updated/added tests for ALL new/updated/fixed functionality.
[ x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ x] I have updated/added relevant examples in examples or docs.

Breaking Change?

[ ] Yes, this PR is a breaking change.
[ x] No, this PR is not a breaking change.

Related Issues
Closes #2160

I updated the doc page based on the output of the markdown-lint step.  I'm not sure what error is causing the failure in the analyze step??

Ok, found the analyzer issue.

@pastordougdev we're doing a release today, any chance you'd have the time to flip around the variables like mentioned in this comment? https://github.com/flame-engine/flame/pull/2161#discussion_r1023136254

I think maintainState is a bit problematic, because in the future the Route may contain more state than just a page, and then the property will become a misnomer.
How about keepPage?

But won't maintainState fit for whatever state it has?
I like this name as it is in sync with Flutter's parameter name

I think maintainState is a bit problematic, because in the future the Route may contain more state than just a page, and then the property will become a misnomer.
How about keepPage?

Wouldn't one want to keep any potential future state in Route together with the page if one has this variable set?

Hi all!  Sorry I got behind on this - got busy with some family and work things.  I like the logic flipped around like this.  I think feature will be very useful.


demo error

(CornerNet) chase@zlq:~/ExtremeNet$ python demo.py
Traceback (most recent call last):
File "demo.py", line 4, in
import torch
File "/home/chase/anaconda3/envs/CornerNet/lib/python3.6/site-packages/torch/init.py", line 80, in
from torch._C import *
ImportError: libcudart.so.9.0: cannot open shared object file: No such file or directory

Hi,
It seems that you haven't installed pytorch correctly. Do you have a GPU in your machine and have installed CUDA 9.0?

thanks
Fixed!
conda install -c anaconda cudatoolkit==9.0


Scheduling and running disk jobs

Changes proposed in this PR

Enhance offers with disk information
Implement disk constraint for bin packing
Fit pods with disk information

Why are we making these changes?

Enforce the disk request, limit, and type specifications we are allowing users to make

Will merge when green

Will merge when green


refactor get and process functionality of queue

To better understand and segregate get and process functions of queue

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[X] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
f13c93c0760d903c6727356d8b816303d1e5a01b
link
true
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes_istio


Implementation of CSR/CSR Matrix Multiplication (@)

This PR implements a kernel for the matrix multiplication between two CSR matrices.
Related Issue: #793
Fixes also #783
Questions

I needed to provide an estimation of the number of non-zeros elements for the resulting matrix. I had a "guess" but probably this guess can be improved (maybe: https://link.springer.com/content/pdf/10.1023/A:1009716300509.pdf)
I am not sure if I need to add more to the kernels.json? like for other types than double

Sparsity estimation is being worked on in #790. Maybe the link you provided here can be of help there? @Garic152

Some test cases would be awesome. Maybe something similar to the dense mat mult test?

Sparsity estimation is being worked on in #790. Maybe the link you provided here can be of help there?

Thanks, I'll definetly take a look at it!

Thx for submitting this PR @GuilloteauQ. I merged with some cleanup and test cases and added a commit that circumvents the missing transposition functionality. Since you implemented this already as mentioned in #793 I'd kindly ask you to provide this implementation as well. Ideally you can also modify the compiler logic to use the method with or w/o the transposition depending on the situation.


Support for noble.address?

Since I'm using an Intel NUC internal bluetooth, I added another bluetooth dongle, Asus BT400, connected with a USB extension cable, because distance is an issue for me. Now, how do I choose which BT device the node calls? I want to force the node to call the BT400 instead of the built in BT.
Is it possible?

Documentation for noble states that
hci0 is used by default to override set the NOBLE_HCI_DEVICE_ID environment variable to the interface number.
Example, specify hci1:
sudo NOBLE_HCI_DEVICE_ID=1 node .js
Have you tried that?

Interesting! Any idea how to do that on Windows?

you can execute
set NOBLE_HCI_DEVICE_ID=1
in the console before starting node-red (the same console, of course)
or set environment variable globally using this instruction
https://docs.oracle.com/en/database/oracle/r-enterprise/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html#GUID-DD6F9982-60D5-48F6-8270-A27EC53807D0

I will give it a try, thank you!


Fix .pck lookup for extensionless binary names with a dot

This was not a problem on Windows as binary names are guaranteed to end
with '.exe', but on Unix systems binary extensions are purely cosmetic
and thus optional, which is a problem when using get_basename() to
lookup a potential '.pck' file, as it can fail on e.g. "My Game 2.0" (#15188).
To fix this, ProjectSettings::setup now checks for both basename + '.pck'
and filename + '.pck'.
Fixes #15188, supersedes and closes #22755.
Also took the opportunity to improve documentation on this core method.

Merging as that's the solution we discussed and agreed upon at GodotCon. It should work fine for all platforms, but if you spot any regression running or editing projects, ping me :)


hub: 2.12.8 -> 2.13.0

Motivation for this change
Changelog: https://github.com/github/hub/releases/tag/v2.13.0
Things done

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

[X] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @the-kenny @globin

@GrahamcOfBorg build gitAndTools.hub

@GrahamcOfBorg build gitAndTools.hub


Rename all (non-test) example 'native' to 'container'

Nit: the tests use containers rather than container and it'd be good to be consistent (sorry!).
Otherwise LGTM though I'd get @patrick-stephens to give it another pair of :eyes:.


Find libtool when using BAZEL_USE_CPP_ONLY_TOOLCHAIN.

Instead of hardcoding /usr/bin/libtool which requires Xcode / Xcode CLT installed, which BAZEL_USE_CPP_ONLY_TOOLCHAIN is meant to avoid.
Related to https://github.com/bazelbuild/rules_cc/issues/134.

Hi Uri, this is a nice PR, can you send it to bazelbuild/bazel? This file being repeated is an unfortunate consequence of a flag that we were never able to flip and the source of truth for now is in bazelbuild/bazel.
Thanks!

I will LGTM and merge here too.

You probably saw it because you mention "here too" but just for reference, I posted it at about the same time: https://github.com/bazelbuild/bazel/pull/16010.

When is rules_cc updated from the bazel repo? Is it an automated process on a certain cadence? I ask because I also opened another PR to pull in changes from there: https://github.com/bazelbuild/rules_cc/pull/136, those are already in the bazel repo.


14/12/16 10:05 pm: master scripts and resources- all ok

Had accidentally deleted the scripts and resources folder.
To revert back to orginal state i used the command "gitk --all" and then reverted back to the commit I wanted to rollback to (right-click), and select "Reset master branch to here".  See this SO post answer by Samuel Carrijo

merged the updates


VEOSS-1395 | Update content on rejection reason pages. Auto update of…

… copyright year.

Test this again please

test again please

test again

retest this please


DeBruijn: Discuss "rename _ _ = μ ` Z"?

In chapter DeBruijn, "μ ` Z" is a valid term of any type in any context, and it is found by Agsy. Therefore, there are easy-to-find wrong implementations of "rename"  that typecheck. Is this worth discussing?

I don't think this is worth discussing. The term μ ` Z represents an infinite loop, so this is true for any operation on terms, not just rename. However, "replace whatever with an infinite loop" is pretty clearly the wrong operation. Furthermore, I would discourage readers from overly relying on Agsy.


Test pre-2.1 index sstables are read after upgrade CASSANDRA-9116

The way you restrict the versioning assumes that the bug will only re-occur with a regression in 2.1, not in 2.0, since the 2.0 version is frozen. Is this assumption correct, i.e., code changes in 2.0 without breaking anything in 2.1 couldn't cause this?

yes, that's right. The problem is that the default location for sstables changed in 2.1, but where there are existing sstables in the old location we continue to use them. The code that implements that logic is broken for 2i sstables. So my assumption is that we're not going to change where the index sstables are written to in 2.0.15+ (of course, some other late regression in 2.0 could break it, but I wasn't trying to cover all possible bugs).

Thanks, it seems like a safe assumption.

This is failing where expected for me. I assume it's passing with your patch for 9116?

It is

+1


Make Subscribers controller work for CRUD

will need some refactoring, but I will do it in the future

I think there might be something missing in the dummy app?
If you are testing with some models locally, I think it's best those models are present in the dummy app so everyone can test the same.
Next, for this exact scenario when no events have been registered, we should add a fallback validation that responds something like "no events have been selected..."


Fix tween update

This fixes the animation on the update icon and any animation that uses the tween method.

i think there's something wrong with GitHub's indentation...

Also, I noticed that the animation is being affected by game time. 60 FPS is twice as fast as 30 FPS.

This is working nicely now. I can't see any issues. Even the rubberbanding effect when framerate is set to unlimited seems to be gone.

Fixed a rare case where opening/closing a window would make it to blink.

FYI, I know that the original files were poorly formatted when we pulled and committed them from their original repo, but the formatting changes included in this PR are making it quite hard to tell what specifically was changed for the review.

Does this help? Because Visual Studio kept changing the format to follow .editorconfig then I manually kept changing it back every time. I was just losing time with the formatting that in the and I gave up... lol


[CSM-296] Cache info about 'used' and 'change' addresses

@Martoon-00 @pva701
Testing:

getting wallets when there are no wallets is instant

[akegalj@notebook daedalus]$ node
> var api = require('../output/Daedalus.ClientApi')
undefined
> api.getWallets().then(console.log).catch(console.log)
Promise {
  <pending>,
  domain:
   Domain {
     domain: null,
     _events: { error: [Function: debugDomainError] },
     _eventsCount: 1,
     _maxListeners: undefined,
     members: [] } }
> []

new wallet takes 5+ sec to response back

> api.newWallet('CWTPersonal', 'CWANormal', 1, "science buyer apart miracle medal major kitchen path foil ritual viable pupil", 'pass').then(console.log).catch(console.log)
Promise {
  <pending>,
  domain:
   Domain {
     domain: null,
     _events: { error: [Function: debugDomainError] },
     _eventsCount: 1,
     _maxListeners: undefined,
     members: [] } }
> { cwPassphraseLU:<PHONE_NUMBER>.863057,
  cwMeta: { cwUnit: 1, cwName: 'CWTPersonal', cwAssurance: 'CWANormal' },
  cwId: '1fZk7gQQEh5ZsWcRZfhssrUYmbrsM6xMo1DEU6dgpDtAH9X',
  cwHasPassphrase: true,
  cwAmount: { getCCoin: '0' },
  cwAccountsNumber: 0 }

calling get wallets after we have created a wallet (see 2) above) takes 5+ sec to return:

> api.getWallets().then(console.log).catch(console.log)
Promise {
  <pending>,
  domain:
   Domain {
     domain: null,
     _events: { error: [Function: debugDomainError] },
     _eventsCount: 1,
     _maxListeners: undefined,
     members: [] } }
>
> [ { cwPassphraseLU:<PHONE_NUMBER>.863057,
    cwMeta: { cwUnit: 1, cwName: 'CWTPersonal', cwAssurance: 'CWANormal' },
    cwId: '1fZk7gQQEh5ZsWcRZfhssrUYmbrsM6xMo1DEU6dgpDtAH9X',
    cwHasPassphrase: true,
    cwAmount: { getCCoin: '0' },
    cwAccountsNumber: 1 } ]

importing a wallet takes 20+ sec and returns strange error that shouldn't appear to my knowledge:

> api.importWallet('/home/akegalj/Downloads/genesis-qanet-2017-05-30/secrets/secret-102.key', 'bla').then(console.log).catch(console.log)
Promise {
  <pending>,
  domain:
   Domain {
     domain: null,
     _events: { error: [Function: debugDomainError] },
     _eventsCount: 1,
     _maxListeners: undefined,
     members: [] } }
> Error: ServerError: Pos.Wallet.Web.Error.Types.RequestError "Not enough money (need<PHONE_NUMBER>5 coin(s) more)"

I am using keys downloaded from https://input-output-rnd.slack.com/files/george.agapov/F5QLHEXT4/genesis-qanet-2017-05-30-certs-secrets.tgz . Project was compiled with scripts/build/cardano-sl.sh --prod and run with scripts/launch/qa.sh. Before running I have deleted db's: rm -rf db-qanet/  wdb-qanet/ .
If you need more details how to use client-api to test see https://cardanodocs.com/technical/wallet-frontend/ or ask @akegalj

I'm sorry, looks I forgot to put one of the flags on new evaluation way :pensive:
Let we fix and test in production now

It now works instantly in production, but both flags are evaluated incorrectly for me (it's enough to send money once)

Tested in cases of:

Sending money within same account
Sending money among wallets forth and back

It's inefficient in some sort, I remain https://issues.serokell.io/issue/CSM-324 to do on next week

Don't forget to merge -0.5-rc to `master.

@Martoon-00 what is this about

but both flags are evaluated incorrectly for me
?

When will -0.5-rc be merged? It currently blocks further merges.

@akegalj That's been fixed
@gromakovsky I'm going to do now


Increase max-content-length to 50 MB

With current setup reading code attachment more than 8 MB results in error (#4028). Increase max-content-length to 50 MB allows reading code attachments upto maximum allowed 48 MB
Description
Akka uses max-content-length to ensure limits on incoming request entities. By default it is 8 MB while OpenWhisk allows max code upto 48 MB. To enable such large action code as attachment increase the max-content-length to 50 MB
Basic Test
This PR also adds a system basic test to ensure that such large actions can be created. Due to constrained resource on travis test only create action code upto 10 MB. However it can be increased via config by setting system property whisk.action.size.max (in MB)
This test would also help to validate if the proxy and other settings are properly configured. See #3712 for details on which all settings need to be configured
Related issue and scope

[x] I opened an issue to propose and discuss this change (#4028)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[ ] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #4059 into master will decrease coverage by 4.9%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4059      +/-   ##
==========================================
- Coverage   86.07%   81.16%   -4.91%
==========================================
  Files         147      147
  Lines        7173     7173
  Branches      449      449
==========================================
- Hits         6174     5822     -352
- Misses        999     1351     +352

Impacted Files
Coverage Δ

...core/database/cosmosdb/RxObservableImplicits.scala
0% <0%> (-100%)
:arrow_down:

...core/database/cosmosdb/CosmosDBArtifactStore.scala
0% <0%> (-95.52%)
:arrow_down:

...sk/core/database/cosmosdb/CosmosDBViewMapper.scala
0% <0%> (-92.6%)
:arrow_down:

...whisk/core/database/cosmosdb/CosmosDBSupport.scala
0% <0%> (-83.34%)
:arrow_down:

...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala
0% <0%> (-58.83%)
:arrow_down:

...la/whisk/core/database/cosmosdb/CosmosDBUtil.scala
92% <0%> (-4%)
:arrow_down:

Continue to review full report at Codecov.

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

@dubee @markusthoemmes Please review


Error Create Task

[-] createTask - Account suspended. Contact support via tickets for details.!
Errorrrrrr

"Account suspended"


GitBounty: Switch to Astria's packs api

Astria's packs API allows abstraction of the prompt logic and can easily allow offering separate themes and deploying changes with deploying code.
See docs: https://docs.astria.ai/docs/api/pack/pack/
The requested changes will apply the suggested user flow, with one change - to query both user's pack /packs as well as /gallery/packs (publicly available packs) according to an environment variable.
The GUI should implemented the workflow as described in the docs:

GET /packs Display a list of packs to the user. See docs
User selects a pack, a class name (man/woman) and training images
Call POST /p/:id/tunes with title, (training) images, and class name -  to create a new fine-tune model using a pack. See docs
GET /tunes/:id/prompts to get a list of prompts and their status
POST /prompts/:id/likes to send feedback to the API. See docs
Sort prompts by likes
Present packs sorted by aggregated likes

https://gitpay.me/#/task/891

Hey burgalon i want to work on this issue . Can you assign it to me?

Hey @burgalon i sent you a proposal on gitpay you can check it and assign it to me .
Also I will need some clarification on some part of the issue to ensure i truly understand what is required.

Hey @burgalon Can I work on this issue ?

hey @Dheeraj4103 please let's sync here on how to make sure this goes smoothly. Also available on chat on gmail

Thanks @burgalon I will start working on this issue.

I guess the offer is accepted once the PR is merged?

@Dheeraj4103 can you please split the task into an initial first milestone which just includes using the packs api with a hard-coded pack id? i.e: only step 3. And then continue with the rest? Can you please share the timeline?

Yeh sure @burgalon I will complete step 3 in this week.

@Dheeraj4103 can you please update?

Hey @burgalon can assign this task to someone else, because at the moment I have some other commitments.
Sorry for your inconvenience.

Hey @burgalon can you assign it to me so i can work on it immediately.

@Precious-Macaulay are you available to start on this immediately? Can you please confirm that you understand the task, and the API docs? I'm available on Discord as burgalon for chat

Yes and i will follow up on discord.

So far I have implemented these requested changes in the latest commit. The user flow now queries both /packs (user's packs) and /gallery/packs (public packs) based on the environment variable. The GUI follows the described workflow: displaying the list of packs, allowing pack selection, class name, and images, and then submitting them via POST /p/:id/tunes to create a new fine-tune model.

added cover_url, base_prompts_count, prompt_likes_count, base_tunes_count

added cover_url, base_prompts_count, prompt_likes_count, base_tunes_count

alright i will work on that now.

@burgalon I was thinking if pack API is meant to replace the tune API in the app totally. so i can remove it instead of commenting it out just to keep the code clean.
Or maybe i can fine a way to make them work together in the app - so it will be more like the users choice. what do you think?


Merge Deep Insights with Builder :boom:

More info here
DO NOT CREATE NEW PRS IN DI UNTIL THIS TICKET IS CLOSED

Closed by: https://github.com/CartoDB/cartodb/pull/13287

In production! :rocket:


OpenSSL

Hi, any tips in how to compile openssl
I'm getting this error
gmake: *** no targets specified and no makefile found. stop.

could you attach the whole logs?

build openssl libraries:
./ndk-pkg install openssl-dev --target=android-21-arm64-v8a

build fully dynamically linked openssl executable
./ndk-pkg install openssl--target=android-35-arm64-v8a

build fully statically linked openssl executable
./ndk-pkg install openssl --target=android-35-arm64-v8a --static

djmacross@MACROSSLENOVO:~$ ./ndk-pkg install android-21-arm64-v8a,armeabi-v7a,x86_64,x86/openssl-dev --profile=release
==> /mnt/d/ndk-pkg/core/uppm is-installed android-ndk-r27c

Installation android-21-arm64-v8a/openssl-dev start

=>> STEP 1 : load formula
=>> STEP 2 : create and change to the working directory
==> install -d /mnt/d/ndk-pkg/run/618861/android-21-arm64-v8a/openssl-dev
==> cd /mnt/d/ndk-pkg/run/618861/android-21-arm64-v8a/openssl-dev
==> install -d src/_ fix res bin lib include
=>> STEP 3 : locate C/C++ toolchain for native build
=>> STEP 4 : install needed packages via uppm
==> /mnt/d/ndk-pkg/core/uppm about
uppm.version : 0.15.4
uppm.homedir : /mnt/d/ndk-pkg/uppm
uppm.exepath : /mnt/d/ndk-pkg/core/uppm
uppm.website : https://github.com/leleliu008/uppm
uppm.build.utctime: 2024-07-14 16:34:04
uppm.build.libyaml: 0.2.5
uppm.build.libcurl: 8.7.1
uppm.build.libgit2: 1.7.2
uppm.build.openssl: 3.3.0
uppm.build.jansson: 2.14
uppm.build.archive: 3.7.4
uppm.build.zlib:    1.3.1
==> /mnt/d/ndk-pkg/core/uppm update
==> Updating formula repo
name: official-core
path: /mnt/d/ndk-pkg/uppm/repos.d/official-core
url:  https://github.com/leleliu008/uppm-formula-repository-linux-x86_64
branch: master
pinned: no
enabled: yes
created: 2024-11-19 07:42:33-05:00
updated: 2024-11-23 20:14:23-05:00
Already up to date.
==> /mnt/d/ndk-pkg/core/uppm install curl
uppm package 'curl' already has been installed.
==> /mnt/d/ndk-pkg/core/uppm install bsdtar
uppm package 'bsdtar' already has been installed.
==> /mnt/d/ndk-pkg/core/uppm install gmake
uppm package 'gmake' already has been installed.
==> /mnt/d/ndk-pkg/core/uppm install pkg-config
uppm package 'pkg-config' already has been installed.
==> /mnt/d/ndk-pkg/core/uppm install patchelf
uppm package 'patchelf' already has been installed.
==> /mnt/d/ndk-pkg/core/uppm install tree
uppm package 'tree' already has been installed.
==> /mnt/d/ndk-pkg/core/uppm install gmake
uppm package 'gmake' already has been installed.
==> curl  --cacert /mnt/d/ndk-pkg/core/cacert.pem --fail --retry 20 --retry-delay 30 --location -o '/mnt/d/ndk-pkg/run/618861/xbuilder' 'https://raw.githubusercontent.com/leleliu008/ppkg/refs/heads/master/xbuilder'
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 42531  100 42531    0     0   115k      0 --:--:-- --:--:-- --:--:--  115k
==> sh /mnt/d/ndk-pkg/run/618861/xbuilder install   perl --prefix=/mnt/d/ndk-pkg/native --download-dir=/mnt/d/ndk-pkg/downloads --session-dir=/mnt/d/ndk-pkg/run/618861/native
=>> xbuilder: install package : perl
[✔] /mnt/d/ndk-pkg/downloads/d91115e90b896520e83d4de6b52f8254ef2b70a8d545ffab33200ea9f1cf29e8.txz already have been fetched.
==> install -d /mnt/d/ndk-pkg/run/618861/native/perl/src
==> cd /mnt/d/ndk-pkg/run/618861/native/perl/src
==> bsdtar xf /mnt/d/ndk-pkg/downloads/d91115e90b896520e83d4de6b52f8254ef2b70a8d545ffab33200ea9f1cf29e8.txz --strip-components=1 --no-same-owner
==> ./Configure -Dprefix=/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451 -Dman1dir=none -Dman3dir=none -des -Dmake=gmake -Duselargefiles -Duseshrplib -Dusethreads -Dusenm=false -Dusedl=true
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /mnt/d/ndk-pkg/uppm/installed/coreutils/bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Checking for cross-compile
No targethost for running compiler tests against defined, running locally
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
aix           dragonfly       irix_4            netbsd        sco_2_3_4
aix_3         dynix           irix_5            newsos4       solaris_2
aix_4         dynixptx        irix_6            nonstopux     stellar
altos486      epix            irix_6_0          openbsd       sunos_4_0
amigaos       esix4           irix_6_1          opus          sunos_4_1
atheos        fps             isc               os2           super-ux
aux_3         freebsd         isc_2             os390         svr4
bitrig        freemint        linux-android     os400         svr5
bsdos         gnu             linux             posix-bc      ti1500
catamount     gnukfreebsd     lynxos            qnx           umips
convexos      gnuknetbsd      midnightbsd       riscos        unicos
cxux          greenhills      minix             sco           unicosmk
cygwin        haiku           mips              sco_2_3_0     unisysdynix
darwin        hpux            mirbsd            sco_2_3_1     utekv
dcosx         i386            mpc               sco_2_3_2     vos
dec_osf       interix         ncr_tower         sco_2_3_3
Which of these apply, if any? [linux]
Operating system name? [linux]
Operating system version? [<IP_ADDRESS>-microsoft-standard-wsl2]
Installation prefix to use? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451]
Directory /mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451 doesn't exist.  Use that name anyway?
[y]
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451]
Directory /mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451 doesn't exist.  Use that name anyway?
[y]
Build a threading Perl? [y]
Use which C compiler? [cc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches?
[/mnt/d/ndk-pkg/core/sysroot/lib /usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib /usr/lib64]
What is the file extension used for shared libraries? [so]
Make shared library basenames unique? [n]
Build Perl for SOCKS? [n]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-lpthread -ldl -lm -lutil -lc]
What optimizer/debugger flag should be used? [-O2]
Checking if your compiler accepts -fno-strict-aliasing
Yes, it does.
Checking if your compiler accepts -pipe
Yes, it does.
Checking if your compiler accepts -fstack-protector-strong
Yes, it does.
Any additional cc flags?
[-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[ -fstack-protector-strong -L/usr/local/lib]
Checking your choice of C compiler and flags for coherency...
Checking to see how big your integers are...
Checking to see if you have long long...
Checking to see how big your long longs are...
Computing filename position in cpp output for #include directives...
<inttypes.h> found.
Checking to see if you have int64_t...
Checking which 64-bit integer type we could use...
We could use 'long' for 64-bit integers.
Try to use maximal 64-bit support, if available? [y]
Checking if your C library has broken 64-bit functions...
Checking for GNU C Library...
Shall I use /mnt/d/ndk-pkg/core/bin/nm to extract C symbols from the libraries?
[n]
Checking for C++...
Checking to see how big your double precision numbers are...
Checking to see if you have long double...
You have long double.
ldexpl() found.
Checking to see how big your long doubles are...
Your long doubles are 16 bytes long.
Checking the kind of long doubles you have...
You have x86 80-bit little endian long doubles.
Getting the current patchlevel...
egrep: warning: egrep is obsolescent; using grep -E
What is your architecture name [x86_64-linux]
Add the Perl API version to your archname? [n]
Threads selected.
...setting architecture name to x86_64-linux-thread.
Multiplicity selected.
...setting architecture name to x86_64-linux-thread-multi.
This architecture is naturally 64-bit, not changing architecture name.
Pathname where the public executables will reside? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/bin]
Directory /mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/bin doesn't exist.  Use that name anyway?
[y]
Use relocatable @INC? [n]
Pathname where the private library files will reside? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/lib/perl5/5.38.2]
Where do you want to put the public architecture-dependent libraries? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/lib/perl5/5.38.2/x86_64-linux-thread-multi]
Other username to test security of setuid scripts with? [none]
Well, the recommended value is not secure.
Does your kernel have secure setuid scripts? [n]
Installation prefix to use for add-on modules and utilities? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451]
Pathname for the site-specific library files? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/lib/perl5/site_perl/5.38.2]
List of earlier versions to include in @INC? [none]
Checking to see how big your pointers are...
Do you wish to wrap malloc calls to protect against potential overflows? [y]
Do you wish to attempt to use the malloc that comes with perl5? [n]
Your system wants malloc to return 'void *', it would seem.
Your system uses void free(), it would seem.
Pathname for the site-specific architecture-dependent library files? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/lib/perl5/site_perl/5.38.2/x86_64-linux-thread-multi]
Do you want to configure vendor-specific add-on directories? [n]
Colon-separated list of additional directories for perl to search? [none]
Support DTrace if available? [n]
Install any extra modules (y or n)? [n]
Directory for the main Perl5 html pages? (~name ok) [none]
Directory for the Perl5 module html pages? (~name ok) [none]
Do you want to install perl as /usr/bin/perl? [n]
dlopen() found.
<unistd.h> found.
Do you wish to use dynamic loading? [y]
Source file to use for dynamic loading [ext/DynaLoader/dl_dlopen.xs]
Any special flags to pass to cc -c to compile shared library modules?
[-fPIC]
What command should be used to create dynamic libraries? [cc]
Any special flags to pass to cc to create a dynamically loaded library?
[-shared -O2 -L/usr/local/lib -fstack-protector-strong]
Any special flags to pass to cc to use dynamic linking? [-Wl,-E]
ld supports scripting
Build a shared libperl.so (y/n) [y]
What name do you want to give to the shared libperl? [libperl.so]
Adding -Wl,-rpath,/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/lib/perl5/5.38.2/x86_64-linux-thread-multi/CORE to the flags
passed to cc so that the perl executable will find the
installed shared libperl.so.
System manual is in /usr/share/man/man1.
Where do the main Perl5 manual pages (source) go? (~name ok) [none]
You can have filenames longer than 14 characters.
Where do the perl5 library man pages (source) go? (~name ok) [none]
Figuring out host name...
Your host name appears to be "MACROSSLENOVO". Right? [y]
What is your domain name? [.nonet]
What is your e-mail address<EMAIL_ADDRESS>Perl administrator e-mail address<EMAIL_ADDRESS>Do you want to use a version number suffix for installed binaries? [n]
What shall I put after the #! to start up perl ("none" to not use #!)?
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/bin/perl]
WARNING:  Some systems limit the #! command to 32 characters.
If you experience difficulty running Perl scripts with #!, try
installing Perl in a directory with a shorter pathname.
Where do you keep publicly executable scripts? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/bin]
Directory /mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/bin doesn't exist.  Use that name anyway?
[y]
Pathname where the add-on public executables should be installed? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/bin]
Directory /mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/bin doesn't exist.  Use that name anyway?
[y]
Pathname where the site-specific html pages should be installed? (~name ok)
[none]
Pathname where the site-specific library html pages should be installed? (~name ok)
[none]
Pathname where the site-specific manual pages should be installed? (~name ok)
[none]
Pathname where the site-specific library manual pages should be installed? (~name ok)
[none]
Pathname where add-on public executable scripts should be installed? (~name ok)
[/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451/bin]
backtrace() found.
Use the "fast stdio" if available? [n]
off_t found.
Checking to see how big your file offsets are...
fpos_t found.
Checking the size of fpos_t...
Try to understand large files, if available? [y]
Rechecking to see how big your file offsets are...
Rechecking the size of fpos_t... 16 bytes.
qgcvt() found.
Checking the kind of doubles you have...
You have IEEE 754 64-bit little endian doubles.
Checking how to print long doubles...
gconvert NOT found.
gcvt() found.
sprintf() found.
I'll use sprintf to convert floats into a string.
fwalk() NOT found.
accept4() found.
access() found.
<sys/file.h> defines the _OK access constants.
accessx() NOT found.
acosh() found.
aintl() NOT found.
alarm() found.
ctime64() NOT found.
localtime64() NOT found.
gmtime64() NOT found.
mktime64() NOT found.
difftime64() NOT found.
asctime64() NOT found.
<pthread.h> found.
<sys/types.h> found.
<sys/select.h> found.
Testing to see if we should include <sys/time.h>.
We'll include <sys/time.h>.
Checking to see if your struct tm has tm_zone field...
Checking to see if your struct tm has tm_gmtoff field...
asctime_r() found.
asinh() found.
atanh() found.
atolf() NOT found.
atoll() found.
Checking whether your compiler can handle attribute((format)) ...
Checking whether your compiler allows printf format to be null ...
Checking whether your compiler can handle attribute((malloc)) ...
Checking whether your compiler can handle attribute((nonnull(1))) ...
Checking whether your compiler can handle attribute((noreturn)) ...
Checking whether your compiler can handle attribute((pure)) ...
Checking whether your compiler can handle attribute((unused)) ...
Checking whether your compiler can handle attribute((deprecated)) ...
Checking whether your compiler can handle attribute((warn_unused_result)) ...
Checking whether your compiler can handle attribute((always_inline)) ...
Checking whether your compiler can handle attribute((visibility)) ...
getpgrp() found.
You have to use getpgrp() instead of getpgrp(pid).
setpgrp() found.
You have to use setpgrp() instead of setpgrp(pid,pgrp).
Checking whether your compiler can handle __builtin_add_overflow ...
Checking whether your compiler can handle __builtin_sub_overflow ...
Checking whether your compiler can handle __builtin_mul_overflow ...
Checking whether your compiler can handle __builtin_choose_expr ...
Checking whether your compiler can handle _builtin_expect ...
Checking for C99 variadic macros.
You have C99 variadic macros.
You have void (*signal())().
Checking whether your C compiler can cast large floats to int32.
Checking whether your C compiler can cast negative float to unsigned.
cbrt() found.
chown() found.
chroot() found.
chsize() NOT found.
class() NOT found.
clearenv() found.
Hmm... Looks like you have Berkeley networking support.
socketpair() found.
Checking the availability sa_len in the sock struct ...
Checking the availability struct sockaddr_in6 ...
Checking the availability struct sockaddr_storage ...
Checking the availability sin6_scope_id in struct sockaddr_in6 ...
Checking the availability struct ip_mreq ...
Checking the availability struct ip_mreq_source ...
Checking the availability struct ipv6_mreq ...
Checking the availability struct ipv6_mreq_source ...
Checking the availability of certain socket constants...
<sys/uio.h> found.
Checking to see if your system supports struct cmsghdr...
copysign() found.
copysignl() found.
crypt() NOT found.
crypt() NOT found.
<crypt.h> NOT found.
crypt_r() NOT found.
ctermid() found.
ctermid_r() NOT found.
ctime_r() found.
cuserid() found.
dbmclose() NOT found.
difftime() found.
<dirent.h> found.
Your directory entries are struct dirent.
Your directory entry does not know about the d_namlen field.
Checking to see if DIR has a dd_fd member variable
<sys/dir.h> found.
<sys/ndir.h> NOT found.
dirfd() found.
dladdr() found.
dlerror() found.
<dlfcn.h> found.
What is the extension of dynamically loaded modules [so]
Checking whether your dlsym() needs a leading underscore ...
dlsym doesn't need a leading underscore.
drand48_r() found.
dup2() found.
dup3() found.
localeconv_l() NOT found.
<xlocale.h> NOT found.
newlocale() found.
freelocale() found.
uselocale() found.
duplocale() found.
querylocale() NOT found.
eaccess() found.
endgrent() found.
<grp.h> found.
endgrent_r() NOT found.
endhostent() found.
<netdb.h> found.
endhostent_r() NOT found.
endnetent() found.
endnetent_r() NOT found.
endprotoent() found.
endprotoent_r() NOT found.
endpwent() found.
<pwd.h> found.
endpwent_r() NOT found.
endservent() found.
endservent_r() NOT found.
<sys/file.h> defines the O constants...
and you have the 3 argument form of open().
<sys/file.h> found.
We'll be including <sys/file.h>.
<fcntl.h> found.
We don't need to include <fcntl.h> if we include <sys/file.h>.
fork() found.
pipe() found.
Figuring out the flag used by open() for non-blocking I/O...
Let's see what value errno gets from read() on a O_NONBLOCK file...
erf() found.
erfc() found.
exp2() found.
expm1() found.
Checking how std your stdio is...
fchdir() found.
fchmod() found.
openat() found.
unlinkat() found.
renameat() found.
linkat() found.
fchmodat() found.
fchown() found.
fcntl() found.
Well, your system knows about the normal fd_set typedef...
and you have the normal fd_set macros (just as I'd expect).
fdclose() NOT found.
fdim() found.
fegetround() found.
ffs() found.
ffsl() found.
fgetpos() found.
finite() found.
finitel() found.
flock() found.
fma() found.
fmax() found.
fmin() found.
fp_class() NOT found.
Checking to see if you have fpclassify...
fp_classify() NOT found.
fp_classl() NOT found.
pathconf() found.
fpathconf() found.
fpclass() NOT found.
fpclassl() NOT found.
fpgetround() NOT found.
Checking to see if you have fpos64_t...
frexpl() found.
<sys/param.h> found.
<sys/mount.h> found.
Checking to see if your system supports struct fs_data...
fseeko() found.
fsetpos() found.
fstatfs() found.
statvfs() found.
fstatvfs() found.
fsync() found.
ftello() found.
Checking if you have a working futimes()
Yes, you have
A working gai_strerror() found.
<ndbm.h> NOT found.
<gdbm/ndbm.h> NOT found.
<gdbm-ndbm.h> NOT found.
getaddrinfo() found.
getcwd() found.
Checking to see if getenv() preserves a different thread's results
Couldn't determine if getenv() destroys another thread's return value (code=2); assuming it does
getespwnam() NOT found.
getfsstat() NOT found.
getgrent() found.
getgrent_r() found.
getgrgid_r() found.
getgrnam_r() found.
gethostbyaddr() found.
gethostbyname() found.
gethostent() found.
gethostname() found.
uname() found.
Shall I ignore gethostname() from now on? [n]
gethostbyaddr_r() found.
gethostbyname_r() found.
gethostent_r() found.
getitimer() found.
getlogin() found.
getlogin_r() found.
getmnt() NOT found.
getmntent() found.
getnameinfo() found.
getnetbyaddr() found.
getnetbyname() found.
getnetent() found.
getnetbyaddr_r() found.
getnetbyname_r() found.
getnetent_r() found.
getpagesize() found.
getprotobyname() found.
getprotobynumber() found.
getprotoent() found.
getpgid() found.
getpgrp2() NOT found.
getppid() found.
getpriority() found.
getprotobyname_r() found.
getprotobynumber_r() found.
getprotoent_r() found.
getprpwnam() NOT found.
getpwent() found.
getpwent_r() found.
getpwnam_r() found.
getpwuid_r() found.
getservbyname() found.
getservbyport() found.
getservent() found.
getservbyname_r() found.
getservbyport_r() found.
getservent_r() found.
getspnam() found.
<shadow.h> found.
getspnam_r() found.
gettimeofday() found.
gmtime_r() found.
hasmntopt() found.
<netinet/in.h> found.
<arpa/inet.h> found.
htonl() found.
hypot() found.
ilogb() found.
ilogbl() found.
inet_aton() found.
inet_ntop() found.
inet_pton() found.
isascii() found.
isblank() found.
Checking to see if you have isfinite...
isfinitel() NOT found.
Checking to see if you have isinf...
isinfl() found.
Checking to see if you have isless...
Checking to see if you have isnan...
isnanl() found.
Checking to see if you have isnormal...
j0() found.
j0l() found.
killpg() found.
localeconv() found.
lchown() found.
LDBL_DIG found.
lgamma() found.
lgamma_r() found.
Checking to see if your libm supports _LIB_VERSION...
No, it does not (probably harmless)
link() found.
llrint() found.
llrintl() found.
llround() found.
llroundl() found.
<malloc/malloc.h> NOT found.
<malloc.h> found.
localtime_r() found.
lockf() found.
log1p() found.
log2() found.
logb() found.
lrint() found.
lrintl() found.
lround() found.
lroundl() found.
lstat() found.
madvise() found.
malloc_size() NOT found.
malloc_good_size() NOT found.
malloc_usable_size() found.
mblen() found.
mbrlen() found.
mbrtowc() found.
mbstowcs() found.
mbtowc() found.
memmem() found.
memrchr() found.
mkdir() found.
mkdtemp() found.
mkfifo() found.
mkostemp() found.
mkstemp() found.
mkstemps() found.
mktime() found.
<sys/mman.h> found.
mmap() found.
and it returns (void ).
sqrtl() found.
scalbnl() found.
truncl() found.
modfl() found.
mprotect() found.
msgctl() found.
msgget() found.
msgsnd() found.
msgrcv() found.
You have the full msg(2) library.
Checking to see if your system supports struct msghdr...
msync() found.
munmap() found.
nan() found.
nanosleep() found.
nearbyint() found.
nextafter() found.
nexttoward() found.
nice() found.
<langinfo.h> found.
nl_langinfo() found.
<locale.h> found.
Your system has nl_langinfo_l()...
define
and it is thread-safe (just as I'd hoped).
define
Checking whether your compiler can handle struct bitfields that aren't 'int' or 'unsigned int' ...
Your C compiler supports struct bitfields besides 'int' and 'unsigned int'.
<quadmath.h> found.
Choosing the C types to be used for Perl's internal types...
Checking how many bits of your UVs your NVs can preserve...
Your NVs can preserve only 53 bits of your UVs.
Checking to find the largest integer value your NVs can hold...
The largest integer your NVs can preserve is equal to 256.0256.0256.0256.0256.02<IP_ADDRESS>.02.02.0
Checking whether NV 0.0 is all bits zero in memory...
0.0 is represented as all bits zero in memory
Checking to see if you have off64_t...
Checking what constant to use for creating joinable pthreads...
You seem to use PTHREAD_CREATE_JOINABLE.
pause() found.
pipe2() found.
poll() found.
prctl() found.
readlink() found.
vfork() found.
Do you still want to use vfork()? [n]
pthread_atfork found.
pthread_attr_setscope() found.
sched_yield() found.
pthread_yield() found.
Checking to see if you have ptrdiff_t...
random_r() found.
readdir() found.
seekdir() found.
telldir() found.
rewinddir() found.
readdir64_r() found.
readdir_r() found.
readv() found.
recvmsg() found.
regcomp() found.
remainder() found.
remquo() found.
rename() found.
rint() found.
rmdir() found.
round() found.
scalbn() found.
select() found.
semctl() found.
semget() found.
semop() found.
You have the full sem*(2) library.
You do not have union semun in <sys/sem.h>.
You can use union semun for semctl IPC_STAT.
You can also use struct semid_ds* for semctl IPC_STAT.
sendmsg() found.
setegid() found.
setenv() found.
seteuid() found.
setgrent() found.
setgrent_r() NOT found.
sethostent() found.
sethostent_r() NOT found.
setitimer() found.
setlinebuf() found.
<wctype.h> found.
towupper() found.
Checking to see if you have setlocale() and its behavior
Your system has setlocale()...
and it seems sane; you don't have a C.UTF-8 locale
setlocale_r() NOT found.
setnetent() found.
setnetent_r() NOT found.
setprotoent() found.
setpgid() found.
setpgrp2() NOT found.
setpriority() found.
setproctitle() NOT found.
setprotoent_r() NOT found.
setpwent() found.
setpwent_r() NOT found.
setregid() found.
setresgid() found.
setreuid() found.
setresuid() found.
setrgid() NOT found.
setruid() NOT found.
setservent() found.
setservent_r() NOT found.
setsid() found.
setvbuf() found.
shmctl() found.
shmget() found.
shmat() found.
and it returns (void ).
shmdt() found.
You have the full shm(2) library.
sigaction() found.
pid_t found.
Checking if your siginfo_t has si_errno field...
Checking if your siginfo_t has si_pid field...
Checking if your siginfo_t has si_uid field...
Checking if your siginfo_t has si_addr field...
Checking if your siginfo_t has si_status field...
Checking if your siginfo_t has si_band field...
Checking if your siginfo_t has si_value field...
Checking if your siginfo_t has si_fd field...
<sunmath.h> NOT found.
Checking to see if you have signbit() available to work on double... Yes.
sigprocmask() found.
POSIX sigsetjmp found.
snprintf() found.
vsnprintf() found.
sockatmark() found.
socks5_init() NOT found.
srand48_r() found.
srandom_r() found.
stat() found.
<sys/stat.h> found.
Checking to see if your struct stat has st_blocks field...
<sys/vfs.h> found.
<sys/statfs.h> found.
Checking to see if your system supports struct statfs...
Checking to see if your struct statfs has f_flags field...
Your compiler supports static inline.
Checking how to access stdio streams by file descriptor number...
I can't figure out how to access stdio streams by file descriptor number.
strcoll() found.
strerror_l() found.
strerror_r() found.
strftime() found.
strlcat() found.
strlcpy() found.
strnlen() found.
strtod() found.
strtod_l() found.
strtol() found.
strtold() found.
strtold_l() found.
strtoll() found.
strtoq() found.
strtoul() found.
strtoull() found.
strtouq() found.
strxfrm() found.
strxfrm_l() found.
symlink() found.
syscall() found.
<sys/syscall.h> found.
sysconf() found.
system() found.
tcgetpgrp() found.
tcsetpgrp() found.
tgamma() found.
Your compiler supports _Thread_local.
time() found.
time_t found.
timegm() found.
<sys/times.h> found.
times() found.
clock_t found.
tmpnam_r() found.
towlower() found.
trunc() found.
truncate() found.
ttyname_r() found.
tzname[] found.
(Testing for character data alignment may crash the test.  That's okay.)
It seems that you must access character data in an aligned manner.
ualarm() found.
umask() found.
unordered() NOT found.
unsetenv() found.
usleep() found.
ustat() NOT found.
closedir() found.
Checking whether closedir() returns a status...
wait4() found.
waitpid() found.
wcrtomb() found.
A working wcscmp() found.
wcstombs() found.
A working wcsxfrm() found.
wctomb() found.
writev() found.
Checking alignment constraints...
Doubles must be aligned on a how-many-byte boundary? [8]
Checking how long a character is (in bits)...
What is the length of a character (in bits)? [8]
Checking to see how your cpp does stuff like concatenate tokens...
Oh!  Smells like ANSI's been here.
<db.h> NOT found.
Exclude . from @INC by default?  [y]
Checking the kind of infinities and nans you have...
(The following tests may crash.  That's okay.)
Checking how many mantissa bits your doubles have...
Checking how many mantissa bits your long doubles have...
Checking how many mantissa bits your NVs have...
Using our internal random number implementation...
Determining whether or not we are on an EBCDIC system...
Nope, no EBCDIC, probably ASCII or some ISO Latin. Or UTF-8.
Checking how to flush all pending stdio output...
Your fflush(NULL) works okay for output streams.
Let's see if it clobbers input pipes...
fflush(NULL) seems to behave okay with input streams.
Checking the size of gid_t...
Checking the sign of gid_t...
Checking how to print 64-bit integers...
Checking the format strings to be used for Perl's internal types...
Checking the format string to be used for gids...
getgroups() found.
setgroups() found.
What type pointer is the second argument to getgroups() and setgroups()?
[gid_t]
Checking the format strings to be used for Perl's internal 32bit-types...
Checking if your /mnt/d/ndk-pkg/uppm/installed/gmake/bin/gmake program sets $(MAKE)...
mode_t found.
It seems that va_copy() or similar will be needed.
size_t found.
What is the type for the 1st argument to gethostbyaddr? [char *]
What is the type for the 2nd argument to gethostbyaddr? [size_t]
What pager is used on your system? [/usr/bin/less -R]
Checking how to generate random libraries on your machine...
Your select() operates on 64 bits at a time.
Generating a list of signal names and numbers...
Checking the size of size_t...
Checking to see if you have socklen_t...
<socks.h> NOT found.
I'll be using ssize_t for functions returning a byte count.
Checking the size of st_dev...
Checking the sign of st_dev...
Checking the size of st_ino...
Checking the sign of st_ino...
Your stdio uses signed chars.
Checking the size of uid_t...
Checking the sign of uid_t...
Checking the format string to be used for uids...
Would you like to build perl with strict enabled by default? [n]
Determining whether we can use sysctl with KERN_PROC_PATHNAME to find executing program...
I'm unable to compile the test program.
I'll assume no sysctl with KERN_PROC_PATHNAME here.
Determining whether we can use _NSGetExecutablePath to find executing program...
I'm unable to compile the test program.
I'll assume no _NSGetExecutablePath here.
Which compiler compiler (yacc) shall I use? [yacc]
<bfd.h> NOT found.
<execinfo.h> found.
<fenv.h> found.
<fp.h> NOT found.
<fp_class.h> NOT found.
<gdbm.h> NOT found.
<ieeefp.h> NOT found.
<libutil.h> NOT found.
<mach/cthreads.h> NOT found.
<mntent.h> found.
<net/errno.h> NOT found.
<netinet/tcp.h> found.
<poll.h> found.
<prot.h> NOT found.
Guessing which symbols your C compiler and preprocessor define...
awk: cmd. line:1: warning: regexp escape sequence `=' is not a known regexp operator
Adding -D_FORTIFY_SOURCE=2 to ccflags...
tcsetattr() found.
You have POSIX termios.h... good!
<stdbool.h> found.
<stdint.h> found.
<sys/access.h> NOT found.
<sys/filio.h> NOT found.
<sys/ioctl.h> found.
<syslog.h> found.
<sys/mode.h> NOT found.
<sys/poll.h> found.
<sys/resource.h> found.
<sys/security.h> NOT found.
<sys/statvfs.h> found.
<sys/un.h> found.
<sys/utsname.h> found.
<sys/wait.h> found.
<ustat.h> NOT found.
<utime.h> found.
<wchar.h> found.
Looking for extensions...
What extensions do you wish to load dynamically?
[B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/Dumper Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/DosGlob File/Glob Filter/Util/Call Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc Opcode POSIX PerlIO/encoding PerlIO/mmap PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Time/Piece Unicode/Collate Unicode/Normalize XS/APItest XS/Typemap attributes mro re threads threads/shared]
What extensions do you wish to load statically? [none]
Stripping down executable paths...
Creating config.sh...
Doing variable substitutions on .SH files...
Extracting config.h (with variable substitutions)
cflags.SH: Adding -std=c99.
cflags.SH: Adding -Werror=pointer-arith.
cflags.SH: Adding -Werror=vla.
cflags.SH: Adding -Wextra.
cflags.SH: Adding -Wno-long-long.
cflags.SH: Adding -Wno-declaration-after-statement.
cflags.SH: Adding -Wc++-compat.
cflags.SH: Adding -Wwrite-strings.
cflags.SH: Adding -Wno-use-after-free because of false positives in gccversion '13.1.0'
cflags.SH: cc       = cc
cflags.SH: ccflags  = -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2
cflags.SH: stdflags =  -std=c99
cflags.SH: optimize = -O2
cflags.SH: warn     =  -Wall -Werror=pointer-arith -Werror=vla -Wextra -Wno-long-long -Wno-declaration-after-statement -Wc++-compat -Wwrite-strings -Wno-use-after-free
Extracting cflags (with variable substitutions)
Not re-extracting config.h
Extracting makedepend (with variable substitutions)
Extracting makedepend_file (with variable substitutions)
Extracting Makefile (with variable substitutions)
Extracting myconfig (with variable substitutions)
Extracting Policy.sh (with variable substitutions)
Extracting runtests (with variable substitutions)
Extracting pod/Makefile (with variable substitutions)
Configure done.
If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.
==> /mnt/d/ndk-pkg/uppm/installed/gmake/bin/gmake --jobs=32
gmake: *** No targets specified and no makefile found.   You could run export GITHUB_ACTIONS=true and try again. it will result in ndk-pkg to install aux tools by fetching prebuild binaries rather than build them locally.


Incompatibility error while maven executing goals

[ERROR] Failed to execute goal com.phoenixnap.oss:springmvc-raml-plugin:0.6.1:generate-springmvc-endpoints (generate-springmvc-endpoints) on project raml-to-java: A type incompatibility occured while executing com.phoenixnap.oss:springmvc-raml-plugin:0.6.1:generate-springmvc-endpoints: org.yaml.snakeyaml.nodes.ScalarNode cannot be cast to org.yaml.snakeyaml.nodes.MappingNode
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>com.phoenixnap.oss:springmvc-raml-plugin:0.6.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
How to solve this?

 Having said that there is far too little info here.

I am able to generate raml-to-java(with javax.ws package) files so i don't think my raml has errors. Let me know what all files you need so solve this.

At the very least the raml you are trying to parse and the maven configuration of the plugin

#%RAML 0.8
title: StopCheque API
baseUri: http://eds-digital.rbs.com/{version}
version: v0.1
schemas:

request: !include sc-request.schema
stopCheque: !include sc.schema
exception: !include exception.schema

/stopcheques:
/requests:
post:
description: Create a Stop Cheque Request
body:
application/json:
schema: request
responses:
200:
body:
application/json:
schema: request
example: !include sc-request.sample
400:
body:
application/json:
schema: exception
example: !include exception.sample
/{stopChequeRequestId}:
get:
description: Get a specific Stop Cheque Request
responses:
200:
body:
application/json:
schema: request
example: !include sc-request.sample
404:
body:
application/json:
schema: exception
example: !include exception.sample

pom.xml

com.phoenixnap.oss
springmvc-raml-plugin
0.6.1

src/main/raml
com.gen.wow
src/generated
/application
com.phoenixnap.oss.ramlapisync.generation.rules.Spring4ControllerStubRule
src/main/raml
src/main/raml
src/generated
false
com.gen.wow
false

generate-springmvc-endpoints
compile

generate-springmvc-endpoints

The attached raml is missing indentation and included schemas. Please make sure to format it correctly and that it causes the issue.
On another note, running the job in debug mode (adding -X to the mvn command) might give you a longer stacktrace which will help debugging


Use Soyosource with Battery and Controller to Limit power

Hi,
I am using a Soyosource GTW 1200W inverter with a Pylontech US 3000 battery.
I get my power values via MQTT from my Iskar power meter and it is working fine.
Acording to my knowledge, I should set the inverter  to "Bat Mode Enable=Y" to disable the internal MPPT.
If I set it to Y, and change afterwards the "Auto Limit Power" value to yes it will automatilly change the Bat Mode Enable back to N.
Has anyone else a Soyosource on a battery and can confirm this?
Then a dynamic limiting via MQTT would unfortunately not work.
https://user-images.githubusercontent.com/4689177/176870920-8b0c8eba-2e03-4006-9486-c1dc393a79a5.mp4

you have 3 settings


ci: merge staging to master

This is an automatic PR generated by the pipeline CI/CD. This will be automatically fast-forward merged if successful.

Pipeline Attempt on 715224461 for 82f6b31cc609f02d1282d3c6c351f75a3e1de22e
https://gitlab.com/MatrixAI/open-source/js-db/-/pipelines/715224461

Pipeline Succeeded on 715224461 for 82f6b31cc609f02d1282d3c6c351f75a3e1de22e
https://gitlab.com/MatrixAI/open-source/js-db/-/pipelines/715224461


[Question] The pure text process in function "prepare_inputs_labels_for_multimodal"

Question
The codes in llava/model/llava_arch.py lines 235-237 seemly doing nothing? Is there any special intention for this code?
https://github.com/haotian-liu/LLaVA/blob/c121f0432da27facab705978f83c4ada465e46fd/llava/model/llava_arch.py#L234-L237

+1


TypeError: 'ownKeys' on proxy: trap returned extra keys but proxy target is non-extensible

Describe the bug
Happy New Year! 🥳
I was updating from 0.25.8 to 0.26.3 and some tests started failing with error:
TypeError: 'ownKeys' on proxy: trap returned extra keys but proxy target is non-extensible

Reproduction
I managed to create a simplified repro which demonstrates the issue when run locally but fails to repro the issue in stackbliz 🤔
The problem in 0.26.3 occurs when deps.interopDefault is true (which is the case when environment is jsdom).
import { test, expect, vi} from 'vitest'
import kebabCase from 'lodash/kebabCase';

vi.mock('lodash/kebabCase');
kebabCase.mockImplementation(str => `mocked-${str}`);

test('example', async () => {
  expect(kebabCase('test')).toBe('mocked-test')
});

Note that this is just for repro purposes and affects not just lodash but other packages like algoliasearch too(probably all CJS deps that are mocked this way).
The repro works fine in 0.25.8.
The repro works fine if deps.interopDefault is false.
The repro works fine if I change the mock to:
vi.mock('lodash/kebabCase', () => ({
  default: str => `mocked-${str}`
}))

Here's a link to stackblitz, please "Download project" locally to test because for some reason the repro doesn't work in stackblitz.
System Info
System:
    OS: macOS 13.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 526.02 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.19.0 - ~/.volta/tools/image/node/16.19.0/bin/node
    Yarn: 1.22.18 - ~/.volta/tools/image/yarn/1.22.18/bin/yarn
    npm: 8.19.3 - ~/.volta/tools/image/node/16.19.0/bin/npm
  Browsers:
    Chrome: 108.0.5359.124
    Firefox: 108.0.1
    Safari: 16.2
  npmPackages:
    vitest: ^0.26.3 => 0.26.3

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

@sheremet-va
PR merged, issue closed as completed, but no patch version published.
is there an ETA? 😅

hi @sheremet-va
Is it possible to get a new release for this? Many thanks for the fix.

Vitest 0.27.0 has needed fix.

I'm still seeing the issue in v0.27.0 with sweetalert2
import Swal from 'sweetalert2';
vi.mock('sweetalert2');

TypeError: 'ownKeys' on proxy: trap returned extra keys but proxy target is non-extensible

Let me know if you would prefer me to open this as a new issue.

Any idea which release this fix will be in?

Thank you @sheremet-va 🙇


arm64: change some format

Summary
arm64: change some format
fix the comment in https://github.com/apache/nuttx/pull/14980
Impact
arm64
Testing
ci ostest

[Experimental Bot, please feedback here]
No, this PR does not fully meet the NuttX requirements. While it provides some information, it lacks crucial details.
Here's a breakdown of what's missing:

Summary:

Lacks a clear explanation of why the format change is necessary.  Is it for readability? Consistency? Correctness?  Just saying "fix the comment" isn't sufficient.  What was wrong with the comment?
Needs to specify which functional part of the code is being changed.  "arm64" is too broad. Is it in a specific driver?  A core architecture file?
Needs to explain how the change works. "change some format" is vague.  Provide specifics about the formatting changes.

Impact:

Simply stating "arm64" doesn't explain the impact.  The Impact section requires YES/NO answers for each category.  Even if the answer is NO, it should still explicitly state NO.  If the answer is YES, a description is required. For example:

Impact on user: NO
Impact on build: NO
Impact on hardware: YES (affects arm64 architecture, potentially impacting performance or code size - needs details)
...etc...

Testing:

"ci ostest" is insufficient. While CI testing is important, it should be supplemented with specific local testing details.  What build host was used? What specific arm64 target board and configuration?
The requirement specifically asks for "Testing logs before change" and "Testing logs after change." These are missing entirely.  Simply saying the change "works as intended" is not verifiable. Show evidence!  Even if the change is purely cosmetic, provide some form of output demonstrating the change.

In short, the PR needs to be much more descriptive and provide concrete evidence of testing and impact assessment.  Each section of the NuttX requirements needs to be addressed thoroughly.


Separate context scripts into early and late start

Author Name: Javi Fontan (Javi Fontan)
Original Redmine Issue: 1703, https://dev.opennebula.org/issues/1703
Original Date: 2012-12-20

Some services need to be started early in the boot process and others are better started at the end. Separating them in two directories and calling them at different times will be good for some configuration.

Already done.


Order of media queries in v5 (breakpoints object, defaultProps)

Using the latest v5, I ran into an issue of media queries being ordered wrong when used with a breakpoints object and defaultProps. This worked fine in v4.
Here's a https://codesandbox.io/s/styled-system-defaultprops-breakpoints-410v5 with a reproduction. I'll hold back from explaining what is going on there for now (in the hope that the sandbox code is self explanatory).

I have the same problems, in my case:

defaultProps now override all the props

example from rebass
const Header = styled(Text)({})

Header.defaultProps = {
  m: 0,
  mb: '8px'
}

So the defaultProps now override all m, mb when I create

I have the same issue but actually in v4. Unfortunately, for some reason, I can't reproduce it. It behaves like that in my project but not in any other environment :confused:

I think this was resolved in v5.0.18, but feel free to reopen this if you still notice the issue:
https://codesandbox.io/s/styled-system-defaultprops-breakpoints-bs2gf


Ability to maintain nullable DeletedAt column

[x] Do only one thing
[x] Non breaking API changes
[x] Tested

Now we can define default:null flag in the model definition and soft delete will act accordingly.
package models

import (
	"gorm.io/gorm"
	"gorm.io/plugin/soft_delete"
)

type Test struct {
	ID           uint64                `gorm:"column:id;primaryKey" json:"id"`
	CreatedAt    uint64                `gorm:"column:created_at" json:"created_at"`
	UpdatedAt    uint64                `gorm:"column:updated_at" json:"updated_at"`
	DeletedAt    soft_delete.DeletedAt `gorm:"column:deleted_at;default:null" json:"deleted_at"`
}

func (Test) TableName() string {
	return "test"
}

Hi @jinzhu, can you please look at this PR and make your suggestions ?

no tests found.

@jinzhu I added some test cases, can you please verify it ?

@jinzhu shall we tag this as a version ?


US 01.04.01: Player See Highest/Lowest QR Codes

As a player, I want to see my highest and lowest scoring QR codes.
Acceptance Criteria

In library, have (highest score) button as a number
In library, have (lowest score) button as a number
If (highest/lowest score) button clicked:

open highest/lowest codes + all info

Data:

Database of player-personal codes

done


Product stock inheritance issue

Description
Cant save product variation if you restore inheritance on the stock field.

Create a Product variation
Click on "Edit"
Scroll to "Deliverability" and click on the inheritance icon
Click on "Save"

Duplicates #537


Need guarding for develop / testing features

Develop / testing features:

Transaction signature verification workaround
Develop / testing client API

Fixed.


forgot to fix the add function

-fixes deprecated class name warning due to symfony upgrade 3.3
-ignores phpstorm files
sorry

@kadinho can we simply keep this change and use $this->add in the constructor instead?

Yes

Ok. Let me know, i will merge it.


Compilation errors on Cygwin GCC 5.4.0

The following code in runtime.cpp:
/// Undefined value constant
const Value Value::UNDEF(Word)0LL), TAG_UNDEF);
/// Boolean constants
const Value Value::FALSE(Word(0LL), TAG_BOOL);
const Value Value::TRUE(Word(1LL), TAG_BOOL);
/// Numerical constants
const Value Value::ZERO(Word(0LL), TAG_INT32);
const Value Value::ONE(Word(1LL), TAG_INT32);
const Value Value::TWO(Word(2LL), TAG_INT32);
Fails compilation with error:
call of overloaded ‘Word(long long int)’ is ambiguous
Seems the compiler can't make the link between int64_t and long long.
When I add casts to int64_t it works. Perhaps adding ULL instead of LL works too.

ULL does not work.  I really wish there was a way to explicitly name which constructor you want. I will add the casts as you suggest.

This may be compiler-specific though.

It is compiler-specific. I'm using clang on Mac and it doesn't give these errors, but it has given me type ambiguity errors in other areas before.
When we set up automated testing (CI) for this project, it might be wise to compile on both clang and G++.

Fixed :)


blue scroll bar

can I make a scrollbar at the same color of background header as blue color, border radius as 10px and box-shadow

like this

I think it will look nice. Can you assign me this issue please @harshita2216, thank you


single file conversion

Hello,
The documentation provides examples of how to convert an entire directory (batch mode). Is there a way to convert a single file? I would like to specify the path to a pdf document and the directory into which tei xml file should be created. I have looked around and was unable to find how to do so.

Dear @kaschioudi,
the idea behind the 'batch mode' is to convert big quantity of data. If you want to convert only one file, I would recommend you to use GROBID as a service and write your own script that post it through the web interface (see here)
Regards
Luca

Okay. thank you for your reply

Is this something that you might consider adding? We certainly have a use case for it, and it'd be easier than running it as a service. Would appreciate it, if it's trivial on your end.

@jalperin, I'd be happy to consider the idea. Could you please clarify your use case end 2 end?

Hi!
It is of course straightforward to add a single file command line process. The reason why it is not present currently is that, in such case, most of the processing time is spent for loading the models and lexicon, not processing the file. I think loading all the resources just for processing one file is not a usage to promote.
Since it is possible to use very easily the service (just on command line to start it) for processing files one by one (with both the advantage of the web console and the curl command line), keeping the benefit of having all the models and resources "warm" and multithreading, I think it is better not to add a usage that would lead to an inefficient/degraded usage of the tool.
But if you are not convinced by my arguments, let's add it :)


Set code owners for /.github

Granting people the ability to write into /.github/workflows can provide some measure of privilege escalation, so lock down access there.

Hi @sftim .
Are there other Sigs/repos that reserve or restrict workflows? Just wondering.

/lgtm
Awesome 💯

Are there other Sigs/repos that reserve or restrict workflows? Just wondering.

I'll file an issue against k/org

Issue filed: https://github.com/kubernetes/org/issues/2276

@sftim Thanks for this. Approving with a hold, in case you need https://github.com/kubernetes/org/issues/2276 to merge simultaneously. Feel free to /hold cancel at your discretion.
/approve
/hold

I'm going to merge this - if it's a problem, it's easy to remove.
/hold cancel


Create a separate contract which just stores a list of token sets.

[ ] Somehow check that the contract is exactly the same as the token sets ft contract

This ended up being merged with contract deploys


Application state necessary?

I like how the Haskell ADT is depicted on the left-hand side of the page, but do you think it's necessary to include during gameplay? Honestly, I wouldn't mind removing it altogether.

You are right, it doesn't need to be there. I initially put it there as it made debugging (especially in the earlier stages) a lot easier. I've currently partially removed it. It is still accessible in the code, but by default should not be visible. Guess I might have to do the same with ptigwe/hs-flatris.


Restructure stream creation form

To improve the stream creation flow, we should make the following changes.
Reorganize the stream creation panel

Remove the Stream permissions heading
Move the "Announce new stream in  {stream}" option just above "Default stream for new users". (It makes more sense to decide whether the stream is public or private first.)
Move less commonly changed settings into a collapsible "Advanced configurations" section, which should be collapsed by default. Note that we have plans to add more stream permission configurations in the future.

Who can post to the stream?
Who can unsubscribe others from this stream?"
Message retention period

Move "Choose subscribers" into a separate second step

Change title of the first panel to "Create stream: configure settings"
"Create" button should be "Continue to add subscribers"
The second panel should be "Create stream: add subscribers"

Change how adding users works
The biggest usability challenge with this panel right now is that adding users via the "Add" button is not intuitive in the stream creation context. We should:

Remove the Add button. Entering a pill should immediately add users to the table below.
Keep the pills in the box, and let it stretch to multiple lines to accommodate more pills.
Explode groups into individual user pills when added, like we do in the DM compose box. In the future, we should have a different concept for adding a group, but right now we are in fact adding users as individuals. This is necessary for keeping the pills and the table below consistent.
Removing users should be synced across the pills area and the table. So deleting a pill should delete the user from the table, and clicking "Remove" in the table should delete the pill.

Questions/notes:

I expect we'll want to update the group creation panel in parallel ways. This can be done at the same time or as a follow-up, whatever is easiest from an engineering perspective.

CZO thread

@zulipbot claim

@alya I can work on this if it is ready to be worked on

@kuv2707  I am working on this issue can you please pick another one :)

This was done in #29433.


Documentation improvements for v4.3.2

This issue tracks the following documentation improvements that we need to do on the repository and on the API reference for Kotools Types 4.3.2:

[ ] #215
[x] #250
[x] #257
[ ] #259
[x] #261
[x] #274
[x] #275
[ ] #283
[ ] #288
[ ] #289
[ ] #307

Each item will be referenced individually in the roadmap.