Implemented Anti-Caching for Keep Alive Url

New option appendTime (default: true) will append the current timestamp to the querystring of the Keep Alive url.
Works with most variations of urls, including ones with existing querystring parameters and hashes.
e.g.
http://www.google.com/KeepAlive
becomes
http://www.google.com/KeepAlive?_=1434361893496
or
http://www.google.com/KeepAlive?foo=bar#blah
becomes
http://www.google.com/KeepAlive?foo=bar&_=1434361893496#blah

Looks great. Thank you.


ci: Add GitHub Workflow

Proposed Changes
Add GitHub Workflow

Remove .travis.yml
Use Node v14 because chromedriver` needs >=14.
Use Chrome and ChromeDriver already available on the GitHub Runner (docs).
Override the path to ChromeDriver using the same environment variable as webdriverio/webdriverio#12338

Notes

What do you want to do about the test coverage without CoverAlls?

What do you want to do about the test coverage without CoverAlls?

Let's remove it.

What do you want to do about the test coverage without CoverAlls?

Let's remove it.

Done

@seanpoulter you should have access now, can you confirm?

We can probably leave it since we won't touch the repo much after the Dependabot change, or updating the tests, right? 🤷

I have no plans to develop this project further given our progress in v9 in Shadow DOM peircing.


Paypal gateways & 3d secure

hi guys any thoughts to add 3d secure to paypal ? if not im more than happy to create a PR for this.

@wedy ActiveMerchant does not support 3DS flow; you'll need to implement it externally.

thanks @ntalbott, ah okay i saw ogone supports 3ds, i thought we could add 3ds into paypal soap field
we just need to pass these fields to paypal.
<ThreeDSecureRequest>
          <MpiVendor3ds>Y</MpiVendor3ds>
          <AuthStatus3ds>Y</AuthStatus3ds>
          <Cavv>jMKEKlqlJGiJARAbxMDZ5+fnFeg=</Cavv>
          <Eci3ds>02</Eci3ds>
          <Xid>TTVmdlFxbERYVXo5R1hrVUY5bjY=</Xid>
        </ThreeDSecureRequest>

ref:  https://developer.paypal.com/docs/classic/paypal-payments-pro/integration-guide/ThreeDSecure/
Ogone code in Active Merchant:
https://github.com/Shopify/active_merchant/blob/master/lib/active_merchant/billing/gateways/ogone.rb
thanks

@wedy Ogone non-AM standard 3DS support slid in before we started enforcing what is and what isn't a fit for AM; that functionality should really be deprecated.
I'd be happy to add 3d-secure specific fields to the options hash to be passed through on the existing/standard AM calls. But most 3DS processes involve multiple calls to complete what AM does in a single call (purchase, authorize), and we don't support making those extra calls or modifying the existing calls in ways that affect non-3DS processing.
If you want to submit a PR adding fields to options and pushing them through into the XML, I'd be happy to consider it for inclusion.

thank @ntalbott , yeah understood - ill add those additional fields into the options hash
appreciate your prompt reply


Installation on CPU

Hello guys,
I would like to run inference on CPU machine.
Could you please send me guidelines how can I run inference on CPU machine.
In addition, what installations do I need on CPU machine?

Please not that for training I used following installations. So I guess that for CPU I need same versions.
pip install torch==1.13.0+cu116 torchaudio==0.13.0+cu116 -f https://download.pytorch.org/whl/torch_stable.html
pip install k2==1.24.3.dev20230725+cuda11.6.torch1.13.0 -f https://k2-fsa.github.io/k2/cuda.html
pip install lhotse
pip install sentencepiece
pip install tensorboard
pip install six
pip install kaldifst
pip install kaldilm
pip install kaldialign
pip install kaldifeat==1.25.1.dev20231022+cuda11.6.torch1.13.0 -f https://csukuangfj.github.io/kaldifeat/cuda.html

Please follow our tutorial at
https://k2-fsa.github.io/icefall/for-dummies/index.html
The Icefall for dummies tutorial is for absolute beginners. It guides you step-by-step to setup an environment for CPU.

@csukuangfj Thank you so much for you answer. So based on your tutorial I changed my GPU installation so that it will be suitable for CPU version. I hope that following commands are correct (in your tutorial for dummies you are talking about torc 2.0, but for training I used another version). In any case I used following commands on CPU machine
pip install torch==1.13.0+cpu torchaudio==0.13.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install k2==1.24.3.dev20230725+cpu.torch1.13.0 -f https://k2-fsa.github.io/k2/cpu.html
pip install lhotse
pip install sentencepiece
pip install tensorboard
pip install six
pip install kaldifst
pip install kaldilm
pip install kaldialign
pip install kaldifeat==1.25.1.dev20231022+cpu.torch1.13.0 -f https://csukuangfj.github.io/kaldifeat/cpu.html
But during the inference I got follwoing error
OSError: libtorch_hip.so: cannot open shared object file: No such file or directory
Any help is more than appreciated

Could you please post the installation logs related to torch and torchaudio?
Also, I suggest that you create a new virtual environment for the installation for CPU

You installation commands seem to be correct.

Following is full error report.
Traceback (most recent call last):
File "k2_scripts/transcribe_utts.py", line 10, in
from lhotse import Fbank, FbankConfig
File "/opt/conda/lib/python3.8/site-packages/lhotse/init.py", line 29, in
from .workflows import *
File "/opt/conda/lib/python3.8/site-packages/lhotse/workflows/init.py", line 2, in
from .forced_alignment import align_with_torchaudio
File "/opt/conda/lib/python3.8/site-packages/lhotse/workflows/forced_alignment.py", line 12, in
import torchaudio
File "/opt/conda/lib/python3.8/site-packages/torchaudio/init.py", line 1, in
from torchaudio import (  # noqa: F401
File "/opt/conda/lib/python3.8/site-packages/torchaudio/_extension.py", line 135, in
_init_extension()
File "/opt/conda/lib/python3.8/site-packages/torchaudio/_extension.py", line 105, in _init_extension
_load_lib("libtorchaudio")
File "/opt/conda/lib/python3.8/site-packages/torchaudio/_extension.py", line 52, in _load_lib
torch.ops.load_library(path)
File "/opt/conda/lib/python3.8/site-packages/torch/_ops.py", line 573, in load_library
ctypes.CDLL(path)
File "/opt/conda/lib/python3.8/ctypes/init.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: libtorch_hip.so: cannot open shared object file: No such file or directory
Is that enough. I started from brand new linux. So I do not think that I need new env.

Please change
pip install torch==1.13.0+cpu torchaudio==0.13.0 -f https://download.pytorch.org/whl/torch_stable.html

to
pip install torch==1.13.0+cpu torchaudio==0.13.0+cpu -f https://download.pytorch.org/whl/torch_stable.html

You missed +cpu for torchaudio==0.13.0
It should be
torchaudio==0.13.0+cpu

not torchaudio==0.13.0.

We have described that in detail in the documentation. Please follow our doc carefully.

I am really sorry for missing that. Thank you so much for your help.

I will update you if everything is good with installation on CPU


Show hide control according to select value

Laravel Admin Version 1.7.8
According to the $form->select('value')->option([0=>'Hide', 1=>'Show']) I need to show and hide a textbox.
$form->text('mytext', 'My Textbox');
Is it possible to implement this?

use custom javascript to show and hide form inputs

See https://laravel-admin.org/docs/en/model-form-linkage

See https://laravel-admin.org/docs/en/model-form-linkage

Since I'm using 1.7, the form linkage is not available.

use custom javascript to show and hide form inputs

Any sample code is available?

You can extend your field and copy the code from the latest version
See https://github.com/z-song/laravel-admin/blob/391dc4fce0b80fccf504865e8885a1b0a9f913a8/src/Form/Field/CanCascadeFields.php#L163


Investigate possibility to switch from application to browser during the test (mobile)

Currently we don't have easy approach to perform switching from application to browser where it needed (click to link in the app redirects to the browser). To perform switching we have to close current driver and start a new driver with appropriate capabilities.
Let's investigate possibility to create a single method to perform switching - switchToBrowser() / switchToApp().

https://stackoverflow.com/questions/39243603/switching-to-browser-from-a-native-android-app-with-appium
https://appium.io/docs/en/writing-running-appium/web/hybrid/
http://appium.io/docs/en/writing-running-appium/web/mobile-web/


How to debug the forward pass?

I tried to debug the forward process of the model. However, setting breakpoints in either the MistralModel in the transformers library or in the files of the current repository is useless.  I wonder if it is because the remote files on huggingface are used by default? Can this be changed? For example, when I want to modify the model. Thank you :D

It is truly strange. I have set "justmycode" to false and was able to step into the ".from_pretrained()" in transformers site-package. However, I was unable to step into the forward function of MistralModel in modeling_mistral.py within transformers. Here is the code with a breakpoint:
https://github.com/ContextualAI/gritlm/blob/01b2ed4799f09df2d9d41a9870176606b32568aa/gritlm/gritlm.py#L133-L135.
I have changed it to self.model.model(**inputs), but this does not prove to be of assistance.  And it is run on just 1 gpu.
Thanks. I'll try to figure it out.

are you trying to step into the forward of Mistral..ForCausalLM or MistralModel? It should be the latter

I attempted to enter the forward pass of 'MistralModel'. (In fact, I added breakpoints to both, but neither functioned.) I am uncertain whether it is due to my environment or an incorrect installation (But I followed the standard installation in readme).
This is my GPU:
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.01             Driver Version: 535.183.01   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------|
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA L40S                    On  | 00000000:34:00.0 Off |                    0 |
| N/A   31C    P8              33W / 350W |      0MiB / 46068MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
This is my environment:
 # packages in environment at /opt/conda/envs/grit:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
accelerate                0.26.1                   pypi_0    pypi
aiohappyeyeballs          2.4.0                    pypi_0    pypi
aiohttp                   3.10.5                   pypi_0    pypi
aiosignal                 1.3.1                    pypi_0    pypi
annotated-types           0.7.0                    pypi_0    pypi
attrs                     24.2.0                   pypi_0    pypi
bzip2                     1.0.8                h4bc722e_7    conda-forge
ca-certificates           2024.8.30            hbcca054_0    conda-forge
certifi                   2024.8.30                pypi_0    pypi
charset-normalizer        3.3.2                    pypi_0    pypi
click                     8.1.7                    pypi_0    pypi
datasets                  2.16.1                   pypi_0    pypi
dill                      0.3.7                    pypi_0    pypi
docker-pycreds            0.4.0                    pypi_0    pypi
eval-type-backport        0.2.0                    pypi_0    pypi
filelock                  3.16.0                   pypi_0    pypi
frozenlist                1.4.1                    pypi_0    pypi
fsspec                    2023.10.0                pypi_0    pypi
gitdb                     4.0.11                   pypi_0    pypi
gitpython                 3.1.43                   pypi_0    pypi
gritlm                    1.0.2                     dev_0    <develop>
huggingface-hub           0.24.6                   pypi_0    pypi
idna                      3.8                      pypi_0    pypi
jinja2                    3.1.4                    pypi_0    pypi
joblib                    1.4.2                    pypi_0    pypi
jsonlines                 4.0.0                    pypi_0    pypi
ld_impl_linux-64          2.40                 hf3520f5_7    conda-forge
libexpat                  2.6.3                h5888daf_0    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc                    14.1.0               h77fa898_1    conda-forge
libgcc-ng                 14.1.0               h69a702a_1    conda-forge
libgomp                   14.1.0               h77fa898_1    conda-forge
libnsl                    2.0.1                hd590300_0    conda-forge
libsqlite                 3.46.1               hadc24fc_0    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libxcrypt                 4.4.36               hd590300_1    conda-forge
libzlib                   1.3.1                h4ab18f5_1    conda-forge
markdown-it-py            3.0.0                    pypi_0    pypi
markupsafe                2.1.5                    pypi_0    pypi
mdurl                     0.1.2                    pypi_0    pypi
mpmath                    1.3.0                    pypi_0    pypi
mteb                      1.7.49                   pypi_0    pypi
multidict                 6.1.0                    pypi_0    pypi
multiprocess              0.70.15                  pypi_0    pypi
ncurses                   6.5                  he02047a_1    conda-forge
networkx                  3.3                      pypi_0    pypi
numpy                     1.26.4                   pypi_0    pypi
nvidia-cublas-cu12        <IP_ADDRESS>                 pypi_0    pypi
nvidia-cuda-cupti-cu12    12.1.105                 pypi_0    pypi
nvidia-cuda-nvrtc-cu12    12.1.105                 pypi_0    pypi
nvidia-cuda-runtime-cu12  12.1.105                 pypi_0    pypi
nvidia-cudnn-cu12         <IP_ADDRESS>                 pypi_0    pypi
nvidia-cufft-cu12         <IP_ADDRESS>                pypi_0    pypi
nvidia-curand-cu12        <IP_ADDRESS>               pypi_0    pypi
nvidia-cusolver-cu12      <IP_ADDRESS>               pypi_0    pypi
nvidia-cusparse-cu12      <IP_ADDRESS>               pypi_0    pypi
nvidia-nccl-cu12          2.20.5                   pypi_0    pypi
nvidia-nvjitlink-cu12     12.6.68                  pypi_0    pypi
nvidia-nvtx-cu12          12.1.105                 pypi_0    pypi
openssl                   3.3.2                hb9d3cd8_0    conda-forge
packaging                 24.1                     pypi_0    pypi
pandas                    2.2.2                    pypi_0    pypi
pillow                    10.4.0                   pypi_0    pypi
pip                       24.2               pyh8b19718_1    conda-forge
platformdirs              4.3.2                    pypi_0    pypi
polars                    1.6.0                    pypi_0    pypi
protobuf                  5.28.0                   pypi_0    pypi
psutil                    6.0.0                    pypi_0    pypi
pyarrow                   17.0.0                   pypi_0    pypi
pyarrow-hotfix            0.6                      pypi_0    pypi
pydantic                  2.9.1                    pypi_0    pypi
pydantic-core             2.23.3                   pypi_0    pypi
pygments                  2.18.0                   pypi_0    pypi
python                    3.12.5          h2ad013b_0_cpython    conda-forge
python-dateutil           2.9.0.post0              pypi_0    pypi
pytrec-eval-terrier       0.5.6                    pypi_0    pypi
pytz                      2024.2                   pypi_0    pypi
pyyaml                    6.0.2                    pypi_0    pypi
readline                  8.2                  h8228510_1    conda-forge
regex                     2024.7.24                pypi_0    pypi
requests                  2.32.3                   pypi_0    pypi
rich                      13.8.1                   pypi_0    pypi
safetensors               0.4.5                    pypi_0    pypi
scikit-learn              1.5.1                    pypi_0    pypi
scipy                     1.14.1                   pypi_0    pypi
sentence-transformers     3.0.1                    pypi_0    pypi
sentry-sdk                2.14.0                   pypi_0    pypi
setproctitle              1.3.3                    pypi_0    pypi
setuptools                73.0.1             pyhd8ed1ab_0    conda-forge
six                       1.16.0                   pypi_0    pypi
smmap                     5.0.1                    pypi_0    pypi
sympy                     1.13.2                   pypi_0    pypi
threadpoolctl             3.5.0                    pypi_0    pypi
tk                        8.6.13          noxft_h4845f30_101    conda-forge
tokenizers                0.15.2                   pypi_0    pypi
torch                     2.4.1                    pypi_0    pypi
tqdm                      4.66.5                   pypi_0    pypi
transformers              4.37.2                   pypi_0    pypi
triton                    3.0.0                    pypi_0    pypi
typing-extensions         4.12.2                   pypi_0    pypi
tzdata                    2024.1                   pypi_0    pypi
urllib3                   2.2.2                    pypi_0    pypi
wandb                     0.17.9                   pypi_0    pypi
wheel                     0.44.0             pyhd8ed1ab_0    conda-forge
xxhash                    3.5.0                    pypi_0    pypi
xz                        5.2.6                h166bdaf_0    conda-forge
yarl                      1.11.1                   pypi_0    pypi

I’m not sure if I’m the only one experiencing this issue. If that’s the case, I will try to resolve it by changing the installation environment or platform. Thanks so much for your patience!  :rose:

Are you training from scratch or loading the pretrained GritLM? Maybe you need to set it in the custom modeling file https://huggingface.co/GritLM/GritLM-7B/blob/main/modeling_gritlm7b.py

Yes, I'm training from scratch. And I found that
https://github.com/huggingface/transformers/blob/7bb1c99800d235791dace10305731f377db8077b/src/transformers/models/auto/auto_factory.py#L536-L540
        has_remote_code = hasattr(config, "auto_map") and cls.__name__ in config.auto_map
        has_local_code = type(config) in cls._model_mapping.keys()
        trust_remote_code = resolve_trust_remote_code(
            trust_remote_code, pretrained_model_name_or_path, has_local_code, has_remote_code
        )

The has_remote_code flag is true, and is targeted to the remote repo.  So I guess that it's because the remote files on huggingface are used by default.
The output of config.automap:
config.auto_map
{'AutoModel': 'GritLM/GritLM-7B--modeling_gritlm7b.MistralModel', 'AutoModelForCausalLM': 'GritLM/GritLM-7B--modeling_gritlm7b.MistralForCausalLM', 'AutoModelForSequenceClassification': 'GritLM/GritLM-7B--modeling_gritlm7b.MistralForSequenceClassification'}

but if I mannually set trust_remote_code to be false,
it will direct to transformers forward with this issue as decribed in #24
MistralModel.forward() got an unexpected keyword argument 'is_causal'.

I guess I should pip install a local transformers and then replace the modeling_mistral file manually. This should solve the problem. Thanks again for all your patience! Hope that this can help other people encountering the same problem too. :D


Question: What does "dismiss" and "done" button exactly do?

First of all I request developer to add wakelock to the library.
And, after implementation, I noticed If I click on "done" the daily notification stops, but not in the case of clicking "dismiss".
Kindly tell me what does these buttons exactly do.
Thanks for the library !

The "done" button was implemented like a delete or completed action. So it removes the notification from the local database, while the "dismiss" action is just used to close that instance of the notification and leave the future reoccurring ones.  I'll look into adding wakelock option for those that need it!

Thank you so much for information.
BTW, yesterday I added wakelock for one line code in notificationpublisher.class, i.e.
wakelock.acquire();
notification...notify(...);
wakelock.release();
The notification pops up, but at wrong time... I'd set time as 8.00am but it popped up at 9am.
I'm not sure what to do to fix this.

I haven't worked with wakelock before so I'll test it a bit this weekend but I looked at the documentation and wouldn't calling wakeLock.release(); cancel the wakelock? So you would have to call wakelock.release() after the notification was received?
Also was it exactly 1 hour or was it off a bit?

Exactly after 1 hour @9am.
Now I've added wakelock for whole Notification code, I'll test again for 2-3 days and see if I've did right implementation of Wakelock.

I played around with for a bit and I couldn't get it to miss the correct time. What timezone are you using?

I'm using GMT +05.30


How can I change nydusd config?

I set up a cluster accroding to docs/run_nydus_in_kubernetes.md, it works fine but I want to change the nydusd config
I tried add extraMount in kind-config.yaml like this:
      - hostPath: ./config.json
        containerPath: /etc/nydus/config.json

but it didn't work.

It works.


update order issue

when updating orders quantity results are not correct if two of the same item are added to the order

updating label

rewrote the edit order module. instead of adding all items back to inventory then deleting all items from order then adding all items to the invoice again the edit will update existing or remove and add new.


Adding Keyboard interface feature

@tropicadri can you split this into two features, one for navigator.keyboard.lock() (https://wicg.github.io/keyboard-lock/) and another for navigator.keyboard.getLayoutMap() (https://wicg.github.io/keyboard-map/)? Even though they shipped around the same time in Chrome, they have distinct use cases. Describing them is probably easier as separate features.

@foolip done the splitting thanks!


Execute normal command without mapping on indent function

Use normal! instead of normal to execute normal commands without
mappings on Fixedgq function. Fix broken qg in case the user has J
mapped to something else other than to join lines. normal! J will
always perform join lines regardless of any user mapping.

Thanks!


limit_size function may consume iterator

Potential O(N) memory and time complexity can be avoided in case of max
Iterator does not require count to be O(1) time or space complexity.
Iterator::count

Consumes the iterator, counting the number of iterations and returning it.

If the iterator is for example over a naive linked list implementation it would require O(N) time to calculate count.
If the iterator can only be consumed once the data may be destroyed by counting it.
This can be avoided by returning an Option<usize> and only truncating if change is needed.
https://github.com/pingcap/tikv/blob/ac506d2dc656a9f61e38af73dc4c90f70c955a43/src/util/mod.rs#L53-L82

/cc @BusyJay

I think get_limit_at_size can be merged with limit_size now since it's not used by other functions anymore. Can you help us to do it?

On a related note: Why is the head element treated differently than the tail. This seems like a bug waiting to happen.

It's intended. limit_size should return at lease one message if there is any, no matter what the size_limit is.


Reaper over-reporting late entries

We shouldn't call addAll in the for loop:
https://github.com/killbill/killbill-commons/blob/a152b9f53962cbde154a0ac0fb368e8a0a9a2574/queue/src/main/java/org/killbill/queue/DBBackedQueue.java#L298

for version 0.24.21 (0.24.*), need to fix also @xsalefter @pierre

Hi @kuguobing unfortunately, we won't backport this into 0.24.x. My only suggestion is that you update Kill Kill version to latest version. Or, if you just use killbill-commons version and not Kill Bill, you should able to update killbill-commons into latest version as well.

As this issue fixed in main branch, I'll close this issue.


To optimize the soul test class

Hi all guys
Over the past month,The community has done a lot of work on test cases.  now,  we shoud optimize the soul test class.
optimize  rules:

assertEquals()  must be Modified to assertTht()
must use inline import static class in test case  , just like import static org.mockito.Mockito.mock;,  import static org.junit.Assert.assertTrue;
Delete unnecessary blank lines
Optimize the java doc
There should be no obvious yellow warning of IDEA
remove final field Inside the method
use constants for all string variables

Task List ：

[ ] soul-admin
[ ] soul-boostrap
[ ] soul-client
[ ] soul-common
[ ] soul-metrics
[ ] soul-plugin
[ ] soul-spi
[ ] soul-spring-boot-starter
[ ] soul-sync-data-center
[ ] soul-web

get soul-admin

get soul-admin

get soul-common

get soul-common

get  soul-client

get  soul-client

assign soul-spring-boot-starter to me plz

assign soul-spring-boot-starter to me plz

get soul-spi

get soul-spi

get soul-sync-data-center

get soul-sync-data-center

get soul-plugin

get soul-plugin

soul-metrics

soul-metrics

get soul-boostrap

get soul-boostrap

get soul-boostrap

get soul-boostrap

get soul-sync-data-center

get soul-sync-data-center

?

?

?

看岔了  我删了

?

看岔了  我删了

?

看岔了 我删了

If u still wanna do it, we can  optimize the soul test class in soul-sync-data-center together, I can do the first 2 model http and nacos, the rest two is yours.

?

看岔了 我删了

If u still wanna do it, we can  optimize the soul test class in soul-sync-data-center together, I can do the first 2 model http and nacos, the rest two is yours.

?

看岔了 我删了

If u still wanna do it, we can optimize the soul test class in soul-sync-data-center together, I can do the first 2 model http and nacos, the rest two is yours.

NoNoNo, it's yours, my bad; i can do this next time, thank you！

?

看岔了 我删了

If u still wanna do it, we can optimize the soul test class in soul-sync-data-center together, I can do the first 2 model http and nacos, the rest two is yours.

NoNoNo, it's yours, my bad; i can do this next time, thank you！


Programmatic usage breaks when upgrading from v2.4 to v2.5

Version
v2.5.1
Reproduction link
http://donthaveone.com
Steps to reproduce
Deploy Nuxt application using v2.4 to lambda function with express.
Based on https://github.com/serverless/examples/tree/master/aws-node-vue-nuxt-ssr
What is expected ?
Application should function normally.
What is actually happening?
After upgrading to v2.5.1 express always returns a "cannot GET /" message.

This bug report is available on Nuxt community (#c8955)

Had the same issue. It is running express. This minor version upgrade broke our prod.
fun thing it is working on dev and it is working if it is built using the builder in node, but not npm run build.
We switched from express to nuxt server for the time being, but I am assuming I know the issue.
https://github.com/nuxt/nuxt.js/releases/tag/v2.5.0
Programmatic API / Middleware
If not already done, please explicitly call nuxt.ready() after new Nuxt(). nuxt.ready() was always async, but not awaiting the function call has now a severe impact.

   const nuxt = new Nuxt(config)
++ await nuxt.ready()

This breaks all existing express servers.
I'd say it's careless to release a minor version with breaking changes

@Gedminas It is no breaking change as stated in the release notes. Awaiting until nuxt is actually ready should always have happened when using Nuxt programmatically.

We had the same issue, including running in dev mode but not in prod. Solved by downgrading nuxt-cli to 2.4.5
our package-lock.json:
"nuxt": {       "version": "2.4.5",       "resolved": "https://registry.npmjs.org/nuxt/-/nuxt-2.4.5.tgz",       "integrity": "sha512-y2p0q58C8yyNr8zg9wEx5ZNhAYe0sbMXHeproGiCKXc2GW7TR6KtZ9/9IBeVlz7HwvoZW+VXIt2m/oecI9IbqQ==",       "requires": {         "@nuxt/builder": "2.4.5",         "@nuxt/cli": "2.4.5",         "@nuxt/core": "2.4.5",         "@nuxt/generator": "2.4.5",         "@nuxt/opencollective": "0.2.1",         "@nuxt/webpack": "2.4.5"       }     },

I can confirm this was a breaking change for some programmatic users. This will be reverted back in 2.6.

@pi0 just curious about the revert. I already upgraded and just followed the additional await thing for nuxt.ready(), would that mean just removing the await? Also, how does it work before v2.5 without await? It says in the migration guide that it has always been an async function but it works without it

@xxRockOnxx

PS: No action is required from the side of users. Calling and awaiting on ready() after the constructor is still recommended.

From https://github.com/nuxt/nuxt.js/pull/5413

Same issue with me as well. Trying get rid of this error from past 3 days but still could not find any solutions

@prakashbharti786 Did you also added ready() call after new Nuxt() and what exact error are you getting?
/PS 2.6 will be released today or tomorrow

@pi0 i added that after reading all comments here and it is working fine now. Thank you so much for your reply.

Any reason a change like that doesn't make it into the CHANGELOG file? The release notes seem pretty clear - but I missed them since the changelog doesn't indicate that there's anything more to the release than what's mentioned there.

@zoellner
It's in there but not highlighted.

I've added an additional note ☺

After I upgraded from 2.4.6 (nuxt-ts) to 2.6.1 nuxt package, I have the same problem (ie. I keep getting a 'Cannot GET /' response when looking at the page generated by serverless).
As far as I understand, calling ready() isn't needed anymore, correct? Is the problem in the fact that I am using typescript?
My nuxt.js is fairly standard:
const express = require("express");
const { Nuxt } = require("nuxt");
const path = require("path");
const config = require("./nuxt.config.ts");

const app = express();
const nuxt = new Nuxt(config);
app.use("/_nuxt", express.static(path.join(__dirname, ".nuxt", "dist")));
app.use(nuxt.render);

module.exports = app;

As is my lambda handler:
const sls = require("serverless-http");
const nuxt = require("./nuxt");

module.exports.nuxt = sls(nuxt, {
  binary: [
    'application/javascript',
    'application/json',
    'application/octet-stream',
    'application/xml',
    'font/eot',
    'font/opentype',
    'font/otf',
    'image/jpeg',
    'image/png',
    'image/svg+xml',
    'text/comma-separated-values',
    'text/css',
    'text/html',
    'text/javascript',
    'text/plain',
    'text/text',
    'text/xml',
  ],
});

@lukaVarga The problem should not be related to ready. Do you manually use node-ts to require nuxt.config.ts? If you can create a new issue with reproduction we can help better.

@pi0 thanks for a quick response.  You mean ts-node, right?
I created a reproduction and opened a new issue - https://github.com/nuxt/nuxt.js/issues/5502

@pi0 @lukaVarga we had the exact same issue when upgrading from 2.4.x. We didn't find that 2.6.1 helped with the issue. We had almost the same nuxt.js and lambda handler. We aren't using typescript.
What worked for us was to change nuxt.js to an async function so that we could call await nuxt.render()
So nuxt.js became
const express = require('express');
const { Nuxt } = require('nuxt');
const path = require('path');
const config = require('./nuxt.config.js');

async function start() {
  const app = express();
  const nuxt = new Nuxt(config);
  await nuxt.ready();
  app.use('/_nuxt', express.static(path.join(__dirname, '.nuxt', 'dist')));
  app.use(nuxt.render);
  return app;
}

module.exports = start;

Then changed our lambda handler using this approach https://stackoverflow.com/a/47851485
const sls = require('serverless-http');
const binaryMimeTypes = require('./binaryMimeTypes');
const nuxt = require('./nuxt');

module.exports.nuxt = (evt, ctx, callback) => {
  nuxt()
    .then(app =>
      sls(app, {
        binary: binaryMimeTypes,
      })
    )
    .then(proxy => proxy(evt, ctx, callback))
    .catch(err => console.error(err));
};

@chriswilcox-mof you, sir, are a life saver! Thanks a lot, this solution works perfectly!

Was also getting this issue after a clean install and upgrade, async handler fixed it. But before I was able to store variable in lambda and it would stay in memory for the next call. now this behavior seems to have changed. wondering what was happening before that gave this lambda advantage.
I have this middleware db.js that's using an S3 client lib
let s3
if (process.server) s3 = require('../lib/s3client')
export default (ctx) => {
  return new Promise(async (resolve, reject) => {
  	let resp = await s3.getObject('filename.json')
      	Vue.prototype.catalog = ctx.app.film_catalog = resp.catalog
  	resolve(resp.catalog)
  })
}

in the S3 client library I store the result into a global variable, and check if it's available in the next call, then avoid download the S3 file again
const AWS = require('aws-sdk')
const aws_config = require('/aws-token')
const s3 = new AWS.S3()
let cache = {}, cacheInvalidate = 2 * 60 * 1000 // 2 minutes

AWS.config.update({ accessKeyId: aws_config.accessKeyId, secretAccessKey: aws_config.secretAccessKey });
let s3Bucket = new AWS.S3({ params: {Bucket: aws_config.bucket, timeout: aws_config.timeout}});

const getObject = async (module) => {
 if (cache.hasOwnProperty(module)) {
    var update = {LastModified: cache[module].lastmod}
     if (cache[module].lastcheck + cacheInvalidate < new Date().getTime()) {
      update = await checkMeta(module)
      cache[module].lastcheck = new Date().getTime()
    }
    if (update.LastModified.toString() == cache[module].lastmod.toString()) return cache[module]
  }
    let srcS3 = await read(module)

    let data = Object.values(JSON.parse(srcS3.Body))
    cache[module] = { lastcheck: new Date().getTime(), lastmod: srcS3.LastModified, versionId: srcS3.VersionId, catalog: data }
    return cache[module]
}

if (process.server) module.exports = { getAllFilms, checkMeta}

with this the S3 file would first take 2000ms to download, then in the next call it took 1ms, taking the items from memory.
now with this new method for initializing nuxt and the latest version of libraries such as esm, this effect does not happen anymore, the cache variable is always starting null. apparently before it was only running the module.exports method in each call, but globals only once. now it seems to run globals and module.exports methods entirely every call.
this is probably not related to the change in nuxt, but something from esm, in any case I thought it was interesting how we can have long lived memory in Lambda. does anyone know if we can store data in say process.env or other cross-call object?

@chriswilcox-mof Great solution, I received timeouts so I guessed it is now mandatory for lambda to return something so I just added return before calling nuxt() and it works like a charm. Thanks!

Thank a lot to @chriswilcox-mof and @phpoenix  you save my life. Great !

Hey @phpoenix,
what do you mean with

it is now mandatory for lambda to return something

How can i achieve this?

Just for info:
// nuxt.js

const express = require('express')
const app = express()
const { Nuxt } = require('nuxt')
const path = require('path')

app.use('/_nuxt', express.static(path.join(__dirname, '.nuxt', 'dist')))
const config = require('./nuxt.config.js')
const nuxt = new Nuxt(config)
app.use(async (req, res) => {
   await nuxt.ready()
   nuxt.render(req, res)
})

module.exports = app

// index.js
const sls = require('serverless-http')
const binaryMimeTypes = require('./binaryMimeTypes')

const nuxt = require('./nuxt')
module.exports.nuxt = sls(nuxt, {
   binary: binaryMimeTypes
})

is also possible


bug? search overlay does not scroll

Browser is either Safari or Chrome on an M1 MacBook Air.
I get back results from pagefind just fine, but the
scrollbar at the right doesn't seem to scroll the pagefind
overlay at all, so I can't look at all of them.
I know they are there, because when I make the font size
smaller the results show up with a "load more" type dialogue
at the bottom.
Normal date pages load just fine, and there's a proper
infinite scroll on those.

I hate to report this as a bug because it might be any number of things
that aren't wrong with the code itself, but maybe it's a bug, I don't know.

Some more info from a debug session:
I'm getting 404 errors on
/vendor/bootstrap.bundle.min.js.map
/vendor/bootstrap.min.css.map
None of the docs I see reference these map files, so I'm wondering if there's a step I'm missing.

Also noted:
When I search, I get results, but the scrollbar doesn't scroll the search results.
What it does seem to scroll is the underlying date-based results.
next to try Firefox as the browser....

No difference in behavior on Firefox. I'll see about capturing a screencast.

An animated GIF of the interaction

Hmm, yeah, this is probably because I stuck the search widget into a position: fixed bootstrap nav bar element and don't have any kind of overflow scroll set on the search results 🤔


Add missing include directory to Config

The major contribution is the usage of  $<INSTALL_INTERFACE:include> which sets up the correct include path in the installed CMake-Config as part of the fix for #408
Minor: This basically just moves all the CMakeConfig related things from #358 down to the bottom and reduces the number of variables used for clarity.
I failed to find a solution for the library issue described in #408 as I need more input. The usual solution is to link against targets only and use find_dependency in the Config file to import dependencies. Outline of this would be:

set up targets mkl::mkl<foo> for the different mkl libs and similar for the omp libs
link against the targets
in the config.cmake.in create those targets by searching the the install directory with help of PATH_VARs set in configure_package_config_file
Those will be used automatically in the installed target if required during the regular build

querying @nathan-greeneltch-intel
I'm also not 100% satisfied with the naming of the module in lower case. Usually modules start with or are composed of upper case letters: find_package(Boost)/find_package(SDL2)/find_package(PNG)/find_package(MPI) Only exception are osg* packages.
#358 choose to match the name of the library: find_package(mkldnn) to reuse TARGET_NAME (BTW: I'm not a fan of having this variable at all and even less of duplicating it from LIB_NAME)
What about renaming the package config to MKLDNN -> find_package(MKLDNN)? The target would then be called MKLDNN::MKLDNN (which needs renaming in the main CMake too) This better matches existing conventions in CMake according to my experience.
I'm bringing this up now so you can make a decision before the 0.18 release as changing it afterwards will affect user code. Note that it does change the library to libMKLDNN.so. If this is not wanted (as it would be a breakage too) one can go with upper-case namespace but lower-case library: find_package(MKLDNN) target_link_libraries(myTarget MKLDNN::mkldnn)which might look odd, but e.g. Boost is similar:Boost::boost, Boost::system, Boost::timer...`

Closing as this has been addressed in ab126cddf6499576ffe697c0cc25b21d198389c8 but I've messed up the commit message.


Make git service registry load use root-directory

This makes the load method in git service registry only load services in the root-directory. Still need to make a test...

@mmoayyed I added a test but I don't think it kicked off the CI? Was there some command I am supposed to run?

@apereocas-bot runci


iPad Mini 3 Cellular reboots at step 2 for many unc0ver versions

Ever since I've updated to iOS 12 about 6 months ago and trying to jailbreak with the latest versions of unc0ver, my iPad Mini 3 Cellular will reboot at step 2 of the jailbreak process. Mostly, it works once or twice after a fresh iTunes/rootFS restore, and soon enough (sometimes as early as the second time), pressing the Jailbreak button will 100% of the time result in a reboot (not respring) at step 2. All it takes is to enable Load tweaks. Also, the iPad will sometimes just hang forever at step 1.
To Reproduce

Open unc0ver
Ensure Load tweaks is enabled
Hit Jailbreak button
Reboot happens at step 2. No jailbreak performed.

Device (please complete the following information):

iOS Version: 12.1.1 beta 3 and 12.4
iOS Device: iPad Mini 3 Cellular
unc0ver Version: all since last winter, including latest 3.5.3

Place an "x" between the brackets if true:

[?] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[X] this issue is present after a rootfs restore
[X] this issue is present on the latest version of unc0ver

This issue is still not resolved.
Crash-reboot also takes place if Restore RootFS is enabled.


⚠ Bofrost.fr has degraded performance

In 63906d1, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1092 ms

Resolved: Bofrost.fr performance has improved in f732a32 after 6 minutes.


python3Packages.md-toc: 7.2.0 -> 8.0.0

Motivation for this change
Update to latest upstream release 8.0.0
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 129348 at 7881f3d2 run on aarch64-linux 1

4 packages built successfully:

python38Packages.md-toc
python38Packages.mypy-boto3-builder
python39Packages.md-toc
python39Packages.mypy-boto3-builder

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 129348 run on x86_64-linux 1

4 packages built:

python38Packages.md-toc
python38Packages.mypy-boto3-builder
python39Packages.md-toc
python39Packages.mypy-boto3-builder


Livestreamer not working [douyutv]

livestreamer-v1.12.2
\livestreamer-v1.12.2\livestreamer.exe www.douyutv.com/71771
[cli][info] Found matching plugin douyutv for URL www.douyutv.com/71771
error: Unable to validate JSON: Unable to validate key 'data': u'\u63a5\u53e3\u5
df2\u5173\u95ed' does not equal None or Type of u'\u63a5\u53e3\u5df2\u5173\u95ed
' should be 'dict' but is 'unicode'

can you try to install the nightly build? it works for me on 1.12.2

thanks


Backup: Splitting up backup package into smaller files and common struct

Ready for custom volume backups.

Testsuite passed


Adds loaders target-timeplus (timeplus-io)

@pnadolny13 , thanks for the PR. Is there a new Deploy Preview from netlify? I only saw the preview from the initial PR, not with the new text/logo

@pnadolny13 , thanks for the PR. Is there a new Deploy Preview from netlify? I only saw the preview from the initial PR, not with the new text/logo

@jovezhong hmm yeah it looks like it wasnt showing up. I hit rebuild and I see it now. Give it a look!

Thank you. I checked https://deploy-preview-1232--meltano-hub.netlify.app/loaders and https://deploy-preview-1232--meltano-hub.netlify.app/loaders/target-timeplus Look good.
It seems that there is no easy way to add markdown readme as https://github.com/timeplus-io/target-timeplus#target-authentication-and-authorization . So maybe we can make the description for apikey a bit longer to guide the user how to create the apikey. This is nice to have. You don't have to make such changes

@jovezhong theres a few mechanisms we have to put extra markdown on the pages. I added that auth markdown snippet to the bottom of the page.

Wonderful! Your platform is very flexible.

Thank you @cjohnhanson . I just added the Apache License 2 to the repo


Dynamic Media Preview

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Add Dynamic Media Preview for when pasting the link. Like it would show the lineup

need to use some library or something to do this because Open Graph requires SSR

Plan: Make SSR for just PostPage


MVCGridShowErrorDetail Doesn't Works

I have added the below key in appSettings, but still I see There was a problem loading the grid.
<appSettings>
    <add key="MVCGridShowErrorDetail" value="true" />
</appSettings>

Sorry, not sure why it didnt work. Did you put it in the web.config of the mvc app?
Here is what you should see:


Fixes #587 - Avoid unneeded migration for PhoneDevice

Also refs #469.

Also the migration 0004_auto_20160205_1827 does not work if phonenumbers is not installed:
  File "/opt/venv/lib/python3.9/site-packages/two_factor/migrations/0004_auto_20160205_1827.py", line 3, in <module>
    import phonenumber_field.modelfields
  File "/opt/venv/lib/python3.9/site-packages/phonenumber_field/modelfields.py", line 7, in <module>
    from phonenumber_field import formfields
  File "/opt/venv/lib/python3.9/site-packages/phonenumber_field/formfields.py", line 1, in <module>
    import phonenumbers

@sevdog, good catch. I tried avoiding this by squashing migrations in #597.

Tweaking the migrations is probably unneeded after 2ff98b514d. Patch needs rework.

Tweaking the migrations is probably unneeded after 2ff98b5. Patch needs rework.

On master, I've tried to simply comment out the phonenumber URLs from two_factor/urls.py and the migration is still being generated; stubbing out key_validator in migrations did the trick.
What is needed for the patch to be merged? I'd like to help.

I guess that another less-invasive approach could be to conditionally include phonenumber urls in main urls by testing if the app is installed. I would be interested to collect opinions about this (the challenge being: avoid importing phonenumber stuff in main urls).

There is also the option of keeping all the names of the urls of the phonenumber plugin in the two_factor namespace to avoid breaking backwards compatability. I am not really sure what the best way is to propose changes to an existing PR, but I did that in this commit and that seems to work:
https://github.com/dekkers/django-two-factor-auth/commit/70a45b8dc021125c71760390d1434723d92f1875

Nice! I merged your commit in my PR.


Pressing SPACE after typing BS makes alfred-bear Workflow disappear

Hello, I followed the instructions to install alfred-bear, including giving it all the permissions and installing Rosetta. Report steps:

Launch Alfred
Type BS
Hit the spacebar
Alfred searches for files instead

I attached a video of the repro. Running Mac Mini M1, Sonoma S14.1.1 (23B81)
Let me know if ii can provide you with more info.
https://github.com/drgrib/alfred-bear/assets/68760057/471041e5-1f38-4edd-b109-2b881667296b
Appreciate any help!

I've updated the installation instructions. Have you followed all these steps?
If you already have and it still isn't working, please provide the debug log you get by following these steps:
https://github.com/drgrib/alfred-bear/issues/56#issuecomment-1546733678

Thank you. I reinstalled the app, following your instructions and it worked. I believe the issue was that once I typed BS for the first time I accidentally denied the search permissions.

Glad to hear that worked.


clean up

Another cleanup for #98 (and #99).

Codecov Report

Merging #101 (f53dba1) into main (420359e) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #101   +/-   ##
=======================================
  Coverage   98.39%   98.39%
=======================================
  Files          25       25
  Lines        1992     1992
=======================================
  Hits         1960     1960
  Misses         32       32

Impacted Files
Coverage Δ

include/phtree/common/b_plus_tree_map.h
98.97% <100.00%> (ø)

include/phtree/common/flat_array_map.h
99.03% <100.00%> (ø)

include/phtree/common/flat_sparse_map.h
97.91% <100.00%> (ø)

include/phtree/v16/node.h
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[Bug Report] el-select boolean invalid prop

Element UI version
1.4.4
OS/Browsers version
Chrome 60.0
Vue version
2.4.3
Reproduction Link
https://jsfiddle.net/pj71jkyw/566/
Steps to reproduce
Use a boolean as the value for el-option in el-select.
What is Expected?
No invalid prop warning.
What is actually happening?
This throws an invalid prop warning in the console since el-select depends on el-input to show the label. El-input wants a String or Number as the value.
[Vue warn]: Invalid prop: type check failed for prop "value". Expected String, Number, got Boolean.

found in

---> <ElInput>
       <ElSelect>
         <Root>

Fixed in #7030


Suggest: generate drop, new and rep for aliased handle types

In tests/codegen/resource-alias.wit, we generate handle types for each alias.
typedef exports_my_resources_e1_own_x_t exports_my_resources_e2_own_x_t;

typedef exports_my_resources_e1_borrow_x_t exports_my_resources_e2_borrow_x_t;

However, we only generate helper functions for e1, not for e2.
extern void exports_my_resources_e1_x_drop_own(exports_my_resources_e1_own_x_t handle);
extern void exports_my_resources_e1_x_drop_borrow(exports_my_resources_e1_own_x_t handle);
extern exports_my_resources_e1_own_x_t exports_my_resources_e1_x_new(exports_my_resources_e1_x_t *rep);
extern exports_my_resources_e1_x_t* exports_my_resources_e1_x_rep(exports_my_resources_e1_own_x_t handle);
void exports_my_resources_e1_x_destructor(exports_my_resources_e1_x_t *rep);

If feels pretty strange from user perspectives that even though we are working inside interface e2, but we have to call functions with interface name e1 to create own and borrow handle types.
Suggestion: we generate the same set of helper functions for aliased handle types.
Thoughts? @alexcrichton @dicej

On one hand this matches WIT where when a type is use-d between interfaces it defines the name in the new interface. On the other hand this is not the easiest to work with in C becausey ou always have to remember the original name. That being said not much is easy to work with in C anyway and the typedefs for use-d names don't have to be used an instead e1 could be used everywhere for example.
I'd personally have a slight preference and being conservative and not providing multiple names for the intrinsics.


[bug] Geographic map is broken after updating dependencies

I did some manual testing after merging https://github.com/openwisp/netjsongraph.js/pull/243 and it turns out the geographic map is now broken, see below for the error details.
We need to add a basic browser test which is able to detect this failure so we're protected from similar errors in the future.
If we cannot find a solution quickly we'll need to rollback the recent changes.

log.js:70 [ECharts] Series scatter is used but not imported.
import { ScatterChart } from 'echarts/charts';
echarts.use([ScatterChart]);
outputLog @ log.js:70
Show 1 more frame
Show less
netjsongraph.core.js:108 TypeError: Cannot read properties of undefined (reading 'getProgressive')
    at eval (Scheduler.js:157:37)
    at GlobalModel.eval (Global.js:582:10)
    at Array.forEach (<anonymous>)
    at each (util.js:259:13)
    at GlobalModel.eachSeries (Global.js:580:67)
    at Scheduler.restorePipelines (Scheduler.js:156:13)
    at prepare (echarts.js:1070:17)
    at ECharts.setOption (echarts.js:480:9)
    at NetJSONGraphRender.echartsSetOption (netjsongraph.render.js:81:1)
    at Object.mapRender [as render] (netjsongraph.render.js:319:1)
eval @ netjsongraph.core.js:108

@nemesifier Actually it was related to the echarts dependency. In the latest stable version of echarts, one would need to import scatter chart from the echarts/charts and then use it in echarts.use([ScatterChart]) to load and initialize the ScatterChart component.
Inside netjsongraph.render.js:
// other imports
import { ScatterChart } from 'echarts/charts'; // this needs to be imported separately

class NetJSONGraphRender {
        echartsSetOption(customOption, self) {
                  // defining configs, echartsLayer and commonOption
                  echarts.use([ScatterChart]); // necessary use
                  // ...
       }
// ...
}

With this change, it works fine now:

Speaking of general tests for detecting these kinds of errors,

What should be a typical example(s) to start testing these on? In this one particularly, they are related to the individual dependency itself rather than a problematic code snippet which expects a different output.
Should a different file be made(ex : netjsongraph.browser.test.js OR it should be tested in the individual test files for each module(netjsongraph.render.test.js in this case)?

I can make a PR for a short term fix of the geographic map one if you want.

@Shiva953 Great it works!! but could you please check your code, after changing the code that you mentioned the map does not look like as previously the dots were missing at the end in my OS.

What should be a typical example(s) to start testing these on? In this one particularly, they are related to the individual dependency itself rather than a problematic code snippet which expects a different output.

A typical test is opening the page and verifying that some elements that we expect to be there is really there.
The test should fail if there's a bug so we try causing the bug on purpose to ensure the test fails, in this case we don't need to do it on purpose because the bug is already there.

Should a different file be made(ex : netjsongraph.browser.test.js OR it should be tested in the individual test files for each module(netjsongraph.render.test.js in this case)?

A new file in this case is better, as the file grows we split it into multiple files to avoid working with huge files.
We have JS browser tests in openwisp-wifi-login-pages, here it should be easier to run these type of tests because there's no server side app needed.

I can make a PR for a short term fix of the geographic map one if you want.

Sure!


[Task]: Balance is not updated after the stronghold import

Task description
https://trello.com/c/2hE2WTO9/104-no-balance-and-transaction-history-is-shown-if-you-imported-the-wallet-with-a-phrase-on-google-pixel-6
Requirements
TBD
Creation checklist

[ ] I have assigned this task to the correct people
[ ] I have added the most appropriate labels
[ ] I have linked the correct milestone and/or project

Yesterday I've been testing with 1.6.5 on Android / iOS and it's solved now 💪


jenkins plugin : publishing several reports at once has strange behavior

Describe the bug
Different projects are scanned using dependency check and several separate XML reports are generated.
Then i try to publish reports at once using this line :
dependencyCheckPublisher pattern: '**/dependency-check-report.xml'
I well get the merged counts in a first graph on job page.
And one entry per report displaying title 'Dependency-Check Trend' but no graph associated.
One the build page, i got a lot of links (1 per report) pointing all to same url : https://JOB_URL/BUILD_ID/dependency-check-findings
This report contains well headers counting all detected vulnerabilities (bar 'Severity distribution' at the top with colors and counts) but the details are only the details of the first xml file considered when publishing all.
Version of dependency-check used
Deps check jenkins plugin 5.1.1
To Reproduce
Try to publish several xml vulnerabilities reports at once using wildcard with :
dependencyCheckPublisher pattern: '**/dependency-check-report.xml'
or
dependencyCheckPublisher pattern: 'dependency-check-*.xml'
Expected behavior
What i expect is to have only 1 trend graph on job main page, 1 entry in the left menu linking to /dependency-check-findings and all results merged in 1 detailed report on specific build page.
I haven't found verbose mode for deps check publisher so i don't have precise log of the report files processing operations.
Feel free to ask more if needed.

This is interesting.  I was about to report a similar bug but my expectations are different.  If I have 5 xml files from 5 report runs, it (in my opinion) correctly includes 5 links on the left side of the web page.  However, it appears that the last one in wins.  I expect the 5 links to point to the 5 different web reports.  Here is some information from a forum note that I sent this morning:
After reading the code a bit, I can see now that this is a bug.  Later today I'll report this as a bug.  The issue is that DependencyCheckPublisher.java calls an instance of the ResultAction at line 115 but doesn't give it any way to differentiate for the display URL.  However, it is in a loop over multiple dep check XML files designated by a pattern.  The the clear intent is to support multiple.  However, ResultAction defeats that multiple support at line 61 by sending back a hard-coded ending to the URL of the build (the run).  If line 115 of DependencyCheckPublisher handed in another argument (perhaps something off the odcReportFile file variable typed hudson.FilePath) and then the ResultAction could add something from that to the name returned in the getUrlName method.  I'll include this in the bug report.

I have the same problem.
I run two dependency checks in two different steps in a Jenkins pipeline script.
Each step publishes a report.xml with a different name, but the two "Dependency-Check"-Buttons still point to the same (the first to finish) report.
Would be great, if they would fix this.

Would be great, if they would fix this.

https://github.com/jenkinsci/dependency-check-plugin is looking for a new maintainer so "they would fix this" is unlikely to happen any time soon

I have faced same issue. I have parent project which has 12 submodule, in jenkins there were 13 same report.
I have fixed

Changing pom.xml goal "check" to "aggregate"

org.owasp
dependency-check-maven
6.1.0

aggregate

ALL

Changing jenkinsFile stage  :
stage('OWASP  analysis') {
steps {
print_blue '### OWASP REPORT PUSHING START ###'
dependencyCheckPublisher pattern: 'target/dependency-check-report.xml'
print_blue '### OWASP REPORT PUSHING DONE ###'
}
}


multiple filetype fails

nvim --version:
NVIM v0.5.0
Build type: Release
LuaJIT 2.0.5
nvim-lspconfig version(commit hash):
2f026f2177bff7c9599d8dc561a4bdb30626ad9c
Can you reproduce this behavior on other language servers offered in the nvim-lspconfig repo? (pyls -> pyright): lhs and texlab
Is the problem isolated to a particular language server: no
Operating system/version: archlinux

How to reproduce the problem from neovim startup
:LspStop
:setfiletype text.lhaskell
:LspStart
Actual behaviour
No lsp started.
UI remarks both fileytpes as detected
 Language client log: /home/omega16/.cache/nvim/lsp.log
 Detected filetype:   tex.lhaskell

 0 client(s) attached to this buffer:

 Configured servers list: texlab, hls

Expected behaviour
Run at least one of lhs or texlab
Minimal init.vim or init.lua and code sample
require'lspconfig'.texlab.setup{
  settings = {
    texlab = {
      auxDirectory = ".",
      bibtexFormatter = "texlab",
      build = {
        args = { "-pdf", "-interaction=nonstopmode", "-synctex=1", "%f" },
        executable = "lualatex",
        forwardSearchAfter = false,
        onSave = false
      },
      chktex = {
        onEdit = false,
        onOpenAndSave = false
      },
      diagnosticsDelay = 300,
      formatterLineLength = 80,
      forwardSearch = {
        args = {}
      },
      latexFormatter = "latexindent",
      latexindent = {
        modifyLineBreaks = false
      }
    }
  }
}

require'lspconfig'.hls.setup{default_config = {
    cmd = { 'haskell-language-server-wrapper', '--lsp' },
    filetypes = { 'haskell', 'lhaskell'},
    root_dir = require('lspconfig/util').root_pattern('*.cabal', 'stack.yaml', 'cabal.project', 'package.yaml', 'hie.yaml')
  }
}

Health check

health#lspconfig#check
========================================================================
## Checking language server protocol configuration
  - INFO: texlab: configuration checked.
  - INFO: hls: configuration checked.

I'm attempting to write pandoc markdown, latex and lhaskell in the same file.
Both texlab and lhs work if I set the filetype to tex or lhaskell.
As a side note: Thanks to all of you, having an easy way to config all my lsp in neovim is pretty nice!

If you want both language servers, modify the filetypes of the language servers in setup{} to operate on both filetypes

I append
tex.lhaskell, lhaskell.tex
if I open "some.latex" and set
:setfiletype tex.lhaskell
it just starts texlab

 Language client log: /home/anon/.cache/nvim/lsp.log
 Detected filetype:   tex.lhaskell

 0 client(s) attached to this buffer:

 Configured servers list: texlab, hls

Same if i run
:setfiletype lhaskell.tex
Now if i just run
:setfiletype lhaskell
both of them start
 Language client log: /home/anon/.cache/nvim/lsp.log
 Detected filetype:   lhaskell

 2 client(s) attached to this buffer:

 Client: texlab (id: 1, pid: 18765, bufnr: [1, 1])
 	filetypes:       tex, tex.lhaskell, lhaskell.text
 	autostart:       true
 	root directory:  /home/anon/projects/anon
 	cmd:             texlab

 Client: hls (id: 2, pid: 18859, bufnr: [1])
 	filetypes:       haskell, lhaskell
 	autostart:       true
 	root directory:  /home/anon/projects/anon
 	cmd:             haskell-language-server-wrapper --lsp
 	version:   haskell-language-server version: <IP_ADDRESS> (GHC: 8.10.4) (PATH: /home/anon/.ghcup/bin/haskell-language-server-wrapper-1.3.0) (GIT hash: e7c5e90b6df5dff2760d76169eddaea3bdd6a831)

 Configured servers list: texlab, hls

To be clear, in the lat response i added tex.lhaskell, lhaskell.tex to both configs.
  filetypes = {'tex','tex.lhaskell', 'lhaskell.tex'},
    filetypes = { 'haskell', 'lhaskell', 'tex.lhaskell', 'lhaskell.tex' },

@mjlbach Are you sure nvim-lspconfig shouldn't split the filetype automatically? Both https://github.com/nvimtools/none-ls.nvim and https://github.com/dense-analysis/ale do this, (n)vim does this for syntax, ftplugins, etc. as well, it's just nvim-lspconfig that for some reason can't handle this…


Finite difference approximation implementation

I traced the codes and noticed that there doesn't exist the part, "Fortunately, the
complexity can be substantially reduced using the finite difference approximation.", which is described in the paper. Has that been implemented?
Thanks

Yes it's implemented in cnn/architect.py in the _hessian_vector_product function

Thank you so much. I found that. By the way, the default unrolled is false, so it doesn't activate the approximation, does it.

Your understanding is correct.


Could not connect: Outdated server

Describe the bug
"Could not connect: Outdated server" error

To Reproduce

Install geyser app, enter Minecraft 1.17.1 ip and srart server
Try to join the server from Minecraft 1.17.10

Android OS Version
11

Android App Version
1.3.1

Geyser Version
#34

Minecraft: Bedrock Edition Version
1.17.10

I tried to join using Geyser on Termux and it i don't got the error

ssame problem, could they update to 1.17.10 (or was it 11)?

@Camotoy is the project dead?

Please don't ping developers for updates...
The project is currently on hiatus since it requires a decent amount of effort to get working again and it's a low priority.

I just wanted to know information about the state of the project.


[WFLY-17576] Upgrade xom from 1.3.7 to 1.3.8

https://issues.redhat.com/browse/WFLY-17576

/retest

/retest


Syntax highlighting: line numbers

It would be nice to have an option to turn on line numbering for the syntax highlighting.

Definitely something I'd like to have but needs to #160 and #165 first

A tricky thing is finding a way to make the line numbers match the theme being used

Yes, I was a bit surprised to see there are no css classes used for the code, it's all inline styles. Makes me think that this should actually be implemented upstream, in syntect. I did a quick search in that repo and there are no issues about it.


Matrix specialization of is_vector_like is incorrect

Summary:
stan/math/prim/mat/meta/is_vector_like.hpp needs documentation.
Description:
This returns true: stan::is_vector_like<Eigen::MatrixXd>::value. Add documentation.
Current Version:
v2.9.0

Turns out this isn't a bug -- the function needs doc.

Agreed.  I was confused by this at one point, too.

On Feb 26, 2016, at 4:26 PM, Daniel Lee<EMAIL_ADDRESS>wrote:
Turns out this isn't a bug -- the function needs doc.
—
Reply to this email directly or view it on GitHub.


Log version installed by Insiders in the Python output channel

We say "hey it's installed" but we don't say what's actually installed 🤔

HI,
I would like to take up this issue.
Can you please provide a little more context on this so I can look in the code on this?

Hello @vijaya-lakshmi-venkatraman,
When downloading a newer Insiders version of the extension, we'd like to log it in the Python output channel (and have tests making sure that it is logged properly).
The change, which consists of adding a logging statement, would have to be made here:
https://github.com/microsoft/vscode-python/blob/95c5f28c622244a09dc55999870aa5a9d2b24559/src/client/common/insidersBuild/insidersExtensionService.ts#L80-L81
once it's done installing, but before the prompt to reload.
Here's an example of how to access the output channel:
https://github.com/microsoft/vscode-python/blob/db8e1e2460e9754ec0672d958789382b6d15c5aa/src/client/common/installer/extensionBuildInstaller.ts#L41-L41
and how to append content to it:
https://github.com/microsoft/vscode-python/blob/db8e1e2460e9754ec0672d958789382b6d15c5aa/src/client/common/installer/extensionBuildInstaller.ts#L56-L56

Hi, I would like to take up this issue.

Hi @ssindhuja06,
Feel free to submit a PR and we'll review it.

@ssindhuja06  because it's been a month, I'm removing you as an assignee so others can work on this if they want. If you would still like to send a PR for this issue let me know and I can add you back 😊

Closing as stale


Fix bug that causes videos to keep playing audio but freeze the video on iOS

Test Plan:

the easiet way to test this is to go to the KA app and make this change locally in xcode.
Run the app on ios
go to a bug of videos
keep toggling the speed preference. Keeps doing this over and over again. Before this fix, the video would freeze. After this fix, the video doesn't freeze

https://khanacademy.atlassian.net/browse/MOB-2602

Looking at https://developer.apple.com/documentation/avfoundation/avplayer/1386726-play
It doesn't really make sense to be playing the video and then setting the rate. Setting the rate is actually enough to play and pause videos on iOS, so I'm not really sure why the module isn't just doing that. The exact cause of the bug isn't clear to me because it seems like it probably has to do with the implementation details of iOS.

I was hoping to make a pull request to the RN video repo, but unfortunately we're way behind and it's not trivial to bring us to the latest version, specifically on Android.


KV SAVE ERROR

KV has been saved like this since a few days ago. Is this normal? I can't manage the domain

Did you set unique_link: true?


Issue(DStability): Soil visualizations change after geolib.models.DStabilityModel().execute()

Version
0.2.0
Issue:
After creating a model using GEOlib, going through serialization and then execution of said model, the soil visualizations are (seemingly) all reset to default and/or made equal to one visualization. This behaviour does not happen when geolib.models.DStabilityModel().execute() is skipped, see the attached images.
Serialized model opened in D-Stability excluding running geolib.models.DStabilityModel().execute()

Serialized model opened in D-Stability including running geolib.models.DStabilityModel().execute()

Steps to Reproduce

Set up a DStability-model using GEOLib.
geolib.models.DStabilityModel().serialize() the created model.
Check the soil visualizations.
geolib.models.DStabilityModel().execute() the created model.
Check the soil visualizations.
Compare output of steps 2 and 4.

Hello, thank you for your issue report! This issue seems to be caused by a difference in behavior between the D-Stability User Interface and the D-Stability Console (used by GEOLib).
GEOLib does not assign any color or shading types to Soils in the model by default, unless the code explicitly does so, for example:
for soil in dm.soils.Soils:             dm.datastructure.soilvisualizations.SoilVisualizations.append(PersistableSoilVisualization(SoilId=soil.Id, Color="#ff2b5580", PersistableShadingType=PersistableShadingType.DOT_A))
Thus, a .stix file generated by .serialize() has no soil visualizations configured.
When you open this file in the D-Stability User Interface, the user interface will notice no visualizations have been set and it will generate some based on the volumetric weight.
Your confusing situation is caused by the D-Stability Console, which does not offer this automatic generation of visualizations and will just set them to the default presentation, calculate the file and saves it to the disk again with defaults set. I would agree this is confusing and I will notify the D-Stability team of this, we may be able to improve this in the future.
For now, GEOLib is working as expected, but a fix in the application itself would be nice to have in the future. I recommend you manually set colors as needed using the example above as a workaround in the meantime!

That clears it up!
Thank you kindly for the adequate and timely response. Consider this issue 'resolved' but we're glad to hear this feedback is being shared with the D-Stability team.


chore: check PR description health

Description

Automated testing for the checked tasks in PR description.
User-facing documentation
(must be 2 items and both must be checked)

[x] CHANGELOG update is not needed
[x] Documentation is not needed

Testing

[x] inspected CI results

Automated testing
(must be at least 1 item and all items must be checked)

[x] contributed no automated tests

[x] manual testing after stackrox/test-gh-actions#175

How I validated my change

me@work $ scripts/local-env.sh check-pr-description "
start
- [x] CHANGELOG update
- [x] Documentation ignored
change me!
- [ ] added unit tests
- [x] modified existing tests
"
start
- [x] CHANGELOG update
- [x] Documentation ignored
change me!
- [ ] added unit tests
- [x] modified existing tests
"
::error::'change me!' found.
::debug::'CHANGELOG' task is checked.
::debug::'Documentation' task is checked.
::error::'inspected CI results' task is not checked.
::error::'added unit tests' task is not checked.
::debug::'modified existing tests' task is checked.
me@work $ echo $?
1

me@work $ scripts/local-env.sh check-pr-description "
start
- [x] CHANGELOG update
- [x] Documentation ignored
don't change me!
- [x] added unit tests
- [x] modified existing tests
- [x] inspected CI results
"
::debug::'CHANGELOG' task is checked.
::debug::'Documentation' task is checked.
::debug::'inspected CI results' task is checked.
::debug::'added unit tests' task is checked.
::debug::'modified existing tests' task is checked.
me@work $ echo $?
0

Notification in the PR Files changed view:

Current dependencies on/for this PR:

master

PR #11716 👈

@0x656b694d  This check seems to fail on my PR https://github.com/stackrox/stackrox/pull/11898 in a way I don't understand.
Run set -uo pipefail
gh: No commit found for the ref 11898/merge (HTTP 404)
bash: line 1: message:No commit found for the ref 11898/merge: No such file or directory

Any ideas?

FTR ROX-24344

Any ideas?

The script required for the workflow doesn't exist on your branch. Rebase should help.


Adding content to tailwind in a nuxt module

Hello,
There is a change that occurs between nuxt/ui 2.15.1 and 2.16.0.
In 2.15.1, I was able to specify paths in the  tailwindConfig.content.files doing the following in my module  :
export const configureTailwind = (tailwindConfig: Partial<Config>, srcResolver: Resolver) => {
  const runtimeDir = srcResolver.resolve("./runtime");

  tailwindConfig.content.files.push(srcResolver.resolve(runtimeDir, "components/**/*.{vue,mjs,ts}"));
  tailwindConfig.content.files.push(srcResolver.resolve(runtimeDir, "config/**/*.{vue,mjs,ts}"));

};

This function is called on the module.ts on the hook tailwindcss:config :
    nuxt.hook("tailwindcss:config",
      (tailwindConfig: Partial<Config>) => configureTailwind(tailwindConfig, srcResolver));

In the last version, I am having the tailwindConfig.content.files undefined sometimes when calling the pnpm run dev:prepare
I think I am not using the good way to do that.
My project is a mono repo with severals nuxt module that depends of nuxt/ui and can have dependencies between them.
Please, can you give me the clean way to provide the content files to tailwind css from nuxt modules ?
Thank you

Hi, thanks for opening an issue on this repository - it's a good question.
Content configuration could be a bit varied, so hooks just need minor if-conditions to extend this. See how the FormKit module does this. In your case, this is what we'll do:
export const configureTailwind = (tailwindConfig: Partial<Config>, srcResolver: Resolver) => {
  const runtimeDir = srcResolver.resolve("./runtime");

  // in case `content: undefined` which is highly unlikely, we provide default value
  tailwindConfig.content = tailwindConfig.content ?? { files: [] }

  if (Array.isArray(tailwindConfig.content)) {
     // content: string[]
     tailwindConfig.content.push(...)
  } else {
    tailwindConfig.content.files.push(srcResolver.resolve(runtimeDir, "components/**/*.{vue,mjs,ts}"));
    tailwindConfig.content.files.push(srcResolver.resolve(runtimeDir, "config/**/*.{vue,mjs,ts}"));
  }
};

It's likely that in your hook, tailwindConfig.content was a simple array of paths, so Array.prototype.files was undefined. I do think of extending this module to always pass content as an object as a future improvement, but devs should also ensure safer hooks to support different Tailwind configurations. 🙂

Hi Ineshbose,
Thank you, I will try to test it next week and come back here with a feedback.


Simpler variable prefixing in cstyle

gets rid of lang.generic_var_prefix if lang.generic_var_prefix else dtype.name
size_prefix and generic_var_prefix are conceptually close enough to share a function

this no longer makes sense because webgpu is removed from tinygrad core


Fixes python doc for tanh (Resolves #10376)

Can one of the admins verify this patch?

Jenkins, test this please.


feat: auto height overlay component feature

Description
This is the module responsible to show the overlay for the Auto Height with Limits, Auto Height type when selected from the property pane in the layout section.
This module has the following features:-

Allow users to set the min and max limit using draggable handles like our resize handles.
It will display a pink overlay to reflect the height limit when hovered over the respective min/max handles or the property pane min/max fields.
It uses the new callback handler added previously in the release to bind the events in the property pane fields.

Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Manual
[ ] Jest
[ ] Cypress

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=750f9b4


fix:var attribute dynamic modification exception

fix: https://github.com/openwebf/webf/issues/144

Anything test specs?


Wrong numpy version?

Cardea version: 0.1.2
Python version: 3.8
Operating System: Ubuntu 20.04 LTS

Description
Having just installed pip3 and cardea onto the system for the first time, the tutorial wasn't quite working for me:
python3 load.py
Traceback (most recent call last):
  File "load.py", line 1, in <module>
    from cardea import Cardea
  File "/home/vadi/.local/lib/python3.8/site-packages/cardea/__init__.py", line 11, in <module>
    from cardea.core import Cardea
  File "/home/vadi/.local/lib/python3.8/site-packages/cardea/core.py", line 20, in <module>
    from cardea.modeling import Modeler
  File "/home/vadi/.local/lib/python3.8/site-packages/cardea/modeling/__init__.py", line 3, in <module>
    from cardea.modeling.modeler import Modeler
  File "/home/vadi/.local/lib/python3.8/site-packages/cardea/modeling/modeler.py", line 6, in <module>
    import sklearn
  File "/home/vadi/.local/lib/python3.8/site-packages/sklearn/__init__.py", line 76, in <module>
    from .base import clone
  File "/home/vadi/.local/lib/python3.8/site-packages/sklearn/base.py", line 16, in <module>
    from .utils import _IS_32BIT
  File "/home/vadi/.local/lib/python3.8/site-packages/sklearn/utils/__init__.py", line 15, in <module>
    from .murmurhash import murmurhash3_32
  File "__init__.pxd", line 242, in init sklearn.utils.murmurhash
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

Some googling around showed that installing latest numpy should do it - cardea installed numpy 1.18.5. I installed the latest one, 1.20.2, and that made it work.

I see that the next step unfortunately doesn't work:
Exception has occurred: ContextualVersionConflict
(numpy 1.20.2 (/home/vadi/.local/lib/python3.8/site-packages), Requirement.parse('numpy<1.19.0,>=1.16.0'), {'tensorflow'})
  File "/media/vadi/SSDer/Programs/cardea/load.py", line 6, in <module>
    label_times = cardea.select_problem('MissedAppointment')

So a version upgrade is not the right solution.

Hi @vadi2 thank you for opening this issue!
Cardea runs on python 3.6 and 3.7 (we are still working on supporting 3.8). Can you try creating a separate environment with python 3.6 for cardea? If you are using Anaconda you can run the following
conda create -n cardea python=3.6 # or 3.7

Thanks for the reply! I've created the Anaconda environment successfully (still new to this), but how to I install cardea?  https://anaconda.org/search?q=cardea lists now results, and this doesn't work either:
conda search cardea --info
Loading channels: done
No match found for: cardea. Search: *cardea*

No problem!
you can directly use pip to download cardea, after you create the virtual environment, activate it using conda activate cardea from there use pip install cardea

Thanks! That got it going.


Error on MacOS Ventura

Hi
I am using MacBook Pro M1 Pro.
I have recorded a short audio file in wav and put it in the data/peter folder
I get the following errors when trying to train:
python -m vall_e.emb.qnt data/peter
Traceback (most recent call last):
  File "/python3/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/python3/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/vall-e/vall-e/vall_e/emb/qnt.py", line 6, in <module>
    import soundfile
ModuleNotFoundError: No module named 'soundfile'

What did I do wrong?

me too

You can just do pip install soundfile I guess

Use python3.10 and pip3.10
You are currently using a python version that is not supported by this code.


Windows support

Is there a timeline or ETA for Windows support?

@binary132 . Sorry for that I can't promise that when can I finish supporting Windows, but I'm working on it now. There are some features/shortcuts not supported in windows terminal.
Once I done, I will close this issue and let you know :)
Thanks for you attention!

@binary132 , Supporting windows is done, supports all the features which unix has. :)


fix: missing coin details in assetDetails page

closes #2863
closes #2862

Sometimes it could be broken, especially on multisig details coin info page:
https://github.com/superhero-com/superhero-wallet/assets/69896204/036ca3b4-554a-418e-a842-7fd35a1fff60

For me this issue is still reproducible. I noticed that this could be caused by multisig proposal Tx:
https://github.com/superhero-com/superhero-wallet/assets/69896204/c53b9c0e-94c4-4ee8-ae1b-6596ad0bfbd2
https://github.com/superhero-com/superhero-wallet/assets/69896204/88f1ce14-3977-41c4-bebc-7fcac9cf08a5

Could this be caused by mdw issue 400 and limit=30?
https://github.com/superhero-com/superhero-wallet/assets/69896204/8552d625-b4f2-4ae0-9a2c-a7436eb9882d
https://github.com/superhero-com/superhero-wallet/assets/69896204/3aea2bb2-719d-48fb-896d-b314629d0283

Could this be caused by mdw issue 400 and limit=30?
2024-03-<IP_ADDRESS>.mov
2024-03-<IP_ADDRESS>.mov

Today it's working for me as expected. I haven't received mdw 400 and limit=30 issues. LGTM


Lib broken since 5.2.0

I'm submitting a...

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

Current behavior

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment

Libs:
- react version: 18.2.0
- nextjs: 13.4.12

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: 18
- Platform:  MacOS

Others:

Same here after 5.1.2 -> 5.2.2
My error is
Layout Error: TypeError: import_calculate_size.default is not a function
measureText $:/plugins/linonetwo/flow-chart/components/ReaFlowLibrary.js:108645
    formatText $:/plugins/linonetwo/flow-chart/components/ReaFlowLibrary.js:108684
    mapNode $:/plugins/linonetwo/flow-chart/components/ReaFlowLibrary.js:108746
    mapInput $:/plugins/linonetwo/flow-chart/components/ReaFlowLibrary.js:108812
    elkLayout $:/plugins/linonetwo/flow-chart/components/ReaFlowLibrary.js:108863
    _promise $:/plugins/linonetwo/flow-chart/components/ReaFlowLibrary.js:106701
    PCancelable $:/plugins/linonetwo/flow-chart/components/ReaFlowLibrary.js:106675
    elkLayout $:/plugins/linonetwo/flow-chart/components/ReaFlowLibrary.js:108859
    useLayout $:/plugins/linonetwo/flow-chart/components/ReaFlowLibrary.js:108907

@AykutSarac - Hmmm I'm using it in several projects and not having issues. I think its related to NextJS and its support for ES Modules.

I'm thinking it's about build export change. Related to this commit https://github.com/reaviz/reaflow/commit/600c2a673363d8b1bc59cd842a4f847d6e46f368
5.2.0:
- index.js
- index.umd.cjs

5.1.2:
- index.cjs.js
- index.esm.js
- index.js

Ya, its the build. I changed it to ES Module type but seems Next doesn't like that. FWIW I'm using this in several other projects w/ no issues but we are using Vite.


Supporters/Subscribers page showing no supporters/subscriptions briefly before showing the list

Yeah I've noticed this too, thanks for making the issue. Gotta fix.

Fixed by #57


Handle websocket errors

This prevents unhandled exception on websocket errors.
It doesn't propagate the error, since the subscriber is internal,
and it doesn't seem to do anything with it (like notifying the
client via connectionStatus).
Bug: #170

ping

ping?

@compulim

It's now released at 0.11.5.
https://github.com/microsoft/BotFramework-DirectLineJS/releases/tag/v0.11.5


device: remove deprecated macros/functions

Remove deprecated SYS_DEVICE_DEFINE
Remove deprecated (z_)device_usable_check

Can you confirm it has been 2 release since these were deprecated?

Nope, will re-open after next release. Thanks for the reminder.


Sortable don't work in combination of Firefox and contentEditable container.

Sortable don't work in combination of Firefox and contentEditable container. Chrome users don't have any problems and this works as expected.

https://github.com/RubaXa/Sortable/blob/master/ISSUE_TEMPLATE.md

I have same problem. Here is fiddle
Try to place cursor somewhere in text, input some symbols and place cursor by clicking mouse on other place of this contenteditable block.
Cursor will freeze or diapear...

Here's an idea for a solution:
var editable;
document.onmousedown = function () {
  editable && (editable.contentEditable = false);
};

document.onclick = function (evt) {
  if (evt.target.tagName === 'LI') {
    editable = evt.target
    editable.contentEditable = true;
    editable.focus();
  }
};

http://jsbin.com/qigecuzuya/edit?html,js,output

I've add a wrong link here is problem when we use li as contenteditable, all works, but when we add in LI some contenteditable div, then we have a problem.
Maybe problem because sortable make some manipulation with parents DOM, and firefox fail with contenteditable.

@RubaXa  I've found a solution:
If don't preventDefault() in this block of code and use this two options:
filter: '.ignore-elements', 	ignore: '[contenteditable="true"]'

Then all work fine. I hope you add checks for contenteditable in this block.

If I were in your place, I use handle

I agree using handle is a far better solution. Works like a charm thanks when dealing with contenteditable.
var sortable = new Sortable(el, {
  handle: ".my-handle",  // Drag handle selector within list items
});

@LeCoupa : handle option works but dragging element doesnot.


TalkSet data

Thank you for doing such an excellent job. Currently I want to train a model on TalkSet, and have already processed voxceleb2 and lrs3 in accordance with the proposed generate_talkset code, but i lack the dataloader code for this part. Could you please share it?

Please check here: https://github.com/TaoRuijie/TalkNet_ASD/issues/4#issuecomment-889714345

Thank you for clear explanation!


Fix feline integration

Fixes the feline integration in line with the recent refactoring.

@Pocco81 should I rebase main onto dev? seems its 8 commits behind.

@Pocco81 could this be merged? I'm needing to use a fork to work around it 😅

Looks like its fixed on main! Closing this, thanks! 😄


Feat/use standard locales

A picture tells a thousand words
In a previous version, we did not use international code for local. This PR solve this problem.
And I did some cleanup on the CSS (remove useless CSS class)
Before this PR
After this PR

Done @sandydelhoute


I need help! Could not load dynamic library 'libnvinfer.so.6' and  'libnvinfer_plugin.so.6'

Thanks for sharing the training code! the result of DiscoFace GAN is awesome!
However, when I test the project following the readme, An error occured:
2021-02-03 12:23:02.634079: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/opt/conda/lib
2021-02-03 12:23:02.634189: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/opt/conda/lib
2021-02-03 12:23:02.634202: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Traceback (most recent call last):
File "generate_images.py", line 10, in
from training import misc
File "/ml_workspace/caishuxiao/DiscoFaceGAN-master/training/misc.py", line 20, in
from training import dataset
File "/ml_workspace/caishuxiao/DiscoFaceGAN-master/training/dataset.py", line 15, in
import dnnlib.tflib as tflib
File "/ml_workspace/caishuxiao/DiscoFaceGAN-master/dnnlib/tflib/init.py", line 8, in
from . import autosummary
File "/ml_workspace/caishuxiao/DiscoFaceGAN-master/dnnlib/tflib/autosummary.py", line 31, in
from . import tfutil
File "/ml_workspace/caishuxiao/DiscoFaceGAN-master/dnnlib/tflib/tfutil.py", line 34, in
def shape_to_list(shape: Iterable[tf.Dimension]) -> List[Union[int, None]]:
AttributeError: module 'tensorflow' has no attribute 'Dimension'
So which TensorRT version should I install? Or How to fix "'tensorflow' has no attribute 'Dimension'"

a bug caused by conda environment cache
conda deactivate
conda activate xxxx


Fixed width and hidden attribute related methods in XLColumn.cpp

These methods didn't use the pointer member m_columnNode but created a new column with the ctor.

@jorbakk, I reviewed your pull request earlier this year & found that it was based on a misunderstanding of what the "columnNode()" function does - it does not create a new column as a constructor, it is a method of the XLColumn class that just returns the m_columnNode private member variable by reference.
I am closing this request - you can check the function XLColumn::columnNode() yourself. Thank you anyways!


ENH: Add quoted name

Closes #54 and https://github.com/zbrookle/dataframe_sql/issues/45

Codecov Report

Merging #55 (0abdb39) into master (419c3e3) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
+ Coverage   89.78%   89.82%   +0.04%
==========================================
  Files          10       10
  Lines        1214     1219       +5
  Branches      226      227       +1
==========================================
+ Hits         1090     1095       +5
  Misses         95       95
  Partials       29       29

Impacted Files
Coverage Δ

sql_to_ibis/parsing/transformers.py
87.89% <100.00%> (+0.17%)
:arrow_up:

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 419c3e3...0abdb39. Read the comment docs.


[Feature]: Generate DAG from DataCollection API

Is there an existing issue for this?

[X] I have searched the existing issues.

Is your feature request related to a problem? Please describe.
User should be able to assemble a towhee pipeline with data collection API.
Describe the solution you'd like.
No response
Describe an alternate solution.
No response
Anything else? (Additional Context)
No response

@fzliu


deflist is not on bower

All the other plugins I can install via bower, but not deflist:
bower install markdown-it-deflist
bower ENOTFOUND Package markdown-it-deflist not found

Registered. Thanks for info.


.NET version bump example is wrong?

The first table's last row seems wrong, doesn't it?
The version of the .NET SDK on that last line should be 5.0.200, isn't it?

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

ID: 4723eb4d-c4b9-f44c-7753-caa4a3c8cfdd
Version Independent ID: 17270776-9bf5-fe60-f9a7-43311e5b4654
Content: How the .NET Runtime and SDK are versioned - .NET
Content Source: docs/core/versions/index.md
Product: dotnet-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@lmorvan Thanks and yes, I agree with you. Do you want to submit a PR?


Automatically import types for type references added by Sorald

Right now, we set auto-import to true, and then in the typical case also define a custom pretty-printer creator:
https://github.com/SpoonLabs/sorald/blob/a39cef1b8c63f2e7bf6c2395492aaa481f6452cf/src/main/java/sorald/SoraldAbstractRepair.java#L48-L62
The custom pretty-printer creator overrides auto-import, as the auto-import processors are only added if a custom pretty-printer creator is not defined in the environment. Therefore, Sorald always prints fully qualified names for type references added in the transformation unless the package reference is explicitly set to be implicit (which is done e.g. here: https://github.com/SpoonLabs/sorald/blob/a39cef1b8c63f2e7bf6c2395492aaa481f6452cf/src/main/java/sorald/processor/XxeProcessingProcessor.java#L197-L201
Of course, that's really annoying to remember to do in all transformations, and so we should try to automate this task for all processors.
However, we don't actually want to use the full auto-import functionality, as that may automatically import types for references that were defined with qualified names before running Sorald. We probably want to do something very similar to what's done in Spoon with auto-imports, but create our own variation of the ForceImportProcessor that only operates on elements introduced by ourselves.

Per our conversation, we'll make a less aggressive processor.


[Bug] "Show your bookmarks"-popup has black arrows in Firefox 60

The popup window for the "Show your bookmarks" button has black arrows for folders instead of grayish/white like 59 had.

System:
Windows 7 64bit Pro N
Firefox Portable 60

It didn't change on macOS...is this something you could look into by chance?

The panelUI.css has the following rule
menu.subviewbutton > .menu-right {
	fill: currentcolor;
}

and because userChrome.css has
.menu-right {
	filter: invert(95%) !important;
}

the arrows turn black. I recommend to add the following code. So far, I had no problems with it.
menu.subviewbutton > .menu-right {
	fill: black !important
}

Thanks!


Webresource Dependency support merged with Spkl_dev branch

hi @scottdurow  ..I merged my changes with spkl_dev branch as you requested. I hope, it still can be built.

This looks really good - just tried to merge the PR onto the spkl_dev branch but there are so many differences to the head that it doesn't compile - could you merge your changes into the head of spkl_dev please?

I tried doing a re-base from your pr but there were so many conflicting commits that it was taking ages - it might be better to pull the head of spkl_dev and manually reapply your changes.

@lukasbelak Really keen on getting this in - any chance you could look at fixing the conflicts?

@scottdurow  Hi Scott, I am sorry, I was busy when you wrote me for the first time regarding this and then I forgot about this, I will try to resolve it this week, will let you know.

How are you getting on?


Unicode printing and AsRef consistency

Implementation as per #161 and #162
As far as I could tell everything works fine. The example mentioned in #161 (printing b"90\xf8") also works correctly, provided we use the Unicode equivalent of the special character: "90\u{f8}". It also seems like there is no need to implement separate printing for single characters: TCOD_console_put_char_xx and TCOD_console_set_char already take i32 as their arguments, which char can be easily casted to (as it is done now).

Thanks! Spotted a typo that needs fixing and an assert we may want to add.
Fell free to merge this once you fix the print_rect_utf stuff (or I'll do it when I get to it).

Sweet, thanks!