nightly test error deepedit/ignite/infoANDinference.ipynb

Describe the bug
03:33:45  Running ./deepedit/ignite/infoANDinference.ipynb
03:33:45  Checking PEP8 compliance...
03:33:46  Running notebook...
03:33:46  Error: Couldn't find the keyword "max_epochs", and the notebook wasn't on the list of expected exemptions ("doesnt_contain_max_epochs")..
03:33:46
03:33:46  Check failed!
03:33:46  /opt/conda/lib/python3.8/site-packages/papermill/iorw.py:58: FutureWarning: pyarrow.HadoopFileSystem is deprecated as of 2.0.0, please use pyarrow.fs.HadoopFileSystem instead.
03:33:46    from pyarrow import HadoopFileSystem
03:34:12
Executing:   0%|          | 0/11 [00:00<?, ?cell/s]
Executing:   9%|▉         | 1/11 [00:01<00:15,  1.58s/cell]
Executing:  27%|██▋       | 3/11 [00:10<00:28,  3.58s/cell]
Executing:  45%|████▌     | 5/11 [00:12<00:13,  2.31s/cell]
Executing:  73%|███████▎  | 8/11 [00:21<00:08,  2.68s/cell]
Executing:  82%|████████▏ | 9/11 [00:24<00:05,  2.73s/cell]
Executing:  91%|█████████ | 10/11 [00:24<00:02,  2.24s/cell]
Executing:  91%|█████████ | 10/11 [00:25<00:02,  2.59s/cell]
03:34:12  Traceback (most recent call last):
03:34:12    File "/opt/conda/bin/papermill", line 8, in <module>
03:34:12      sys.exit(papermill())
03:34:12    File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
03:34:12      return self.main(*args, **kwargs)
03:34:12    File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1053, in main
03:34:12      rv = self.invoke(ctx)
03:34:12    File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
03:34:12      return ctx.invoke(self.callback, **ctx.params)
03:34:12    File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 754, in invoke
03:34:12      return __callback(*args, **kwargs)
03:34:12    File "/opt/conda/lib/python3.8/site-packages/click/decorators.py", line 26, in new_func
03:34:12      return f(get_current_context(), *args, **kwargs)
03:34:12    File "/opt/conda/lib/python3.8/site-packages/papermill/cli.py", line 250, in papermill
03:34:12      execute_notebook(
03:34:12    File "/opt/conda/lib/python3.8/site-packages/papermill/execute.py", line 122, in execute_notebook
03:34:12      raise_for_execution_errors(nb, output_path)
03:34:12    File "/opt/conda/lib/python3.8/site-packages/papermill/execute.py", line 234, in raise_for_execution_errors
03:34:12      raise error
03:34:12  papermill.exceptions.PapermillExecutionError:
03:34:12  ---------------------------------------------------------------------------
03:34:12  Exception encountered at "In [6]":
03:34:12  ---------------------------------------------------------------------------
03:34:12  RuntimeError                              Traceback (most recent call last)
03:34:12  Input In [6], in <cell line: 3>()
03:34:12        1 # Evaluation
03:34:12        2 model_path = 'pretrained_deepedit_dynunet-final.ts'
03:34:12  ----> 3 model = jit.load(model_path)
03:34:12        4 model.cuda()
03:34:12        5 model.eval()
03:34:12
03:34:12  File /opt/conda/lib/python3.8/site-packages/torch/jit/_serialization.py:161, in load(f, map_location, _extra_files)
03:34:12      159 cu = torch._C.CompilationUnit()
03:34:12      160 if isinstance(f, str) or isinstance(f, pathlib.Path):
03:34:12  --> 161     cpp_module = torch._C.import_ir_module(cu, str(f), map_location, _extra_files)
03:34:12      162 else:
03:34:12      163     cpp_module = torch._C.import_ir_module_from_buffer(
03:34:12      164         cu, f.read(), map_location, _extra_files
03:34:12      165     )
03:34:12
03:34:12  RuntimeError:
03:34:12  Unknown builtin op: aten::_upsample_nearest_exact1d.
03:34:12  Could not find any similar ops to aten::_upsample_nearest_exact1d. This op may not exist or may not be currently supported in TorchScript.
03:34:12  :
03:34:12    File "/home/andres/anaconda3/envs/jupyter_env/lib/python3.8/site-packages/torch/nn/functional.py", line 3896
03:34:12
03:34:12      if input.dim() == 3 and mode == "nearest-exact":
03:34:12          return torch._C._nn._upsample_nearest_exact1d(input, output_size, scale_factors)
03:34:12                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
03:34:12      if input.dim() == 4 and mode == "nearest-exact":
03:34:12          return torch._C._nn._upsample_nearest_exact2d(input, output_size, scale_factors)
03:34:12  Serialized   File "code/__torch__/torch/nn/functional/___torch_mangle_75.py", line 186
03:34:12            _57 = False
03:34:12          if _57:
03:34:12            _60 = torch._upsample_nearest_exact1d(input, output_size2, scale_factors2)
03:34:12                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
03:34:12            _59 = _60
03:34:12          else:
03:34:12  'interpolate' is being compiled since it was called from 'DynUNet.forward'
03:34:12  Serialized   File "code/__torch__/monai/networks/nets/dynunet.py", line 27
03:34:12    def forward(self: __torch__.monai.networks.nets.dynunet.DynUNet,
03:34:12      x: Tensor) -> Tensor:
03:34:12      _0 = __torch__.torch.nn.functional.___torch_mangle_75.interpolate
03:34:12      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
03:34:12      skip_layers = self.skip_layers
03:34:12      out = (skip_layers).forward(x, )
03:34:12
03:34:12
03:34:12
03:34:12  real	0m26.666s
03:34:12  user	0m16.624s
03:34:12  sys	0m5.826s
03:34:12  Check failed!

with
NVIDIA-SMI 465.07       Driver Version: 465.07       CUDA Version: 11.3
docker nvcr.io/nvidia/pytorch:22.04-py3
cc @diazandr3s could you please help look into this one?

Thanks, @wyli
I've faced the same issue locally. I'm not sure if this is related to a change made in MONAI or PyTorch. I see this issue is related to jit, right?
I bypass this by using a python virtual environment with Python==3.9.12 and torch==1.11.0
Do you know if there was a recent change made to jit recently?

I think the jit is tested in these environment https://github.com/Project-MONAI/MONAI/blob/557c12940e3e31be3f01f8031afcd6c027a8870d/tests/test_dynunet.py#L119 @yiheng-wang-nv any idea?

Hi @diazandr3s , the first line of the notebook is wrong, it misses a comma and should be:
!python -c "import monai" || pip install -q "monai-weekly[nibabel, tqdm]"

Hi @wyli , I did not meet the same error when using 22.04 with cuda 11.6 and 510.47.03, could you send the link of this test, and let me see how to reproduce the error.

Hi @diazandr3s , could you also post the code which is used to create the .ts module? Thanks!

Hi @diazandr3s , could you also post the code which is used to create the .ts module? Thanks!

I think it's this one https://github.com/Project-MONAI/tutorials/blob/d8d0d4e6b63fa25a023134cdae9e7306c1ca9230/deepedit/ignite/train.py#L361

Hi @diazandr3s , another small issue is that in
https://github.com/Project-MONAI/tutorials/blob/d8d0d4e6b63fa25a023134cdae9e7306c1ca9230/deepedit/ignite/train.py#L354
args.channels and args.dimensions are not defined in your ArgumentParser, could you please also add these args, otherwise error will happen when using export

I think this caused the error. Just made a PR https://github.com/Project-MONAI/tutorials/pull/696 fixing this problem. I'll train the model again and update the weights.
Thanks for commenting on this.

Hi @wyli, @yiheng-wang-nv,
Just updated the pretrained weights. We shouldn't have this issue again.
Please let me know

this is still an issue, according to the latest nightly log.

Thanks for opening this issue again, @wyli.
I managed to replicate the problem locally. For this, I've created a python virtual env with the following commands/requirements:

conda create -n test-tutorial-env python=3.8 pytorch cudatoolkit=11.3 -c pytorch -c nvidia

Python 3.8.13

absl-py==1.0.0
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
asttokens==2.0.5
attrs==21.4.0
backcall==0.2.0
beautifulsoup4==4.11.1
bleach==5.0.0
cachetools==5.0.0
certifi==2021.10.8
cffi==1.15.0
charset-normalizer==2.0.12
cycler==0.11.0
debugpy==1.6.0
decorator==5.1.1
defusedxml==0.7.1
entrypoints==0.4
executing==0.8.3
fastjsonschema==2.15.3
fonttools==4.33.3
google-auth==2.6.6
google-auth-oauthlib==0.4.6
grpcio==1.46.1
idna==3.3
imageio==2.19.1
importlib-metadata==4.11.3
importlib-resources==5.7.1
ipykernel==6.13.0
ipython==8.3.0
ipython-genutils==0.2.0
ipywidgets==7.7.0
itk==5.2.1.post1
itk-core==5.2.1.post1
itk-filtering==5.2.1.post1
itk-io==5.2.1.post1
itk-numerics==5.2.1.post1
itk-registration==5.2.1.post1
itk-segmentation==5.2.1.post1
jedi==0.18.1
Jinja2==3.1.2
jsonschema==4.5.1
jupyter==1.0.0
jupyter-client==7.3.1
jupyter-console==6.4.3
jupyter-core==4.10.0
jupyterlab-pygments==0.2.2
jupyterlab-widgets==1.1.0
kiwisolver==1.4.2
Markdown==3.3.7
MarkupSafe==2.1.1
matplotlib==3.5.2
matplotlib-inline==0.1.3
mistune==0.8.4
monai-weekly==0.9.dev2219
nbclient==0.6.3
nbconvert==6.5.0
nbformat==5.4.0
nest-asyncio==1.5.5
networkx==2.8
nibabel==3.2.2
notebook==6.4.11
numpy==1.22.3
oauthlib==3.2.0
packaging==21.3
pandocfilters==1.5.0
parso==0.8.3
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.1.0
prometheus-client==0.14.1
prompt-toolkit==3.0.29
protobuf==3.20.1
psutil==5.9.0
ptyprocess==0.7.0
pure-eval==0.2.2
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.21
Pygments==2.12.0
pyparsing==3.0.9
pyrsistent==0.18.1
python-dateutil==2.8.2
pytorch-ignite==0.4.8
PyWavelets==1.3.0
pyzmq==22.3.0
qtconsole==5.3.0
QtPy==2.1.0
requests==2.27.1
requests-oauthlib==1.3.1
rsa==4.8
scikit-image==0.19.2
scipy==1.8.0
Send2Trash==1.8.0
six==1.16.0
soupsieve==2.3.2.post1
stack-data==0.2.0
tensorboard==2.8.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
terminado==0.13.3
tifffile==2022.5.4
tinycss2==1.1.1
torch==1.10.2
tornado==6.1
tqdm==4.64.0
traitlets==5.2.0
typing_extensions @ file:///opt/conda/conda-bld/typing_extensions_1647553014482/work
urllib3==1.26.9
wcwidth==0.2.5
webencodings==0.5.1
Werkzeug==2.1.2
widgetsnbextension==3.6.0
zipp==3.8.0

The issue comes from the torch version (1.10.2). I've trained the model with torch 1.11.0 and it seems there is an incompatibility of the ts files between these two torch versions. You can see here the solution for this here:  https://discuss.pytorch.org/t/unknown-builtin-op-aten-tensor/62389/2
As I used the DyUNet, I see that's definitely the problem: https://github.com/Project-MONAI/MONAI/blob/dev/monai/networks/nets/dynunet.py#L171


[WPF] Container Style of Default returns null

A container style of "Default" returns
 "style": null
Web Visualiser fails - WPF continues to render

Hi Brennon, could you elaborate a bit? There was a bug in the .NET serializer that was adding "style": null to the JSON, but this has been fixed, and should be in the latest NuGet pacakge. Is that what you're referring to? These fixes and others are currently in the dotnet2 branch which has an open PR
https://www.nuget.org/packages/AdaptiveCards/1.0.0-beta02

@matthidinger   My bad - using an old build in a test rig.
I continue to use direct from source rather than NuGet at the moment. Is the dotnet2 branch not public but pushed into NuGet?
I keep checking the source looking for the ID property ;-)
Cheers


Adding calculator to conic section

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

My feature is to add a calculator to the conic section part of the website. Since it only contains a table for user to understand parabola, hyperbola and eclipse(there is also spelling error in website).

Describe the solution you'd like

I want to add a reliable calculator for the advantage of the user in order to calculate the required conic section equations.

I am attaching an image which shows absence of calculator in the conic section part of the website

Kindly assign this to me @sairish2001

Can you show steps for it?
Go ahead
Deadline 31 March,2021 (11:59 PM IST)

I will go through the concept of conic section and will get back to you regarding the steps


Implement refresh endpoint

Description
Implements a /refresh POST endpoint and relevant application logic that takes a JWT access token along with a JWT refresh token, generates an updated JWT access token, and returns it along with the JWT refresh token as an HTTP-only cookie.
Testing instructions
Add a set of instructions describing how the reviewer should test the code

[ ] Review code
[ ] Check Actions build
[ ] Supply valid access token
[ ] Supply invalid access token
[ ] Supply invalid refresh token
[ ] Supply no refresh token

Agile board tracking
closes #10

@joelvdavies I am not sure about the cookie, sorry. Regarding the response for the /refresh endpoint, SciGateway Auth just returns a string like the /login endpoint does.

@VKTB SciGateway auth also has a maintenance endpoint so it looks like it uses SciGateway's icatAuthProvider, if I look at https://github.com/ral-facilities/scigateway/pull/1275/files#diff-262fc2f51a09abb09571717b6aa50067596d5fd00a8953bf8b1624ad2ce4f281R15 - The login was changed to use data.token, but the refresh was left as res.data.token. I will raise it with Louise as I have a catch-up today anyway, it definitely looks like it just needs changing too.


[TW#13710] BLE: Scan result response contains "unknown" value for ble_evt_type field

When we are performing a scan as a BLE client, we receive ESP_GAP_BLE_SCAN_RESULT_EVT type events.  This contains a structure field called "scan_rst".  One of the fields in this structure is called "ble_evt_type" and is defined to have one of the following values:

ESP_BLE_EVT_CONN_ADV
ESP_BLE_EVT_CONN_DIR_ADV
ESP_BLE_EVT_DISC_ADV
ESP_BLE_EVT_NON_CONN_ADV
ESP_BLE_EVT_SCAN_RSP

Unfortunately, I am getting a numeric value for this field of (decimal) 160.  This does not correspond to any of the above definitions.

@nkolban The type of ble_evt_type is used to set the scan param, and the scan_rst  structure field should used the esp_ble_adv_data_type to resolve the advertising data. Hope this answer can help you, thanks.


keyd-application-mapper -d does not start when the OS boot

This may be due to using the Apple Wireless Keyboard. When I checked the log, I got the following message.
could not connect to keyd instance, make sure it is running and you are a member of'keyd'

Comment out ping_keyd() of keyd-application-mapper, it will be autostart. Or manually run keyd-application-mapper -d after the keyboard has a Bluetooth connection.
keyd 2.3.0-rc
gnome 3.38

To clarify, does this problem occur only on boot? If keyd-applicaiton-mapper is started before keyd (this shouldn't happen) it will fail to start. How are you starting keyd-application-mapper? I assume you are using shipped systemd file for keyd initialization.

The installation was done according to README.md. keyd-application-mapper starts as a Gnome extension.
/lib/systemd/system/keyd.service
[Unit]
Description=key remapping daemon
Requires=local-fs.target
After=local-fs.target

[Service]
Type=simple
ExecStart=/usr/bin/keyd
ExecReload=/bin/kill -USR1 $MAINPID

[Install]
WantedBy=sysinit.target

The only physical inputs on my system are a Bluetooth keyboard and a Bluetooth trackpad.
After booting the OS, the "keyd -e ping" command doesn't seem to return "pong". Because the Bluetooth connection isn't established until I press any key.
When the keyboard is connected, "keyd -e ping" will return "pong".
I tested keyd -e ping on an ssh connection.

Thanks for the additional details :). It looks like a regression was introduced which made ping dependent on the presence of a keyboard. This should be fixed in the latest commit.

I'm closing this for now. Feel free to reopen it if the issue remains unresolved.

perfect 👍👍👍


Embedded Unit Testing

New Feature
Add support for running unit test framework (even in a limited way) on embedded targets.

@@MyApaulogies is working on this.

https://blog.adacore.com/enhancing-ada-embedded-development-the-power-of-real-time-logging-with-rtt


Implement ability to create ProxMox token and assign roles.

From the proxmox-setup.sh add section to create token and assign the roles necessary to run the terraform code.
https://pve.proxmox.com/pve-docs/pveum.1.html

This is done as of #5


chore(main): release 0.2.0

:robot: I have created a release beep boop
0.2.0 (2024-07-27)
Bug Fixes

package name (b578bc1)
release please configuration (e1ec1ef)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.2.0
:sunflower:


Docker Release

There hasn't been a docker image release in a while. I've deployed a version of master to my own dockerhub namespace as a stop-gap. Would you consider doing a release of the latest changes? Specifically exposing the prometheus metrics is a much-appreciated feature that would be great to have in a release.

just tagged and released v0.10.0

thank you :)
On Fri, Apr 3, 2020 at 6:41 AM Will Norris<EMAIL_ADDRESS>wrote:

just tagged and released v0.10.0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/willnorris/imageproxy/issues/221#issuecomment-608225442,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMQ6Y2RZM5TOMVM7K6EQSLRKVSGNANCNFSM4K7Q5RWA
.


Using .call to call a function is not checked in strong mode

This code has no errors in strong mode:
typedef bool Predicate<T>(T object);
Predicate<String> f() => null;
void main() {
  String x = (f()).call(3);
}

yeah that's because of parens. FunctionInvocationExpression was not fixed, only MethodInvocation. Tear offs of call methods (if that's legal) likely have the same problem.

related to https://github.com/dart-lang/sdk/issues/27050

https://dart-review.googlesource.com/c/sdk/+/52263


remove glioblastoma bundles from tests

Functional tests passing (dev, integration)

Looks good, what did you replace them with?

Latest test SS2 bundles in integration. I believe they're whitelisted @parthshahva

Is there anything in a cache or results bucket we need to delete?

Ah, yeah. We should clear the predev, dev and integration caches and results buckets - I'll do that now

Thank you!

Cleared


Delete README.md

PLEASE PROVIDE MY MONEY
$120 - PayPal email<EMAIL_ADDRESS>SOHIL MEMON from Upwork


RFC: Binary Coverage Matrix

As @kkoopa mentioned at https://github.com/sass/node-sass/issues/627#issuecomment-70419098:

A module must be rebuilt whenever  NODE_MODULE_VERSION changes.  It changed from joyent/node 0.10 -> joyent/node 0.11, from joyent/node 0.11 -> iojs/io.js 1.0, and atom/atom-shell has its own fork going with yet another NODE_MODULE_VERSION.

we need to confine a binary coverage matrix for the most used versions of runtimes (related: https://github.com/sass/node-sass/issues/602#issuecomment-73408256).
The current version of node-sass is v2.0.0-beta and the distributable binary availability of node-sass is given below:

Availability
Runtime
Version  NODE_MODULE_VERSION
Platform
Architecture

atom-shell
0.21
Linux
ia32

atom-shell
0.21
Linux
x64

atom-shell
0.21
Mac
x64

atom-shell
0.21
Windows
ia32

atom-shell
0.21
Windows
x64

io.js
1.1
FreeBSD
ia32

io.js
1.1
FreeBSD
x64

io.js
1.1
Linux
ia32

io.js
1.1
Linux
x64

io.js
1.1
Mac
x64

io.js
1.1
Solaris
ia32

io.js
1.1
Solaris
x64

io.js
1.1
Windows
ia32

io.js
1.1
Windows
x64

node.js
0.12
FreeBSD
ia32

node.js
0.12
FreeBSD
x64

node.js
0.12
Linux
ia32

node.js
0.12
Linux
x64

node.js
0.12
Mac
x64

node.js
0.12
Solaris
ia32

node.js
0.12
Solaris
x64

node.js
0.12
Windows
ia32

node.js
0.12
Windows
x64

node.js
0.10
FreeBSD
ia32

node.js
0.10
FreeBSD
x64

x
node.js
0.10
Linux
ia32

x
node.js
0.10
Linux
x64

x
node.js
0.10
Mac
x64

node.js
0.10
Solaris
ia32

node.js
0.10
Solaris
x64

x
node.js
0.10
Windows
ia32

x
node.js
0.10
Windows
x64

Note: This matrix will eventually be added to wiki and we will keep the coverage matrix up to date for the current version of node-sass.

@am11 will we need to change the install script and node-sass-binaries to handle the different combinations?
i.e. will node 0.10.x binaries work with node 0.12.x and atom 1.x etc...

@xzyfer Yes. It would probably be something like: linux-x64-node-0.10.

@am11 wouldn't it be better to put the matrix into the https://github.com/sass/node-sass-binaries README instead of the wiki? that way it would it could always reflect the current state of the repo, you get a history for free and linking to it isn't much harder than linking to the wiki.

@Turbo87,  I think it would make more sense to add it to node-sass-binaries repo's README and a reference in node-sass' README.
In node-sass' README, we do not want to deliver the message as if it is some kind of set in stone limitation. User can manually build binaries on other platforms with various versions of runtimes. This (incomplete) matrix is only showing the binaries which we might be distributing OOTB.

@am11 I know that, and I don't think it will be controversial if you put it exactly like that in the README next to the matrix too.

some kind of set in stone limitation.

Matrices are usually just denoting what's currently supported and not always set in stone. Anyone familiar with node packages knows that things change. Our project for example uses exact semver releases.

User can manually build binaries on other platforms with various versions of runtimes.

Our node host provider won't allow this as I previously mentioned over at the node-sass-binaries repo issues... our provider just happens to be joyent maintained as well.
As a potential further solution for displaying the matrices there is always GH io pages. That could be a common place to bring multiple repos together.

Super awesome @xzyfer for Mac binaries!  :+1:
Keep them coming! :sunglasses:
I am trying to figure out a sanest way to differentiate between runtimes, which is yet to be discovered (see https://github.com/TooTallNate/node-gyp/pull/564#issuecomment-73586818). I will then update our scripts/{et al.}.

@xzyfer, I am building the Windows binaries now for node.js (v0.10 and v0.12) and io.js (v1.1).
Would you rebuild the binaries for Mac for that (sub) matrix as well?
Note the last batch of commits has a minor change in binding code, hence rebuild the binary for node.js v0.10 and v0.12 is required.
Note 2: you can use nvm to switch between node.js or io.js versions (without installing them manually).
Once this step is done, I will apply the patch and build Linux binaries on CenOS 5.11.

I'll build the binaries either in the next couple hours or tomorrow depending on how this work out.
FYI io.js 1.2 just shipped!

Haha, it is hard to even catch up with the minor versions (let alone the patches)!
So yeah io.js v1.2 that would be..
and yay for Mac binaries! :+1:

I'm going to give 1.2 time to settle and ship any patches over night. I've also started looking into Solaris for the lols.

The mac binaries take me 10mins to build so don't let it hold you up in any way.

By that logic, we would need to give node.js v0.12.0 sometime time as well.. :)
I think the current latest of both runtimes is a must have. We still have few days before the release.
I am currently having issue with nvmw: https://github.com/hakobera/nvmw/issues/40.

I would agree if node had a frequent release cycle. Generally speaking the first 24hrs after a release is the danger zone for patch releases.

Add PRs for Darwin iojs 1.2 and node 0.12 binaries. There appear to have been no changes to the binary for 0.10.

Great! :+1:
However, there was this change:
-  NanNew(ctx_w->result)->Set(NanNew("sourceMap"), source_map);
+  NanNew(ctx_w->result)->Set(NanNew("map"), source_map);

made in binding.cpp file: https://github.com/sass/node-sass/commit/f6836c65c1e8f0fdee31717aaf5aa506137c0017#diff-672b939c4bdf28c42fc7ba5da56105db. Don't know why compiler would make the ditto binary.. :confused:

Yeah I can't explain it. Maybe the two operations are equivalent in nan  ¯_(ツ)_/¯

With v2.0.0, here is the state of coverage matrix: https://github.com/sass/node-sass-binaries/releases/tag/v2.0.0.
@Turbo87, would you like to send a PR for moving the updated matrix to README, the way you proposed?

:+1:  Yaye

@am11 sure, why not.

Updated the matrix for v2.0.1 in first post.

iojs 1.4.1 has upgraded v8 to <IP_ADDRESS> due to undisclosed security bug ( iojs/io.js#952 ) - https://code.google.com/p/chromium/issues/detail?id=430201 (embargoed).

The information in the original post is outdated.
For v3.0.0-alpha.0 (rebooted preview), please refer to node-sass-binaries repo's readme: https://github.com/sass/node-sass-binaries/blob/master/README.md.
(summary: io.js v1.0.0-v1.5.1 are supported for Linux, Mac and Windows and FreeBSD is available for node.js v0.12)
Once we refactor the docs (https://github.com/sass/node-sass/issues/730), we will most probably bring the coverage status to node-sass readme.
Thanks for your comments.

So, we now have io.js 2.0.0, which defines NODE_MODULE_VERSION to 44


Don't install 'llvm-dev' in build stage

It looks like this package brings in a bunch of stuff we don't need, especially since the Dockerfiles already install libclang-dev. Let's see if the build works!
https://packages.debian.org/bullseye/llvm-dev

this takes the apt install phase from 122 packages to 78.


Fix "audit-webhook-config-file" argument name

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

d8e4a9b Fix "audit-webhook-config-file" argument name

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

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign mfdii after the PR has been reviewed.
You can assign the PR to them by writing /assign @mfdii in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Welcome @fjogeleit! It looks like this is your first PR to falcosecurity/falco-website 🎉

LGTM label has been added.  Git tree hash: 4ce0a1436cdb730a7bb4993ae43841947ee7ef92

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


VIM HL is left after canceling incsearch

Works normally when commiting the search and typing :noh

Only if doc was scrolled


Release v0.11.5

This MR does the following:

Update CHANGELOG
Bump up versions

@ajsviado I will just merge this MR now, please let me know if I need to update other things, we can do that in the next release.


Add deferred named version

What: added named deferred version as probably many users need such macro. Added tests and readme for this case.

How: seems like handled all the cases.

Checklist:

[x] Documentation
[x] Tests
[ ] Ready to be merged
[ ] Added myself to contributors table

Well, It would be difficult to convince you probably. While working in few different companies I saw the approach of exposing 'kinda' library additional components or functions to globals and using them somewhere dynamically (component/fn name cannot be statically determined).
So I think this can be a great drop-in replacement for such use cases with no changes to the architecture of the whole app.


Remove the synchronization in ConsentData

This will avoid unnecessary contention. apply is an atomic operation, but writing
involves grabbing the reference to the editor first. Therefore, the only effect is that
reading might not return the latest available value, but that is an acceptable trade-off.

Sure, but I didn't say that it was for ordering purposes at the caller level. The reason why I put the Synchronized was to make sure that when setConsentData is being executed, then it won't let a read operation execute before setContentData returns.


how to build field_feathers dataset in ffm?

ref this: https://github.com/yuantiku/ytk-learn/tree/master/demo/ffm


Keyboard shortcut guidance

I wanted to close this but maybe the keyboard shortcut indicator would still be nice. Going to mark it as low since we haven’t had any requests/questions about this one.


Latest release and docs should match

👋 It looks like the docs match main, but not the latest version.
This means that the docs show that dotslash supports .tar.xz however 0.2.0 does not. If I build against main, I'm able to use tar.xz.
Or could main be released so I can have people pull dotslash and use my tar.xz packages?

@zertosh I think this would be fixed if we just release a new version right? Anything blocking that?

We're good!

I've released v0.3.0 from HEAD so the docs are now up-to-date with the latest released version


check for jQuery on page load

some people ( like me ) put their js before body close so this condition fails

Hi,
this change breaks the prophiler demo on my machine.
The browser document ends up like this:
<html>
<head>
    <script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
</head>
</html>

Best
Fabian

ok will check it next year xD

Happy New Year :-)
for me is working both ways with jquery 3.1, can you give me a small demo how do you are breaking it.
or which jquery version you are trying to try it myself ?

Happy New Year :-)
for me is working both ways with jquery 3.1, can you give me a small demo how do you are breaking it.
or which jquery version you are trying to try it myself ?

When I look at it now i want to jump out of the window. Ofc it will not work lol....
function loadScript(url, callback) {

    var script = document.createElement("script")
    script.type = "text/javascript";

    if ( script.readyState ) {  //IE
        script.onreadystatechange = function () {
            if ( script.readyState == "loaded" ||
                script.readyState == "complete" ) {
                script.onreadystatechange = null;
                callback();
            }
        };
    } else {  //Others
        script.onload = function () {
            callback();
        };
    }

    script.src = url;
    document.getElementsByTagName("head")[0].appendChild(script);
}

window.addEventListener("load", function () {

    var callback = function () {

        $('json').each(function (index, el) {
            el.innerHTML = JSON.stringify(JSON.parse(el.innerHTML), null, '    ');
        });
    }

    if ( typeof jQuery == 'undefined' ) {
        loadScript("//code.jquery.com/jquery-2.1.1.min.js", callback);
    } else {
        callback();
    }
});

in this case is working, but the problem is that user can click on some button before the XHR has finished loading the jquery and then an $ is not a function will pop up.... pointless to re-work so much when i can just remove the code after i pull it.
Maybe when i have time i can remove the open another PR without jquery being needed


Font missing: Stix Two Math

Describe the bug
The package does not include ./files folder, so CSS could not reference to that url, causing error at build time.
Steps to Reproduce

Install the package
View content in node_modules/@fontsource/stix-two-math, there is no files folder
Inside each *.css file, the src is poiting to ./files/...

Error when running development mode in Next.js

Expected behavior
No response
Version
4.5.2
OS
Mac
Browser
Safari
Additional context
No response

Related #578. Please pin the package to an older version. A fix for this is already completed but for the V5 release in a couple weeks.


Osram Smart+ Swicht Mini with conbee II

Hello, i own a Conbee II with six Xiaomi Sensors and Osram Motion Sensor. Now i bought the Osram Smart+ Switch Mini ( 3 Buttons) they are super cheap.
But i can't recognize them?
Any one who use this switch?
thanks for nice codding, zigbee rock it
have a nice day

Thank you for reaching out.  We use GitHub for tracking issues, not for providing support.
If you are in need of support, you should try our Community Forum or join our Discord chat server.
You are more likely to get the answer you are looking for in those places.
Thanks! 👍


Ldap realm creation flow

This relates to issue https://github.com/zulip/zulip/issues/9576
While the flow would succesfully create the realm and user, that turned out deceptive, because I noticed that it didn't properly set the user as the admin - and didn't correctly create the initial subscriptions and messages.
These changes fix it:

First a commit adding a check that the user is the realm admin in the realm creation tests.
Two commits refactoring part of the accounts_register function a bit.
With the above refactorings, it's easy to fix the flow in accounts_register and improve the plumbing in ldap's get_or_build_user  to get the issue fixed. A test for the ldap case of realm creation is added.

This is great, merged, thanks @mateuszmandera!  A few requests:

This comment:

                    # It's likely that we can extend this block to the
                    # Google and GitHub auth backends with no code changes
                    # other than here.

We should test whether it's already handled (in which case we delete it) or if not, fix the issue.

Can we extend check_able_to_create_realm to verify that the initial streams were created?  That would I think protect us from a range of potentially problematic refactors that could happen in zerver/views/registration.py (e.g. accidentally renaming that variable back).

Thanks @mateuszmandera!


Implement lifted_struct_loss

Related Issue Number: #26

CLA signed

Hi, Tabish. Can you merge the latest master branch, and add unit tests necessary? Thank you for your contribution :-)

Yes I will finish this till tomorrow

@facaiy @seanpmorgan  the pr is ready for review, do I have to change the BUILD file also.

Short answer is yes, the BUILD file has to be adjusted so we can run the test cases using bazel. I plan to push a some contribution guidelines tomorrow so that should make it more clear.

@facaiy I have made the changes and also added the build file

@facaiy Build now passing

Please wait a moment, I'll merge it later after I reset CLA status.

@karmel @av8ramit Hi, Karmel, Amit. Could you help reset CLA status?

Thank you so much @seanpmorgan @facaiy @karmel for merging this, finally one pr merged. Yay!!!!!! :)

@tabshaikh I recently tried using lifted struct loss and as far as I understand it can be replaced with the TripletSemiHardLoss as is without any code modification. But when I try to compile the model it gives me a shape error. I am using tf 2.0 on collab. Can you please provide some sample code perhaps?


virDomainMigrate?

Correct me if I'm blind, but has virDomainMigrate bindings been implemented?

No, you're right, it is not implemented.

Ah, thought so. Kind of new to Go, assumed it had an auto-import function similar to Ruby's C implementation / wrapper of ruby-libvirt.
Thanks :) I'll contribute to development.

To be fair, there are tools (swig, def2go), but I just didn't know about them at the time. Worth investigating.


Any plan to support openstasck and VMWare

Hi @dgoodwin , may I know if you have any plan to enable Hive support openstasck and VMWare?

I believe so yes, we plan to start on openstack and RHV next sprint, VMware some time in future, probably not far out.

Thanks @dgoodwin , any issues opened for those requirements? If there are issues, can you help provide some links for me to check more?
Not clear about the sprint time for hive here, can you show me some clear date for this, thanks!  :-)

Plz ping on slack and I can send you the internal links in Jira.


Actions stuck at sonic repo

See e.g. https://github.com/SovereignCloudStack/github-manager/actions/runs/11596988795/job/32289371890#step:7:309

Fixed by #440


Method to fetch all the names of the fonts available through this library.

Hi Google!,
It's been great using this library and has reduced the work of many hours. Thanks & cheers for that!
Is there a way to get all the names of fonts in a list, available in this library?

I am looking for the ability to do the same. This question hasn't been answered in a month.

Thanks for the request! Glad you're enjoying the library.
As of version 0.4.0, you can get a list of all the available fonts by using GoogleFonts.asMap!


[feature fix] Adjust Base Route Throttle

Purpose

Adds a custom throttle class to the root API view with a higher throttle rate for non-authenticated requests.

Looks great once tests pass.

🎉 🐧 🎉


Implement Rainbow DQN extensions

Would be nice to have "rainbow" DQN extensions as described in https://arxiv.org/abs/1710.02298
raphaelmeudec on reddit suggested they might want to do this in keras-rl so here is the reminder: https://www.reddit.com/r/reinforcementlearning/comments/80u9ht/d_any_algorithms_you_would_like_to_see_implemented/dvujpme/

Our plan is first to merge A3C and PPO and then take a look at Rainbow implementation. Thanks for opening this!


Add a data folder to your gitignore defn

Since lots of peeps with medical data, trial data, might be good to emphasise that (and other more robust strategies for protecting or isolating sensitive data storage) option from the get go?

You might be about to cover this…


Invalid tokens cause random "Connection reset by peer", which prevents from finishing a sending batch

Been testing the library for quite a while and, although it's definitely the best one out there for PHP, I'm almost getting insane with some random behaviour I've noticed mixing valid and invalid tokens.
After writing all push notifications to the socket (both valid and invalid tokens mixed up), we just wait through select_stream() for any error feedback. When the error is available (which it is, since $nChangedStreams is 1), we call _updateQueue(), which calls _readErrorMessage(), which does a fread() to the socket.
Although $nChangedStreams is indeed always 1 whenever it has to be, _readErrorMessage's fread() fails once in a while, throwing away the following warning (both in UNIX and Windows environments):
Warning: fread(): SSL: Connection reset by peer in path_to_project/ApnsPHP/Push.php on line 302

Something is getting in the way between the select_stream() check, and the following fread(), but I'm not sure anymore which end is to blame here.
As mentioned, this only happens sometimes, not always, not never. When it doesn't, everything goes well and all valid notifications end up being sent, with its proper retries, as expected. On the other hand, when it fails, the queue is emptied, since the library considers there's no error if fread() returns nothing, and so retries are lost and execution ends (having lost the remaining pending notifications).
Am I the only one to notice this behaviour? Or is it a common issue? Advice is appreciated.
Thanks for your time.

Any updates on this issue?

I'm not able to reproduce this issue using the code in https://github.com/immobiliare/ApnsPHP/issues/34#issuecomment-20441441 . I correctly see 20 messages being set, and 20 errors at the end. I don't see any connection reset by peer error in the middle.

Frankly speaking, I'm using another language - ruby. And I am facing the same problem. 'Connection reset by peer' after sending messages including some invalid tokens. But it is not always. I tested with 1000 messages with 10~20% of invalid tokens. And sometimes I can see ECONNRESET (connection reset by peer).
I'm sorry to ask here. I think this issue is not a problem of this library. I found same problem at node-apn. (https://github.com/argon/node-apn/issues/137)


windows 10, Ryzen1800X cpu, python ver 3.7 numba error

C:\projects\NERM\venv\Scripts\python.exe C:/projects/NERM/dreamer.py
Traceback (most recent call last):
  File "C:/projects/NERM/dreamer.py", line 8, in <module>
    l4_cell = CNS.EntropyReducer(1000, 800, 1000, 400, 500)
  File "C:\projects\NERM\body\CNS.py", line 134, in __init__
    self.prox = Synapse(self.cell_count, prox_in_size, max_prox_count)
  File "C:\projects\NERM\body\CNS.py", line 77, in __init__
    self.remap(np.arange(self.cell_count, dtype='int32'))
  File "C:\projects\NERM\body\CNS.py", line 89, in remap
    maybe = self.pref[i][np.where(nb_isin(self.pref[i], maybe))[0][:self.max_syn_count - poss.size]]
  File "C:\projects\NERM\venv\lib\site-packages\numba\dispatcher.py", line 395, in _compile_for_args
    raise e
  File "C:\projects\NERM\venv\lib\site-packages\numba\dispatcher.py", line 352, in _compile_for_args
    return self.compile(tuple(argtypes))
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "C:\projects\NERM\venv\lib\site-packages\numba\dispatcher.py", line 693, in compile
    cres = self._compiler.compile(args, return_type)
  File "C:\projects\NERM\venv\lib\site-packages\numba\dispatcher.py", line 76, in compile
    status, retval = self._compile_cached(args, return_type)
  File "C:\projects\NERM\venv\lib\site-packages\numba\dispatcher.py", line 90, in _compile_cached
    retval = self._compile_core(args, return_type)
  File "C:\projects\NERM\venv\lib\site-packages\numba\dispatcher.py", line 108, in _compile_core
    pipeline_class=self.pipeline_class)
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler.py", line 972, in compile_extra
    return pipeline.compile_extra(func)
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler.py", line 390, in compile_extra
    return self._compile_bytecode()
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler.py", line 903, in _compile_bytecode
    return self._compile_core()
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler.py", line 890, in _compile_core
    res = pm.run(self.status)
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler.py", line 266, in run
    raise patched_exception
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler.py", line 257, in run
    stage()
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler.py", line 764, in stage_nopython_backend
    self._backend(lowerfn, objectmode=False)
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler.py", line 703, in _backend
    lowered = lowerfn()
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler.py", line 690, in backend_nopython_mode
    self.metadata)
  File "C:\projects\NERM\venv\lib\site-packages\numba\compiler.py", line 1143, in native_lowering_stage
    lower.lower()
  File "C:\projects\NERM\venv\lib\site-packages\numba\lowering.py", line 177, in lower
    self.lower_normal_function(self.fndesc)
  File "C:\projects\NERM\venv\lib\site-packages\numba\lowering.py", line 218, in lower_normal_function
    entry_block_tail = self.lower_function_body()
  File "C:\projects\NERM\venv\lib\site-packages\numba\lowering.py", line 243, in lower_function_body
    self.lower_block(block)
  File "C:\projects\NERM\venv\lib\site-packages\numba\lowering.py", line 258, in lower_block
    self.lower_inst(inst)
  File "C:\projects\NERM\venv\lib\site-packages\numba\lowering.py", line 410, in lower_inst
    func(self, inst)
  File "C:\projects\NERM\venv\lib\site-packages\numba\npyufunc\parfor.py", line 51, in _lower_parfor_parallel
    ensure_parallel_support()
  File "C:\projects\NERM\venv\lib\site-packages\numba\parfor.py", line 3985, in ensure_parallel_support
    raise errors.UnsupportedParforsError(msg)
numba.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
The 'parallel' target is not currently supported on Windows operating systems when using Python 2.7, or on 32 bit hardware.
[1] During: lowering "id=0[LoopNest(index_variable = parfor_index.10, range = (0, $42.6, 1))]{74: <ir.Block at C:\projects\NERM\body\CNS.py (11)>, 84: <ir.Block at C:\projects\NERM\body\CNS.py (12)>, 60: <ir.Block at C:\projects\NERM\body\CNS.py (10)>, 94: <ir.Block at C:\projects\NERM\body\CNS.py (10)>}Var(parfor_index.10, C:\projects\NERM\body\CNS.py (10))" at C:\projects\NERM\body\CNS.py (10)
-------------------------------------------------------------------------------
This should not have happened, a problem has occurred in Numba's internals.
You are currently using Numba version 0.45.0.

Please report the error message and traceback, along with a minimal reproducer
at: https://github.com/numba/numba/issues/new

If more help is needed please feel free to speak to the Numba core developers
directly at: https://gitter.im/numba/numba

Thanks in advance for your help in improving Numba!

Process finished with exit code 1

This error occured when compiling a function:
@nb.jit(parallel=True, nopython=True)
def nb_isin(matrix, search):
    flat_mat = matrix.reshape(-1)
    out = np.empty(flat_mat.shape[0], dtype=nb.boolean)
    search = set(search)
    for i in nb.prange(flat_mat.shape[0]):
        if flat_mat[i] in search:
            out[i] = True
        else:
            out[i] = False
    return out.reshape(matrix.shape)

Thanks for the report. It looks like your system is either running windows+python2.7 or 32 bit windows, both of which are not supported on the parallel=True target, is this the case?
RE formatting in GitHub issues, for future reference triple backticks are needed around a code block (with optional language syntax specified), for example: ```python <your code> ```. GitHub also has a basic guide to its markdown syntax available here.

Note: formatted OP.

Thanks. The problem is that I was running on windows10 64bit + python 32bit
Once I reinstalled python 64bit, It works perfectly.
Was not expecting to get the response this quickly.
Thanks for the formatting. Have a great day :D

No problem, glad you got it working.


E5 not required, E1 is sufficient

Communications Credits, Domestic Calling Plan, International Calling Plan do not require Office 365 Enterprise E5 but only E1. And that is good - E1 should be all that is needed, otherwise phone system will only work for a fraction of people.

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

ID: 903e8a02-dbce-4f9c-a397-f2c549b95b57
Version Independent ID: fa546b6a-5c3a-5019-e97c-8510f782e4b8
Content: Buy or edit an add-on
Content Source: microsoft-365/commerce/buy-or-edit-an-add-on.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@sep2li Team confirmed that they are working on the issue and soon will update the documentation. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


chore(RHINENG-5531, RHINENG-5935): Major upgrade of React, PatternFly and other packages

Fixes https://issues.redhat.com/browse/RHINENG-5531, https://issues.redhat.com/browse/RHINENG-5935.
This updates React to v18 and PatternFly to v5, bumps other packages version, and resolves some peer dependencies conflicts. Some of the components are modified to adapt to the new interfaces/props (dropdowns, filter values for primary toolbar, empty state and so on).
How to test
There should be no functional change in the application.

:tada: This PR is included in version 1.38.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Move readme from starter module into it's content module for azure-spring-boot-starter-storage

Parent issue: #23938

Closing this issue now for it's in https://github.com/Azure/azure-sdk-for-java/wiki/Spring-Cloud-Azure-4.0-Reference.


Fix schema validations

A mix of fixes for schema validations. I've published something on integration using this branch and no errors are raised. I also ran the finder/email_signups publishing task and no errors were raised.
I've added a schema validation test for the finders so that we'll know if there's a regression.

👍


fix: considering default_headers for realtime headers

[x] I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested
Added logic to pick default_headers for extra_headers in case of realtime endpoints.
Useful when openai client is being used as a proxy via default_headers
Additional context & links
Fixes: #1975

حدث خطأ:
You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run openai migrate to automatically upgrade your codebase to use the 1.0.0 interface.
Alternatively, you can pin your installation to the old version, e.g. pip install openai==0.28
A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742


Issues with Intel - Some users unable to login via xcreds

Noticed a few issues when on an Intel Macbook Air. Creating an issue for each.
Any user that is a staff member<EMAIL_ADDRESS>cannot login to xcreds through Azure on an Intel based machine.
In Azure,we have students that have an email address/upn that matches their username (samaccountname).  Staff have a firstname.lastname email address/upn that doesn't match their samaccountname.  I haven't been able to identify which (if any) of these two conditions are causing this.
This is ONLY observed on an Intel computer.  A computer with Apple Silicon using same deployment doesn't have this issue.
Logs from /tmp:
FILE:PasswordUtils.swift LINE:271 FUNCTION:getLocalRecord(:) No local user found. Passing on demobilizing allow login.
FILE:PasswordUtils.swift LINE:277 FUNCTION:getLocalRecord(:) ODError while trying to check for local user: %{public}@
FILE:LoginWebViewController.swift LINE:282 FUNCTION:tokensUpdated(tokens:) updating username:forrest.beck, password, and tokens
FILE:XCredsLoginMechanism.swift LINE:121 FUNCTION:allowLogin() Allowing Login
FILE:XCredsLoginMechanism.swift LINE:123 FUNCTION:allowLogin() Dismissing controller
FILE:XCredsLoginMechanism.swift LINE:127 FUNCTION:allowLogin() calling super allowLogin
FILE:XCredsBaseMechanism.swift LINE:139 FUNCTION:allowLogin() allowLogin() /Users/tperfitt/Documents/Projects/xcreds/XCredsLoginPlugIn/Mechanisms/XCredsBaseMechanism.swift:139
MechanismInvoke /Users/tperfitt/Documents/Projects/xcreds/XCredsLoginPlugIn/XCredsLoginPlugin.m:37
-[XCredsLoginPlugin MechanismInvoke:] /Users/tperfitt/Documents/Projects/xcreds/XCredsLoginPlugIn/XCredsLoginPlugin.m:123
FILE:XCredsBaseMechanism.swift LINE:20 FUNCTION:init(mechanism:) init(mechanism:) /Users/tperfitt/Documents/Projects/xcreds/XCredsLoginPlugIn/Mechanisms/XCredsBaseMechanism.swift:20
FILE:XCredsBaseMechanism.swift LINE:48 FUNCTION:setupPrefs() -------------------------------------
FILE:XCredsBaseMechanism.swift LINE:49 FUNCTION:setupPrefs() XCreds Login Build Number: 3291
FILE:XCredsBaseMechanism.swift LINE:50 FUNCTION:setupPrefs() -------------------------------------
FILE:XCredsLoginMechanism.swift LINE:93 FUNCTION:run() run() /Users/tperfitt/Documents/Projects/xcreds/XCredsLoginPlugIn/Mechanisms/XCredsLoginMechanism.swift:93

I created a<EMAIL_ADDRESS>account in Azure AD. Installed XCreds on intel mac. logged in fine (provisioned user as well).

So strange. I am unable to login with users that are<EMAIL_ADDRESS>but any user that is<EMAIL_ADDRESS>works. Azure SignIn logs show success for both.

This was related to our previous issue as well. Sorry for the false report.


Improve documentation about reading and writing

This is based on the discussion in #6234.
Checklist

[x] documentation is added or updated

The current implementation is more: The last operation I successfully did or tried to do was a read/write. If you call me again I might make progress or not. I might also be waiting for more data, or trying to write data, but I'm not telling you.

So I removed the part that SSL_write() can return SSL_ERROR_WANT_READ in case of renegotiation and blocking I/O, since I can't actually reproduce that. In all cases I tried does SSL_write() only returns when it has actually sent the data that it wanted to sent. In 1.0.2 and 1.1.0, the same is true for SSL_read(). Only in 1.1.1 can I make SSL_read() return SSL_ERROR_WANT_READ for blocking I/O.

So I've been thinking about rewriting the documentation to say that disabling SSL_MODE_AUTO_RETRY is to be able support the combination of blocking sockets and select(). But there are at least a few cases where you can receive a packet, and where it auto retries the next packet anyway: empty fragments and alerts. When receiving them without a next packet, and the socket is in blocking mode, SSL_read() will hang.

@mattcaswell: I guess I'm still waiting for feedback from you.


feat: Include raw data in types for Python (box/box-codegen#566)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
8 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 70.815%

Files with Coverage Reduction
New Missed Lines
%

Box.Sdk.Gen/Networking/Fetch.cs
8
83.5%

Totals

Change from base Build<PHONE_NUMBER>4:
-0.09%

Covered Lines:
7581

Relevant Lines:
10667

💛  - Coveralls


Add notification filtering by target media type

The Hub registry generates a large volume of notifications, many of
which are uninteresting based on target media type.  Discarding them
within the notification endpoint consumes considerable resources that
could be saved by discarding them within the registry.  To that end,
this change adds registry configuration options to restrict the
notifications sent to an endpoint based on target media type.

Current coverage is 50.81% (diff: 53.33%)

Merging #1957 into master will decrease coverage by 10.17%

@@             master      #1957   diff @@
==========================================
  Files           124        124
  Lines         11084      11114     +30
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6760       5648   -1112
- Misses         3441       4723   +1282
+ Partials        883        743    -140

Powered by Codecov. Last update cb744ef...761a2eb

The feature is fine per se.  I wonder if an explicit list of mediatypes may be better.  For example there are mediatypes of interesting (see manifest/schema2/manifest.go) which may not easily be captured in a single regex.

@RichardScothern: Switched to explicit lists in 6a09d38143c0b8f2e9262f18492dd0039bd76a94.

@dmcgowan, @RichardScothern: Switched to a single ignoredmediatypes config option in 849b79122f6b0f1908b7df0d4c82a21ca739a5e1. Happy to rename if you prefer mediatypeblacklist or something else.

@nwt  FAIL: configuration_test.go:183: ConfigSuite.TestMarshalRoundtrip 😢

@RichardScothern: Fixed in ad6bb66faf2267b36030d09514d5b6cf52ccc824.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "notification-filtering" git@github.com:nwt/distribution.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

This feature isn't actually narrow enough to avoid extra load. As we increase the mediatypes under which layers are stored, this is just going to break.
What is the actual performance issue? Do we have data? Were the queues too large or was this incurring resource usage in the actual registry? Are we sure these backups weren't due to handler latency?

@stevvooe: Over the past 10 days, we used this feature to drop between 13% and 38% of Hub registry notifications per three hours. If we got rid of it, we'd need additional VMs to handle the increase in load on the notification endpoints and downstream services. But that'd be wasteful, so we'd just resume carrying an equivalent patch, as we did before this was merged.


Error When Installing Mango-Portal

Hi,
I was trying to install mango portal for my iRODS.
my ienv is:
irods_version - 4.3.2
irods_session_environment_file - /root/.irods/irods_environment.json.2147579
irods_environment_file - /root/.irods/irods_environment.json
irods_host - #####.####.ac.uk
irods_port - 1247
irods_zone_name - newZone
irods_user_name - newRods
Python Version: Python 3.10.6
when running the last step (  ./run_waitress.sh )
I had the following error
No irods session found in pool, recreating one
INFO:root:Requested operator info for zone newZone
WARNING:root:Failed getting operator session for zone newZone
ERROR:app:'NoneType' object has no attribute 'user'
Traceback (most recent call last):
File "/home/usern/vijayakumarg/mango-portal/venv/lib/python3.10/site-packages/flask/app.py", line 865, in full_dispatch_request
rv = self.preprocess_request()
File "/home/usern/vijayakumarg/mango-portal/venv/lib/python3.10/site-packages/flask/app.py", line 1239, in preprocess_request
rv = self.ensure_sync(before_func)()
File "/home/usern/vijayakumarg/mango-portal/src/app.py", line 230, in init_and_secure_views
irods_session_pool.add_irods_session(session["userid"], irods_session)
File "/home/usern/vijayakumarg/mango-portal/src/irods_session_pool.py", line 106, in add_irods_session
signals.session_pool_user_session_created.send(
File "/home/usern/vijayakumarg/mango-portal/venv/lib/python3.10/site-packages/blinker/base.py", line 307, in send
result = receiver(sender, **kwargs)
File "/home/usern/vijayakumarg/mango-portal/src/plugins/user_tantra/init.py", line 35, in enrich_irods_session_listener
user_object = zone_operator.user.get(parameters["username"])
AttributeError: 'NoneType' object has no attribute 'user'
s/home/usern/vijayakumarg/mango-portal/src/plugins/user_tantra/init.py changed; reloading ...
Gracefully killing the server.
Could you please help me with this?

I went through the code and found out that this line
zone_operator = get_zone_operator_session(parameters["zone"])
in /mango-portal/src/plugins/user_tantra/init.py  is returning None.

Hi, the plugins are mostly kuleuven specific, your starting point should be the script src/run_waitress_generic_local.sh and the configuration it uses. The modules/blueprints in src/plugins are mostly meant to run in a specific environment (kuleuven) and serve as examples to develop your own plugins. Work is planned to make the installation and configuration more straight forward out of the box

Hi Thanks for the reply.
While going through the
src/run_waitress_generic_local.sh
src/run_waitress.sh
we saw some lines
export OIDC_ISSUER_URL=https://idp.kuleuven.be/auth/realms/kuleuven
export OIDC_CLIENT_ID=oidcapp
.
.
.
if which data-platform-cli &>/dev/null; then
#  export API_TOKEN=$(data-platform-cli token --tier p)
#fi

Are these lines necessary? could you please let us know what it does?
I went into the https://idp.kuleuven.be/auth/realms/kuleuven and saw the following content
{
    "realm": "kuleuven",
    "public_key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA15ZDcf2cdnqMn9hG5UCRo2P4SsRRnl2yZ0UeHd8JaJ7a9u1vjZ5JDmW3um43fHwMNbbwPz5Is/D0b/QKRkMfQJy3VBX9pmV8Dbrd1/0ynqSErxWLy8bDCJXpVQHrXnCWEX8A3Md3J97+zhRkBCBP+FzVGzQcwUjIw/wbhtgugCs7n7LrHHc7+Kxi6l77TCNdvOv4ujWB5dSOneV+8EhTAaxV4LHCJUK9tMdhrBZb1hZDrRjibIZCM6rb05ghPcmq/3I96hj4NyGVdg+zEG4V7Ps5uQTlGQ4Pz0Z9tJLeOeALtGH4whIxkAAMsUXD50+by+Sbl9Hms8LZSAkZj27o0QIDAQAB",
    "token-service": "https://idp.kuleuven.be/auth/realms/kuleuven/protocol/openid-connect",
    "account-service": "https://idp.kuleuven.be/auth/realms/kuleuven/account",
    "tokens-not-before": 0
}

Is my system also importing and using this key?
Please let me know, thanks


[fix][broker]Fix subscribe dispathcer limiter not be initialized

Motivation

Fix bug: If subscribe dispather limiter is disabled at the beginning, it will not be initilized when updating broker config dynamicly.

Modifications

Use dispatcher.updateRateLimiter() to initilize and update the dispatch limiter

Verifying this change

[x] Make sure that the change passes the CI checks.

(example:)

Added UT org.apache.pulsar.broker.service.SubscribeDispatchLimiterTest

Documentation

[x] doc-not-needed

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@Technoboy- @Jason918 @HQebupt  PTAL~


patches

This pull request fixes some issues with non-width-defined elements, and shortens the code. More patches to come, with explanations at the pen.
The pen is: http://codepen.io/procodeing/pen/BNagZa/
Also maybe some 3d animations coming soon...

@procodeing Hi! Could you give a description of the changes in this PR?
Also, I see you updated animate.css—you should change each of the files in /source to ensure the changes stick when animate.css is recompiled.

@daneden sure, and i'll also upload a pen of what this does

@daneden It should now be completly mergible.

@procodeing you should remove the prefixed properties from the source files—autoprefixer takes care of this stuff in the Grunt file :)

@daneden sure.

@daneden done

@daneden its not the best fix, sencie it just make it pulse the other way

Wait, I think i found a better fix

Why to change scale3d to scale?

because the Z property wasn't being used, and it remained 1. scale3d(x,y,1) is the same thing as scale(x,y). Also, scale3d isn't supported in earlier versions of IE. Also, in my new patch, I use animated centerAnimation to make the animated element an inline block.

@procodeing that's not entirely true: scale3d forces the element to be animated/transformed using the GPU. That said, I'd not adverse to these changes on that basis: people should be adopting the new will-change property to enable hardware-accelerated transformations.

oh

the more you know

Added some inline comments. Make those changes & then I’ll merge!

@daneden Ok!

@daneden Since the changes are so small, I will post the fix to it up later, like on my (upcoming) blog.
Though I have been working on some nice animations myself, but I will get to that later

@procodeing sounds good. Thanks for working with my requests on this :)

@daneden your'e welcome


get_data : .json and .jsonl

Hello there.
First and foremost , congratulatulations for the great work, and thanks for creating the datasets .
I´m trying to reproduce it on a custom and the model example that you provide, and I´m facing some issues.

[!IMPORTANT]
This issue might be solved changing some files to .jsonl , but ultimately decided to open it in order to learn also more about the role of the file keywords.json file

Im facing the following issue, and Im going to try to reproduce the mental model linearly behind this.
Thanks for the time dedicated to this issue
Context:

Downloaded the dataset from Google . wmdp-mcqs has 3 files of the extension .json
Downloaded the dataset from Amazon, to double check the file extension

When executing the code, both in custom model and example model, found the following error
Traceback (most recent call last):
  File "/Users/.../runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/.../runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/.../unlearn.py", line 164, in <module>
    keywords_list, forget_data_list, retain_data_list = get_data(
  File "/Users/.../utils.py", line 116, in get_data
    [get_dataset(c) for c in forget_corpora],
  File "/Users/.../utils.py", line 116, in <listcomp>
    [get_dataset(c) for c in forget_corpora],
  File "/Users/.../utils.py", line 95, in get_dataset
    raw_text = json.loads(line).strip()
AttributeError: 'dict' object has no attribute 'strip'

This lead me to review this function, and saw that .json and .jsonl files handle strip methods differently.
Modified the function get_data in order to allow the strip for .json files
def get_data(forget_corpora, retain_corpora, min_len=50, max_len=2000, batch_size=4):
    def get_dataset(name):
        data = []
        if name == "wikitext":
            from datasets import load_dataset
            raw_data = load_dataset("wikitext", "wikitext-2-raw-v1", split="test")
            for x in raw_data:
                text = x['text'].strip() if 'text' in x else ''
                if len(text) > min_len:
                    data.append(text[:max_len])
        else:
            file_path = f"data/{name}.jsonl" if os.path.exists(f"data/{name}.jsonl") else f"data/{name}.json"
            with open(file_path, "r") as file:
                if file_path.endswith(".jsonl"):
                    for line in file:
                        loaded_json = json.loads(line)
                        text = loaded_json.get('text', '').strip() if isinstance(loaded_json, dict) else loaded_json.strip()
                        if len(text) > min_len:
                            data.append(text[:max_len])
                elif file_path.endswith(".json"): ### Added  for .json files ####
                    content = json.load(file)
                    if isinstance(content, list):
                        for item in content:
                            text = item.get('text', '').strip() if isinstance(item, dict) else item.strip()
                            if len(text) > min_len:
                                data.append(text[:max_len])

        data = [data[i:i + batch_size] for i in range(0, len(data), batch_size)]
        return data

With that step apparently solved, now I find the following error
Traceback (most recent call last):
  File "/Users/.../runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/.../runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/.../unlearn.py", line 164, in <module>
    keywords_list, forget_data_list, retain_data_list = get_data(
ValueError: too many values to unpack (expected 3)

Could you please confirm that keywords_lists comes from here ?
Im assuming that get_data also reads keywords? shall this file be also in .jsonl ?

Any ideas of how to handle this?
I might be missing something so please let me know. Happy to submit a contrib or test another approach
Do you recommend at this point to test with HF Datasets first?
Thanks in advance and apologies for the long issue

The error was fixed in 3e1069c9248606c9e3ce52126e45306fd5ce9d17 and seemed to be related to how .jsonl was parsed. No need to .json function .


hv.Spread no muted_alpha by default

hv.Spread is still shown in full alpha when muted inside the legend. This is unexpected, as muting works for all other plots. Setting muted_alpha for spread will work as expected:
import numpy as np
xs = np.linspace(0, np.pi*2, 20)
err = 0.2+np.random.rand(len(xs))

hv.Overlay([hv.Spread((xs, np.sin(xs), err), label='sin')])

To make muting work for spreads, setting it's muted_alpha works as expected, but it should be like this by default.
%opts Spread (muted_alpha=.2)
...

Version: 1.10.7

Thanks, this was fixed very recently in https://github.com/ioam/holoviews/pull/2912/files.


LCAM-1270

What
LCAM-1270
Describe what you did and why.

Migrated trigger hearing result in prosecution concluded

Checklist
Before you ask people to review this PR:

[ ] Tests should be passing: ./gradlew test
[ ] GitHub should not be reporting conflicts; you should have recently run git rebase main.
[ ] Avoid mixing whitespace changes with code changes in the same commit. These make diffs harder to read and conflicts more likely.
[ ] You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
[ ] You should have checked that the commit messages say why the change was made.

Looks good, was part of this ticket to remove the call to CDA to trigger hearing processing from MAAT API aswell?

Once the testing is complete, we can enable the prosecution concluded listener in CCP and disable it in MAAT API.


chore(main): release 0.28.1

:robot: I have created a release beep boop
0.28.1 (2024-12-07)
Bug Fixes

Only show code-lens in files detected by mise in current project (6d05d56)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.28.1
:sunflower:


Save and restore cropview state

Added three methods:
public float[] getPositionInfo() returns a float array that contains position information of the current state of the crop view.
public void applyPositionInfo(float[] values) is used to restore said position and state.
private void applyValues(float[] values) is used by the last method to set the values to the matrix.
See #10 .

@brunoschalch
Thank you for PR.
I tested your code and added sample code.
Merge my sample code please.


feat: Added support for log streaming

Description
This PR is dropping in a hook that will send logs to a logging endpoint as soon as we receive a log message from the lambda API.

We are only going to share the SLS_OTEL_REPORT_LOGS_URL internally for now 👍

@medikoo No let me try and run that real quick 🤔

@medikoo Okay I just ran the integration tests and they passed 👍


Transaction Streamer

Create a transaction streamer and transaction subscription apis. Luckily we can rely a lot on previous work on event sub.

FN enables transaction subscription when the node config has a valid "websocket_address"
Today a pubsub connectino subscribes to all finalized txns. In the future more filters will be added according to this proposal and the discussions inside

Why do we need this:

see this proposal
we may use this in the incentivized testnet program.

Test plan:
started a local network with a fullnode, websocat  ws://<IP_ADDRESS>:9001 then {"jsonrpc":"2.0", "id": 1, "method": "sui_subscribeTransaction", "params": ["Any"]}. Made txns and saw they came through websocat.
In the next PR, I will move EventStreamingAPI into streaming_api.rs

here you go https://github.com/MystenLabs/sui/issues/4423 and https://github.com/MystenLabs/sui/issues/4424


[Feature Request] Support for loading dynamic select elements

I don't see anything in the documentation or code, but I was curious if there was anything in the pipeline to support dynamic options in dialogs (documentation). I imagine the implementation would be pretty similar to an action handler. If nobody is working on this I'd be happy to take a look at implementing it.

Took a swing here.

@mbrevoort sorry to bother you but when do you think someone will be able to take a look? I'm hoping to avoid relying on an internal fork.

Looking at this today @kkaehler

Added a comment here about how to accomplish this w/ slapp.

I'm sorry to say, but the maintainers of this project (bolt-js) no longer support the slapp library. Please let us close this issue now.


Issue with Notifiable trait

Looks like it doesn't work properly with Notifiable Trait
Have a problem with spatie/laravel-backup notifications.
Undefined property: Spatie\Backup\Notifications\Notifiable::$id

christophrumpel/nova-notifications version: 1.0.6
spatie/laravel-backup version: 5.10.1

Hey, actually it can't just be the notifiable trait, because I'm using this trait to find the notifiables to list. Can you show me your notification and what you do to get this error?

Just try to install spatie/laravel-backup and just run:
php artisan backup:run

the issue is in default Notifiable notification:
<?php

namespace Spatie\Backup\Notifications;

use Illuminate\Notifications\Notifiable as NotifiableTrait;

class Notifiable
{
    use NotifiableTrait;

    public function routeNotificationForMail()
    {
        return config('backup.notifications.mail.to');
    }

    public function routeNotificationForSlack()
    {
        return config('backup.notifications.slack.webhook_url');
    }

    public function getKey()
    {
        return 1;
    }
}

I can't test it myself right now due to a Mysql problem. Wait, you get an error when you run the Laravel backup package? How is this connected to this package?

Again, I installed spatie/laravel-backup, then run:
php artisan backup:run

after that it tries to send notification about successful backup.
Then nova-notifications intercept Illuminate\Notifications\Events\NotificationSent event, and try to save $event->notifiable->id, but id doesn't exists.
Event::listen('Illuminate\Notifications\Events\NotificationSent', function ($event) {
    NovaNotification::create([
        'notification' => get_class($event->notification),
        'notifiable_type' => get_class($event->notifiable),
        'notifiable_id' => $event->notifiable->id,
        'channel' => $event->channel,
        'failed' => false,
    ]);
});

Sorry, this was my mistake. I now got what you mean. Will try to debug it today.

So, now I found time to check it. Seems there are notifiables with no ID like from the backup package. The new release 1.0.7 fixes this. Thanks for pointing out. Please let me know if it works for you as well.

Yep, good job, now it works!


failed in resizing the volume or PV: unable to resize the volume: volume XXX does not exist

We are running trident 18.10 with nas economy backend on top of OpenShift 3.11 and faced the following warning during a PVC resize
failed in resizing the volume or PV: unable to resize the volume: volume XXX does not exist
we verified with "tridentctl get volume XXX" that the volume exists but saw something interesting when getting details with -o yaml
items:
- Config:
    accessInformation:
      nfsPath: /_____/____
      nfsServerIp: _._._._
    accessMode: ReadWriteMany
    blockSize: ""
    cloneSourceSnapshot: ""
    cloneSourceVolume: ""
    cloneSourceVolumeInternal: ""
    encryption: ""
    fileSystem: ext4
    internalName: trident________
    name: ___
    protocol: file
    securityStyle: ""
    size: "537919488"
    spaceReserve: ""
    splitOnClone: ""
    storageClass: basic
    version: "1"
  backend: ontapnaseco__._._._
  orphaned: true
  pool: data01_01_SATA4000

the volume is orphaned. what does orphaned mean? how can we fix it?
the qtree itself is there, can be mounted and works just fine.

This bug was taken care of by the great NetApp support team and I'm happy to share the solution so others can benefit.
Turns out the issue was self-made and not a bug in Trident after all. Turns out trident is handling the situation quite professionally with resilience in mind.
TLDR
Entirely my fault. Renaming the NetApp flexvolume to match the defined storage prefix fixed the issue.
Background
Within the backend definition you can define a storage prefix. Basically this is something you define if you want to point several trident backends to the same vserver - it keeps them separated. This storage prefix is also something trident uses to determine if it should feel responsible for a flexvolume and the containing qtrees or not (keep in mind we are talking about a NAS economy setup here). Our misstep was to redefine the storage prefix after we already created several PVs (and thus flexvolumes and qtrees). Therefore trident did not feel responsible for them anymore and marked them as "orphaned". The consequence was that trident was not managing the qtree anymore for  maintaining actions like "resize".
How did we identity the issue?
Netapp support asked us to enable debug logging for a trident backend by specifying it like this...
{     "version": 1,     "storageDriverName": "ontap-nas-economy",      "debugTraceFlags": {"api": true}, ... }
By updating the backend with
tridntctl update backend <name> -f <backendfile>
trident picks up the new config and show calls against the NetApp API in the logs. That enabled us to see qtree queries with a flexvolume prefix filter and explained why our "problematic qtree" at hand was marked as orphaned - it was simply not listed in the API results because of a wrongly named flexvolume.
Solution
Since only the internal qtree name is the identifying attribute, changing the flexvolume name is the way to go. Rename it in a way that it matches again your storage prefix. We kept the junction path intact so the PVC and consuming application at hand did not even notice the change. In order for trident to pickup the qtree again we simply updated the trident backend, which rendered the trident volume as "orphaned: false". From that point on, resizing worked like a charm.
Thanks to the patient NetApp support team. Their guidance did not only help to resolve this issue but did also elevate the understanding of tridents internal working within our team.


Add a connectivity state test for a channel with no server

The primary goal here is to attempt to reproduce the failure in #12932 without Node. The test here is based on the sequential_connectivity_test.cc file in the same directory.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences


[Backport 2.x] Set the cancelAfterTimeInterval parameter on SearchRequest object in all MonitorRunners. (#1366)

Backport PR #827
CheckList:

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Manual backport of PR #1366


cost management - budget alerts - didn't worked on time

[Enter feedback here]
I've created a budget alert with some budget value and scope as a subscription. The exception is, based on the threshold set: We should be getting an email as configured in the budget alert. It didn't happen in my case, and after so many days we have received emails stating that we have crossed our threshold.
Budget alert configured for May 27 - June 26 billing cycle. But we received an email on June 13 of this month. But on May 27th itself, we have crossed the threshold and expected email on May 27th itself. Rather than getting email after 2 weeks, stating that we have exceeded the threshold with 100%.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 3f0af130-6b0a-0a7e-5fd9-e67810f66b45
Version Independent ID: 445b1c77-472a-e0f7-45fc-168f4a2454f3
Content: Self-service exchanges and refunds for Azure Reservations - Microsoft Cost Management
Content Source: articles/cost-management-billing/reservations/exchange-and-refund-azure-reservations.md
Service: cost-management-billing
Sub-service: reservations
GitHub Login: @bandersmsft
Microsoft Alias: banders

The question or main concern here is:
on May 27/May 28th, we exceeded the budget threshold set. Then the expectation is, we should be receiving emails immediately on the same day or at least the next day as the cost has exceeded the threshold even the next day as well.
But we received alerts on June 13th, almost after two weeks.

@zohebk8s Thank you for reporting this issue. We will look into it and get back to you soon.

@zohebk8s Can you provide some more details? Please send us an email at AzCommunity @ Microsoft dot com with subject: Attn: Sadiqh Ahmed with your subscription ID, budget name for the team to look into this and a link to this GitHub issue for context.

@zohebk8s We haven't heard back from you, so we will now close this issue. If this remains an issue, please send email and we will gladly continue the discussion.


Parameterize Cluster Elasticsearch global full URL

Parameterized full global elasticsearch URL for exporter connection in Zeebe cluster. This config will allow using URLs with "https" protocol.
If the url value is not given the default will be to use the host and port values to set the elasticsearch url.

Done @Zelldon! 😄


Error with PDF

Hello!,
There is a problem with the pdf generator, the html tags were generating error in the viewer, and now there is this error:
Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)

When i put a  with  in appendPageContent, the pdf is corrupt and not is possible view

OK, thank you. I will check and see what the changes are, it might be some changes I did not see in mPDF library.

Thanks, but I have this error, before I uploaded the pdf, but now after I update ubuntu, it will not let me open any pdf, well just some, what can it be? thank you


A way to update npm ?

Heya, I just wanted to add that upgrading updating npm isn't quite as simple as just npm update npm:
$ npm update npm -g
npm ERR! path C:\Program Files\nodejs\npm.cmd
npm ERR! code EEXIST
npm ERR! Refusing to delete C:\Program Files\nodejs\npm.cmd: is outside C:\Program Files\nodejs\node_modules\npm and not a link
npm ERR! File exists: C:\Program Files\nodejs\npm.cmd
npm ERR! Move it away, and try again.

npm ERR!      C:\Users\kamik\AppData\Roaming\npm-cache\_logs\2017-08-24T07_56_26_609Z-debug.log

(I used -g here but I assume that's what you meant since you didn't say anything about going into the global directory. But if that is what you meant, I'm just describing the same thing in more detail.)
Here is a list of the things you need to do when not using NVM on the official npm wiki: https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows.
But there's actually an easier way if you're using NVM. Since NVM links both binaries and folders, you can just go and update the original global node modules manually. This doesn't require neither admin permissions nor moving files around.
First run node -v and take note of the version of node you're using (e.g v6.11.1). Then do this:
cd %appdata%\nvm\6.11.1
npm install npm@latest --no-save

The --no-save option is important to prevent npm from trying to find package.json in that directory, and from auto creating package-lock.json (in npm5 and up).

I just spent hours trying to pinpoint the cause of this error before coming across this comment. Maybe this workaround should be displayed more clearly or this issue reopened as I'm sure trying to update npm with the standard command is quite a common operation and currently it fails and gives the very esoteric error message shown above.

I think this is more of a previous npm version bug than nvm one.
However, to update npm delete in nvm/[node version] folder (for me it is v10.15.3) following files:
C:\Users\[user name]\AppData\Roaming\nvm\[node version]\npm
C:\Users\[user name]\AppData\Roaming\nvm\[node version]\npm.cmd
C:\Users\[user name]\AppData\Roaming\nvm\[node version]\npx
C:\Users\[user name]\AppData\Roaming\nvm\[node version]\npx.cmd

Rename npm folder to npm2
C:\Users\[user name]\AppData\Roaming\nvm\[node version]\node_modules\npm2

Open any console with admin rights (or even right mouse click on vscode shortcut, than right mouse click on Visual Studio Code and hit Run as administrator) and type commands:
cd C:\Users\[user name]\AppData\Roaming\nvm\[node version]\node_modules\npm2\bin
node npm-cli.js i -g npm@latest

Done.
Delete C:\Users\[user name]\AppData\Roaming\nvm\[node version]\node_modules\npm2 folder.

I think this is more of a previous npm version bug than nvm one.
However, to update npm delete in nvm/[node version] folder (for me it is v10.15.3) following files:
C:\Users\[user name]\AppData\Roaming\nvm\[node version]\npm
C:\Users\[user name]\AppData\Roaming\nvm\[node version]\npm.cmd
C:\Users\[user name]\AppData\Roaming\nvm\[node version]\npx
C:\Users\[user name]\AppData\Roaming\nvm\[node version]\npx.cmd

Rename npm folder to npm2
C:\Users\[user name]\AppData\Roaming\nvm\[node version]\node_modules\npm2

Open any console with admin rights (or even right mouse click on vscode shortcut, than right mouse click on Visual Studio Code and hit Run as administrator) and type commands:
cd C:\Users\[user name]\AppData\Roaming\nvm\[node version]\node_modules\npm2\bin
node npm-cli.js i -g npm@latest

Done.
Delete C:\Users\[user name]\AppData\Roaming\nvm\[node version]\node_modules\npm2 folder.

The good one.

It worked for me, too. Thanks! :)

Awesome help @createdbyjurand cheers

Thank you, @createdbyjurand ! I have been pulling my hair out trying to figure out why the regular commands were not working. This is fantastic! 💯

Thanks to @createdbyjurand !
I needed to update in C:\ProgramData\nvm\ rather than C:\Users\[user name]\AppData\Roaming\nvm in case that helps anyone else.

Thank you so very much to @createdbyjurand. This wroekd flawlessly! I wrote a script for it for PowerShell, if anyone wants it; you can run it form anywhere as long as you update the node version being updated (substitute both instances of Username and Version of Node with your own):
cd C:\Users\<Username>\AppData\Roaming\nvm\<Version of Node>
Remove-Item npm
Remove-Item npm.cmd
Remove-Item npx
Remove-Item npx.cmd
cd node_modules
Rename-Item npm -NewName npm-old
cd npm-old\bin
node npm-cli.js install -g npm@next
cd C:\Users\<Username>\AppData\Roaming\nvm\<Version of Node>\node_modules
Remove-Item -Recurse -Force npm-old

Run with the usual .\<filename>.ps1 from anywhere. 😎

The solution outlined by @createdbyjurand does work but has to be repeated every time you install a new version of node. It also causes the following error message updating npm after the initial workaround:
js-algos-structures $ npm install -g npm@latest
C:\Users\jzrai\scoop\apps\nvm\current\nodejs\nodejs\npx -> C:\Users\jzrai\scoop\apps\nvm\current\nodejs\nodejs\node_modules\npm\bin\npx-cli.js
C:\Users\jzrai\scoop\apps\nvm\current\nodejs\nodejs\npm -> C:\Users\jzrai\scoop\apps\nvm\current\nodejs\nodejs\node_modules\npm\bin\npm-cli.js
+<EMAIL_ADDRESS>updated 2 packages in 32.004s

C:\Users\jzrai\projects\js-algos-structures>npm-cli.js" install -g npm@latest
'npm-cli.js" install -g npm@latest' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\jzrai\projects\js-algos-structures>ENDLOCAL

C:\Users\jzrai\projects\js-algos-structures>EXIT /b

I don't understand the inner workings enough to know if this is a bug with nvm, npm or scoop but, as it seems to be nvm, I think this issue should be reopened @coreybutler as updating npm is quite a fundamental operation which is currently completely broken with this set-up.
At the very least @createdbyjurand's workaround should be documented more visibly.
If this is definitely a bug with npm I will happily post an issue there.

I just updated with npm install -g npm@latest

cd to current node directory C:\Users\user_name\AppData\Roaming\nvm\v12.8.1
run npm install -g npm@latest
Working great Thank you @filipesilva

@raikesy - npm and nvm have no operational relationship... meaning nvm just leaves npm alone. It merely downloads the npm archive and extracts it to the appropriate installation folder. That's it.
NVM4W doesn't touch the executable files. Unlike nvm for *nix, there is no shim. When node.exe is executed, it's actually calling that file. There is literally nothing else running. npm calls node.exe internally whenever it executes a script, i.e. node npm-cli.js.
Tools like scoop, homebrew, chocolatey, etc may or may not modify behavior. I don't really know because I don't maintain those. However; I don't think any of those are the problem because I can replicate these problems with standard Node installs (i.e. no nvm4w, no package manager, just a straight up msi install from nodejs.org).
@createdbyjurand is correct that this behavior often comes from older versions of npm. npm has gone through a number of rather difficult design decisions, especially with versions shipping in the Node 8.x.x line where there were some hard-coded path files used for installation.

@coreybutler this might be more headache than it is worth, but as you say

It merely downloads the npm archive and extracts it to the appropriate installation folder. That's it.

Couldn't we then say that NVM's responsibility starts (and ends) at the installation of NPM? If so I feel like my concerns can be addressed by having something like nvm update-npm latest or something similar. This would in theory take the current version of node and install the specified version of npm to it. It could use a method similar to what's being outlined by @createdbyjurand or something simpler.
You mentioned that you also verified an issue exists in the official node release MSI install. Can you clarify what issue you verified? Was it with an older MSI installation that shipped with an older NPM? I'm running a clean system that hasn't had any node or npm installed prior to NVM and I'm running into these issues.

@createdbyjurand I updated your script so that you don't have to edit the script to run it, even when switching versions of node. I also took out @next because that installs a pre-release (non-stable).
$starting_path = Get-Location
$node_version = node -v
$node_path = "$env:appdata\nvm\$node_version"
Write-Host "node_version: $node_version"
Write-Host "Path used: $node_path"
cd $node_path
Remove-Item npm
Remove-Item npm.cmd
Remove-Item npx
Remove-Item npx.cmd
cd node_modules
Rename-Item npm -NewName npm-old
cd npm-old\bin
node npm-cli.js install -g npm
cd ../..
Remove-Item -Recurse -Force npm-old
cd $starting_path

I am using Windows 10 and I spent a whole day on updating pm. Nothing worked but following.
https://www.wdiaz.org/update-npm-when-node-was-installed-using-chocolatey-on-windows/
Steps 1: Copy and Paste the following lines into a file somewhere in your directories and give it the .cmd extension.
Step 2: Double click the newly created "above" file.
You should be good to go now with the most up to date version of node.

@erikstagg Consider switching to Push-Location and then using Pop-Location rather than manually saving the previous directory.

@erikstagg Consider switching to Push-Location and then using Pop-Location rather than manually saving the previous directory.

Windows 10, PowerShell:
PS> nvm list
PS> cd "$env:APPDATA\nvm\v99.99.9"
PS> npm install npm --no-save

(Change digits to the node version where you want to update npm.)


[COMPANY] Add defaut external ID

An improvement for the external id, if you can set it to automatic. If we do not fill in the external id then this one takes the number following the last one recorded


Getting "flutter: error!!!!"

I get "flutter: error!!!!" every time I call "_getPolylinesWithLocation" or "_getPolylinesWithAddress". The error message I get is not very descriptive and not sure which part I did wrong.

I get "flutter: error!!!!" every time I call "_getPolylinesWithLocation" or "_getPolylinesWithAddress". The error message I get is not very descriptive and not sure which part I did wrong.

Sorry for the delayed reply.
Do you still have the error?
If yes, please feel free to attach your code.

Yes I'm still getting the same error. Actually I downloaded your example and replaced API Key in the main.dart with my Directions API key and I get the same error.

Yes I'm still getting the same error. Actually I downloaded your example and replaced API Key in the main.dart with my Directions API key and I get the same error.

I cloned the repo and test it out the example project. There is no error.
I'm not sure what error you got.
Can you copy paste your debug console log?
I think it should help me to look more in to this matter.
And also my suggestions for you to check.

Check your API key. Sometimes you haven't enable the API key correctly. It should enabled,

Directions API ( To load polyline data )
Maps SDK for Android ( To show map in Android )
Maps SDK for iOS ( To show map in iOS )

Did you applied your keys right? Key should add to,

AndroidManifest.xml ( Android folder - "\android\app\src\main\AndroidManifest.xml" )
AppDelegate.m ( iOS folder - "\ios\Runner\AppDelegate.m" )
main.dart ( lib folder )

I figured it out. You have to enable Billing from Google Cloud Console. But I think your package does not help my project although you did a great job. Thanks.


Crash in the concurrent marking

FAILED: dartk-vm debug_x64 language_2/this_as_dynamic_call_checks_test
Expected: Pass
Actual: Crash

--- Command "vm" (took 06.000354s):
DART_CONFIGURATION=DebugX64 xcodebuild/DebugX64/dart --no-background-compilation --no-background-compilation --enable-inlining-annotations --optimization-counter-threshold=10 --no-enable-malloc-hooks --sync-async --ignore-unrecognized-flags --packages=/b/build/slave/vm-kernel-mac-debug-x64-be/build/sdk/.packages /b/build/slave/vm-kernel-mac-debug-x64-be/build/sdk/tests/language_2/this_as_dynamic_call_checks_test.dart

exit code:
-6

stderr:
../../runtime/vm/raw_object.cc: 302: error: expected: size == Size()
Dumping native stack trace for thread 1103
  [0x0000000109ed0144] dart::Profiler::DumpStackTrace(void*)
  [0x0000000109ed0144] dart::Profiler::DumpStackTrace(void*)
  [0x000000010a189552] dart::Assert::Fail(char const*, ...)
  [0x0000000109ee9490] dart::RawObject::VisitPointersPredefined(dart::ObjectPointerVisitor*, long)
  [0x000000010a13ab2b] dart::MarkingVisitorBase<true>::DrainMarkingStack()
  [0x000000010a13a802] dart::ConcurrentMarkTask::Run()
  [0x0000000109f940b1] dart::ThreadPool::Worker::Loop()
  [0x0000000109f93c71] dart::ThreadPool::Worker::Main(unsigned long)
  [0x0000000109eca0c6] dart::ThreadStart(void*)
  [0x00007fff99d6399d] _pthread_body
  [0x00007fff99d6391a] _pthread_body
  [0x00007fff99d61351] thread_start
-- End of DumpStackTrace

--- Re-run this test:
python tools/test.py -m debug -c dartk -r vm --strong --vm-options --no-enable-malloc-hooks language_2/this_as_dynamic_call_checks_test

Crashdumps are available:
--- Uploading into gs://dart-temp-crash-archive/c6d960ad-9f9f-430b-9f1c-c20e9dcfc3e3/ (https://storage.cloud.google.com/dart-temp-crash-archive/c6d960ad-9f9f-430b-9f1c-c20e9dcfc3e3/) ---
Running command:  ['/b/build/scripts/slave/gsutil', 'cp', 'debug_x64_dart.tar.gz', 'gs://dart-temp-crash-archive/c6d960ad-9f9f-430b-9f1c-c20e9dcfc3e3/debug_x64_dart.tar.gz']
+++ Uploaded gs://dart-temp-crash-archive/c6d960ad-9f9f-430b-9f1c-c20e9dcfc3e3/debug_x64_dart.tar.gz (https://storage.cloud.google.com/dart-temp-crash-archive/c6d960ad-9f9f-430b-9f1c-c20e9dcfc3e3/debug_x64_dart.tar.gz)
Running command:  ['/b/build/scripts/slave/gsutil', 'cp', 'core.30278.tar.gz', 'gs://dart-temp-crash-archive/c6d960ad-9f9f-430b-9f1c-c20e9dcfc3e3/core.30278.tar.gz']
+++ Uploaded gs://dart-temp-crash-archive/c6d960ad-9f9f-430b-9f1c-c20e9dcfc3e3/core.30278.tar.gz (https://storage.cloud.google.com/dart-temp-crash-archive/c6d960ad-9f9f-430b-9f1c-c20e9dcfc3e3/core.30278.tar.gz)
--- Done ---

An array may be truncated while it is being visited by the marker. The array truncation code is careful to ensure all the slots that used to be array elements continue to have pointers or header fields that look like Smis so that marker does not interpret a non-pointer as a pointer. This concurrent access may temporarily cause the size in the object header and the size based on the length field to disagree. RawObject::SizeFromClass already has logic to handle re-loading the sizes when this happens (e.g., the sweeper is visiting an array while it is being truncated). I suspect this logic just needs to be copied to RawObject::VisitPointersPredefined.

I think the analysis is correct. Here is the object from the core dump on which we hit the assertion:
0x10fdbfe40: 0x0000000000440d18  // kArrayCid (44) - 0x0d * 2 words -> 26 words in size
0x10fdbfe48: 0x000000010b980041
0x10fdbfe50: 0x000000000000002c // 22 elements
0x10fdbfe58: 0x000000010f8ebfe1    // [0]
0x10fdbfe60: 0x000000010dae57a1
0x10fdbfe68: 0x000000010dae34a1
0x10fdbfe70: 0x000000010dae3401
0x10fdbfe78: 0x000000010db0bf81
0x10fdbfe80: 0x000000010dae5841
0x10fdbfe88: 0x000000010daf0ce1
0x10fdbfe90: 0x000000010daf5a61
0x10fdbfe98: 0x000000010db091e1
0x10fdbfea0: 0x000000010db095a1
0x10fdbfea8: 0x000000010db0c661
0x10fdbfeb0: 0x000000010db093c1
0x10fdbfeb8: 0x000000010da84321
0x10fdbfec0: 0x000000010db08d81
0x10fdbfec8: 0x000000010da841e1
0x10fdbfed0: 0x000000010db09281
0x10fdbfed8: 0x000000010db09fa1
0x10fdbfee0: 0x000000010db09781
0x10fdbfee8: 0x000000010db0a181
0x10fdbfef0: 0x000000010db0c481
0x10fdbfef8: 0x000000010db08ce1
0x10fdbff00: 0x000000010db0b1c1  // [21]
0x10fdbff08: 0x000000010b980041 // [22] (padding)
0x10fdbff10: 0x00000001004b041a  // dart::kTypedDataInt8ArrayCid (0x4b)
0x10fdbff18: 0x0000000000000060
0x10fdbff20: 0x000000010b980041

I agree with your conclusion that we should fix RawObject::VisitPointersPredefined in the same way we fixed other methods to accommodate for this race. Would you make a CL?

I'll make a CL. I want to include a test that tries to get lots of concurrent truncating.