Release 3.1.5 doesn't work in Android

Seems like there are some regex patterns were added to release 3.1.5 which doesn't work in Android. Previous version (3.1.4) works well.
Here is stack trace:
Caused by java.util.regex.PatternSyntaxException: U_ILLEGAL_ARGUMENT_ERROR
^[\p{IsLetter}_][\p{IsLetter}\p{IsDigit}_]*
       at java.util.regex.Pattern.compileImpl(Pattern.java)
       at java.util.regex.Pattern.compile(Pattern.java:1344)
       at java.util.regex.Pattern.<init>(Pattern.java:1328)
       at java.util.regex.Pattern.compile(Pattern.java:950)
       at com.mitchellbosecke.pebble.lexer.LexerImpl.<clinit>(LexerImpl.java:2)
       at com.mitchellbosecke.pebble.PebbleEngine.getPebbleTemplate(PebbleEngine.java:11)
       at com.mitchellbosecke.pebble.PebbleEngine.lambda$getTemplate$2(PebbleEngine.java)
       at com.mitchellbosecke.pebble.PebbleEngine.lambda$getTemplate$2$PebbleEngine(PebbleEngine.java)
       at com.mitchellbosecke.pebble.-$$Lambda$PebbleEngine$RWC2jsSmCWn6HfuOZr1k4eoPeUE.apply(-.java:8)
       at j$.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:47)
       at j$.util.concurrent.ConcurrentMap$-EL.computeIfAbsent(ConcurrentMap.java:6)
       at com.mitchellbosecke.pebble.cache.template.ConcurrentMapTemplateCache.computeIfAbsent(ConcurrentMapTemplateCache.java:2)
       at com.mitchellbosecke.pebble.cache.template.ConcurrentMapTemplateCache.computeIfAbsent(ConcurrentMapTemplateCache.java)
       at com.mitchellbosecke.pebble.PebbleEngine.getTemplate(PebbleEngine.java:17)
       at com.mitchellbosecke.pebble.PebbleEngine.getTemplate(PebbleEngine.java:2)

According to this post https://stackoverflow.com/questions/47922686/patternsyntaxexception-when-trying-to-validate-latin-characters Android doesn't recognize Is aliases.

The regex in problem is ^[\p{IsLetter}_][\p{IsLetter}\p{IsDigit}_]*
According to this spec (https://developer.android.com/reference/java/util/regex/Pattern), IsDigitcan be replaced with Digit.
Unfortunately, there's nothing for IsLetter. I tried to replace it with Alpha but some unit tests are failing

@merlin-zaraza : Can you try the SNAPSHOT and tell me if it fixes your error ? I've no setup to test it with Android.
Here's how you can retrieve the SNAPSHOT in sonatype:
https://pebbletemplates.io/wiki/guide/installation/

Still not working in Android:
Caused by: java.util.regex.PatternSyntaxException: U_ILLEGAL_ARGUMENT_ERROR
	^[\p{IsAlphabetic}_][\p{IsAlphabetic}\p{Digit}_]*
	at java.util.regex.Pattern.compileImpl(Native Method)
	at java.util.regex.Pattern.compile(Pattern.java:1340)
	at java.util.regex.Pattern.<init>(Pattern.java:1324)
	at java.util.regex.Pattern.compile(Pattern.java:946)
	at com.mitchellbosecke.pebble.lexer.LexerImpl.<clinit>(LexerImpl.java:93)

Seems like it's Android part so I've submitted bug to Android issue tracker https://issuetracker.google.com/issues/181655428.
Would be appreciate for workaround, maybe you can create regex pattern without aliases.

Unfortunately Android is not using real Java so they are not using the standard RegEx engine either but ICU instead. ICU has different naming for some things, your issue will be almost definitely not be resolved by Android. When I created the issue, I did take Android in to account so I'm not sure why it does not work for you. If I remember correctly, I even tested the pattern.

Which Android version is this? Because the page ebusseries sent does say that Is prefix is supported for Letter and Digit.

It appears to have been solved in newer Android versions but to support older ones I added a static initializer check.

@merlin-zaraza Can you try the SNAPSHOT and tell me if it fixes your error ?

@merlin-zaraza Can you try the SNAPSHOT and tell me if it fixes your error ?

Works now. Thank you!


Parameter list - version differences

There is some issue in the parameter lists in the decimal/internal/arith package. The Sub64 function has an extra parameter in decimal/internal/arith/arith_1_11.go so when the decimal/big_ctx.go call it in case of 1.11 version will throw a build error.

Trying to push a fix in Pull #125

Will fix this ASAP.
Also, now that this package uses modules please use specific versions instead of relying on master.
I understand not everybody uses modules, so I try to make sure master isn’t broken. But things happen. :)


any ruby and gem command fail with "cannot load such file -- ubygems" on a fresh rbenv installation

With my ruby 2.6.3 (or 2.6.2) installed via a fresh rbenv 1.1.2 installation from Homebrew I always get these errors and cannot run any ruby code:
> ruby -v -e 'puts "hello"'
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin18]
Traceback (most recent call last):
	1: from /Users/alex/.rbenv/versions/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Users/alex/.rbenv/versions/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- ubygems (LoadError)

or any gem command:
> gem
Traceback (most recent call last):
	1: from /Users/alex/.rbenv/versions/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Users/alex/.rbenv/versions/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- ubygems (LoadError)

ruby -v or ruby -h work, but that's it.
This is on OSX 10.14.3. I have the system ruby at /usr/bin/ruby version 2.3.7p456. Before I started, I had an older ruby1.9 lying around from MacPorts, which I uninstalled completely and then I did the following steps to install a fresh new rbenv & ruby (following instructions from jekyll):
brew install rbenv
# add rbenv init to my ~/.profile
# run rbenv-doctor, all OK
# new terminal
rbenv install 2.6.3
rbenv global 2.6.3

I even uninstalled everything and installed it again, just leading to the exact same problem.
Googling wasn't very helpful, only cases where certain apps were not updated for the ubygems change, but I couldn't find anyone where this happens for all ruby commands.
This leads me to suggest that something on my system is interfering - like a left-over config file from previous ruby installations etc. However, I was not able to find out which code is even calling the problematic require. I modified ~/.rbenv/versions/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb to print the caller but for the require ubygems it's nil. Also looked at an strace (fs_usage on osx) to see what files ruby loads but all of them seem to be in ~/.rbenv, which I just wiped & installed from scratch.
Any ideas? Any config files to look for?

It's intentional changes of ruby core. ubygems.rb has been removed from ruby.

@hsbt This is on a fresh installation via rbenv. Plain ruby commands such as gem DO NOT work, see above. There is NO code from me or anything involved, apart from what gets installed by rbenv (at least nothing that I deliberately do).
My goal is to just installing a newer version of ruby to install & run Jekyll, but I can't even run the gem install jekyll command since gem fails.

This is not rbenv issues.

I don't know where the problem lies. Either rbenv 1.1.2 has a bug under certain conditions or it's some config file that rbenv apparently does not control and that has an impact on ruby.
Any help where to look would be appreciate - what even can automatically load ubygems for ruby -e or gem in a 2.6.x

Same problem with ruby 2.5.5 installed via rbenv install 2.5.5.

Found the issue: I had a very old
export RUBYOPT=-rubygems
deep in my ~/.profile, probably from ~10 years ago.


Use default branch when queueing build in docindex

This PR requires changes to eng/common -- https://github.com/Azure/azure-sdk-tools/pull/1852/files
Example of successful queuing of a pipeline -- https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1019544&view=logs&j=dc056dfc-c0cf-5958-c8c4-8da4f91a3739&t=dc056dfc-c0cf-5958-c8c4-8da4f91a3739

/azp run js - core - ci

@danieljurek If this PR is still applicable, can you merge it?


Cannot build with --with-yajl on ubuntu 14.04, modsecurity 2.9.1

I have tried all manner of --with-yajl="*", but always
checking for libyajl config script... no
checking for yajl install... no
configure: optional yajl library not found

There are similar issues for other platforms, and also issues going back as far as 2014 that are closed, but which have no indication as to the resolution in the issue.

Ok, I did not try all -with-yajl paths. This worked:
./configure --with-yajl="/usr/lib/x86_64-linux-gnu /usr/include/yajl"

interesting. In general the problem is that some yajl packages don't ship with a pkgconfig script.

This is problem also on Debian Stretch.


fixed componentWillReceiveProps warning

Updating code to remove "componentWillReceiveProps has been renamed" warning

It seems switching to hooks at 1397422ef8282189e284d2f5d5ed3197be0bf66f fixes the warning


[10.x] Improve Envelope constructor

Currently when constructing an Envelope, the to, cc, bcc and replyTo parameter values should only be an array of strings or Addresses, unlike the dedicated methods ->to(), ->cc(), etc., which additionally can accept a single string or  Address.
Adding Arr::wrap() in normalizeAddresses() rectifies this and simplifies the logic of the dedicated methods by removing its call there.
A revised example as per the docs:
new Envelope(
    from: new<EMAIL_ADDRESS>'Jeffrey Way'),
    replyTo: new<EMAIL_ADDRESS>'Taylor Otwell'),
    subject: 'Order Shipped',
);

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


There is no image id present in my copy as curl

i was able to find subnet id but I cant find image id, I created my instance by clicking on my boot volume and pressing instance, the image shown in the creation thing just shows the name of my boot volume.

Image ID is not required if your boot volume (which contains operating system) already exists (for example, you stopped your instance and now can’t start because of capacity issue). Check this out https://github.com/hitrov/oci-arm-host-capacity/blob/1a655bf6150d64f4f3732f267477ed3e4c6f87d0/.env.example#L43

I accendently terminated my instance thats why I'm using this tool, I didn't terminate my boot volume tho lol.


reverse proxy

Hi
I am trying to get this running behind a proxy (traefik + nginx) for oauth forward auth...however in doing so I am getting a 5xx error.
My nginx config is as follows:
upstream app-upstream {
    server jetson-nano:8080;
}

server {
    listen 8085;
    server_name ~.;

    location ^~ / {
        proxy_pass http://app-upstream;
        proxy_set_header       Authorization "";
        proxy_set_header        Host $http_host;
    }

}

Any ideas?
Ta
Jon

It might be related to #126  , I did try to fix it but I didn't get feedback .
Would be great if you can install opendatacam without docker and try this PR: #128


fix tags for 'intentional' errors : (pandas.rst)

[x] ./rst_files/pandas.rst:.. code-block:: none
[x] ./rst_files/pandas.rst:.. code-block:: none

.. code-block:: none
    :class: no-execute

    "country","country isocode","year","POP","XRAT","tcgdp","cc","cg"
    "Argentina","ARG","2000","37335.653","0.9995","295072.21869","75.716805379","5.5788042896"
    "Australia","AUS","2000","19053.186","1.72483","541804.6521","67.759025993","6.7200975332"
    "India","IND","2000","1006300.297","44.9416","1728144.3748","64.575551328","14.072205773"
    "Israel","ISR","2000","6114.57","4.07733","129253.89423","64.436450847","10.266688415"
    "Malawi","MWI","2000","11801.505","59.543808333","5026.2217836","74.707624181","11.658954494"
    "South Africa","ZAF","2000","45064.098","6.93983","227242.36949","72.718710427","5.7265463933"
    "United States","USA","2000","282171.957","1","9898700","72.347054303","6.0324539789"
    "Uruguay","URY","2000","3219.793","12.099591667","25255.961693","78.978740282","5.108067988"

.. code-block:: none
    :class: no-execute

    https://research.stlouisfed.org/fred2/series/UNRATE/downloaddata/UNRATE.csv

these cases are handled by the extension already as none is different to the default language in the lectures. Therefore these blocks will be added as markdown blocks in triple quotes. I have added a fix to remove the none in the html. https://github.com/QuantEcon/sphinxcontrib-jupyter/pull/140


Incorrect datetime/date returned

ClickHouse stores datetime as Unix timestamp, and timezone in column metadata. So timzone will only affect datetime value in string format during parsing and displaying. As ClickHouse server does not support custom timezone in http interface(only X-ClickHouse-Timezone header in response, which represents server timezone), it uses column/server timezone to format datetime values and returned in text format like TabSeparatedWithNamesAndTypes(which is relied by JDBC driver). Unfortunately this does not work when ClickHouse server uses non-UTC timezone, and JDBC client with use_server_time_zone set to false is in a different timezone. On the other hand, changing date_time_output_format to 'unix_timestamp' can avoid this issue, but it's not default and it may cause more issues since JDBC driver didn't consider that.
In order to fix the timezone issue:

take below workaround in 0.3.x (consider date_time_output_format when parsing)

re-format datetime string returned from server(parse using column/server timezone, and then re-format using client timezone)

switch to RowBinary format starting from 0.3.1 for permanent fix

Will permanently fix the issue by switching to RowBinary protocol in #476.


⚠ Bofrost.de has degraded performance

In 019e895, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1196 ms

Resolved: Bofrost.de performance has improved in 8f5ab8b.


IRQL not specified for WDI miniport entry points

Hi,
The documentation does not specify the IRQL requirement for any of the entry points the miniport provides in NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS. In order to implement a WDI miniport, this information is essential.
Thanks.
Udo

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

ID: 9e3fa279-7b85-942c-8dbb-db25a062da6d
Version Independent ID: ad946869-9c7b-aa9d-ec7f-265b86703c2d
Content: _NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS (dot11wdi.h) - Windows drivers
Content Source: wdk-ddi-src/content/dot11wdi/ns-dot11wdi-_ndis_miniport_driver_wdi_characteristics.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @duncanmacmichael
Microsoft Alias: dumacmic

Hi @udoe, good question. I searched through the source headers, our internal code browsing tools, and the WDI spec but couldn't find any info about the IRQL for these. The only clue I could find was in the N6SdioWdi_AllocateAdapter function in the WDI driver sample, which calls the NdisMGetDeviceProperty, which itself requires PASSIVE_LEVEL. But, this isn't really a definitive answer.
Let me email some folks on the WDI team and see if I can get an answer for you.

Hi @duncanmacmichael, Is there any news? We are currently developing a WDI driver for our customer and poor documentation of the entry points is puzzling us.
Meanwhile we are wondering if the old native 802.11 model would have been a better choice. However, the documentation clearly states that WDI should be used for new drivers:
https://docs.microsoft.com/en-us/previous-versions/windows/hardware/wireless/native-802-11-software-architecture
Udo

@udoe I've taken responsibility for this and I'm working for an answer; understand that you're blocked.

I'm glad to hear that. Meanwhile we found more doc issues but missing IRQL specification is the most critical one.

Just opened an internal work item to request IRQL annotations be added to dot11wdi.h.  Sorry for the delay!

Hi @udoe, couple extra points on this:
WIFICX based drivers are replacing WDI - to match more closely to the WDF model. (NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS is not part of WIFICX.)
In general, we recommend moving to WIFICX, and don't invest on WDI anymore.
That said, as a general rule, for WDI - most require passive IRQL except for Direct OIDs.


Update registry.yaml

Add mr username

@smrezvani Your JSON syntax is off with a trailing comma; merge PR smrezvani/my-links#1 and it should be all good.

@bsoyka I fix it


RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling `cublasSgemm

Thanks your reply. when I run this code, there is a other error. The error is followings :

File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/linear.py", line 114, in forward
return F.linear(input, self.weight, self.bias)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)

My local gpu machine :
my gpu is nvidia rtx 3080
My nvcc version message is the followings :
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Thu_Feb_10_18:23:41_PST_2022
Cuda compilation tools, release 11.6, V11.6.112
Build cuda_11.6.r11.6/compiler.30978841_0
Looking forward to your reply. Thanks.

This error message seems to hide an underlying OOM error. I tried reducing the resolution of the occupancy grid from 198 to 128 and observed a reduction in GPU memory consumption from over 20 Gb to less than 8 Gb.
I added the resolution as a parameter and set 128 as the default. Please try again with the code from main and reopen this issue if the problem persists.

This error message seems to hide an underlying OOM error. I tried reducing the resolution of the occupancy grid from 198 to 128 and observed a reduction in GPU memory consumption from over 20 Gb to less than 8 Gb.
I added the resolution as a parameter and set 128 as the default. Please try again with the code from main and reopen this issue if the problem persists.

Thanks your reply. I try to run this new code, but the issue still exist.  The error is following:
###############################################################################################
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/linear.py", line 114, in forward
return F.linear(input, self.weight, self.bias)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)
###############################################################################################
I don't know how to solve the problem.  Looking forward to your reply. :)

Could you please copy the entire error traceback here? Please, paste the traceback both from
python exp_runner.py --mode train --conf ./confs/wmask_DTUscan.conf
and from
CUDA_LAUNCH_BLOCKING=1 python exp_runner.py --mode train --conf ./confs/wmask_DTUscan.conf
Also, what version of PyTorch are you using?
Besides this, try to set some parameters in confs/ to low values, such as grid_prune = false, train_num_rays = 8, max_train_num_rays = 8, num_samples_per_ray = 8 and check if it still crashes.
I suspect this might be related to the computation of second derivatives w.r.t. to the inputs...

Could you please copy the entire error traceback here? Please, paste the traceback both from python exp_runner.py --mode train --conf ./confs/wmask_DTUscan.conf
and from
CUDA_LAUNCH_BLOCKING=1 python exp_runner.py --mode train --conf ./confs/wmask_DTUscan.conf
Also, what version of PyTorch are you using?
Besides this, try to set some parameters in confs/ to low values, such as grid_prune = false, train_num_rays = 8, max_train_num_rays = 8, num_samples_per_ray = 8 and check if it still crashes.
I suspect this might be related to the computation of second derivatives w.r.t. to the inputs...

Thanks your reply.  The entire error traceback is following :
######################################################################################
(NeuSacc) wl@fa:~/work/NeuSacc$ python exp_runner.py --mode train --conf ./confs/wmask_DTUscan.conf
Hello Wooden
Device: NVIDIA GeForce RTX 3080
total GPU MEM   :<PHONE_NUMBER>0
free  GPU MEM   :<PHONE_NUMBER>
used  GPU MEM   :<PHONE_NUMBER>
Load data: Begin
Load data: End
Initializing VanillaFrequency mask:  tensor([1., 1., 1., 1., 1., 1.])

SDFNetwork * - #Params = 14835125; #Trainable Params = 14835125
RenderingNetwork * - #Params = 11264; #Trainable Params = 11264
[cmd.py:931 -              execute() ] Popen(['git', 'rev-parse', '--show-toplevel'], cwd=/home/wl/work/NeuSacc, universal_newlines=False, shell=None, istream=None)
wandb: (1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don't visualize my results
wandb: Enter your choice: 3
wandb: You chose 'Don't visualize my results'
[cmd.py:931 -              execute() ] Popen(['git', 'cat-file', '--batch-check'], cwd=/home/wl/work/NeuSacc, universal_newlines=False, shell=None, istream=)
wandb: Tracking run with wandb version 0.13.7
wandb: W&B syncing is set to offline in this directory.
wandb: Run wandb online or set WANDB_MODE=online to enable cloud syncing.
0%|                                                | 0/100000 [00:00<?, ?it/s]
wandb: Waiting for W&B process to finish... (failed 1).
wandb: You can sync this run to the cloud by running:
wandb: wandb sync ./exp/dtu_scan105/wmask_sphere/wandb/offline-run-20221228_100202-w2s77tb6
wandb: Find logs at: ./exp/dtu_scan105/wmask_sphere/wandb/offline-run-20221228_100202-w2s77tb6/logs
Traceback (most recent call last):
File "/home/wl/work/NeuSacc/exp_runner.py", line 510, in
runner.train()
File "/home/wl/work/NeuSacc/exp_runner.py", line 153, in train
self.neus_model.update_step(-1, iter_i)
File "/home/wl/work/NeuSacc/models/neus.py", line 69, in update_step
self.occupancy_grid.every_n_step(
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/nerfacc/grid.py", line 271, in every_n_step
self._update(
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/nerfacc/grid.py", line 229, in _update
occ = occ_eval_fn(x).squeeze(-1)
^^^^^^^^^^^^^^
File "/home/wl/work/NeuSacc/models/neus.py", line 56, in occ_eval_fn
sdf = self.geometry.sdf(x, training=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/work/NeuSacc/models/fields.py", line 88, in sdf
return self.forward(x, training=training)[:, :1]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/work/NeuSacc/models/fields.py", line 83, in forward
x = self.mlp_sdf(inputs)
^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/container.py", line 204, in forward
input = module(input)
^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/work/NeuSacc/models/model_components.py", line 48, in forward
x = self.layers(x.float())
^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/container.py", line 204, in forward
input = module(input)
^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1212, in _call_impl
result = forward_call(*input, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/linear.py", line 114, in forward
return F.linear(input, self.weight, self.bias)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)
################################################################################################
Another, My version of torch is 1.13.1
I will try to use the parameters which you suggest to run the code.

Thanks for your feedback again! :)

In your answer there seems to be only one trace stack. Did you also copy the one generated by CUDA_LAUNCH_BLOCKING=1 python exp_runner.py --mode train --conf ./confs/wmask_DTUscan.conf ? It can help me see if I have faced the same error before.
Also, could you try using version 1.12.1  of PyTorch? Sorry for the inconvenience.

In your answer there seems to be only one trace stack. Did you also copy the one generated by CUDA_LAUNCH_BLOCKING=1 python exp_runner.py --mode train --conf ./confs/wmask_DTUscan.conf ? It can help me see if I have faced the same error before.
Also, could you try using version 1.12.1 of PyTorch? Sorry for the inconvenience.

Thanks your reply. I use the command " CUDA_LAUNCH_BLOCKING=1 python exp_runner.py --mode train --conf ./confs/wmask_DTUscan.conf " to generate, but the error is persist. The following is the result:
##########################################################################################
(NeuSacc) wl@fa:~/work/NeuSacc$ CUDA_LAUNCH_BLOCKING=1 python exp_runner.py --mode train --conf ./confs/wmask_DTUscan.conf
Hello Wooden
Device: NVIDIA GeForce RTX 3080
total GPU MEM   :<PHONE_NUMBER>0
free  GPU MEM   :<PHONE_NUMBER>
used  GPU MEM   : 975372288
Load data: Begin
Load data: End
Initializing VanillaFrequency mask:  tensor([1., 1., 1., 1., 1., 1.])

SDFNetwork * - #Params = 14835125; #Trainable Params = 14835125
RenderingNetwork * - #Params = 11264; #Trainable Params = 11264
[cmd.py:931 -              execute() ] Popen(['git', 'rev-parse', '--show-toplevel'], cwd=/home/wl/work/NeuSacc, universal_newlines=False, shell=None, istream=None)
wandb: (1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don't visualize my results
wandb: Enter your choice: 3
wandb: You chose 'Don't visualize my results'
[cmd.py:931 -              execute() ] Popen(['git', 'cat-file', '--batch-check'], cwd=/home/wl/work/NeuSacc, universal_newlines=False, shell=None, istream=)
wandb: Tracking run with wandb version 0.13.7
wandb: W&B syncing is set to offline in this directory.
wandb: Run wandb online or set WANDB_MODE=online to enable cloud syncing.
0%|                                                                                | 0/100000 [00:00<?, ?it/s]
wandb: Waiting for W&B process to finish... (failed 1).
wandb: You can sync this run to the cloud by running:
wandb: wandb sync ./exp/dtu_scan105/wmask_sphere/wandb/offline-run-20221229_085335-2ar71uq6
wandb: Find logs at: ./exp/dtu_scan105/wmask_sphere/wandb/offline-run-20221229_085335-2ar71uq6/logs
Traceback (most recent call last):
File "/home/wl/work/NeuSacc/exp_runner.py", line 510, in
runner.train()
File "/home/wl/work/NeuSacc/exp_runner.py", line 153, in train
self.neus_model.update_step(-1, iter_i)
File "/home/wl/work/NeuSacc/models/neus.py", line 69, in update_step
self.occupancy_grid.every_n_step(
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/nerfacc/grid.py", line 271, in every_n_step
self._update(
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/nerfacc/grid.py", line 229, in _update
occ = occ_eval_fn(x).squeeze(-1)
^^^^^^^^^^^^^^
File "/home/wl/work/NeuSacc/models/neus.py", line 56, in occ_eval_fn
sdf = self.geometry.sdf(x, training=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/work/NeuSacc/models/fields.py", line 88, in sdf
return self.forward(x, training=training)[:, :1]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/work/NeuSacc/models/fields.py", line 83, in forward
x = self.mlp_sdf(inputs)
^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/container.py", line 204, in forward
input = module(input)
^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/work/NeuSacc/models/model_components.py", line 48, in forward
x = self.layers(x.float())
^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/container.py", line 204, in forward
input = module(input)
^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1212, in _call_impl
result = forward_call(*input, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wl/anaconda3/envs/NeuSacc/lib/python3.11/site-packages/torch/nn/modules/linear.py", line 114, in forward
return F.linear(input, self.weight, self.bias)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)
################################################################################################
I try to change the version of pytorch to 1.12.1 ,  then to run this code. Thanks your help. :)

Did you try to set some of the parameters to low values to see if reducing the memory consumption helps? I didn't mention it in my previous comment, but please also try setting resolution_occ_grid = 16. I really need to discard the possibility of being a VRAM issue before looking at other causes.


Question about Voxel Coors

Voxel coors have the shape Nx(1+NDim) as shown here - https://github.com/open-mmlab/mmdetection3d/blob/master/mmdet3d/models/voxel_encoders/voxel_encoder.py#L232. What is the shape (1 + Ndim) ?

The Ndim represents the dimension of corresponding voxel coordinates (specifically multi-dim voxel index) of each points. and 1 should be the batch_id.


[WiP] Feature/scale refactor ScaleEncoderStream implemented

Description of the Change
ScaleEncoderStream implemented and most of scale-encode tests refactored.
ScaleDecoderStream not implemented yet.
Working with exceptions is still raw, work is in progress.

Benefits
ScaleEncoderStream makes encoding more convenient, besides it is based on std::sequel and requires less allocations and reallocations during encoding.

Possible Drawbacks
No outcome::result is returned, need to check code for exceptions like follows:
ScaleEncoderStream s;
try {
s << a << b << c << ...;
} catch(...) {
// error occurred, handle
}

Usage Examples or Tests [optional]
ScaleEncoderStream s;
BlockHeader bh = ...;
ScheduledChange sc = ...;
...
try {
s << bh << sc << ...;
} catch(...) {
// handle error
}
auto && encoded_parameters = s.getBuffer();

Alternate Designs [optional]

Codecov Report

Merging #127 into trunk/scale-refactor will increase coverage by 0.24%.
The diff coverage is 75.06%.

@@                   Coverage Diff                    @@
##           trunk/scale-refactor     #127      +/-   ##
========================================================
+ Coverage                 71.44%   71.68%   +0.24%
========================================================
  Files                       261      268       +7
  Lines                      7785     7686      -99
  Branches                   4024     3956      -68
========================================================
- Hits                       5562     5510      -52
- Misses                     1247     1260      +13
+ Partials                    976      916      -60

Impacted Files
Coverage Δ

core/scale/optional.hpp
75% <ø> (+4.41%)
:arrow_up:

core/scale/collection.cpp
66.66% <ø> (-4.77%)
:arrow_down:

core/primitives/scheduled_change.cpp
0% <0%> (ø)

core/scale/buffer_codec.cpp
0% <0%> (-42.86%)
:arrow_down:

core/scale/collection.hpp
28.57% <0%> (-47.62%)
:arrow_down:

core/runtime/impl/parachain_host_impl.cpp
0% <0%> (ø)
:arrow_up:

core/primitives/parachain_host.cpp
0% <0%> (ø)

core/scale/buffer_codec.hpp
0% <0%> (ø)
:arrow_up:

core/primitives/extrinsic.cpp
100% <100%> (ø)

core/scale/util.hpp
90.47% <100%> (ø)
:arrow_up:

... and 29 more

Continue to review full report at Codecov.

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


handling multi value choice column in JSON column and view formatting expressions

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Is there a way to handle a multi value choice column for column and view formatting expressions?
For an example column of 'Colour' with options Red, Blue, Yellow I have tried the following without success:

comma delimiting the options
"txtContent": "=if( [$Colour] == 'Red,Blue' , 'Purple', 'other text' )"

using newline
"txtContent": "=if( [$Colour] == 'Red,\nBlue' , 'Purple', 'other text' )"
or "txtContent": "=if( [$Colour] == 'Red,\\nBlue' , 'Purple', 'other text' )"

and other variations of the above. Is there there an undocumented 'contains' ability in column formatting expressions or a different method to do this?

This has been solved using the join and indexof expressions dug up by @thechriskent. Samples can be found here:
https://github.com/SharePoint/sp-dev-list-formatting/tree/master/column-samples/multi-person-currentuser
https://github.com/SharePoint/sp-dev-list-formatting/tree/master/column-samples/text-contains


Allow connection to self-hosted PasswordPusher instance API

Is there any way to allow your app to connect to a self-hosted instance of PasswordPusher?
Not familiar whatsoever with Android app development, but I came across your app after forking and spinning up our own instance of PWPusher in Azure and I'm curious if using our own instance URL was possible.
Thank you!

Not currently, but it would be good to allow customising the URL.
If you don't mind building the app yourself then you could change the url below and it should all work fine.
app/src/main/java/com/chesire/pushie/api/PasswordPusher.kt

private const val PWPUSH_BASE = "https://pwpush.com/p"

This will be in the next build, will look to push it out soon!


Fixed #29939: Alter auth's Group name field to be a max_length of 191.

This PR increases the max_length of django.contrib.auth model Group field name to 191, to match recent changes to username, first_name, and last_name in the User model.

Hmmm, my local tests passed and the errors on the four failures seem to indicate there was a problem generating the report in Jenkins. Could you take a look when you get a chance, @timgraham or @carltongibson? Thank you both, as always!

It was a temporary issue when pylibmc put up problematic wheel files on PyPI today.

@FlipperPA Thanks for the PR.
Could you please check if you could add some tests around the change you added ?


Add Covid Act Now social media accounts to site

summary:
We should have icons for Covid Act Now social media accounts on our website (not just icons for sharing).
expected result:
actual result:
environment (device, browser, mobile / web):
link:
screenshot (you can copy/paste images directly in):

Dupe of https://github.com/covid-projections/covid-projections/issues/300 I think.


[Lotfp] add data-i18n tags to the sheet

Hello,
Lamentation of the Flame Princess has been translated and published in french several months ago. In my virtual table community i've had a demand to translate the sheet so I've checked if I'm able to do it but I'm not because there's no data-i18n tags in the code of this sheet.
@joesinghaus or @sirkerry or @Favashi or @jangler can you add them?
Or @Anduh can you add them via your ACSI script ?
Or someone else?
BRgds

Thanks @joesinghaus


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-23-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1669

Questions ?
Please refer to the Backport tool documentation


[BUG] DNS Inconsistency When DHCP Is Used And DNS Left Blank

Describe the bug
NETCONFIG_DNS_STATIC_SERVERS is "<IP_ADDRESS>" ( https://github.com/openSUSE/sysconfig/blob/733d80ee739e7125716a9440de01e673706559c2/doc/README.netconfig#L147-L187 ) in /etc/sysconfig/network/config where cat /var/lib/wicked/lease-mgmt-br-dhcp-ipv4.xml is set in xml to <IP_ADDRESS>.  In interactive iso install left DNS blank.
cat /etc/resolv.conf shows:
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

There seems to be a disconnect, from what DHCP Code 6 is being shipped across the wire of: <IP_ADDRESS> and what we default to the NETCONFIG_DNS_STATIC_SERVERS.
To Reproduce
Pre-Req:

you need to be able to have access to a DHCP server where you can modify codes (like code 6)/set what the DNS will be on the given network/vlan for DNS

Steps:

on the dhcp server side, ensure however it needs to be accomplished / gui or codes ... that you're assigning a specific DNS(s) servers for that network
then on the Harvester side, at install, with interactive iso (for instance), just ensure you leave the DNS field blank
then when the install finishes you'll notice a few things:

that there is a gap, between what the DNS is that NETCONFIG_DNS_STATIC_SERVERS has and what was sent accross the wire on the DHCP server side.
this can be audited from the example info in the describe the bug section
additionally, let's say, the Network Administrator of the given VLAN is pushing out a change to the underlying network, so for instance (add/edit) a DNS server under your DHCP server (gui/code/etc) settings, like shifting your DNS server from <IP_ADDRESS>, to <IP_ADDRESS> -> on the Harvester side we can reload with wicked the mgmt-bo by wicked ifdown mgmt-bo && wicked ifup mgmt-bo -> we then can see that if we look at both /etc/resolv.conf or /var/lib/wicked/lease-mgmt-br-dhcp-ipv4.xml that we have the new/added/edited DNS server in the xml block

Expected Behavior
That information pushed out from the DHCP server would take priority over whatever is being hardcoded as <IP_ADDRESS> and thus there would only ever be 1 nameserver versus more -> as long as -> there was information being pushed out by the DHCP server (code 6) that was appropriate for supplying the given information to the link(s) that are tied up in the mgmt-bo
Environment

Harvester ISO version: v1.4-head
Underlying Infrastructure: bare-metal

I'm unsure if this is more of an "enhancement" than bug.  :thinking:  - I could change this to an enhancement.
But we currently are not supporting DHCP Option 6 / Code 6.
If a user/org/team was relying on their DHCP Server for providing the DNS, we're ignoring that when that is sent back during Harvester install, we're not automatically seeding the DNS sent as the DNS field at install. :thinking:
cc: @bk201


No linting is shown?

I installed almost everything but I forgot the python3.10-venv package so ST showed an error stating that something had been disabled until I installed that package. I Installed it but now I can't remember what was disabled and I have no linting at all.
Any ideas on how I can debug/fix this? Thank you!

Try restarting sublime text

Is LSP-ruff present in the status field?
Try enabling "log_debug": true LSP setting and checking the ST console after opening the file. I have a feeling the diagnostics are being ignored.

The file is not within folders added to the sidebar so diagnostics are being ignored.
We probably will soon disable this behavior for this package using new option (https://github.com/sublimelsp/LSP/pull/2218)

But the fastMP file is not in the project and it does show linting.

I think it is. What are your project folders? You can check by executing window.folders() in the ST console.

Sorry, I was mistaken. The file where it does work is indeed inside the project, fastMP is not and it does not work in it.
What about the very few issues with the code being shown?

Maybe Ruff does not support the violation, see https://beta.ruff.rs/docs/rules/.
Also, Ruff does only annotate code style violations. I recommend installing LSP-pyright alongside LSP-ruff for the best experience.

The violations shown in the screenshot above are all supported. Note for example that the only violation shown is the bb is never used which is fine but aa above is also never used but no linting appears. Also, the lack of spaces, the lack of new lines and the lines too long are not shown as violations and I think they should all be shown

The number 56 is just sitting there

Nothing technically wrong with that

variable aa is not used but not flagged
functions not used

it shouldn't be flagged because variables in global scope can be imported from the outside so this in many cases is expected (unless you define __all__).
So it looks like you just expect

there are many empty lines

ruff doesn't yet implement rules that detect multiple empty lines
All in all, it appears to work as expected and the problem is with your expectations. :)
Feel free to report any issues specific to ruff in its repo and not here since we don't control its behavior.
Also there is a playground for testing ruff manually at https://play.ruff.rs/

Thank you!


⚠ ClamAV has degraded performance

In d584976, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 81 ms

Resolved: ClamAV performance has improved in 21cc6a7.


Update test-configuration-options.md

added new audio capture cap.

Description

Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation fix (typos, incorrect content, missing content, etc.)

Checklist

[ ] I have read the contributing document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

CC: @aoleszyn and @kimsauce


Docs - v1beta2 - Providers - Key type

There is a type issue in the example provided for Generic Webhook with HMAC.
https://github.com/fluxcd/notification-controller/blob/main/docs/spec/v1beta2/providers.md#generic-webhook-with-hmac
The function verifySignature takes a key of type byte array.
func verifySignature(signature string, payload, key []byte) error

A string value is provided to the function when it gets called in the handleRequest function
// Verify signature using the same token as the Secret referenced in
// Provider
key := "<token>"
if err := verifySignature(r.Header.Get("X-Signature"), body, key); err != nil {
    http.Error(w, fmt.Sprintf("failed to verify HMAC signature: %s", err.Error()), http.StatusBadRequest)
    return
}

@michaelsatish thanks for catching this.
The key can be converted to a byte array. as it is passed to the function.
Would you like to open a PR for it?

@somtochiama More than happy to open a PR. Opened PR #585


Scripting add-on broken in Monterey 12.3 Beta

This error is shown when running sudo yabai --load-sa or sudo yabai --install-sa on the macOS 12.3 Beta.
Here is what is shown in Console.app:

I confirm, it is the same for me.

I can confirm this as well.

Same here on Mac 12.2 and Yabai 3.3.10

I figured out how to fix it. The latest released version's scripting addition doesn't work for Monterey according to keokeishiya. If you follow the steps to install the latest dev version (HEAD) it does fix it for me at least on Mac 12.2. I can use the left/right window focus commands again.

This is for Monterey 12.3 not 12.2

@addyire it was, and still is, unclear from your post whether you'd tried to use the HEAD install or not.

Same here with the version of commit 916d913.
I would appreciate it very much if this would be fixed soon.

As mentioned many times before; I do not run beta versions of macOS, and so yabai will never support beta versions, especially at this time when the stable release does not really support Monterey at all. For 12.0 - 12.2 the master branch should be fairly stable though.

I'm running 12.3 beta 2. The only thing that stopped working for me is switching spaces. My current workaround is to use BetterTouchTool.

Just putting information here: script add-on is still broken on macOS 12.3 beta 3

As mentioned many times before; I do not run beta versions of macOS, and so yabai will never support beta versions, especially at this time when the stable release does not really support Monterey at all. For 12.0 - 12.2 the master branch should be fairly stable though.

Closing bc of this

I hope this gets fixed soon. It might be Universal Control messing with things. I tried looking into the codebase but had no progress.

@addyire would it be possible to re-open this issue given that 12.3 is out of beta?

@addyire Seems like this has been fixed.

You're right, sorry I didnt check for myself. @gservat if you are still having this problem make sure you follow these instructions.

Yeah, it was fixed literally 4 hours before you re-opened it :) All it takes is a bug like this to realize just how important yabai is to my day-to-day use of my desktop. Thank you @koekeishiya <3 No other window manager on macOS comes close to yabai!


Performance Issues

Well, double whammy.  While implementing the feature for #56, I found out two issues.

We have a performance creep between 4f015846a5fb899eb5865e432b095722b273d0c1 and the current commit (b61e39944009dc07fa9124e7de7ad2df6179ae92).  Here is the performance from the first:

                            Method |       Mean |    StdDev |
---------------------------------- |----------- |---------- |
   SerializationClassWithPrimitive | 34.9980 us | 0.0149 us |
 DeserializationClassWithPrimitive | 44.8417 us | 0.0299 us |

And here it is currently:
                            Method |       Mean |    StdDev |
---------------------------------- |----------- |---------- |
   SerializationClassWithPrimitive | 37.0960 us | 0.0456 us |
 DeserializationClassWithPrimitive | 48.5083 us | 0.0949 us |

I took some time to see where it could be taking place, but could not see anything obvious.  I did find one area that I fixed, but it is still too slow.  To be honest, I am a little burnt out on fixing the performance, so I am definitely open to any assistance here.  It has easily consumed 40% of my time on this project, if not more.

Secondly -- and probably worse -- it appears that the way in which we were testing the original XmlSerializer was not accurate.  I have updated the tests so that they are doing the same thing as how we are testing v2 (using XmlWriter/Reader directly), and here are the new results:

                            Method |       Mean |    StdDev |
---------------------------------- |----------- |---------- |
   SerializationClassWithPrimitive | 40.8919 us | 0.2061 us |
 DeserializationClassWithPrimitive | 57.7255 us | 0.0529 us |

This is from ~62/60 on my machine.  So, a considerable jump.
Just so you know, I start a new work project on April 3rd, so I will not be able to help out here much after that.  I hope to have all the outstanding issues complete by then.  Although I am not so sure about this one.  If you want to help out and look at this issue, please feel free to do so.

I did find an issue where the benchmarks were not properly using the new ClassicExtension.  This was addressed, and while the reading improved, the writing actually got worse:
                            Method |       Mean |    StdDev |
---------------------------------- |----------- |---------- |
   SerializationClassWithPrimitive | 38.5309 us | 0.0275 us |
 DeserializationClassWithPrimitive | 45.4199 us | 0.0441 us |

The writing used to be @ 32, so that is a huge jump.

OK I found the culprit and have pushed it in.  Here is the current results on my machine, which is at the absolute limit of what I would accept for v2 (aiming for 35 write and 45 read):
                            Method |       Mean |    StdDev |
---------------------------------- |----------- |---------- |
   SerializationClassWithPrimitive | 35.8604 us | 0.0360 us |
 DeserializationClassWithPrimitive | 45.8316 us | 0.0298 us |

If I get some extra time I will see if I can narrow that down even further.

This result is really great!


obstructive hydrocephaly synonym

obstructive hydrocephaly MP:0000917
Add new synonyms:
SYN: non-communicating hydrocephalus
SYN: noncommunicating hydrocephalus
SYN: non-communicating hydrocephaly
SYN: noncommunicating hydrocephaly

Synonyms added.


Prism support for multipart/form-data content type

Describe the bug
We are trying to mock Auth API via prism. The content type for the request is supposed to be multipart/form-data. However, prism doesn't accept that. It works only if the content type is application/json.
To Reproduce
Run prism mock command: prism mock -d api.yml
Call the auth api with content-type: multipart/form-data.
Expected behavior
This should result in 200 OK response.
Actual behavior
This is returning 400 Bad Request with sl-violations.
Environment (remove any that are not applicable):
Prism version: 3.2.9
Additional context
Auth Api definition
/oauth2/token:
    post:
      summary: Get Auth Token
      description: Get a token to use the API
      operationId: getToken
      tags:
        - auth
      parameters:
        - in: header
          name: Authorization
          required: true
          description: 'Standard Basic auth header containing client_id:client_secret'
          schema:
            type: string
            pattern: "^Basic \\S+$"
      requestBody:
        description: The token request
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                grant_type:
                  enum:
                    - client_credentials

Hey,
we effectively support application/json and application/x-www-form-urlencoded — the multipart/form-data Is usually for binary uploads which at the moment are not handled by Prism (they are hard — so to speak).
Given your use case though, I think application/x-www-form-urlencoded would work for you. Why are you using multipart in this specific case?
I'm closing this since it's by design — feel free to reopen in case.

Duplicate of #432

Thanks for your help.
We have no special reason to go for content type multipart/form-data. We updated the definition to use application/x-www-form-urlencoded and all good now.

Doesn't seem like application/x-www-form-urlencoded is at all suitable for file upload scenarios. For efficiency reasons, the API that allows large file uploads should be multipart/form-data -- prism should be extended to support that.
c.f. https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data


Password recovery: Misaligned attachement

Please realign following

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Add C++ Core Guidelines link to C26475

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


Add Toddy Mladenov as notaryproject maintainer

Add Toddy Mladenov (@toddysm) as a seed maintainer of notaryproject based on their activity as per - https://github.com/notaryproject/notaryproject/issues/224
Signed-off-by: Yi Zha<EMAIL_ADDRESS>

LGTM but IANAM

Close as aggregated PR https://github.com/notaryproject/notaryproject/pull/240 was merged.


Add finalize option in write state service.

to support saving of fully optimized state without killing the cartographer node.

Sorry we are having some troubles with our merge bot.

Can you reupload this?

#613 is the same as this. I had to create new PR because I cannot reopen this.

Thanks and sorry for the inconvenience.


Custom fish completions do not work

I was looking over some issues, and for fun cloned https://gitlab.com/frizlab-demo-projects/swift-argument-parser-example-for-pr-320 which was a test case for a problem that affected bash and not zsh for issue #320. Was just interested in verifying it had the correct behavior for fish. This is the first project using argument-parser I've compiled. It seems custom completions are not generated for fish at all. I expect there to be something executing  ---completion … in the output?
$ example --generate-completion-script=fish
function __fish_example_using_command
    set cmd (commandline -opc)
    if [ (count $cmd) -eq (count $argv) ]
        for i in (seq (count $argv))
            if [ $cmd[$i] != $argv[$i] ]
                return 1
            end
        end
        return 0
    end
    return 1
end
complete -c example -n '__fish_example_using_command example' -f -r -l option1

$ example --generate-completion-script=zsh
#compdef example
local context state state_descr line
_example_commandname=$words[1]
typeset -A opt_args

_example() {
    integer ret=1
    local -a args
    args+=(
        '--option1:option1:'
        ':arg:{_custom_completion $_example_commandname ---completion  -- arg $words}'
        '(-h --help)'{-h,--help}'[Print help information.]'
    )
    _arguments -w -s -S $args[@] && ret=0

    return ret
}

_custom_completion() {
    local completions=("${(@f)$($*)}")
    _describe '' completions
}

_example

I’ve just gotten to the same point when investigating why the shortcuts tool doesn’t provide the kind of autocompletions you had suggested in your previous issue. It looks like the fish completions leave out positional arguments entirely, and only include completions for flags and options - not ideal!

I ought to learn Swift before I get too dangerous making code changes in a shipping product.

@floam if you describe the changes need in detail, I (if I can find time) or another contributor could implement them.

I'm a hacker and eternal memory hole procrastinator. I'll probably fix it all up anyhow or disappear. But I'll keep it in mind!

I made a simple go at using the fish completion too now and couldn't figure out what I was doing wrong yet.
Just a small test project for testing some stuff:
hassila@max ~/D/G/d/.b/debug (main)> ./dm --help
USAGE: dm [--generate-flatbuffers] [--generate-fast-binary-encoding]

OPTIONS:
  --generate-flatbuffers  Generate Flatbuffers schema.
  --generate-fast-binary-encoding
                          Generate Fast Binary Encoding schema.
  -h, --help              Show help information.

hassila@max ~/D/G/dm (main)> swift run dm --generate-completion-script fish
Building for debugging...
Build complete! (0.06s)
function _swift_dm_using_command
    set -l cmd (commandline -opc)
    if [ (count $cmd) -eq (count $argv) ]
        for i in (seq (count $argv))
            if [ $cmd[$i] != $argv[$i] ]
                return 1
            end
        end
        return 0
    end
    return 1
end
complete -c dm -n '_swift_dm_using_command dm' -f -l generate-flatbuffers -d 'Generate Flatbuffers schema.'
complete -c dm -n '_swift_dm_using_command dm' -f -l generate-fast-binary-encoding -d 'Generate Fast Binary Encoding schema.'
complete -c dm -n '_swift_dm_using_command dm' -f -s h -l help -d 'Show help information.'

Tried manually but didn't work as expected. @floam - thanks for your contributions to fish, enjoy using it, echoing @rauhul comment and would be happy to try to help out if you can articulate what's needed here - would be great to get it running.


Add lambdas for Go

How can I help this progress?

@jabley I'm going to help you get this merged. Would you like to update your branch first?


[Feature] Copy and Paste

/portal copy
Copies the NBT of the portal player is facing
/portal paste
Creates a portal with the NBT in the clipboard, then changes the coordinates to the block the player is facing
Useful for:
Two portals to the same location
Two portals with the same NBT
Two portals with the same shape

Implemented in portal wand.


CellSortBam and GeneSortBam do not behave quite as intended

According to the docs in TagSortBam.wdl, it is expected that the task CellSortBam sorts the records hierarchically: cell barcode > molecule barcode > gene name.  The samtools command in the WDL,
samtools sort -t GE -t UB -t CB -o cell-sorted.bam "${bam_input}"

does not behave as expected; while the output BAM (cell-sorted.bam) is sorted by CB, UB and GE are ignored and genomic coordinate is used as the secondary index. A similar issue exists in GeneSortBam task.
This causes major issues in certain methods in sctools. Since the input files and assumptions are not stringently checked and assumed to be true (e.g. see sctools:count.py:from_bam), no exception is thrown, and a wrong result is provided.
How to reproduce:
The following three commands produce bit identical outputs:
samtools sort -t GE -it UB -t CB -o out.bam in.bam
samtools sort -t UB -it GE -t CB -o out.bam in.bam
samtools sort -t CB -o out.bam in.bam
i.e. only the last -t ... is used.
AI:
-- find an alternative solution for hierarchical sorting of BAM files (Picard?)
-- fix CellSortBam
-- fix GeneSortBam

Update: Yossi Farjoun is working on a PR that enables Picard to perform arbitrary hierarchical sorting (a new CLI must be written, though).

Nice, that's really great. Thanks for making that suggestion 👍
Might the internal model that Yossi writes be useful for further picard-based single-cell tools?

@ambrosejcarr in short, yes!


GRM-L320效果

你好，请问GRM-L320单独在got10k数据集上训练和测试的效果怎么样？

Hi. I didn't train this variant on GOT-10k before the camera-ready DDL, but you can give it a run anytime you like.


Trying to connect to existing project backend (with code gen) on Android

Which Category is your question related to?
Getting schema files pulled from existing project on shared AWS account.
Amplify CLI Version
4.25.0 running on Ubuntu
What AWS Services are you utilizing?
For DynamoDB, AppSync, cognito(?)
Provide additional details e.g. code snippets
I want to connect an existing AppSync project to my Android project. (Thought I'd log this here, as it seems more to do with the cli).
I've run amplify init and amplify add codegen --apiId <project ID> this seems to work (as pointed out by the "Integrate with your app" section on the AppSync AWS console), and when I run amplify status it returns what I think looks right:
Current Environment: dev

| Category | Resource name   | Operation | Provider plugin |
| -------- | --------------- | --------- | --------------- |
| Api      | <appname>sync-dev | No Change |                 |

GraphQL endpoint: https://<more text>.appsync-api.<region>.amazonaws.com/graphql

When I run amplify codegen
It outputs:
✔ Downloaded the schema
✔ Generated GraphQL operations successfully and saved at <appname>/src/main/graphql/com/amazonaws/amplify/generated/graphql

When I run amplify codegen model (As I understand it: the command to run when you want the actual java files to be generated for use in your Android application) it doesn't seem to work: it just says

No AppSync API configured. Please add an API

Which I find unexpected, given the output of amplify status.
Am I missing something?
The project folder I'm working in did contain a previous local only api (where I manually added the graphql files), but I removed the amplify folder and .graphqlconfig.yml and amplify.json before running amplify init again.
I've tried running amplify pull but if I do, things start breaking even more: (status doesn't report anything being present after that).
I've been following the startup tutorial for datastore to some degree, but since we want to start from an existing project, it hasn't gone smoothly.

I was looking at the AppSync console (which wants you to do an Init first, then a codegen add which doesn't look right?)
Going to the Amplify console showed me the correct app ID that I should have used. Now when I run amplify pull --appId <correct Amplify App id> --envName <env name>  it pulls down the correct files.
Then running  amplify codegen add and  amplify codegen model seems to have sorted out my problem.
Now if you'll excuse me, I have to ceanup all the resources amplify init created.

Hi @Diederikjh
Nice to know that it worked using amplify pull.  I will look into why the first approach failed.

Currently the CLI does not support this as amplify codegen models works based on an api that is created from the CLI. As codegen does not look at the introspection schema when generating the models.
If you are facing any other problems related to this , feel free to reply and I will reopen this issue again


refactor returns to return

A small correction for the docstrings.
We had cases where we were using :returns: in the docstring, but it has to be :return:

ups wrong repo


Documentation for 0.12.x missing on werkzeug.pocoo.org

There is, however, a link to it, which results in 404. I was trying to read the changelog, but had to come here.

Can't you able to access this page http://werkzeug.pocoo.org/docs/0.12/ ?

Well, yeah, it appears to be fixed.


Partial DSL support / hybrid applications

Hey there Andy,
This takes a bit to explain, and I may have misunderstood things, but either way I may also have an idea to a potential improvement. Perhaps this is already possible as-is, but in that event I lack knowledge how to apply it.
Right now the glimmer-suite heavily focuses on the DSL build style, that is, we use a DSL to describe an application - typically a GUI, but with opal and rails we should have web-support too, I think. And perhaps commandline GUIs like ncurses :D (but, as I said before, I don't quite suggest it because I hate ncurses ... it would be kind of cool to build fancy, emoji-driven commandline "GUIs" though, just to tear down that old barrier of legacy ...)
In libui we may have code like this:
main_window = LibUI.new_window('Text-Drawing Example', 640, 480, 1)

I found that combining this with a DSL-centric style is a bit difficult. You show various examples how to do so, e. g. mixing some module and what not. So I assume it is possible to mix a DSL-style as well as the traditional ruby object.method_name()
variant.
But what if we could combine both?
For instance, in pseudocode:
main_window = LibUI.new_window('Text-Drawing Example', 640, 480, 1)
# add a hbox there
hbox = LibUI.new_horizontal_box
LibUI.box_set_padded(hbox, 1)
LibUI.window_set_child(main_window, hbox)

# and now comes the interesting part in pseudo code
spinner = Glimmer {
  spinner
}
# add a button and activate / deactivate the spinner on button
# click event
# and add more code to add the spinner into the hbox

What I am trying to say is that we could combine BOTH approaches, that is have
glimmer deal with the implementation detail, where this could be a DSL, but
then embed that widget right into the main_window variable or hbox.
So, in other words, where we could combine both the DSL approach as well
as the "classical" OOP style. The above are just syntax examples, please
evaluate them accordingly with code that would work.
My idea here is to keep on, for instance, using the main_window, just via
LibUI.new_window, but then, based on which module to include, to add
widgets created via the glimmer DSL. But not ALL of it, kind of only the
"widget content", so I could fine-tune and choose which part to use.
So when you have glimmer DSL code like this:
window('Basic Image', 96, 96) {
  area {
    image {

I would omit the window() part, but I would use the area {} part and
then embed this into the main_window variable.
I am not sure if I managed to explain my idea. The idea would be to
be able to freely mix both approaches and styles.
There may be one concern in that this is too much of a niche case,
and not used by many people, which may be a valid concern. So
this may not be worth to implement. But I still wanted to mention it,
perhaps there are already ways to combine both as it is, so it seemed
better to mention it. As always feel free to close this issue at any moment
in time and interprete accordingly to your vision of Glimmer.

I don’t get the use case you are proposing.
DSLs are already object-oriented, and the whole point of coming up with a domain specific language is to make it much simpler and quicker to build components within the DSL domain, which is GUI in the case of Glimmer DSL for LibUI. I do not see any point whatsoever of writing non-DSL code given that the DSL API is complete, giving full access to the LibUI API, but more intuitively and with better readability.
Of course, as with everything in software engineering, everything is possible to support, but that doesn’t mean everything is a good idea.
I don’t see any value in what you’re asking about whatsoever. It’s quicker, cleaner, and better to reimplement code not written with the DSL using the DSL than to support embedding the DSL into non-DSL code in my opinion. So, that renders this request moot.
As a last note, remember that you can get access to any wrapped Glimmer DSL component using the .libui method, and then you can do whatever you want with it as a LibUI object.
For example:
‘’’ruby
@mw = window
puts @mw.libui.inspect
‘’’
But, it is not really considered beneficial at all. It is much better to keep operating within the friendly DSL. The whole point of it is to make the life of software engineers much more productive and more maintainable and understandable.


fix a broken link

fix a broken link in 1-getting-started-lessons/2-github-basics

Hey, Assign this task to me I will do it..


Set up an extra Devnet for extended integration testing purposes

Prior to rolling out new updates to the public testnet, it would be a good idea to launch another internal devnet with a similar number of nodes (~50) to roll out new consensus-related updates on, and to give us some room to properly test the new updates before letting them loose in production.
This issue will entail the generation of a new genesis block, a set of wallets and a seperate seeder node (possibly using a secret key to avoid outsiders from entering, if we so desire).
This Devnet should be seated inbetween the use of the test harness, and the actual deployment on the Shin testnet.

Devnet has been launched, further details will be disseminated internally.


Feature request: Want new valid classifier

What's the problem this feature will solve?
I want to add License :: OSI Approved :: GNU Lesser General Public License v2.1 (LGPLv2.1) for LGPL v2.1 as a valid classifier.
Describe the solution you'd like
Just want to add License :: OSI Approved :: GNU Lesser General Public License v2.1 (LGPLv2.1) as a valid classifier.
Additional context
LGPL v2.1 is also very popular.

See https://github.com/pypa/trove-classifiers/issues/17

See #17

Ohh, thanks
When will LGPL v2.1 be added?


Default App Icon doesn't change on Android?

Hello, May I know why the default icon doesn't change on my Android Device after following the step you provided.
The icon are generated successfully, and rebuild and deploy. But the app icon doesn't take effect.
Should we clean some cache or sth to achieve?
Or Do we need to modify the config.xml under the root of cordova project?
Thanks a lot.

Hi,
I've got the same problem so I uninstalled app and reinstalled it and it works :)
It seems like Android has some trouble on app icon update...
Tell me if you solve your problem.

Yes I solve it doing the exact same thing with you!
Thanks your confirmation!


Procedural Samples

These demonstrate procedural content generation techniques, primarily using the Grasshopper.Procedural library.

[ ] Simple procedural landscape
[ ] Endless "chunked" procedural landscape

Note: investigate https://github.com/CaptainBubbles/RUL_Unity/tree/master/RUL


Message Translation

How can I get the message for validation on path resources/lang/myLang?
The only way that I could make works was creating a method message in my Request file but I don't want make that in each module.
Could you help me?

Hello you can use the following:
trans('yourmodule::file.key')

@nWidart That should be @lang() instead of @trans(). (I made the same mistake the other day too. D:)


iplug now supports targeting .clap so can you release a .clap format

This is technically feasible (I did most of the CLAP work for iplug2 in fact) but it is a matter of time to create the right changes to projects so that a clap build is enabled. Certainly something I'd like to include, but no timeline at present. If anyone is in a rush and wishes to take an attempt at doing the work and make a PR that would be appreciated.


[BUG] Passing a list of wires to qml.Identity causes QJIT to segmentation fault

The following code will produce a segmentation fault due to the use of qml.Identity([0, 1]).
dev = qml.device("lightning.qubit", wires=2)

@qjit
@qml.qnode(dev)
def circuit():
    qml.Identity([0, 1])
    return qml.state()

circuit()

This looks to be a problem with how Identity is defined in the runtime. __catalyst__qis__Identity only accepts one single wire parameter.


Don´t can acess the authorization URL

I don't know if the problem is on my raspberry pi, but after installation I can't access http://<IP_ADDRESS>:5050 or http://localhost:5050

in your amazon developer portal set allowed return urls as http://my.pi.ip:5050  and allowed origins as http://my.pi.ip:5050/code
you can replace my.pi.ip to your pi's ip or localhost
i faced the same problem but it worked when i opened this url from my pi's browser

Hi All,
I have the same issue.
Have now installed a 2nd time a new Raspi.
Raspi image via raspberyy Pi Imager -> Raspberry Pi OS (32-bit)
Run all steps as desicribet in the manual
`pi@raspberrypi:/opt $ sudo systemctl start AlexaPi.service
pi@raspberrypi:/opt $ sudo systemctl status AlexaPi.service
● AlexaPi.service - Alexa client for all your devices
Loaded: loaded (/lib/systemd/system/AlexaPi.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2023-10-09 14:19:15 CEST; 646ms ago
Docs: https://github.com/alexa-pi/AlexaPi/wiki
Process: 5223 ExecStart=/usr/bin/python3 /opt/AlexaPi/src/main.py --daemon (code=exited, status=1/FAILURE)
Main PID: 5223 (code=exited, status=1/FAILURE)
CPU: 3.494s
Okt 09 14:19:11 raspberrypi python3[5223]: ALSA lib conf.c:5200:(snd_config_expand) Unknown parameters {AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2  CARD 0}
Okt 09 14:19:11 raspberrypi python3[5223]: ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2  CARD 0}
Okt 09 14:19:11 raspberrypi python3[5223]: ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Okt 09 14:19:11 raspberrypi python3[5223]: ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Okt 09 14:19:12 raspberrypi python3[5223]: INFO: Checking Internet Connection ...
Okt 09 14:19:13 raspberrypi python3[5223]: INFO: Connection OK
Okt 09 14:19:13 raspberrypi python3[5223]: CRITICAL: AVS refresh_token not found in the configuration file. Run the setup again to fix your installation (see project w>
Okt 09 14:19:15 raspberrypi systemd[1]: AlexaPi.service: Main process exited, code=exited, status=1/FAILURE
Okt 09 14:19:15 raspberrypi systemd[1]: AlexaPi.service: Failed with result 'exit-code'.
Okt 09 14:19:15 raspberrypi systemd[1]: AlexaPi.service: Consumed 3.494s CPU time.
lines 1-18/18 (END)`
Ip or Host doest work as well from the Raspi desktop


[Feature] All tracked plays endpoint

It would be useful to have an endpoint for all tracked plays in the output format of the all recorded hiscores endpoint.

The /hiscores endpoint returns all data that osu!track has access to.  The only data that osu!track pulls from the official osu! API are hiscores.
Unlike the osu! website, however, the /hiscores endpoint will return scores that have fallen out of a user's top plays; it will return all hiscores that osu!track has ever seen for a user.


Document safety with ResourceLoader and ConfigFile when loading potentially untrusted files

This issue is already mentioned in the wiki when you look up the comments under the saving games tutorial, however I think it is nice to add these safeguards until a proper solution has been implemented.
I don't know if pointing users to tutorials in the way I did is common practice in the Godot Docs. After all: the tutorial is strictly speaking kind of unrelated. but I cannot link to to a tutorial in a description because it is a simple field and will raise compile errors.

Related Enhancement Discussion: https://github.com/godotengine/godot-proposals/issues/10968

As mentioned on the docs, the same applies to ConfigFile and str_to_var (and maybe binary de-serialization if we have something like that), adding notes to them as well would be great.

@HolonProduction wrote:

the same applies to ConfigFile

Okay, but if config file allows for remote code execution, that is not a thing that should be documented as a limitation, that is actually a critical safety issue, that should be resolved with high priority imho.
I mean loading scripts is still an intended function of ResourceLoader, that can lead to issues. I don't see how loading code from config files would be intended.

From the ConfigFile documentation:

This helper class can store Variant

:face_exhaling: okay yeah this 100% needs a disclaimer, too.

that is actually a critical safety issue, that should be resolved with high priority imho.

Complete security for text based resources is hard, see:

https://github.com/godotengine/godot/pull/80585

Okay I think this is at least addressing the limitations as honest as we can while working on a more permanent solution.
I think the readme block feels a bit silly, but then again I have no simpler idea to tell a godot user make your users be careful about not using config files downloaded online. :grimacing:

Thanks for all the help, I hope the next big todo on my list documentation wise will go smoother. :)


Ui uniformity

The long-awaited UI-Uniformity branch. Check it out. The only thing not touched is blog-posts. Things that happened in this branch:

Create User, Competition, Problem, and Blog Post have ben removed from buttons on their respective pages and added into one '+' button at the top for admins only.
All tables have been wrapped in a panel and have their proper <thead> and <tbody> tags.
General cleanup of HTML
Fix of weird bug where the search icon was off by 1px
All of the columns in tables have been aligned using col-md-x classes

Let me know what you think.

I like the + button. However, the create blog form and create competition form look different than creating user and problem.

Me lo gusta mucho. Only a few nits to pick before I merge

[ ] Missing HTML class in Upcoming competition table
[ ] New blog post form does not match new problem/user forms (may be result of merges)
[ ] [Opinion] Blog posts could be in some kind of well or border

If we change the background color, the text becomes unreadable. Maybe should cross that bridge when we get to it.

I mentioned earlier that the new competition form isn't uniform, but I think that's justified given the nature of creating a competition.

I'm going to work on the blog post form and new problem/user forms tomorrow after my final. I honestly think that that was just something I forgot, because this branch saw no activity for over a month.

Haha, what are finals?

So, I put the "Create Competition" and  "Create new blog post" forms inside of panels. They all match except for the fact that the "Save" button of the "Create Competition" form is actually in the heading instead of at the bottom. I'm open to moving it, but I feel like it looks better there instead of below the table.
I agree that blog posts should be fixed, but I don't think they need a panel. I'm not sure what exactly would make them look good. I think we should leave that for another pull-request.

Merge away!

Cool sauce. We are not on the same schedule.


Publish package to other package managers

[ ] Homebrew
[ ] MacPorts
[ ] ?

Is that really necessary? Feels like this might be adding too much overhead.

@alexgorbatchev at the moment, you have to install NodeJS manually and then use npm or yarn, and that something that Swift developers for example does not use on daily basis, so I thought about publishing to brew to make it easier for them to start with it as a CLI tool, without installing NodeJS manually.
It might be an overhead at the moment, that's why I think that we will do it in the future and not now..


using verbose flag sometimes results in TypeError

Describe the bug
running aio app <command> --verbose sometimes results in the following error:
TypeError: first argument must be a string or instance of Error

this is because errors caught by the BaseCommand dont always have stack traces (error.stack) https://github.com/adobe/aio-cli-plugin-app/blob/master/src/BaseCommand.js#L38
To Reproduce
Steps to reproduce the behavior:

Create an app with frontend
Try to import from a file that doesnt exist (i.e. import { NonexistentFile } from './NonexistentFile')
run aio app build --verbose
see TypeError: first argument must be a string or instance of Error

Expected behavior

Create an app with frontend
Try to import from a file that doesnt exist
aio app build --verbose
see Error: Failed to resolve './NonexistentFile' from './web-src/src/components/NonexistentFile.js'

(funny enough the expected behavior is what you see when you dont use the --verbose flag)
Potential solution
just check for the stack trace (flags.verbose && error.stack)

fwiw, stack is an optional field of Error https://stackoverflow.com/a/75109213/22265578


Abilty to disable sidecar injection in knative services

Related to #1172 ,  the kamel tool should make it possible to add the annoations or atleast an option to disable sidecar injections on the Knative services created by Camel K. I usually add the istio-injection.istio.io/enabled: false to all my Knative services which does not need mesh.

wondering if we could add that to the knative service trait like isito-injection.enabled=false

We have an istio trait, see https://camel.apache.org/camel-k/latest/traits/istio.html

Thanks Luca missed that ;)
Get Outlook for iOShttps://aka.ms/o0ukef

From: Luca Burgazzoli<EMAIL_ADDRESS>Sent: Thursday, January 2, 2020 3:24:26 AM
To: apache/camel-k<EMAIL_ADDRESS>Cc: Kamesh Sampath<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [apache/camel-k] Abilty to disable sidecar injection in knative services (#1173)
We have an istio trait, see https://camel.apache.org/camel-k/latest/traits/istio.htmlhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcamel.apache.org%2Fcamel-k%2Flatest%2Ftraits%2Fistio.html&data=02|01||b32bcea127334aa25fa708d78f052ba3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637135124671341959&sdata=E06uo1uy5klktUHo6Wi1lzDy%2FUGsWoEvlrdwm5%2F1qPg%3D&reserved=0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fcamel-k%2Fissues%2F1173%3Femail_source%3Dnotifications%26email_token%3DAAHHMIMB4U662V5CJOMFX53Q3UGJFA5CNFSM4KAGDESKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH5NJEI%23issuecomment-570086545&data=02|01||b32bcea127334aa25fa708d78f052ba3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637135124671341959&sdata=ahexOTVSQIX5VODEHOHuCKN5ePI4u6zdUUz5qM3KqKA%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAHHMIK62Z2ORMNYBTCBS23Q3UGJFANCNFSM4KAGDESA&data=02|01||b32bcea127334aa25fa708d78f052ba3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637135124671351977&sdata=IHWnP1BhsClyzzZph6FN2YOx6Xa2K7ckJrwLBk9W8gU%3D&reserved=0.


feat(github): Force default permissions of GITHUB_TOKEN

What does this PR do?
ACIX-407
VULN-8203
Github token permissions should follow the least privilege principle
Reset workflow permissions to validate we can enable Read-only default permissions at repository level to provide a strong baseline protection measure
Tests

Datadog Static Analysis ok
Check Markdown Link ok
dev docs (build) ok Publication not validated, changed permissions.
label analysis ok
PR labeler ok
add milestone ok
backport pr: failed to test, changed permissions
buildimages-update ok (script failed for expected reasons)
chase_release_managers ok (script is broken but workflow is ok)
codeql analysis ok
create rc pr status, no PR creation
create release schedule ok
cws btfhub sync status, no PR creation
do not merge ok
external contributor - added permissions
go update ok
go mod tidy ok
gohai ok
serverless benchmark ok
serverless binary ok
serverless integration ok

/merge


Some natvis functionallity not working for VSCode qt5.natvis

I'm no expert on the matter.
But I see that for example QVariant defined in qt5.natvis is not working for Linux gdb type program.
https://github.com/inviwo/inviwo/blob/master/tools/natvis/qt5.natvis
Could this be because natvis is not fully supported on gdb type programs?
And if so, could you please add support for that QVariant functionality?

Yes. the natvis reader for VS Code is not as extensive as the VS one.


Display legend in plot

How can I display a legend with all curves in a PlotWidget?
(Similar to the legend functionality in matplotlib? Legend guide)

In PyMca one distinguish display and final output. For the later one allows full customization. I cannot imagine the user customizing everything for each plot.
From this plot:

One reaches this one where everything can be customized for the final publication quality output.

This issue is fixed since the PR #2041 has been merged and released.
Thanks guys!


Elbv2.create rule links target group to lb

In order to search target_groups by LB-ARN-only when creating a new listener rule after listener creation, we need this link in place.
similar to #1500

Hi @florianweyandt1337, hope you don't mind - I pushed a small change to get the linter to pass
Thank you for the PR!


Disable checkboxes in checklist

I need to be able to disable a checkbox within a checklist.  As it appears that functionality doesn't exist, I've forked the repo and worked out a solution, but it's incredibly hacky.  I'd appreciate suggestions on how to better solve this.
Dataset:
source: [
  {value: 'a', text: 'disabled', disabled: true},
  {value: 'b', text: 'enabled', disabled: false},
  {value: 'c', text: 'disabled', disabled: true},
  {value: 'd', text: 'enabled'}
]

First try:
// src/inputs/checklist.js

var $input = $('<input>', {
  type: 'checkbox',
  value: this.sourceData[i].value,
  disabled: this.sourceData[i].disabled ? true : false
});

When this renders, the disabled property is dropped from the DOM.  Strangely, it does work if the type is radio or text.  Also, other properties will persist, such as the misspelled disabld.
Second try:
Since the disabled property is being dropped, change it to data-disbled, and handle afterwards:
for(var i=0; i<this.sourceData.length; i++) {
    var $input = $('<input>', {
      type: 'checkbox',
      value: this.sourceData[i].value,
      "data-disabled": this.sourceData[i].disabled ? true : false
    });
    $label = $('<label>').append($input);
    var $option = $('<span>');
    $option[this.options.escape ? 'text' : 'html'](' '+this.sourceData[i].text);
    $label.append($option);

    $('<div>').append($label).appendTo(this.$tpl);
}

this.$input = this.$tpl.find('input[type="checkbox"]');
this.setClass();

var disabled = this.$tpl.find('input[type="checkbox"][data-disabled=true]');
console.log(disabled);
$.each(disabled, (d) => {
    $(disabled[d]).prop('disabled', true);
});

In this case, the data-disabled property persists, and the console.log(disabled) shows that the query found them, but they are still not disabled.
Third try:
Perhaps is was some race condition:
var disabled = this.$tpl.find('input[type="checkbox"][data-disabled=true]');
$.each(disabled, (d) => {
    setTimeout(function() {
      $(disabled[d]).prop('disabled', true);
    }, 0);
});

Now it works, but how it makes me cringe.  Also, the unit test does not find the disabled checkboxes in its query:
equal(p.find('input[type="checkbox"]:disabled').length, 2, 'disabled count ok');

Any suggestions on how to better solve this would be much appreciated!

Is there any updates on this issue?


DX: extract config for special CI jobs

Coverage remained the same at 92.379% when pulling 865865067c9db4ecfc4d45dc669fb4daf8f8940f on keradus:configs into 3a6c6a9157e5b74db67142bb73439732dfe03984 on FriendsOfPHP:master.

thanks! :+1:


The Macron accent

Description of the new feature / enhancement
Hello, I love PowerToys and I often use the shortcut for accents. Would it be possible to add the Macron accents (flat accents) that I also use regularly and I have to google them every time because they are not in the list :/
Example of flat accent: ā, ē, ī, ō, ū
Scenario when this would be used?
The name of my micro-business uses a flat accent and I often use it on discord etc.
Supporting information
No response

I had not seen that there was in the languages "All used" sorry for the inconvenience


Add support for deleting redis 3 clusters

also fix lint errors

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build started sha1 is merged.

Build started sha1 is merged.

build

Build triggered. sha1 is merged.

Build started sha1 is merged.


Name conflict with Twig default filter

TwigView 4.3.4
I want to use Twig's format filter.
{{ '#%07d' | format(order.id) }}

But, using this plugin will cause Cake\I18n\Number::format() to be called.
Is there a good way to call Twig's format?

In TwigView 4.1, I was able to call Twig's format.

hmm, I found this commit. https://github.com/WyriHaximus/TwigView/commit/f9be3b19c63ad1cf8bbf43ce39278e2d81ab4ba3
Before this commit, the Number extension was not enabled, Twig's format filter could be called.

Good catch, feel like up to creating a PR to change format to number_format at https://github.com/WyriHaximus/TwigView/blob/4.x/src/Lib/Twig/Extension/Number.php#L31 ?

A new version has been tagged: https://github.com/WyriHaximus/TwigView/releases/tag/4.3.5


Weekly tests failing - need access to gmt_tools

https://github.com/byuccl/bfasst/blob/main/.github/workflows/unittests.yml#L49

This issue is not resolved. See weekly tests run 25

That pull request should fix it. I had to add the private gmt_tools key in another location I missed the first time.

This is still an issue

Weekly tests are still failing because of failing to clone gmt_tools on the runners @jgoeders

This needs to be removed: https://github.com/byuccl/bfasst/blob/main/.github/workflows/weeklytests.yml#L45
And the specific tools that are needed will need to be installed like here or here


Fix: warning: deprecated directive.

When compile:
src/parser.yy:5.1-36: warning: deprecated directive: ‘%define parser_class_name { Parser }’, use ‘%define api.parser.class { Parser }’ [-Wdeprecated]
    5 | %define parser_class_name { Parser }
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | %define api.parser.class { Parser }

We use some older style bison directives to ensure compatibility with older versions. Does this new syntax work with 3.0.4?

3.0.4 is not support yet, see https://github.com/akimd/bison/commit/890ee8a1fd288b3cc1c21c49ea0ece696ef40565

We use some older style bison directives to ensure compatibility with older versions. Does this new syntax work with 3.0.4?

may i ask you a question about https://github.com/iovisor/bpftrace/pull/2216,
i just add offsetof(element, struct), and it's OK,
but add offsetof(struct, element), it's failed.
in src/parser.yy add:
vargs:
                vargs "," expr { $$ = $1; $1->push_back($3); }
        |       vargs "," struct { $$ = $1; $1->push_back($3); }
        |       struct
                {
                  $$ = new ast::ExpressionList;
                  $$->push_back($1);
                  std::cout << ">>>3:" << std::endl;
                }
        |       expr           { $$ = new ast::ExpressionList; $$->push_back($1); }
                ;

is not helpful. what should i do to fix this.

lets move that discussion to the ticket :)


PSD     Image reading error

PSD file, after accumulating four or five layers, your plug-in will prompt that this is not a picture file, and cannot read it.

PSD file, after accumulating four or five layers, your plug-in will prompt that this is not a picture file, and cannot read it.

Unable to reproduce this issue at the moment.

Well, that's a shame.


[Bug] Strange Visualization of DICOM

Describe the Bug
iam using cornerstone 1.80.0 in a angular application - while 9 of 10 DICOM are visualized perfectly i have one DICOM which has very strange visualization. Taking this dicom to the online examples everything is perfect. Also checked with the OHIF Online tool also fine.

need support to find root cause.
Steps to Reproduce
tbd
The current behavior
DICOM is wrong visualized.
The expected behavior
DICOM Axial view is shown as on live examples.
OS
Windows 11
Node version
20.15
Browser
latest Firefox, Chrome

can track it down to Streamingvolumeloader
perhaps related: #886

can we closed.


Add wm-restack=generic option that lowers polybar to the bottom of the stack

What type of PR is this? (check all applicable)

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Other: Replace this with a description of the type of this PR

Description
Previously wm-restack only supported bspwm and i3. Both have a special
top-level window that polybar detects and places itself directly above.
This patch adds wm-restack=generic which simply lowers polybar to the
very bottom of the stack. This option was tested and confirmed to work
with xmonad which doesn't have a special top-level window and therefore
doesn't require special handling like bspwm and i3.
Related Issues & Documents

Fixes #2205
Closes #1657
Documentation (check all applicable)

[x] This PR requires changes to the Wiki documentation (describe the changes)

I suggest the following changes to the configuration page on the wiki:
; Restack the bar window. Fixes the issue where the
; bar is being drawn on top of fullscreen windows.
;
; Currently supported options:
;   generic (works in xmonad, may work with other WMs)
;   bspwm
;   i3 (requires: `override-redirect = true`)
; wm-restack =

[ ] This PR requires changes to the documentation inside the git repo (please add them to the PR).
[ ] Does not require documentation changes

Thanks!

hi can I ask a question:
with wm-stack=generic, polybar still shown over fullscreen app, I need to open a new window in the current layout, then fullscreen works. I'm using xmonad on arch.

@timakro Can you check this out?

@ixzh Just to check, does polybar print any errors and are you using the latest polybar development version?

are you using the latest polybar development version

no error message...I'm using polybar 3.5.6.

polybar 3.5.6 doesn't have wm-restack = generic, that's an unreleased feature.

polybar 3.5.6 doesn't have wm-restack = generic, that's an unreleased feature.

Ok run from commandline, sawthe warning:
warn: Ignoring unsupported wm-restack option 'generic'

switched to polybar-git version, fullscreen works, but the following error was given:
error: Invalid value for "bar/mainbar-xmonad.tray-background", using default value (reason: "#zz24283b" is an invalid color value.)

transparent bg color not supported?


abbreviations mess up the priority order of arguments

This is a fault from configargparse tool, it might be useful too look into that:

https://stackoverflow.com/questions/3609852/which-is-the-best-way-to-allow-configuration-options-be-overridden-at-the-comman

The problem is, that command line arguments do only overwrite config file arguments with, when they are fully given,
prefix matching is still possible, by argparse defaults, so no error will be thrown, if for example: \
--reverse-dns-lookup is given by: --rev,
but only the full name overrides config file arguments, while the prefix doesn't.
Since the configargparse tool has not been updated for a long time, it might be better to go back to use a combination of argparse and ConfigParser.

This is solved by not allowing abbreviations at the current state


Cake build tools no longer work for VS 2022

Description of bug
When using VS 2022 the current Cake version (1.2.0) can't build the solution.
Steps to reproduce

Install VS 2022
UnInstall previous versions of VS
Run .\build.ps1 --target=resetdevsite
See errors

Current behavior
Cake 1.2.0 supports up to version 2019 of VS
Expected behavior
That it builds without errors
Error information
You'll see every project build fail with an error that is not relevant (namespace of build XML is incorrect)
Additional context
You'll find that updating Cake to 2.0.0 for VS 2022 support necessitates a cascade of changes. First, the build project will need to change to a .net core 3.1 at the very least. Framework 4.8 is not supported. This is a trivial change. But then we have a dependency on Cake.Frosting.Issues.Recipe which will not currently work with Cake 2.0.0. This is a bigger problem.
Affected version

[x] 10.00.00 alpha build
[x] 09.10.02 release candidate
[x] 09.10.01 latest supported release

Cake version was bumped and I have no issues building in VS2022, assuming this is resolved here...


SHAP availability in Java

I have been using SHAP explanations (#2438 )  through the R interface and I am happy with that.
I am however wondering whether the same SHAP-type feature contributions are available through the Java interface?
Looking at the source code there is a predContribs argument in
https://github.com/dmlc/xgboost/blob/master/jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java
but since that argument was changed last time 6 months ago, way before SHAP was implemented in xgboost, therefore I suspect that it is something else? I have no experience at all in Java, and am therefore not able to just check it for myself (I am not the one going to use the Java interface).
The documentation, http://dmlc.ml/docs/javadocs/index.html didn't really help me either.
So please, does anyone know whether it is possible to extract SHAP values from the Java interface?
I really appreciate any help on this somewhat dull question.
@slundberg ?

The Java bindings have not been updated since SHAP value computation was added, but they call the same underlying native function (from the C++ code) because of a earlier implementation of a heuristic importance measure. That previous heuristic measure is now available through the approx_contribs option and SHAP values are the default. So in the latest code it looks like Java bindings always return SHAP values, and don't have the option of the high speed heuristic (since they were not updated to include the approx_contribs option).
A quick way to check the difference between SHAP value and the heuristic values is to train a single depth 2 tree that represents an AND function. SHAP values will equally split of the credit for AND among the two features, while the heuristic will give more credit to which ever one shows up lower in the tree.

Thanks you for your quick reply, great that it is available also in Java, I only need the proper TreeSHAP version.
Regarding the approximation (http://blog.datadive.net/interpreting-random-forests/). Comparing this to the TreeSHAP method in https://arxiv.org/pdf/1706.06060.pdf, I what way do you regarding the former as an approximation to the latter? Does the approximation in any way relate to E[f(x)|x_S] etc? Do you have any feeling for when they are similar and not, e.g with respect to dependence/independence between the variables in the model or so. Any thoughts on this matter are highly appreciated :-)

The approximation is the "path" method referenced in the Tree SHAP paper.
Tree SHAP is the average of the path method computed over all permutations
of possible variable orderings, while the path method just takes the single
ordering defined by descending the tree. By only considering a single
ordering, the path method runs into inconsistency problems as shown in the
Tree SHAP arXiv paper.

Scott

On Mon, Dec 11, 2017 at 2:15 PM Martin Jullum<EMAIL_ADDRESS>wrote:

Thanks you for your quick reply, great that it is available also in Java,
I only need the proper TreeSHAP version.
Regarding the approximation (
http://blog.datadive.net/interpreting-random-forests/). Comparing this to
the TreeSHAP method in https://arxiv.org/pdf/1706.06060.pdf, I what way
do you regarding the former as an approximation to the latter? Does the
approximation in any way relate to E[f(x)|x_S] etc? Do you have any feeling
for when they are similar and not, e.g with respect to
dependence/independence between the variables in the model or so. Any
thoughts on this matter are highly appreciated :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/xgboost/issues/2942#issuecomment-350876125, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADkTxUueUdn3DPqpl5TBEfQ1HVpqESYAks5s_amHgaJpZM4Q9Ecm
.