Added new focus styling for inputs and radio buttons

Hi Marco, thanks for the pull request. We are hoping to bundle this change in with a few other changes in the coming months.

I was sitting in a meeting so had a look at this one...

0px doesn't need a unit
should the vendor prefixes be handled by the compiler? What have other parts of the SASS done?
$uikit-light-focus doesn't follow the naming convention or allow it to be overridden

Has this been tested in any way? Where did the colour come from?

Hi,
Yes I am using 0px as an override. That can be refactored.
I discussed with Alex about the naming convention and he said to just name it something so I followed the naming of the codepen he provided (https://codepen.io/treb/pen/wqBYNZ).
No it hasn't been tested, would be good if there was a guide of how to test changes :)
Hopefully the workflow for submitting pr's to uikit can be smoothed.

Thanks for finding those @mgdhs. We are trying to encourage all contributions, so don't be alarmed if there are some issues.
We are investigating if we want to add a definition of done to pull requests. Research so far has told us that increasing a barrier of entry will decrease community engagement.
In terms of the colour, that has come out of some work which isn't ready to be implemented yet, the prototypes discussed above are an experiment.

Hey thanks for the contribution. I will close this for now as we are about to roll out a new color system. Sorry for the extra work, we are trying hard to avoid that in the future. Roadmaps and the such will be out soon.
Thanks though


PWA UI for accessing the service

This feature is related to issue https://github.com/humphd/my-photohub/issues/4
Currently I only have the initial implementation of Navbar with modal, that allows user to enter Github token and repo name.

For PWA, I chose to use npx create-react-app . --template cra-template-pwa more info can be found here
I will turn this into draft PR and will update it as implement the rest of the UI.

You can upload images as well as preview them now

Perhaps some documentation on how to get this started or whats to be expected. Like how to run the server or some instructions on how to build the program. Note that the newer versions of create-react-build won't allow for capitals within the app name. So cloning your repository and running your command
npx create-react-app . --template cra-template-pwa might not work because of the capitals within the name of your repo being that it has capitalizations

How is npx create-react-app . --template cra-template-pwa and the way @batunpc  named his repo linked?
The author used the npx script to generate the template for his PR.

@batunpc I was able to test your PR locally.
Your demo is looking good.
I noticed that you are not masking the input field for GitHub Token as password. It should be fine for now, but later on we should mask the value user enters for PAT tokens since GitHub recommends to treat tokens like passwords.
Lastly, there are some unused dependencies in the package.json file.
Good work! 👍🏼

Thank you for your comments @SerpentBytes and @LostButton
Regarding the command npx create-react-app . --template cra-template-pwa as @SerpentBytes pointed out, it is used for creating the template for UI, you can read more from the docs
Masking the password is a good catch! can be added later on.
I will updated package.json by tonight

npx create-react-app . --template cra-template-pwa might not work because of the capitals within the name of your repo being that it has capitalizations

How is npx create-react-app . --template cra-template-pwa and the way @batunpc named his repo linked?
The author used the npx script to generate the template for his PR.

Cross that, that was on my end, I was having issues with it. fixed the issue, had to redownload react and retest

@SerpentBytes I have updated the package.json, looks much more cleaner now.
@LostButton, for the drag and drop box I am using the library react-drag-drop-files and based on their documentation here I don't think they have support for such customization. Let me know if I am missing anything.
Though if you hover over the types you will see the full image extensions that are supported.

@humphd, I have updated my implementation according to your suggestions.
The App file is much more compact/modular now, the GitHub auth will appear the first thing you launch the app and it uses 3 new components (NavigationBar, AuthDialog, UploadInterface) respectively.
I am now updating metadata.

Fixes #10


feat(i18n): adds Korean translation

Description
Add korean translation

[x] I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

[ ] Chore (non-breaking change which does not add functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Change to the templates directory (does not affect core functionality)
[ ] Change to the examples directory (does not affect core functionality)
[ ] This change requires a documentation update

Checklist:

[x] I have added tests that prove my fix is effective or that my feature works
[x] Existing test suite passes locally with my changes
[x] I have made corresponding changes to the documentation

Thank you @SimYunSup!


Reformat CREATE TABLE statements for ease of reading

I was going to merge this but just saw that CREATE TABLE IF NOT EXISTS is missing and you have done some chase changes.

I was going to merge but saw that "CREATE TABLE IF NOT EXISTS" is missing and there has been some case changes. Please consider re-basing there are already 4 commits for this change.

Did you test this code?
./bitwarden-go -init returns:
2018/02/06 17:01:24 SQL error with
CREATE TABLE IF NOT EXISTS "accounts" (
  id                 INT,
  name               TEXT,
  email              TEXT UNIQUE,
  masterpasswordhash NUMERIC,
  masterpasswordhint TEXT,
  KEY                TEXT,
  refreshtoken       TEXT,
  privatekey         TEXT NOT NULL,
  pubkey             TEXT NOT NULL,
PRIMARY KEY(id)
)

duplicate column name:

And case is still wrong for some colums

The IF NOT EXISTS in the create table prevented me from testing. I removed locally my db and it works.

If we make the -init option exit, we can have travis run:
go run cmd/bitwarden-go/main.go -init
to verify the SQL


Why the metric get lower after gaussian optimization satge?

Hi, sir. I wonder why the metrics decrease after the per-scene gaussian optimization?
For example/scene2, the metric decrease drastically, compared with the metrics after generalizable model.

I guess you generated the video first and then measured the metrics. Because for scene2, there are only 4 target views when calculating metrics instead of 60. Since each frame of the generated video actually has no GT, the metrics measured at this time are meaningless.
You can delete the folder, re-render and calculate metrics.

So I should delete the folder in the result?

You can delete the folder output/scene2/test, and then re-run
python lib/render.py -c -m output/scene1 --iteration <iter> -p <path to save ply>
python lib/metrics.py -m output/scene1

Thanks for your advice. It really helps me a lot.

However, although your advice works, but the metric after the gaussian optimization is still a little bit lower than the one from the generalizable model.

For some scenarios, Gaussian optimization may indeed not provide a performance boost because Gaussian tends to overfit the training views.
In this case, if you want to further improve performance, you can try another optimization method (optimizing the entire pipeline),  refer to here.


coldcard: password is ignored

Seems like this is related to #199 ?
when I type:
hwi --stdinpass --device-type coldcard --device-path 0001:0008:00 displayaddress --path "m/84'/0'/0'/0/0" --wpkh

I get the same address no matter what password I give.

password on coldcard is not supported. While the coldcard supports taking the password over USB, we don't do that because it is a "register password for use in this session" type of thing. The Trezor One allows us the reset the session at will which allows for the different passwords for every command; Coldcard does not do this so the password over USB is not supported. Instead enter your password on the device itself.
You will observe the same behavior if you use password with the Trezor T and enter the password on device.


Any specific usage scenarios for this?

Thanks for creating this tool.
I'm just curious and want to know what this tool can be used.
Thanks for sharing.

Hi @bytemain,
Thanks for checking out Soul,
To name a few useful usages:

A simple backend-as-a-server: Right now it's too minimal but after adding authentication and permission levels you can easily have a RESTful backend.
Access DB without SQL: Soul lets you read from and write to your DB without any SQL knowledge.


Error while adding headers

Hi, I'm getting an error while using compdb -p ./ list > compile_commands.json:
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode     raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
causing compdb to end with code 1. Any idea what is causing this? Thank you

Same for me.

That happens because compile_commands.json gets modified while compdb is reading from it. You can get around this issue by writing to a temporary file first, e.g:
compdb -p ./ list > temp && mv temp compile_commands.json
Or by using some other method to ensure the command finishes before writing to the compile_commands.json file.


[qt5] Failure in applyng patch set-shared-qmakespec.patch , even if the patch was not previously applied

On a newly downloaded vcpkg, when I try to install the qt5 port (I tried for triplets x86-windows and x64-windows) I always get this error (even if the patch was not previously applied):
-- Applying patch C:/vcpkg-qt-png/ports/qt5/set-shared-qmakespec.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/vcpkg-qt-png/ports/qt5/set-shared-qmakespec.patch done

buildtrees\qt5\patch-x86-windows-0-err.log file contains:
Checking patch qtbase/mkspecs/common/msvc-desktop.conf...
error: while searching for:
QMAKE_YACCFLAGS         = -d
QMAKE_CFLAGS            = -nologo -Zc:wchar_t
QMAKE_CFLAGS_WARN_ON    = -W3
QMAKE_CFLAGS_WARN_OFF   = -W0
QMAKE_CFLAGS_RELEASE    = -O2 -MT
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MT -Zi
QMAKE_CFLAGS_DEBUG      = -Zi -MTd
QMAKE_CFLAGS_YACC       =
QMAKE_CFLAGS_LTCG       = -GL

error: patch failed: qtbase/mkspecs/common/msvc-desktop.conf:29
error: qtbase/mkspecs/common/msvc-desktop.conf: patch does not apply

I think that the correct underlying behavior is occurring, although we should manipulate the msvc-desktop.conf in a way that doesn't use vcpkg_apply_patches().
The qt5 port uses patch files to set configuration settings in the source tree at build time based on the triplet. Unfortunately, because of qt5's size, it would probably be very painful to duplicate the source tree for every triplet.
I think the ideal fix here is for msvc-desktop.conf to be patched once and have the relevant flags all supplied by the command line, if that's possible. I don't know anything about qmake, nor how qt uses it, but I'll take a look.

Yeah, this is correct behaviour - it just switches between the static and shared patch depending on which you chose to install. I don't think that there is a nicer solution without a significant amount of work though I haven't really looked at it in detail - perhaps performing a check within the msvc-desktop.conf file to see if a static build flag has been enabled somewhere else so that it can always set the right flags without constant repatching.
Might also be worth considering introducing the concept of "configuration" patches in vcpkg so that it doesn't get marked as an error.

I understood the problem now! Yes, avoiding to output an error message would be definitely easier for users. The simplest and cleanest solution would be to add a parameter to vcpkg_apply_patches to conditionally suppress the error message.


namespaces

the refine script shows that some elements have no namespace at runtime … why???

I don't quite get the cause, but it might be fixed …

it wasn't

issues was changing tag-name via property of obj, forgetting to define full name including ns


fix: name is deprecated (closes #11)

Thanks for the PR @piotrek660 - as this was added in v4 of the AWS Provider (https://github.com/hashicorp/terraform-provider-aws/blob/v4.0.0/CHANGELOG.md) I would prefer to avoid adding this in until such time as we migrate all of our OS modules to AWS v4 or greater.  As it stands it is deprecated but still works and provides greater flexibility in provider versions.
When we go above this version I will merge this in however!

ok, thx for the quick reply @jbeemster! Make sense :)

@piotrek660 thanks for this PR - have done a slightly different one to resolve this but it is now merged and in master!


Question: how to use nvm use in a bash script loop with several .nvmrc files?

Operating system and version:
Ubuntu, 20.04.3 LTS
nvm debug output:

nvm --version: v0.39.0
$SHELL: /usr/bin/zsh
$SHLVL: 1
whoami: 't'
${HOME}: /home/t
${NVM_DIR}: '${HOME}/.nvm'
${PATH}: ${HOME}/.config/nvcode/utils/bin:${HOME}/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:${HOME}/.fzf/bin:/opt/android-studio/bin:${HOME}/scripts:${HOME}/.local/bin:${HOME}/.bin:${HOME}/.cargo/bin
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'zsh 5.8 (x86_64-ubuntu-linux-gnu)'
uname -a: 'Linux 5.11.0-40-generic #44~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux'
checksum binary: 'sha256sum'
OS version: Ubuntu 20.04.3 LTS
curl: /usr/bin/curl, curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
wget: /usr/bin/wget, GNU Wget 1.20.3 built on linux-gnu.
git: /usr/bin/git, git version 2.25.1
ls: cannot access 'grep:': No such file or directory
grep: grep: aliased to grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox} (grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}), grep (GNU grep) 3.4
awk: /usr/bin/awk, awk: not an option: --version
sed: /usr/bin/sed, sed (GNU sed) 4.7
cut: /usr/bin/cut, cut (GNU coreutils) 8.30
basename: /usr/bin/basename, basename (GNU coreutils) 8.30
rm: /usr/bin/rm, rm (GNU coreutils) 8.30
mkdir: /usr/bin/mkdir, mkdir (GNU coreutils) 8.30
xargs: /usr/bin/xargs, xargs (GNU findutils) 4.7.0
nvm current: system
which node: node () {
	unfunction node npm yarn $NVM_LAZY_CMD
	nvm use default
	command "$0" "$@"
}
which iojs: iojs not found
which npm: npm () {
	unfunction node npm yarn $NVM_LAZY_CMD
	nvm use default
	command "$0" "$@"
}
npm config get prefix: Now using node v16.13.0 (npm v8.1.0)
${NVM_DIR}/versions/node/v16.13.0
npm root -g: Now using node v16.13.0 (npm v8.1.0)
${NVM_DIR}/versions/node/v16.13.0/lib/node_modules

nvm ls output:

       v0.11.16
    iojs-v3.3.1
         v4.9.1
        v6.17.1
        v8.17.0
       v10.23.3
       v10.24.1
       v12.14.1
       v12.16.0
       v12.20.2
       v12.22.1
       v12.22.7
       v14.15.5
       v14.16.0
       v14.16.1
       v14.17.0
       v14.18.1
       v16.13.0
->       system
default -> node (-> v16.13.0)
iojs -> iojs-v3.3 (-> iojs-v3.3.1) (default)
node -> stable (-> v16.13.0) (default)
stable -> 16.13 (-> v16.13.0) (default)
unstable -> 0.11 (-> v0.11.16) (default)
lts/* -> lts/gallium (-> v16.13.0)
lts/argon -> v4.9.1
lts/boron -> v6.17.1
lts/carbon -> v8.17.0
lts/dubnium -> v10.24.1
lts/erbium -> v12.22.7
lts/fermium -> v14.18.1
lts/gallium -> v16.13.0

How did you install nvm?
install script in readme
What steps did you perform?
I used the nvm use command in a bash script that iterates over a couple of repositories which have different .nvmrc files in order to perform a bunch of actions on these repositories.
What happened?
The node version that was in use at the time the script was called is stuck throughout the entire runtime of the script. No matter what I try (so far: a number of combinations of nvm use, nvm install [some node version], nvm alias default [some node version] and source ~/.bashrc) - the node version that was used on the shell that called my script always persisted.
What did you expect to happen?
I expected that the script would receive the correct node versions on the PATH when it iterates over several nvm use commands that yield in a variety of node versions.
Is there anything in any of your profile files that modifies the PATH?
nothing out of the ordinary, I would say

nvm use by itself, in the directory that has a .nvmrc file, should be sufficient - however, in your script you'll first have to source nvm.sh itself, since the sourced shell function won't carry over to the bash script.

Thanks for the quick reply but that didn't help :( I tried to source the nvm.sh on the start of the script and inside the loop - both times with exactly the same behavior as described in my question...

Is the current working directory being changed each iteration of the loop? nvm use modifies the PATH of the current shell, so i don't know how it would work outside the script but not inside it. Can you share the script?

I updated my comment :)

The sourcing need not be done more than once in the whole script; it's just so nvm is available at all.
At the first point where node --version is incorrect, can you share echo $PATH and which node?

oof, the path is messed up...
one output from nvm use
Found '/home/t/Sites/test/.nvmrc' with version <lts/dubnium>
Now using node v10.24.1 (npm v7.24.2)

my path inside the script
/tmp/yarn--1637182089696-0.2860728540649773:/home/t/Sites/someRepo/node_modules/.bin:/home/t/.config/yarn/link/node_modules/.bin:/home/t/.yarn/bin:/home/t/.nvm/versions/node/v16.13.0/libexec/lib/node_modules/npm/bin/node-gyp-bin:/home/t/.nvm/versions/node/v16.13.0/lib/node_modules/npm/bin/node-gyp-bin:/home/t/.nvm/versions/node/v10.24.1/bin:/home/t/.nvm/versions/node/v16.13.0/bin:/home/t/.config/nvcode/utils/bin:/home/t/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/t/.fzf/bin:/opt/android-studio/bin:/home/t/scripts:/home/t/.local/bin:/home/t/.bin:/home/t/.cargo/bin

(in contrast: my path outside the script, after nvm has been used)
/home/t/.nvm/versions/node/v16.13.0/bin:/home/t/.config/nvcode/utils/bin:/home/t/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/t/.fzf/bin:/opt/android-studio/bin:/home/t/scripts:/home/t/.local/bin:/home/t/.bin:/home/t/.cargo/bin

which node
/tmp/yarn--1637182089696-0.2860728540649773/node

node --version
v16.13.0

so, interestingly enough the correct version does exist on my path but it is prepended by the wrong version from the host...

looks like some weird yarn temp folders are hijacking it. are you perhaps running this script via yarn, instead of directly?

holy shite. you are correct. the script is being called via yarn command. when I run the script without yarn everything works. you, sir, are a hero. guess I can figure out the stuff with yarn myself from here. thanks, man!

np, feel free to link the issue you file for yarn's bug so i can follow that too :-)


Just try to use your zoomToFeature, some questions?

Hello Tim
I just modified in the config/ zoomtofeature like that:
widgets: {
zoomToFeature: {
include: true,
id: 'zoomToFeature',
type: 'titlePane',
title: 'Zoom to A California County',
position: 0,
open: true,
path: 'widgets/ZoomToFeature',
options: {
map: true,
// you can customize the button text
i18n: {
selectFeature: "Select A County"
},
url: 'http://gis.icao.int/ArcGIS/rest/services/5lnc2016/MapServer/2',
field: 'NAME_CODE',
where: '1=1',
}
}
}
};
First question:the drop down appear but do not zoom?? what is wrong?
Second: where is the viewer.js in multiple line, like old example?
with software you use to convert one line to multiple line to insert all your modification in one viewer.js CMV...
How to put new layers in your super app?
Third: I don t understood  your example: where: 'STATE_FIPS = '06' ',
where: 'Dist_NM <  '761' ', i just want when the field Dist_NM is less than 761NM I DONT UNDERSTAND THE '    \ ' '?
I am working to included all your stuff in the CMV
i have on line; your search and the table attribute you developed
there is the zoom to screen shot: the drop down work but when you select an element the zoom function is not working...:

Thank for your great support you do for me...

@GilbertLasnier

The widget won't zoom to any of the features because your map service does not provide the geometry for that layer. Usually this is because the shape field is omitted from the attributes when the service is published.

You can include any widget in your viewer.js. In my repo, I have separate configuration files like zoomtofeature.js only as examples.

Using \' is necessary in JavaScript to "escape" the single quotes that are within the text so they are not confused with the single quotes that start and end the text. For a little more detail on the approach, look at the discussion of "Special Characters" here: http://www.w3schools.com/js/js_strings.asp

TIM
Thanks I try all that Merci beaucoup!!!
From: Tim McGee<EMAIL_ADDRESS>Sent: 1-Apr-16 11:15 AM
To: tmcgee/cmv-widgets
Cc: Lasnier, Gilbert
Subject: Re: [tmcgee/cmv-widgets] Just try to use your zoomToFeature, some questions? (#55)
@GilbertLasnierhttps://github.com/GilbertLasnier

The widget won't zoom to any of the features because your map service does not provide the geometry for that layer. Usually this is because the shape field is omitted from the attributes when the service is published.

You can include any widget in your viewer.js. In my repo, I have separate configuration files like zoomtofeature.js only as examples.

Using \' is necessary in JavaScript to "escape" the single quotes that are within the text so they are not confused with the single quotes that start and end the text. For a little more detail on the approach, look at the discussion of "Special Characters" here: http://www.w3schools.com/js/js_strings.asp

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/tmcgee/cmv-widgets/issues/55#issuecomment-204434274

TIM your  good its working take a look on the screenshot...I show one line and one points it just missing an other point!
I just want to know if its possible to zoom on duplicate points...
I have a lot of duplicates points and i want use your drop down function to show the duplicates, we are near...there is two PISUL, want to show both ...
Do you think its possible...

Thanks again for your fast answer!

@GilbertLasnier That is not part of this widget. It just lists all the features it receives from the layer in the Map Service. A work around might be to create a layer that has an series of extents - each  encompassing all the points in common.

Thanks I try that!
From: Tim McGee<EMAIL_ADDRESS>Sent: 1-Apr-16 3:32 PM
To: tmcgee/cmv-widgets
Cc: Lasnier, Gilbert
Subject: Re: [tmcgee/cmv-widgets] Just try to use your zoomToFeature, some questions? (#55)
@GilbertLasnierhttps://github.com/GilbertLasnier That is not part of this widget. It just lists all the features it receives from the layer in the Map Service. A work around might be to create a layer that has an series of extents - each encompassing all the points in common.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/tmcgee/cmv-widgets/issues/55#issuecomment-204536843

What is a multiple point, Do you think I must use that to zoom; two same name point?

I don't understand your question about multiple point.

Your zoom feature work perfectly…the question is I read about shape file point and shape file mujltipoint I don't know its existing???
From: Tim McGee<EMAIL_ADDRESS>Sent: 15-Apr-16 12:35 PM
To: tmcgee/cmv-widgets
Cc: Lasnier, Gilbert
Subject: Re: [tmcgee/cmv-widgets] Just try to use your zoomToFeature, some questions? (#55)
I don't understand your question about multiple point.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/tmcgee/cmv-widgets/issues/55#issuecomment-210534770

I found that on the internet (I'm trying to find a multipoint shapefile) maybe you know that??? and tell me, if its will be a solution for my Duplicates before I make the extent like you tell me.
From: Tim McGee<EMAIL_ADDRESS>Sent: 15-Apr-16 12:35 PM
To: tmcgee/cmv-widgets
Cc: Lasnier, Gilbert
Subject: Re: [tmcgee/cmv-widgets] Just try to use your zoomToFeature, some questions? (#55)
I don't understand your question about multiple point.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/tmcgee/cmv-widgets/issues/55#issuecomment-210534770

Sorry, I do not know if the ZoomToFeatures widget will work with multi-point data.
The widget would work if you create data that has a single simple polygon (an extent) which includes all the points with the same name. I have several clients that have taken this route.


[pytorch-dml] Torch Transfomer

I tried to run my model in DML and got an issue with executing TransformerEncoder layer.
I followed this tutorial
And it created the following issue.
RuntimeError: Could not run 'aten::bmm' with arguments from the 'UNKNOWN_TENSOR_TYPE_ID' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'aten::bmm' is only available for these backends: [CPU, SparseCPU, BackendSelect, Named, AutogradOther, AutogradCPU, AutogradCUDA, AutogradXLA, AutogradNestedTensor, UNKNOWN_TENSOR_TYPE_ID, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, Tracer, Autocast, Batched, VmapMode].

CPU: registered at D:\a\_work\1\s\build\aten\src\ATen\RegisterCPU.cpp:5926 [kernel]
SparseCPU: registered at D:\a\_work\1\s\build\aten\src\ATen\RegisterSparseCPU.cpp:558 [kernel]
BackendSelect: fallthrough registered at D:\a\_work\1\s\aten\src\ATen\core\BackendSelectFallbackKernel.cpp:3 [backend fallback]
Named: fallthrough registered at D:\a\_work\1\s\aten\src\ATen\core\NamedRegistrations.cpp:11 [kernel]
AutogradOther: registered at D:\a\_work\1\s\torch\csrc\autograd\generated\VariableType_1.cpp:9665 [autograd kernel]
AutogradCPU: registered at D:\a\_work\1\s\torch\csrc\autograd\generated\VariableType_1.cpp:9665 [autograd kernel]
AutogradCUDA: registered at D:\a\_work\1\s\torch\csrc\autograd\generated\VariableType_1.cpp:9665 [autograd kernel]
AutogradXLA: registered at D:\a\_work\1\s\torch\csrc\autograd\generated\VariableType_1.cpp:9665 [autograd kernel]
AutogradNestedTensor: registered at D:\a\_work\1\s\torch\csrc\autograd\generated\VariableType_1.cpp:9665 [autograd kernel]
UNKNOWN_TENSOR_TYPE_ID: registered at D:\a\_work\1\s\torch\csrc\autograd\generated\VariableType_1.cpp:9665 [autograd kernel]
AutogradPrivateUse1: registered at D:\a\_work\1\s\torch\csrc\autograd\generated\VariableType_1.cpp:9665 [autograd kernel]
AutogradPrivateUse2: registered at D:\a\_work\1\s\torch\csrc\autograd\generated\VariableType_1.cpp:9665 [autograd kernel]
AutogradPrivateUse3: registered at D:\a\_work\1\s\torch\csrc\autograd\generated\VariableType_1.cpp:9665 [autograd kernel]
Tracer: registered at D:\a\_work\1\s\torch\csrc\autograd\generated\TraceType_1.cpp:11324 [kernel]
Autocast: registered at D:\a\_work\1\s\aten\src\ATen\autocast_mode.cpp:254 [kernel]
Batched: registered at D:\a\_work\1\s\aten\src\ATen\BatchingRegistrations.cpp:1020 [kernel]
VmapMode: fallthrough registered at D:\a\_work\1\s\aten\src\ATen\VmapModeRegistrations.cpp:33 [backend fallback]

Are you receiving this error at a line similar towith torch.cuda.amp.autocast()? I'm receiving a similar error too.

Ok it seems that aten::bmm function is not implemented. In another issue #176 it is mentioned that some functions are not implemented yet.

Thanks for your submission! We are actively adding new operator support to PyTorch-DML, so thank you for your patience and being one of our early users. Please visit the [https://github.com/microsoft/DirectML/wiki/PyTorch-DirectML-Operator-Roadmap](PyTorch-DirectML Operator Roadmap) for guidance on current and future support.


Update stuff to point to new organization

URLs and other references have been updated to point to the new chroma-sdk organization.

:white_check_mark: Build Colore 6.0.0-PullRequest.246+189.build.109 completed (commit https://github.com/chroma-sdk/Colore/commit/c73c1dcb70 by @Sharparam)

Coverage remained the same at 45.161% when pulling 1d14b43c8ea7b1efebe6c76b772442560d2628ad on feature/transfer into 6a4910f3469048ff01251af05f35a8aec106c525 on develop.


[Jetbrains HTTP Client] Accurate generator documentation

Currently the generated documentation for the generator is inaccurate. This needs fixing

Fixed!


Add DynamicTga and ConvertColor

Hi! Thank you for helping out with Embedded Graphics development! Please:

[ ] Check that you've added passing tests and documentation
[ ] Add a simulator example(s) where applicable
[ ] Add a CHANGELOG.md entry in the Unreleased section under the appropriate heading (Added, Fixed, etc) and appropriate crate (embedded-graphics, simulator, tinytga, tinybmp) if your changes affect the public API
[ ] Run rustfmt on the project
[ ] Run just build (Linux/macOS only) and make sure it passes. If you use Windows, check that CI passes once you've opened the PR.

PR description
This PR adds DynamicTga which is the first part of #424. The implementation depends on the color conversion suggested in #446, so I've also included that in this PR.
I've also decided to revert a change I made in #430, where I merged Tga and TgaRaw. Keeping them separate results in a cleaner API and I'm not sure why I decided to change that in the first place.

Do we want to revert the same change to tinybmp and go back to Bmp and BmpRaw as well?

Yes, I would like to keep the APIs of tinybmp and tinytga as similar as possible. But this doesn't belong in this PR IMO and I plan to include that change in the PR where I add DynamicBmp.

I thought that might be the case :). I agree it doesn't belong in this PR.


Added a program to find Union of two Sorted Arrays

Related Issue

This PR is associated with issue #1162

Proposed Changes

Added a program to find Union of two Sorted Arrays

Additional Info

I have created a separate issue #1163  for readme of this issue, for which  I will make a separate PR for readme of this program.

Checklist

[] ✅ My code follows the code style of this project.
[] 📝 My change requires a change to the README.
[] 🎀 I have updated the README accordingly.
[] 👀 I have read the CONTRIBUTING document.
[] ✨ I have added tests to cover my changes.
[] 🚩 All new and existing tests passed.
[] 🌟 ed the repo

[] Bug fix (non-breaking change which fixes an issue)
[] New feature (non-breaking change which adds functionality)

Output Screenshots

Screenshot #1

Union of two sorted arrays

My PRs #81  and #496  is already merged into main. Please consider my PR as a higher levels.


Attempt to fix 9 return code

Ok, it's not:

rubygems 3.1.4
bundler 2.1.4
rails 6.0.3
rails-controller-testing 1.0.5-pre
public_suffix 4.0.5
mimemagic 0.3.5

Pinning them all to their old values to match the build that succeeded.
By looking at the logs, I can't spot any other differences between a working (previous master) and a failing builds.


Add support for other actuators

Make actuator configurable. If unconfigured, defaults to piezo as before, keeping backwards compatibility.

Thanks!


Help button

Description
Fixes #1397
Added a button to open the wikimedia commons help page at the end of the tutorial
Tests performed
Tested on Android 6.0.1 Moto G3
Screenshots showing what changed

Codecov Report

Merging #1415 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1415      +/-   ##
=========================================
- Coverage     3.3%    3.3%   -0.01%
=========================================
  Files         128     128
  Lines        6837    6843       +6
  Branches      669     669
=========================================
  Hits          226     226
- Misses       6596    6602       +6
  Partials       15      15

Impacted Files
Coverage Δ

.../java/fr/free/nrw/commons/WelcomePagerAdapter.java
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Sorry, just managed to look at this. I definitely agree that the "more help" action should be the secondary one. I would recommend a link in the bottom right corner instead.
Additionally, perhaps "more information" might be better than "more help"?
What do you think @neslihanturan ?

Ok I'll make the changes

Is top right better ? @misaochan

I'd personally go with bottom right, but we can wait for Neslihan to weigh in. :)

Ok :)

I've initially pushed the top right version, will modify after further discussions :)

Bottom right is better for me too @misaochan

Okk I'll change that @neslihanturan

@97balakrishnan were you able to make this change. We can go ahead and merge it once the UI is fixed. :)

Sorry for the long delay

Works as intended @97balakrishnan , thanks!


⚠ Thumbnails API Endpoint has degraded performance

In fe62717, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1170 ms

Resolved: Thumbnails API Endpoint performance has improved in f446b62 after 8 minutes.


No storage config?

I'm trying to configure storage options here, but I can't seem to get it to work.
I did this thinking it would magically work:
node.default['hashicorp-vault']['config']['storage'] = {
    'path' => node['stack_name'],
    'address' => 'consul.nmgcloudapps.com:8500'
}

I get this:
/tmp/local-mode-cache/cache/cookbooks/hashicorp-vault/recipes/default.rb:

 16:  end
 17:
 18:  config = vault_config node['hashicorp-vault']['config']['path'] do |r|
 19:    owner node['hashicorp-vault']['service_user']
 20:    group node['hashicorp-vault']['service_group']
 21:
 22:    if node['hashicorp-vault']['config']
 23>>     node['hashicorp-vault']['config'].each_pair { |k, v| r.send(k, v) }
 24:    end
 25:    notifies :reload, "vault_service[#{node['hashicorp-vault']['service_name']}]", :delayed
 26:  end

I'm going to try some things locally on this project, we'll see where this goes.
Am I doing something wrong here?

That's because ['storage'] isn't a valid config parameter. The key after ['config'] has to be a valid parameter.
address
cluster_address
tls_disable
tls_cert_file
tls_key_file
cache_size
disable_cache
disable_mlock
default_lease_ttl
max_lease_ttl
statsite_addr
statsd_addr
backend_type
backend_options
habackend_type
habackend_options
telemetry_options

Example, setting the habackend_type to consul:
node.default['hashicorp-vault']['config']['habackend_type'] = 'consul'

Refer to the Vault docs here.

Okay, so what you're saying is that this:
storage "consul" {
  address = "<IP_ADDRESS>:8500"
  path    = "vault"
}

Is actually habackend_type and I should be using that and habackend_options?  I'll give it a try and see how it works.  Thanks for the feedback.

👍
Closing the issue.


fix typos in cookbook/learned_prompt_optimization.ipynb

I have fixed some typos in file cookbook/learned_prompt_optimization.ipynb. I kindly request the repo maintainers to review and merge it. Thanks!

believe these were fixed in sep pr, but appreciate the contribution @suravshrestha!


Scroll event to get pagination progress

I successfull done login with HtmlUnit on SITE, run a form search and got a page with results. Now in real world, to get the whole page result I need to scroll the page more times . But I am using HtmlUnit ,then I have done :
List res=page.getByXPath(...) // got 13 items
ScriptResult res=page.executeJavaScript("window.scrollBy (0,2000);");
res=page.getByXPath(...) // would get more items than 13 items
But the 2nd XPath query return same result items as the first . Instead ,on browser, the scroll work well and return the second train of result items 8MORE THAN 13). Then , does HtmlUnit is not designed for this ? a bug ? or there is another HtmlUnit trick?
I tried also
ScriptResult res =page.getBody().fireEvent("scroll");
..But even this work .
Finally , I thought , if HtmlUnit can't manage Scroll Event
maybe is  possible to fire the JS code fired by Scroll Event , in this way I can bypass the scroll event and obtaining his result .
But , does HtmlUnit can make an Ajax request ? How ?
thanks

Ok, and welcome :-)
Lets start simple:

Do you use the latest version of HtmlUnit?
Do you use HtmlUnit directly or the HtmlUnit Driver?
Is the site you like to interact with public - can i access the site?

Regarding
ScriptResult res =page.getBody().fireEvent("scroll");

you are sure the event listener that updates the page are assigned to the body?
As you talk about Ajax. Have you added some kind of wait code after fireing the event?  Usually all the updates are async so adding some wait might help already.

Ok, and welcome :-)
Lets start simple:

Do you use the latest version of HtmlUnit?
Do you use HtmlUnit directly or the HtmlUnit Driver?
Is the site you like to interact with public - can i access the site?

Regarding
ScriptResult res =page.getBody().fireEvent("scroll");

you are sure the event listener that updates the page are assigned to the body?
As you talk about Ajax. Have you added some kind of wait code after fireing the event?  Usually all the updates are async so adding some wait might help already.

ver 2.45 , there is now the 2.46  I will try it ...

I don't know HtmlUnit Driver , I have to study it

digiland.libero.it it's public ,yes

you question is matter, it is the window object registering the listenere       window.addEventListener(...)
but there isn't a way to do   webClinet.getCurrentWindow().fireEvent("scroll");
I also tried                    page.executeJavaScript("window.scrollBy (0,2000);");

after the call to tring invoke JS I put
`ScriptResult res=page.executeJavaScript("window.scrollBy (0,2000);");
          webClient.waitForBackgroundJavaScript(10000);   `

ver 2.45 , there is now the 2.46  I will try it ...

I don't know HtmlUnit Driver , I have to study it

digiland.libero.it it's public ,yes

you question is matter, it is the window object registering the listenere       window.addEventListener(...)
but there isn't a way to do   webClinet.getCurrentWindow().fireEvent("scroll");
I also tried                    page.executeJavaScript("window.scrollBy (0,2000);");

after the call to tring invoke JS I put
`ScriptResult res=page.executeJavaScript("window.scrollBy (0,2000);");
          webClient.waitForBackgroundJavaScript(10000);   `

Have done a first update - window.scroll()/scrollTo()/scrollBy() now triggers a scroll event

Have done a first update - window.scroll()/scrollTo()/scrollBy() now triggers a scroll event

made some changed to the code
ScriptResult res=page.executeJavaScript("window.scrollBy (0,2000);");
webClient.waitForBackgroundJavaScript(10_000);

should trigger now at least one scroll event. Please use the latest SNAPSHOT build to test this.

made some changed to the code
ScriptResult res=page.executeJavaScript("window.scrollBy (0,2000);");
webClient.waitForBackgroundJavaScript(10_000);

should trigger now at least one scroll event. Please use the latest SNAPSHOT build to test this.

The fix for this is part of the 2.47.11 release. Will close this. Feel free to open a new one if you face more problem.
Thanks for the report.


The default colour for the 'next'and 'prev' button is white. How do I change them?

The default colour for button used for 'next' and 'previous' slides, defined in the class slick-next:before and slick-prev:before is white.
Why are they white? And how do I change them?
Thanks a lot.

Are you using CSS modules? If so, you can use the :global prefix to target the .slick-next and .slick-prev selectors :global(.slick-prev) {...} etc


[Java][CI] Disable Dependabot for Java

Describe the enhancement requested
We want to stop updating java/ because we moved it to apache/arrow-java.
Component(s)
Continuous Integration, Java

Issue resolved by pull request 44832
https://github.com/apache/arrow/pull/44832


[CFE] Setter with the same name as representation type variable produces an error

The following test produces an error on CFE (works on Analyzer)
// SharedOptions=--enable-experiment=inline-class

extension type I(int id) {
  void set id(int i) {}
}

extension type ET1(int id) {
  void set id(int i) {}
}

extension type ET2(int id) implements I {}

main() {
  ET1 et1 = ET1(1);
  et1.id = 0; // CFE Error: The setter 'id' isn't defined for the class 'ET1'.

  ET2 et2 = ET2(2);
  et2.id = 0; // CFE Error: The setter 'id' isn't defined for the class 'ET2'.
}

Instance setter with the same basename as the representation type is allowed
cc @eernstg to confirm
Tested on the edge SDK (Sept 11, 2023) on Linux x64

Yes, it should be allowed to have a representation variable named id and a setter named id= in the same extension type declaration.


Fix for issue #290 (LF doesn't recognize .NET projects using 'packages' directory instead of '.nuget' for dependencies)

Add check for whether .nuget directory is present, if it isn't look for a packages directory.

@kdykeman @flavorjones This is a PR for the stuff we talked about on Slack.
Thanks!


Fix invocation parameter ordering issue (#709)

Fix for https://github.com/Azure/azure-webjobs-sdk-script/issues/709

Oh, btw, there's also a build warning about an unassigned field on line 27 on the AdminControllerTest class

Fixed all. Thanks.

Merged.


Aligning in Biscuit with samblaster and samtools

Hi,
I am getting an output error relating to samblaster when trying to align to me reference genome:
samblaster: Inputting from stdin
samblaster: Outputting to stdout
[M::bwa_idx_load_from_disk] read 0 ALT contigs
[gzread] (null)
samblaster: Loaded 172124 header sequence entries.
samblaster: No reads in input SAM file
This is my code:
module load gcc
module load bowtie2/2.4.1
module load samtools/1.16.1
module load samblaster/0.1.26
module load perl/5.30.2
biscuit align /home/chadders/projects/def-frasiert/methyl_seq/ref_genome/Eubalaena_glacialis_HiC.fasta 1151_B_S11_L001-FP.fastq  1151_B_S11_L001-RP.fastq |
samblaster | samtools sort -o my_output.bam -O BAM -
samtools index my_output.bam
I am super new to this and not sure if I have made a misstep in creating the reference index, but the outputs for this all looked ok. I know the fastq files are ok as they ran fine in bismark.
Thanks

Does your reference genome really have 172,124 contigs? If so, samblaster should still work fine, it's just a question.
It appears as if the input SAM file only has a header and no alignments. Have you checked for that?


[BUG] RWX volume attachment takes a long time

Describe the bug
Launching a workload that requires a new RWX volume takes a long time (4~5 minutes). The direct cause is the unexpected slow RWX volume attachment. Here is the original issue report:
https://rancher-users.slack.com/archives/CC2UQM49Y/p1628589991044200?thread_ts=1628252452.025500&cid=CC2UQM49Y
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The RWX volume can be attached in 5~30 seconds typically.
Log
Events:
  Type     Reason              Age                  From                     Message
  ----     ------              ----                 ----                     -------
  Normal   Scheduled           5m34s                default-scheduler        Successfully assigned monitoring/promotheus-prometheus-alertmanager-669c59cc84-jpb8k to X
  Warning  FailedMount         3m31s                kubelet                  Unable to attach or mount volumes: unmounted volumes=[storage-volume], unattached volumes=[promotheus-prometheus-alertmanager-token-gpjg4 config-volume storage-volume]: timed out waiting for the condition
  Warning  FailedAttachVolume  116s (x9 over 4m4s)  attachdetach-controller  AttachVolume.Attach failed for volume "alertmanager-data" : rpc error: code = DeadlineExceeded desc = volume alertmanager-data failed to attach to node X
  Warning  FailedMount         74s                  kubelet                  Unable to attach or mount volumes: unmounted volumes=[storage-volume], unattached volumes=[storage-volume promotheus-prometheus-alertmanager-token-gpjg4 config-volume]: timed out waiting for the condition

Environment:

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

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

Node config

OS type and version:
CPU per node:
Memory per node:
Disk type(e.g. SSD/NVMe):
Network bandwidth between the nodes:

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

Additional context
Add any other context about the problem here.

I have checked the support bundle (the user linked it to issue #2829 in the email). The attachment looks fine on the Longhorn side. Here is the analysis:
For the RWX volume alertmanager-data :

Kubernetes requests volume attachment via CSI attacher

2021-08-10T09:58:44.518418375Z I0810 09:58:44.517594       1 connection.go:183] GRPC request: {"node_id":"sky-210015-ds","volume_capability":{"AccessType":{"Mount":{"fs_type":"ext4"}},"access_mode":{"mode":5}},"volume_context":{"diskSelector":"","nodeSelector":"","numberOfReplicas":"3","staleReplicaTimeout":"20"},"volume_id":"alertmanager-data"}

Longhorn CSI Plugin receives attachment call from Kubernetes

2021-08-10T09:58:44.519989195Z time="2021-08-10T09:58:44Z" level=info msg="ControllerPublishVolume: req: {\"node_id\":\"sky-210015-ds\",\"volume_capability\":{\"AccessType\":{\"Mount\":{\"fs_type\":\"ext4\"}},\"access_mode\":{\"mode\":5}},\"volume_context\":{\"diskSelector\":\"\",\"nodeSelector\":\"\",\"numberOfReplicas\":\"3\",\"staleReplicaTimeout\":\"20\"},\"volume_id\":\"alertmanager-data\"}"

Longhorn manager starts to attach the volume then starts a share manager pod. The volume is for the data store. The share manager pod is actually an NFS server. Once the share manager pod is up and running. The RWX volume attachment is considered as successful:

2021-08-10T09:58:49.404877319Z time="2021-08-10T09:58:49Z" level=info msg="Event(v1.ObjectReference{Kind:\"Volume\", Namespace:\"longhorn-system\", Name:\"alertmanager-data\", UID:\"6de827c9-4482-49d6-b308-2ae7b919d6d2\", APIVersion:\"longhorn.io/v1beta1\", ResourceVersion:\"21360477\", FieldPath:\"\"}): type: 'Normal' reason: 'Attached' volume alertmanager-data has been attached to sky-210004-ds"
2021-08-10T09:58:44.657043679Z time="2021-08-10T09:58:44Z" level=info msg="Created pod for share manager" controller=longhorn-share-manager node=sky-210004-ds owner=sky-210004-ds pod=share-manager-alertmanager-data shareManager=alertmanager-data state=starting volume=alertmanager-data

The problem is, somehow your cluster spent 4 minutes on starting this share manager pod (from 2021-08-10T09:58:44 to 2021-08-10T10:02:55). There is no error log for this share manager pod on the Longhorn side, which means the share manager workflow runs as expected.
Here is the pod state. No failure or error during initialization:
  status:
    phase: Running
    conditions:
    - type: Initialized
      status: "True"
      lastprobetime: "0001-01-01T00:00:00Z"
      lasttransitiontime: "2021-08-10T10:02:05Z"
      reason: ""
      message: ""
    - type: Ready
      status: "True"
      lastprobetime: "0001-01-01T00:00:00Z"
      lasttransitiontime: "2021-08-10T10:02:55Z"
      reason: ""
      message: ""
    - type: ContainersReady
      status: "True"
      lastprobetime: "0001-01-01T00:00:00Z"
      lasttransitiontime: "2021-08-10T10:02:55Z"
      reason: ""
      message: ""
    - type: PodScheduled
      status: "True"
      lastprobetime: "0001-01-01T00:00:00Z"
      lasttransitiontime: "2021-08-10T10:02:05Z"
      reason: ""
      message: ""
    message: ""
    reason: ""
    nominatednodename: ""
    hostip: <IP_ADDRESS>
    podip: <IP_ADDRESS>
    podips:
    - ip: <IP_ADDRESS>
    starttime: "2021-08-10T10:02:05Z"
    initcontainerstatuses: []
    containerstatuses:
    - name: share-manager
      state:
        waiting: null
        running:
          startedat: "2021-08-10T10:02:06Z"
        terminated: null
      lastterminationstate:
        waiting: null
        running: null
        terminated: null
      ready: true
      restartcount: 0
      image: longhornio/longhorn-share-manager:v1_20210416
      imageid: docker-pullable://longhornio/longhorn-share-manager@sha256:c0528766fa0fd8c21632e76b0a79844fa484b3f58c53c855ac4575f4076abad1
      containerid: docker://c40ef6a3b5a25665e5a3a19af96bcdb2241027324cdd3d69cc587ebcfbf63208
      started: true
    qosclass: BestEffort
    ephemeralcontainerstatuses: []

The next is:

Try to reproduce it. And monitor the resource usage when the issue happens
Provide the kubelet logs when the issue happens or containing the logs around 2021-08-10T09:58 to 2021-08-10T10:03

cc @qdupuy

Environment:
Longhorn version: v1.1.2
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): helm
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: RKE v1.20.9-rancher1-1
    Number of management node in the cluster: 3
    Number of worker node in the cluster: 1
Node config
    OS type and version: Ubuntu 21.04
    CPU per node: 12CPU
    Memory per node: 32Go
    Disk type(e.g. SSD/NVMe): NVMe
    Network bandwidth between the nodes: 100 Mbps
Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Bare-metal
Number of Longhorn volumes in the cluster: 20

I was able to reproduce the bug with the RWO mode.
I set up 2 replicas and migrated my pods to another node via the "nodeName: server" condition
Events:
  Type     Reason              Age                  From                     Message
  ----     ------              ----                 ----                     -------
  Warning  FailedAttachVolume  14m                  attachdetach-controller  Multi-Attach error for volume "pvc-a11eda9a-12ac-401e-96ec-1664690ce302" Volume is already used by pod(s) X-8658649d77-76jpb
  Warning  FailedMount         11m                  kubelet                  Unable to attach or mount volumes: unmounted volumes=[X], unattached volumes=[default-token-n56xz X]: timed out waiting for the condition
  Warning  FailedMount         71s (x3 over 9m12s)  kubelet                  Unable to attach or mount volumes: unmounted volumes=[X], unattached volumes=[X default-token-n56xz]: timed out waiting for the condition

What more do you need so that we can correct the problem?

The case you reproduced (pod migration) is different from the original issue... We can check the pod migration case later. Now can you provide the kubelet log on node sky-210004-ds? The log should contain the message around 2021-08-10T09:58Z to 2021-08-10T10:03Z

Some logs :
Aug 10 06:01:05 eu-west-1 kernel: [1525043.747111] EXT4-fs warning (device sdg): htree_dirblock_to_tree:993: inode #12: lblock 0: comm kubelet: error -5 reading directory block
Aug 10 06:01:05 eu-west-1 kernel: [1525043.747245] EXT4-fs warning (device sde): htree_dirblock_to_tree:993: inode #12: lblock 0: comm kubelet: error -5 reading directory block
Aug 10 06:01:05 eu-west-1 kernel: [1525043.751945] EXT4-fs warning (device sde): htree_dirblock_to_tree:993: inode #12: lblock 0: comm kubelet: error -5 reading directory block
Aug 10 06:01:05 eu-west-1 kernel: [1525043.752429] EXT4-fs warning (device sdg): htree_dirblock_to_tree:993: inode #12: lblock 0: comm kubelet: error -5 reading directory block
Aug 10 06:01:05 eu-west-1 systemd[1]: var-lib-kubelet-pods-e07c8dbc\x2d665f\x2d4e25\x2d9da4\x2da5af096b7674-volume\x2dsubpaths-pvc\x2d2074432e\x2d05d2\x2d4c6e\x2db30c\x2de3c5c28bce67-volume\x2dpermissions-0.mount: Succeeded.
Aug 10 06:01:05 eu-west-1 systemd[1]: var-lib-kubelet-pods-8aba8446\x2d5bc8\x2d4381\x2d99a2\x2d5bc1aa8c1ee6-volume\x2dsubpaths-pvc\x2dd62d4874\x2d0769\x2d4603\x2d9b29\x2dce89fa4c57fe-volume\x2dpermissions-0.mount: Succeeded.
Aug 10 06:01:05 eu-west-1 systemd[1]: var-lib-kubelet-pods-8aba8446\x2d5bc8\x2d4381\x2d99a2\x2d5bc1aa8c1ee6-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dsj4cz.mount: Succeeded.
Aug 10 06:01:05 eu-west-1 systemd[1]: var-lib-kubelet-pods-e07c8dbc\x2d665f\x2d4e25\x2d9da4\x2da5af096b7674-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dw6xkl.mount: Succeeded.
Aug 10 06:01:05 eu-west-1 systemd[1]: var-lib-kubelet-pods-e07c8dbc\x2d665f\x2d4e25\x2d9da4\x2da5af096b7674-volume\x2dsubpaths-pvc\x2d2074432e\x2d05d2\x2d4c6e\x2db30c\x2de3c5c28bce67-wordpress-0.mount: Succeeded.
Aug 10 06:01:05 eu-west-1 systemd[1]: var-lib-kubelet-pods-8aba8446\x2d5bc8\x2d4381\x2d99a2\x2d5bc1aa8c1ee6-volume\x2dsubpaths-pvc\x2dd62d4874\x2d0769\x2d4603\x2d9b29\x2dce89fa4c57fe-wordpress-0.mount: Succeeded.
Aug 10 06:01:05 eu-west-1 systemd[1]: var-lib-kubelet-pods-e07c8dbc\x2d665f\x2d4e25\x2d9da4\x2da5af096b7674-volumes-kubernetes.io\x7ecsi-pvc\x2d2074432e\x2d05d2\x2d4c6e\x2db30c\x2de3c5c28bce67-mount.mount: Succeeded.
Aug 10 06:01:05 eu-west-1 systemd[1]: var-lib-kubelet-pods-8aba8446\x2d5bc8\x2d4381\x2d99a2\x2d5bc1aa8c1ee6-volumes-kubernetes.io\x7ecsi-pvc\x2dd62d4874\x2d0769\x2d4603\x2d9b29\x2dce89fa4c57fe-mount.mount: Succeeded.
Aug 10 06:02:41 eu-west-1 systemd[1]: var-lib-kubelet-pods-8aba8446\x2d5bc8\x2d4381\x2d99a2\x2d5bc1aa8c1ee6-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dsj4cz.mount: Succeeded.
Aug 10 06:03:30 eu-west-1 systemd[1]: var-lib-kubelet-pods-e07c8dbc\x2d665f\x2d4e25\x2d9da4\x2da5af096b7674-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dw6xkl.mount: Succeeded.
Aug 10 06:18:45 eu-west-1 systemd[1]: var-lib-kubelet-pods-22ad2309\x2dfaf1\x2d4651\x2d84af\x2de20132fcffc6-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dsj4cz.mount: Succeeded.
Aug 10 06:19:33 eu-west-1 systemd[1]: var-lib-kubelet-pods-d975b0c3\x2de4e8\x2d4090\x2d99c5\x2dcd6f03f8bf70-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dw6xkl.mount: Succeeded.
Aug 10 06:25:10 eu-west-1 systemd[1]: var-lib-kubelet-pods-c086c029\x2d81ab\x2d4f79\x2dbd98\x2db9456ded9468-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dw6xkl.mount: Succeeded.
Aug 10 06:25:10 eu-west-1 systemd[1]: var-lib-kubelet-pods-e3cd18cc\x2db300\x2d41d5\x2da7d5\x2d8d909498dc07-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dsj4cz.mount: Succeeded.
Aug 10 06:34:00 eu-west-1 systemd[1]: var-lib-kubelet-pods-11b4bc63\x2d3486\x2d47ab\x2db1f9\x2d0bb4935aad90-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dsj4cz.mount: Succeeded.
Aug 10 06:35:36 eu-west-1 systemd[1]: var-lib-kubelet-pods-48c17ee7\x2dd214\x2d495d\x2db252\x2d260ec4614d17-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dw6xkl.mount: Succeeded.
Aug 10 06:42:01 eu-west-1 systemd[1]: var-lib-kubelet-pods-1a2d8a07\x2d8eea\x2d404a\x2db755\x2d937cdedec814-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dsj4cz.mount: Succeeded.
Aug 10 06:43:38 eu-west-1 systemd[1]: var-lib-kubelet-pods-24d48432\x2d7379\x2d4de9\x2d9614\x2d5688127cea6d-volumes-kubernetes.io\x7esecret-default\x2dtoken\x2dw6xkl.mount: Succeeded.
Aug 10 10:37:51 eu-west-1 systemd[1]: var-lib-kubelet-pods-88aefca1\x2d25d8\x2d403b\x2d94f7\x2d9a102fd2e4e6-volumes-kubernetes.io\x7esecret-grafana\x2dtoken\x2dmhprw.mount: Succeeded.
Aug 10 10:37:51 eu-west-1 systemd[1]: var-lib-kubelet-pods-88aefca1\x2d25d8\x2d403b\x2d94f7\x2d9a102fd2e4e6-volumes-kubernetes.io\x7esecret-grafana\x2dauth\x2dgoogle\x2dsecret\x2dmount.mount: Succeeded.
Aug 10 10:38:44 eu-west-1 systemd[1]: var-lib-kubelet-pods-88aefca1\x2d25d8\x2d403b\x2d94f7\x2d9a102fd2e4e6-volumes-kubernetes.io\x7ecsi-grafana\x2ddata-mount.mount: Succeeded.
Aug 10 10:58:43 eu-west-1 systemd[1]: var-lib-kubelet-pods-2a6bcf49\x2d7d44\x2d427d\x2dbce6\x2dd9d810557429-volumes-kubernetes.io\x7esecret-grafana\x2dtoken\x2dmhprw.mount: Succeeded.
Aug 10 10:58:43 eu-west-1 systemd[1]: var-lib-kubelet-pods-2a6bcf49\x2d7d44\x2d427d\x2dbce6\x2dd9d810557429-volumes-kubernetes.io\x7esecret-grafana\x2dauth\x2dgoogle\x2dsecret\x2dmount.mount: Succeeded.
Aug 10 10:58:43 eu-west-1 systemd[1]: var-lib-kubelet-pods-2a6bcf49\x2d7d44\x2d427d\x2dbce6\x2dd9d810557429-volume\x2dsubpaths-config-grafana-0.mount: Succeeded.
Aug 10 10:58:43 eu-west-1 systemd[1]: var-lib-kubelet-pods-2a6bcf49\x2d7d44\x2d427d\x2dbce6\x2dd9d810557429-volumes-kubernetes.io\x7ecsi-grafana\x2ddata-mount.mount: Succeeded.
Aug 10 10:58:43 eu-west-1 systemd[1]: var-lib-kubelet-pods-2a6bcf49\x2d7d44\x2d427d\x2dbce6\x2dd9d810557429-volume\x2dsubpaths-config-grafana-2.mount: Succeeded.
Aug 10 11:00:20 eu-west-1 systemd[1]: var-lib-kubelet-pods-2a6bcf49\x2d7d44\x2d427d\x2dbce6\x2dd9d810557429-volumes-kubernetes.io\x7esecret-grafana\x2dauth\x2dgoogle\x2dsecret\x2dmount.mount: Succeeded.
Aug 10 11:00:20 eu-west-1 systemd[1]: var-lib-kubelet-pods-2a6bcf49\x2d7d44\x2d427d\x2dbce6\x2dd9d810557429-volumes-kubernetes.io\x7esecret-grafana\x2dtoken\x2dmhprw.mount: Succeeded.
Aug 10 11:00:20 eu-west-1 systemd[1]: var-lib-kubelet-pods-2a6bcf49\x2d7d44\x2d427d\x2dbce6\x2dd9d810557429-volumes-kubernetes.io\x7ecsi-grafana\x2ddata-mount.mount: Succeeded.
Aug 10 11:43:06 eu-west-1 systemd[1]: Started Kubernetes transient mount for /var/lib/kubelet/pods/5c2e193a-a608-441e-bf93-50525a35c509/volumes/kubernetes.io~csi/pvc-82910441-daa5-4179-8da7-e1283a8030b6/mount.
Aug 10 11:44:27 eu-west-1 systemd[1]: var-lib-kubelet-pods-2bc35293\x2d588d\x2d43c9\x2d8f7d\x2da360ba0700c2-volumes-kubernetes.io\x7esecret-longhorn\x2dservice\x2daccount\x2dtoken\x2dvg5sn.mount: Succeeded.

sky-210004-ds is a worker node.
This command docker logs kubelet --since 2021-08-10T09:58Z --until 2021-08-10T18:03Z provide nothing onto sky-210004-ds.
However, on the other nodes I have a result. Do you want them?

The timestamps I provide may not match the format. There should be logs in kubelet during pod creation.

In the logs into sky-210004-ds, I see this very often :
E0816 07:35:21.574295 1811601 reconciler.go:193] operationExecutor.UnmountVolume failed (controllerAttachDetachEnabled true) for volume "storage" (UniqueName: "kubernetes.io/csi/driver.longhorn.io^grafana-data") pod "63382382-76a5-4165-a514-b0628fddb153" (UID: "63382382-76a5-4165-a514-b0628fddb153") : UnmountVolume.NewUnmounter failed for volume "storage" (UniqueName: "kubernetes.io/csi/driver.longhorn.io^grafana-data") pod "63382382-76a5-4165-a514-b0628fddb153" (UID: "63382382-76a5-4165-a514-b0628fddb153") : kubernetes.io/csi: unmounter failed to load volume data file [/var/lib/kubelet/pods/63382382-76a5-4165-a514-b0628fddb153/volumes/kubernetes.io~csi/grafana-data/mount]: kubernetes.io/csi: failed to open volume data file [/var/lib/kubelet/pods/63382382-76a5-4165-a514-b0628fddb153/volumes/kubernetes.io~csi/grafana-data/vol_data.json]: open /var/lib/kubelet/pods/63382382-76a5-4165-a514-b0628fddb153/volumes/kubernetes.io~csi/grafana-data/vol_data.json: no such file or directory

Based on the error message, the issue triggered by volume storage is related to https://github.com/kubernetes/kubernetes/issues/101911
BTW, volume storage does not exist in the support bundle. I am not sure what happens for the volume. Hence I prefer to check the volume I mentioned above.

Hello,
do you want me to regenerate a new support bundle?

Does your current cluster still contain the info/logs about volume storage? If YES, please re-generate it.

I have redone a knot, and I still have several errors on longhorn that I have already given on this and the other topic but also on slack.
I will send you a new email.

etcd logs :
2021-08-16 13:47:30.632868 W | etcdserver: read-only range request "key:\"/registry/leases/longhorn-system/external-attacher-leader-driver-longhorn-io\" " with result "range_response_count:1 size:538" took too long (196.88205ms) to execute
2021-08-16 13:47:31.153097 W | etcdserver: read-only range request "key:\"/registry/leases/kube-system/kube-controller-manager\" " with result "range_response_count:1 size:522" took too long (222.49227ms) to execute
2021-08-16 13:47:31.381512 W | etcdserver: read-only range request "key:\"/registry/podsecuritypolicy/\" range_end:\"/registry/podsecuritypolicy0\" count_only:true " with result "range_response_count:0 size:9" took too long (260.703295ms) to execute
2021-08-16 13:47:31.381646 W | etcdserver: read-only range request "key:\"/registry/leases/kube-system/kube-scheduler\" " with result "range_response_count:1 size:494" took too long (390.475513ms) to execute
2021-08-16 13:47:31.907976 W | etcdserver: read-only range request "key:\"/registry/events/longhorn-system/pvc-a11eda9a-12ac-401e-96ec-1664690ce302-s1h-c-1629121440-t7xqd.169bcd717a313867\" " with result "range_response_count:1 size:977" took too long (222.982466ms) to execute
2021-08-16 13:47:31.914962 W | etcdserver: read-only range request "key:\"/registry/crd.projectcalico.org/globalnetworksets/\" range_end:\"/registry/crd.projectcalico.org/globalnetworksets0\" count_only:true " with result "range_response_count:0 size:7" took too long (143.578683ms) to execute
2021-08-16 13:47:31.914979 W | etcdserver: read-only range request "key:\"/registry/leases/kube-system/kube-scheduler\" " with result "range_response_count:1 size:494" took too long (227.134138ms) to execute
2021-08-16 13:49:40.912039 I | mvcc: store.index: compact 24058185

email sended

up

In the support bundle, there is neither volume storage nor the attachment/mount error. Please:

Check if the errors or events exist before generating & sending the support bundle
Specify the problematic volume name and the time slot (UTC time, a rough range is enough)
Attach the kubelet log of the period that the issue happens

I came here looking for ways to improve RWX volume provisioning. Currently it takes anywhere from 40 seconds to 1 minute to mount a RWX volume. Is there anything we can do to speed it up? Any settings we can tweak, in our case performance is more important as these are short lived volumes.

I came here looking for ways to improve RWX volume provisioning. Currently it takes anywhere from 40 seconds to 1 minute to mount a RWX volume. Is there anything we can do to speed it up? Any settings we can tweak, in our case performance is more important as these are short lived volumes.

Still slow in v1.7.2? Can you provide the information of your cluster? If possible, please provide a support bundle as well.


Simulcast order question

One question, does the order have importance on the simulcastEncodings?
simulcastEncodings :
[
{ scaleResolutionDownBy: 1 },
{ scaleResolutionDownBy: 1.1 },
{ scaleResolutionDownBy: 1.5 }
],
Is there a weight parameter?
Even if I'm on a symmetric 100Mbps network, often the browser does not use the maximum quality. That is why I have the 1.1 value, as usually it is the second-best it uses.

The order needs to be correct, always order them by scaleResolutionDownBy in descending order. In your example that means that you must change them to the opposite order.
Ref: https://mediasoup.org/documentation/v3/mediasoup/rtp-parameters-and-capabilities/#Simulcast

Also remember that the encodings you listed here means that there will be sent 3 video streams of almost the same resolution. This is not very optimal. The reason to have simulcast is usually to enable clients with bad network or CPU to get a substantially smaller resolution stream that they can handle.
On letsmeet.no we use:
simulcastEncodings :
[
	{ scaleResolutionDownBy: 4 },
	{ scaleResolutionDownBy: 1 }
]

OK, got that, but still, it is very often that the resolution gets locked at the lowest. And it does not go up anymore.
I have now
simulcastEncodings :
[
{ scaleResolutionDownBy: 2 },
{ scaleResolutionDownBy: 1.5 },
{ scaleResolutionDownBy: 1 }
],
Sending low resolution 320x240 ends up with 160x120 being shown. I have 100 Mbit connection.

Yes, so also, this is not constrained by your connection necessarily. All 3 streams need to fit into the bitrate maxIncomingBitrate specified in the server. If they don't, it will scale down.
In the example above you are sending the following streams:
0: 160x120
1: 213x160
2: 320x240

What is shown at the other end is also dependent on what that browser decides based on network and CPU.

Yes, that is clear for me, but as I'm testing locally, it is a bit strange that not the highest resolution is shown. Also in the advanced info I get:
Current spatial-temporal layers: 1 1 (sometimes 1 0 or 0 1).
In the preferred is 2 2. I have never reached 2 2.
Normally I have
maxIncomingBitrate              : 1500000
but setting it to
maxIncomingBitrate              : 9500000
did not change a thing.
I have also observed the following
simulcastEncodings :
[
{ scaleResolutionDownBy: 4 },
{ scaleResolutionDownBy: 2 },
{ scaleResolutionDownBy: 1 }
],
camera set to medium, I get 320x240 (scale 2)
now i change camera to low, I get 80x60 (scale 4)
I change back to medium, , I get 320x240 (scale 2)
This is something I don't understand, just switching the camera resolution to lower, changes the scale rate in the wrong direction. That is why in my initial post I was trying to revert the order.

What is more funny:
my config
simulcastEncodings :
[
{ scaleResolutionDownBy: 4 },
{ scaleResolutionDownBy: 2 },
{ scaleResolutionDownBy: 1 }
],
now I play only with the resolution setting of the sender, and the receiver I get:
I start in medium (640x480) - I get 320x240 (scale 2)
I change to low (320x200) - I get 80x60 (scale 4) it never goes up
i change to high (1280x720) - I get 320x180 (scale 4) for like 4 seconds and the I get 1280x720 (scale 1)
So something is NOT OK. Only when choosing higher resolution I get the lowest scale to be received.

This sounds weird... The order should always be descending. We would have to look at this more closely, but don't have time for it right now. Does simulcast behave correctly for you if you test on letsmeet.no ?

At letsmeet.no  a bit different, but still strange:
I start in medium (640x480) - I get 640x480 (scale 1)
I change to low (320x240) - I get 80x60 (scale 4) it never goes up
i change to high (1280x720) - I get 320x180 (scale 4) for like 4 seconds and the I get 1280x720 (scale 1)

I did one more test:
simulcastEncodings :
[
{ scaleResolutionDownBy: 2},
{ scaleResolutionDownBy: 1}
],
I start in medium (640x480) - I get 640x480 (scale 1)
I change to low (320x240) - I get 160x120 (scale 2) it never goes up
I change to high (1280x720) - I get 640x360 (scale 2) for like 4 seconds and then I get 1280x720 (scale 1).
So in this configuration it works as expected for medium and high. For low it stays always at scale 2.

I tested a little bit with chrome  and traffic analyze:

medium (640x480) and high (1280x720) seems to work like expected from simulcast.
low (320x240) looks like producer sends out ONLY the lowest stream 80x60to server (data rate producer to server  === data rate server to consumer)
very high: consumer gets always lowest stream (scaleDownBy 4) with data rate around 170KiB/s and producer data rate shows is typical saw tooth pattern with max 265KiB/s
ultra: data rate producer to server  === data rate server to consumer and is scaled down by 4

Interpretation
The problem with setting low is weird because there is no reason to limit to sending out lowest stream only. In setting high Chrome tries to ramb up to SEND higher quality streams but Chrome is limiting himself in total bandwidth to 265 KiB/s and the streams just don't fit in.
In setting ultra Chrome just decides that this will never happen and sends only lowest stream quality.

Good, I thought I'm crazy. But not good, as this renders simulcast almost unusable. As many people with problems with their bandwidth set to low, and getting 80x60 is not an option when the view port is so large.

I have changed in all my 3 deployments to:
simulcastEncodings :
[
{ scaleResolutionDownBy: 1.6},
{ scaleResolutionDownBy: 1}
],
So it works good for high and medium. For low you get then 200x150, which is ugly, but not unacceptable.

This actually works quite good in Firefox, Firefox ESR and Chrome (not tested witch Edge and Safari yet)
"Ultra"-setting is for number fetish only and will only work if you switch of simulcast because browsers limit bandwidth to around 5.5 mbit/s in reality.
simulcastEncodings :
[
{ maxBitRate: 50000 },
{ maxBitRate: 1000000 },
{ maxBitRate: 3800000 }
],
You can play around with the numbers but try to keep the sum under 5000000.

Tested now with a beefy machine and it is actually working with higher data-rates as well.
Tested now with 12000000 maxIncomingBitrate in server-settings and
simulcastEncodings :
[
{ maxBitRate: 50000 },
{ maxBitRate: 1000000 },
{ maxBitRate: 10000000 }
],
This is somehow working even with "Ultra"-settings.

Some new insights. Current version of dev.
simulcastEncodings :
[
{ maxBitRate: 300000 },
{ maxBitRate: 1000000 }
],
I start in medium (640x480) - I get 640x480 (stats show sending: 1 Mbps)
I change to low (320x240) - I get 320x240 (stats show sending: 0,24 Mbps) and on the ME screen the red icon of bad connection appears. However on the receiver I have no icon of bad connection on the incoming video.
It seems that choosing low resolution, causes the sender browser to think that there are bandwidth/performance problems, as the red symbol appears on ME. If I switch to medium, the transfer goes up to 1 Mbps and the red symbol disapears.


add configurable response interceptor

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.554%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
11651

Relevant Lines:
11655

💛  - Coveralls


Hardware 3D acceleration does not seem to work/be enabled

Requirements

[X] Yes
[ ] No

WSL Version

[X] WSL 2
[ ] WSL 1

Version
Microsoft Windows [Version 10.0.22621.1555]
Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Repro Steps
Follow normal installation
Expected Behavior
To see decent performance with 3D acceleration
Actual Behavior
GUI works fine, I can run GUI apps, but they're extremely slow, and as far as I can tell, not using my graphics card?
I tried using glxgears as a benchmark, and would get ~120fps on my computer, but on my laptop that runs Manjaro, I get ~40000fps. My computer that I'm testing this on has a 1080 ti vs a shoddy integrated GPU in my laptop, so this doesn't stack up? I would've tried more benchmarks, but most crashed.
When I check task manager running GUI apps I also see my CPU usage spike, and don't see any GPU usage?
Anyway, I checked neofetch and lspci, and both tell me that my GPU is a 0b26:00:00.0 Microsoft Corporation Basic Render Driver, which I suspect is some kind of software fallback?
Strangely enough, the GL Vendor is set to NVIDIA GeForce GTX 1080 Ti.
OpenGL 4.2
D3D12 (NVIDIA GeForce GTX 1080 Ti): Microsoft Corporation
GLSL version: 4.2

https://github.com/microsoft/wslg#opengl-accelerated-rendering-in-wslg

OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (NVIDIA GeForce GTX 1080 Ti)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 23.0.2
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.2 (Compatibility Profile) Mesa 23.0.2
OpenGL shading language version string: 4.20
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

You are using the correct D3D12 driver. Only thing left to check is your Nvidia driver version. It has to be 526.47 and above.
https://devblogs.microsoft.com/commandline/d3d12-gpu-video-acceleration-in-the-windows-subsystem-for-linux-now-available/

I double checked, and my Nvidia driver is 531.79.
I created an Ubuntu instance and followed the guide you linked, and it failed here:
lily@void:~$ sudo vainfo --display drm --device /dev/dri/card0
[sudo] password for lily:
libva info: VA-API version 1.14.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
vaInitialize failed with error code -1 (unknown libva error),exit

Maybe whatever is causing this is the problem?

Installed mesa-va-drivers?

https://github.com/microsoft/wslg/issues?q=is%3Aissue+is%3Aopen+d3d12+

I'm getting this now: (this is in manjaro)
[lily@void ~]$ vainfo
Trying display: wayland
libva error: /usr/lib/dri/d3d12_drv_video.so init failed
vaInitialize failed with error code 18 (invalid parameter),exit

Use sudo

Yep that worked, I'm getting this now:
Trying display: drm
Xlib:  extension "DRI2" missing on display ":0".
vainfo: VA-API version: 1.18 (libva 2.17.1)
vainfo: Driver version: Mesa Gallium driver 23.0.2 for D3D12 (NVIDIA GeForce GTX 1080 Ti)
vainfo: Supported profile and entrypoints
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

After looking into the issues on the wslg github page that I linked earlier, it seems that software rendering using llvmpipe is still faster. Why I don't know. You'll have to google this and find out more as I am out of ideas why it doesn't work as expected.

Alright, thanks for your help!


gRPC "SubscribeForwardingEvent" method

Hello,
I have a suggestion to implement the subscribe gRPC method for forwardning payments (realtime). So that when it gets a new payment he can create an event about it. I think this API method would be useful.
I think about creating a visualization of the passage of payments for viewing by everyone. A lot of people are interested in the number of payments going through lightning network. Given the large capacity of the LNBIG network, it would be interesting to see in real time the progress of payments in order to get a feel for the lightning network load. If I make such a visualization I will anonymize the external nodes as much as possible which accept and send the payment (for example by creating fake node id through HMAC function with hidden key so thus the outside observer will see the outside anonymised nodes and will not know the real network node).
You already have SubscribeTransactions, SubscribeChannelEvents, SubscribeChannelGraph and SubscribeInvoices method. If there would be like SubscribeForwardingEvent it would be fine.

Closing as duplicate of https://github.com/lightningnetwork/lnd/issues/2103.

If I make such a visualization I will anonymize the external nodes as much as possible which accept and send the payment

Even just making the access pattern public, can give away a lot of information.


Thaumictinkerer Ichorcloth arcane removal fails

I tried removing ichorcloth temporarily.
I tried: "mods.thaumcraft.Arcane.removeRecipe(ThaumicTinkerer:ichorclothHelm);"
and it gave me: "ERROR: Error executing Thaumcraft.zs: null"

Thaumcraft integration is broken atm, from what I understand.

I need more information on this, it never just gives that one line of code, check the minetweaker log, it will give a stacktrace.

Fixed by @Zixxl


Does this framework prints the qrcode?

I would like to know if this qrcoder thing includes any printer option

Hi @kelputooxd ,
No, QRCoder doesn't come with any printing logic/capability. QRCoder just generates different types of output/graphic formats like JPG, PNG, ... Or even PostScript files, but at the end you have to write your own code, to send these files to a printer.


instaloader --login

how can i do to create a login session in instaloader.
i use python and i need kwon how i create
thansk

on command line type python instaloader.py --login xxx where xxx is the username you want to use for downloading.
scripting examples are in the src repo: https://github.com/instaloader/instaloader/tree/master/docs/codesnippets

thanks
i want save the sassion on thee code note call externally
its possible
[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
Remetente
notificado por
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
30/12/20
19:55:00
Em seg., 28 de dez. de 2020 às 19:18, Showmaster3000 <
<EMAIL_ADDRESS>escreveu:

on command line type python instaloader.py --login xxx where xxx is the
username you want to use for downloading.
scripting examples are in the src repo:
https://github.com/instaloader/instaloader/tree/master/docs/codesnippets
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/instaloader/instaloader/issues/945#issuecomment-751881385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5VZW2OTNRK3OO7WZN2FADSXD73RANCNFSM4VLNI2NA
.


Error: "bind context rejected: invalid_checksum"

Hello!
I'm working with a ADCS environment vulnerable to ESC1.  When I queue up my command...
certipy req<EMAIL_ADDRESS>-p 'mypass' -ca 'Name of CA' -target fqdn.of.the.ca -template VulnTemplate -dc-ip <IP_ADDRESS> -debug
I get:
Got error: Bind context rejected: invalid_checksum
Any idea what this indicates?  My Google-Fu isn't finding much.

Ohhhhh and JUST after posting this I think I have the fix.  I first used gettgt.py from impacket to get Kerberos auth going:
gettgt.py domain.com/username
export KRB5CCNAME=username.ccache

Then did the same certipy req command but this time with -k instead of -username@blahblahblah and I think I'm good to go!  Will report back when I know for sure.

Aaaaaand that was it!  Kerberos auth made things happy again.  Have a wonderful day!

 Thanks for the issue and the solution !


null pointer dereference in pad

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf 2.14.0
Custom code
Yes
OS platform and distribution
Ubuntu 18.04.6
Mobile device
No response
Python version
Python 3.8.3
Bazel version
bazel 5.3.0
GCC/compiler version
gcc 7.5.0
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
A maliciously constructed pad operator model leads to op_context.output being empty, causing a null pointer dereference in the Prepare function.
// pad.cc
TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) {
  TF_LITE_ENSURE(context, NumInputs(node) == 2 || NumInputs(node) == 3);
  TF_LITE_ENSURE_EQ(context, NumOutputs(node), 1);

  PadContext op_context(context, node);
  if (IsConstantTensor(op_context.paddings)) {
    TF_LITE_ENSURE_MSG(context, !CheckPaddingOverflow(&op_context),
                       "INT64 padding overflow. Only support value between "
                       "INT32_MIN and INT32_MAX.");
  }
  TF_LITE_ENSURE_TYPES_EQ(context, op_context.input->type,
op_context.output->type);   // op_context.output is nullptr

pad.zip
Standalone code to reproduce the issue
I use the benchmark tool built according to [this official guide](https://www.tensorflow.org/lite/guide/build_cmake#step_1_install_cmake_tool), as follows:
1. git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
2. mkdir tflite_build && cd tflite_build
3. cmake ../tensorflow_src/tensorflow/lite
4. cmake --build . -j
5. cmake --build . -j -t benchmark_model

The benchmark is in the tools directory

When I use the benchmark tool for PoC validation, it causes the TensorFlow Lite inference process to be subjected to a DOS（coredump).

❯ ./benchmark_model --graph=../poc/pad.tflite
INFO: STARTING!
INFO: Log parameter values verbosely: [0]
INFO: Graph: [../poc/pad.tflite]
INFO: Loaded model ../poc/pad.tflite
ERROR: Invalid tensor index 4098 in outputs. The subgraph has 3 tensors

INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
[1]    7087 segmentation fault (core dumped)  ./benchmark_model --graph=../poc/pad.tflite

Relevant log output
No response

I was able to reproduce this issue in 2.14.

@pkgoogle Could you please look into this issue?
Thanks.

I was able to reproduce on nightly:
./benchmark_model --graph=pad.tflite
INFO: STARTING!
INFO: Log parameter values verbosely: [0]
INFO: Graph: [pad.tflite]
INFO: Loaded model pad.tflite
ERROR: Invalid tensor index 4098 in outputs. The subgraph has 3 tensors

INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Segmentation fault

@alankelly can you please take a look? Thanks.

Hi, @SiriusHsh
Thanks for raising this issue. Are you aware of the migration to LiteRT? This transition is aimed at enhancing our project's capabilities and providing improved support and focus for our users. As we believe this issue is still relevant to LiteRT we are moving your issue there. Please follow progress here: https://github.com/google-ai-edge/LiteRT/issues/110
Let us know if you have any questions. Thanks.


New code type RS_CertaintyQualitative

A new code type RS_CertaintyQualitative needs to be created for the RDBES. The following are the codes and descriptions:
Code	Description
AQ1	Rings can be counted with certainty. Quality measurement associated with age.
AQ2	Rings can be counted, but with difficulty and some doubt. Quality measurement associated with age.
AQ3	Rings can not be counted, the calcified structure is considered unreadable (no age assigned). Quality measurement associated with age.
AQ4	Rings can not be counted, the calcified structure is considered unreadable, age assigned for QA purposes only. Quality measurement associated with age.
Unknown	When not recorded.
NotApplicable	When no qualitative measurement exists for the Biological variable type. E.g. length.

There is a vocabulary with the same concept already: https://vocab.ices.dk/?ref=1395
We propose removing the "TS" prefix from the existing vocab, updating the description under "NA" and adding a code for "Unknown".
A discussion is needed with @vaishav before a decision can be made.

I agree there's no point duplicating existing codes but the plan with this code list is to expand it in the future to include similar quality descriptions for other biological measurements e.g. lengths, weights.  These other codes don't exist yet but a group such as WGCATCH should be involved in creating them.  Given the direction we want to head in what's the best way to proceed?

From @JCoadDavies:

The newly proposed code would change the AQ3_QA to AQ4. I think this would confuse readers in some way as they are now familiar with the AQ3_QA and think it may be best left as AQ3_QA

This is a reference to the AQ codes being used in SmartDots. The proposed AQ4 code already exists in SmartDots as AQ3_QA, and it's Julie's opinion that it should be kept as AQ3_QA, due to the implications for SmartDots.
She also mentioned that even though the AQ codes are currently specific for assessing the quality of age readings, they could potentially be used universally across SmartDots.

@AnnelieH, please read the thread above and provide an opinion if AQ-codes should be universal for all biological measurements or specific for each type of biological measurement?

Ok, I agree we should use AQ3_QA rather than AQ4 if we want to be consistent with SmartDots.  If the AQ codes are made more generic then there will need to be more specific examples about they should apply to other types of measurements such as length, maturity, any other measured parameters.

@cekv I cannot find the codes used for SmartDots, can you send a link to them. We of course need to be consistent with the most up-to-date codes. But if the RS_CertaintyQualitative is in sync with TS_OtGrading https://vocab.ices.dk/?ref=1395 and not with SmartDots, the TS_OtGrading is also not is sync with SmartDots and then we should not remove the 'TS_' in TS_OtGrading and use that.

ProcessForManagementOfChangesToReferenceData_loes.docx

WGBIOP thinks that we should keep AQ3_QA instead of changing to AQ4. We also think that the codes can be used for other parameters but the description might need to be changed. For example rings can't be used for maturity then stage can be used in stead. Or a more generic description has to be made that can be applied for all.

I vote for one generic code type if the definition follows across the databases, for DATRAS we have no issue if you want to refer to this code without TS_ as a prefix, only the condition is that the interpretation of the code and the code name need to be the same as it is defined in the TS_OtGrading, in short TS_OtGrding codes need to be a subset of the full list of code. As far as RECO concern I do not see there is an issue if the prefix changes because triggers will act accordingly in SQL, unless if it is hardcoded somewhere and it needs to change accordingly.

Name change to MeasurementCertainty and follow SmartDots definitions - reuse TS_Otgrading


New scheduler

This pulls in code.cloudfoundry.org/go-orchestrator for the orchestration layer in the scheduler. Before pulling this in, we should poke at it.
Fixes #10

Manually merged.


Proper casing of names

First and last names and some other fields like address are all lowercase, which doesn't match grammar rules (at least in English, I'm not sure about other languages). Is there a reason they are all lowercase, or could this be updated?

Names and dates such as DoB/Registered are kept in their "purest" forms to keep them unopinionated and let the user decide how to format the data.

@keitharm thanks for the reply!
I don't know what pure or unopinionated means when it comes to a person's name. In what scenario would somebody want an all lowercase name or address...?
If a user still wanted all lowercase after the change, they could call .toLowerCase() (ex. JS) without much trouble to get the current format.

You make a good point: While dates should follow some standard format that is easy to change to respective localizations, names are almost always first letter capitalized as far as I know.
I wanted to try and not force a particular format for names, but all lowercase is an uncommon format after all.
Names and and addresses will be properly formatted in the v1.3 release of the api.


Sharing cookies between subdomains

When using credential include flag, the cookies follow just fine from domain.invalid to api.domain.invalid. However from test.domain.invalid to api.domain.invalid cookies are not sent. Since I couldn't find anything in the specs that cover those cases I was wondering how is this implemented in the polyfill ?

Closing as I've published this in fetch repository where it belongs: https://github.com/whatwg/fetch/issues/417.


Implement logs

tested manually. will add CLI tests once their framework is complete

Thanks, and indeed we didn't define the shiftjs conf type. will address it in another PR.


add Bader's draft about OOP in Fortran to the learning section

The late Reinhard Bader (1966-2024) left a draft about object oriented programming in Fortran on Wikipedia saved on a GitHub repository which I would receive more (permanent) attention if available in the learning section of fortran-lang.org.  Eventually, this still incomplete PR shall provide it.
I seek assistance by someone more familiar with the web site to reorganize the material to meet the requirements of a booklet of the learning section.

Currently added to Fortran Documentation -- similar to the Fortran Intrinsics -- would this position fit well, or do you consider OOP more suitable in the section of Getting Started?  With booklets Best Practices and the Python-Fortran Rosetta Stone in the later section, it could.

The booklet contains two illustrations.  While editing their definitions (Pandoc flavored markdown to MyST dialect), I opted for block level images I understood could provide a figure caption, when deemed suitable.  However, running python3 pybuild.py en to update my local fork does not provide a visible figure caption for below the second illustration about the dependency inversion (section titled "Diagramming the dependencies between program units") though "the simple paragraph" is only one short line of text, followed by an explicit blank line prior to closing fence of three back ticks.  Which to me appears to be like the reference pattern in MyST's manual.  Is it a matter of my local setup (I cloned the repository into a folder with a virtual environment for Python to fetch all requirements with pip independently from the installation outside the this sandbox)?

The new booklet is handled differently by the local build with python3 pybuild.py en, than the booklets already provided.  For this as well as internal linking, I have to re-read your documentation again.  If the booklet were split across multiple pages, would there be a possibility to export the booklet in one piece (e.g. as a pdf) -- similar as currently on the original GitHub repository?

Local build, accessing an already established booklet (incl. side navigation):

Local build, accessing the new booklet under construction (side navigation to return to the learning section is missing, etc):

#build_preview

It would be great if the all-caps keywords could be converted to lower case.  The all-caps was most useful before the advent of syntax-aware coloring, but now all-caps is often redundant.  As compared to most modern languages, the use of all-caps makes Fortran appear to be archaic.

#build_preview

@rouson I agree with you; for consistency of presentation with booklets already compiled and thanks to syntax highlighting provided by the web page by fortran-lang.org are the better way here.  Which equally is the style both in Curcic's book and in Modern Fortran Explained (6th edition), too.  The purpose of the other GitHub repository (outside fortran-lang.org) was to secure a copy of Bader's draft should Wikipedia/Wikimedia be reorganized, which is different from the one here.
Based on commit c92c71a, a new preview was just built.

#build preview

#build_preview

#build_preview

#build_preview

I invite the maintainers for a review of the new booklet "Putting Fortran’s object-related features to practical use" by the late Reinhard Bader, proposed as additional learning material.
The original draft prepared by Reinhard Bader on Wikipedia was secured in a separate public repository on GitHub for light edit of the format.  To ease the review, I recommend the pdf obtained by compilation with pdfLaTeX (link, as provided by commit 13811a6, by 2024-10-10) as the authoritative version.


Correction for raw affiliation Cremea, Université de Moncton Cape Breton University, Sydney

Correction needed for raw affiliation Cremea, Université de Moncton Cape Breton University, Sydney
raw_affiliation_name: Cremea, Université de Moncton Cape Breton University, Sydney
new_rors: 029tnqt29;052y05165
previous_rors: 052y05165
works_examples: W2077122980
contact: a057dd3bd62bc02b3cb1cea2be2b3aef:bd615251 @ ourresearch.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.