Library doesn't export document

index.js has no module.exports rendering this module is useless in node.js

global makes document useable everywere : https://nodejs.org/api/globals.html#globals_global
You can then use nodejs as if there were only one document for the all application, depending on your needs it might not be what you want.
It is enough for instance if you only create document fragments like var myfragment = document.createDocumentFragment() and play with them
If you want to instantiate the document yourself, you can do it like this:
var Document = require("html-document/lib/Document").Document;
var document = new Document();

Hope I'm clear enough, don't hesitate if have questions

Did you resolve your issue ?

While this method "works" it does not follow standard npm/node.js module signature. To be used in node.js it should use the module.exports assignment rather than polluting global namespace.
If a user wishes to make the document global, then the module should still use module.exports and the user can simply do global.document = require('html-document');
This way usage of this module is consistent with all other npm modules.

Closed with 104bccf2aa6c26075065522b5e2406f376e871a1


Add stride parameter into backtest

🚀 Feature Request
It will be a good feature to add more space between folds during backtest.
Proposal
Add parameter stride into BasePipeline.backtest.
Possible values:

None (default)

space between folds is equal to horizon

value: int

space between folds is equal to value

How to make this change:

Update _generate_masks_from_n_folds
Update validation of number of points

Validation:

Check that stride > 0.
Check that we shouldn't set stride when n_folds are FoldMask values.

Test cases

Make sure current tests pass
Add tests on parameters validation
Update tests for _generate_masks_from_n_folds
Update tests for validation of number of points
Add tests on fold_info_df returned from backtest to check time ranges
Add tests that returned forecasts are on expected timestamps
Check that stride doesn't break anything when n_folds are FoldMask values

We can check it during the check of forecast timestamps

Additional context
No response

Closed by #1165.


Enable numlock on start up support

Hi, thank you for the amazing compositor! I use it as a minimal compositor to run regreet for a small login manager. However, I'd appreciate, if it would be possible to enable numlock automatically on start up as I make frequent use of numeric keyboard if it's available. Yes, I can enable it myself, however I often forget about it and then have to try login twice.
Thanks a lot!

@otaj
Do you know which backend you are using when running Cage (DRM, Wayland, X)?
Is it possible to manage numlock activation in the script (or systemd unit or idk) starting Cage? Activating numlock on bootup from ArchWiki.

Ideally we'd provide a way (CLI flag or protocol or config file or something else) to configure input devices and this would be part of it...

@emersion, is it related to issue #138 (and possibly also issue #252) ?

Yup.

@joggee-fr: I'd expect either DRM or Wayland. Definitely not X. However, configuring input methods is a responsibility of a compositor under Wayland - therefore, to answer your second question, even if I set it up at startup, compositor (in this case Cage) "overrides" it.
For some reason, wayland does not have any protocol for managing input devices, such as setting keyboard configuration. @emersion, therefore that means that protocol is a no-go, since AFAIK there isn't any. Sadly, this interesting project doesn't have support for numlock as well. So the only remaining option is to either use env variable, CLI flag or config file.

Umm, the closing was unintentional, reopening again

For some reason, wayland does not have any protocol for managing input devices, such as setting keyboard configuration.

It's not a no-go, it's just a bit of work. Wayland did not have a protocol to configure output devices until we added one.

For some reason, wayland does not have any protocol for managing input devices, such as setting keyboard configuration.

It's not a no-go, it's just a bit of work. Wayland did not have a protocol to configure output devices until we added one.

That's a fair point and to be honest, it might have been the best possible option in the long run, since then the input configuration would be compositor-independent. On the other hand, I have 0 experience with proposing and implementing wayland protocols

I do not know if it is relevant to this issue (I am not familiar with Wayland but I am slowly diving into it, therefore I do not know how things work in Wayland) but there is numlockw. However, I do not know how it should be utilized with Cage.


Unable to import CUDA unoptimized kernels

I have download the whole files AdderNetCuda, and then I put it on cloud platform.
cd unoptimized
python setup.py install
python test.py
Question is :

I want to know the solution to the problem "Unable to import CUDA unoptimized kernels"

The environment is :
NVIDIA GeForce RTX 3080, 1
The version of torch and torchvision are :
torch                          1.10.0+cu111
torchvision                    0.11.0+cu111
However, I cannot get the results of method using cuda. The program gives me

Unable to import CUDA unoptimized kernels
x:=================
tensor([[[[0.1350, 0.9071, 0.3186],
[0.4736, 0.1879, 0.0715],
[0.7890, 0.5512, 0.1568]]]], device='cuda:0')
w:=================
tensor([[[[0.9958]]]], device='cuda:0')
grad_y:=================
tensor([[[[0.9757, 0.5837],
[0.2281, 0.6243]]]], device='cuda:0')
Traceback (most recent call last):
File "test.py", line 310, in
conv_input_test()
File "test.py", line 287, in conv_input_test
grad_x = conv_input(grad_y, x, w, [stride,], [padding,])
File "test.py", line 86, in conv_input
unoptimized_cuda.UNOPTIMIZED_CONV_INPUT(grad_y, x, w, grad_x, strides, paddings)
NameError: name 'unoptimized_cuda' is not defined

The log of install unoptimized is :

......
creating build/lib.linux-x86_64-cpython-38
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-38/unoptimized.o build/temp.linux-x86_64-cpython-38/unoptimized_cuda.o -L/usr/local/lib/python3.8/dist-packages/torch/lib -L/usr/local/cuda/lib64 -L/usr/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/unoptimized_cuda.cpython-38-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-cpython-38/unoptimized_cuda.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
creating stub loader for unoptimized_cuda.cpython-38-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/unoptimized_cuda.py to unoptimized_cuda.cpython-38.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying unoptimized_cuda.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying unoptimized_cuda.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying unoptimized_cuda.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying unoptimized_cuda.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
pycache.unoptimized_cuda.cpython-38: module references file
creating dist
creating 'dist/unoptimized_cuda-0.0.0-py3.8-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing unoptimized_cuda-0.0.0-py3.8-linux-x86_64.egg
creating /usr/lib/python3.8/site-packages/unoptimized_cuda-0.0.0-py3.8-linux-x86_64.egg
Extracting unoptimized_cuda-0.0.0-py3.8-linux-x86_64.egg to /usr/lib/python3.8/site-packages
Adding unoptimized-cuda 0.0.0 to easy-install.pth file

Installed /usr/lib/python3.8/site-packages/unoptimized_cuda-0.0.0-py3.8-linux-x86_64.egg
Processing dependencies for unoptimized-cuda==0.0.0
Finished processing dependencies for unoptimized-cuda==0.0.0

Okay, I know how to solve the problem. I finally open the /lib/python3.8/site-package where both unoptimized-cuda.py and related .so file are here, and I adopt the crude method, that is put the whole project in this file. Then I run python test.py and the codes give me correct results.


Misalignment Between Real Robot Data State and Point Cloud

Hi, thank you for open-sourcing your code.
I encountered some issues while reviewing the dataset you uploaded.
From the image I attached,

the red points represent the state data read from zarr_data['data/state'].
while the gray points are the scene point cloud read from zarr_data['data/point_cloud].

It is evident that if the state and the point cloud are expressed in the same frame, the red points should align with the corresponding location (end-effector) in the point cloud. However, in the image I provided, the red points are far from the end-effector's position in the point cloud. The point cloud seems to be expressed in a different frame.
So My question is: during the training of DP3, are the point cloud and state expressed in the same frame? Based on the image I attached, it seems they are not. if this is intentional, could you please clarify the reason behind expressing them in different frames?

Thank you in advance for your time and assistance!

Hi, thank you for your interest. I think they can be in the same frame or in the different frames. In this experiment, we do not align the state to the point cloud frame and it is ok. But I think you could also try to align them to see whether it is helpful (my guess is it would help somehow)


move test->tests, remove model tests, add checkout test

Todo: add existing php tests.

@tristansokol could you rebase this please?


Exon.start_codon_offsets only returns first nucleotide offset

Result should be 1-3 offsets (depending on whether the exon contains the full start codon).
Problem seems to be in use of _exon_feature_offsets, which should collect all offsets in the range between start and end but instead just returns the lowest offset of the two.

Moved anything related to start/stop codons off Exon but the transcript version of this logic now works:
In [16]: t.start_codon_spliced_offsets
Out[16]: [297, 298, 299]


Conditionalize deployment of WebEngine

@michael-tims - please review the update for the sample

Looks good.


In-project file storage for extensions

I am trying to write an extension involving data management, and make it as similar as possible to the built-in variable and list sections. I am mainly making it for TurboWarp, but i want to support PenguinMod too if possible. However, in order to do so, I have to use buttons, prompt(), and be able to STORE DATA IN THE PROJECT ARCHIVE. This has been implemented in TurboWarp via
vm.runtime.extensionStorage[extensionId]

but it doesn't seem to exist in PenguinMod...
OTHER THAN THE FACT THAT if you open the project.json file out of a project archive of a project that uses the jgExtendedAudio extension, it says something like
"extensionData": {
    "jgExtendedAudio": [
      {
        "id": "audio",
        "sources": {},
        "globalVolume": 1,
        "globalSpeed": 1,
        "globalPitch": 0,
        "globalPan": 0
      },
      {
        "id": "audio group 2",
        "sources": {},
        "globalVolume": 1,
        "globalSpeed": 1,
        "globalPitch": 0,
        "globalPan": 0
      }
    ]
  }

which means that there probably is some way. So then I go to the source of the jgExtendedAudio extension in the extensions directory and there is NOTHING I can find that hints at saving data.
So if it is implemented please tell me how to use it, and otherwise, please implement it...
Thanks!

    serialize() {
      return { extensionID: { data } }
    }
    deserialize(data) {
      if (data.extensionID !== undefined) {
      // export data
        }
      }
    }

Does this also work in TurboWarp?

no

how do I make it support both then

use both, check if its penguinmod or not

using
(function(Scratch) {
  if (Scratch.extensions.isPenguinmod) {
    // create class and register pm version...
  } else {
    // create class and register tw version...
  }
})();

?

Does this also work in TurboWarp?

no

then how do i make it support both

implement both
no need to check what the extension is running on since the two systems are vastly different

Does this also work in TurboWarp?

no

then how do i make it support both

implement both
no need to check what the extension is running on since the two systems are vastly different

Actually you do need to check, mainly for importing data

Does this also work in TurboWarp?

no

then how do i make it support both

implement both
no need to check what the extension is running on since the two systems are vastly different

Actually you do need to check, mainly for importing data

thats literally blatantly false?

just initialize the turbowarp variable if it doesnt exist and then store into that when pm tells you to losd in new save data

Nuh uh

vm.runtime.extensionStorage ??= {};
...
serialize() { return vm.runtime.extensionStorage[extensionID] }
deserislize(dat) { vm.runtime.extensionStorage[extensionID] = dat }


Not available in user install (?)

Arch Linux, PATH includes $HOME/.gem/ruby/3.0.0/bin. After gem install gem-release, gem bump doesn't work, nor any of the other commands. System Ruby 3.0.2, no rvm, no rbenv, no nothing. Adding to my gem's Gemfile and running bundle install, then trying again (inside the gem's dev dir) doesn't change anything, either. What am I doing wrong?

Have you tried bundle exec gem [commend]?
In my project folder for gem-release
I need bundle exec to get the right version to be run
But I have no idea on debugging your globally installed gem-release issue


A few quality of life improvements

name in the package config is now optional
return an error if package path is empty
schema and queries can point to individual files
the package path is automatically created if it does not exist

Fixes #67

cc @inconshreveable


Fixed REMOTE_CONFIG

Variable interpolation does not seem to work (Drone 0.4). Using the old sample code, Drone just sent ...?client_id=%24%7BCLIENT%7D&... to GitHub, which resulted in a 404 error.
Further, quotes in variables lead to problems - e.g. with plug-in whitelisting. So, I've removed them.
I think, many people copy the sample dronerc and will run into this. So it would be good to start with a working config file.

I assume this isn't of any interest, so I'm closing my PR. KTHXBYE :smile_cat:


[Not for merge] Replace torchaudio rnnt_loss to k2 pruned rnnt loss

Make a pull request to show how to use k2 pruned rnnt loss (https://github.com/k2-fsa/k2/pull/891) to train a model. So that we can discuss and update experiment results here.

see #170


Remove some JAX dumping flags in preparation for a refactoring of these flags in XLA.

@hawkinsp would you be willing to review this change?

Thanks for the PR! (We can readd these if we find we want them after your refactoring is complete.)


Reqiest.pm报错

Mojo: :Reactor::Poll: I/O watcher failed: Premature connection close atiusr /local/ share/perl5/Mojo/Webqq/Request .pm line 113.
Mojo: :EventEmitter: :emit( 'Mojo: :Reactor :: Poll=HASH( 0x1e70498)', 'error', 'I/O watcher failed: Premature connect ion close at /usr/local/ ...') called at /usr/local/ share/ perl5/Mojo/Reactor/Poll.pm line 143

Mojo::Reactor::Poll: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/24 10:07:44] [error] reactor error: Timer failed: Connect timeout at/usr/local/share/perl5/Mojo/We
bqq/Request.pm line 113.
[18/11/24 10:07:44] [error]  at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15.
[18/11/24 10:07:44] [error]     Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x327c498)', 'error', '
Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/...') called at /usr/local/share/perl5/Mojo/R
eactor/Poll.pm line 143
[18/11/24 10:07:44] [error]     Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x327c498)', 'Timer',
'CODE(0x61ae9b0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 81
[18/11/24 10:07:44] [error]     Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x327c498)') calle
d at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99
[18/11/24 10:07:44] [error]     Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x327c498)') called a
t /usr/local/share/perl5/Mojo/IOLoop.pm line 136
[18/11/24 10:07:44] [error]     Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x327c120)') called at /usr/local/s
hare/perl5/Mojo/Webqq/Client.pm line 29
[18/11/24 10:07:44] [error]     Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2124a68)') called at QQ.pl line 14 Mojo::Reactor::Poll: I/O watcher failed: Premature connection close at/usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/24 10:07:44] [error] reactor error: I/O watcher failed: Premature connection close at /usr/local/sh
are/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/24 10:07:44] [error]  at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15.
[18/11/24 10:07:44] [error]     Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x327c498)', 'error', '
I/O watcher failed: Premature connection close at /usr/local/...') called at /usr/local/share/perl5/Mojo/R
eactor/Poll.pm line 143
[18/11/24 10:07:44] [error]     Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x327c498)', 'I/O watc
her', 'CODE(0x4c50078)', 0) called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 58
[18/11/24 10:07:44] [error]     Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x327c498)') calle
d at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99
[18/11/24 10:07:44] [error]     Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x327c498)') called a
t /usr/local/share/perl5/Mojo/IOLoop.pm line 136
[18/11/24 10:07:44] [error]     Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x327c120)') called at /usr/local/s
hare/perl5/Mojo/Webqq/Client.pm line 29
[18/11/24 10:07:44] [error]     Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2124a68)') called at QQ.pl line 14 Mojo::Reactor::Poll: I/O watcher failed: Premature connection close at/usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/24 10:07:44] [error] reactor error: I/O watcher failed: Premature connection close at /usr/local/sh
are/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/24 10:07:44] [error]  at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15.
[18/11/24 10:07:44] [error]     Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x327c498)', 'error', '
I/O watcher failed: Premature connection close at /usr/local/...') called at /usr/local/share/perl5/Mojo/R
eactor/Poll.pm line 143
[18/11/24 10:07:44] [error]     Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x327c498)', 'I/O watc
her', 'CODE(0x69fd8d0)', 0) called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 58
[18/11/24 10:07:44] [error]     Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x327c498)') calle
d at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99
[18/11/24 10:07:44] [error]     Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x327c498)') called a
t /usr/local/share/perl5/Mojo/IOLoop.pm line 136
[18/11/24 10:07:44] [error]     Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x327c120)') called at /usr/local/s
hare/perl5/Mojo/Webqq/Client.pm line 29
[18/11/24 10:07:44] [error]     Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2124a68)') called at QQ.pl line 14

...大佬抱歉哈。。没找到能发图的按钮。。然后从控制端直接复制的日志信息，格式有点乱。。。

time out 看起来是网络问题

原先腾讯云一直可以，然后前几天会自动掉线，现在换成阿里云就是没过一会就掉线，重新登了然后过一会又掉线，次次掉线

更换了登录ip 腾讯的安全系统风险控制造成的吧

……好像是的，微信的qq安全中心就提醒我了好几次qq异地登录，那咋搞？

[18/11/25 20:31:46] [error]     Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x2f3c1c0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99
[18/11/25 20:31:46] [error]     Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x2f3c1c0)') called at /usr/local/share/perl5/Mojo/IOLoop.pm line 136
[18/11/25 20:31:46] [error]     Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x2f3be30)') called at /usr/local/share/perl5/Mojo/Webqq/Client.pm line 29
[18/11/25 20:31:46] [error]     Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x1de3a68)') called at QQ.pl line 14
Mojo::Reactor::Poll: I/O watcher failed: Premature connection close at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/25 20:31:46] [error] reactor error: I/O watcher failed: Premature connection close at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/25 20:31:46] [error]  at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15.
[18/11/25 20:31:46] [error]     Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x2f3c1c0)', 'error', 'I/O watcher failed: Premature connection close at /usr/local/...') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 143
[18/11/25 20:31:46] [error]     Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x2f3c1c0)', 'I/O watcher', 'CODE(0x9a88a70)', 0) called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 58
[18/11/25 20:31:46] [error]     Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x2f3c1c0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99
[18/11/25 20:31:46] [error]     Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x2f3c1c0)') called at /usr/local/share/perl5/Mojo/IOLoop.pm line 136
[18/11/25 20:31:46] [error]     Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x2f3be30)') called at /usr/local/share/perl5/Mojo/Webqq/Client.pm line 29
[18/11/25 20:31:46] [error]     Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x1de3a68)') called at QQ.pl line 14
依然报错。。。。

今天试了一下腾讯云，也报错了。。并且QQ安全中心也没提示异地登录
Mojo::Reactor::Poll: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/26 17:32:36] [error] reactor error: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/26 17:32:36] [error]  at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15.
[18/11/26 17:32:36] [error]     Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'error', 'Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/...') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 143
[18/11/26 17:32:36] [error]     Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'Timer', 'CODE(0x97075a0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 81
[18/11/26 17:32:36] [error]     Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99
[18/11/26 17:32:36] [error]     Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/IOLoop.pm line 134
[18/11/26 17:32:36] [error]     Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x34f6328)') called at /usr/local/share/perl5/Mojo/Webqq/Client.pm line 29
[18/11/26 17:32:36] [error]     Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2123a68)') called at QQ.pl line 14
Mojo::Reactor::Poll: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/26 17:32:36] [error] reactor error: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/26 17:32:36] [error]  at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15.
[18/11/26 17:32:36] [error]     Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'error', 'Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/...') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 143
[18/11/26 17:32:36] [error]     Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'Timer', 'CODE(0x83a20c8)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 81
[18/11/26 17:32:36] [error]     Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99
[18/11/26 17:32:36] [error]     Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/IOLoop.pm line 134
[18/11/26 17:32:36] [error]     Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x34f6328)') called at /usr/local/share/perl5/Mojo/Webqq/Client.pm line 29
[18/11/26 17:32:36] [error]     Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2123a68)') called at QQ.pl line 14
Mojo::Reactor::Poll: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/26 17:32:36] [error] reactor error: Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/Webqq/Request.pm line 113.
[18/11/26 17:32:36] [error]  at /usr/local/share/perl5/Mojo/EventEmitter.pm line 15.
[18/11/26 17:32:36] [error]     Mojo::EventEmitter::emit('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'error', 'Timer failed: Connect timeout at /usr/local/share/perl5/Mojo/...') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 143
[18/11/26 17:32:36] [error]     Mojo::Reactor::Poll::_try('Mojo::Reactor::Poll=HASH(0x34f66a0)', 'Timer', 'CODE(0x8c30ef0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 81
[18/11/26 17:32:36] [error]     Mojo::Reactor::Poll::one_tick('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/Reactor/Poll.pm line 99
[18/11/26 17:32:36] [error]     Mojo::Reactor::Poll::start('Mojo::Reactor::Poll=HASH(0x34f66a0)') called at /usr/local/share/perl5/Mojo/IOLoop.pm line 134
[18/11/26 17:32:36] [error]     Mojo::IOLoop::start('Mojo::IOLoop=HASH(0x34f6328)') called at /usr/local/share/perl5/Mojo/Webqq/Client.pm line 29
[18/11/26 17:32:36] [error]     Mojo::Webqq::Client::run('Mojo::Webqq=HASH(0x2123a68)') called at QQ.pl line 14

这个问题我也遇到了，要怎么解决呢？


When I start it up.

Error occurred when executing LayerUtility: QWenImage2Prompt:
Incorrect path_or_model_id: 'D:\ComfyUI_windows\ComfyUI\models\LLavacheckpoints\files_for_uform_gen2_qwen'. Please provide either the path to a local folder or the repo_id of a model on the Hub.
File "D:\ComfyUI_windows\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\Qwen_image2prompt.py", line 28, in uform_gen2_qwen_chat
chat_model = UformGen2QwenChat()
^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 2008, in init
self.model = AutoModel.from_pretrained(self.model_path, trust_remote_code=True).to(self.device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows\python_embeded\Lib\site-packages\transformers\models\auto\auto_factory.py", line 485, in from_pretrained
resolved_config_file = cached_file(
^^^^^^^^^^^^
File "D:\ComfyUI_windows\python_embeded\Lib\site-packages\transformers\utils\hub.py", line 466, in cached_file
raise EnvironmentError(

Confirm that the model file has been downloaded

Confirm that the model file has been downloaded

what the hell....why put a screenshot instead of the link of the post

Confirm that the model file has been downloaded

what the hell....why put a screenshot instead of the link of the post

The screenshot here is from readme. If you cannot find the source, it means you have not read it carefully

it seems the content of the screenshot has been removed, if there is any link that I can refer to?

it seems the content of the screenshot has been removed, if there is any link that I can refer to?

it has been removed to: https://github.com/chflame163/ComfyUI_LayerStyle_Advance?tab=readme-ov-file


Keychain plugin catalog doesn't include iCloud Keychain

Drilling down into Keychain Access shows only local keychains (login, system).
I imagine iCloud Keychain's data is stored differently and therefore requires extra work to get at, but support for it would be a nice feature, especially as Safari defaults to only saving new passwords on iCloud if it's enabled.
Plugin version 1.1.3, OS X 10.9.5.

It seems this may now be possible, adding the key/value pair: kSecAttrSynchronizable: kSecAttrSynchronizableAny to the query may well do the trick.

Hi, is there any progress on this? It would definitely be very nice to have. (But please feel free to disregard this nagging message.)


Add support for envoy?

Do you have any plan for the envoy-log parser?

If you can provide samples then we can work on supporting it. If its the same as https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#default-format-string then we can use that


Enable PDPD NN Ops

Details:

Enable NN Ops

batch_norm
conv2d
conv2d_transpose
dropout
pool2d
rnn/lstm

@nosovmik I have rebased our work, please have a review, thanks a lot


add japanese books

Could you add some Japanese books?

I'm very happy if you fix the following two.

in rst the number of characters below a title should have exact the same number as the characters, so
below Japanese you nee 8 '=' characters (Sphinx build will fail on this).
below the Booktitle there has to be a line of  stars (*) too (but I can fix that by viewing at it later)

As you have pointed out, first one is 'General GIS' book. Please skip first one.

going into google translation the last two book look really like QGIS books, but are you sure the first one is too ( there is even an arcgis chapter? ;-) )? We like to have 'QGIS books here' not so much 'General GIS' books, so maybe skip the first one? Or let me know when I'm wrong.

@waigania13 Ok, thanks, done by hand, will close this PR.
Will show up with new build
If you want you can sent me one or two lines as 'introduction' text, just as with most of the other books, happy to add that too.


UTXO missing after failed batch channel open

I used the terminal app to try to batch open 3 channels. I completed all the steps and got to the last step and clicked batch open channels but nothing happened except a spinning wheel so after a couple minutes I x'd out of the window.
I then used the Lightning Node app on Umbrel to try to open a single channel. That also failed.
I then noticed that my balance was missing a massive UTXO that would have been used for the batch opening of 3 channels that I tried on Terminal. That UTXO is no longer showing up anywhere in my wallet. And I don't see any channels as pending either. It's like the UTXO has vanished without a trace - and there is no transaction anywhere to be found.
Part of me feels like this will just be resolved with time and the sats will show back up in my wallet - but I don't like that I can't see any trace of them right now.

Do you have CLI access for this node? If so, do you see anything returned for lncli pendingchannels or lncli listchaintxns?

OK I stopped and rebooted LND and now my balance is correct. I'm not sure what happened but we are all good now. I appreciate your responsiveness on Christmas Eve! Have a great one. Thanks.

Of course. Glad it all got sorted before the holiday!


Focus blur styles

This is related to this PR:  https://github.com/xh/hoist-react/pull/2221
This PR is just the CSS changes to make an input control's focused outline look the same when the input is focused programmatically or via tab.  The resulting look is the more subtle, more compact XH styling.
This PR fixes the issues noticed on Desktop:  Radio, Checkbox, Switch, and Slider Handle.
It does not yet fix focus issues on Desktop ButtonGroupInput, or Mobile Checkbox, Switch, or ButtonGroupInput.
Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[ ] Caught up with develop branch as of last change.
[ ] Added CHANGELOG entry, or determined not required.
[ ] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[ ] Updated doc comments / prop-types, or determined not required.
[ ] Reviewed and tested on Mobile, or determined not required.
[ ] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

I've looked into putting a focus outline or border on mobile switchInput and checkbox.   Not very easy to get there.  Not sure it is worth the effort.
The focus outline on the button group container is coming from the user-agent.  Not very pretty, but also not sure worth the effort of cleaning up.   Might be easier to clean up than the mobile switchInput and checkbox, though.

Think this landed in a great spot 👍


Allow for ContextDataFetcherDecorator extension

Currently the ContextDataFetcherDecorator is a private final class. While this decorator is essential for context propagation in imperative data fetchers as well as reactive ones, we should consider that Spring for GraphQL extensions might want to opt-out of this mechanism for some DataFetcher implementations.
We should consider making this type public, configurable on the AbstractGraphQlSourceBuilder and possible to extend with a template method that considers whether the visitor should be applied on a given DataFetcher. Maybe should surface the existing private boolean applyDecorator(DataFetcher<?> dataFetcher) method somehow and allow for extensions.

After a closer look, we can expect alternative builder implementations to extend AbstractGraphQlSourceBuilder in which case the decorator will be applied. I'm closing this for now but we may re-open if we decide it is necessary to make it more flexible.


nrf_radio_802154: Use chosen zephyr,entropy to get entropy device

See https://github.com/zephyrproject-rtos/hal_nordic/pull/40.

Update the hal_nordic module revision, so that the following commit
becomes effective:
nrf_radio_802154: Use chosen zephyr,entropy to get entropy device
Use the label property of the node pointed by "zephyr,entropy" chosen
entry as the name of the entropy device to bind to. The pointed node
does not necessarily need to be a "nordic,nrf-rng" compatible one, what
was incorrectly assumed when CONFIG_ENTROPY_NAME was replaced in commit
5505d0baa66a89848f643120fafad232876df695.

Updated west.yml with the proper SHA of the hal_nordic module.

I don't understand why it's necessary to use DT_CHOSEN_ZEPHYR_ENTROPY_LABEL rather than DT_CHOSEN(zephyr_entropy). The comments around it refer to doxygen issues, not technical merit. I'll approve because it's too late to rework, but this does not look like the right solution.

@anangl could you reply to this comment from @pabigot even if it's post-merge?

I don't understand why it's necessary to use DT_CHOSEN_ZEPHYR_ENTROPY_LABEL rather than DT_CHOSEN(zephyr_entropy). The comments around it refer to doxygen issues, not technical merit. I'll approve because it's too late to rework, but this does not look like the right solution.

@anangl could you reply to this comment from @pabigot even if it's post-merge?

@pabigot @ioannisg DT_CHOSEN(zephyr_entropy) is not enough as it only returns a node identifier. And what we need for device_get_binding is the label property of a given node. Hence it is necessary to use DT_LABEL(DT_CHOSEN(zephyr_entropy)), or the DT_CHOSEN_ZEPHYR_ENTROPY_LABEL macro which expands to exactly the same. In case there was no label property in the chosen node, you'd get a compilation error saying that DT_CHOSEN_ZEPHYR_ENTROPY_LABEL is undeclared, which would hopefully lead you to the definition of the macro and the accompanying comment. For DT_LABEL(DT_CHOSEN(zephyr_entropy)) you'd get an error with a trace of macro expansion and a message about an undeclared strange identifier ending with _label. I guess this could be considered an additional benefit of using that macro (apart from saving 5 characters).

I have understood that we are migrating to using DT_CHOSEN() in the Zephyr tree. At least, I was asked in some of my PRs to convert my DT calls to using the macro functions instead of the long macro name.
But, yes, we do need the DT_LABEL(DT_CHOSEN()) scheme, of course, that was implicit :)
Does not sound a big issue to me (@pabigot and @mbolivar-nordic to elaborate more)

It seems to me like this can be solved by:
#if DT_HAS_CHOSEN(zephyr_entropy)
    dev = device_get_binding(DT_LABEL(DT_CHOSEN(zephyr_entropy)));
#else
    dev = device_get_binding(DT_LABEL(DT_INST(0, nordic_nrf_rng)));
#endif
    __ASSERT_NO_MSG(dev != NULL);

without requiring that <zephyr/devicetree.h>  be loaded with special case defines for any chosen that might be used (for historical reasons some might still need to be there).  This also appears to have the benefit of preserving legacy behavior when there is no zephyr,entropy chosen in out-of-tree applications.

@pabigot @ioannisg DT_CHOSEN(zephyr_entropy) is not enough as it only returns a node identifier. And what we need for device_get_binding is the label property of a given node. Hence it is necessary to use DT_LABEL(DT_CHOSEN(zephyr_entropy)), or the DT_CHOSEN_ZEPHYR_ENTROPY_LABEL macro which expands to exactly the same.

+1

But, yes, we do need the DT_LABEL(DT_CHOSEN()) scheme, of course, that was implicit :)

As @anangl said, they are equivalent. I think the defines in devicetree/zephyr.h are a bit nicer to use not only because they are shorter, but also because they can be provided by dts_fixup.h files for out of tree users that aren't ready to move to the new API. But perhaps that's of limited use.

without requiring that <zephyr/devicetree.h> be loaded with special case defines for any chosen that might be used (for historical reasons some might still need to be there). This also appears to have the benefit of preserving legacy behavior when there is no zephyr,entropy chosen in out-of-tree applications.

It seems like a reasonable fallback, modulo comments about which way to spell the label.


SupabaseVectorStore not working on cloudflare

I'm working on a Svelte-related project，I need to use ConversationalRetrievalQAChain and use it on the server.
It can be used normally in local development, but when I deploy it to cloudflare, sending the request returns "Internal Error".
When I use other chains without vectorStore, it works fine.
Is it because SupabaseVectorStore needs to use memory?
Env
 Binaries:
	Node: 18.15.0
	Npm: 9.5.0
 npmPackages:
	"@sveltejs/adapter-cloudflare": "^2.3.0",
	"@sveltejs/kit": "^1.5.1",
	"supabase": "^1.61.5",
        "svelte": "^3.54.0",
	"langchain": "^0.0.89",
	"typescript": "^5.0.0",
	"vite": "^4.3.0",

I believe you need @supabase/supabase-js installed, supabase is the CLI. Can you try that?
https://js.langchain.com/docs/modules/data_connection/vectorstores/integrations/supabase#install-the-library-with

我相信你需要安装，是CLI。你能试试吗？@supabase/supabase-js``supabase
https://js.langchain.com/docs/modules/data_connection/vectorstores/integrations/supabase#install-the-library-with

Thank you for your reply. I tried what you said, but can't seem to solve the problem. Also, not only SupabaseVectorStore, but also MemoryVectorStore doesn't work.

I think it may be that clouflare does not support it, because it is able to work normally in vercel.

As far as I know, Supabase is compatible with Cloudflare. Would you mind sharing your repository? so that I can review it for any potential issues?

As far as I know, Supabase is compatible with Cloudflare. Would you mind sharing your repository? so that I can review it for any potential issues?

Sorry, my description may not be appropriate.
My current problem is that I can't use vectorstore on cloudflare.
This is a simple demo, https://github.com/yhmjSky/vectorstore-demo

I am sorry, the cause of the error is mainly because of the way environment variables are read


Two oqsprovider instances cause test failure

Describe the bug
When activating two instances of oqsprovider tests fail. This is the OSX-independent follow-on to #132.
To Reproduce
Steps to reproduce the behavior:

Activate two oqsprovider instances in openssl.cnf
run tests (e.g., ./scripts/runtests.sh`)

Expected behavior
Tests pass
Environment (please complete the following information):

OS: Ubuntu 22
OpenSSL version: 3.2.0-dev, 3.1.0
Version: 0.5.0-dev

Activate two oqsprovider instances in openssl.cnf

My first reaction is...  Why?
But come to think of it, we do allow this...  we even allow multiple loads of exactly the same provider (same file), and as far as I can imagine, it shouldn't make a difference if there were two instances of the same actual provider, occupying different memory spaces.
However....  what I'm thinking now is that there may be scenarios where, because they share the same properties to be queried when fetching, some cipher methods may come from one of those two provider instances, and some may come from the other, and an export/import dance of key material needs being transferred from one to the other, and as I recall, there were elements of the OQS keys that were kept strictly internal to the OQS provider, which would mean that the receiving end would end up with an incomplete "private" key, and funny things may start happening.
I'm guessing wildly, mind you.  libcrypto's internal list of loaded providers doesn't actually change, and queries for operation implementations should always happen in the same order, so of the two OQS providers, the same one should always be found first and queried first, so all successful fetches should always come from the same OQS provider...  I think (unless someone has added a randomizer in that process when I wasn't looking).
That is, unless the OQS provider is doing something funny that gets disrupted when there are two of them in memory...
My curiosity is picked!  I'll see when I can find some (non-work) time for a deeper dive...

My first reaction is... Why?

Answered by your own statement: In order to trigger

an export/import dance of key material needs being transferred from one to the other

This indeed triggered/found a bug reported in #148 and #132 -- now fixed by #161.


Bump Twitter Client version to 5.6.0 (refs #542)

This version introduces timeouts sferik/twitter@35053692.
(Fix a few deprectations along the way)

Emacs was a bit fussy and redacted all the trailing whitespace. :blush:


Browser doesn't close itself after a singleRun test.

If we configure testacular to launch Chrome automatically and set to singleRun to true, the browser doesn't closes itself. The same for Firefox. Is this intentionally? Could you add some kind of a flag for this behavior?
Because we want to execute testacular on a CI server and we need to have it closed after a build.
Thanks and regards,
Guy

This problem is still present.
Running
karma v0.12.28
karma-chrome-launcer 0.1.4
windows 7 64bit
Chrome 37

:+1: also seeing this issue
Server 2012
Karma 0.12.31
karma-chrome-launcher 0.1.7
Latest version of chrome

Also seeing this problem:
Linux 4.2.0-36-generic #42~14.04.1-Ubuntu SMP Fri May 13 17:27:22 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Karma 0.13.22
karma-chrome-launcher 0.1.12
Chromium 50.0.2661.102 Ubuntu 14.04

Same here
Karma 0.13.33
karma-chrome-laquncher 2.00
Chrome 54
Linux Ubuntu 14.04

Is it possible to keep the browser open on purpose? An extra option for that behavior would be great. Also see https://stackoverflow.com/questions/45352256/how-to-keep-browser-window-open-for-single-karma-run-until-i-close-it-once

Same problem here. Karma 2.0.5
Here are my dev dependencies in package.json:
  "devDependencies": {
    "autoprefixer": "^7.1.3",
    "babel": "^6.23.0",
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.2",
    "babel-plugin-transform-runtime": "^6.23.0",
    "babel-polyfill": "^6.26.0",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-stage-0": "^6.24.1",
    "bootstrap": "^3.3.7",
    "bootstrap-colorpicker": "^2.5.2",
    "bootstrap-select": "^1.12.4",
    "chai": "^4.1.2",
    "chai-spies": "^1.0.0",
    "css-loader": "^0.28.5",
    "esdoc": "^1.1.0",
    "esdoc-importpath-plugin": "^1.0.2",
    "esdoc-standard-plugin": "^1.0.0",
    "eslint": "^5.0.1",
    "eslint-config-google": "^0.9.1",
    "extract-text-webpack-plugin": "^3.0.0",
    "file-loader": "^0.11.2",
    "font-awesome": "^4.7.0",
    "highcharts": "^5.0.14",
    "install": "^0.10.1",
    "karma": "^2.0.2",
    "karma-chai": "^0.1.0",
    "karma-fixture": "^0.2.6",
    "karma-html2js-preprocessor": "^1.1.0",
    "karma-json-fixtures-preprocessor": "0.0.6",
    "karma-mocha": "^1.3.0",
    "karma-phantomjs-launcher": "^1.0.4",
    "karma-sinon": "^1.0.5",
    "karma-webpack": "^3.0.0",
    "mocha": "^5.2.0",
    "node-sass": "^4.5.3",
    "npm": "^5.4.1",
    "postcss-loader": "^2.0.6",
    "precss": "^2.0.0",
    "resolve-url-loader": "^2.1.0",
    "sass-loader": "^6.0.6",
    "sinon": "^5.1.0",
    "style-loader": "^0.18.2",
    "tether": "^1.4.0",
    "uglify-js": "github:mishoo/UglifyJS2",
    "uglifyjs-webpack-plugin": "^0.4.6",
    "url-loader": "^0.5.9",
    "webpack": "^3.5.5"
  },


N -> polydeg

When https://github.com/trixi-framework/Trixi.jl/pull/129 is merged and version v0.2.0 of Trixi is released.

Fixed by 4913a8ddcf6077a7623b2db6695263d689d78674


Makes it possible to implement a protobuf3 span encoder

While we haven't yet defined a proto3 format, this allows one to be
defined. This also allows us to refine how stackdriver (or any future
translated format) works in zipkin reporter.
Implementation is relatively simple: this assumes a buffer of spans is
analogous to a proto3 repeated field, and that the field name itself is
ordinal <=127.
Fixes #1942

verified through https://github.com/openzipkin/zipkin-gcp/pull/62
releasing as a patch as it isn't really a real feature, yet


Offline mode request

for people that can't buy the game like me

No, this will never happen and isnt supported.


postgres: Load posts directly from CSV file

We don't need the processed postgres-specific files for posts, since
we can specify the column list to the COPY command.

Thanks!


[BUG] ShareManager pod is dying repeatedly until it starts eventually

Describe the bug (🐛 if you encounter this issue)
We ran into an issue on our cluster where upon the creation of a RWX workload hundreds of share-manager instances for the created PV are started and dying immediately (without a way for us to capture the log) until they eventually start properly after a view minutes.
In our Rancher interface we see 100+ share-manager instances that are in a "Terminating" state.
During the period where the share-manager pod is "flapping" the load on our Kubernetes API service is skyrocketing.
To Reproduce
Simply create a workload that uses a RWX volume with Longhorn.
Expected behavior
As expected the share-manager pod should start properly the first time.
Support bundle for troubleshooting

We could probably provide specific logs for specific components (e.g. longhorn-manager or whatever it is that might help you). However I'm currently not able to share a full support bundle.
Environment

Longhorn version: v1.5.1
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Rancher Catalog App
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: Rancher Managed RKE v1.4.10

Number of management node in the cluster: 3
Number of worker node in the cluster: 5

Node config

OS type and version: SUSE Linux Enterprise Server 15 SP4
Kernel version: 5.14.21-150400.24.81-default
CPU per node: 8
Memory per node: 32 GB
Disk type(e.g. SSD/NVMe/HDD): SSD
Network bandwidth between the nodes: 10 GBits

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): VMWare
Number of Longhorn volumes in the cluster: ~20
Impacted Longhorn resources: RWX Volume

Volume names:

Additional context
We don't know is this has some connection to #5233 - at least from the title the problem looks pretty similar.

cc @james-munson

@james-munson sorry for the late reply but we had a holiday season and conducted further tests for this behaviour.
I can attach the log of the longhorn-manager pods during the following steps:

we start a short lived pod that tries to attach the RWX PV
Longhorn tries to start the according share-manager but this one is terminating right away, this happens multiple times a second
we stop the pod that is trying to attach the RWX volume
after that, longhorn starts the share-manager successfully but on a different node that before

Log Gist: https://gist.github.com/danielhass/b2f322be834967541fbb16220f2d34a3
We noticed that Longhorn always tries to schedule the share-manager on nodeA even if this node is cordoned. After we delete the pod it is successfully started on a different node.
The log from the share-manager pod during the error state is not retrievable as its terminating right away.
Please let us know if we can provide further information or logs or conduct different tests. We will reply quicker now!

This is troubling in the gist logs:
longhorn-manager-864mr longhorn-manager time="2023-12-29T08:23:47Z" level=error msg="Failed to sync Longhorn share manager" func=controller.handleReconcileErrorLogging file="utils.go:72" ShareManager=longhorn-system/pvc-1d323d1e-2812-425c-a677-f1b9425fa324 controller=longhorn-share-manager error="failed to sync longhorn-system/pvc-1d323d1e-2812-425c-a677-f1b9425fa324: failed to mount share manager pod share-manager-pvc-1d323d1e-2812-425c-a677-f1b9425fa324: rpc error: code = Unimplemented desc = unknown method Mount for service ShareManagerService" node=nodeD

because it suggests a mismatch in the image versions between longhorn-manager and longhorn-share-manager.  Perhaps it would be possible to get the results for kubectl get pod <podname> -o yaml for the longhorn-manager and share-manager pods?

@james-munson @danielhass
Is the issue still valid in a newer Longhorn version?

@derekbit if you allow me a few days slack I can try to retest this properly on our side.

@derekbit if you allow me a few days slack I can try to retest this properly on our side.

@danielhass Sure! No rush and take your time. Many thanks for your help! :)

I am facing the same issue with Longhorn 1.6.2

I am facing the same issue with Longhorn 1.7.1

I managed to fix it because I had a faulty volume and it needed manual fix. Maybe check if you have a faulty volume @grkravi


Upgrade to HPE CSI Operator v2.4.0 on OpenShift 4.12 Fail

The operator gets stuck 'pending' when upgrading the HPE CSI operator on OpenShift 4.12.46 from 2.3.0 to 2.4.0:
status:
cleanup: {}
conditions:

lastTransitionTime: '2024-01-16T17:08:53Z'
lastUpdateTime: '2024-01-16T17:08:53Z'
message: requirements not yet checked
phase: Pending
reason: RequirementsUnknown
lastTransitionTime: '2024-01-16T17:08:53Z'
lastUpdateTime: '2024-01-16T17:08:53Z'
message: one or more requirements couldn't be found
phase: Pending
reason: RequirementsNotMet
lastTransitionTime: '2024-01-16T17:08:53Z'
lastUpdateTime: '2024-01-16T17:08:53Z'
message: one or more requirements couldn't be found
phase: Pending
reason: RequirementsNotMet
requirementStatus:
group: operators.coreos.com
kind: ClusterServiceVersion
message: CSV minKubeVersion (1.25.0) less than server version (v1.25.16+a4e782e)
name: hpe-csi-operator.v2.4.0
status: Present
version: v1alpha1
group: apiextensions.k8s.io
kind: CustomResourceDefinition
message: CRD is present and Established condition is true
name: hpecsidrivers.storage.hpe.com
status: Present
uuid: 4ec67ce1-dd11-4a79-b166-d57a53dcbb2b
version: v1
group: ''
kind: ServiceAccount
message: Service account does not exist
name: hpe-csi-operator-sa
status: NotPresent
version: v1

Uninstall all instances of the Operator 2.3.0
Uninstall the Operator 2.3.0
Install 2.4.0

Details: https://scod.hpedev.io/partners/redhat_openshift/index.html#upgrading

Seems to be conflicting namespaces with residual resources. Did you install the Operator and subsequently the driver instance in the same namespace?


[feat] Add global error handling capabilities

What is the motivation/use case for changing the behavior?
It is one of the Backlog item
https://github.com/ngworker/lumberjack/projects/1#card-48290635

Describe the solution you'd like
I can implement this feature but would like to know if we have any specific requirement or use case that needs to be taken care of? Please elaborate

Describe alternatives you've considered

Additional context
@LayZeeDK @NachoVazquez

Thank you very much for picking up this backlog item, @sumitparakh!
We're very open to suggestions. We didn't plan anything in particular but here are a few suggestions:

A global error handler service integrating Lumberjack
Configurable Lumberjack log level


feat(demo): gather and refact tables hoc and input examples

Proposed Changes
The Inputs and table Refactor and gathering in the demo
Potential Breaking Changes
only affect the demo
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

Codecov Report

Merging #1325 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1325      +/-   ##
==========================================
+ Coverage   99.43%   99.48%   +0.04%
==========================================
  Files         363      365       +2
  Lines        9098     9735     +637
  Branches     2215     2360     +145
==========================================
+ Hits         9047     9685     +638
+ Misses         51       50       -1

Impacted Files
Coverage Δ

...s/react-vapor/src/components/editor/CodeEditor.tsx
95% <0%> (-0.46%)
:arrow_down:

...ges/react-vapor/src/components/popover/Popover.tsx
100% <0%> (ø)
:arrow_up:

...vapor/src/components/optionsCycle/OptionsCycle.tsx
100% <0%> (ø)
:arrow_up:

...t-vapor/src/components/table-hoc/TableWithSort.tsx
100% <0%> (ø)
:arrow_up:

...vapor/src/components/table-hoc/TableWithFilter.tsx
100% <0%> (ø)
:arrow_up:

...t-vapor/src/components/modalPrompt/ModalPrompt.tsx
100% <0%> (ø)
:arrow_up:

...eact-vapor/src/components/toast/ToastContainer.tsx
100% <0%> (ø)
:arrow_up:

...por/src/components/select/hoc/SelectWithFilter.tsx
100% <0%> (ø)
:arrow_up:

...s/react-vapor/src/components/editor/JSONEditor.tsx
100% <0%> (ø)
:arrow_up:

...or/src/components/select/SingleSelectConnected.tsx
100% <0%> (ø)
:arrow_up:

... and 26 more

Continue to review full report at Codecov.

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


audio_common: 0.3.18-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository audio_common to 0.3.18-1:

upstream repository: https://github.com/ros-drivers/audio_common.git
release repository: https://github.com/ros-gbp/audio_common-release.git
distro file: noetic/distribution.yaml
bloom version: 0.12.0
previous version for package: 0.3.17-1

audio_capture

No changes

audio_common

No changes

audio_common_msgs

No changes

audio_play
* Merge pull request #238 <https://github.com/ros-drivers/audio_common/issues/238> from Kanazawanaoaki/add-record-to-file-launch
* Add record to file launch
* Contributors: Kanazawanaoaki, Shingo Kitagawa

sound_play
* Merge pull request #249 <https://github.com/ros-drivers/audio_common/issues/249> from peci1/patch-1
  festival_plugin: add support for different encodings
* festival_plugin: add support for different encodings
* Contributors: Martin Pecka, Shingo Kitagawa

Holding for Noetic sync

The sync is out https://discourse.ros.org/t/new-packages-for-noetic-2024-08-17/39155


[OutlinedInput] Label width is being calculated before fonts are loaded

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔
What should happen is the following

Current Behavior 😯
But instead I get this

Notice that the TextField's outline is slightly overlaping the label.
This only happens when the page loads for the first time (Or after a hard refresh), and whenever a react re-render occurs, the problem is gone.
I also noticed that this problem happened when I changed the default font, and I think it has something to do with FOUT (Flash of unstyled text).
Is it possible that Mui calculates the label's gap width on the outline based on the font that loads first, before the new font style gets applied
PS: When I write something with Roboto font, then I change the font family to something else (in this case Tajawal) and give them the same font size, I notice that the same sentence I typed with Tajawal is a bit wider than the one with Roboto.
Can anyone help me solve this issue, and is there a way to load font styles before React manifests into the root element?
Your Environment 🌎

Tech
Version

Material-UI
v4.1.3

React
v16.8.6

Browser
All

I somehow opened 2 issues at the same time, weird
This is a duplicate of #16464

We have a similar issue with the Tabs component: https://github.com/mui-org/material-ui/issues/7187. I'm not aware of any better solution than the ones we have explored in the tab linked issue. To sum-up:

The action path: we could expose an action prop to ask for the component to update its position, synchronise the outline gap with it.
The font wait loading path: mount the React tree once the font is loaded.
The mutation observer path: listen to the label DOM layout changes.

I dug into FontFaceObserver, and I found a solution
I loaded the font first and returned a promise that resolves when the font is loaded then renders the page

If you want a very simple solution to handle this and don't mind using experimental technology that is currently supported by most browsers here is an example...
componentDidMount() {
    if (document.fonts) {
        document.fonts.ready
        .then(() => {
            this.setFontLoaded(true)
        })
    }
}

setFontLoaded(complete) {
    this.setState({FontLoaded: complete})
}

render() {
    return(
             ...
            {this.state.FontLoaded && this.composeCareProviderDropdown(classes)}
            ...
        )
}

If you want a very simple solution to handle this and don't mind using experimental technology that is currently supported by most browsers here is an example...
constructor(props) {
    this.state={
        fontsLoaded: false,
    }
}

componentDidMount() {
    if (document.fonts) {
        document.fonts.ready
        .then(() => {
            this.setFontsLoaded(true)
        })
    }
}

setFontsLoaded(complete) {
    this.setState({fontsLoaded: complete})
}

render() {
    return(
        ...
        {this.state.fontsLoaded && renderView()}
        ...
    )
}

Thank you @stevenberdak, I ll try it as soon as possible, if you are interested on knowing how I got it to work, here is how:

First you install FontFaceObserver and import it into your file..
Then create an observer appFont = new FontFaceObserver('NAME_OF_FONT')
Then you return a promise that renders your app when it resolves (In this case when font is loaded)
appFont.load().then(() => { ReactDOM.render(rootElement, document.getElementById('root')) })

Note that rootElement is a variable wrapping my <App /> and any other components.

We have explored a solution in #17680 that only relies on CSS to position the label. This should solve the problem.

My solution with version 5.
/* start: change outline fiels label text size */
    MuiInputLabel: {
      styleOverrides: {
        outlined: {
          '&$shrink': {
            transform: 'translate(14px, -6px) scale(0.9)',
          },
        },
      },
    },
    MuiOutlinedInput: {
      styleOverrides: {
        notchedOutline: {
          '& > legend': {
            fontSize: ' 0.9em',
          },
        },
      },
    },
    /* end: change outline fiels label text size */

My solution with version 5.
/* start: change outline fiels label text size */
    MuiInputLabel: {
      styleOverrides: {
        outlined: {
          '&$shrink': {
            transform: 'translate(14px, -6px) scale(0.9)',
          },
        },
      },
    },
    MuiOutlinedInput: {
      styleOverrides: {
        notchedOutline: {
          '& > legend': {
            fontSize: ' 0.9em',
          },
        },
      },
    },
    /* end: change outline fiels label text size */

Thank you @sebascomeau, you solution for v5 worked for me.

I tried to set the width for the legend when I changed the font-family and font-size using this:
width: `${label.trim().length * 8 * 0.75}px `

But I'm not sure that the width is calculated correctly.
Is there any util function that fits the different font-family and sizes?


[Troubleshooting tip] Document lack of BIDI language support in VS Code

Documenting Support for RTL languages, VS Code Issue 86667

From a Zowe Explorer user:
We wanted to know if there is any plan to support bidirectional support for the VSCode extensions?
Most of our COBOL is littered with IBM424 comments, and after solving the gibberish by adding '"encoding" :424' to the zosmf profile, the words are written the opposite way.

Closing with PR 2640


Can we have a new release pointing to the latest changes made to kable repo?

Can we have a new release pointing to the latest changes made to Kable repo pls?

Released https://github.com/redradrat/terraform-provider-kable/releases/tag/v0.0.4

actually 0.0.4 does not yet contain the new kable reference... I'll need to check possible dependency clashes. Sorry.

When https://github.com/redradrat/terraform-provider-kable/actions/runs/1449745085 is through v0.0.5 will use the new kable version 0.8.6.


Move tensor to cpu for json dump

Thank you Yuanzhe! Your PR should resolve this issue: https://github.com/google-ai-edge/model-explorer/issues/57. Shall we link it to your PR?

Thank you Yuanzhe! Your PR should resolve this issue: #57. Shall we link it to your PR?

Thank you Yijie, feel free to link it!
A follow up question, do you know when this change will be available to download through the prebuilt wheel?
pip install ai-edge-model-explorer \
    --index-url https://download.pytorch.org/whl/cpu \
    --extra-index-url https://pypi.python.org/simple

Thank you Yuanzhe! Your PR should resolve this issue: #57. Shall we link it to your PR?

Thank you Yijie, feel free to link it!
A follow up question, do you know when this change will be available to download through the prebuilt wheel?
pip install ai-edge-model-explorer \
    --index-url https://download.pytorch.org/whl/cpu \
    --extra-index-url https://pypi.python.org/simple

Thank you Yuanzhe! Your PR should resolve this issue: #57. Shall we link it to your PR?

Thank you Yijie, feel free to link it!
A follow up question, do you know when this change will be available to download through the prebuilt wheel?
pip install ai-edge-model-explorer \
    --index-url https://download.pytorch.org/whl/cpu \
    --extra-index-url https://pypi.python.org/simple

Let's merge the PR now. The new build will be available this afternoon.


Issue with className prop passing with Styled Components

Thanks for a great project! Is there any insight into this warning I receive from styled-components when using it with Tippy React?
It looks like you've wrapped styled() around your React component (Popover), but the className prop is not being passed down to a child.  No styles will be rendered unless className is composed within your React component.
Here is a codesandbox with the warning. Oddly enough, the example works as expected. I am wrapping the <Tippy /> component in a styled-component and that in turn styles the .tippy-tooltip element.
The warning is due to the fact I am passing in a custom component for content but my custom component is not receiving the props from styled-components (but I don't need it to).
For now I'm just passing suppressClassNameWarning into StyledPopover (in my example).
Any thoughts would be great! Thanks again!

I am also getting this warning. How were you able to suppress it? I don't see any supressClassNameWarning in your codesandbox example.

Hi @BrianMitchL, I didn't include it in the example because I didn't want to show my workaround, rather the issue. But if you put suppressClassNameWarning on the StyledPopover component, that'll hide the warning:
<StyledPopover content={<InnerComponent />} suppressClassNameWarning>

Fair! Hmm, I get an error from the wrapped Tippy when trying that:
Error: [tippy]: `suppressClassNameWarning` is not a valid option`

Oops, sorry @BrianMitchL, here is a forked codesandbox with it working. You have to exclude suppressClassNameWarning from being passed into Tippy. So inside Tippy.js I pass all props except for that.

Oh, of course, thanks!

Sorry for not checking this one earlier.
I think it's a bug in styled-components because it's not checking the Portal container for children with the className, only the direct tree elements.

I guess if you want this fixed, feel free to make some noise in the styled-components issue I linked


RescanInterval relate definition is unclear

I personally don't use RescanInterval, so it's not covered by "user test".
Just discovered it has a wrong default value, but not trigger any bug.
After #26, the RescanInterval will change from optional to necessary.
I will ignore this config related things until that.

RescanInterval can now be used to expire scan cache.


Add pt hf trainer

closes: https://github.com/caikit/caikit-nlp/issues/175
Changes

Refactor prompt tuning module to use HF Trainer instead of custom training loop. This includes:

changing the data loader to one we use for fine-tuning
changing logging file logic
changing gradient accumulation

Refactoring huggingface trainer logic to a common utility function to be re-used between prompt tuning and fine-tuning
Remove unused code for custom tuning logic in peft prompt tuning module
Add random_seed to prompt tuning training API

Notes

HF dataset dataset_type.from_generator converted doesn't accept empty dataset and raises error. For this reason, I had to modify train_stream in test and make them not empty
Currently we will not be supporting evaluation

Evaluation

Prompt Tuning:

Parameters:
Dataset:
Accuracy:
Matthews Correlation:

Fine tuning

Parameters:
Dataset:

TODO

Training is quite slow (50x) as compared to manual training loop via HF accelerate. This needs to be fixed
saving the model after training doesn't work for peft. This needs to be resolved before merging this PR.
We need to change the infer_steps function, since its currently not doing it the same way trainer would do, i.e not considering gradient checkpointing 🤔

Thoughts on TODOs on the PR:

Training is quite slow (50x) as compared to manual training loop via HF accelerate.
Following are potential suspects in order of probability:

Misconfiguration of epochs / steps resulting in extra work involving gradient accumulation step. One way to quickly test if this is related to some misconfiguration with steps / gradient accumulation step would be to disable gradient accumulation by commenting out gradient_accumulation_steps and gradient_checkpointing and commenting out max_steps over here. If the training becomes orders of magnitude faster, than this is the issue and we need to figure out how to efficiently turn on gradient accumulation. Note that we do need gradient accumulation to enable larger models in the memory.
There is some pre-processing happens via map function at the dataloader level, somehow this could be causing data to go back and forth between CPU / GPU thus causing slowness
Side effects of trainer parameters being configured / mis configuration of certain parameters that is resulting in the slowness.
It could always be a bug somewhere in caikit-nlp code somewhere causing this slowness.

Model saving issue.

Notes from testing
Test parameters

Model Name: [google/flan-t5-xl]
|- Inferred Model Resource Type: [<class 'caikit_nlp.resources.pretrained_model.hf_auto_seq2seq_lm.HFAutoSeq2SeqLM'>]
Tuning Type: [MULTITASK_PROMPT_TUNING]
Prompt Tuning Initialization Type [TEXT]
Number of Virtual Tokens: [8]
|- Prompt Tuning initialization Text: [Recognize textual entailment:]
Dataset: [glue/rte]
Verbalizer: [rte { 0 : entailment, 1 : not entailment } {{input}}]
Number of Epochs: [1]
Learning Rate: [0.3]
Batch Size: [16]
Output Directory: [prompt_prefixes/test]
Exporting prompt only: [False]
Number of shots: [None]
Maximum source sequence length: [256]
Maximum target sequence length: [512]
Gradient accumulation steps: [16]

HF Trainer branch
Time:
2023-11-13T 20:20:21.948010
to
2023-11-13T 20:47:05.818565

Time: 27 minutes
Notes:
for 1 epoch for prompt tuning flan-t5-xl with single GPU on HF trainer branch with params:
No gradient checkpointing

Main branch, No HF Trainer branch
2023-11-13T 20:50:06.924492
to
2023-11-13T 20:54:31.013823

Time: 4 minutes
Notes:
4 minutes for same parameters as above with non HF trainer approach (on current main)
Gradient checkpointing

HF Trainer branch
2023-11-13T 20:56:41.132890
to
2023-11-13T 20:58:52.220874

Time: 2 minutes
Notes:
2 minutes for same parameters as above with HF Trainer with accumulation step to 1
No gradient checkpointing

Main branch, No HF Trainer branch
2023-11-13T 21:00:26.299356
to
2023-11-13T 21:05:14.446629

Time: 5 minutes
Notes:
5 minutes for same parameters as above with non HF train approach with accumulation step to 1
With gradient checkpointing

HF Trainer branch
2023-11-13T 21:15:24.106248
to
2023-11-13T 21:20:36.585468

Time: 5 minutes
Notes:
5 minutes for same parameters as above with HF train approach with accumulation step to 1 (or NO accumulation step)
With gradient checkpointing


Test: Smoke Tests

[x] Windows @dbaeumer
[ ] macOS @btholt
[x] Linux @chrmarti
[x] Web (Chromium, anyOS) @bpasero

Complexity: 3
Create Issue

NOTE: Desktop & Web tests MUST run with --build argument
NOTE: Desktop tests MUST run with --stable-build argument additionally
Documentation: https://github.com/Microsoft/vscode/blob/master/test/smoke/README.md#run.
If the automated tests fail, create and issue for that and run the tests manually: https://github.com/microsoft/vscode/wiki/Smoke-Test

Also ran it on Mac to get early coverage. Saw #107688, everything else passed.

@chrmarti thanks a lot!


Flutter page elevation problem

I am trying to add flutter in my existing android app(minSdkVersion 16) but I am facing elevation problem you can check this  Stack Overflow link
In this project I haven't give elevation at any place don't know why it's behaving like this

I'm also facing the same problem.
And applying solution by @Virendra-Verma didn't work either.


Update DirectXTexXboxD3D11X.cpp

'void*' to 'uint8_t*'

@karurung Can you open an issue for this request?
https://github.com/microsoft/DirectXTex/issues
I can combine our PRs and the ask in https://github.com/microsoft/DirectXTex/issues/443 for all my projects.

https://github.com/microsoft/DirectXTex/pull/538


[fix] react is accessible via root['React']

ClojureScript uses Google Closure and goog to require dependencies, and react is accessible via root['React'] there.
Webpack preamble:
(function webpackUniversalModuleDefinition(root, factory) {
        if(typeof exports === 'object' && typeof module === 'object')
                module.exports = factory(require("react"));
        else if(typeof define === 'function' && define.amd)
                define(["react"], factory);
        else if(typeof exports === 'object')
                exports["PlexusForm"] = factory(require("react"));
        else
                root["PlexusForm"] = factory(root["React"]);
})(this, function(__WEBPACK_EXTERNAL_MODULE_2__) {

Hello. I'm maintaining a fork of this project at https://github.com/ismaelga/react-json-editor. It would be great if you send this PR there
ty

@ismaelga I've ended up creating my own forks with some additional features: https://github.com/little-arhat/llexus-form + https://github.com/little-arhat/llexus-validate.
New in my fork: support for additionalProperties, "tuple typing".


Added some Cybersecurity resources

Issue Addressed
https://github.com/DoonOnthon/SorcererCoderNet/issues/6
Proposed Changes
Added the following learning resource:

Tryhackme website - for learning about Cybersecurity.

Additional note/inquiry -
Hello there!
Is this repo participating in Hacktoberfest contributions?

No clue how we hadn't thought of this yet, thank you very much!


Fix vite/e2e issues caused by urbit sigil component

Had to rejigger the way we use UrbitSigilBase and the native/mobile components for it.
Fixes LAND-1748

Looking into the ambiguous import issue showing up in vite on CI now.

Looks good for now -- I'll try to do another pass on these soon to simplify. I think for web we just import the urbit-sigil package and use the custom element? Like in tlon-web/src/components/Avatar.tsx

Yep, that's right.


Link to CLI is broken

Hi, where is the link?

More information would be helpful (either for us to fix this or if you want to give it a shot).
Thanks for the issue; If you'd like we would appreciate a pull request!

Most pages have a Edit this page link under the subtitle that should link you directly to the correct page.

Then you can click the pen icon to edit the page if you have a github account. It will bring you to a page with an inline editor where you can make a change and a commit message and eventually create a pull request

If you need help or can't at the moment, just let us know.

Closing for now


chore(core): Display status on readme

Make the Readme display some more details regarding the project:

using ruff (just a nice reference)
pypi version (good visibility)
license (good visibility)
supported python versions (good visibility)
code coverage reporting (main driver for this PR)

Relates to #544 - export code coverage (e.g. to codecov)

error - 2024-05-28 21:31:54,280 -- Upload failed: {"detail":"Tokenless has reached GitHub rate limit. Please upload using a token: https://docs.codecov.com/docs/adding-the-codecov-token. Expected available in 221 seconds."}


Space separated features not working from command line

When I add it in the Cargo.toml, it works, but when trying to use multiple features from command line I get an "Invalid arguments" error. It works with a single feature.
$ cargo build --features include_gfx include_sdl2
Invalid arguments.

Usage:
    cargo build [options]

Sorry, wrong repo.


Adding Grant number

Added the grant number and the link to reporter to the about section and created a footer about it.

Omg this looks so good!! I love the lil daisy 🥹

@avahoffman, I added the license to the footer too, so it shows up on each page (not the image, just the info). Let me know if you don't want that.

OK! I added this:


Application Details Page - Overview Tab - Information missing

Description:
Some of the essential information are missing from the new application overview tab.

No need to show the API Name again in the details
Description about the Throttling tier is missing

2.x

3.0.0

This UI is available in APIM 3.0.0 alpha


Install dgl from conda-forge

Fixes #
Changes made in this Pull Request:

Now that DGL is on conda-forge, let's install from there.

PR Checklist

[ ] Tests?
[ ] Docs?
[ ] CHANGELOG updated?
[ ] Issue raised/referenced?

Codecov Report

Merging #55 (0156220) into main (db76183) will decrease coverage by 0.23%.
The diff coverage is n/a.

Additional details and impacted files


Optional folder organization

Is your feature request related to a problem? Please describe.
TumblrThree becomes hard to keep organized over time. I have some blogs that is very large with 5000+ posts and most of their content is reblogged from other users. So when everything is in the same folder it's almost impossible to find the blogs unique content and look at it separately from the reblogged posts. At this point we no longer have a one blog per folder structure, it's more like 100 blogs in 1.
This leads me to a second problem. If i want to find out where any reblogged image is from i first have to make sure to have all metadata downloaded to get the images.txt file. Then i need to find that file, then do a filename search and finally copy the URL. This is such a tedious process just to get essential information if i want to download that blog.
Describe the solution you'd like
I would like to have optional settings to organize blogs content into smaller pieces to get a better overview. We already have the option to select what type of content to download. Images, Videos, Audio, Text, Quote, Conversation, Link, Answer, Reblogged, Thumbnails, ImageMeta, VideoMeta, AudioMeta. All of these could be grouped into separate folders or smaller category to make a distinction between different types of content and make it easier to find what you looking for.
I would also like to have the option to separate reblogged content into their reblog name: folder. This could also help to identify new blogs you like and speed up selective deletes.
It could be something like this:
Lets say you have a section in settings that can activate preferred groups where you can choose what you would like to separate into a group.
[  ] Images
[  ] Video
[  ] Audio
[  ] Text files
[  ] Reblogged
-- [  ] Reblog name
[  ] Thumbnails
When the user have checked the box it will download that type of content into that folder. And if the box is unchecked it will download that type into the default blog folder. And if you want to combine some of the types you can then easily do it manually when everything else is out of the way.

Thanks for your feature suggestion. We'll think about it.
Would this new setting be set for all blogs or individually for each blog? And I think sorting the files in subfolders based on reblog names could make it unclear/unmanageable too easily, so better to use the category only.
Two small hints how you can already solve it manually in a similar way. There aren't too many file extensions used, so the explorer list can be sorted by type or the search functionality can be used, and the respective group can be moved to a subfolder.
To be able to distinguish normal posts from reblogs and their origins you can use the filename template (e.g. %o_%i_%f). Then a filename from a reblog would be like <reblog origin>_<post id>_<original filename>.ext and normal ones start with _<post id>. And with the reblog name and the post id you can easily open that specific post in the browser without looking up anything.

My main thought is to allow the user to do their own preferred customization like what you already can do in other areas of the software. So the new setting would be a default value that can be changed on a blog to blog basis.
It's all about the users own preferences like:

Do i want thumbnails to be downloaded to their own category on this blog?
Do i want to keep all normal posts in the main folder but reblogs in a reblog category?
Do i want every type to be neatly organized into a category or just some?
Do i want reblogs in the reblogs folder to be organized in their Reblog name subfolder or everything in the same folder.

Reblog name as subfolder in the reblogs category is an especially needed option on larger blogs that can have over 200 reblogs from the same origin. In my workflow it would help with a better overview when blogs is scaled beyond 2000+ reblog posts, easier to identify blogs and delete the reblogs i don't like. It would also make me scroll less to find what I'm looking for.


I had problem fine-tuned model inference.

Hello, Thanks for your work!!
I had problem fine-tuned model inferecing..

How to resolve this problem?? I used the "depth_anything_v2_vitl.pth" pretrained model for own datasets.

I'm having the same problem for fine-tuned model of the metric depth version of DAv2. Parameters saved using model.state_dict() during fine-tuning don't match the parameter names expected by DepthAnythingV2 class.
Parameters pretrained.x, depth_head.x and module.pretrained.x are missing when using
torch.load("exp/.../latest.pth", ...)['model']

Solved! Generated state dict during fine-tuning adds 'module.' prefix to every param name and you have to remove that prefix for every param name before loading weights:
model_state_dict = torch.load(args.load_from, map_location='cpu')['model']
model_state_dict = {k.replace('module.', ''): v for k, v in model_state_dict.items()}
depth_anything.load_state_dict(model_state_dict)

@jorgejgnz Works!! Thanks a lot !!


Fix ProjectAcceleratorDetailsStore.fetchOneById

#1819  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite


"Voice of God" feature

Allows us to send messages to individual connected users who may be confused or something.

Decent substitute for this in 70ebdf54fa2e413215872b9a53a6c0abd0c8f1e8 (from #32).


Needs to have search functionality built in

I would really need to search in the terminal window.

+1

Please. This is a core feature.


Strengthen cleaning column names

Make cleaning of program names more robust by replacing all punctuation with spaces, then trimming all but one single space. This matches many more column names and prevents us from doing more special casing based on unique ways of formatting.
Tested by running the compiled script on Rhode Island which currently has some formats that were previously unsupported.

Can you add a test in test/scripts? You can create custom mappings so it should be pretty easy to elicit the behavior. I'm not clear on which column names weren't supported previously and why these changes help, so I think the test would help document that.


Release Google.Cloud.Bigtable.V2 version 2.4.0

Changes in this release:

Commit 2a57d32: docs: Fix the documentation for BigtableServiceApiSettings

Created release for Google.Cloud.Bigtable.V2-2.4.0


Make it easier to remove Google Analytics

I'm submitting a ...

[X] feature request

Notes
It seems a little crude to have to remove Google Analytics 'snippets' from various pages prior to using this boilerplate. As someone who wishes to avoid Google Analytics, I feel like I'm fighting against the template. Please consider an easy flag / import to disable this.

FWIW, you only have to remove it from one page (dist/index.html) but we could add it to the create script easily enough. We would have no mechanism at present to add it to the main project (there are multiple ways to install the main project)

FWIW, you only have to remove it from one page (dist/index.html) but we could add it to the create script easily enough. We would have no mechanism at present to add it to the main project (there are multiple ways to install the main project)

I killed it with fire in the main project. It's like magic.


Write a mini library for receiving a packet with the incoming interface. Makes mirage life easier.

So I'm rewriting extunix recvmsg to accept variant ancillary data. It currently works but it needs some finishing touches.
This will be a temporary solution as Anil pointed out it would be easier to have a solo implementation with ctypes.
But since I had begun this already, and talked to ygrek in extunix, I'm finishing it. When this is done I'll rewrite it in ctypes and drop the extunix dependency as suggested in issue #1

commit b2f0baf0af8620ff413201185ca721c5f6b907ea
Adds a stub for a recvmsg that returns the receiving interface. I did not write it in ctypes as it was not clear to me how to do it properly. At least this keeps me going and I won't rely on extunix as soon as I move the getifaddrs to ocaml-tuntap.

Done, extunix has been replaced with ocaml-tuntap.


iox-#1821 improve error message when creating read-only segment

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[x] All checks have passed (except task-list-completed)
[x] All touched (C/C++) source code files from iceoryx_hoofs are added to ./clang-tidy-diff-scans.txt
[x] Assign PR to reviewer

Notes for Reviewer

Checklist for the PR Reviewer

[x] Commits are properly organized and messages are according to the guideline
[x] Code according to our coding style and naming conventions
[x] Unit tests have been written for new behavior
[x] Public API changes are documented via doxygen
[x] Copyright owner are updated in the changed files
[x] All touched (C/C++) source code files from iceoryx_hoofs have been added to ./clang-tidy-diff-scans.txt
[x] PR title describes the changes

Post-review Checklist for the PR Author

[x] All open points are addressed and tracked via issues

References

Closes #1821

@tobiasblass ... oh, and it seems you have to rebase

@elfenpiff I've rebased to latest master. Can you re-approve for the second approval?

@tobiasblass took quite some time but finally it is merged. For the next PR we have to improve our review time :)


Do not throw a warning when epoll is not supported.

Not every OS supports epoll or kqueue. This PR adds a fallback to kqueue when epoll is not supported.
Epoll is not supported on osx.

I dont' know why this is failing with rbx-2.5.8...

:+1: looks good, would you mind squashing the commits?

@stve of course. I forgot to do that. Thanks for your quick reply. One more question. Wouldn't a Kernel.raise be more suitable when the client does not support kqueue or epoll?

@schnika I think a warn is sufficient, EM can certainly run without support for either, though use of kqueue or epoll is usually preferable for performance reasons.

ok, i see. thank you.

Thanks @schnika


Need support GET_DIGEST/GET_CERTIFICATE after CHALLENGE

SPDM spec allows the requester to send GET_DIGESTS/GET_CERTIFICATE after a complete CHALLENGE.
But the current implementation uses "if (spdm_context->connection_info.connection_state !=        LIBSPDM_CONNECTION_STATE_NEGOTIATED) {" to determine if GET_DIGEST/GET_CERTIFICATE can be sent.

@jyao1 Will this change be applied when negotiated version < 1.2?
Especially "GET_DIGESTS skipped, GET_CERTIFICATE issued" is added in 1.2.

I would add such support for < 1.2 as well to achieve maximum compatibility.
At least, 1.0/1.1 does not forbid it.

1.2 clarifies the reset definitions and add "GET_DIGESTS skipped, GET_CERTIFICATE issued" sequence.
If our implementation goal is maximum compatibility, then when negotiated version is < 1.2,
we probably should not allow the requester to explicitly support 1.2 changes,
but the responder could follow 1.2 changes to calculate M1/M2 and accept the new message sequences.
So libspdm requester could work with other responder which didn't implement the 1.2 changes.
And libspdm responder could work with other requester which implements the 1.2 changes.
Any thoughts?

In general, I agree.
Please note: "libspdm requester" is just a library. The integrator controls the flow - not libspdm.

And how about the state change?
It will be no longer Authenticated until the next challenge successfully
completes.
Is it correct?
On Mon, Feb 7, 2022 at 11:55 PM jyao1 @.***> wrote:

In general, I agree.
Please note: "libspdm requester" is just a library. The integrator
controls the flow - not libspdm.
—
Reply to this email directly, view it on GitHub
https://github.com/DMTF/libspdm/issues/605#issuecomment-1032310621, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARQZGM6CZVNG57VRYFWF7CLU2DD6NANCNFSM5NZNAFLQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Very good question.
The reason is I designed the state to meet suggestion in SPDM:
"Because issuing GET_MEASUREMENTS clears the M1/M2 message transcript, it is recommended that a Requester
does not send this message until it has received at least one successful CHALLENGE_AUTH response message from
the Responder. This ensures that the information in message pairs GET_DIGESTS / DIGESTS and
GET_CERTIFICATES / CERTIFICATES has been authenticated at least once."
Since it is authenticated once, I think we can keep it as Authenticated.

@jyao1 @steven-bellock  yes, it makes senses to me to stay Authenticated.
Thanks for the clarification.

I re-think about this design change.
The current code uses the state to validate the message sequence.
If we start to allow the responder to accept GET_DIGESTS and/or GET_CERTIFICATES while staying Authenticated state, how will we track the message sequence to calculate M1/M2 for the next Challenge command?

State will need to span multiple Request / Response pairs to allow the Responder to accept or reject a CHALLENGE request.

@jyao1 @steven-bellock
From #600 conclusion where

Second GET_DIGEST is legal. And it need reset MESSAGE B.

It looks like GET_DIGESTS and GET_CERTIFICATE could be accepted as long as connection state > LIBSPDM_CONNECTION_STATE_NEGOTIATED and state AFTER_DIGESTS and AFTER_CERTIFICATE are not needed anymore?

.


decimalPlacesRounding has confusing behavior

I was stuck on this bug for a while. I had decimalPlacesRounding(0) because I wanted whole numbers in the result. What I didn't expect is for it to take the decimals out of all the numbers that were hard coded in the equation.
I think one of the following should be done:

Make decimalPlacesRounding only apply to the result (preferred)
Add a new function that only applies to the result without wrapping everything in ROUND(x,0)
Make the documentation clear that decimalPlacesRounding applies to every single number and intermediary result

This is not a bug, but working as intended and also documented in Precision, Scale and Rounding:

Automatic scaling is disabled by default. When enabled, EvalEx will round all input variables, intermediate operation and function results and the final result to the specified number of decimal digits, using the current rounding mode

I will copy this documentation also to the JavaDoc, so it is clearer there, too.
Adding another option to do rounding only for the final result is a good idea, I will add one to the 3.1.0 release.

Yeah I understand it is working as intended but I'm not sure why someone would choose to have less accuracy I'm their equation rather than just using this for formatting. I know there isn't a desire to break backwards compatability but this was a confusing issue to solve.

This is a common practice in financial applications. It is similar to what you have on most desktop calculators. A switch where you can select the rounding mode. Usually "F" for floating point/no rounding, "0", "2", "3" for zero, two or three decimal places. It will round each operation then.
If you don't do it that way, your sum may not be consistent with the individual parts of the calculation.

That makes sense.

The main issue is that I want the user to be able to return strings and have the option to convert to a whole number. So I need to format after the fact and catch the exception if the formatting fails because their expression returns something besides a number.


Make Symfony directory structure configurable from outside (#65, #66)

Thank you for your remark. I've refactored the code accordingly. You can also squash all three commits into one and take only the commit comment from 2c0cf01, if you want.

These modifications fixed my issue with my SF3.4 app, thank you.
Hope to see them accepted soon


adding clarification

adding clarification from internal discussion with Product Group

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

Thanks, Helder!


FeedbackChallenge : Animal Conservation - NFT Rewards

FeedbackChallenge : Animal Conservation - NFT Rewards
In the spirit of Project Catalyst's #FeedbackChallenge we are assessing to what extent the Catalyst Funding Process and it's Proposals are open source as part of the proposal Quality-Assurance-DAO. Your proposal has been selected because "open source" is mentioned in it's text or comments.
We would appreciate it if you could respond to the following questions (in the reply to my comments below) :

Open - Is your Organisation open-source ?

I haven't even put any thought into this as of yet as it doesn't even exist yet.

Accessible -  Can community contributors issue pull requests or raise issues on your source code ?

Pretty much most of the code we use will be open source in itself and we plan to have a git repo when it makes sense. The Smart Contracts will be open source, the DApp might be open source (not 100% sure yet). Most of the work is done in the Smart Contracts - the DApp will just be interfacing into them - so I am guessing very standard code. The only code that most probably won't be open source is the NFT Distributor (inhouse tool) - but its results will be visible on the blockchain.

Transparent - Can community contributors access and propose changes to the source text of your documentation ?

Yes, where there is open source code - this makes sense - I will assume this will mainly be in the smart contracts. Marlow Template ?

To keep the assessment transparent each comment is recorded as a GitHub Issue on Quality-Assurance-DAO's proposal repository (Apache-2.0 License) where a more detailed explanation can be found.
Together we can build a community of open source contributors on the Cardano platform.
Thank You
Stephen Whitenstall, QA-DAO
Detailed explanation
Your Issue reference includes a more detailed explanation of the methodology of this FeedbackChallenge : Open Source. There is also a Open Source Assessment Project Board and a GitHub bot post Issues in my channel #quality-assurance-dao on Project Catalyst's Discord.
We believe this is important because many developers are concerned with the lack of a clear commitment to open source and fear their free contributions will be locked into a proprietary platform.
Open Source Assessment Method

[x] Draft a basic Open Source Assessment Method.
https://github.com/Quality-Assurance-DAO/DAO-Open-Source/tree/main/Documents/Assessments

Basic Open Source Assessment

Open - Is your Organisation open-source ?
Accessible -  Can your users issue pull requests or raise issues on your organisation's source code ?
Transparent -  Can your users access and propose changes to the source of your organisation's documentation ?

Method

[x] Do text search of "open source" on Catalyst Projects.
[x] Post assessment questions in comments of proposal.
[x] Raise Issue for each proposal's assessment.
[x] Record response to assessment.
[ ] Close Issue once proposal submitted and record responses

Report

[ ] Collate and publish report of findings with a Creative Commons License

Thank you for your response, braden Yes your response has helped a lot.
I have captured your responses at [ https://github.com/Quality-Assurance-DAO/F5-Developer-ecosystem-Proposal/issues/49 ] and moved the status of the Issue to "Done".
Note : The Issue can still be altered and commented upon until after Fund 5 Proposals are finalized.
As I set out in the "Detailed explanation" section of each Issue : I will collect all data in a report of findings published on GitHub with a Creative Commons License after Fund 5 Proposals are finalized.
Good Luck with your proposal.
Stephen Whitenstall QA-DAO