synthseg crash

I'm running qsiprep 0.18.0 on a standard (bids-validated) dataset like this:
tree bids/sub-001
bids/sub-001
|-- anat
|   |-- sub-001_acq-MPRAGE_rec-biascorr_run-1_T1w.json
|   |-- sub-001_acq-MPRAGE_rec-biascorr_run-1_T1w.nii.gz
|   |-- sub-001_acq-TSE_rec-biascorr_run-1_T2w.json
|   |-- sub-001_acq-TSE_rec-biascorr_run-1_T2w.nii.gz
|   |-- sub-001_run-1_UNIT1.json
|   |-- sub-001_run-1_UNIT1.nii.gz
|   |-- sub-001_run-1_echo-1_part-mag_MEGRE.json
|   |-- sub-001_run-1_echo-1_part-mag_MEGRE.nii.gz
|   |-- sub-001_run-1_echo-1_part-phase_MEGRE.json
|   |-- sub-001_run-1_echo-1_part-phase_MEGRE.nii.gz
|   |-- [..]
|   |-- sub-001_run-1_echo-9_part-mag_MEGRE.json
|   |-- sub-001_run-1_echo-9_part-mag_MEGRE.nii.gz
|   |-- sub-001_run-1_echo-9_part-phase_MEGRE.json
|   |-- sub-001_run-1_echo-9_part-phase_MEGRE.nii.gz
|   |-- sub-001_run-1_inv-1_MP2RAGE.json
|   |-- sub-001_run-1_inv-1_MP2RAGE.nii.gz
|   |-- sub-001_run-1_inv-2_MP2RAGE.json
|   `-- sub-001_run-1_inv-2_MP2RAGE.nii.gz
|-- dwi
|   |-- sub-001_acq-HARDI_dir-AP_run-1_dwi.bval
|   |-- sub-001_acq-HARDI_dir-AP_run-1_dwi.bvec
|   |-- sub-001_acq-HARDI_dir-AP_run-1_dwi.json
|   |-- sub-001_acq-HARDI_dir-AP_run-1_dwi.nii.gz
|   |-- sub-001_acq-HARDI_dir-AP_run-1_sbref.json
|   `-- sub-001_acq-HARDI_dir-AP_run-1_sbref.nii.gz
`-- sub-001_scans.tsv

qsub -l nodes=1:ppn=2,walltime=72:00:00,mem=20000mb,file=50gb -N qsiprep_sub-001  <<EOF
cd /project/3015046.06
apptainer run --cleanenv  --bind \$TMPDIR:/tmp /opt/qsiprep/0.18.0/qsiprep-0.18.0.sif bids bids/derivatives participant --output-resolution 1.8 -w \$TMPDIR/sub-001 --participant-label 001 --skip-bids-validation --fs-license-file /opt_host/fmriprep/license.txt --mem_mb 20000 --omp-nthreads 2 --nthreads 2
EOF

It runs for several hours but crashes on mri_synthseg:
QSIPrep failed: Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 527, in run
    result = self._run_interface(execute=True)
  File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 645, in _run_interface
    return self._run_command(execute)
  File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 771, in _run_command
    raise NodeExecutionError(msg)
nipype.pipeline.engine.nodes.NodeExecutionError: Exception raised while executing Node synthseg.

Cmdline:
        mri_synthseg --i /scratch/marzwi/49347907.dccn-l029.dccn.nl/sub-260/qsiprep_wf/single_subject_260_wf/anat_preproc_wf/pad_anat_reference_wf/resample_skulled_to_reference/sub-260_acq-MPRAGE_rec-biascorr_run-1_T1w_lps_trans.nii.gz --threads 2 --post sub-260_acq-MPRAGE_rec-biascorr_run-1_T1w_lps_trans_post.nii.gz --qc sub-260_acq-MPRAGE_rec-biascorr_run-1_T1w_lps_trans_qc.csv --o sub-260_acq-MPRAGE_rec-biascorr_run-1_T1w_lps_trans_aseg.nii.gz
Stdout:

Stderr:
        Aborted (core dumped)
Traceback:
        Traceback (most recent call last):
          File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 453, in aggregate_outputs
            setattr(outputs, key, val)
          File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 330, in validate
            value = super(File, self).validate(objekt, name, value, return_pathlike=True)
          File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 135, in validate
            self.error(objekt, name, str(value))
          File "/usr/local/miniconda/lib/python3.8/site-packages/traits/base_trait_handler.py", line 74, in error
            raise TraitError(
        traits.trait_errors.TraitError: The 'out_seg' trait of a _SynthSegOutputSpec instance must be a pathlike object or string representing an existing file, but a value of '/scratch/marzwi/49347907.dccn-l029.dccn.nl/sub-260/qsiprep_wf/single_subject_260_wf/anat_preproc_wf/synthseg_anat_wf/synthseg/sub-260_acq-MPRAGE_rec-biascorr_run-1_T1w_lps_trans_aseg.nii.gz' <class 'str'> was specified.

        During handling of the above exception, another exception occurred:
[..]

See the attached files for more details. I'm stuck here, does anybody have any suggestions on what to do now?
qsiprep_sub-001.e49347653.log
qsiprep_sub-001.o49347653.log
crash-20230627-123725-marzwi-synthseg-859f4773-2ab1-45b4-8376-7d61b7d426c3.txt

crash-20230627-123725-marzwi-synthseg-859f4773-2ab1-45b4-8376-7d61b7d426c3.txt
qsiprep_sub-001.e49347653.log
qsiprep_sub-001.o49347653.log

I would bet on there not being enough memory. SynthSeg takes a massive amount of memory to run, and if it's also being run in parallel with other things (here you have a very modest 2 threads). If possible I would increase memory to ~40GB just to be safe. Or you can fix nthreads to 1, which should work with the 20GB you're requesting but will take a long time to run.

I got the same error using 40GB (and 2 threads)...

Maybe it helps to mention that the voxelsize of my T1w image is 0.8mm^3 (which was not a problem for qsiprep 0.16)

Synthseg should resample the image to 1mm isotropic. But I looked at the mri_synthseg script and it does not appear to crop the image by default, which the original synthseg implementation does. This would mean its memory requirements will scale by the size of the T1w image FOV.

@marcelzwiers do you still have a copy of the working directory from the crashing runs?
QSIPrep does its own resampling of the images using ants to avoid the internal image processing in the synths (which was causing even MORE memory use), maybe there is a bug in how this workflow handles <1mm inputs.

I think I have the same problem with singularity. I have 512 GB of mem.
singularity run --cleanenv -B /license:/license -B ${TMPDIR}:/tmp -B ${NIFTI}:/input -B {OUTPUT}:/output  /pool/container/qsiprep_v0.18.1_js.simg  --participant-label jg45  --freesurfer-input /output/fmriprep/sourcedata/freesurfer --output-resolution 2 --hmc-model eddy --ignore fieldmaps --use-syn-sdc --force_syn  --fs-license /license/license --separate_all_dwis --nthreads 1  --omp-nthreads 1 -w /tmp  --notrack /input /output participant
nipype.pipeline.engine.nodes.NodeExecutionError: Exception raised while executing Node synthseg.
Cmdline:
mri_synthseg --i /tmp/qsiprep_wf/single_subject_jg45_wf/anat_preproc_wf/pad_anat_reference_wf/resample_skulled_to_reference/sub-jg45_ses-20230627_acq-mprage10p2_T1w_lps_trans.nii.gz --threads 1 --post sub-jg45_ses-20230627_acq-mprage10p2_T1w_lps_trans_post.nii.gz --qc sub-jg45_ses-20230627_acq-mprage10p2_T1w_lps_trans_qc.csv --o sub-jg45_ses-20230627_acq-mprage10p2_T1w_lps_trans_aseg.nii.gz
Stdout:
Stderr:
Illegal instruction
Traceback:
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 453, in aggregate_outputs
setattr(outputs, key, val)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 330, in validate
value = super(File, self).validate(objekt, name, value, return_pathlike=True)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 135, in validate
self.error(objekt, name, str(value))
File "/usr/local/miniconda/lib/python3.8/site-packages/traits/base_trait_handler.py", line 74, in error
raise TraitError(
traits.trait_errors.TraitError: The 'out_post' trait of a _SynthSegOutputSpec instance must be a pathlike object or string representing an existing file, but a value of '/tmp/qsiprep_wf/single_subject_jg45_wf/anat_preproc_wf/synthseg_anat_wf/synthseg/sub-jg45_ses-20230627_acq-mprage10p2_T1w_lps_trans_post.nii.gz' <class 'str'> was specified.

I've found that synthseg memory use peaks shortly before it exits - watching the process with htop it is stable for a while then shoots up.

Are you able to call mri_synthseg within the container?
singularity shell   /pool/container/qsiprep_v0.18.1_js.simg
Singularity qsiprep_v0.18.1_js.simg:/opt/freesurfer/bin> mri_synthseg
RuntimeWarning: scipy._lib.messagestream.MessageStream size changed, may indicate binary incompatibility. Expected 56 from C header, got 64 from PyObject
Illegal instruction

Sorry, it was my modified container to avoid the bmat error. With the origiral container I run into
ImportError: cannot import name 'bmat' from 'scipy.sparse.sputils' (/usr/local/miniconda/lib/python3.8/site-packages/scipy/sparse/sputils.py)
again.

Do you recommend --containall over --cleanenv? I always use the latter but I don't know about advantages of containall (except for disk mounts)...

I've been using --containall recently, it will also keep the environment variables from being included. Lots of problems recently are from python libraries in home directories

I tried singularity shell --containerall qsiprep_v0.18.1.simg (or --cleanall)
/opt/freesurfer/bin/mri_synthstrip --help  is fine
/opt/freesurfer/bin/mri_synthseg --help
Illegal instruction
docker exec -it  bash
/opt/freesurfer/bin/mri_synthseg --help
Illegal instruction (core dumped)
The same on a different server with apptainer
/opt/freesurfer/bin/mri_synthseg --help
Illegal instruction
I am not able to call mri_synthseg --i my_file --o ... or the command mentioned in the log file.
Some of the other commands in /opt/freesurfer/bin are not working due to missing libraries.

What can happen is that singularity containers use python libraries from your .local folder in your home directory. You can avoid that by running export SINGULARITY_PYTHONNOUSERSITE=1 before you run your container

That's the nice thing about --containall, it prohibits the user home directory from being mounted, so it's not possible for any of the ~/.* config directories to affect the container's behavior.

@mattcieslak  sorry, typo. I used containall.
On buster I am getting always the bmat error with singularity 2.6.1-dist. With --clearall, --containall, wtih export SINGULARITY_PYTHONNOUSERSITE=1
With docker the traits error.
Wtih bullseye (different server, different ~ dir) the traits error,
The servers  are older ones with 80 cores  Intel(R) Xeon(R) CPU E7- 4870  @ 2.40GHz, 512 GB mem.

@marcelzwiers I'm also seeing some issues with your BIDS curation in the error log. Have you tried getting the input data to pass the BIDS validator?

I'm on holiday now so just a quick answer. Yes, I did check with the
bids-validator, and that was all fine. It's a bids 1.8 dataset, what did
you see?

Sent from my phone
Op vr 28 jul. 2023 16:50 schreef Matt Cieslak @.***>:

@marcelzwiers https://github.com/marcelzwiers I'm also seeing some
issues with your BIDS curation in the error log. Have you tried getting the
input data to pass the BIDS validator?
—
Reply to this email directly, view it on GitHub
https://github.com/PennLINC/qsiprep/issues/595#issuecomment-1655821069,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTUGL27D3SYNIFNTQGDWNDXSPGUXANCNFSM6AAAAAAZWY5AOE
.
You are receiving this because you were mentioned.Message ID:
@.***>

this is likely a problem with the bids validator in the qsiprep container. Sorry for the misdirection

This should be fixed, or at least produce a more informative error in 0.20.0. Please open a new issue if there are still problems!


Error: Failing in Transpose layer (Cannot permute batch dimension. Result may be wrong )

graph node: CRNN type: onnx::Transpose inputs: ['68'] outputs: ['CRNN'] name in state_dict:  attrs: {'perm': [2, 0, 1]} is_terminal: False Converting transpose ... !!! Cannot permute batch dimension. Result may be wrong !!! Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/home/ben/.local/lib/python3.6/site-packages/pytorch2keras/converter.py", line 143, in pytorch_to_keras     if node_inputs[0] in model_inputs: IndexError: list index out of range

hello, @bendangnuksung!
Yep, Transpose / Squeeze layers a bit different in Keras and in PyTorch, so, there are some workarounds for that. As far as i can see, your model has multiple inputs and the error is related to that.
Can you please share your model to debug this case?

import torch.nn as nn
class BidirectionalLSTM(nn.Module):
def __init__(self, nIn, nHidden, nOut):
    super(BidirectionalLSTM, self).__init__()

    self.rnn = nn.LSTM(nIn, nHidden, bidirectional=True)
    self.embedding = nn.Linear(nHidden * 2, nOut)

def forward(self, input):
    recurrent, _ = self.rnn(input)
    T, b, h = recurrent.size()
    t_rec = recurrent.view(T * b, h)

    output = self.embedding(t_rec)  # [T * b, nOut]
    output = output.view(T, b, -1)

    return output

class CRNN(nn.Module):
def __init__(self, imgH, nc, nclass, nh, n_rnn=2, leakyRelu=False):
    super(CRNN, self).__init__()
    assert imgH % 16 == 0, 'imgH has to be a multiple of 16'

    ks = [3, 3, 3, 3, 3, 3, 2]
    ps = [1, 1, 1, 1, 1, 1, 0]
    ss = [1, 1, 1, 1, 1, 1, 1]
    nm = [64, 128, 256, 256, 512, 512, 512]

    cnn = nn.Sequential()

    def convRelu(i, batchNormalization=False):
        nIn = nc if i == 0 else nm[i - 1]
        nOut = nm[i]
        cnn.add_module('conv{0}'.format(i),
                       nn.Conv2d(nIn, nOut, ks[i], ss[i], ps[i]))
        if batchNormalization:
            cnn.add_module('batchnorm{0}'.format(i), nn.BatchNorm2d(nOut))
        if leakyRelu:
            cnn.add_module('relu{0}'.format(i),
                           nn.LeakyReLU(0.2, inplace=True))
        else:
            cnn.add_module('relu{0}'.format(i), nn.ReLU(True))

    convRelu(0)
    cnn.add_module('pooling{0}'.format(0), nn.MaxPool2d(2, 2))  # 64x16x64
    convRelu(1)
    cnn.add_module('pooling{0}'.format(1), nn.MaxPool2d(2, 2))  # 128x8x32
    convRelu(2, True)
    convRelu(3)
    cnn.add_module('pooling{0}'.format(2),
                   nn.MaxPool2d((2, 2), (2, 1), (0, 1)))  # 256x4x16
    convRelu(4, True)
    convRelu(5)
    cnn.add_module('pooling{0}'.format(3),
                   nn.MaxPool2d((2, 2), (2, 1), (0, 1)))  # 512x2x16
    convRelu(6, True)  # 512x1x16

    self.cnn = cnn
    self.rnn = nn.Sequential(
        BidirectionalLSTM(512, nh, nh),
        BidirectionalLSTM(nh, nh, nclass))

def forward(self, input):
    # conv features
    conv = self.cnn(input)
    b, c, h, w = conv.size()
    assert h == 1, "the height of conv must be 1"
    conv = conv.squeeze(2)
    conv = conv.permute(2, 0, 1)  # [w, b, c]

    # rnn features
    output = self.rnn(conv)

    return output

Hello @bendangnuksung.
I see the problem now. The recurrent layers don't converting properly in this version of converter. I will add support of them as soon as possible.


vWan & azure firewall & private appgw v2

Hi Azure Team,
I'm trying to create a private appgw v2 behind the vWan (protected with an Azure Firewall)
I tried

by adding a route table on the VNET (<IP_ADDRESS>/0 to Internet, MyPrivateCIDR to VNetLocal) and a NSG to filter Internet trafic : Backend Health and metric works but I have no more traffic from my other VNET (no flow in the Firewall logs)
by setting bypass next hop on the Virtual Network connections : No more Internet filtering (via the NSG), but the traffic goes through the firewall from my other VNET

My question is how to set a private AppGW v2 with a "classic configuration" VWan/Azure Firewall. If it's possible I think this should be documented as a standard configuration
Best regards

https://learn.microsoft.com/en-us/azure/virtual-wan/scenario-secured-hub-app-gateway#scenario-1


RFXtrx Cover

Hi
I have found a problem that RFXtrx Cover don't store latest state, is it possible to add it?

This is the issue tracker. Please use the forum for feature requests. Thanks


Fix oversight of LiRA's IRI

there is an error in the frontend pipeline

there is an error in the frontend pipeline

yeah weird there was an "internet connexion" with the GitHub server...


[Bug] Pull request feedback select will be disappeared if switch to another tab

Reproduce
https://github.com/user-attachments/assets/5d32fd3d-bf54-4bc6-adad-28d5431f88a5

Close after release v0.1.1


Improvements across the wall.

@vadymmarkov it's sorta done.

@RamonGilabert :scream_cat: You merged by yourself!


How to change the Light bounce color?

i tried everything to change the bouncing orange color but didnt work.
anyone knows how? thank you.

solved you need to change folio-2019\src\models\matcaps  *.png files bouncing orange color to the preferred color (how? -> I opened them with photoshop and used the Hue/Saturation tool)


GH-693<EMAIL_ADDRESS>(minor release)

Thanks @dpogue, extra parens should now be gone.
FYI I was not able to raise new JIRA issue, that is why I used GH number. I think this is not the ultimate solution since there is a potential for GH number collisions. I would like to address this another day.

The ones that reference just a GH issue or pull request are fine. I'm referring to the ones that currently include both a JIRA link at the start of the sentence and a GH link at the end.
i.e.,

CB-14033 Support symbolic dir links on Windows (GH-621)

should probably just be

CB-14033 Support symbolic dir links on Windows

Merging this PR as reviewed and approved by @janpio.


Allow overriding external port in SERVER_URL

This allows setting
SERVER_URL=https://api.example.com:8443
instead of
SERVER_URL=https://api.example.com and
EXT_PORT=8443

This PR broke Heroku deploys for me.
remote: github.com/denverquane/amongusdiscord/discord
remote: # github.com/denverquane/amongusdiscord/discord
remote: discord/message_handlers.go:55:27: urlregex.SubexpIndex undefined (type *regexp.Regexp has no field or method SubexpIndex)
remote: discord/message_handlers.go:56:25: urlregex.SubexpIndex undefined (type *regexp.Regexp has no field or method SubexpIndex)
remote: discord/message_handlers.go:57:31: urlregex.SubexpIndex undefined (type *regexp.Regexp has no field or method SubexpIndex)
remote: note: module requires Go 1.15
remote:  !     Push rejected, failed to compile Go app.
remote:
remote:  !     Push failed

Maybe check the other PRs then? Just fixed https://github.com/denverquane/amongusdiscord/pull/135

Yep, I got there eventually.

Is it intentional for port to be required in the HOST parameter?
My previous parameters were:
SERVER_URL=https://amongus.domain.com
EXT_PORT=protocol
This would generate a URL of aucapture://amongus.domain.com
I was able to get this new implementation working by giving it the default HTTPS port, but not specifying the port would be even better.
New parameters:
HOST=https://amongus.domain.com:443
Generates URL:
aucapture://amongus.domain.com:443
Intended behavior:
HOST=https://amongus.domain.com
Generates URL:
aucapture://amongus.domain.com

https://amongus.domain.com:443 is a redundant URL. The default port for https is 443.

I'm unsure whether you are agreeing with my comment or not.
If I specify https://amongus.domain.com, the regex fails at https://github.com/denverquane/automuteus/blob/6da612fcd02cd761a1f9b605137767aaa996ab58/discord/message_handlers.go#L34
then the bot returns:
Click the following link to link your capture: <Invalid HOST provided (should resemble something like http://localhost:8123)>

This is mostly intentional. If the user is specifying a HOST, they should be explicitly setting the port within that host variable. I'm of the opinion that, given this isn't a typical webapp, assuming :80 or :443 isn't necessarily the idiomatic thing to do, but I'm also open to feedback on that front.

I did remove the protocol option amidst other regex changes and control flow errors with this MR, but maybe I should find a way to reincorporate that functionality

I use a reverse proxy and docker so the port numbers aren't important to me at all as I can map them to whatever I want.
I would side with having the port being optional, but it's more of a nice to have. The bot still works for me if I specify the HTTPS port 443 so no complaints here. Just curious if it was intentional and sharing for others who had similar setups.

I'm of the opinion that, given this isn't a typical webapp, assuming :80 or :443 isn't necessarily the idiomatic thing to do

Those default ports are an integral part of the HTTP/HTTPS standard, which is used for websockets. So I think any behavior otherwise is needlessly out-of-spec.
Instead, I'd suggest that it's the regex that's wrong here, and that port should be inferred by protocol if not set. (Or, ideally, use a proper URL-parsing library instead of regex.)

At the time this PR was merged that worked.
If there was a no port in SERVER_URL and EXT_PORT was not set there would be no port in the link sent to the user

True. But during that time, if user's didn't provide an external port nor a port in the SERVER_URL, then no default was chosen, as shown on this line:
https://github.com/denverquane/automuteus/pull/128/files#diff-6b49379d4519e2cd6a00823c3f50deb38a91e84b191bcabfa369c18b71438cd4R63
:8123 is probably the reasonable choice there (and was for some time), but when I refactored the HOST variable (and added support for trailing slashes, among other things), I removed that protocol definition.
Now that the control flow is fixed, though, it would probably be a good idea for me to add it back. I agree with what Tanner said, with the caveat that I mean "idiomatic" in the context of this application, not web standards in general. I don't trust users to understand that specifying https://host.com/ would rely on them also running the Bot w/ port 443 (or worse, having a reverse proxy or the like), but maybe it's more about conforming to standards than it is conforming to inattentive users 😆

I could have the bot default to running on port 443 if the HOST is https and has no port, and PORT is unprovided, but then that approach also assumes the user doesn't have a reverse proxy (or if they do, is one that maps :443 -> :443, instead of :443->:8123). Endless tradeoffs and pro/cons, but maybe that one is the kindest to the most users


Fix #271 Skip Non-NodeJS Functions

This plugin currently breaks your serverless stack if you have any non-nodejs functions (Python, Java, etc.) also in it. This skips them
This is based on this old PR: #197 (Merge conflicts and some unnecessary changes)
This closes #271
Change summary:

Update to typescript 4.* (fixes tsc error I was getting before making any changes, I can revert if you don't want this update)
Only grab functions of nodejs type (Fixes error this causes for non-nodejs functions)
Add test (copied from #197)

@medikoo Could you please review this PR?
(Sorry, if this is not the right way to request a review)

@medikoo Thanks for the review. I have made some changes

I'm getting the following error
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined

I think when specifying packaging individually option we reach this line
https://github.com/serverless/serverless-plugin-typescript/blob/master/src/index.ts#L281
and it doesn't seem to include the fix

@avivshafir Could you please share your serverless.yml and your package-lock.json (so, I can check your commit hash)
Note: this change has not been released to npm(you need to install directly from GitHub if you want it)

@sazzy4o
https://gist.github.com/avivshafir/b984c80879938c44a77dc907e72bc374
running version 2.1.4 of serverless-plugin-typescript
and serverless version 3.23.0

Seems like it's happening only when I'm setting the python lambda to use an image parameter

I haven't had time to properly test yet, but you can try this fix:
https://github.com/sazzy4o/serverless-plugin-typescript/commit/b9d3ae40845d4e1a13e3de9fe289e0d2f14011d6
(I should have some time to test and create a PR over the next few days)


Could you please put a environment toggle ? it would make us much more productive

Currently, there is an environment reference, you could change that into a toggle.

That make a lot of sense. Thanks for pointing this out!

It's already in the code base. Soon it will be released.

That is awesome!
On Sun, 1 Oct 2017 at 22:52 Paweł Psztyć<EMAIL_ADDRESS>wrote:

It's already in the code base. Soon it will be released.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jarrodek/ChromeRestClient/issues/1036#issuecomment-333424415,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADtT8sVHgRpZ3HH6DXc1_3q6GLGeeVyks5soEHRgaJpZM4OyLt5
.

The release has been published with this issue resolved.


Run apidocs action only when system files are changed

Description
Currently, apidocs-action runs on every push to develop regardless if there are changes to system files. So this PR adds a paths to the action's syntax. This is consistent with our phpdoc.dist.xml which transforms only files in the system directory.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Really nice addition, thanks!


Old APK

Is it possible to get old APK from this package, or just latest version? Similar to this:
https://www.apkmirror.com/uploads/?q=github-2

Is it possible to get old APK from this package, or just the atest version? Similar to this:
https://www.apkmirror.com/uploads/?q=github-2

I don't know, most websites download it and save it


docs: Add VS Code support

Description
Provide instructions for configuring ESLint in VS Code.

Thanks, I forgot this information. I will change this a little bit, but this is a good contribution.


Possible installation bug

In the installation directives the line 6 states npm config set prefix %NODIST_PREFIX%\bin. However, if NODIST_PREFIX happens to have a space in it like setx /M NODIST_PREFIX "C:\Program Files\nodist" then npm will use npm config set prefix C:\Program which is not the intended path.
Maybe change the directive for npm config set prefix "%NODIST_PREFIX%\bin" to avoid possible issues.

fixed, thanks for reporting!


Fix issue 392 (Move oXygen documentation from build.xml to Wiki)

This pull request derives from #470. So needs to be handled after that.

Fixes #392
Just updates <description>. No substantial change.

@cirulls
Merged this simplification of comment.


Fix bug in validate_args!/1

Hi @koudelka,
Thanks for creating honeydew, it's been my go to job queue for all my elixir projects.
I'm having one problem with setting up a global queue following the example in global.
    :ok = Honeydew.start_queue({:global, :my_queue}, queue: {Honeydew.Queue.Mnesia, [[node()], [disc_copies: nodes], []]})

This always fails because nodes_list/1 is trying to do Keyword.get/3 on a list.

I'm not sure this is the fix but when starting up validate_args/1 receive [[node()], [disc_copies: nodes], []] instead of [disc_copies: nodes]

hey there @Schultzer, it looks like i've forgotten to update the docs in that section, sorry about that!
i've pushed a fix, mind trying it out? :)

Thanks, it works! ❤

No worries, Nomad looks awesome, btw! :)


Property is_ready always returns false

In model.py, the property is_ready (line 137) always returns false, regardless of the value of the variable execution_status.
I ran the following code:
json = {
    "report_type": "network_analytics",
    "timezone": "Europe/Amsterdam",
    "columns": COLOUMNS,
    "filters": [{"advertiser_currency": ["NOK"]}],
    "report_interval": "last_30_days",
    "format": "csv"
}
report = Report(json).save()
report.is_ready

I got the result False even though the execution status in the response was "ready".
This makes it impossible to check that the report is ready and further makes the function download (line 130) retry the total number of times specified in retry_count regardless of whether the report is ready earlier or not.

Hi,
Thanks for submitting this issue, i made a PR that fix it.

Hi,
Thanks for submitting this issue, i made a PR that fix it.

Thank you for fixing it so quickly! :)

Hi,
The fix is now on master and part of our last release 0.8.1


Block Number Hyperlinks are Broken on the Timeline pages

See https://polkadot.polkassembly.io/referendum/116 as an example, click on the Timeline tab and click on any linked Block.
The generated links to blocks in the timeline are incorrect. An example of the incorrect URL: https://polkadot.subscan.io/15245977
The correct URL is: https://polkadot.subscan.io/block/15245977

Weird because it looks correct here https://github.com/Premiurly/polkassembly/blob/a3768678aa5f9ba87f5f76a61bd30eb713289234/front-end/src/components/Post/Tabs/PostTimeline/TimelineContainer.tsx#L83-L85 maybe some sort or regression in Prod?

Hi @x676f64 , thank you for raising the issue. This is fixed with : https://github.com/polkassembly/polkassembly/pull/201


Replace authors by link to insights/contributors

https://github.com/Pelican-Elegant/elegant/graphs/contributors

I’m unconvinced.
GitHub lists committers, not authors (those are two separate fields in Git).
Another issue is that @talha131 has had the really nice (although probably a bit time-consuming) custom of thanking people who did not contribute code directly or whose code he rewrote before committing it. I would suggest we are more inclusive in our thanks than exclusive, especially if we want to get the community more active.
Another approach would be to adopt https://github.com/kentcdodds/all-contributors

who did not contribute code directly or whose code he rewrote before committing it

Nice observation.
I am personally in favor of manually updating the thanks file. But I am not sure if we can maintain it.
This is very cool https://github.com/kentcdodds/all-contributors. If we decide maintaining file manually would be a chore, which we can't volunteer time for, then we will to all-contributors approach.
@calfzhou @AWegnerGitHub What do you think guys?

I'm good with either way. I have no strong opinion in either direction - manually maintaining or automatically maintaining. Perhaps stick with the manual maintenance for the time being and switch to automation if/when we have more contributions?

+1

Still looks (checked it the first time it was mentioned) as a way to
standardize reporting of contributors, but it's to be done manually
I'll try to check if I can find anything just in case
Regards
Sent from mobile
El sáb., 29 dic. 2018 19:27, Talha Mansoor<EMAIL_ADDRESS>escribió:

@iranzo https://github.com/iranzo can you please look into
https://github.com/kentcdodds/all-contributors, since you have become our
automation expert :)

How comprehensive is it? We don't want to ignore people who
reported issues or suggested solutions.
Can it be automated?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Pelican-Elegant/elegant/issues/227#issuecomment-450511275,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATEj9VyICT3OhTVAF_M0Y_Z2B08OxCkks5u97QLgaJpZM4ZUUse
.

There's a 'CLI', but still requires manual addition for contributors
Probably extra overhead to keeping actual CONTRIBUTORS and a link to
'coders'
What do you think?
El sáb., 29 dic. 2018 a las 20:42, Pablo<EMAIL_ADDRESS>escribió:

Still looks (checked it the first time it was mentioned) as a way to
standardize reporting of contributors, but it's to be done manually
I'll try to check if I can find anything just in case
Regards
Sent from mobile
El sáb., 29 dic. 2018 19:27, Talha Mansoor<EMAIL_ADDRESS>escribió:

@iranzo https://github.com/iranzo can you please look into
https://github.com/kentcdodds/all-contributors, since you have become
our automation expert :)

How comprehensive is it? We don't want to ignore people who
reported issues or suggested solutions.
Can it be automated?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Pelican-Elegant/elegant/issues/227#issuecomment-450511275,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATEj9VyICT3OhTVAF_M0Y_Z2B08OxCkks5u97QLgaJpZM4ZUUse
.

As it turns out, we can't maintain the list manually. https://github.com/all-contributors/all-contributors is our only hope.
@iranzo can you take on this issue? We will have to enable https://github.com/all-contributors/all-contributors
We do not want it to pollute README file. It should add the contributors to Authors or Thanks file.

:tada: This issue has been resolved in version 2.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

Cool stuff. But I see two small things that need to be fixed still:

the AUTHORS.md file still exists, so we either remove it in favour of THANKS.md (or the more common CONTRIBUTORS.md) or we discuss what the difference is between the two
not all past contributors are listed at the top of THANKS.md

the AUTHORS.md file still exists

Good catch. I have removed it.

not all past contributors are listed at the top of THANKS.md

I mailed you a while ago on this issue on June 30.

Matija another issue I need your help with is updating the contributors list. Now that we have support for all-contributors bot.
https://github.com/Pelican-Elegant/elegant/issues/227
We need to go through old PR and issues and credit people. The usage is pretty simple
https://allcontributors.org/docs/en/bot/usage
But time consuming to some extent.
If you do little but steady review daily of issues and PR then we would be done in at most 2-3 months. 2-3 months is fine as long as you are able to do regularly.

If you or anyone else is interested in going through outdated portion of Thanks file and also old PR and issues, and add those contributors using all contributors bot, that would be really great.
On my part, I add people as I come across them.

:tada: This issue has been resolved in version 3.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

Do we still want to go through the old list manually and move them? If so, it would make sense to either re-open this issue or open a new one.
Feel free to assign it to me, I haven’t done much for Elegant lately.

I would very much appreciate if you can go through the old list and open PRs for them.

Go through the links in Thanks file and open PR for them
Add PR for me and yourself too
If possible go through closed/merged PR  and issues between Thanks last updated manually and all_contributors bot added to the project
Let me merge the PR myself.

And

Let me know if you have questions.
Let me know if you need help with the all_contributors bot
As long as we can make slow but steady progress we are good.
In case you get tired or do not feel interested any more then do close this issue. (No questions will be asked asked). We don't want stale issues that no one is interested in handling lying around.

Closing for lack of activity. Lets move forward. There are so many other open issues to tackle.


Feature Request: Split tweets & retweets timeline on a user page.

Similar to how the main timeline is split into a tweets and retweets sections, do you think it'd be possible to do the same thing for user profiles?
I wanted to check if this is not a configuration I had missed or already being worked on. Happy to contribute myself after hearing your thoughts!

I wanted to submit this myself, but I found this while looking through the open issues. This would be really useful indeed! Sometimes it's hard to actually find a person's tweets among the ton of stuff they retweet, and a function like this would help a lot!

Closing as a duplicate of #13 - the main issue with doing this is the amount of work required to keep your fake "Retweets" timeline working when the user does other things on the page which change the title. That was really painful to get right for the main timeline, which is the only thing which stops me starting this


@AfterSpec creates new object, instead of reusing the object that was used for @Step and @BeforeSpec, losing state

When running @BeforeSpec and @AfterSpec, a new object is constructed for both @BeforeSpec and @AfterSpec methods. This is unexpected as the state is preserved when calling @BeforeSpec and @Step, but a new state is created for the @AfterSpec call.
Fix would be to make sure that during @AfterSpec the original object/state is reused, instead of a new object/state being created.
My use case: @BeforeSpec: create Selenium WebDriver, @AfterSpec: close WebDriver. This way a new browser is created for each spec.
Output:
[INFO] --- gauge-maven-plugin:1.0.1:execute (default) @ afterSpecTest ---
MyTestSpec
==========
Constructing new TestImplementation object
Running BeforeSpec

Test Scenario
-------------
←[0;34;49m* MyTestStep
←[0mRunning TestStep
←[2A←[0;32;49m* MyTestStep
←[0m←[2BConstructing new TestImplementation object
Running AfterSpec
[Html Report Plugin] : Sucessfully generated html reports to => [..some path..]
11:54:05.025 [INFO] 1 scenarios executed, 0 failed

Spec file:
MyTestSpec
=====================
The implementation class TestImplementation has the @Step MyTestStep,
and implementations for @BeforeSpec and @AfterSpec. When @AfterSpec is
executed, a new TestImplementation object is created, which is unexpected.

Test Scenario
--------------
* MyTestStep

Implementation file
public class TestImplementation {
	public TestImplementation() {
		System.out.println("Constructing new TestImplementation object");
	}

	@BeforeSpec
	public void setUp(SpecificationInfo info) {
		System.out.println("Running BeforeSpec");
	}

	@AfterSpec
	public void tearDown(SpecificationInfo info) {
		System.out.println("Running AfterSpec");
	}

	@Step("MyTestStep")
	public void testStep() {
		System.out.println("Running TestStep");
	}
}

Gauge has a configuration to specify the level at which you want to clear the cache and use new objects. By default, this is at scenario level.
If you want it to be at specification level, you can set this property in PROJECT_ROOT/env/default/java.properties :
gauge_clear_state_level = spec

Refer documentation to see all the possible levels to clear cache.

Ok, I understand now. My advice is that you put some warnings about the cache on the hooks page, to avoid confusion.

Thank you for the feedback. We will enhance the documentation.


fix move_data_files.py to include all notebooks and test on all 3 platforms

Tested on OSX, Windows, and Linux, and everything looks good!


add heartbeat support for firestore

Add a GrpcMetadataProvider class which provides both the user agent string and the heart beat information which is then used by grpc_connection to add their corresponding values to the header.

Closing since there hasn't been progress in a very long time.


feat(interactive): Implement admin http service for hqps engine

Implement an HTTP service that provides admin management services for the HQPS engine. Including

CreateGraph
LoadGraph
DeleteGraph
GetGraphSchema
CreateProcedure
GetProcedure
UpdateProcedure
RemoveProcedure
StartService
ServiceStatus
NodeStatus

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: zhanglei1949:x: xiaolei.zlxiaolei.zl seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #3322 (8ca18a9) into main (9de9055) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #3322   +/-   ##
=======================================
  Coverage   41.04%   41.04%
=======================================
  Files         109      109
  Lines       11298    11298
=======================================
  Hits         4637     4637
  Misses       6661     6661

Continue to review full report in Codecov by Sentry.

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


Initial MetadataTransform commit

This transforms the type system object model into the metadata writer
object model. The metadata writer object model can be directly
serialized to a binary blob by the MetadataWriter and used by reflection
at runtime.
Lots of things are not implemented. There are either TODOs or throws in
appropriate places.
I just want to get a few eyes on this before I continue.

@davidwrighton @jkotas PTAL

LGTM


LCFS - Wrong label showing when gov analyst recommends a transfer

Describe the Bug
A clear and concise description of what the bug is.

This is for the TFRS jan-release branch.
Status of transfer is submitted
Government analyst role

Button label currently shows ‘Recommend issuance’
Button label should say ‘Recommend recording transfer’
Note that the ‘Recommend issuance’ label is one that we use for the Initiative Agreement (formerly Part 3 Award) transaction, which is a government analyst initiated transaction. We have previously had issues where changing the labels in one area has caused labels to change in other areas of the app. When fixing this label in the transfer feature, please make sure that the labels in the ‘Initiative Agreement’ feature don’t also change to ‘Recommend recording transfer’. The label in the ‘Initiative Agreement’ feature is supposed to say ‘Recommend issuance’.
Steps To Reproduce
Steps to reproduce the behaviour:
User/Role: IDIR user, government analyst role, TFRS jan-release branch

Go to a transfer with a submitted status
Scroll down to see the button labels
See error

Screenshot of wrong label in transfer feature:
Screenshot of correct label in Initiative Agreement feature (possible clash of labels):

Hey team! Please add your planning poker estimate with Zenhub @prv-proton @kevin-hashimoto @hamed-valiollahi

Hey team! Please add your planning poker estimate with Zenhub @hamed-valiollahi @kevin-hashimoto @prv-proton


Bug with Open XML SDK

I am creating an export and designated a cell as numFmtId = 0 (General format).

When the cell value is an integer under 10 digits (e.g., 123456789) the resulting xlsx output is an integer.
When the cell value is an integer between 10 (e.g.,<PHONE_NUMBER>) and the number of digits to fill the cell width (let's say 19 digits wide), the output is text, despite being the same numFmtId.
When the cell value is an integer larger than than the cell width (e.g., 20 digits), the result will be a number in scientific notation.

I would expect all three of these scenarios to cells with integers in them.
Desktop (please complete the following information):

OS: [e.g. Windows]: Windows 1809
Excel version 2401
.NET Target: (e.g. .NET Framework, .NET Core, UWP, Xamarin...): Not sure
DocumentFormat.OpenXml Version: (e.g. 2.11.0) I'm really sorry. I'm not sure.

I figured the problem out!


Hide all except backlink and show days horizontally

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
The possibility to hide all info in a query except for the backlink. And show the grouped view horizontally instead of vertically.
✔ Solution
I have certain tasks that are scheduled for different days. I use a query to show me all tasks that are scheduled in the next 7 days. By using group by I can group them by date. The result is useable but tends to get overloaded. As I got the most precise name for the tasks in the backlink, the backlink would suffice in showing what sort of tasks is going to be scheduled on e.g. next tuesday. The view would be even better, if the grouping would happen horizontally, e.g. Monday - Tuesday - Wednesay ... next to each other, not below.
❓ Alternatives
No response
📝 Additional Context
No response

Hi thanks for the suggestion.
Please give us a picture or drawing of what you are wanting, to avoid any risk of ambiguity. Thank you.

Is this really a calendar view you are asking for?
Or a view like a KanBan board?

You can already hide pretty much everything,
So I don’t think that needs to be a separate feature.

What I'm currently doing ist something like this:

What I would like to do (sorry for the bad mockup):

Hi @ruben-sg - perfect. It's really clear now. Very many thanks!

I've updated the summary to try to convey the request.
Each ticket needs to cover only one topic - I've picked the column view as the new feature here.

Looking forward to that feature :) Shall I open a new request for the "hide all except the backlink"-part

Looking forward to that feature :) Shall I open a new request for the "hide all except the backlink"-part

It's up to you if you want to spend the time doing it.
If you do, please give some thought about how it should cope as new fields are added. If people 'hide all', they will never see new features. Like what if there was a new feature added to allow deferring of tasks, by clicking on a button next to the Pencil icon - this has been requested.
Also, do have a look at the documentation for show/hide. It's not just fields that can be hidden, it's backlinks, the edit icon, the number of tasks found...
So what what would the 'all' in 'hide all' actually mean?
Please try to put yourself in the position of the person writing the documentation for the new feature.
Be as specific as possible about how the new feature would work, and what they would need to understand in order to use it.


Compile css to less

Hi Jaiq,
Just want to ask how serenity compile .less to css?
Regards

It uses lessjs node version. Compile step is in Serene.Web.csproj. Node and lessjs are under tools directory.

Note thanks Jaiq.


Fixture definition: Betopper LM108

Fixture definition for Betopper LM108
https://betopperdj.com/products/betopper-36x3w-rgbw-moving-head-lights
Manual:
BETOPPER_Moving_Head_Stage_Light_LM108_User_Manual.pdf

I have seen the other PR https://github.com/mcallegari/qlcplus/pull/1412 and probably also this model is a Chinese re branding.
Since i didn't know this policy, i think that also this fixture should be placed in qlcplus-extras

I received several Betopper definitions. They're chinese products, yes, but at least these guys have a website and user manuals.


Can't type letter "s" on the search page in mobile layout

Can't type the letter "s" to the search field on the search page (https://gloogle.run/search?q= + anything) on Firefox on Mac with a narrow viewport (max 700px); the letter "s" doesn't appear. Additionally, on iOS Safari the virtual keyboard is closed.
The search field on the front page works.
Might be related to 73da6bc?

Thanks for reporting!
The focus with s works by selecting the input by its ID. Of course, I duplicated the input in the mobile layout, and thus, the ID is duplicated on the page, which is illegal in HMTL. So this can lead to bad behaviour. I think here, no matter what you type, it tries to focus on the first hidden input, and it's not working. So it's preventing default.
There's a flag in the model, where is_mobile listen to media query. It would be good to completely remove the first input from the DOM on mobile, and only keep the second.
Another solution would be to not use ID, but classes, and find the first visible element.
If you feel motivated enough, you can PR. 😊

Additionally, on iOS Safari the virtual keyboard is closed

Could you give more details on that one?

If you feel motivated enough, you can PR. 😊

It seems I was more motivated to procrastinate. 🫣 😄

Additionally, on iOS Safari the virtual keyboard is closed

Could you give more details on that one?

You already fixed this, but for the record: I meant that the iPhone's virtual keyboard slid away when trying to type an "s". Slid away like would happen when doing input.blur() (IIRC).


Can't init device hci0: Function not implemented (38)

└─# hciconfig hci0 up
Can't init device hci0: Function not implemented (38)
└─# sudo btmon
Bluetooth monitor ver 5.71
btmon[3147]: = Note: Linux version 6.6.15-amd64 (x86_64)                                                   0.875307
btmon[3147]: = Note: Bluetooth subsystem version 2.22                                                      0.875309
= New Index: EC:2E:98:E4:3D:DC (Primary,USB,hci0)                                                   [hci0] 0.875310
bluetoothd[2959]: @ MGMT Open: bluetoothd (privileged) version 1.22                               {0x0001} 0.875311
hciconfig[3148]: @ RAW Open: hciconfig (privileged) version 2.22                                  {0x0002} 5.259495
= Open Index: EC:2E:98:E4:3D:DC                                                                     [hci0] 5.359764
= Index Info: EC:2E:98:E4:3D:DC (not assigned)                                                      [hci0] 5.359781
< HCI Command: Reset (0x03|0x0003) plen 0                                                        #1 [hci0] 5.359803

HCI Event: Command Complete (0x0e) plen 4                                                      #2 [hci0] 5.360764
Reset (0x03|0x0003) ncmd 255
Status: Success (0x00)
< HCI Command: Read Local Supported Features (0x04|0x0003) plen 0                                #3 [hci0] 5.360823
HCI Event: Command Complete (0x0e) plen 12                                                     #4 [hci0] 5.361875
Read Local Supported Features (0x04|0x0003) ncmd 255
Status: Success (0x00)
Features: 0xff 0xff 0x8f 0xfe 0x83 0xe1 0x08 0x80
3 slot packets
5 slot packets
Encryption
Slot offset
Timing accuracy
Role switch
Hold mode
Sniff mode
Park state
Power control requests
Channel quality driven data rate (CQDDR)
SCO link
HV2 packets
HV3 packets
u-law log synchronous data
A-law log synchronous data
CVSD synchronous data
Paging parameter negotiation
Power control
Transparent synchronous data
Broadcast Encryption
Enhanced Data Rate ACL 2 Mbps mode
Enhanced Data Rate ACL 3 Mbps mode
Enhanced inquiry scan
Interlaced inquiry scan
Interlaced page scan
RSSI with inquiry results
Extended SCO link (EV3 packets)
EV4 packets
EV5 packets
3-slot Enhanced Data Rate ACL packets
5-slot Enhanced Data Rate ACL packets
Enhanced Data Rate eSCO 2 Mbps mode
Enhanced Data Rate eSCO 3 Mbps mode
3-slot Enhanced Data Rate eSCO packets
Secure Simple Pairing
Extended features
< HCI Command: Read Local Version Information (0x04|0x0001) plen 0                               #5 [hci0] 5.361919
HCI Event: Command Complete (0x0e) plen 12                                                     #6 [hci0] 5.362898
Read Local Version Information (0x04|0x0001) ncmd 255
Status: Success (0x00)
HCI version: Bluetooth 2.1 (0x04) - Revision 256 (0x0100)
LMP version: Bluetooth 2.1 (0x04) - Subversion 256 (0x0100)
Manufacturer: not assigned (6502)
< HCI Command: Read BD ADDR (0x04|0x0009) plen 0                                                 #7 [hci0] 5.362940
HCI Event: Command Complete (0x0e) plen 10                                                     #8 [hci0] 5.364215
Read BD ADDR (0x04|0x0009) ncmd 255
Status: Success (0x00)
Address: EC:2E:98:E4:3D:DC (AzureWave Technology Inc.)
< HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0                                #9 [hci0] 5.364269
HCI Event: Command Complete (0x0e) plen 68                                                    #10 [hci0] 5.370021
Read Local Supported Commands (0x04|0x0002) ncmd 255
Status: Success (0x00)
Commands: 125 entries
Inquiry (Octet 0 - Bit 0)
Inquiry Cancel (Octet 0 - Bit 1)
Periodic Inquiry Mode (Octet 0 - Bit 2)
Exit Periodic Inquiry Mode (Octet 0 - Bit 3)
Create Connection (Octet 0 - Bit 4)
Disconnect (Octet 0 - Bit 5)
Create Connection Cancel (Octet 0 - Bit 7)
Accept Connection Request (Octet 1 - Bit 0)
Reject Connection Request (Octet 1 - Bit 1)
Link Key Request Reply (Octet 1 - Bit 2)
Link Key Request Negative Reply (Octet 1 - Bit 3)
PIN Code Request Reply (Octet 1 - Bit 4)
PIN Code Request Negative Reply (Octet 1 - Bit 5)
Change Connection Packet Type (Octet 1 - Bit 6)
Authentication Requested (Octet 1 - Bit 7)
Set Connection Encryption (Octet 2 - Bit 0)
Change Connection Link Key (Octet 2 - Bit 1)
Temporary Link Key (Octet 2 - Bit 2)
Remote Name Request (Octet 2 - Bit 3)
Remote Name Request Cancel (Octet 2 - Bit 4)
Read Remote Supported Features (Octet 2 - Bit 5)
Read Remote Extended Features (Octet 2 - Bit 6)
Read Remote Version Information (Octet 2 - Bit 7)
Read Clock Offset (Octet 3 - Bit 0)
Read LMP Handle (Octet 3 - Bit 1)
Hold Mode (Octet 4 - Bit 1)
Sniff Mode (Octet 4 - Bit 2)
Exit Sniff Mode (Octet 4 - Bit 3)
Park State (Octet 4 - Bit 4)
Exit Park State (Octet 4 - Bit 5)
QoS Setup (Octet 4 - Bit 6)
Role Discovery (Octet 4 - Bit 7)
Switch Role (Octet 5 - Bit 0)
Read Link Policy Settings (Octet 5 - Bit 1)
Write Link Policy Settings (Octet 5 - Bit 2)
Read Default Link Policy Settings (Octet 5 - Bit 3)
Write Default Link Policy Settings (Octet 5 - Bit 4)
Flow Specification (Octet 5 - Bit 5)
Set Event Mask (Octet 5 - Bit 6)
Reset (Octet 5 - Bit 7)
Set Event Filter (Octet 6 - Bit 0)
Flush (Octet 6 - Bit 1)
Read PIN Type (Octet 6 - Bit 2)
Write PIN Type (Octet 6 - Bit 3)
Create New Unit Key (Octet 6 - Bit 4)
Read Stored Link Key (Octet 6 - Bit 5)
Write Stored Link Key (Octet 6 - Bit 6)
Delete Stored Link Key (Octet 6 - Bit 7)
Write Local Name (Octet 7 - Bit 0)
Read Local Name (Octet 7 - Bit 1)
Read Connection Accept Timeout (Octet 7 - Bit 2)
Write Connection Accept Timeout (Octet 7 - Bit 3)
Read Page Timeout (Octet 7 - Bit 4)
Write Page Timeout (Octet 7 - Bit 5)
Read Scan Enable (Octet 7 - Bit 6)
Write Scan Enable (Octet 7 - Bit 7)
Read Page Scan Activity (Octet 8 - Bit 0)
Write Page Scan Activity (Octet 8 - Bit 1)
Read Inquiry Scan Activity (Octet 8 - Bit 2)
Write Inquiry Scan Activity (Octet 8 - Bit 3)
Read Authentication Enable (Octet 8 - Bit 4)
Write Authentication Enable (Octet 8 - Bit 5)
Read Encryption Mode (Octet 8 - Bit 6)
Write Encryption Mode (Octet 8 - Bit 7)
Read Class of Device (Octet 9 - Bit 0)
Write Class of Device (Octet 9 - Bit 1)
Read Voice Setting (Octet 9 - Bit 2)
Write Voice Setting (Octet 9 - Bit 3)
Read Automatic Flush Timeout (Octet 9 - Bit 4)
Write Automatic Flush Timeout (Octet 9 - Bit 5)
Read Num Broadcast Retransmissions (Octet 9 - Bit 6)
Write Num Broadcast Retransmissions (Octet 9 - Bit 7)
Read Hold Mode Activity (Octet 10 - Bit 0)
Write Hold Mode Activity (Octet 10 - Bit 1)
Read Transmit Power Level (Octet 10 - Bit 2)
Read Sync Flow Control Enable (Octet 10 - Bit 3)
Write Sync Flow Control Enable (Octet 10 - Bit 4)
Set Controller To Host Flow Control (Octet 10 - Bit 5)
Host Buffer Size (Octet 10 - Bit 6)
Host Number of Completed Packets (Octet 10 - Bit 7)
Read Link Supervision Timeout (Octet 11 - Bit 0)
Write Link Supervision Timeout (Octet 11 - Bit 1)
Read Number of Supported IAC (Octet 11 - Bit 2)
Read Current IAC LAP (Octet 11 - Bit 3)
Write Current IAC LAP (Octet 11 - Bit 4)
Read Inquiry Scan Type (Octet 12 - Bit 4)
Write Inquiry Scan Type (Octet 12 - Bit 5)
Read Inquiry Mode (Octet 12 - Bit 6)
Write Inquiry Mode (Octet 12 - Bit 7)
Read Page Scan Type (Octet 13 - Bit 0)
Write Page Scan Type (Octet 13 - Bit 1)
Read Local Version Information (Octet 14 - Bit 3)
Read Local Supported Features (Octet 14 - Bit 5)
Read Local Extended Features (Octet 14 - Bit 6)
Read Buffer Size (Octet 14 - Bit 7)
Read BD ADDR (Octet 15 - Bit 1)
Read Failed Contact Counter (Octet 15 - Bit 2)
Reset Failed Contact Counter (Octet 15 - Bit 3)
Read Link Quality (Octet 15 - Bit 4)
Read RSSI (Octet 15 - Bit 5)
Read Clock (Octet 15 - Bit 7)
Setup Synchronous Connection (Octet 16 - Bit 3)
Accept Synchronous Connection Request (Octet 16 - Bit 4)
Reject Synchronous Connection Request (Octet 16 - Bit 5)
Read Extended Inquiry Response (Octet 17 - Bit 0)
Write Extended Inquiry Response (Octet 17 - Bit 1)
Refresh Encryption Key (Octet 17 - Bit 2)
Sniff Subrating (Octet 17 - Bit 4)
Read Simple Pairing Mode (Octet 17 - Bit 5)
Write Simple Pairing Mode (Octet 17 - Bit 6)
Read Local OOB Data (Octet 17 - Bit 7)
Read Inquiry Response TX Power Level (Octet 18 - Bit 0)
Write Inquiry Transmit Power Level (Octet 18 - Bit 1)
Read Default Erroneous Data Reporting (Octet 18 - Bit 2)
Write Default Erroneous Data Reporting (Octet 18 - Bit 3)
IO Capability Request Reply (Octet 18 - Bit 7)
User Confirmation Request Reply (Octet 19 - Bit 0)
User Confirmation Request Neg Reply (Octet 19 - Bit 1)
User Passkey Request Reply (Octet 19 - Bit 2)
User Passkey Request Negative Reply (Octet 19 - Bit 3)
Remote OOB Data Request Reply (Octet 19 - Bit 4)
Enhanced Flush (Octet 19 - Bit 6)
Remote OOB Data Request Neg Reply (Octet 19 - Bit 7)
Send Keypress Notification (Octet 20 - Bit 2)
IO Capability Request Negative Reply (Octet 20 - Bit 3)
< HCI Command: Write Extended Inquiry Response (0x03|0x0052) plen 241                           #11 [hci0] 5.370090
FEC: Not required (0x00)
HCI Event: Command Complete (0x0e) plen 4                                                     #12 [hci0] 5.371049
Write Extended Inquiry Response (0x03|0x0052) ncmd 255
Status: Success (0x00)
< HCI Command: Write Inquiry Mode (0x03|0x0045) plen 1                                          #13 [hci0] 5.371101
Mode: Inquiry Result with RSSI (0x01)
HCI Event: Command Complete (0x0e) plen 4                                                     #14 [hci0] 5.372091
Write Inquiry Mode (0x03|0x0045) ncmd 255
Status: Success (0x00)
< HCI Command: Read Local Extended Features (0x04|0x0004) plen 1                                #15 [hci0] 5.372131
Page: 1
HCI Event: Command Complete (0x0e) plen 14                                                    #16 [hci0] 5.373149
Read Local Extended Features (0x04|0x0004) ncmd 255
Status: Success (0x00)
Page: 1/1
Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Secure Simple Pairing (Host Support)
< HCI Command: Read Buffer Size (0x04|0x0005) plen 0                                            #17 [hci0] 5.373178
HCI Event: Command Complete (0x0e) plen 11                                                    #18 [hci0] 5.375398
Read Buffer Size (0x04|0x0005) ncmd 255
Status: Success (0x00)
ACL MTU: 8192 ACL max packet: 128
SCO MTU: 64   SCO max packet: 128
< HCI Command: Read Class of Device (0x03|0x0023) plen 0                                        #19 [hci0] 5.375459
HCI Event: Command Complete (0x0e) plen 7                                                     #20 [hci0] 5.376447
Read Class of Device (0x03|0x0023) ncmd 255
Status: Success (0x00)
Class: 0x000100
Major class: Computer (desktop, notebook, PDA, organizers)
Minor class: Uncategorized, code for device not assigned
< HCI Command: Read Local Name (0x03|0x0014) plen 0                                             #21 [hci0] 5.376493
HCI Event: Command Complete (0x0e) plen 252                                                   #22 [hci0] 5.396099
Read Local Name (0x03|0x0014) ncmd 255
Status: Success (0x00)
Name: Virtual Bluetooth Adapter
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0                                          #23 [hci0] 5.396153
HCI Event: Command Complete (0x0e) plen 6                                                     #24 [hci0] 5.397141
Read Voice Setting (0x03|0x0025) ncmd 255
Status: Success (0x00)
Setting: 0x00e3
Input Coding: Linear
Input Data Format: Unsigned
Input Sample Size: 16-bit
# of bits padding at MSB: 0
Air Coding Format: Transparent Data
< HCI Command: Read Number of Supported IAC (0x03|0x0038) plen 0                                #25 [hci0] 5.397182
HCI Event: Command Complete (0x0e) plen 5                                                     #26 [hci0] 5.398229
Read Number of Supported IAC (0x03|0x0038) ncmd 255
Status: Success (0x00)
Number of IAC: 1
< HCI Command: Read Current IAC LAP (0x03|0x0039) plen 0                                        #27 [hci0] 5.398272
HCI Event: Command Complete (0x0e) plen 8                                                     #28 [hci0] 5.399220
Read Current IAC LAP (0x03|0x0039) ncmd 255
Status: Success (0x00)
Number of IAC: 1
Access code: 0x9e8b33 (General Inquiry)
< HCI Command: Write Connection Accept Timeout (0x03|0x0016) plen 2                             #29 [hci0] 5.399263
Timeout: 20000.000 msec (0x7d00)
HCI Event: Command Complete (0x0e) plen 4                                                     #30 [hci0] 5.400291
Write Connection Accept Timeout (0x03|0x0016) ncmd 255
Status: Success (0x00)
< HCI Command: Set Event Mask (0x03|0x0001) plen 8                                              #31 [hci0] 5.400338
Mask: 0x1c3f1807fffbffff
Inquiry Complete
Inquiry Result
Connection Complete
Connection Request
Disconnection Complete
Authentication Complete
Remote Name Request Complete
Encryption Change
Change Connection Link Key Complete
Link Key Type Changed
Read Remote Supported Features Complete
Read Remote Version Information Complete
QoS Setup Complete
Command Complete
Command Status
Hardware Error
Flush Occurred
Role Change
Mode Change
Return Link Keys
PIN Code Request
Link Key Request
Link Key Notification
Loopback Command
Data Buffer Overflow
Max Slots Change
Read Clock Offset Complete
Connection Packet Type Changed
QoS Violation
Page Scan Mode Change
Page Scan Repetition Mode Change
Flow Specification Complete
Inquiry Result with RSSI
Read Remote Extended Features Complete
Synchronous Connection Complete
Synchronous Connection Changed
IO Capability Request
IO Capability Request Reply
User Confirmation Request
User Passkey Request
Remote OOB Data Request
Simple Pairing Complete
User Passkey Notification
Keypress Notification
Remote Host Supported Features Notification
HCI Event: Command Complete (0x0e) plen 4                                                     #32 [hci0] 5.401335
Set Event Mask (0x03|0x0001) ncmd 255
Status: Success (0x00)
< HCI Command: Read Stored Link Key (0x03|0x000d) plen 7                                        #33 [hci0] 5.401376
Address: 00:00:00:00:00:00 (OUI 00-00-00)
Read all: 0x01
HCI Event: Command Complete (0x0e) plen 8                                                     #34 [hci0] 5.402829
Read Stored Link Key (0x03|0x000d) ncmd 255
Status: Success (0x00)
Max num keys: 0
Num keys: 0
< HCI Command: Write Default Link Policy Settings (0x02|0x000f) plen 2                          #35 [hci0] 5.402869
Link policy: 0x000f
Enable Role Switch
Enable Hold Mode
Enable Sniff Mode
Enable Park State
HCI Event: Command Complete (0x0e) plen 4                                                     #36 [hci0] 5.403891
Write Default Link Policy Settings (0x02|0x000f) ncmd 255
Status: Success (0x00)
< HCI Command: Read Page Scan Activity (0x03|0x001b) plen 0                                     #37 [hci0] 5.403928
HCI Event: Command Complete (0x0e) plen 8                                                     #38 [hci0] 5.404960
Read Page Scan Activity (0x03|0x001b) ncmd 255
Status: Success (0x00)
Interval: 1280.000 msec (0x0800)
Window: 11.250 msec (0x0012)
< HCI Command: Read Page Scan Type (0x03|0x0046) plen 0                                         #39 [hci0] 5.405000
HCI Event: Command Complete (0x0e) plen 5                                                     #40 [hci0] 5.406004
Read Page Scan Type (0x03|0x0046) ncmd 255
Status: Success (0x00)
Type: Standard Scan (0x00)
< HCI Command: Delete Stored Link Key (0x03|0x0012) plen 7                                      #41 [hci0] 5.406044
Address: 00:00:00:00:00:00 (OUI 00-00-00)
Delete all: 0x01
HCI Event: Command Complete (0x0e) plen 5                                                     #42 [hci0] 5.407040
Delete Stored Link Key (0x03|0x0012) ncmd 255
invalid packet size
00 00                                            ..
= Close Index: EC:2E:98:E4:3D:DC                                                                    [hci0] 5.407095
hciconfig[3148]: @ RAW Close: hciconfig                                                           {0x0002} 5.410438

└─# dmesg | grep Bluetooth
[    2.652745] usb 2-2.1: Product: Virtual Bluetooth Adapter
[    3.982473] Bluetooth: Core ver 2.22
[    3.982497] Bluetooth: HCI device and connection manager initialized
[    3.982502] Bluetooth: HCI socket layer initialized
[    3.982504] Bluetooth: L2CAP socket layer initialized
[    3.982508] Bluetooth: SCO socket layer initialized
[    4.084678] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3
[    4.084717] Bluetooth: hci0: Opcode 0x0c12 failed: -38
[   98.294340] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3
[   98.294372] Bluetooth: hci0: Opcode 0x0c12 failed: -38
[  108.336885] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  108.336889] Bluetooth: BNEP filters: protocol multicast
[  108.336893] Bluetooth: BNEP socket layer initialized
[  162.459071] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3
[  162.459114] Bluetooth: hci0: Opcode 0x0c12 failed: -38
[  211.610476] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3
[  211.610502] Bluetooth: hci0: Opcode 0x0c12 failed: -38
[  217.941368] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3
[  217.941380] Bluetooth: hci0: Opcode 0x0c12 failed: -38
[  234.507252] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3
[  234.507266] Bluetooth: hci0: Opcode 0x0c12 failed: -38

Dude, I have exactly the same problem as you. Have you solved it? I am starting Kali from VMware

It's easy to solve it. just use ubuntu18.04😂


Port download improvements from branch deployed to aloha and master

include all commits after https://github.com/scitran/api/commit/c38e41f265118fb3c09a51040d6e7bd6b8b7cc30

Won't fix. We need to rework the whole batch download experience starting with the desired UI. Ping @elisapoquette.


Playback is stuttering

I am on windows 10 and I am unsure how to get the debug to work so I do not have that, but obviously would be willing if I could get it to work.
I have tried .mkv and .mp4 playback. I have to include --myip and --address for the device as that is the only way I have gotten things to connect. I opened the TCP ports and UDP ports as instructed in the wiki. But the playback is still pretty stuttery. My router is in the same room as the chromecast so I cannot imagine it has poor signal strength. It can cast youtube and others just fine using the youtube app.
Is there anything I am missing?

I should add the mp3 and opus playback is 100% fine. Just seems to be video that contains the stutters.

I was able to get the debug to work.
PS C:\Git> castnow "C:\Users\Tanner's Rig\Desktop\Scipts\SmartHome\WTFAce.mp4"
  castnow volume step: 0.05 +0ms
  castnow launching... +1ms
  castnow:stdin [
  castnow:stdin   {
  castnow:stdin     path: "C:\\Users\\Tanner's Rig\\Desktop\\Scipts\\SmartHome\\WTFAce.mp4"
  castnow:stdin   }
  castnow:stdin ] +1ms
  castnow:localfile started webserver on address <IP_ADDRESS> using port 4100 +7ms
  castnow player status: loading plugins +0ms
  castnow player status: scanning +1ms
  castnow player status: connecting +1ms
  castnow player status: launching +40ms
  castnow player status: loading +2s
  castnow:localfile incoming request serving C:\Users\Tanner's Rig\Desktop\Scipts\SmartHome\WTFAce.mp4 +405ms
  castnow:localfile incoming request serving C:\Users\Tanner's Rig\Desktop\Scipts\SmartHome\WTFAce.mp4 +35ms
  castnow:localfile incoming request serving C:\Users\Tanner's Rig\Desktop\Scipts\SmartHome\WTFAce.mp4 +111ms
  castnow player status: ready +2s
  castnow player status: playing +135ms
  castnow player status: buffering +282ms
  castnow player status: playing +4s
  castnow player status: playing +1s
  castnow player status: playing +4s
  castnow player status: playing +4s
  castnow player status: playing +4s
  castnow player status: idle +781ms

Not that this log shows much but the video is only 11 seconds long. It is ~53.9MB in size.
Thought maybe it was an ffmpeg issue and I found this issue. But when I add that I get an error:
PS C:\Git> castnow "C:\Users\Tanner's Rig\Desktop\Scipts\SmartHome\WTFAce.mp4" --tomp4 --ffmpeg-maxrate 1000k --ffmpeg-buffsize 2000k
 castnow volume step: 0.05 +0ms
 castnow launching... +1ms
 castnow:stdin [
 castnow:stdin   {
 castnow:stdin     path: "C:\\Users\\Tanner's Rig\\Desktop\\Scipts\\SmartHome\\WTFAce.mp4"
 castnow:stdin   }
 castnow:stdin ] +1ms
 castnow:localfile started webserver on address <IP_ADDRESS> using port 4100 +6ms
 castnow:transcode started webserver on address <IP_ADDRESS> using port 4103 +1ms
 castnow player status: loading plugins +0ms
 castnow player status: scanning +1ms
 castnow player status: connecting +1ms
 castnow player status: launching +39ms
 castnow player status: loading +2s
 castnow:transcode incoming request for path http://<IP_ADDRESS>:4100/0 +469ms
 castnow:transcode spawning ffmpeg -i - -vcodec h264 -f mp4 -movflags frag_keyframe+faststart -strict experimental -maxrate 1000k -buffsize 2000k pipe:1 +3ms
 castnow:localfile incoming request serving C:\Users\Tanner's Rig\Desktop\Scipts\SmartHome\WTFAce.mp4 +8ms
 castnow:transcode transcoding error: Error: FFmpeg error: Error splitting the argument list: Option not found at ChildProcess.<anonymous> (C:\Users\Tanner's Rig\AppData\Roaming\npm\node_modules\castnow\node_modules\stream-transcoder\lib\transcoder.js:264:28)     at ChildProcess.emit (events.js:327:22)     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) +37ms
 castnow player error: Error: Load failed at C:\Users\Tanner's Rig\AppData\Roaming\npm\node_modules\castnow\node_modules\chromecast-player\api.js:104:19 at fn.onmessage (C:\Users\Tanner's Rig\AppData\Roaming\npm\node_modules\castnow\node_modules\castv2-client\lib\controllers\request-response.js:27:7)     at fn.emit (events.js:327:22) at Channel.onmessage (C:\Users\Tanner's Rig\AppData\Roaming\npm\node_modules\castnow\node_modules\castv2-client\lib\controllers\controller.js:16:10)     at Channel.emit (events.js:315:20) at Client.onmessage (C:\Users\Tanner's Rig\AppData\Roaming\npm\node_modules\castnow\node_modules\castv2\lib\channel.js:23:10)     at Client.emit (events.js:327:22) at PacketStreamWrapper.onpacket (C:\Users\Tanner's Rig\AppData\Roaming\npm\node_modules\castnow\node_modules\castv2\lib\client.js:81:10)     at PacketStreamWrapper.emit (events.js:315:20) at TLSSocket.<anonymous> (C:\Users\Tanner's Rig\AppData\Roaming\npm\node_modules\castnow\node_modules\castv2\lib\packet-stream-wrapper.js:28:16) +69ms
Error: Load failed

Actually it seems that adding the --tomp4 at all breaks it.


clip_by_value handles python float and numpy float differently

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): ubuntu 16.04 & macos10.14.6
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): ubuntu 16.04: v2.1.0-rc2-17-ge5bf8de & macos: v2.1.0-rc2-17-ge5bf8de410
Python version: 3.7.6
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): NA
CUDA/cuDNN version: NA
GPU model and memory: NA

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
clip_by_value(t, clip_value_min, clip_value_max) treats python float and numpy float32/float64 differently for parameters clip_value_min and clip_value_max.
It throws exception when t is int, clip_value_min and clip_value_max are float, but it doesn't throw exception when clip_value_min and clip_value_max are numpy float. See the example below.
Describe the expected behavior
I expect the behavior should be consistent whether the passed in clip_value_min and clip_value_max are python float or numpy float.
It shouldn't silently cast numpy float to int and report unexpected result.
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
import tensorflow as tf
import numpy as np

# ok case
tf.clip_by_value([1,2,3], clip_value_min=0, clip_value_max=1)

# exception when using python float
tf.clip_by_value([1,2,3], clip_value_min=0., clip_value_max=1.)

# no exception when using numpy float16/32/64
tf.clip_by_value([1,2,3], clip_value_min=np.float32(0.), clip_value_max=np.float32(1.))

# no exception; same output as above;
# 0.5 is silenlty casted to 0, and 1.2 is silently casted to 1
tf.clip_by_value([1,2,3], clip_value_min=np.float32(0.5), clip_value_max=np.float32(1.2))

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

Was able to reproduce the issue with TF v2.1, TFv2.2.0-rc3 and TF-nightly. Please find the attached gist. Thanks!

You have to cast your input t to float explicitly if using clip_value as float.
https://github.com/tensorflow/tensorflow/blob/6728f85d82d73c34ce9cb7cf03e311c9965f13f6/tensorflow/python/ops/clip_ops.py#L78
# tf.cast the input to float first
tf.clip_by_value(tf.cast([1,2,3],dtype= 'float32'), clip_value_min=0., clip_value_max=1.)

@ymodak Yes, I understand that usage.
However, when I don't cast t,  it doesn't explain the inconsistent handling of numpy float and python float, where clip_by_value doesn't throw an exception when I use clip_value_min=np.float(0.)  and clip_value_max=np.float(1.), but throws TypeError if they are python float.
Also, it's obvious there's silent casting in the fourth example code I provided. I believe that's inadequate handling of the input without warning the user.

Was able to reproduce your issue in Tf Nightly 2.6.0-dev20210525, please find the gist here. Thanks!

Was able to reproduce the issue in tf v2.7.Please find the gist here.

@leeyeetonn,
As per the documentation, whenever we are trying to use dtype=tf.int32 , it throws a TypeError if you try to clip an int to a float value (tf.cast the input to float first) which was intended.

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/clip_ops.py

Closing this as stale. Please reopen if this is still a valid request. Thank you!


Archived repositories in the results

While exploring the website for active repositories to contribute to, I found sveltejs/sapper repo which is archived. Although, it still contain good first issues, we can't contribute as it is read only 😅

@ankit-verma-209171 thanks for the report! I'll try to get this fixed as soon as possible.

It should be live within 10 minutes.


[SMALLFIX] bumping up version of REST API generation

This fixes runtime exception when generating REST API documentation.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9784/
Test PASSed.


Update lndg

Changes version to new v1.6.3 which has minor bug fixes.

First quick test on my test raspiblitz failed - it installed but was not running correctly. Needs to be checked in more depth. Pushing to a later release for now.
*** LNDg Status ***
installed='1'
localIP='*.*.*.*'
httpPort='8889'
httpsForced='0'
httpsSelfsigned='1'
authMethod='password_b'
toraddress='***.onion'

*** LNDg JOBS SYSTEMD STATUS ***
● jobs-lndg.service - Run Jobs For Lndg
     Loaded: loaded (/etc/systemd/system/jobs-lndg.service; static)
     Active: failed (Result: exit-code) since Sat 2023-04-08 18:58:34 BST; 18s ago
TriggeredBy: ● jobs-lndg.timer
    Process: 753280 ExecStart=/bin/bash /home/lndg/lndg/jobs.sh (code=exited, status=127)
   Main PID: 753280 (code=exited, status=127)
        CPU: 9ms

Apr 08 18:58:34 raspberrypi systemd[1]: jobs-lndg.service: Main process exited, code=exited, status=127/n/a
Apr 08 18:58:34 raspberrypi systemd[1]: jobs-lndg.service: Failed with result 'exit-code'.
sudo tail -n 5 /var/log/lnd_jobs_error.log
/home/lndg/lndg/jobs.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/jobs.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/jobs.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/jobs.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/jobs.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory

*** LNDg REBALANCER SYSTEMD STATUS ***
● rebalancer-lndg.service - Run Rebalancer For Lndg
     Loaded: loaded (/etc/systemd/system/rebalancer-lndg.service; static)
     Active: failed (Result: exit-code) since Sat 2023-04-08 18:58:34 BST; 18s ago
TriggeredBy: ● rebalancer-lndg.timer
    Process: 753281 ExecStart=/bin/bash /home/lndg/lndg/rebalancer.sh (code=exited, status=127)
   Main PID: 753281 (code=exited, status=127)
        CPU: 9ms

Apr 08 18:58:34 raspberrypi systemd[1]: rebalancer-lndg.service: Main process exited, code=exited, status=127/n/a
Apr 08 18:58:34 raspberrypi systemd[1]: rebalancer-lndg.service: Failed with result 'exit-code'.
sudo tail -n 5 /var/log/lnd_rebalancer_error.log
/home/lndg/lndg/rebalancer.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/rebalancer.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/rebalancer.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/rebalancer.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/rebalancer.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory

*** LNDg HTLC-STREAM SYSTEMD STATUS ***
● htlc-stream-lndg.service - Run HTLC Stream For Lndg
     Loaded: loaded (/etc/systemd/system/htlc-stream-lndg.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Sat 2023-04-08 18:58:02 BST; 50s ago
    Process: 749557 ExecStart=/bin/bash /home/lndg/lndg/htlc_stream.sh (code=exited, status=127)
   Main PID: 749557 (code=exited, status=127)
        CPU: 10ms
sudo tail -n 5 /var/log/lnd_htlc_stream_error.log
/home/lndg/lndg/htlc_stream.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/htlc_stream.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/htlc_stream.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/htlc_stream.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory
/home/lndg/lndg/htlc_stream.sh: line 4: /home/lndg/lndg/.venv/bin/python: No such file or directory

*** LNDg GUNICORN SERVER SYSTEMD STATUS ***
● gunicorn.service - Lndg guincorn app
     Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Sat 2023-04-08 18:57:56 BST; 56s ago
    Process: 748794 ExecStart=/home/lndg/lndg/.venv/bin/gunicorn lndg.wsgi -w 4 -b *.*.*.*:8889 (code=exited, status=203/EXEC)
   Main PID: 748794 (code=exited, status=203/EXEC)
        CPU: 5ms
sudo tail -n 5 /var/log/gunicorn_error.log

*** LAST 10 LNDg LOGS ***
sudo journalctl -u lndg -b --no-pager -n10
-- Journal begins at Thu 2022-09-22 04:17:24 BST, ends at Sat 2023-04-08 18:58:53 BST. --
-- No entries --

Strange, given that the only change from the previous one is a version change to v1.6.3. Mine is already running v1.6.3 but I updated using the update menu instead of installing.

OK install of v1.7.0 tested good now. Merging.


Add kubeconfig flag

Adds a --kubeconfig global flag to the root command.
Uses the init func to set the kubeconfig variable based on whatever value is supplied with the new flag.
If no value is set, it will default to using KUBECONFIG before going to the $HOME/.kube/config path as a last resort.

Hey @rnrsr, thanks for you PR! Changes look good to me but could you please remove the binary from this PR? It is a different GOOS/GOARCH (Mach-O 64-bit arm64) than the one before and we don't want to provide binaries from untrusted sources ;)
I'll take care of building and releasing the binary!

Hey @rnrsr, thanks for you PR! Changes look good to me but could you please remove the binary from this PR? It is a different GOOS/GOARCH (Mach-O 64-bit arm64) than the one before and we don't want to provide binaries from untrusted sources ;)
I'll take care of building and releasing the binary!

Hey @moolen yep sure thing


mouse support

Any chance to support also mouse actions?
I need to change fn+left click to middle click
thanks

+1 for this. Mouse support would be great :)

hope there will be ability to modify scroll wheel
I used modification keys + mouse wheel for different tasks like tab switching etc

I noticed pointing_button has been added to types and there's a pointing_button_manager. I don't know how to translate the code into what you need to put in karabiner.json, but it looks like if you can build from source (I haven't been able to due to code-signing errors) and figure out what to put in karibiner.json you might be able to get mouse support right now.
If anyone can figure it out, please report! :)

Thank you so much for your help with this project. I am newly disabled as I was rear ended and without this code, I would not be able to use my Logitech Wave keyboard. I went from only being able to use a keyboard for 15-20 minutes per day to hours.
I have a Logitech Trackman Marble and since installing Karabiner - Elements, I noticed my middle click mouse button does not work. I tried setting a custom config in system preferences but I did not work.
Thanks!

This should work:
                    {
                        "from": {
                            "key_code": "keypad_2"
                        },
                        "to": {
                            "pointing_button": "button1"
                        }


WIP: Start on adding a sanitize hook for proto values

Additionally, add an implementation for strings that replaces invalid unicode and drops null bytes.

It would be nice to have a test that ensures that we are calling sanitize on strings, too.

addressed elsewhere


[Tests] Port tensor control flow AD tests

#408

Was it tested locally?

@rxwei Yup. It surely worked on the previous nightly toolchain:
(Swift version 5.1-dev (LLVM 200186e28b, Swift b2720a3460)
I now get the error after updating to the latest nightly.
I'm not sure why testConcatenationPlusPlus() is failing because the return expression in the gradient(at:) call works fine when checked in the REPL with the same tensors. I'll try to see what gradient(at:) is doing with the arguments when I get the chance.

It should be a compiler bug that’s introduced recently. The fix is https://github.com/apple/swift/pull/26448 and we need to wait for that to get in.

The nightly toolchain used for CI is not up to date because of toolchain build failures. The team is looking into this.

@dan-zheng Would you like me to port over the new tests in swift/test/AutoDiff/control_flow.swift?

@dan-zheng Would you like me to port over the new tests in swift/test/AutoDiff/control_flow.swift?

The goal is to move all Tensor-specific AD tests to tensorflow/swift-apis. The Tensor control flow AD tests are the last of these.
AutoDiff tests from apple/swift (including swift/test/AutoDiff/control_flow.swift) are intentionally Tensor-independent and should not be ported to tensorflow/swift-apis.

@jon-tow It looks like tests on this are failing because it's based off an older commit of swift-apis. If you merge master into this, we can probably rerun tests and merge this. Could you try that when you get a chance?

Hey @marcrasi. I merged master into the branch here but I'm getting compiler errors on conditionals that compare Tensor<Float>s with scalar literals. E.g. if x > 0 where x is a Tensor<Float>. This worked just fine a few months ago and any form of casting seems to not resolve the issue.
Any suggestions would be appreciated. Thanks!

It looks like the comparisons with scalars were deprecated and then removed (https://github.com/tensorflow/swift-apis/pull/516). The suggestion in the deprecation warning is to use (lhs .> rhs).all(). Does that fix things?

It sure does! Thanks for pointing that out, invoking all() resolved the issue. :)

Oh no, a very recent new commit made a backwards-incompatible change so CI is still failing. I think if you merge from master again we should be able to get CI passing.

Sure thing! Not a problem. Let me know if you need me to address anything.


How to make flatpickr datepicker reactive in livewire / alpinejs app?

Hello,
In  laravel 7 /livewire 1.3 / alpinejs 2 project
I added flatpickr datepicker from https://flatpickr.js.org
datepicker works ok, but reactive does not work. In the code below
$current_operation_date - public var in the component and is is modified ok
but alpine var operation_date is not changed when in datepicker value is selected:

    $current_operation_date::{{$current_operation_date}}

    operation_date::

        <input
            type='text'
            id="flatpickr_operation_date"
            wire:model.lazy="current_operation_date"

            x-model="operation_date"
            x-on:blur="$dispatch('input', operation_date)"
            class="form-control editable_field"
        />

@section('scripts')

@endsection


feat : add user sign-out, identification middleware

What was added

added middleware for user identification

check header values if not 'guest' (-1)
validate if user exists in DB, 401 if fail
used for ALL API methods

added userSignOut method

POST /api/auth/sign-out
identify user w/ header 'id'
delete the user using userService.deleteUser()

Related Issues

link related issues here
REPO_NAME #issueNum

Future Works

What else should be done ?

Checklist

[x] I have performed unit tests
[x] I have added necessary docs
[x] I have checked for potential bugs & issues

docs
https://cwwojin.github.io/FORK_backend/pages/auth.html#post--sign-out---remove-user-account-from-the-system


flutter for web, when I call "webViewController!.addJavaScriptHandler",but show err "addJavaScriptHandler is not implemented on the current platform",for android and iOS is ok?

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

Environment

Technology
Version

Flutter version

Plugin version

Android version

iOS version

macOS version

Xcode version

Google Chrome version

Device information:
Description
Expected behavior:
Current behavior:
Steps to reproduce

This
Than that
Then

Images
Stacktrace/Logcat

+1


Scale to parent element

(Hope its okay to post questions in the Issues)
I'm not much of an JavaFX expert .. but I'm a bit confused about the library design
I've been trying to get my SVGImage to scale to a parent element (ex: A StackPane). I'd like to avoid manually scaling it or passing around width/height parameters. However the SVGImage seems to refuse to rescale unless passed in a scaling parameter :) I can make a huge SVGImage group, but it'll just spill out of the StackPane or force the parent size to grow
Am I doing something wrong or is this the intended behavior? The library seems to be designed with the SVGImage being scaled itself. (I can see you can also rescale it after it's created as well)
Could you for instance have the SVGImage group as part of StackPane and have it rescale as the window size is changed? or would you need to track the window size and rescale the SVG all the time?
Unfortunately I'm working through Clojure (and cljfx), so I'm not able to make an minimal example here...

Hello,
I will look at that problem this week-end normally :)

I was a bit hesitant to post the issue b/c It's quite possible I just did something wrong! There might be some way to wrap the SVGImage so that it gets scaled (without having to rasterize to an Image) -  but I haven't found the right combination yet
I think scaling to the parent, so it fills the StackPane of a V/HBox,  is just a bit more idiomatic JFX. Maybe this doesn't come up for you though
Thanks again for the project, and for being so responsive on the Issues. Hope I can integrate this in my meteorology software


v3: Migrate from tippyjs to floating-ui

Guy seems to stop supporting it, so we need to investigate alternatives...
https://github.com/atomiks/tippyjs-react/issues/359#issuecomment-1085771067

Reopening as only part of it was finished


Code lens for passing test class run under pytest doesn't show overall results for methods, but show in the failure test class.

I find that when you run a passing test under pytest, the code lens for the class will not display the overall result for the methods in the class, but when you run a failure test under pytest, the code lens for the class will display the overall result for the methods in the class:

Duplicate of #2382


expunge if flag is set

Description

In integration work for CCS I found that the service call UserVmService.destroyVm(long uuid, boolean expunge) does not honour the expunge flag. I traced it down to the implementation VirtualMachineManagerImpl.destroy(String vmUuid, boolean expunge)

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

GitHub Issue/PRs

Screenshots (if appropriate):
How Has This Been Tested?
manual testing so far, testing will pose some crosscutting challanges as the behaviour and implementation are seperated by about five layers of abstraction.

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
Testing
[ ] I have added tests to cover my changes.
[ ] All relevant new and existing integration tests have passed.
 I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2271

@blueorangutan test

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@rhtyd , isn't that the designed / envisioned way of changing? It didn't feel like forcing to me. it will refuse if it doesn't have a transition defined for that state/event combination.

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✖centos7 ✖debian. JID-2276

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@rafaelweingartner @DaanHoogland do we have any outstanding issue on this?

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2277

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2976)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 21552 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2825-t2976-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 66 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_03_vpc_privategw_restart_vpc_cleanup
Failure
1119.03
test_privategw_acl.py

Trillian test result (tid-2974)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 27606 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2825-t2974-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_affinity_groups_projects.py
Intermittent failure detected: /marvin/tests/smoke/test_affinity_groups.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 63 look OK, 4 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_DeployVmAntiAffinityGroup_in_project
Error
40.43
test_affinity_groups_projects.py

test_DeployVmAntiAffinityGroup
Error
7.59
test_affinity_groups.py

test_03_vpc_privategw_restart_vpc_cleanup
Failure
1283.84
test_privategw_acl.py

test_hostha_enable_ha_when_host_in_maintenance
Error
3.62
test_hostha_kvm.py

test_hostha_kvm_host_fencing
Failure
649.54
test_hostha_kvm.py

test_hostha_kvm_host_recovering
Failure
616.75
test_hostha_kvm.py


get modifiedModel value

My html file looks like this:
<ngx-monaco-diff-editor class="template-editor" [options]="options" [originalModel]="originalModel" [modifiedModel]="modifiedModel"></ngx-monaco-diff-editor>
<button mat-raised-button color="accent" (click)="getModifiedModelValue()">GO</button>
How can I get the pasted value from the right side of the editor on click of 'Go' button?

You should put a two-way binding in place and all the changes should be reflected in the variable's value, like [(modifiedModel)]="modifiedModel"> - havn't tested, but this is how I do it in my non-diff view.

Thanks for the reply but I have already tried it and it didn't work.

Solved my problem hopefully my solution will help others:
So my .html files looks like this:
<ngx-monaco-diff-editor class="template-editor" [options]="options" [originalModel]="originalModel" [modifiedModel]="modifiedModel" (onInit)="onInitEditor($event)"></ngx-monaco-diff-editor>
<button mat-raised-button color="accent" (click)="getModifiedModelValue()">GO</button>
and in my .ts file:
public onInitEditor(event) {     this.editor = event;   }
public getModifiedModelValue() {     console.log(this.editor.modifiedEditor.getValue()); )


--dockerized behvaior is not fully documented

Using --dockerized as the last argument, launches a docker shell. This is not documented anywhere. Yes it is stated that it should precede other arguments but OpenLane accepts it when it doesn't. Furthermore, I believe this behavior is too magical.

I don't disagree but I really have no better way of doing it. If you can figure out something better that works with our existing CLI parser, do give it a shot.


Refactor permissions functions

Now that space supporter implementation is complete we can collapse a
bunch of functions in permissions.rb and finalize naming conventions
that we're mostly happy with.

include space supporter in ALL_PERMISSIONS
removed space supporter specific mentions in permissions.rb

Co-authored-by: Mona Mohebbi<EMAIL_ADDRESS>Co-authored-by: Merric de Launey<EMAIL_ADDRESS>Co-authored-by: Matthew Kocher<EMAIL_ADDRESS>Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

A short explanation of the proposed change:

An explanation of the use cases your change solves

Links to any other associated PRs

[X] I have reviewed the contributing guide

[X] I have viewed, signed, and submitted the Contributor License Agreement

[X] I have made this pull request to the main branch

[X] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

I'm going to be OOO tomorrow but I'll plan to have a look at this on Wednesday. In the meantime just want to call out it looks like we've got some merge conflicts to resolve

Thank you. We resolved the merge conflicts. /cc @MerricdeLauney

Closes #2467

this branch has gotten a little too messy. Opening a new pr with the right commits cherry picked on top


Fixed typo in the help text for the Azure App Service Deploy task

Fixing misleading help text in the Azure App Service Deploy task.

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

@SumiranAgg Fixed the patch. Also fixed the merge conflict I had on the patch version in V4 of the task 👍

@DeluxZ Please follow these steps next time to contribute https://github.com/Microsoft/vsts-tasks/blob/master/docs/contribute.md
For now we will take the contribution and upgrade task version.


Expose more point cloud visualization options.

Looks good to me; if you want to make a new version tag, I'd also bump the version number in package.json, although I'm not sure if that actually affects the build output in any way.


(upstream) libxml2 crashing

Seeing crashes in the "upstream" CI, examples:

https://github.com/sparklemotion/nokogiri/actions/runs/8302165358/job/22723875021
https://github.com/sparklemotion/nokogiri/actions/runs/8302165358/job/22723875397

Both seem to have something to do with namespaces.
git bisecting reveals at least some crashes began with https://github.com/GNOME/libxml2/commit/2840e33c5e4b51589a0b96e8102638eeaea6df72

Repro
#! /usr/bin/env ruby

require "bundler/inline"

gemfile do
  source "https://rubygems.org"
  gem "nokogiri", path: "."
end

attr = Nokogiri::XML.parse('<foo xml:bar="http://bar.com"/>').root.attributes["bar"]
attr.namespace # boom

This looks like it has to do with xmlSearchNS now returning a static struct if the namespace is xml?

Yeah ok, so the static struct xmlXmlNamespace is located in read-only memory.
$ objdump -t .libs/libxml2.so | fgrep xmlXml
000000000014f800 l     O .data.rel.ro<PHONE_NUMBER>000030              xmlXmlNamespaceStruct
000000000015a1c8 l     O .data<PHONE_NUMBER>000008              xmlXmlNamespace

which means that trying to set the _private member is going to segfault. I will bring this up with Nick in an upstream issue.

Upstream issue is https://gitlab.gnome.org/GNOME/libxml2/-/issues/705

Nick reverted the commit upstream.